/* ============================================================
   BLUE HOOD GAMES — Cinematic Void Theme
   ============================================================ */

:root {
  --void:        #08080f;
  --void-mid:    #0e0e18;
  --void-light:  #141420;
  --surface:     #1a1a28;
  --surface-up:  #202030;
  --accent:      #5b4cf0;
  --accent-glow: #7b6cf0;
  --accent-dim:  #3d32a8;
  --text:        #e8e6f0;
  --text-muted:  #8a88a8;
  --text-dim:    #5a587a;
  --border:      rgba(91, 76, 240, 0.12);
  --border-hover:rgba(91, 76, 240, 0.3);

  --font-display: 'Syne', sans-serif;
  --font-title:   'Bricolage Grotesque', sans-serif;
  --font-body:    'Outfit', sans-serif;

  --section-pad: clamp(80px, 12vh, 160px);
  --container:   1200px;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

/* ============ RESET ============ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: var(--void);
  overflow-x: hidden;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ============ HERO ============ */
.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 10;
}

/* Global particles */
.particles-global {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 76, 240, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 2;
  transition: transform 0.3s ease-out;
  will-change: transform;
}

.hero__noise {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}

/* Language toggle */
.lang-toggle {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 4px 10px;
  transition: all 0.3s ease;
}

.lang-toggle:hover {
  color: var(--accent);
  border-color: var(--border-hover);
}

.lang-toggle--mobile {
  margin-top: 16px;
  font-size: 0.8rem;
  padding: 6px 16px;
}

/* Hero center — logo */
.hero__center {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: heroLogoIn 1.4s var(--ease-out-expo) 0.2s forwards;
}

.hero__logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__logo {
  width: clamp(180px, 30vw, 400px);
  height: auto;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 60px rgba(91, 76, 240, 0.2));
  animation: logoBreathe 6s ease-in-out infinite;
}

.hero__logo-glow {
  position: absolute;
  width: 140%;
  height: 140%;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(60, 200, 220, 0.12) 0%,
    rgba(91, 76, 240, 0.10) 30%,
    rgba(61, 50, 168, 0.04) 55%,
    transparent 75%
  );
  z-index: 1;
  animation: glowPulse 4s ease-in-out infinite;
  filter: blur(12px);
}

/* Explore button */
.hero__explore {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: none;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 22px;
  cursor: pointer;
  opacity: 0;
  animation: fadeSlideUp 1s var(--ease-out-expo) 1.2s forwards;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.hero__explore:hover {
  color: var(--text-muted);
  border-color: var(--border-hover);
}

.hero__explore svg {
  animation: exploreArrow 2s ease-in-out infinite;
}

@keyframes exploreArrow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* ============ SITE HEADER ============ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(6, 6, 26, 0.85);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease-out-expo);
}

.site-header--visible { transform: translateY(0); }

.site-header--game {
  position: sticky;
  transform: translateY(0);
}

.site-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-header__logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 6px;
}

.site-header__name {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}

.site-header__link {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s ease;
  position: relative;
}

.site-header__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.4s var(--ease-out-expo);
}

.site-header__link:hover { color: var(--text); }
.site-header__link:hover::after { width: 100%; }

.site-header__link--active { color: var(--accent); }
.site-header__link--active::after { width: 100%; }

.lang-toggle--header { margin-left: 8px; }

/* Burger */
.site-header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.site-header__burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.site-header__burger--open span:nth-child(1) { transform: rotate(45deg) translate(4px, 5px); }
.site-header__burger--open span:nth-child(2) { opacity: 0; }
.site-header__burger--open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -5px); }

/* Mobile nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(6, 6, 26, 0.97);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-nav--open { opacity: 1; visibility: visible; }

.mobile-nav__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.mobile-nav__link {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.mobile-nav__link:hover { color: var(--accent); }

/* ============ CONTENT ============ */
.content {
  position: relative;
  z-index: 5;
}

.section {
  padding: var(--section-pad) 0;
}

.section__container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.section__title--serif {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.section__subtitle {
  color: var(--text-muted);
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  font-weight: 300;
  margin-bottom: clamp(40px, 6vh, 72px);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out-expo) 0.1s, transform 0.8s var(--ease-out-expo) 0.1s;
}

.section.is-visible .section__title,
.section.is-visible .section__subtitle {
  opacity: 1;
  transform: translateY(0);
}

.section__title::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin-top: 16px;
  border-radius: 2px;
}

.section + .section { border-top: 1px solid var(--border); }

/* ============ ABOUT ============ */
.section--about {
  border-top: none;
}

.about-layout {
  max-width: 720px;
}

.about-tag {
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.section.is-visible .about-tag {
  opacity: 1;
  transform: translateY(0);
}

.section--about .section__title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 24px;
}

.section--about .section__title::after { display: none; }

.about-desc {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.75;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out-expo) 0.2s, transform 0.8s var(--ease-out-expo) 0.2s;
}

.about-desc em {
  color: var(--text);
  font-style: italic;
}

.section.is-visible .about-desc {
  opacity: 1;
  transform: translateY(0);
}

/* ============ GAMES ============ */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}

.games-grid--web {
  margin-top: 0;
}

.subsection-title {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 56px;
  margin-bottom: 24px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}

.section.is-visible .subsection-title {
  opacity: 1;
  transform: translateY(0);
}

.game-card {
  display: block;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--void-mid);
  border: 1px solid var(--border);
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo), border-color 0.4s ease;
}

.section.is-visible .game-card {
  opacity: 1;
  transform: translateY(0);
}

.section.is-visible .game-card:nth-child(2) { transition-delay: 0.15s; }

.game-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.game-card__visual {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.game-card__visual--compact {
  aspect-ratio: 2.2 / 1;
}

.game-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-card__placeholder--delvers {
  background: linear-gradient(135deg, #0a0a20 0%, #1a0a2e 40%, #0d1a2e 100%);
}

.game-card__placeholder--idle {
  background: linear-gradient(135deg, #0a1520 0%, #0a2030 40%, #051525 100%);
}

.game-card__placeholder--qpug {
  background: #0a0a0f;
  background-image:
    linear-gradient(to right, rgba(255,107,0,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,107,0,0.05) 1px, transparent 1px);
  background-size: 30px 30px;
}

.game-card__placeholder--dh {
  background: linear-gradient(135deg, #1a1008 0%, #2a1a0a 40%, #1a0f08 100%);
}

.game-card__placeholder--blindtest {
  background: linear-gradient(135deg, #020617 0%, #0f172a 50%, #1a1a2e 100%);
}

.game-card__label {
  font-family: var(--font-title);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.08);
}

/* BlindTest branded label */
.game-card__label--blindtest {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: transparent;
}

.bt-blind, .bt-test {
  background: linear-gradient(to right, #818cf8, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* QPUG branded label */
.game-card__label--qpug {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(0.9rem, 1.8vw, 1.3rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: transparent;
}

.qpug-q {
  color: #ffffff;
  text-shadow: 0 0 20px rgba(255, 107, 0, 0.3);
}

.qpug-g {
  color: #FF6B00;
  text-shadow: 0 0 20px rgba(255, 107, 0, 0.5);
}

.game-card__banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out-expo);
}

.game-card:hover .game-card__banner {
  transform: scale(1.05);
}

.game-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 6, 26, 0.6);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.game-card:hover .game-card__overlay { opacity: 1; }

.game-card__status {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-glow);
  padding: 8px 20px;
  border: 1px solid var(--accent-dim);
  border-radius: 100px;
}

.game-card__info {
  padding: 20px 24px;
}

.game-card__title {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.game-card__year {
  color: var(--text-dim);
  font-weight: 500;
  font-size: 0.85em;
}

.game-card__genre {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 10px;
}

.game-card__badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.badge {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
}

.badge--steam {
  background: rgba(91, 76, 240, 0.12);
  color: var(--accent-glow);
  border: 1px solid rgba(91, 76, 240, 0.2);
}

.badge--web {
  background: rgba(100, 200, 180, 0.1);
  color: #6ac8b4;
  border: 1px solid rgba(100, 200, 180, 0.2);
}

.badge--fr {
  background: rgba(220, 180, 100, 0.1);
  color: #dcb464;
  border: 1px solid rgba(220, 180, 100, 0.2);
}

.badge--status {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-dim);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* ============ CONTACT (minimal homepage version) ============ */
.contact-minimal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out-expo) 0.15s, transform 0.8s var(--ease-out-expo) 0.15s;
}

.section.is-visible .contact-minimal {
  opacity: 1;
  transform: translateY(0);
}

.contact-email {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 16px;
}

.contact-email a {
  color: var(--accent);
  transition: color 0.3s ease;
}

.contact-email a:hover {
  color: var(--accent-glow);
}

/* ============ CONTACT FORM ============ */
.contact-form {
  max-width: 640px;
}

/* Animate only when inside a section on the homepage */
.section .contact-form {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo) 0.15s, transform 0.8s var(--ease-out-expo) 0.15s;
}

.section.is-visible .contact-form {
  opacity: 1;
  transform: translateY(0);
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form__field { margin-bottom: 20px; }

.contact-form__field label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text);
  background: var(--void-mid);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  -webkit-appearance: none;
}

.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus {
  border-color: var(--accent-dim);
  box-shadow: 0 0 0 3px rgba(91, 76, 240, 0.08);
}

.contact-form__field textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form__field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%238a88a8' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.contact-form__submit {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--void);
  background: var(--accent);
  border: none;
  border-radius: 100px;
  padding: 14px 40px;
  margin-top: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-form__submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.15) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.contact-form__submit:hover::before { transform: translateX(100%); }

.contact-form__submit:hover {
  background: var(--accent-glow);
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(91, 76, 240, 0.25);
}

/* ============ SUPPORT ============ */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.support-card {
  background: var(--void-mid);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo), border-color 0.4s ease;
}

.section.is-visible .support-card { opacity: 1; transform: translateY(0); }
.section.is-visible .support-card:nth-child(2) { transition-delay: 0.1s; }
.section.is-visible .support-card:nth-child(3) { transition-delay: 0.2s; }

.support-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.support-card__icon { color: var(--accent); margin-bottom: 16px; }

.support-card__title {
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.support-card__desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.support-card__link {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  transition: color 0.3s ease;
}

.support-card__link:hover { color: var(--accent-glow); }

/* ============ FOOTER ============ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  position: relative;
  z-index: 5;
}

.site-footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer__copy { font-size: 0.8rem; color: var(--text-dim); }

.site-footer__links { display: flex; gap: 24px; }

.site-footer__links a {
  font-size: 0.78rem;
  color: var(--text-dim);
  transition: color 0.3s ease;
}

.site-footer__links a:hover { color: var(--text-muted); }

/* ============ BUTTONS (shared) ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 100px;
  padding: 14px 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn--steam {
  background: var(--accent);
  color: var(--void);
}

.btn--steam:hover {
  background: var(--accent-glow);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(91, 76, 240, 0.3);
}

.btn--lg {
  padding: 18px 44px;
  font-size: 0.88rem;
}

.btn__icon {
  width: 18px;
  height: 18px;
  filter: brightness(0);
}

.btn__icon--lg {
  width: 22px;
  height: 22px;
}

/* ============ ANIMATIONS ============ */
@keyframes heroLogoIn {
  from { opacity: 0; transform: scale(0.85) translateY(20px); filter: blur(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); filter: blur(0); }
}

@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes logoBreathe {
  0%, 100% { filter: drop-shadow(0 0 60px rgba(91, 76, 240, 0.15)); transform: scale(1); }
  50% { filter: drop-shadow(0 0 80px rgba(91, 76, 240, 0.25)); transform: scale(1.015); }
}

@keyframes glowPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.08); }
}

@keyframes scrollDotBounce {
  0%, 100% { cy: 9; opacity: 1; }
  50% { cy: 18; opacity: 0.3; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
  .hero__nav { display: none; }
  .site-header__nav { display: none; }
  .site-header__burger { display: flex; }
  .section__container { padding: 0 24px; }
  .site-header__inner { padding: 0 24px; }
  .games-grid { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }
  .contact-form__row { grid-template-columns: 1fr; }
  .site-footer__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero__logo { width: clamp(140px, 55vw, 260px); }
  .section__title { font-size: 1.6rem; }
  .mobile-nav__link { font-size: 1.4rem; }
}

/* ============ SELECTION & SCROLLBAR ============ */
/* ============ COOKIE BANNER ============ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(14, 14, 24, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  padding: 16px 24px;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.4s var(--ease-out-expo), opacity 0.4s ease;
}

.cookie-banner--visible {
  transform: translateY(0);
  opacity: 1;
}

.cookie-banner__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-banner__text {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  flex: 1;
  min-width: 200px;
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.cookie-banner__link {
  font-size: 0.78rem;
  color: var(--text-dim);
  transition: color 0.3s ease;
}

.cookie-banner__link:hover {
  color: var(--accent);
}

.cookie-banner__btn {
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--void);
  background: var(--accent);
  border: none;
  border-radius: 100px;
  padding: 8px 24px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.cookie-banner__btn:hover {
  background: var(--accent-glow);
}

@media (max-width: 480px) {
  .cookie-banner__inner {
    flex-direction: column;
    text-align: center;
  }
  .cookie-banner__actions {
    width: 100%;
    justify-content: center;
  }
}

/* ============ SELECTION & SCROLLBAR ============ */
::selection {
  background: rgba(91, 76, 240, 0.3);
  color: var(--text);
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--void); }
::-webkit-scrollbar-thumb { background: var(--surface-up); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-dim); }