/* ==========================================================================
   Spades Online / Koz Maça - nayman.stream Official Stylesheet
   Designed with rich dark aesthetics, gold accents, glassmorphism & fluid typography
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-primary: #070a13;
  --bg-secondary: #0b1120;
  --bg-tertiary: #101a2e;
  --card-bg: rgba(15, 23, 42, 0.75);
  --card-bg-hover: rgba(22, 33, 58, 0.88);
  --card-border: rgba(212, 175, 55, 0.22);
  --card-border-hover: rgba(255, 224, 102, 0.55);
  --glass-blur: blur(14px);

  /* Gold & Accent Accents */
  --gold-primary: #f59e0b;
  --gold-light: #fde047;
  --gold-accent: #d4af37;
  --gold-dark: #996515;
  --gold-gradient: linear-gradient(135deg, #ffe066 0%, #d4af37 50%, #b8860b 100%);
  --gold-glow: 0 0 25px rgba(212, 175, 55, 0.35);
  --gold-glow-lg: 0 0 45px rgba(212, 175, 55, 0.5);

  /* Functional Colors */
  --cyan-accent: #38bdf8;
  --emerald-accent: #10b981;
  --rose-accent: #f43f5e;
  --violet-accent: #8b5cf6;

  /* Typography Colors */
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Typography Families */
  --font-display: 'Cinzel', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Transitions */
  --tr-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --tr-medium: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --tr-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base & Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Background Particle Canvas */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

/* Ambient Radial Glows */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}
.ambient-glow-top {
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, rgba(99, 102, 241, 0.08) 50%, transparent 80%);
}
.ambient-glow-right {
  top: 35%;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.1) 0%, transparent 70%);
}
.ambient-glow-left {
  top: 70%;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Typography Helpers */
h1, h2, h3, h4, .brand-text {
  font-family: var(--font-display);
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

.gold-gradient-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-tag .suit-icon {
  color: var(--gold-accent);
  font-size: 15px;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 16px;
  line-height: 1.25;
}

.section-desc {
  font-size: 17px;
  color: var(--text-muted);
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 16px 0;
  transition: all var(--tr-medium);
  background: rgba(7, 10, 19, 0.7);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(7, 10, 19, 0.92);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(212, 175, 55, 0.2);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: radial-gradient(circle at 30% 30%, #1e1b4b 0%, #070a13 100%);
  border: 1.5px solid var(--gold-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.35);
  overflow: hidden;
  transition: transform var(--tr-fast);
}

.brand:hover .brand-icon-wrapper {
  transform: scale(1.05) rotate(4deg);
  box-shadow: var(--gold-glow);
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: 1px;
}

.brand-title span {
  color: var(--gold-light);
}

.brand-domain {
  font-size: 11px;
  font-weight: 600;
  color: var(--gold-accent);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

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

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  transition: color var(--tr-fast);
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: width var(--tr-fast);
  border-radius: 2px;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after {
  width: 100%;
}

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

/* Language Switcher */
.lang-toggle {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--tr-fast);
  display: flex;
  align-items: center;
  gap: 4px;
}

.lang-btn.active {
  background: var(--gold-accent);
  color: #070a13;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
}

.lang-btn:not(.active):hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
}

/* Button Styles */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 24px;
  background: var(--gold-gradient);
  color: #070a13;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--gold-glow);
  cursor: pointer;
  transition: all var(--tr-medium);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--gold-glow-lg);
  filter: brightness(1.08);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 24px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: var(--glass-blur);
  cursor: pointer;
  transition: all var(--tr-medium);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--gold-accent);
  transform: translateY(-2px);
}

/* Mobile Hamburger */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 24px;
  cursor: pointer;
  padding: 6px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding: 150px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 24px;
  animation: pulseBadge 3s infinite ease-in-out;
}

@keyframes pulseBadge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.3); }
  50% { box-shadow: 0 0 16px 2px rgba(212, 175, 55, 0.45); }
}

.hero-title {
  font-size: clamp(36px, 5.2vw, 58px);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-description {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
}

/* Store Badges */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 22px;
  background: #0f172a;
  border: 1.5px solid rgba(212, 175, 55, 0.3);
  border-radius: 12px;
  color: var(--text-primary);
  text-decoration: none;
  transition: all var(--tr-medium);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.store-btn:hover {
  border-color: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.25);
  background: #151e36;
}

.store-btn svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.store-btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.store-btn-subtitle {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.8px;
}

.store-btn-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.qr-btn-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--tr-fast);
}

.qr-btn-trigger:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border-color: var(--gold-accent);
}

.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.trust-item strong {
  color: var(--text-primary);
}

.trust-stars {
  color: #fbbf24;
  font-size: 14px;
  letter-spacing: 1px;
}

/* Hero Showcase Visual */
.hero-visual-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.device-frame {
  width: 100%;
  max-width: 440px;
  background: #0b1120;
  border-radius: 36px;
  padding: 12px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 50px rgba(212, 175, 55, 0.25);
  border: 2px solid rgba(212, 175, 55, 0.4);
  position: relative;
  transform: perspective(1000px) rotateY(-5deg) rotateX(3deg);
  transition: transform var(--tr-smooth);
}

.device-frame:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
}

.device-screen {
  border-radius: 26px;
  overflow: hidden;
  background: #000;
  position: relative;
  aspect-ratio: 9 / 16;
}

.device-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Floating Badges on Hero */
.floating-card {
  position: absolute;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 14px;
  padding: 12px 18px;
  backdrop-filter: var(--glass-blur);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.2);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
  animation: floatAnim 4s ease-in-out infinite;
}

.floating-card-left {
  top: 15%;
  left: -40px;
  animation-delay: 0s;
}

.floating-card-right {
  bottom: 20%;
  right: -30px;
  animation-delay: 2s;
}

@keyframes floatAnim {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.float-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--gold-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--gold-light);
}

.float-info {
  display: flex;
  flex-direction: column;
}

.float-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-primary);
}

.float-sub {
  font-size: 11px;
  color: var(--gold-primary);
  font-weight: 600;
}

/* Floating Ace of Spades */
.floating-playing-card {
  position: absolute;
  top: -30px;
  right: 15px;
  width: 90px;
  height: 130px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(212, 175, 55, 0.4);
  border: 1.5px solid var(--gold-accent);
  transform: rotate(14deg);
  z-index: 3;
  transition: transform var(--tr-medium);
  animation: floatAnim 5s ease-in-out infinite reverse;
}

.floating-playing-card:hover {
  transform: rotate(0deg) scale(1.15);
  z-index: 10;
}

.floating-playing-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   Stats Bar Section
   ========================================================================== */
.stats-section {
  padding: 30px 0 70px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  backdrop-filter: var(--glass-blur);
  transition: all var(--tr-medium);
}

.stat-card:hover {
  border-color: var(--card-border-hover);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.15);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary);
}

/* ==========================================================================
   Key Features Grid
   ========================================================================== */
.features-section {
  padding: 80px 0;
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 36px 28px;
  backdrop-filter: var(--glass-blur);
  transition: all var(--tr-medium);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: opacity var(--tr-fast);
}

.feature-card:hover {
  background: var(--card-bg-hover);
  border-color: var(--card-border-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(212, 175, 55, 0.12);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-wrapper {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, rgba(15, 23, 42, 0.8) 100%);
  border: 1px solid rgba(212, 175, 55, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 22px;
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.2);
}

.feature-title {
  font-size: 21px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Interactive Showcase Gallery (Tabs)
   ========================================================================== */
.gallery-section {
  padding: 80px 0;
  position: relative;
}

.gallery-tabs-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.gallery-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--tr-fast);
}

.gallery-tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(212, 175, 55, 0.35);
  color: var(--text-primary);
}

.gallery-tab-btn.active {
  background: var(--gold-gradient);
  border-color: var(--gold-light);
  color: #070a13;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.35);
}

.gallery-stage {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 36px;
  backdrop-filter: var(--glass-blur);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
}

.gallery-content-pane {
  display: none;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
}

.gallery-content-pane.active {
  display: grid;
  animation: fadeInPane 0.4s ease-out;
}

@keyframes fadeInPane {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.gallery-image-box {
  border-radius: 18px;
  overflow: hidden;
  border: 1.5px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.15);
  position: relative;
  background: #000;
  cursor: zoom-in;
  transition: transform var(--tr-medium);
}

.gallery-image-box:hover {
  transform: scale(1.02);
}

.gallery-image-box img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-info-box {
  display: flex;
  flex-direction: column;
}

.gallery-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 12px;
}

.gallery-title {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 16px;
}

.gallery-text {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.gallery-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.gallery-feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text-primary);
}

.gallery-feature-list li .check-icon {
  color: var(--emerald-accent);
  font-weight: bold;
}

/* ==========================================================================
   Game Modes Section
   ========================================================================== */
.modes-section {
  padding: 80px 0;
  position: relative;
}

.modes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.mode-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 28px 22px;
  backdrop-filter: var(--glass-blur);
  transition: all var(--tr-medium);
  display: flex;
  flex-direction: column;
}

.mode-card:hover {
  border-color: var(--gold-accent);
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 24px rgba(212, 175, 55, 0.15);
}

.mode-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(212, 175, 55, 0.15);
  color: var(--gold-light);
  margin-bottom: 16px;
}

.mode-title {
  font-size: 20px;
  margin-bottom: 10px;
}

.mode-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  flex-grow: 1;
}

/* ==========================================================================
   Decks & Themes Customizer Showcase
   ========================================================================== */
.customization-section {
  padding: 80px 0;
  position: relative;
}

.custom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.custom-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 22px;
  padding: 32px;
  backdrop-filter: var(--glass-blur);
}

.custom-box-title {
  font-size: 24px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.custom-box-desc {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Cards Showcase Row */
.cards-showcase-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.flip-card-item {
  aspect-ratio: 5 / 7;
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  transition: all var(--tr-medium);
  cursor: pointer;
  position: relative;
  background: #000;
}

.flip-card-item:hover {
  transform: translateY(-8px) scale(1.05);
  border-color: var(--gold-light);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8), 0 0 20px rgba(212, 175, 55, 0.4);
}

.flip-card-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 6px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent);
  font-size: 11px;
  text-align: center;
  font-weight: 700;
  color: var(--gold-light);
}

/* Table Themes Row */
.themes-showcase-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.theme-card-item {
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid rgba(212, 175, 55, 0.3);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  position: relative;
  transition: all var(--tr-medium);
  cursor: pointer;
}

.theme-card-item:hover {
  transform: translateY(-6px) scale(1.04);
  border-color: var(--gold-light);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(212, 175, 55, 0.3);
}

.theme-card-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.theme-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 8px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92), transparent);
  font-size: 12px;
  text-align: center;
  font-weight: 700;
  color: var(--text-primary);
}

/* ==========================================================================
   Rules & Strategy Masterclass
   ========================================================================== */
.rules-section {
  padding: 80px 0;
  position: relative;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.rule-box {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 28px 22px;
  backdrop-filter: var(--glass-blur);
  transition: all var(--tr-medium);
}

.rule-box:hover {
  border-color: var(--gold-light);
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.15);
}

.rule-number {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--gold-primary);
  line-height: 1;
  margin-bottom: 12px;
}

.rule-title {
  font-size: 19px;
  margin-bottom: 10px;
}

.rule-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   AI & Fair Play Technology Section
   ========================================================================== */
.tech-section {
  padding: 80px 0;
  position: relative;
}

.tech-banner {
  background: radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.15) 0%, rgba(15, 23, 42, 0.9) 60%);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 24px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
  backdrop-filter: var(--glass-blur);
}

.tech-title {
  font-size: clamp(26px, 3.5vw, 36px);
  margin-bottom: 16px;
}

.tech-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-pill {
  padding: 6px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.tech-metrics {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tech-metric-item {
  background: rgba(7, 10, 19, 0.7);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tech-metric-label {
  font-size: 14px;
  color: var(--text-muted);
}

.tech-metric-val {
  font-size: 16px;
  font-weight: 700;
  color: var(--gold-light);
}

/* ==========================================================================
   FAQ Section (Accordion)
   ========================================================================== */
.faq-section {
  padding: 80px 0;
  position: relative;
}

.faq-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  overflow: hidden;
  backdrop-filter: var(--glass-blur);
  transition: border-color var(--tr-fast);
}

.faq-item.active {
  border-color: var(--gold-accent);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 16.5px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color var(--tr-fast);
}

.faq-question:hover {
  color: var(--gold-light);
}

.faq-icon {
  font-size: 18px;
  color: var(--gold-accent);
  transition: transform var(--tr-medium);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--tr-medium), padding var(--tr-fast);
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 22px;
}

/* ==========================================================================
   Call To Action (CTA) Banner
   ========================================================================== */
.cta-section {
  padding: 80px 0 100px;
  position: relative;
}

.cta-box {
  background: radial-gradient(circle at 50% 0%, #1e1b4b 0%, #0b1120 70%);
  border: 2px solid var(--gold-accent);
  border-radius: 28px;
  padding: 60px 40px;
  text-align: center;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8), 0 0 60px rgba(212, 175, 55, 0.25);
  position: relative;
  overflow: hidden;
}

.cta-title {
  font-size: clamp(30px, 4.5vw, 46px);
  margin-bottom: 18px;
}

.cta-desc {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: #04060d;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  padding: 70px 0 30px;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-top: 14px;
  max-width: 320px;
}

.footer-col-title {
  font-size: 16px;
  color: var(--gold-light);
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color var(--tr-fast);
}

.footer-links a:hover {
  color: var(--gold-light);
  text-decoration: underline;
}

.footer-contact-info {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-contact-info a {
  color: var(--cyan-accent);
  text-decoration: none;
}

.footer-contact-info a:hover {
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-dim);
}

.footer-bottom a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--text-primary);
}

/* ==========================================================================
   QR Code Modal
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: var(--glass-blur);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
  animation: fadeInModal 0.25s ease-out;
}

@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-card {
  background: #0b1120;
  border: 1.5px solid var(--gold-accent);
  border-radius: 20px;
  padding: 36px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), var(--gold-glow);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}

.modal-close-btn:hover {
  color: var(--text-primary);
}

.modal-qr-box {
  width: 200px;
  height: 200px;
  margin: 20px auto;
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-qr-box svg {
  width: 100%;
  height: 100%;
}

/* Lightbox Modal for Screenshots */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(20px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
  cursor: zoom-out;
}

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

.lightbox-modal img {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: 16px;
  border: 2px solid var(--gold-accent);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9), var(--gold-glow-lg);
  object-fit: contain;
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 60px;
  }
  .hero-description {
    margin: 0 auto 32px;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-trust-row {
    justify-content: center;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .modes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .rules-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .custom-grid {
    grid-template-columns: 1fr;
  }
  .tech-banner {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #070a13;
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--card-border);
  }
  .nav-links.mobile-open {
    display: flex;
  }
  .mobile-menu-btn {
    display: block;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-content-pane {
    grid-template-columns: 1fr;
  }
  .floating-card {
    display: none;
  }
  .device-frame {
    transform: none !important;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .features-grid, .modes-grid, .rules-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .cards-showcase-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .themes-showcase-row {
    grid-template-columns: 1fr;
  }
}
