/* =============================
   VelvettPlay — Main Stylesheet
   ============================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --red: #c0392b;
  --red-bright: #e74c3c;
  --red-glow: #ff2d2d;
  --crimson: #8b0000;
  --black: #0a0a0a;
  --black-2: #111111;
  --black-3: #1a1a1a;
  --black-4: #222222;
  --gray-dark: #2a2a2a;
  --gray: #444444;
  --gray-light: #888888;
  --white: #ffffff;
  --white-dim: #cccccc;
  --gold: #c9a84c;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --transition: 0.3s ease;
  --border-radius: 12px;
  --shadow-red: 0 0 20px rgba(192, 57, 43, 0.4);
  --shadow-red-lg: 0 0 40px rgba(192, 57, 43, 0.6);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--black);
  color: var(--white-dim);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ========= SCROLLBAR ========= */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black-2); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }

/* ========= TYPOGRAPHY ========= */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--white);
  line-height: 1.2;
}
a { color: var(--red-bright); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--red-glow); }

/* ========= UTILITY ========= */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  text-align: center;
  margin-bottom: 16px;
  position: relative;
}
.section-title span { color: var(--red-bright); }
.section-subtitle {
  text-align: center;
  color: var(--gray-light);
  font-size: 1rem;
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.badge-new {
  display: inline-block;
  background: var(--red-bright);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
  vertical-align: middle;
  margin-left: 8px;
  animation: badgePulse 2s infinite;
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 6px rgba(231,76,60,0.6); }
  50% { box-shadow: 0 0 14px rgba(231,76,60,1); }
}

/* ========= BUTTONS ========= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: var(--shadow-red);
}
.btn-primary:hover {
  background: var(--red-bright);
  box-shadow: var(--shadow-red-lg);
  transform: translateY(-2px);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--red);
}
.btn-outline:hover {
  background: var(--red);
  box-shadow: var(--shadow-red);
  color: #fff;
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--gray-light);
  border: 1px solid var(--gray);
}
.btn-ghost:hover { color: var(--white); border-color: var(--red); }

/* ========= HEADER / NAV ========= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(192,57,43,0.25);
  height: 70px;
  display: flex;
  align-items: center;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--red);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-red);
  animation: logoPulse 3s infinite;
}
@keyframes logoPulse {
  0%, 100% { box-shadow: 0 0 10px rgba(192,57,43,0.5); }
  50% { box-shadow: 0 0 22px rgba(192,57,43,0.9); }
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--white);
}
.logo-text span { color: var(--red-bright); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  padding: 8px 16px;
  border-radius: 6px;
  color: var(--white-dim);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--white);
  background: rgba(192,57,43,0.15);
}

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

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ========= MOBILE MENU ========= */
.mobile-menu {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: var(--black-2);
  border-bottom: 1px solid rgba(192,57,43,0.25);
  z-index: 999;
  padding: 16px 24px;
  flex-direction: column;
  gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 16px;
  border-radius: 8px;
  color: var(--white-dim);
  font-weight: 500;
  transition: var(--transition);
}
.mobile-menu a:hover { background: rgba(192,57,43,0.15); color: var(--white); }

/* ========= HERO ========= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 70px;
  background: radial-gradient(ellipse at 20% 50%, rgba(139,0,0,0.18) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(192,57,43,0.12) 0%, transparent 50%),
              var(--black);
}
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--red-bright);
  border-radius: 50%;
  animation: floatParticle linear infinite;
  opacity: 0;
}
@keyframes floatParticle {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.8; }
  90% { opacity: 0.4; }
  100% { transform: translateY(-20px) scale(1.5); opacity: 0; }
}
.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.hero-text .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(192,57,43,0.15);
  border: 1px solid rgba(192,57,43,0.4);
  color: var(--red-bright);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.1;
}
.hero-title .highlight {
  color: var(--red-bright);
  text-shadow: 0 0 30px rgba(231,76,60,0.5);
}
.hero-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--white-dim);
  margin-bottom: 32px;
  max-width: 480px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats {
  display: flex;
  gap: 32px;
}
.hero-stat-item { text-align: center; }
.hero-stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--red-bright);
}
.hero-stat-label { font-size: 0.8rem; color: var(--gray-light); text-transform: uppercase; letter-spacing: 1px; }

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.hero-cards-container {
  position: relative;
  width: 320px;
  height: 380px;
}
.hero-card {
  position: absolute;
  width: 160px;
  height: 220px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transition: transform 0.3s ease;
}
.hero-card-1 {
  background: linear-gradient(135deg, #1a0505, #3d0c0c);
  border: 1px solid rgba(192,57,43,0.4);
  top: 20px; left: 0;
  transform: rotate(-8deg);
  animation: cardFloat1 4s ease-in-out infinite;
}
.hero-card-2 {
  background: linear-gradient(135deg, #111, #2a2a2a);
  border: 1px solid rgba(255,255,255,0.1);
  top: 80px; left: 80px;
  z-index: 2;
  animation: cardFloat2 4s ease-in-out infinite 0.5s;
}
.hero-card-3 {
  background: linear-gradient(135deg, #1a0505, #3d0c0c);
  border: 1px solid rgba(192,57,43,0.4);
  top: 140px; right: 0;
  transform: rotate(6deg);
  animation: cardFloat3 4s ease-in-out infinite 1s;
}
@keyframes cardFloat1 {
  0%, 100% { transform: rotate(-8deg) translateY(0); }
  50% { transform: rotate(-8deg) translateY(-10px); }
}
@keyframes cardFloat2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes cardFloat3 {
  0%, 100% { transform: rotate(6deg) translateY(0); }
  50% { transform: rotate(6deg) translateY(-8px); }
}
.glow-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 1px solid rgba(192,57,43,0.2);
  animation: ringExpand 3s ease-in-out infinite;
}
@keyframes ringExpand {
  0%, 100% { box-shadow: 0 0 20px rgba(192,57,43,0.2); transform: translate(-50%,-50%) scale(1); }
  50% { box-shadow: 0 0 60px rgba(192,57,43,0.4); transform: translate(-50%,-50%) scale(1.05); }
}

/* ========= DISCLAIMER BAR ========= */
.disclaimer-bar {
  background: rgba(192,57,43,0.1);
  border-top: 1px solid rgba(192,57,43,0.3);
  border-bottom: 1px solid rgba(192,57,43,0.3);
  padding: 12px 24px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--gray-light);
}
.disclaimer-bar strong { color: var(--red-bright); }

/* ========= SECTIONS ========= */
section { padding: 80px 0; }
.section-dark { background: var(--black-2); }
.section-darker { background: var(--black-3); }

/* ========= GAMES GRID ========= */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.game-card {
  background: var(--black-3);
  border: 1px solid var(--gray-dark);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}
.game-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--border-radius);
  border: 1px solid transparent;
  transition: var(--transition);
  pointer-events: none;
}
.game-card:hover::before {
  border-color: rgba(192,57,43,0.6);
  box-shadow: inset 0 0 20px rgba(192,57,43,0.05);
}
.game-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-red-lg);
  border-color: rgba(192,57,43,0.4);
}
.game-thumbnail {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}
.game-thumb-slot { background: linear-gradient(135deg, #1a0000, #2d0808, #1a0505); }
.game-thumb-cards { background: linear-gradient(135deg, #0a0a1a, #0d1a2d, #111); }
.game-thumb-guess { background: linear-gradient(135deg, #0a1a0a, #0d2d0d, #111a11); }
.game-thumb-roulette { background: linear-gradient(135deg, #1a0a00, #2d1a00, #1a1000); }

.game-thumb-glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: var(--transition);
}
.game-card:hover .game-thumb-glow {
  opacity: 1;
  background: radial-gradient(circle, rgba(192,57,43,0.15) 0%, transparent 70%);
}
.game-card-body { padding: 20px; }
.game-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.game-card-desc { font-size: 0.85rem; color: var(--gray-light); margin-bottom: 16px; line-height: 1.5; }
.game-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.game-tag {
  font-size: 0.75rem;
  background: rgba(192,57,43,0.15);
  color: var(--red-bright);
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid rgba(192,57,43,0.3);
}

/* ========= LEADERBOARD ========= */
.leaderboard-wrap {
  background: var(--black-3);
  border: 1px solid var(--gray-dark);
  border-radius: var(--border-radius);
  overflow: hidden;
}
.lb-header {
  display: grid;
  grid-template-columns: 60px 1fr 120px 120px;
  gap: 16px;
  padding: 14px 24px;
  background: rgba(192,57,43,0.12);
  border-bottom: 1px solid rgba(192,57,43,0.2);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-light);
}
.lb-row {
  display: grid;
  grid-template-columns: 60px 1fr 120px 120px;
  gap: 16px;
  padding: 14px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  align-items: center;
  transition: var(--transition);
}
.lb-row:hover { background: rgba(192,57,43,0.05); }
.lb-rank {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}
.lb-rank.gold { color: #ffd700; }
.lb-rank.silver { color: #c0c0c0; }
.lb-rank.bronze { color: #cd7f32; }
.lb-rank.normal { color: var(--gray-light); }
.lb-player {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lb-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}
.lb-name { font-weight: 600; font-size: 0.95rem; color: var(--white); }
.lb-country { font-size: 0.78rem; color: var(--gray-light); }
.lb-score { font-weight: 700; color: var(--red-bright); font-size: 1rem; }
.lb-game { font-size: 0.82rem; color: var(--gray-light); }

/* ========= REGISTER FORM ========= */
.register-section {
  background: radial-gradient(ellipse at 50% 0%, rgba(139,0,0,0.15) 0%, transparent 60%), var(--black-2);
}
.register-wrap {
  max-width: 500px;
  margin: 0 auto;
  background: var(--black-3);
  border: 1px solid rgba(192,57,43,0.3);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow-red-lg);
  position: relative;
  overflow: hidden;
}
.register-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--red), var(--red-bright), var(--red), transparent);
  animation: shimmerBar 3s linear infinite;
}
@keyframes shimmerBar {
  0% { opacity: 0.5; }
  50% { opacity: 1; }
  100% { opacity: 0.5; }
}
.form-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 6px;
}
.form-subtitle { text-align: center; color: var(--gray-light); font-size: 0.9rem; margin-bottom: 32px; }
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white-dim);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-control {
  width: 100%;
  background: var(--black-4);
  border: 1px solid var(--gray-dark);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--white);
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: var(--transition);
  outline: none;
  appearance: none;
}
.form-control:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(192,57,43,0.15);
}
.form-control::placeholder { color: var(--gray); }
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}
.form-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--red);
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
}
.form-check label { font-size: 0.82rem; color: var(--gray-light); line-height: 1.5; cursor: pointer; }
.form-check label a { color: var(--red-bright); }
.form-btn { width: 100%; padding: 14px; font-size: 1rem; margin-top: 8px; justify-content: center; }
.form-divider {
  text-align: center;
  color: var(--gray);
  font-size: 0.82rem;
  margin: 16px 0;
  position: relative;
}
.form-divider::before, .form-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: var(--gray-dark);
}
.form-divider::before { left: 0; }
.form-divider::after { right: 0; }
.form-success {
  display: none;
  text-align: center;
  padding: 24px;
}
.form-success-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}
.form-success h3 { font-size: 1.4rem; margin-bottom: 8px; }
.form-success p { color: var(--gray-light); }

/* ========= RESPONSIBLE GAMING BANNER ========= */
.rg-banner {
  background: rgba(192,57,43,0.08);
  border: 1px solid rgba(192,57,43,0.25);
  border-radius: var(--border-radius);
  padding: 24px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 40px 0;
}
.rg-banner-icon { font-size: 2rem; flex-shrink: 0; }
.rg-banner-text h4 { color: var(--white); margin-bottom: 6px; font-size: 1rem; }
.rg-banner-text p { font-size: 0.85rem; color: var(--gray-light); line-height: 1.5; }
.rg-banner-text a { color: var(--red-bright); font-weight: 600; }

/* ========= REGULATORS ========= */
.regulators-section { padding: 40px 0; background: var(--black-2); }
.regulators-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
}
.regulator-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: var(--black-3);
  border: 1px solid var(--gray-dark);
  border-radius: 8px;
  transition: var(--transition);
  text-decoration: none;
  color: var(--white-dim);
}
.regulator-item:hover {
  border-color: rgba(192,57,43,0.4);
  color: var(--white);
  box-shadow: var(--shadow-red);
  transform: translateY(-2px);
}
.reg-logo {
  width: 48px;
  height: 32px;
  object-fit: contain;
  filter: brightness(0.9);
}
.reg-info { display: flex; flex-direction: column; }
.reg-name { font-size: 0.85rem; font-weight: 600; color: var(--white); }
.reg-country { font-size: 0.75rem; color: var(--gray-light); }

/* ========= FOOTER ========= */
.site-footer {
  background: var(--black-2);
  border-top: 1px solid rgba(192,57,43,0.2);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand-desc { font-size: 0.88rem; color: var(--gray-light); line-height: 1.6; margin: 16px 0 20px; }
.footer-col-title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 0.88rem; color: var(--gray-light); transition: var(--transition); }
.footer-links a:hover { color: var(--red-bright); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-text { font-size: 0.8rem; color: var(--gray); }
.footer-age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--red);
  color: var(--red-bright);
  font-size: 0.7rem;
  font-weight: 700;
}
.footer-disclaimer {
  font-size: 0.78rem;
  color: var(--gray);
  line-height: 1.6;
  margin-top: 16px;
  padding: 16px;
  background: rgba(255,255,255,0.02);
  border-radius: 8px;
  border-left: 3px solid rgba(192,57,43,0.4);
}

/* ========= 18+ POPUP ========= */
.age-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.age-modal {
  background: var(--black-2);
  border: 1px solid rgba(192,57,43,0.4);
  border-radius: 20px;
  padding: 48px 40px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-red-lg);
  animation: ageModalIn 0.4s ease;
}
@keyframes ageModalIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.age-badge {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--red-bright);
  margin: 0 auto 24px;
  animation: badgeSpin 0.6s ease 0.3s both;
  box-shadow: var(--shadow-red);
}
@keyframes badgeSpin {
  from { transform: scale(0) rotate(-90deg); }
  to { transform: scale(1) rotate(0deg); }
}
.age-title { font-size: 1.6rem; margin-bottom: 12px; }
.age-desc { font-size: 0.9rem; color: var(--gray-light); line-height: 1.6; margin-bottom: 32px; }
.age-buttons { display: flex; gap: 12px; justify-content: center; }
.age-no {
  padding: 13px 24px;
  background: var(--black-3);
  border: 1px solid var(--gray);
  border-radius: 8px;
  color: var(--gray-light);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
  font-weight: 600;
}
.age-no:hover { border-color: var(--red); color: var(--red-bright); }

/* ========= FEATURES GRID ========= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--black-3);
  border: 1px solid var(--gray-dark);
  border-radius: var(--border-radius);
  padding: 28px 24px;
  text-align: center;
  transition: var(--transition);
}
.feature-card:hover {
  border-color: rgba(192,57,43,0.4);
  box-shadow: var(--shadow-red);
  transform: translateY(-4px);
}
.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}
.feature-title { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.feature-desc { font-size: 0.85rem; color: var(--gray-light); line-height: 1.5; }

/* ========= INNER PAGE HERO ========= */
.inner-hero {
  padding: 120px 0 60px;
  background: radial-gradient(ellipse at 50% 0%, rgba(139,0,0,0.2) 0%, transparent 60%), var(--black);
  text-align: center;
}
.inner-hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 12px; }
.inner-hero p { color: var(--gray-light); font-size: 1rem; max-width: 600px; margin: 0 auto; }
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--gray-light);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--red-bright); }

/* ========= PROSE ========= */
.prose {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  color: var(--white-dim);
}
.prose h2 {
  font-size: 1.5rem;
  margin: 40px 0 16px;
  color: var(--white);
}
.prose h3 { font-size: 1.15rem; margin: 28px 0 12px; color: var(--white); }
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { padding-left: 24px; margin-bottom: 16px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--red-bright); }
.prose strong { color: var(--white); }
.prose .highlight-box {
  background: rgba(192,57,43,0.08);
  border-left: 3px solid var(--red);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin: 24px 0;
}

/* ========= CONTACT PAGE ========= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}
.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(192,57,43,0.15);
  border: 1px solid rgba(192,57,43,0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info-label { font-size: 0.8rem; font-weight: 600; color: var(--gray-light); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.contact-info-value { color: var(--white); font-size: 0.95rem; }
.contact-form-wrap {
  background: var(--black-3);
  border: 1px solid var(--gray-dark);
  border-radius: 16px;
  padding: 36px;
}

/* ========= ABOUT PAGE ========= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}
.team-card {
  background: var(--black-3);
  border: 1px solid var(--gray-dark);
  border-radius: var(--border-radius);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
}
.team-card:hover { border-color: rgba(192,57,43,0.4); transform: translateY(-4px); }
.team-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 16px;
}
.team-name { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.team-role { font-size: 0.82rem; color: var(--red-bright); }

/* ========= VALUES ========= */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.value-card {
  background: var(--black-3);
  border: 1px solid var(--gray-dark);
  border-radius: var(--border-radius);
  padding: 24px;
  transition: var(--transition);
}
.value-card:hover { border-color: rgba(192,57,43,0.4); }
.value-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: rgba(192,57,43,0.3);
  margin-bottom: 8px;
}
.value-title { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.value-desc { font-size: 0.85rem; color: var(--gray-light); line-height: 1.5; }

/* ========= GAME PAGE ========= */
.game-area {
  min-height: calc(100vh - 70px);
  padding: 100px 0 60px;
  background: radial-gradient(ellipse at 50% 0%, rgba(139,0,0,0.15) 0%, transparent 50%), var(--black);
}
.game-frame {
  background: var(--black-2);
  border: 1px solid rgba(192,57,43,0.3);
  border-radius: 16px;
  padding: 32px;
  max-width: 680px;
  margin: 0 auto;
  box-shadow: var(--shadow-red-lg);
}
.game-header {
  text-align: center;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-dark);
}
.game-title { font-size: 1.8rem; margin-bottom: 8px; }
.game-coins {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(192,57,43,0.1);
  border: 1px solid rgba(192,57,43,0.3);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--red-bright);
}
.game-coins-label { font-size: 0.8rem; color: var(--gray-light); margin-left: 4px; }

/* ---- SLOT GAME ---- */
.slot-reels {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 24px 0;
}
.reel {
  width: 100px;
  height: 120px;
  background: var(--black-3);
  border: 2px solid var(--gray-dark);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  overflow: hidden;
  position: relative;
  transition: var(--transition);
}
.reel.spinning {
  animation: reelSpin 0.15s linear infinite;
  border-color: var(--red);
  box-shadow: 0 0 16px rgba(192,57,43,0.4);
}
@keyframes reelSpin {
  0% { transform: translateY(0); }
  25% { transform: translateY(-4px); }
  75% { transform: translateY(4px); }
  100% { transform: translateY(0); }
}
.reel.win {
  border-color: var(--red-bright);
  box-shadow: 0 0 24px rgba(231,76,60,0.7);
  animation: reelWin 0.3s ease 3;
}
@keyframes reelWin {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
.slot-lines {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 0.82rem;
  color: var(--gray-light);
}
.slot-result {
  text-align: center;
  min-height: 40px;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--gray-light);
}
.slot-result.win-result { color: var(--red-bright); font-size: 1.2rem; }
.slot-result.lose-result { color: var(--gray-light); }
.slot-controls { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.bet-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  justify-content: center;
}
.bet-btn {
  width: 32px; height: 32px;
  border: 1px solid var(--gray);
  background: var(--black-3);
  color: var(--white);
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition);
}
.bet-btn:hover { border-color: var(--red); color: var(--red-bright); }
.bet-display {
  background: var(--black-4);
  border: 1px solid var(--gray-dark);
  border-radius: 6px;
  padding: 6px 20px;
  color: var(--white);
  font-weight: 700;
  min-width: 80px;
  text-align: center;
}

/* ---- BLACKJACK ---- */
.bj-table {
  background: radial-gradient(ellipse at 50% 50%, #0d2a1a, #071509);
  border-radius: 16px;
  padding: 24px;
  border: 2px solid rgba(192,57,43,0.2);
  margin-bottom: 20px;
}
.bj-dealer-area, .bj-player-area {
  margin-bottom: 16px;
}
.bj-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}
.bj-cards {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  min-height: 80px;
  align-items: center;
}
.card {
  width: 56px;
  height: 80px;
  background: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  flex-shrink: 0;
  animation: cardDeal 0.3s ease both;
  flex-direction: column;
  line-height: 1.1;
}
@keyframes cardDeal {
  from { transform: translateY(-20px) scale(0.8); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.card.red-card { color: #c0392b; }
.card.black-card { color: #111; }
.card.back-card {
  background: linear-gradient(135deg, #1a0505, #8b0000);
  border: 2px solid rgba(192,57,43,0.5);
}
.card .card-val { font-size: 1.1rem; }
.card .card-suit { font-size: 0.9rem; }
.bj-score {
  font-size: 0.85rem;
  color: var(--gray-light);
  margin-top: 6px;
}
.bj-score span { color: var(--white); font-weight: 700; }
.bj-status {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  min-height: 36px;
  padding: 8px;
  border-radius: 8px;
  margin-bottom: 16px;
}
.bj-status.win { background: rgba(192,57,43,0.15); color: var(--red-bright); }
.bj-status.lose { background: rgba(0,0,0,0.3); color: var(--gray-light); }
.bj-status.push { background: rgba(255,255,255,0.05); color: var(--white-dim); }
.bj-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 12px 0;
}
.bj-controls { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---- GUESS GAME ---- */
.guess-game { text-align: center; }
.guess-progress {
  width: 100%;
  height: 8px;
  background: var(--black-4);
  border-radius: 4px;
  margin-bottom: 24px;
  overflow: hidden;
}
.guess-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--red-bright));
  border-radius: 4px;
  transition: width 0.5s ease;
}
.guess-display {
  font-size: 4rem;
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--red-bright);
  text-shadow: 0 0 30px rgba(231,76,60,0.5);
  margin: 20px 0;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.guess-hint {
  font-size: 0.9rem;
  color: var(--gray-light);
  margin-bottom: 20px;
  min-height: 24px;
}
.guess-hint.correct { color: var(--red-bright); }
.guess-hint.wrong { color: #888; }
.guess-input-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}
.guess-input {
  background: var(--black-4);
  border: 2px solid var(--gray-dark);
  border-radius: 8px;
  padding: 12px 20px;
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  width: 140px;
  text-align: center;
  outline: none;
  font-family: var(--font-body);
  transition: var(--transition);
}
.guess-input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(192,57,43,0.15); }
.guess-attempts {
  font-size: 0.82rem;
  color: var(--gray-light);
  margin-bottom: 16px;
}
.guess-attempts span { color: var(--white); font-weight: 700; }
.guess-history {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
  min-height: 36px;
}
.guess-history-item {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--black-4);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.85rem;
  font-weight: 600;
}
.guess-history-item.high { border-left: 3px solid var(--red); color: var(--red-bright); }
.guess-history-item.low { border-left: 3px solid #555; color: var(--gray-light); }

/* ========= RESPONSIVE ========= */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-content { gap: 40px; }
}
@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .burger { display: flex; }
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { display: none; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .contact-grid { grid-template-columns: 1fr; }
  .lb-header, .lb-row { grid-template-columns: 50px 1fr 100px; }
  .lb-header > *:last-child, .lb-row > *:last-child { display: none; }
  .rg-banner { flex-direction: column; text-align: center; }
  .age-buttons { flex-direction: column; }
  section { padding: 60px 0; }
}
@media (max-width: 480px) {
  .register-wrap { padding: 28px 20px; }
  .contact-form-wrap { padding: 24px 20px; }
  .slot-reels { gap: 6px; }
  .reel { width: 80px; height: 100px; font-size: 2.8rem; }
}
