/* ═══════════════════════════════════════════════════════════════
   DFX GAMES — Citrus Candy Burst Theme
   Fonts: Fredoka (display) + Nunito (body) from Google Fonts
═══════════════════════════════════════════════════════════════ */

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

:root {
  --org:   #FF6B1A;
  --org2:  #FF8C42;
  --org3:  #FFB347;
  --ylw:   #FFD600;
  --ylw2:  #FFE44D;
  --cream: #FFF8EF;
  --white: #FFFFFF;
  --dark:  #1A0500;
  --dark2: #3D1200;
  --muted: #7A4020;

  --grad-fire:  linear-gradient(135deg, #FF6B1A 0%, #FFD600 100%);
  --grad-warm:  linear-gradient(135deg, #FF8C42 0%, #FFE44D 100%);
  --grad-card:  linear-gradient(145deg, #ffffff 0%, #fff4e6 100%);
  --grad-hero:  linear-gradient(135deg, #FF4500 0%, #FF6B1A 40%, #FFB347 70%, #FFD600 100%);
  --grad-dark:  linear-gradient(135deg, #2D0E00 0%, #4A1A00 100%);

  --shad-org:   0 8px 32px rgba(255,107,26,.35);
  --shad-card:  0 4px 24px rgba(255,107,26,.12);
  --shad-hover: 0 20px 48px rgba(255,107,26,.45);
  --shad-btn:   0 6px 20px rgba(255,107,26,.5);

  --r-sm: 14px; --r-md: 20px; --r-lg: 28px; --r-xl: 40px; --r-pill: 100px;

  --nav-h: 72px;
  --font-display: 'Fredoka', sans-serif;
  --font-body:    'Nunito', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--dark);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #FFE8C8; }
::-webkit-scrollbar-thumb { background: var(--org); border-radius: 4px; }

/* ════════════════ NAVBAR ════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,248,239,.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 2px solid rgba(255,107,26,.15);
  display: flex; align-items: center;
  padding: 0 clamp(1rem, 5vw, 3rem);
  gap: 2rem;
  transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: var(--shad-org); }

.nav-logo {
  display: flex; align-items: center; gap: .6rem;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo-icon {
  width: 44px; height: 44px;
  background: var(--grad-fire);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  box-shadow: var(--shad-btn);
  transition: transform .25s cubic-bezier(.34,1.56,.64,1);
}
.nav-logo:hover .nav-logo-icon { transform: rotate(-8deg) scale(1.1); }
.nav-logo-text { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }
.nav-logo-text span:first-child { color: var(--org); }
.nav-logo-text span:last-child  { color: var(--dark2); }

.nav-links {
  display: flex; align-items: center; gap: .25rem; list-style: none; flex: 1;
  justify-content: center;
}
.nav-links a {
  font-family: var(--font-body);
  font-weight: 600; font-size: .95rem;
  color: var(--dark2);
  text-decoration: none;
  padding: .5rem 1rem;
  border-radius: var(--r-pill);
  transition: all .2s;
  position: relative;
}
.nav-links a:hover, .nav-links a.active {
  background: var(--grad-fire);
  color: white;
  box-shadow: var(--shad-btn);
  transform: translateY(-2px);
}

.nav-admin-btn {
  background: var(--grad-dark);
  color: white !important;
  padding: .55rem 1.4rem !important;
  border-radius: var(--r-pill) !important;
  font-size: .88rem !important;
  box-shadow: 0 4px 16px rgba(0,0,0,.3) !important;
}
.nav-admin-btn:hover { transform: translateY(-2px) !important; opacity: .9; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: .5rem;
}
.hamburger span {
  display: block; width: 24px; height: 3px;
  background: var(--org); border-radius: 2px;
  transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

.mobile-menu {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(255,248,239,.97);
  backdrop-filter: blur(16px);
  padding: 1.5rem 2rem 2rem;
  border-bottom: 2px solid rgba(255,107,26,.2);
  z-index: 999; flex-direction: column; gap: .5rem;
  box-shadow: var(--shad-org);
  transform: translateY(-20px); opacity: 0;
  transition: all .3s;
}
.mobile-menu.open {
  display: flex; transform: translateY(0); opacity: 1;
}
.mobile-menu a {
  font-weight: 700; font-size: 1.1rem;
  color: var(--dark2); text-decoration: none;
  padding: .75rem 1.25rem;
  border-radius: var(--r-md);
  transition: all .2s;
}
.mobile-menu a:hover {
  background: var(--grad-fire); color: white;
}

/* ════════════════ BUTTONS ════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 700;
  text-decoration: none; cursor: pointer; border: none;
  border-radius: var(--r-pill);
  transition: all .25s cubic-bezier(.34,1.56,.64,1);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px) scale(1.04); }
.btn:active { transform: scale(.97); }

.btn-primary {
  background: var(--grad-fire);
  color: white; padding: .85rem 2rem; font-size: 1rem;
  box-shadow: var(--shad-btn);
}
.btn-primary:hover { box-shadow: var(--shad-hover); }

.btn-secondary {
  background: white; color: var(--org);
  border: 2.5px solid var(--org);
  padding: .8rem 1.8rem; font-size: .95rem;
}
.btn-secondary:hover { background: var(--org); color: white; }

.btn-sm {
  padding: .5rem 1.25rem; font-size: .85rem;
}
.btn-dark {
  background: var(--grad-dark); color: white;
  padding: .75rem 1.5rem; font-size: .9rem;
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
}

/* ════════════════ BADGES ════════════════ */
.badge {
  display: inline-block; font-size: .72rem; font-weight: 700;
  padding: .2rem .7rem; border-radius: var(--r-pill);
  text-transform: uppercase; letter-spacing: .05em;
}
.badge-orange { background: #FFF0D9; color: var(--org); border: 1.5px solid #FFD4A3; }
.badge-yellow { background: #FFFCE0; color: #B8900A; border: 1.5px solid #FFE566; }
.badge-green  { background: #E8FFE8; color: #1A8040; border: 1.5px solid #90EE90; }
.badge-blue   { background: #E8F4FF; color: #0050A0; border: 1.5px solid #90C8FF; }

/* ════════════════ CARDS ════════════════ */
.card {
  background: var(--grad-card);
  border-radius: var(--r-lg);
  box-shadow: var(--shad-card);
  overflow: hidden;
  transition: all .3s cubic-bezier(.34,1.56,.64,1);
  border: 2px solid rgba(255,107,26,.1);
}
.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shad-hover);
  border-color: rgba(255,107,26,.35);
}

/* ════════════════ GAME CARD ════════════════ */
.game-card {
  background: white;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shad-card);
  border: 2.5px solid rgba(255,107,26,.1);
  transition: all .3s cubic-bezier(.34,1.56,.64,1);
  text-decoration: none; color: inherit;
  display: block;
}
.game-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: var(--shad-hover);
  border-color: var(--org);
}
.game-card-img {
  width: 100%; aspect-ratio: 1;
  object-fit: cover;
  display: block;
}
.game-card-img-wrap {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #FFE8C8, #FFF4E6);
}
.game-card-img-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(255,107,26,.08));
}
.game-card-body { padding: 1rem; }
.game-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 600;
  color: var(--dark2); margin-bottom: .3rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.game-card-meta {
  display: flex; align-items: center; justify-content: space-between;
  font-size: .8rem; color: var(--muted);
}
.stars { color: var(--ylw); font-size: .85rem; }
.star-half { color: var(--org3); }
.star-empty { color: #E0C8B0; }

/* ════════════════ VIDEO CARD ════════════════ */
.video-card {
  background: white;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shad-card);
  border: 2.5px solid rgba(255,107,26,.1);
  cursor: pointer;
  transition: all .3s cubic-bezier(.34,1.56,.64,1);
}
.video-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shad-hover);
  border-color: var(--org);
}
.video-thumb-wrap {
  position: relative; aspect-ratio: 16/9; overflow: hidden;
  background: #2D0E00;
}
.video-thumb {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s;
}
.video-card:hover .video-thumb { transform: scale(1.07); }
.video-play-btn {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.2);
  transition: background .3s;
}
.video-card:hover .video-play-btn { background: rgba(0,0,0,.4); }
.play-circle {
  width: 56px; height: 56px;
  background: var(--grad-fire);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: white;
  box-shadow: 0 4px 20px rgba(255,107,26,.7);
  transform: scale(1);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.video-card:hover .play-circle { transform: scale(1.2); }
.video-duration {
  position: absolute; bottom: .5rem; right: .6rem;
  background: rgba(0,0,0,.75);
  color: white; font-size: .75rem; font-weight: 700;
  padding: .15rem .5rem; border-radius: .4rem;
}
.video-card-body { padding: 1rem; }
.video-card-title {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 600; color: var(--dark2);
  margin-bottom: .25rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.video-card-desc {
  font-size: .82rem; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ════════════════ HERO ════════════════ */
.hero {
  min-height: 100vh; position: relative; overflow: hidden;
  display: flex; align-items: center;
  background: var(--grad-hero);
  padding: calc(var(--nav-h) + 2rem) clamp(1rem, 5vw, 3rem) 4rem;
}

.hero-bg-bubbles {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.bubble {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,.12);
  animation: floatBubble linear infinite;
}
.bubble:nth-child(1)  { width:120px; height:120px; left:5%;  bottom:-140px; animation-duration:12s; animation-delay:0s; }
.bubble:nth-child(2)  { width: 60px; height: 60px; left:12%; bottom:-80px;  animation-duration: 9s; animation-delay:1.5s; }
.bubble:nth-child(3)  { width:200px; height:200px; left:20%; bottom:-220px; animation-duration:15s; animation-delay:3s; }
.bubble:nth-child(4)  { width: 40px; height: 40px; left:30%; bottom:-60px;  animation-duration: 7s; animation-delay:2s; }
.bubble:nth-child(5)  { width: 90px; height: 90px; left:45%; bottom:-110px; animation-duration:11s; animation-delay:0.5s; }
.bubble:nth-child(6)  { width:160px; height:160px; left:55%; bottom:-180px; animation-duration:14s; animation-delay:4s; }
.bubble:nth-child(7)  { width: 50px; height: 50px; left:70%; bottom:-70px;  animation-duration: 8s; animation-delay:1s; }
.bubble:nth-child(8)  { width:110px; height:110px; left:80%; bottom:-130px; animation-duration:13s; animation-delay:2.5s; }
.bubble:nth-child(9)  { width: 30px; height: 30px; left:90%; bottom:-50px;  animation-duration: 6s; animation-delay:3.5s; }
.bubble:nth-child(10) { width: 75px; height: 75px; left:95%; bottom:-95px;  animation-duration:10s; animation-delay:1.8s; }

@keyframes floatBubble {
  0%   { transform: translateY(0) rotate(0deg); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: .7; }
  100% { transform: translateY(-110vh) rotate(720deg); opacity: 0; }
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 680px;
  animation: fadeInUp .8s ease both;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.2);
  color: white; font-weight: 700; font-size: .9rem;
  padding: .45rem 1rem; border-radius: var(--r-pill);
  backdrop-filter: blur(6px);
  margin-bottom: 1.25rem;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700; color: white; line-height: 1.1;
  margin-bottom: 1rem;
  text-shadow: 0 4px 24px rgba(0,0,0,.25);
}
.hero-title .highlight {
  color: var(--ylw);
  text-shadow: 0 0 32px rgba(255,214,0,.6);
}
.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255,255,255,.9); margin-bottom: 2rem;
  font-weight: 500; line-height: 1.7;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-white {
  background: white; color: var(--org);
  padding: .9rem 2rem; font-size: 1rem;
  border-radius: var(--r-pill); font-weight: 800;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
  text-decoration: none; display: inline-flex; align-items: center; gap: .5rem;
  transition: all .3s cubic-bezier(.34,1.56,.64,1);
}
.btn-white:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 16px 40px rgba(0,0,0,.3); }
.btn-outline-white {
  background: transparent; color: white;
  border: 2.5px solid rgba(255,255,255,.7);
  padding: .85rem 1.8rem; font-size: 1rem;
  border-radius: var(--r-pill); font-weight: 700;
  text-decoration: none; display: inline-flex; align-items: center; gap: .5rem;
  transition: all .3s;
}
.btn-outline-white:hover { background: rgba(255,255,255,.2); transform: translateY(-3px); }

.hero-stats {
  display: flex; gap: 2rem; margin-top: 3rem; flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat-num {
  font-family: var(--font-display); font-size: 2rem; font-weight: 700;
  color: var(--ylw); display: block;
  text-shadow: 0 2px 12px rgba(0,0,0,.2);
}
.hero-stat-label {
  font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.8);
  text-transform: uppercase; letter-spacing: .1em;
}

.hero-game-icons {
  position: absolute; right: clamp(1rem, 8vw, 6rem);
  top: 50%; transform: translateY(-50%);
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
  z-index: 2;
}
.hero-game-icon {
  width: 80px; height: 80px;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem;
  border: 2px solid rgba(255,255,255,.3);
  animation: floatIcon 4s ease-in-out infinite;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
}
.hero-game-icon:nth-child(2) { animation-delay: .5s; }
.hero-game-icon:nth-child(3) { animation-delay: 1s; }
.hero-game-icon:nth-child(4) { animation-delay: 1.5s; }
@keyframes floatIcon {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* ════════════════ SECTIONS ════════════════ */
.section {
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 5vw, 3rem);
}
.section-alt { background: white; }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-eyebrow {
  font-size: .82rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .15em; color: var(--org); margin-bottom: .5rem;
  display: flex; align-items: center; justify-content: center; gap: .5rem;
}
.section-eyebrow::before, .section-eyebrow::after {
  content: ''; flex: 1; max-width: 40px; height: 2px; background: var(--org); border-radius: 2px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700; color: var(--dark2);
  margin-bottom: .5rem;
}
.section-title span { color: var(--org); }
.section-desc { color: var(--muted); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* ════════════════ GRIDS ════════════════ */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr));
  gap: 1.25rem;
}
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: 1.5rem;
}

/* ════════════════ CATEGORY FILTER ════════════════ */
.filter-bar {
  display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 2rem;
}
.filter-btn {
  padding: .5rem 1.2rem; border-radius: var(--r-pill);
  border: 2px solid rgba(255,107,26,.25);
  background: white; color: var(--dark2);
  font-weight: 700; font-size: .88rem;
  cursor: pointer; text-decoration: none;
  transition: all .2s cubic-bezier(.34,1.56,.64,1);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--grad-fire); color: white;
  border-color: transparent;
  box-shadow: var(--shad-btn);
  transform: translateY(-2px) scale(1.05);
}

/* ════════════════ ABOUT PAGE ════════════════ */
.about-hero {
  padding: calc(var(--nav-h) + 3rem) clamp(1rem, 5vw, 3rem) 4rem;
  background: var(--grad-hero);
  text-align: center;
}
.about-avatar {
  width: 140px; height: 140px; border-radius: 50%;
  object-fit: cover;
  border: 5px solid rgba(255,255,255,.5);
  box-shadow: 0 8px 40px rgba(0,0,0,.2);
  margin-bottom: 1.5rem;
  background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; margin: 0 auto 1.5rem;
}
.about-hero-name {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 3rem); color: white; font-weight: 700;
}
.about-hero-title { color: var(--ylw); font-size: 1.1rem; font-weight: 600; }
.about-hero-desc { color: rgba(255,255,255,.9); max-width: 560px; margin: 1rem auto 0; }

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr));
  gap: 1rem;
}
.skill-chip {
  background: white; border: 2px solid rgba(255,107,26,.15);
  border-radius: var(--r-md); padding: 1.2rem;
  text-align: center;
  transition: all .2s cubic-bezier(.34,1.56,.64,1);
  box-shadow: var(--shad-card);
}
.skill-chip:hover {
  border-color: var(--org); transform: translateY(-4px) scale(1.03);
  box-shadow: var(--shad-hover);
}
.skill-chip-icon { font-size: 2rem; margin-bottom: .4rem; }
.skill-chip-label { font-weight: 700; font-size: .95rem; color: var(--dark2); }

/* ════════════════ CONTACT PAGE ════════════════ */
.contact-wrap {
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem; align-items: start;
  padding: calc(var(--nav-h) + 3rem) clamp(1rem, 5vw, 3rem) 5rem;
  max-width: 1100px; margin: 0 auto;
}
.contact-info-title {
  font-family: var(--font-display); font-size: 2rem; color: var(--dark2); margin-bottom: .5rem;
}
.contact-info-desc { color: var(--muted); margin-bottom: 2rem; line-height: 1.7; }
.contact-item {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem;
}
.contact-item-icon {
  width: 48px; height: 48px; border-radius: var(--r-md);
  background: var(--grad-fire);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
  box-shadow: var(--shad-btn);
}
.contact-item-text strong { display: block; font-size: .9rem; color: var(--dark2); }
.contact-item-text span  { font-size: .85rem; color: var(--muted); }

.contact-form-card {
  background: white; border-radius: var(--r-xl);
  padding: 2.5rem; box-shadow: var(--shad-card);
  border: 2px solid rgba(255,107,26,.1);
}
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block; font-weight: 700; font-size: .9rem;
  color: var(--dark2); margin-bottom: .4rem;
}
.form-input {
  width: 100%;
  padding: .8rem 1.2rem;
  border: 2px solid rgba(255,107,26,.2);
  border-radius: var(--r-md);
  font-family: var(--font-body); font-size: .95rem; color: var(--dark);
  background: #FFFCF8;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-input:focus {
  border-color: var(--org);
  box-shadow: 0 0 0 3px rgba(255,107,26,.15);
}
textarea.form-input { resize: vertical; min-height: 130px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ════════════════ FOOTER ════════════════ */
.footer {
  background: var(--grad-dark);
  color: rgba(255,255,255,.8);
  padding: 3rem clamp(1rem, 5vw, 3rem) 1.5rem;
}
.footer-top {
  display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 2rem;
  padding-bottom: 2rem; margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand-desc { font-size: .9rem; line-height: 1.7; margin-top: .75rem; opacity: .75; }
.footer-heading {
  font-family: var(--font-display); font-size: 1.05rem; color: var(--ylw);
  margin-bottom: .75rem; font-weight: 600;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: .4rem; }
.footer-links a {
  color: rgba(255,255,255,.7); text-decoration: none; font-size: .9rem;
  transition: color .2s;
}
.footer-links a:hover { color: var(--ylw); }
.footer-social { display: flex; gap: .6rem; margin-top: .75rem; }
.social-btn {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: white; text-decoration: none; font-size: 1.1rem;
  transition: all .2s;
  border: 1px solid rgba(255,255,255,.15);
}
.social-btn:hover { background: var(--org); transform: translateY(-3px); }
.footer-bottom {
  text-align: center; font-size: .82rem; opacity: .55;
}
.footer-bottom span { color: var(--ylw); }

/* ════════════════ VIDEO MODAL ════════════════ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.88);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  opacity: 0; visibility: hidden;
  transition: all .3s;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-box {
  width: 100%; max-width: 900px;
  background: #1A0500; border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.8);
  transform: scale(.9);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.modal-overlay.open .modal-box { transform: scale(1); }
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.modal-title { font-family: var(--font-display); color: white; font-size: 1.1rem; }
.modal-close {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.1); border: none; cursor: pointer;
  color: white; font-size: 1.2rem; display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.modal-close:hover { background: var(--org); }
.modal-video-wrap { position: relative; aspect-ratio: 16/9; }
.modal-video-wrap iframe,
.modal-video-wrap video {
  position: absolute; inset: 0; width: 100%; height: 100%;
}

/* ════════════════ ALERTS / FLASH ════════════════ */
.flash-alert {
  position: fixed; top: calc(var(--nav-h) + 1rem); right: 1.5rem;
  z-index: 2000; min-width: 280px; max-width: 400px;
  padding: 1rem 1.5rem; border-radius: var(--r-lg);
  display: flex; align-items: center; gap: .75rem;
  font-weight: 600; font-size: .95rem;
  animation: slideInAlert .4s cubic-bezier(.34,1.56,.64,1) both;
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
}
.flash-alert.success { background: #D4EDDA; color: #155724; border: 2px solid #C3E6CB; }
.flash-alert.error   { background: #F8D7DA; color: #721C24; border: 2px solid #F5C6CB; }
@keyframes slideInAlert {
  from { transform: translateX(120%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}

/* ════════════════ GAME DETAIL ════════════════ */
.game-detail-hero {
  padding: calc(var(--nav-h) + 2rem) clamp(1rem, 5vw, 3rem) 3rem;
  background: var(--grad-hero);
}
.game-detail-layout {
  display: grid; grid-template-columns: 280px 1fr; gap: 2.5rem; align-items: start;
}
.game-cover {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--r-xl); box-shadow: 0 16px 48px rgba(0,0,0,.35);
  border: 4px solid rgba(255,255,255,.3);
}
.game-detail-title {
  font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 3rem);
  color: white; font-weight: 700; margin-bottom: .5rem;
}
.game-detail-meta { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 1rem; }
.game-detail-desc { color: rgba(255,255,255,.9); font-size: 1.05rem; line-height: 1.8; }
.game-store-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.store-btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .75rem 1.5rem; border-radius: var(--r-md);
  background: rgba(255,255,255,.15); backdrop-filter: blur(8px);
  color: white; text-decoration: none; font-weight: 700; font-size: .9rem;
  border: 1.5px solid rgba(255,255,255,.3);
  transition: all .25s;
}
.store-btn:hover { background: rgba(255,255,255,.3); transform: translateY(-2px); }

/* ════════════════ PAGINATION ════════════════ */
.pagination { display: flex; justify-content: center; gap: .4rem; flex-wrap: wrap; margin-top: 2.5rem; }
.page-btn {
  width: 38px; height: 38px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  background: white; border: 2px solid rgba(255,107,26,.2);
  color: var(--dark2); font-weight: 700; font-size: .9rem;
  text-decoration: none; transition: all .2s;
}
.page-btn:hover, .page-btn.active {
  background: var(--grad-fire); color: white; border-color: transparent;
  box-shadow: var(--shad-btn);
}

/* ════════════════ ANIMATIONS ════════════════ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pulse-glow {
  0%,100% { box-shadow: 0 0 0 0 rgba(255,107,26,.4); }
  50%      { box-shadow: 0 0 0 16px rgba(255,107,26,0); }
}

.anim-fadeup { animation: fadeInUp .6s ease both; }
.anim-fadeup-d1 { animation-delay: .15s; }
.anim-fadeup-d2 { animation-delay: .3s; }
.anim-fadeup-d3 { animation-delay: .45s; }

/* ════════════════ PAGE HEADERS ════════════════ */
.page-hero {
  background: var(--grad-hero);
  padding: calc(var(--nav-h) + 2.5rem) clamp(1rem, 5vw, 3rem) 3rem;
  text-align: center;
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: white; font-weight: 700; margin-bottom: .5rem;
}
.page-hero-sub { color: rgba(255,255,255,.85); font-size: 1.1rem; }

/* ════════════════ EMPTY STATE ════════════════ */
.empty-state { text-align: center; padding: 4rem 2rem; }
.empty-icon { font-size: 4rem; margin-bottom: 1rem; }
.empty-title {
  font-family: var(--font-display); font-size: 1.5rem; color: var(--dark2); margin-bottom: .5rem;
}
.empty-desc { color: var(--muted); }

/* ════════════════ STATS ROW ════════════════ */
.stats-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 1.5rem;
  margin: 2rem 0;
}
.stat-card {
  background: white; border-radius: var(--r-lg);
  padding: 1.5rem 2rem; text-align: center;
  box-shadow: var(--shad-card);
  border: 2px solid rgba(255,107,26,.1);
  transition: all .3s cubic-bezier(.34,1.56,.64,1);
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shad-hover); border-color: var(--org); }
.stat-num {
  font-family: var(--font-display); font-size: 2.5rem; font-weight: 700;
  background: var(--grad-fire); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { font-size: .85rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }

/* ════════════════ RESPONSIVE ════════════════ */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .game-detail-layout { grid-template-columns: 220px 1fr; }
  .hero-game-icons { display: none; }
}

@media (max-width: 768px) {
  .nav-links    { display: none; }
  .hamburger    { display: flex; }
  .footer-top   { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .game-detail-layout { grid-template-columns: 1fr; }
  .game-cover   { max-width: 280px; margin: 0 auto; }
  .form-row     { grid-template-columns: 1fr; }
  .hero-btns    { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .games-grid { grid-template-columns: repeat(2, 1fr); }
}
