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

:root {
  --neon-pink: #ff2d7b;
  --neon-blue: #00d4ff;
  --neon-purple: #b347d9;
  --neon-yellow: #f5e642;
  --bg-dark: #0a0a12;
  --bg-panel: #12121f;
  --bg-card: #1a1a2e;
  --text-primary: #ffffff;
  --text-secondary: #a0a0c0;
  --glow-pink: 0 0 10px #ff2d7b, 0 0 30px #ff2d7b44;
  --glow-blue: 0 0 10px #00d4ff, 0 0 30px #00d4ff44;
  --glow-purple: 0 0 10px #b347d9, 0 0 30px #b347d944;
  --glow-yellow: 0 0 10px #f5e642, 0 0 30px #f5e64244;
  --radius: 12px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: var(--neon-blue);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--neon-pink);
}

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

/* === HEADER === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 18, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 212, 255, 0.15);
  padding: 0 2rem;
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition), text-shadow var(--transition);
}

.nav-links a:hover {
  color: var(--neon-blue);
  text-shadow: var(--glow-blue);
}

.badge-18 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 2px solid var(--neon-pink);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--neon-pink);
  text-shadow: var(--glow-pink);
  box-shadow: var(--glow-pink);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--neon-blue);
  margin: 5px 0;
  transition: var(--transition);
  box-shadow: var(--glow-blue);
}

/* === HERO === */
.hero {
  padding: 160px 2rem 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.05) 0%, transparent 60%),
              radial-gradient(ellipse at 30% 80%, rgba(255, 45, 123, 0.04) 0%, transparent 50%);
  animation: pulseGlow 8s ease-in-out infinite;
}

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

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple), var(--neon-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btn {
  display: inline-block;
  padding: 14px 40px;
  background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 0 20px rgba(255, 45, 123, 0.4), 0 0 60px rgba(255, 45, 123, 0.1);
  transition: transform var(--transition), box-shadow var(--transition);
}

.cta-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 30px rgba(255, 45, 123, 0.6), 0 0 80px rgba(255, 45, 123, 0.2);
  color: #fff;
}

/* === SECTIONS === */
.section {
  padding: 80px 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  font-size: 1.05rem;
}

/* === CARD ARENA === */
.card-arena {
  background: var(--bg-panel);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
}

.card-arena::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.03), rgba(179, 71, 217, 0.03));
  pointer-events: none;
}

.arena-header {
  text-align: center;
  margin-bottom: 2rem;
}

.arena-header h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--neon-blue);
  text-shadow: var(--glow-blue);
}

.cards-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.game-card {
  width: 160px;
  height: 224px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 700;
  position: relative;
  transition: transform 0.5s ease, box-shadow var(--transition);
  perspective: 1000px;
}

.game-card.face-up {
  background: linear-gradient(135deg, #1a1a2e, #2a2a4e);
  border: 2px solid var(--neon-blue);
  box-shadow: var(--glow-blue);
  color: var(--text-primary);
}

.game-card.face-down {
  background: linear-gradient(135deg, var(--bg-card), #2a2a4e);
  border: 2px solid var(--neon-purple);
  box-shadow: var(--glow-purple);
  cursor: pointer;
}

.game-card.face-down::after {
  content: '?';
  font-size: 4rem;
  color: var(--neon-purple);
  text-shadow: var(--glow-purple);
}

.game-card .card-value {
  font-size: 2.5rem;
  font-weight: 800;
}

.game-card .card-suit {
  font-size: 2rem;
  margin-top: 0.25rem;
}

.card-suit.hearts, .card-suit.diamonds {
  color: var(--neon-pink);
  text-shadow: var(--glow-pink);
}

.card-suit.spades, .card-suit.clubs {
  color: var(--neon-blue);
  text-shadow: var(--glow-blue);
}

.vs-divider {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--neon-yellow);
  text-shadow: var(--glow-yellow);
}

.game-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.btn-higher, .btn-lower {
  padding: 12px 32px;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn-higher {
  background: linear-gradient(135deg, #00c853, #00d4ff);
  color: #0a0a12;
  box-shadow: 0 0 15px rgba(0, 200, 83, 0.3);
}

.btn-higher:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(0, 200, 83, 0.5);
}

.btn-lower {
  background: linear-gradient(135deg, var(--neon-pink), #ff6b35);
  color: #fff;
  box-shadow: 0 0 15px rgba(255, 45, 123, 0.3);
}

.btn-lower:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(255, 45, 123, 0.5);
}

.btn-play-again {
  padding: 10px 28px;
  background: transparent;
  border: 2px solid var(--neon-blue);
  border-radius: 50px;
  color: var(--neon-blue);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: none;
}

.btn-play-again.visible {
  display: inline-block;
}

.btn-play-again:hover {
  background: var(--neon-blue);
  color: var(--bg-dark);
  box-shadow: var(--glow-blue);
}

.game-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-item .stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.25rem;
}

.stat-item .stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--neon-yellow);
  text-shadow: var(--glow-yellow);
}

.streak-meter {
  max-width: 400px;
  margin: 0 auto 2rem;
}

.streak-meter-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  text-align: center;
}

.streak-bar {
  height: 8px;
  background: var(--bg-card);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.streak-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-pink), var(--neon-yellow));
  border-radius: 4px;
  transition: width 0.5s ease;
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.card-history {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.5rem;
  max-width: 100%;
}

.history-card {
  width: 50px;
  height: 70px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--bg-card);
  border: 1px solid rgba(0, 212, 255, 0.2);
  flex-shrink: 0;
}

.history-card.win {
  border-color: #00c853;
  box-shadow: 0 0 8px rgba(0, 200, 83, 0.3);
}

.history-card.loss {
  border-color: var(--neon-pink);
  box-shadow: 0 0 8px rgba(255, 45, 123, 0.3);
}

.result-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  font-weight: 800;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 10;
}

.result-indicator.win {
  color: #00c853;
  text-shadow: 0 0 20px rgba(0, 200, 83, 0.8);
}

.result-indicator.loss {
  color: var(--neon-pink);
  text-shadow: 0 0 20px rgba(255, 45, 123, 0.8);
}

.result-indicator.show {
  opacity: 1;
  animation: resultPop 0.5s ease;
}

@keyframes resultPop {
  0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0; }
  50% { transform: translate(-50%, -50%) scale(1.3); }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

@keyframes cardFlip {
  0% { transform: rotateY(0deg); }
  50% { transform: rotateY(90deg); }
  100% { transform: rotateY(0deg); }
}

.game-card.flipping {
  animation: cardFlip 0.5s ease;
}

/* === PLAYER STATS PANELS === */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.stat-panel {
  background: var(--bg-panel);
  border: 1px solid rgba(0, 212, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
}

.stat-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 212, 255, 0.1);
}

.stat-panel .panel-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.stat-panel .panel-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--neon-blue);
  text-shadow: var(--glow-blue);
  margin-bottom: 0.25rem;
}

.stat-panel .panel-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* === STRATEGY DECK === */
.strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.strategy-card {
  background: var(--bg-panel);
  border: 1px solid rgba(179, 71, 217, 0.15);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform var(--transition), border-color var(--transition);
}

.strategy-card:hover {
  transform: translateY(-3px);
  border-color: var(--neon-purple);
}

.strategy-card h3 {
  font-size: 1.2rem;
  color: var(--neon-purple);
  margin-bottom: 0.75rem;
}

.strategy-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* === CHALLENGE TIMELINE === */
.timeline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  padding: 2rem 0;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 0 1.5rem;
}

.timeline-step .step-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg-panel);
  border: 2px solid var(--neon-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  box-shadow: var(--glow-blue);
}

.timeline-step .step-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  max-width: 100px;
}

.timeline-arrow {
  font-size: 1.5rem;
  color: var(--neon-yellow);
  text-shadow: var(--glow-yellow);
}

/* === HIGHLIGHTS === */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.highlight-panel {
  background: var(--bg-panel);
  border: 1px solid rgba(245, 230, 66, 0.12);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

.highlight-panel::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--neon-yellow), var(--neon-pink));
}

.highlight-panel h3 {
  font-size: 1.1rem;
  color: var(--neon-yellow);
  margin-bottom: 0.5rem;
}

.highlight-panel p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.highlight-panel .highlight-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--neon-pink);
  text-shadow: var(--glow-pink);
}

/* === FAQ === */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-panel);
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item:hover {
  border-color: rgba(0, 212, 255, 0.25);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--neon-blue);
}

.faq-question .faq-toggle {
  font-size: 1.5rem;
  color: var(--neon-blue);
  transition: transform var(--transition);
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* === VIP BANNER === */
.vip-banner {
  background: linear-gradient(135deg, rgba(179, 71, 217, 0.1), rgba(255, 45, 123, 0.1));
  border: 1px solid rgba(179, 71, 217, 0.2);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.vip-banner::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink), var(--neon-blue));
  border-radius: var(--radius);
  z-index: -1;
  opacity: 0.3;
  animation: borderPulse 3s ease-in-out infinite;
}

@keyframes borderPulse {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.4; }
}

.vip-banner h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, var(--neon-yellow), var(--neon-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.vip-banner p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.vip-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.vip-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.vip-feature .feature-icon {
  color: var(--neon-yellow);
  font-size: 1.2rem;
}

/* === FOOTER === */
.site-footer {
  background: var(--bg-panel);
  border-top: 1px solid rgba(0, 212, 255, 0.1);
  padding: 4rem 2rem 2rem;
  margin-top: 4rem;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-col h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--neon-blue);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--neon-pink);
}

.responsible-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  padding: 2rem 0;
  border-top: 1px solid rgba(0, 212, 255, 0.08);
  border-bottom: 1px solid rgba(0, 212, 255, 0.08);
  margin-bottom: 2rem;
}

.responsible-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(0, 212, 255, 0.05);
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: var(--transition);
}

.responsible-link:hover {
  border-color: var(--neon-blue);
  color: var(--neon-blue);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
}

.footer-badges {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-disclaimer {
  color: var(--text-secondary);
  font-size: 0.8rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* === MODALS === */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: var(--bg-panel);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: var(--radius);
  max-width: 700px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color var(--transition);
}

.modal-close:hover {
  color: var(--neon-pink);
}

.modal-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--neon-blue);
  margin-bottom: 1.5rem;
}

.modal-content p, .modal-content li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.modal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
}

/* === SECONDARY PAGES === */
.page-content {
  padding: 120px 2rem 60px;
  max-width: 800px;
  margin: 0 auto;
}

.page-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--neon-blue);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.page-content p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.page-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.page-content ul li {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* === CONTACT FORM === */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 500px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--neon-blue);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .site-header {
    padding: 0 1rem;
  }

  .header-inner {
    height: 60px;
  }

  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 18, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 3rem;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform var(--transition);
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero {
    padding: 120px 1.5rem 60px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section {
    padding: 50px 1.5rem;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .cards-display {
    flex-direction: column;
    gap: 1rem;
  }

  .game-card {
    width: 140px;
    height: 196px;
  }

  .vs-divider {
    transform: rotate(90deg);
  }

  .game-controls {
    flex-direction: column;
  }

  .btn-higher, .btn-lower {
    width: 100%;
    max-width: 280px;
  }

  .game-stats {
    gap: 1rem;
  }

  .card-history {
    justify-content: flex-start;
  }

  .timeline {
    flex-direction: column;
    gap: 1rem;
  }

  .timeline-arrow {
    transform: rotate(90deg);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .vip-features {
    flex-direction: column;
    align-items: center;
  }

  .responsible-links {
    flex-direction: column;
    align-items: center;
  }

  .card-arena {
    padding: 2rem 1rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .game-card {
    width: 120px;
    height: 168px;
  }

  .game-card .card-value {
    font-size: 2rem;
  }

  .game-card .card-suit {
    font-size: 1.5rem;
  }
}

/* === UTILITY ANIMATIONS === */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

@keyframes neonFlicker {
  0%, 100% { opacity: 1; }
  92% { opacity: 1; }
  93% { opacity: 0.8; }
  94% { opacity: 1; }
  96% { opacity: 0.9; }
  97% { opacity: 1; }
}

.neon-flicker {
  animation: neonFlicker 4s infinite;
}
