/* V2 Theme - Complete Kid-Friendly Redesign */
@import url('https://fonts.googleapis.com/css2?family=Bubblegum+Sans&family=Nunito:wght@400;600;700&display=swap');

/* Default - Hidden for non-v2 */
.filter-chips, .search-container, .creations-tabs { display: none; }

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Nunito', sans-serif; background-color: #FFF8F0; color: #4A4A4A; line-height: 1.6; }
body.theme-v2 { 
  background-color: #FFF8F0;
  /* Confetti background - colored speckles on cream */
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(255, 220, 100, 0.4) 1px, transparent 1px),
    radial-gradient(circle at 80% 20%, rgba(255, 150, 150, 0.3) 1.5px, transparent 1.5px),
    radial-gradient(circle at 40% 70%, rgba(150, 220, 255, 0.3) 1px, transparent 1px),
    radial-gradient(circle at 60% 40%, rgba(200, 255, 180, 0.3) 1.5px, transparent 1.5px),
    radial-gradient(circle at 10% 80%, rgba(255, 180, 220, 0.3) 1px, transparent 1px),
    radial-gradient(circle at 90% 60%, rgba(220, 180, 255, 0.3) 1px, transparent 1.5px),
    radial-gradient(circle at 30% 10%, rgba(255, 220, 150, 0.2) 1px, transparent 1px),
    radial-gradient(circle at 70% 90%, rgba(180, 220, 255, 0.2) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(255, 200, 100, 0.15) 2px, transparent 2px),
    radial-gradient(circle at 15% 55%, rgba(255, 100, 100, 0.4) 2px, transparent 2px),
    radial-gradient(circle at 85% 35%, rgba(100, 200, 100, 0.4) 2px, transparent 2px),
    radial-gradient(circle at 25% 85%, rgba(100, 150, 255, 0.4) 2px, transparent 2px),
    radial-gradient(circle at 75% 75%, rgba(255, 200, 50, 0.4) 2px, transparent 2px);
  background-size: 30px 30px, 45px 45px, 60px 60px, 80px 80px, 100px 100px, 120px 120px, 40px 40px, 55px 55px, 25px 25px, 70px 70px, 90px 90px, 110px 110px, 130px 130px;
  background-position: 0 0, 10px 10px, 20px 20px, 30px 30px, 40px 40px, 50px 50px, 5px 5px, 15px 15px, 12px 12px, 35px 35px, 45px 45px, 55px 55px, 65px 65px;
}

/* ==================== HEADER ==================== */
header {
  position: fixed; top: 0; left: 0; right: 0;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF8F0 100%);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  padding: 0.75rem 1rem;
  z-index: 1000;
  display: flex; justify-content: space-between; align-items: center;
}

h1 {
  font-family: 'Bubblegum Sans', cursive;
  font-size: 1.8rem;
  display: flex; gap: 2px;
}
h1 span { animation: bounce 1s infinite alternate; }
h1 span.kleur { color: #FF6B35; }
h1 span.kleur2 { color: #4DABF7; }
h1 span.kleur3 { color: #FF6B35; }
h1 span.kleur4 { color: #40C057; }
h1 span.kleur5 { color: #E03131; }
h1 span.app { color: #9775FA; }

@keyframes bounce { from { transform: translateY(0); } to { transform: translateY(-3px); } }

/* ==================== COIN COUNTER ==================== */
#header-wallet {
  background: #FFF3E0;
  border: 2px solid #D4A574;
  border-radius: 25px;
  padding: 0.4rem 0.8rem;
  display: flex; align-items: center; gap: 0.3rem;
  font-weight: 700; color: #8B4513;
}
#header-wallet .token-icon { font-size: 1rem; }
#header-wallet::after { content: '😊'; font-size: 0.9rem; margin-left: 2px; }

/* ==================== MAIN CONTENT ==================== */
main {
  margin-top: 65px; padding: 1rem;
  max-width: 1200px; margin-left: auto; margin-right: auto;
  padding-bottom: 100px;
}
#welcome, #auth, #app, #my-creations, #profile { display: none; }
#app { display: block; }

/* ==================== SEARCH BAR ==================== */
body.theme-v2 .search-container {
  display: flex;
  align-items: center;
  background: white;
  border: 3px solid #D4C4A8;
  border-radius: 50px;
  padding: 0.3rem 1rem;
  margin-bottom: 1rem;
  box-shadow: 
    inset 0 2px 4px rgba(0,0,0,0.06),
    0 2px 0 #B8A888;
}
body.theme-v2 .search-input {
  flex: 1; border: none; background: transparent;
  font-size: 1rem; font-family: 'Nunito', sans-serif;
  outline: none;
  padding: 0.4rem 0.5rem;
  padding-left: 0.2rem;
}
/* Search icon inside input */
body.theme-v2 .search-container {
  position: relative;
}
body.theme-v2 .search-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 0.5rem;
}
body.theme-v2 .search-icon { 
  font-size: 1.1rem; 
  cursor: pointer;
}
body.theme-v2 .search-input {
  padding-left: 0.2rem;
}

/* ==================== FILTER CHIPS ==================== */
body.theme-v2 .filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
body.theme-v2 .filter-chip {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.6rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem; font-weight: 700;
  cursor: pointer; transition: all 0.2s ease;
  border: none;
  box-shadow: 
    0 4px 0 rgba(0,0,0,0.15),
    0 6px 10px rgba(0,0,0,0.1);
  position: relative;
  top: 0;
}
/* Ensure emoji icons render nicely in filter chips */
body.theme-v2 .filter-chip .chip-icon {
  font-size: 1.1em;
  line-height: 1;
}
body.theme-v2 .filter-chip:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 6px 0 rgba(0,0,0,0.15),
    0 10px 15px rgba(0,0,0,0.1);
}
body.theme-v2 .filter-chip:active {
  transform: translateY(2px);
  box-shadow: 
    0 2px 0 rgba(0,0,0,0.15),
    0 3px 5px rgba(0,0,0,0.1);
}
body.theme-v2 .filter-chip.active { color: white; }

/* Specific chip colors - 3D puffy */
body.theme-v2 .filter-chip[data-filter="all"] { 
  background: linear-gradient(180deg, #FFD43B 0%, #FFC107 100%); 
  color: #8B4513; 
}
body.theme-v2 .filter-chip[data-filter="all"].active { 
  background: linear-gradient(180deg, #FFA94D 0%, #FF6B35 100%); 
}

body.theme-v2 .filter-chip[data-filter="dieren"] { 
  background: linear-gradient(180deg, #FFE5A0 0%, #FFD43B 100%); 
  color: #8B4513; 
}
body.theme-v2 .filter-chip[data-filter="dieren"].active { 
  background: linear-gradient(180deg, #E03131 0%, #C92A2A 100%); 
  color: white; 
}

body.theme-v2 .filter-chip[data-filter="voertuigen"] { 
  background: linear-gradient(180deg, #A8E6CF 0%, #40C057 100%); 
  color: #2F9E44; 
}
body.theme-v2 .filter-chip[data-filter="voertuigen"].active { 
  background: linear-gradient(180deg, #1971C2 0%, #1864AB 100%); 
  color: white; 
}

body.theme-v2 .filter-chip[data-filter="anime"] { 
  background: linear-gradient(180deg, #E5F5FF 0%, #74C0FC 100%); 
  color: #1971C2; 
}
body.theme-v2 .filter-chip[data-filter="anime"].active { 
  background: linear-gradient(180deg, #9775FA 0%, #845EF7 100%); 
  color: white; 
}

body.theme-v2 .filter-chip[data-filter="makkelijk"] { 
  background: linear-gradient(180deg, #FFF3E5 0%, #FFD43B 100%); 
  color: #E03131; 
}
body.theme-v2 .filter-chip[data-filter="makkelijk"].active { 
  background: linear-gradient(180deg, #FF6B35 0%, #E03131 100%); 
  color: white; 
}

body.theme-v2 .filter-chip[data-filter="nieuw"] { 
  background: linear-gradient(180deg, #FFF0F0 0%, #FFA8A8 100%); 
  color: #C92A2A; 
}
body.theme-v2 .filter-chip[data-filter="nieuw"].active { 
  background: linear-gradient(180deg, #FF6B6B 0%, #E03131 100%); 
  color: white; 
}

/* ==================== PUBLIC WALL ==================== */
#publicWall h2 {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 1rem;
}

#sharedCreationsList {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

/* Card Style - Paper frame borders (hand-drawn/wonky style) */
body.theme-v2 .creation-container {
  background: #FFFEF5;
  border: 3px solid #D4C4A8;
  border-radius: 8px;
  padding: 0.75rem;
  box-shadow: 
    0 4px 0 #B8A888,
    0 6px 15px rgba(0,0,0,0.1),
    2px 2px 0 rgba(0,0,0,0.05),
    -1px -1px 0 rgba(0,0,0,0.03);
  transition: transform 0.2s ease;
  position: relative;
}
/* Slightly wonky corner accents */
body.theme-v2 .creation-container::before {
  content: '';
  position: absolute;
  top: -2px; left: -2px; right: -2px; bottom: -2px;
  border: 2px dashed #E8DCC8;
  border-radius: 10px;
  pointer-events: none;
  opacity: 0.5;
}
body.theme-v2 .creation-container:hover {
  transform: translateY(-3px) rotate(-0.5deg);
  box-shadow: 
    0 8px 0 #B8A888,
    0 12px 25px rgba(0,0,0,0.15);
}
body.theme-v2 .creation-container img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
  border: 2px solid #F0E8D8;
  background: #FFF8F0;
}

/* Laad Meer Button - Pastel blue with 3D effect */
body.theme-v2 #loadMoreWall {
  background: linear-gradient(180deg, #A8E6CF 0%, #40C057 100%);
  background: linear-gradient(180deg, #74C0FC 0%, #4DABF7 100%);
  color: white;
  border: none;
  padding: 0.9rem 2rem;
  border-radius: 30px;
  font-size: 1rem; font-weight: 700;
  cursor: pointer;
  width: 100%;
  box-shadow: 
    0 4px 0 #2F9E44,
    0 6px 15px rgba(77, 171, 247, 0.4);
  position: relative;
  top: 0;
}
body.theme-v2 #loadMoreWall:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 6px 0 #2F9E44,
    0 10px 20px rgba(77, 171, 247, 0.5);
}
body.theme-v2 #loadMoreWall:active {
  transform: translateY(2px);
  box-shadow: 
    0 2px 0 #2F9E44,
    0 3px 8px rgba(77, 171, 247, 0.3);
}

/* ==================== CREATE SECTION ==================== */
#convert-section {
  background: white;
  border-radius: 30px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  margin-bottom: 1rem;
  border: 2px solid #F0F0F0;
}
#convert-section h2 {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 1rem;
}

/* Method Toggle */
body.theme-v2 .creation-method-toggle {
  display: flex;
  background: #FFF8F0;
  border-radius: 25px;
  padding: 4px;
  margin-bottom: 1rem;
  border: 2px solid #E8E8E8;
}
body.theme-v2 .creation-method-toggle label {
  flex: 1; text-align: center;
  padding: 0.7rem 1rem;
  border-radius: 20px;
  cursor: pointer; transition: all 0.3s ease;
  font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 0.4rem;
}
body.theme-v2 .creation-method-toggle input[type="radio"] { display: none; }
body.theme-v2 .creation-method-toggle input[type="radio"]:checked + label {
  background: #4DABF7;
  color: white;
  box-shadow: 0 2px 8px rgba(77, 171, 247, 0.4);
}
body.theme-v2 .creation-method-toggle label:not(.active) {
  background: #FFF8F0;
  color: #8B4513;
}

/* Upload Area - Dashed gray border, polaroid-style preview */
body.theme-v2 #file-upload-section {
  background: linear-gradient(180deg, #FAFAFA 0%, #F5F5F5 100%);
  border: 3px dashed #B0B0B0;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}
body.theme-v2 #file-upload-section:hover {
  border-color: #4DABF7;
  background: linear-gradient(180deg, #F0F8FF 0%, #E8F4FF 100%);
}
body.theme-v2 #file-upload-section .preview-container {
  background: white;
  border-radius: 15px;
  padding: 0.75rem;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  display: inline-block;
  margin-top: 1rem;
}
body.theme-v2 #file-upload-section .preview-container img {
  max-width: 200px;
  border-radius: 10px;
  border: none;
}

/* Input Fields */
body.theme-v2 input[type="text"],
body.theme-v2 textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid #E8E8E8;
  border-radius: 20px;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  margin-bottom: 0.8rem;
  background: #FAFAFA;
}
body.theme-v2 input[type="text"]:focus,
body.theme-v2 textarea:focus {
  outline: none;
  border-color: #4DABF7;
  box-shadow: 0 0 0 3px rgba(77, 171, 247, 0.1);
}

/* Detail Slider */
body.theme-v2 #detail-level {
  display: flex;
  background: #FFF8F0;
  border-radius: 25px;
  padding: 4px;
  margin: 1rem 0;
  border: 2px solid #E8E8E8;
}
body.theme-v2 #detail-level label {
  flex: 1; text-align: center;
  padding: 0.6rem 0.5rem;
  border-radius: 18px;
  cursor: pointer;
  font-size: 0.85rem; font-weight: 600;
  transition: all 0.2s ease;
}
body.theme-v2 #detail-level input[type="radio"] { display: none; }
body.theme-v2 #detail-level input[type="radio"]:checked + label {
  background: #4DABF7;
  color: white;
  box-shadow: 0 2px 6px rgba(77, 171, 247, 0.3);
}
body.theme-v2 #detail-level label:not(:has(input:checked)) {
  color: #8B4513;
}

/* Cost Display */
body.theme-v2 .cost-display {
  text-align: center;
  font-weight: 600;
  color: #8B4513;
  margin-bottom: 0.5rem;
}
body.theme-v2 .cost-display .coin { font-size: 1.1rem; }

/* STICKY CTA BUTTON - "Teken 'm om!" in green with arrow */
body.theme-v2 #convert-section {
  position: sticky;
  bottom: 80px;
  z-index: 100;
}
body.theme-v2 #convertBtn {
  background: linear-gradient(180deg, #40C057 0%, #2F9E44 100%);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 30px;
  font-size: 1.1rem; font-weight: 700;
  cursor: pointer;
  width: 100%;
  box-shadow: 
    0 4px 0 #1D7A30,
    0 6px 20px rgba(64, 192, 87, 0.4);
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  position: relative;
  top: 0;
}
body.theme-v2 #convertBtn:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 6px 0 #1D7A30,
    0 10px 25px rgba(64, 192, 87, 0.5);
}
body.theme-v2 #convertBtn:active {
  transform: translateY(2px);
  box-shadow: 
    0 2px 0 #1D7A30,
    0 4px 10px rgba(64, 192, 87, 0.3);
}
body.theme-v2 #convertBtn::after {
  content: '➜';
  font-size: 1.2rem;
}

/* ==================== CREATIONS TABS (Creaties) ==================== */
body.theme-v2 .creations-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}
body.theme-v2 .creations-tabs .tab {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  cursor: pointer;
}
body.theme-v2 .creations-tabs .tab.active {
  background: #FFA94D;
  color: white;
}
body.theme-v2 .creations-tabs .tab:not(.active) {
  background: #F5F5F5;
  color: #8B4513;
}

/* ==================== BOTTOM NAV ==================== */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: #FFF8F0;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  display: flex;
  padding: 0.6rem 1rem;
  padding-bottom: calc(0.6rem + env(safe-area-inset-bottom));
  z-index: 1000;
}
.bottom-nav .tab-btn {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; gap: 2px;
  background: none; border: none;
  cursor: pointer;
  color: #999; font-size: 0.75rem;
  position: relative;
}
.bottom-nav .tab-btn.active { color: #4DABF7; }
.bottom-nav .tab-btn .nav-icon {
  font-size: 1.4rem;
}

/* Pencil Mascot - overlapping on left */
.bottom-nav::before {
  content: '✏️';
  position: absolute;
  left: 10px;
  bottom: 55px;
  font-size: 2.2rem;
  transform: rotate(-25deg);
  z-index: 1001;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.2));
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 480px) {
  h1 { font-size: 1.4rem; }
  header { padding: 0.6rem 0.8rem; }
  #sharedCreationsList { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
  body.theme-v2 .filter-chip { padding: 0.4rem 0.7rem; font-size: 0.8rem; }
  body.theme-v2 #convert-section { bottom: 70px; }
  .bottom-nav::before {
    left: 5px;
    bottom: 50px;
    font-size: 1.8rem;
  }
}

/* ==================== V2 CREATE SCREEN UPDATES ==================== */

/* Upload Box - Dashed border style */
body.theme-v2 #imageInputSection .upload-box {
  background: linear-gradient(180deg, #FAFAFA 0%, #F5F5F5 100%);
  border: 3px dashed #B0B0B0;
  border-radius: 20px;
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}
body.theme-v2 #imageInputSection .upload-box:hover {
  border-color: #FFD43B;
  background: linear-gradient(180deg, #FFFEF0 0%, #FFF8E0 100%);
}
body.theme-v2 #imageInputSection .upload-box input[type=file] {
  display: none;
}

/* Yellow/Sunny Kies foto button */
body.theme-v2 .choose-photo-btn {
  background: linear-gradient(180deg, #FFE066 0%, #FFD43B 100%);
  color: #8B4513;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 
    0 4px 0 #E5A300,
    0 6px 15px rgba(255, 212, 59, 0.4);
  position: relative;
  top: 0;
  transition: all 0.2s ease;
}
body.theme-v2 .choose-photo-btn:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 6px 0 #E5A300,
    0 10px 20px rgba(255, 212, 59, 0.5);
}
body.theme-v2 .choose-photo-btn:active {
  transform: translateY(2px);
  box-shadow: 
    0 2px 0 #E5A300,
    0 4px 8px rgba(255, 212, 59, 0.3);
}

/* Cost Indicator */
body.theme-v2 .cost-indicator {
  text-align: center;
  font-weight: 700;
  color: #8B4513;
  margin-bottom: 0.8rem;
  padding: 0.5rem;
  background: #FFF3E0;
  border-radius: 15px;
  border: 2px solid #FFE0B2;
}
body.theme-v2 .cost-indicator .coin-icon {
  font-size: 1.2rem;
  margin-right: 0.3rem;
}

/* Method Toggle - Blue when active (more prominent) */
body.theme-v2 .creation-method-toggle {
  display: flex;
  background: #FFF8F0;
  border-radius: 25px;
  padding: 4px;
  margin-bottom: 1rem;
  border: 2px solid #E8E8E8;
}
body.theme-v2 .creation-method-toggle label {
  flex: 1;
  text-align: center;
  padding: 0.8rem 0.5rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: #8B4513;
}
body.theme-v2 .creation-method-toggle input[type=radio] {
  display: none;
}
body.theme-v2 .creation-method-toggle input[type=radio]:checked + label {
  background: #4DABF7;
  color: white;
  box-shadow: 0 2px 8px rgba(77, 171, 247, 0.4);
}
body.theme-v2 .creation-method-toggle label:has(input:checked) {
  background: #4DABF7;
  color: white;
  box-shadow: 0 2px 8px rgba(77, 171, 247, 0.4);
}

/* Detail Level - Segmented Control Style */
body.theme-v2 #detail-level {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1rem 0;
}
body.theme-v2 #detail-level > label {
  font-weight: 600;
  color: #8B4513;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
body.theme-v2 #detail-level .detail-buttons {
  display: flex;
  background: #FFF8F0;
  border-radius: 25px;
  padding: 4px;
  border: 2px solid #E8E8E8;
}
body.theme-v2 #detail-level .detail-btn {
  flex: 1;
  text-align: center;
  padding: 0.7rem 0.5rem;
  border-radius: 18px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s ease;
  background: transparent;
  border: none;
  color: #8B4513;
}
body.theme-v2 #detail-level .detail-btn:hover {
  background: rgba(255, 212, 59, 0.3);
}
body.theme-v2 #detail-level .detail-btn.active {
  background: #4DABF7;
  color: white;
  box-shadow: 0 2px 6px rgba(77, 171, 247, 0.3);
}
body.theme-v2 #detail-level .slider-container {
  display: none; /* Hide the old slider, using buttons instead */
}

/* Convert Button - Green with arrow (already exists but ensure it's prominent) */
body.theme-v2 #convertBtn {
  background: linear-gradient(180deg, #40C057 0%, #2F9E44 100%);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  box-shadow: 
    0 4px 0 #1D7A30,
    0 6px 20px rgba(64, 192, 87, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  top: 0;
}
body.theme-v2 #convertBtn:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 6px 0 #1D7A30,
    0 10px 25px rgba(64, 192, 87, 0.5);
}
body.theme-v2 #convertBtn:active {
  transform: translateY(2px);
  box-shadow: 
    0 2px 0 #1D7A30,
    0 4px 10px rgba(64, 192, 87, 0.3);
}

/* ==================== LOGO ==================== */
#logo {
  display: flex;
  align-items: center;
  animation: logoFloat 3s ease-in-out infinite;
}
#logo svg {
  height: 45px;
  width: auto;
  display: block;
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
/* Hide old title */
#appTitle { display: none; }

/* ==================== BUTTONS - Kid-Friendly ==================== */
button {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  border-radius: 20px;
  transition: all 0.2s ease;
  cursor: pointer;
}
button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
button:active {
  transform: translateY(1px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
#convertBtn {
  background: linear-gradient(135deg, #40C057 0%, #2F9E44 100%);
  color: white;
  font-size: 1.2rem;
  padding: 1rem 2rem;
  border: none;
  border-radius: 25px;
  box-shadow: 0 4px 0 #2F9E44;
}
#convertBtn:hover {
  background: linear-gradient(135deg, #51C769 0%, #40C057 100%);
}
#buyTokensBtn {
  background: linear-gradient(135deg, #FFB347 0%, #FF6B35 100%);
  color: white;
  font-size: 1rem;
  padding: 0.7rem 1.2rem;
  border: none;
  border-radius: 20px;
  box-shadow: 0 3px 0 #E03131;
}
#signInBtn, #profileNavBtn {
  background: #4DABF7;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 15px;
  box-shadow: 0 3px 0 #339AF0;
}
#signInBtn:hover, #profileNavBtn:hover {
  background: #74C0FC;
}

/* ==================== COLOR SCHEME ==================== */
:root {
  --primary-orange: #FF6B35;
  --primary-yellow: #FFB347;
  --primary-green: #40C057;
  --primary-blue: #4DABF7;
  --primary-purple: #9775FA;
  --primary-red: #E03131;
  --cream-bg: #FFF8F0;
  --text-dark: #4A4A4A;
}

/* ==================== V2 LOGO STYLING ==================== */
body.theme-v2 #logo {
  display: flex;
  align-items: center;
  height: 45px;
}
body.theme-v2 #logo svg {
  height: 45px;
  width: auto;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.1));
  transition: transform 0.3s ease;
}
body.theme-v2 #logo svg:hover {
  transform: scale(1.05) translateY(-2px);
}
