/* =========================================
   QuestOperator.info — Main Stylesheet
   ========================================= */

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

:root {
  --primary: #6c3fc5;
  --primary-dark: #4e2d9a;
  --accent: #f5a623;
  --accent2: #e74c3c;
  --bg-dark: #0f0e17;
  --bg-card: #1a1a2e;
  --bg-card2: #16213e;
  --text: #fffffe;
  --text-muted: #a7a9be;
  --border: rgba(255,255,255,0.1);
  --radius: 12px;
  --shadow: 0 8px 32px rgba(0,0,0,0.4);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: #ffd166; }

img { max-width: 100%; height: auto; display: block; }

/* ---- COOKIE BANNER ---- */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: rgba(22,33,62,0.97);
  border-top: 2px solid var(--primary);
  padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  z-index: 9000;
  backdrop-filter: blur(8px);
}
#cookie-banner p { font-size: .9rem; color: var(--text-muted); flex: 1; min-width: 200px; }
#cookie-banner p a { color: var(--accent); }
.cookie-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-cookie-accept {
  background: var(--primary); color: #fff; border: none;
  padding: 9px 22px; border-radius: 8px; cursor: pointer; font-weight: 600;
  transition: background .2s;
}
.btn-cookie-accept:hover { background: var(--primary-dark); }
.btn-cookie-decline {
  background: transparent; color: var(--text-muted); border: 1px solid var(--border);
  padding: 9px 22px; border-radius: 8px; cursor: pointer; font-weight: 600;
  transition: all .2s;
}
.btn-cookie-decline:hover { border-color: var(--text-muted); color: var(--text); }

/* ---- AGE GATE ---- */
#age-gate {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.92);
  display: flex; align-items: center; justify-content: center;
  z-index: 99999;
  backdrop-filter: blur(6px);
}
.age-gate-box {
  background: var(--bg-card);
  border: 2px solid var(--primary);
  border-radius: 20px;
  padding: 48px 40px;
  max-width: 480px; width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(108,63,197,0.4);
}
.age-gate-box .age-icon { font-size: 4rem; margin-bottom: 16px; }
.age-gate-box h2 { font-size: 2rem; margin-bottom: 8px; color: var(--accent); }
.age-gate-box p { color: var(--text-muted); margin-bottom: 28px; font-size: .95rem; }
.age-gate-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-age-yes {
  background: var(--primary); color: #fff; border: none;
  padding: 14px 36px; border-radius: 10px; cursor: pointer;
  font-size: 1rem; font-weight: 700; transition: background .2s;
}
.btn-age-yes:hover { background: var(--primary-dark); }
.btn-age-no {
  background: transparent; color: var(--text-muted);
  border: 2px solid var(--border);
  padding: 14px 36px; border-radius: 10px; cursor: pointer;
  font-size: 1rem; font-weight: 700; transition: all .2s;
}
.btn-age-no:hover { border-color: var(--accent2); color: var(--accent2); }
.age-gate-box .disclaimer {
  margin-top: 20px; font-size: .78rem; color: var(--text-muted);
}

/* ---- HEADER / NAV ---- */
header {
  position: sticky; top: 0; z-index: 500;
  background: rgba(15,14,23,0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 68px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.4rem; font-weight: 800; color: var(--text);
  text-decoration: none;
}
.logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
nav ul {
  list-style: none;
  display: flex; gap: 4px; align-items: center;
}
nav ul li a {
  color: var(--text-muted); padding: 8px 14px;
  border-radius: 8px; font-size: .9rem; font-weight: 500;
  transition: all .2s;
}
nav ul li a:hover, nav ul li a.active {
  color: var(--text); background: rgba(108,63,197,0.2);
}
.nav-cta {
  background: var(--primary) !important;
  color: #fff !important; padding: 8px 20px !important;
}
.nav-cta:hover { background: var(--primary-dark) !important; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px;
}
.hamburger span {
  width: 26px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all .3s;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('../img/hero.jpg') center/cover no-repeat;
  filter: brightness(.35);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(108,63,197,.6) 0%, rgba(15,14,23,.8) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; padding: 60px 24px;
  width: 100%;
}
.hero-badge {
  display: inline-block;
  background: rgba(245,166,35,.15);
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 6px 16px; border-radius: 20px;
  font-size: .85rem; font-weight: 600;
  margin-bottom: 20px;
}
.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900; line-height: 1.15;
  margin-bottom: 20px;
}
.hero-content h1 span { color: var(--accent); }
.hero-content p {
  font-size: 1.15rem; color: var(--text-muted);
  max-width: 560px; margin-bottom: 36px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  background: var(--primary); color: #fff;
  padding: 14px 32px; border-radius: 10px;
  font-size: 1rem; font-weight: 700;
  border: none; cursor: pointer; transition: all .2s;
  display: inline-block;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); color: #fff; }
.btn-outline {
  background: transparent; color: var(--text);
  padding: 14px 32px; border-radius: 10px;
  font-size: 1rem; font-weight: 700;
  border: 2px solid var(--border); cursor: pointer; transition: all .2s;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--primary); color: var(--accent); }

/* ---- SECTION COMMON ---- */
section { padding: 80px 24px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label {
  font-size: .8rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800; margin-bottom: 16px;
}
.section-sub {
  color: var(--text-muted); font-size: 1.05rem;
  max-width: 600px; margin-bottom: 48px;
}

/* ---- GAMES SECTION ---- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.game-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.game-card-img {
  width: 100%; height: 200px; object-fit: cover;
}
.game-card-body { padding: 24px; }
.game-card-body h3 { font-size: 1.2rem; margin-bottom: 8px; }
.game-card-body p { color: var(--text-muted); font-size: .9rem; margin-bottom: 16px; }
.btn-play {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; border: none; padding: 10px 24px;
  border-radius: 8px; cursor: pointer; font-weight: 700;
  font-size: .9rem; transition: opacity .2s; display: inline-block;
}
.btn-play:hover { opacity: .85; color: #fff; }

/* ---- FEATURES ---- */
.features-bg { background: var(--bg-card2); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.feature-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: border-color .2s;
}
.feature-item:hover { border-color: var(--primary); }
.feature-icon { font-size: 2.5rem; margin-bottom: 14px; }
.feature-item h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature-item p { color: var(--text-muted); font-size: .88rem; }

/* ---- ABOUT ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.about-img { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.about-img img { width: 100%; height: 400px; object-fit: cover; }
.about-text .section-sub { margin-bottom: 24px; }
.about-stats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin-top: 28px;
}
.stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px; padding: 16px;
  text-align: center;
}
.stat-box .num { font-size: 1.8rem; font-weight: 800; color: var(--accent); }
.stat-box .lbl { font-size: .8rem; color: var(--text-muted); margin-top: 4px; }

/* ---- LOCATIONS ---- */
.locations-bg { background: var(--bg-card2); }
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.location-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color .2s;
}
.location-card:hover { border-color: var(--primary); }
.location-card h3 { font-size: 1.05rem; margin-bottom: 6px; color: var(--accent); }
.location-card address { font-style: normal; color: var(--text-muted); font-size: .9rem; line-height: 1.7; }

/* ---- NEWSLETTER ---- */
.newsletter-section {
  background: linear-gradient(135deg, var(--primary-dark), #0f0e17);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.newsletter-inner {
  max-width: 600px; margin: 0 auto; text-align: center;
}
.newsletter-inner h2 { font-size: 2rem; margin-bottom: 12px; }
.newsletter-inner p { color: var(--text-muted); margin-bottom: 28px; }
.newsletter-form {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
}
.newsletter-form input[type="email"] {
  flex: 1; min-width: 220px;
  background: rgba(255,255,255,.07);
  border: 1px solid var(--border);
  color: var(--text); padding: 13px 18px;
  border-radius: 10px; font-size: 1rem;
  outline: none; transition: border-color .2s;
}
.newsletter-form input[type="email"]:focus { border-color: var(--primary); }
.newsletter-form button {
  background: var(--accent); color: #0f0e17;
  border: none; padding: 13px 28px;
  border-radius: 10px; font-weight: 700; font-size: 1rem;
  cursor: pointer; transition: background .2s;
}
.newsletter-form button:hover { background: #ffd166; }
#newsletter-success {
  display: none; color: #2ecc71;
  margin-top: 14px; font-weight: 600;
}

/* ---- FOOTER ---- */
footer {
  background: #080810;
  border-top: 1px solid var(--border);
  padding: 60px 24px 30px;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 40px;
}
.footer-brand p { color: var(--text-muted); font-size: .9rem; margin: 12px 0 20px; max-width: 280px; }
.footer-col h4 { font-size: .9rem; font-weight: 700; margin-bottom: 16px; color: var(--text); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--text-muted); font-size: .88rem; transition: color .2s; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { color: var(--text-muted); font-size: .82rem; }
.footer-bottom .footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom .footer-links a { color: var(--text-muted); font-size: .82rem; }
.footer-bottom .footer-links a:hover { color: var(--accent); }
.responsible-gaming {
  background: rgba(108,63,197,.1);
  border: 1px solid rgba(108,63,197,.3);
  border-radius: 10px; padding: 16px 20px;
  margin-top: 20px;
  font-size: .82rem; color: var(--text-muted);
}
.responsible-gaming strong { color: var(--text); }

/* ---- GAME MODAL ---- */
.game-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.88);
  z-index: 8000;
  display: none; align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
}
.game-modal-overlay.open { display: flex; }
.game-modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  max-width: 680px; width: 95%;
  position: relative;
  max-height: 90vh; overflow-y: auto;
}
.game-modal-close {
  position: absolute; top: 16px; right: 16px;
  background: rgba(255,255,255,.08); border: none;
  color: var(--text); width: 36px; height: 36px;
  border-radius: 50%; cursor: pointer; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.game-modal-close:hover { background: rgba(255,255,255,.15); }
.game-modal h2 { font-size: 1.5rem; margin-bottom: 6px; }
.game-modal .game-desc { color: var(--text-muted); font-size: .9rem; margin-bottom: 24px; }

/* ---- WHEEL GAME ---- */
.wheel-container {
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}
#wheel-canvas {
  border-radius: 50%;
  box-shadow: 0 0 40px rgba(108,63,197,.5);
  max-width: 320px; width: 100%;
  height: auto;
}
.wheel-pointer {
  font-size: 2.5rem; margin-bottom: -10px; color: var(--accent);
}
#spin-btn {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; border: none; padding: 14px 40px;
  border-radius: 12px; font-size: 1.1rem; font-weight: 800;
  cursor: pointer; transition: opacity .2s;
}
#spin-btn:hover { opacity: .85; }
#spin-btn:disabled { opacity: .5; cursor: not-allowed; }
#wheel-result {
  font-size: 1.1rem; font-weight: 700; min-height: 28px;
  color: var(--accent); text-align: center;
}
.wheel-tokens {
  font-size: .9rem; color: var(--text-muted);
}
.wheel-tokens span { color: var(--accent); font-weight: 700; }

/* ---- SLOT GAME ---- */
.slots-container { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.slots-machine {
  background: linear-gradient(180deg, #2d1b69, #1a1a2e);
  border: 3px solid var(--primary);
  border-radius: 16px; padding: 24px;
  box-shadow: 0 0 40px rgba(108,63,197,.4);
  width: 100%; max-width: 400px;
}
.slots-reels {
  display: flex; gap: 8px; justify-content: center;
  margin-bottom: 20px;
}
.reel {
  background: #0f0e17;
  border: 2px solid rgba(255,255,255,.15);
  border-radius: 10px;
  width: 90px; height: 110px;
  overflow: hidden;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.reel-symbol {
  font-size: 3rem; line-height: 1;
  transition: transform .1s;
  user-select: none;
}
.slots-info {
  display: flex; justify-content: space-between;
  margin-bottom: 16px; font-size: .85rem; color: var(--text-muted);
}
.slots-info span { color: var(--text); font-weight: 700; }
#slots-spin-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  color: #fff; border: none; padding: 14px;
  border-radius: 10px; font-size: 1.1rem; font-weight: 800;
  cursor: pointer; transition: opacity .2s;
}
#slots-spin-btn:hover { opacity: .85; }
#slots-spin-btn:disabled { opacity: .5; cursor: not-allowed; }
#slots-result {
  font-size: 1rem; font-weight: 700; text-align: center;
  min-height: 24px; color: var(--accent);
}
.slots-paytable {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 10px; padding: 14px 16px;
  width: 100%; max-width: 400px;
  font-size: .82rem; color: var(--text-muted);
}
.slots-paytable h4 { color: var(--text); margin-bottom: 8px; font-size: .9rem; }
.slots-paytable table { width: 100%; border-collapse: collapse; }
.slots-paytable td { padding: 3px 6px; }
.slots-paytable td:last-child { text-align: right; color: var(--accent); font-weight: 600; }

/* ---- COIN FLIP GAME ---- */
.coin-container { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.coin-wrap { perspective: 600px; }
.coin {
  width: 120px; height: 120px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 1.2s ease;
  cursor: pointer;
}
.coin-face {
  position: absolute; inset: 0;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
  backface-visibility: hidden;
}
.coin-heads {
  background: radial-gradient(circle at 35% 35%, #ffd700, #b8860b);
  box-shadow: 0 0 20px rgba(255,215,0,.4);
}
.coin-tails {
  background: radial-gradient(circle at 35% 35%, #c0c0c0, #696969);
  box-shadow: 0 0 20px rgba(192,192,192,.4);
  transform: rotateY(180deg);
}
.coin.flipping { animation: coinFlip 1.2s ease forwards; }
@keyframes coinFlip {
  0% { transform: rotateY(0); }
  100% { transform: rotateY(var(--flip-end)); }
}
.coin-btns { display: flex; gap: 14px; }
.btn-coin {
  background: var(--bg-card2); border: 2px solid var(--border);
  color: var(--text); padding: 12px 28px;
  border-radius: 10px; font-weight: 700; cursor: pointer;
  transition: all .2s; font-size: .95rem;
}
.btn-coin:hover { border-color: var(--primary); color: var(--accent); }
.btn-coin.selected { border-color: var(--primary); background: rgba(108,63,197,.2); }
#coin-result { font-size: 1.1rem; font-weight: 700; color: var(--accent); min-height: 28px; text-align: center; }
.coin-score { font-size: .9rem; color: var(--text-muted); }
.coin-score span { color: var(--accent); font-weight: 700; }

/* ---- CONTACT PAGE ---- */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; align-items: start;
}
.contact-info h2 { font-size: 1.8rem; margin-bottom: 16px; }
.contact-info p { color: var(--text-muted); margin-bottom: 24px; }
.contact-detail {
  display: flex; align-items: flex-start; gap: 14px;
  margin-bottom: 20px;
}
.contact-detail .icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(108,63,197,.15);
  border: 1px solid rgba(108,63,197,.3);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.contact-detail div h4 { font-size: .9rem; margin-bottom: 4px; }
.contact-detail div p { color: var(--text-muted); font-size: .88rem; margin: 0; }

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 36px;
}
.contact-form-card h3 { font-size: 1.3rem; margin-bottom: 24px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: .85rem; font-weight: 600;
  margin-bottom: 7px; color: var(--text-muted);
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  color: var(--text); padding: 12px 16px;
  border-radius: 8px; font-size: .95rem;
  outline: none; transition: border-color .2s;
  font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--primary);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--bg-card); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.btn-submit {
  width: 100%;
  background: var(--primary); color: #fff;
  border: none; padding: 14px;
  border-radius: 10px; font-size: 1rem; font-weight: 700;
  cursor: pointer; transition: background .2s;
}
.btn-submit:hover { background: var(--primary-dark); }
#form-success {
  display: none;
  background: rgba(46,204,113,.1);
  border: 1px solid rgba(46,204,113,.3);
  border-radius: 10px; padding: 16px;
  color: #2ecc71; text-align: center;
  margin-top: 16px; font-weight: 600;
}

/* ---- POLICY PAGES ---- */
.policy-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--bg-dark));
  padding: 80px 24px 60px;
  text-align: center;
}
.policy-hero h1 { font-size: 2.5rem; margin-bottom: 12px; }
.policy-hero p { color: var(--text-muted); }
.policy-content {
  max-width: 860px; margin: 0 auto; padding: 60px 24px;
}
.policy-content h2 {
  font-size: 1.4rem; margin: 36px 0 12px;
  color: var(--accent); padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.policy-content h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.policy-content p { color: var(--text-muted); margin-bottom: 14px; line-height: 1.8; }
.policy-content ul, .policy-content ol {
  color: var(--text-muted); padding-left: 24px; margin-bottom: 14px;
}
.policy-content li { margin-bottom: 8px; line-height: 1.7; }
.policy-content a { color: var(--accent); }
.policy-content .last-updated {
  background: rgba(108,63,197,.1);
  border: 1px solid rgba(108,63,197,.2);
  border-radius: 8px; padding: 12px 16px;
  font-size: .85rem; color: var(--text-muted);
  margin-bottom: 32px;
}

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, rgba(108,63,197,.3), var(--bg-dark));
  border-bottom: 1px solid var(--border);
  padding: 60px 24px 50px;
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; }
.page-hero h1 { font-size: 2.4rem; margin-bottom: 10px; }
.page-hero p { color: var(--text-muted); font-size: 1.05rem; }

/* ---- GAMES PAGE ---- */
.games-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.game-page-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.game-page-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.game-page-card-img { width: 100%; height: 180px; object-fit: cover; }
.game-page-card-body { padding: 24px; }
.game-page-card-body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.game-page-card-body p { color: var(--text-muted); font-size: .88rem; margin-bottom: 16px; }
.game-tag {
  display: inline-block;
  background: rgba(108,63,197,.2);
  border: 1px solid rgba(108,63,197,.3);
  color: var(--primary);
  padding: 3px 10px; border-radius: 20px;
  font-size: .75rem; font-weight: 600;
  margin-bottom: 12px;
}

/* ---- ABOUT PAGE ---- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px; text-align: center;
}
.team-avatar {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%; margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
}
.team-card h3 { font-size: 1rem; margin-bottom: 4px; }
.team-card p { color: var(--text-muted); font-size: .85rem; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  nav ul { display: none; }
  .hamburger { display: flex; }
  nav.open ul {
    display: flex; flex-direction: column;
    position: absolute; top: 68px; left: 0; right: 0;
    background: rgba(15,14,23,.98);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 4px;
  }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 2rem; }
}
@media (max-width: 480px) {
  .age-gate-box { padding: 32px 24px; }
  .game-modal { padding: 24px 16px; }
}
