/* ---------- DYNAMIKUS TÉMA VÁLTOZÓK ---------- */
    [data-theme="dark"] {
      --bg-main: #0A0A1F;
      --bg-header: rgb(30, 41, 59);
      --bg-hero: linear-gradient(180deg, #1E293B 0%, #0A0A1F 100%);
      --bg-card: rgba(15, 23, 42, 0.6);
      --bg-card-outer: rgba(255, 255, 255, 0.04);
      --bg-info: rgba(255, 255, 255, 0.03);
      --bg-input: rgba(15, 23, 42, 0.8);
      --bg-footer: #030712;
      --text-main: #FDFBF6;
      --text-muted: #94A3B8;
      --text-title: #FFFFFF;
      --border-color: rgba(255, 255, 255, 0.15);
      --filter-btn-bg: rgba(255, 255, 255, 0.06);
      --filter-btn-text: #CBD5E1;
      --logo-text: #FFFFFF;
    }

    [data-theme="light"] {
      --bg-main: #F8FAFC;
      --bg-header: rgb(226, 232, 240);
      --bg-hero: linear-gradient(180deg, #E2E8F0 0%, #F8FAFC 100%);
      --bg-card: #FFFFFF;
      --bg-card-outer: #FFFFFF;
      --bg-info: #FFFFFF;
      --bg-input: #F1F5F9;
      --bg-footer: #E2E8F0;
      --text-main: #1E293B;
      --text-muted: #64748B;
      --text-title: #0F172A;
      --border-color: rgba(0, 0, 0, 0.1);
      --filter-btn-bg: rgba(0, 0, 0, 0.05);
      --filter-btn-text: #475569;
      --logo-text: #0F172A;
    }

    :root {
      --font-display: 'Baloo 2', system-ui, sans-serif;
      --font-body: 'Mulish', system-ui, sans-serif;
      --accent-cyan: #06B6D4;
      --shadow-color: #000000;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: var(--font-body);
      background-color: var(--bg-main);
      color: var(--text-main);
      line-height: 1.5;
      -webkit-font-smoothing: antialiased;
      display: flex;
      flex-direction: column;
      min-height: 100vh;
      transition: background-color 0.3s ease, color 0.3s ease;
    }

    h1, h2, h3, .btn, .nav-brand { font-family: var(--font-display); }

    /* ---------- HEADER & NAVBAR ---------- */
    header {
      position: sticky; top: 0; z-index: 100;
      background: var(--bg-header);
      backdrop-filter: blur(12px);
       
      transition: background 0.3s ease;
    }

    .nav-container {
      max-width: 1280px; margin: 0 auto; padding: 12px 24px;
      display: flex; align-items: center; justify-content: space-between;
      flex-wrap: wrap; gap: 12px;
    }

    .nav-brand {
      display: flex; align-items: center; gap: 2px;
      text-decoration: none; font-size: 1.6rem; font-weight: 800; color: var(--logo-text);
    }
    
    .nav-brand svg { width: 44px; height: 44px; }

    .nav-actions { display: flex; align-items: center; gap: 16px; }

    .nav-menu { display: flex; align-items: center; gap: 20px; list-style: none; }
    .nav-menu a { color: var(--text-muted); text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: color 0.2s; }
    .nav-menu a:hover { color: #06B6D4; }

    .badge-no-ads {
      background: rgba(16, 185, 129, 0.15); color: #10B981;
      border: 1px solid rgba(16, 185, 129, 0.3); padding: 5px 12px;
      border-radius: 999px; font-size: 0.82rem; font-weight: 700;
    }

    /* Téma Mód Váltó Gomb */
    .theme-toggle-btn {
      background: var(--filter-btn-bg);
      border: 1px solid var(--border-color);
      color: var(--text-main);
      padding: 8px 14px;
      border-radius: 999px;
      cursor: pointer;
      font-size: 1rem;
      display: flex;
      align-items: center;
      gap: 6px;
      font-family: var(--font-display);
      font-weight: 700;
      transition: all 0.2s ease;
    }
    .theme-toggle-btn:hover { transform: scale(1.05); }

    /* ---------- MAIN & FILTER BAR ---------- */
    main { max-width: 1280px; margin: 0 auto; padding: 40px 24px 80px; width: 100%; }
    .section-header {
      display: flex; justify-content: space-between; align-items: center;
      flex-wrap: wrap; gap: 20px; margin-bottom: 32px;
    }
    .section-title { font-size: 1.8rem; font-weight: 800; color: var(--text-title); }

    .filter-bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
    .filter-btn {
      background: var(--filter-btn-bg); color: var(--filter-btn-text); border: 1px solid var(--border-color);
      padding: 8px 18px; border-radius: 999px; font-family: var(--font-display); font-size: 0.95rem;
      font-weight: 700; cursor: pointer; transition: all 0.2s ease;
    }
    .filter-btn:hover { background: rgba(79, 70, 229, 0.15); color: #4F46E5; }
    .filter-btn.active {
  background: linear-gradient(135deg, #4F46E5, #7C3AED);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

    /* GRID LAYOUT */
    .games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 32px; }

    /* ---------- GAME CARD ---------- */
    .game-card {
      background: var(--bg-card-outer); border: 1px solid var(--border-color);
      border-radius: 24px; overflow: hidden; display: flex; flex-direction: column;
      transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
      position: relative;
    }
    .game-card:hover { transform: translateY(-8px); box-shadow: 0 20px 30px rgba(0, 0, 0, 0.15); }
    .game-card.hidden { display: none !important; }

    .card-scene { position: relative; height: 190px; width: 100%; overflow: hidden; border-bottom: 1px solid var(--border-color); }
    .card-scene-overlay { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; align-items: center; z-index: 10; }
    .subtitle-badge { background: rgba(0, 0, 0, 0.45); backdrop-filter: blur(6px); color: #FFF; font-size: 0.78rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
    .age-badge { background: rgba(255, 255, 255, 0.95); color: #0F172A; font-size: 0.8rem; font-weight: 800; padding: 4px 12px; border-radius: 999px; }

    .card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; justify-content: space-between; background: var(--bg-card); }
    .card-title { font-size: 1.4rem; font-weight: 800; margin-bottom: 10px; color: var(--text-title); display: flex; align-items: center; gap: 10px; }
    .card-desc { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 20px; }
    .card-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
    .tag { font-size: 0.75rem; font-weight: 700; padding: 4px 10px; border-radius: 8px; background: var(--filter-btn-bg); color: var(--filter-btn-text); border: 1px solid var(--border-color); }

    .btn-play {
      display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
      background: #4F46E5; color: #FFF; text-decoration: none; padding: 12px 20px;
      border-radius: 999px; font-family: var(--font-display); font-size: 1.05rem; font-weight: 800;
      transition: transform 0.2s ease, background 0.2s ease;
      box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
    }
    .btn-play:hover { background: #4338CA; transform: scale(1.02); }
    .btn-play svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2.5; fill: none; }

    /* ================= SCENE ANIMÁCIÓS STÍLUSOK (GRID KÁRTYÁK) ================= */

/* Mérleg birodalma (Egyensúly) — saját, egyszerűsített mérleg-illusztráció,
   a lebegő kockák a .bubble "rise" animációját hasznosítják újra */
#merleg-scene { 
  background: linear-gradient(180deg, #FDF6EC 0%, #F0DFC0 55%, #C9A876 100%); 
}
.merleg-chip { 
  position: absolute; 
  bottom: -20px; 
  border-radius: 6px; 
  animation: rise linear infinite; 
}
.merleg-wrap { 
  position: absolute; 
  left: 50%; 
  top: 50%; 
  transform: translate(-50%, -50%); 
  width: 96px; 
  height: 96px; 
}
.merleg-wrap svg { 
  width: 100%; 
  height: 100%; 
  display: block; 
  filter: drop-shadow(0 4px 6px rgba(90, 60, 20, 0.3)); 
}
.merleg-beam { 
  transform-origin: 100px 58px; 
  animation: merlegTilt 5s ease-in-out infinite; 
}
@keyframes merlegTilt { 
  0%, 100% { transform: rotate(-6deg); } 
  50% { transform: rotate(6deg); } 
}

/* Víz birodalma (Óceán) */
#viz-scene { 
  background: linear-gradient(180deg, #1D8FA6 0%, #0B5C72 55%, #023347 100%); 
}
.bubble { 
  position: absolute; 
  bottom: -20px; 
  border-radius: 50%; 
  background: rgba(255,255,255,0.35); 
  animation: rise linear infinite; 
}
@keyframes rise { 
  to { transform: translateY(-220px) scale(1.3); opacity: 0; } 
}
.fish { 
  position: absolute; 
  font-size: 1.6rem; 
  animation: swim linear infinite; 
}
@keyframes swim { 
  from { transform: translateX(-40px); } 
  to { transform: translateX(420px); } 
}

/* Föld birodalma (Erdő) */
#fold-scene { 
  background: linear-gradient(180deg, #CDEBAE 0%, #6FB24C 55%, #265C2C 100%); 
}
.leaf { 
  position: absolute; 
  top: -20px; 
  font-size: 1.3rem; 
  animation: fall linear infinite; 
}
@keyframes fall { 
  to { transform: translateY(220px) rotate(360deg); opacity: 0; } 
}
.critter { 
  position: absolute; 
  bottom: 15px; 
  font-size: 1.8rem; 
  animation: hop 3s ease-in-out infinite; 
}
@keyframes hop { 
  0%,100%{ transform: translateY(0); } 
  50%{ transform: translateY(-12px); } 
}

/* Tűz birodalma (Tűzoltó) */
#tuz-scene { 
  background: linear-gradient(180deg, #FFB454 0%, #E4572E 55%, #6E2A24 100%); 
}
.ember { 
  position: absolute; 
  bottom: 10%; 
  width: 6px; 
  height: 6px; 
  border-radius: 50%; 
  background: #FFD23F; 
  box-shadow: 0 0 8px #FFD23F; 
  animation: spark linear infinite; 
}
@keyframes spark { 
  0%{ transform: translateY(0); opacity: 1; } 
  100%{ transform: translateY(-180px) translateX(20px); opacity: 0; } 
}
.flame-icon { 
  position: absolute; 
  bottom: 20px; 
  left: 50%; 
  transform: translateX(-50%); 
  font-size: 3rem; 
  animation: flick 1.2s ease-in-out infinite alternate; 
}
@keyframes flick { 
  from{ transform: translateX(-50%) scale(1); } 
  to{ transform: translateX(-50%) scale(1.15); } 
}

/* Éter birodalma (Űr) */
#eter-scene { 
  background: linear-gradient(180deg, #2E2A6E 0%, #1B1A3A 55%, #0A0A1F 100%); 
}
.star { 
  position: absolute; /* EZ HIÁNYZOTT: így működik a left, top, width, height inline style */
  display: block;
  border-radius: 50%; 
  background: #FFE9A8; 
  
  animation: twinkle ease-in-out infinite; 
}
@keyframes twinkle { 
  0%, 100% { opacity: 0.2; transform: scale(0.8); } 
  50% { opacity: 1; transform: scale(1.2); } 
}

.ship { 
  position: absolute; 
  left: 50%; 
  top: 50%; 
  transform: translate(-50%, -50%); 
  font-size: 2.8rem; 
  z-index: 2; /* A csillagok felett jelenjen meg */
  animation: float 3.5s ease-in-out infinite; 
}

@keyframes float { 
  0%, 100% { transform: translate(-50%, -50%) translateY(0) rotate(-4deg); } 
  50% { transform: translate(-50%, -50%) translateY(-10px) rotate(4deg); } 
}

/* Kert birodalma (Kígyó) */
#kert-scene { 
  background: linear-gradient(180deg, #FFD9A0 0%, #FF9EC4 45%, #4C8C3B 100%); 
}
.snake-icon { 
  position: absolute; 
  left: 35%; 
  top: 35%; 
  font-size: 2.8rem; 
  animation: kertFloat 4s ease-in-out infinite; 
}
@keyframes kertFloat { 
  0%,100%{ transform: translateY(0) rotate(-4deg); } 
  50%{ transform: translateY(-10px) rotate(4deg); } 
}
.apple-icon { 
  position: absolute; 
  left: 62%; 
  top: 45%; 
  font-size: 2rem; 
  animation: hop 2.5s ease-in-out infinite; 
}

/* Asztronauta birodalma (Űrséta) — a .star / @keyframes twinkle újrahasznosítva az éter jelenetből */
#astro-scene { 
  background: linear-gradient(180deg, #1B1A3A 0%, #11102A 55%, #0A0A1F 100%); 
}
.astronaut-icon { 
  position: absolute; 
  left: 50%; 
  top: 50%; 
  transform: translate(-50%, -50%); 
  width: 60px; 
  height: 60px; 
  animation: astroFloat 4.5s ease-in-out infinite; 
}
.astronaut-icon svg { 
  width: 100%; 
  height: 100%; 
  display: block; 
  filter: drop-shadow(0 0 8px rgba(150,180,255,0.35)); 
}
@keyframes astroFloat { 
  0%, 100% { transform: translate(-50%, -50%) translateY(0) rotate(-6deg); } 
  50% { transform: translate(-50%, -50%) translateY(-12px) rotate(6deg); } 
}

    /* ---------- INFO SZEKCIÓ ---------- */
    .info-section {
      background: var(--bg-info); border: 1px solid var(--border-color);
      border-radius: 24px; padding: 40px; margin-top: 60px;
      display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
    }
    .info-box h3 { font-size: 1.5rem; color: var(--text-title); margin-bottom: 14px; }
    .info-box p { color: var(--text-muted); line-height: 1.6; margin-bottom: 16px;font-size:1.1rem; }

    .contact-form { display: flex; flex-direction: column; gap: 14px; }
    .form-group { display: flex; flex-direction: column; gap: 6px; }
    .form-group label { font-size: 0.85rem; font-weight: 700; color: var(--text-muted); }
    .form-group input, .form-group textarea {
      background: var(--bg-input); border: 1px solid var(--border-color);
      border-radius: 10px; padding: 12px; color: var(--text-main); font-family: var(--font-body); font-size: 0.95rem;
    }

    .btn-submit {
      background: #06B6D4; color: #FFF; border: none; padding: 12px 24px; border-radius: 10px;
      font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; cursor: pointer; transition: background 0.2s;
    }
    .btn-submit:hover { background: #0891B2; }

    /* ---------- FOOTER ---------- */
    footer {
      background: var(--bg-footer);
      border-top: 1px solid var(--border-color);
      padding: 50px 24px 30px;
      font-size: 0.92rem;
      color: var(--text-muted);
      margin-top: auto;
    }
    .footer-container {
  max-width: 1280px;
  margin: 0 auto;
    margin-bottom: 0px;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}
.footer-column h4 {
  font-size: 1.1rem;
  color: var(--text-title);
  margin-bottom: 16px;
  font-weight: 800;
}
.footer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-menu a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}
.footer-menu a:hover {
  color: var(--accent-cyan);
}

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  background: var(--bg-card);
  border-radius: 20px;
  border: 1px dashed var(--border-color);
  display: none;
}

    @media (max-width: 860px) {
      .info-section { grid-template-columns: 1fr; gap: 30px; padding: 24px; }
      .games-grid { grid-template-columns: 1fr; }
      .section-header { flex-direction: column; align-items: flex-start; }
      .section-title{font-size: 1.6rem!important;}
    }


/* ---------- HERO SECTION (canvas) ---------- */


/* A Canvas pontosan kitölti a szekciót */
#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none; /* Átengedi a kattintásokat a gombokra */
}

 

.hero-title {
  font-family: 'Baloo 2', system-ui, sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-title);
  margin: 0 0 12px 0;
  
}

.highlight-cyan {
  color: #06B6D4;
}

 .hero {
 position: relative;
  width: 100%;
  min-height: 380px;
  padding: 60px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.1) 0%, rgba(6, 182, 212, 0.05) 50%, transparent 100%);
  overflow: hidden;
  /*border-bottom: 1px solid var(--border-color);*/
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 840px;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124, 58, 237, 0.15);
  color: #A78BFA;
  border: 1px solid rgba(124, 58, 237, 0.3);
  padding: 6px 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text-title);
}
.hero-title .highlight-cyan {
  color: var(--accent-cyan);
}
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 28px;
  line-height: 1.6;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stat-value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-cyan);
  line-height: 1.2;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}
.hero-title .highlight-cyan {
  color: var(--accent-cyan);
}

.control-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 36px;
  box-shadow: 0 10px 25px -5px var(--shadow-color);
  display: flex;
  flex-direction: row;
  gap: 18px;
}
.search-box {
  position: relative;
  width: 50%;
}
.search-icon {
  position: absolute;
  left: 16px;
  top: 25%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  opacity: 0.6;
  pointer-events: none;
}
.search-input {
  width: 100%;
  padding: 14px 20px 14px 48px;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.2s ease;
}
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
/* ----------------------------------------------------
   MOBIL ÉS TABLET KATEGÓRIA GOMBOK VÍZSZINTES GÖRGETÉSE
   ---------------------------------------------------- */
@media (max-width: 1024px) {
  .control-panel {
    /* Szükség esetén megelőzi a kilógó elemek miatti vízszintes görgetősávot az egész oldalon */
    overflow: hidden; 
    flex-direction: column!important;
  }
.search-box{width: 100% !important;margin:0 auto;}
  .filter-bar {
    display: flex;
    flex-wrap: nowrap;           /* Megakadályozza, hogy a gombok több sorba essenek */
    overflow-x: auto;            /* Vízszintes görgethetőség engedélyezése */
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch; /* Sima, rugalmas (momentum) görgetés iOS-en */
    scroll-snap-type: x mandatory;     /* Érintéses görgetéskor a gombok lágyan helyükre ugranak */
    gap: 8px;                    /* Gombok közötti távolság */
    padding-bottom: 10px;        /* Hely a görgetősávnak / árnyéknak */
    
    /* Vízszintes gördítősáv elrejtése a tisztább megjelenésért (opcionális) */
    scrollbar-width: none;       /* Firefox */
    -ms-overflow-style: none;    /* IE / Edge */
  }

  /* Görgetősáv elrejtése Chrome/Safari/Opera böngészőkben */
  .filter-bar::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    flex: 0 0 auto;              /* Megakadályozza a gombok összenyomódását */
    scroll-snap-align: start;    /* A gomb elejére igazítja a görgetést */
    white-space: nowrap;         /* Megakadályozza a gombok szövegének törését */
  }
}
.hero-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  padding: 10px 22px;
  background: linear-gradient(135deg, #06B6D4, #3B82F6);
  color: #ffffff;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.35);
}

.btn-secondary {
  padding: 10px 22px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  backdrop-filter: blur(8px);
  transition: background 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}



/* Karbon birodalma (Karbon lábnyom) */
#karbon-scene { 
  background: linear-gradient(180deg, #A8E6CF 0%, #3D8B37 55%, #1B4320 100%); 
}
.carbon-leaf { 
  position: absolute; 
  bottom: -20px; 
  font-size: 1.1rem; 
  animation: rise linear infinite; 
}
.earth-icon { 
  position: absolute; 
  left: 50%; 
  top: 50%; 
  transform: translate(-50%, -50%); 
  font-size: 3.2rem; 
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.25)); 
  animation: earthFloat 4s ease-in-out infinite; 
}
@keyframes earthFloat { 
  0%, 100% { transform: translate(-50%, -50%) scale(1) rotate(-3deg); } 
  50% { transform: translate(-50%, -50%) scale(1.08) rotate(3deg); } 
}
.co2-cloud { 
  position: absolute; 
  font-size: 1.2rem; 
  opacity: 0.8; 
  animation: cloudPuff 3.5s ease-out infinite; 
}
@keyframes cloudPuff { 
  0% { transform: translateY(0) scale(0.6); opacity: 0; } 
  50% { opacity: 0.8; } 
  100% { transform: translateY(-40px) scale(1.3); opacity: 0; } 
}

.cookie-span{
  border-radius: 24px;width: auto;
  height: 300px;
  background-size: cover;
  border: 2px solid #fff;
  display: block;
  position: relative;
  box-sizing: border-box;background-image:url(/no-cookie.webp);
}

@media (max-width: 768px) {
  .hero {
    max-height: none;
    padding: 50px 16px;
  }
  .hero-title {
    font-size: 2rem;
  }
  .cookie-span{   
    height: 200px!important;
    
  }
}
/* ============ Maze scene (Nyuszi Labirintus) ============ */
#maze-scene {
  background: linear-gradient(160deg, #e8f5e0, #cdebc0);
  overflow: hidden;
}
#maze-scene .bunny-icon {
  position: absolute;
  font-size: 1.6rem;
  animation: mazeHop 3.2s ease-in-out infinite;
  will-change: transform;
}
@keyframes mazeHop {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(40px, -10px) scale(1.05); }
  50% { transform: translate(70px, 4px) scale(0.95); }
  75% { transform: translate(30px, -6px) scale(1.05); }
}
#maze-scene .carrot-icon {
  position: absolute;
  font-size: 1.1rem;
  opacity: 0.85;
  animation: mazeFloat 4.5s ease-in-out infinite;
}
@keyframes mazeFloat {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-12px) rotate(4deg); }
}

/* ============ Memo scene (Párkereső) ============ */
#memo-scene {
  background: linear-gradient(160deg, #f6e9fb, #fde3ee);
  overflow: hidden;
  perspective: 600px;
}
#memo-scene .memo-card {
  position: absolute;
  width: 22px;
  height: 28px;
  border-radius: 4px;
  background: linear-gradient(135deg, #fff, #f1d9fa);
  box-shadow: 0 3px 8px rgba(150, 90, 180, 0.25);
  animation: memoFlip 5s ease-in-out infinite;
  transform-style: preserve-3d;
}
@keyframes memoFlip {
  0%, 100% { transform: translateY(0) rotateY(0deg); }
  50% { transform: translateY(-14px) rotateY(180deg); }
}
#memo-scene .memo-spark {
  position: absolute;
  font-size: 1rem;
  opacity: 0;
  animation: memoSparkle 3.6s ease-in-out infinite;
}
@keyframes memoSparkle {
  0%, 100% { opacity: 0; transform: scale(0.5); }
  50% { opacity: 0.9; transform: scale(1.1); }
}

/* ============ Hangutánzó (Sound Imitation) scene ============ */
#hang-scene {
  background: linear-gradient(160deg, #1e1b4b, #312e81, #4c1d95);
  position: relative;
  overflow: hidden;
}

/* A mozgolódó / lebegő színes négyzetek */
.sound-square {
  position: absolute;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  opacity: 0.85;
  animation: floatSquare linear infinite alternate;
  will-change: transform;
}

@keyframes floatSquare {
  0% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
  50% {
    transform: translateY(-18px) rotate(180deg) scale(1.1);
  }
  100% {
    transform: translateY(12px) rotate(360deg) scale(0.95);
  }
}
 

.footer-toggle {
  background: none;
  border: none;
  outline: none;
  padding: 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-title);
  cursor: default;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.footer-toggle .toggle-icon {
  display: none; /* Asztali nézetben a nyíl rejtve van */
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}
 

/* ---------- MOBIL NÉZET (TOGGLE EFFEKT) ---------- */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 24px;
  }

  .footer-column {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
  }

  .footer-toggle {
    cursor: pointer;
    margin-bottom: 0;
    padding: 8px 0;
  }

  .footer-toggle .toggle-icon {
    display: inline-block;
  }

  .footer-toggle.active .toggle-icon {
    transform: rotate(180deg);
  }

  /* Alapértelmezetten rejtett menük mobilon smooth slide animációval */
  .footer-menu {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease, margin-top 0.3s ease;
    gap: 8px;
  }

  .footer-menu.open {
    max-height: 250px;
    opacity: 1;
    margin-top: 12px;
  }
}
 
/* ============ Bullet-Time Scene ============ */
#bullet-scene {
  background: #08071a linear-gradient(180deg, #050515 0%, #0a0826 100%);
  position: relative;
  overflow: hidden;
}

/* Halvány háló (grid) a háttérben */
#bullet-scene::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

/* Központi Fekete Lyuk + Ovitális Pályák */
.bullet-core-wrapper {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  pointer-events: none;
}

/* Mag maga (fekete lyuk) */
.bullet-black-hole {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  transform: translate(-50%, -50%);
  background: #000;
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.6), inset 0 0 10px #a855f7;
  z-index: 2;
}

/* Keringő kék bolygó/részecske */
.bullet-blue-orb {
  position: absolute;
  top: 15%;
  left: 20%;
  width: 22px;
  height: 22px;
  background: radial-gradient(circle, #a5f3fc 0%, #0284c7 70%, #0369a1 100%);
  border-radius: 50%;
  box-shadow: 0 0 12px #38bdf8;
  z-index: 4;
  animation: floatOrb 3s ease-in-out infinite alternate;
}

/* Orbitális gyűrűk */
.bullet-ring-1, .bullet-ring-2 {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 2px solid transparent;
  pointer-events: none;
}

.bullet-ring-1 {
  width: 110px;
  height: 45px;
  border-color: #0284c7;
  transform: translate(-50%, -50%) rotate(-20deg);
  animation: spinRing1 8s linear infinite;
}

.bullet-ring-2 {
  width: 50px;
  height: 110px;
  border-color: #a855f7;
  transform: translate(-50%, -50%) rotate(15deg);
  animation: spinRing2 10s linear infinite;
}

/* Lebegő pontok (Piros és Sárga) */
.bullet-dot {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}

.bullet-dot.red {
  background-color: #f43f5e;
  box-shadow: 0 0 8px #f43f5e;
  animation: floatParticle 4s ease-in-out infinite alternate;
}

.bullet-dot.yellow {
  background-color: #eab308;
  box-shadow: 0 0 10px #eab308;
  animation: floatParticle 5s ease-in-out infinite alternate-reverse;
}

/* Animációk */
@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(6px, -6px) scale(1.08); }
}

@keyframes spinRing1 {
  0% { transform: translate(-50%, -50%) rotate(-20deg); }
  100% { transform: translate(-50%, -50%) rotate(340deg); }
}

@keyframes spinRing2 {
  0% { transform: translate(-50%, -50%) rotate(15deg); }
  100% { transform: translate(-50%, -50%) rotate(-345deg); }
}

@keyframes floatParticle {
  0% { transform: translate(0, 0); }
  100% { transform: translate(12px, -15px); }
}

/* ============ Super Manó scene (Platformer — jobbra fut, átugorja az akadályokat) ============ */
#mano-scene {
  background: linear-gradient(180deg, #8fd3f4 0%, #c9f2c7 65%, #4eaf23 100%);
}
#mano-scene .mano-cloud {
  position: absolute;
  top: 14%;
  width: 46px;
  height: 18px;
  background: rgba(255,255,255,0.8);
  border-radius: 999px;
  animation: manoCloudDrift linear infinite;
}
#mano-scene .mano-cloud::before,
#mano-scene .mano-cloud::after {
  content: '';
  position: absolute;
  background: rgba(255,255,255,0.8);
  border-radius: 50%;
}
#mano-scene .mano-cloud::before { width: 22px; height: 22px; top: -10px; left: 4px; }
#mano-scene .mano-cloud::after  { width: 16px; height: 16px; top: -7px;  left: 24px; }
@keyframes manoCloudDrift {
  from { transform: translateX(-60px); }
  to   { transform: translateX(340px); }
}

#mano-scene .mano-ground {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 28px;
  background: linear-gradient(180deg, #4eaf23, #2f7a38);
}

#mano-scene .mano-obstacle {
  position: absolute;
  bottom: 26px;
  font-size: 1.3rem;
  transform: translateX(-50%);
}
#mano-scene .mano-obstacle.o1 { left: 38%; }
#mano-scene .mano-obstacle.o2 { left: 72%; }

#mano-scene .mano-runner {
  position: absolute;
  bottom: 26px;
  width: 30px;
  height: 50px;
  animation: manoRun 6s linear infinite;
  will-change: left, transform;
}
#mano-scene .mano-runner svg { width: 100%; height: 100%; display: block; }

/* A jobbra futás + a két ugrás pontosan az akadályok (38% / 72%) fölött időzítve */
@keyframes manoRun {
  0%   { left: -10%; transform: translateY(0); }
  27%  { left: 32%;  transform: translateY(0); }
  31%  { left: 38%;  transform: translateY(-32px); }
  35%  { left: 44%;  transform: translateY(0); }
  63%  { left: 66%;  transform: translateY(0); }
  67%  { left: 72%;  transform: translateY(-32px); }
  71%  { left: 78%;  transform: translateY(0); }
  100% { left: 112%; transform: translateY(0); }
}
