/* ============================================
   开元棋牌 · 地中海复古赌场 主题样式
   Casino Hall Dome Perspective Layout
   ============================================ */

/* --- Google Fonts Local Fallback --- */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Playfair Display Regular'), local('PlayfairDisplay-Regular');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local('Playfair Display Bold'), local('PlayfairDisplay-Bold');
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Lora Regular'), local('Lora-Regular');
}

/* --- CSS Variables --- */
:root {
  --royal-red: #8b0000;
  --royal-red-dark: #5c0000;
  --imperial-gold: #d4af37;
  --imperial-gold-light: #e8c84a;
  --ivory: #fffff0;
  --ivory-dim: #f5f5dc;
  --table-green: #004d40;
  --table-green-light: #00695c;
  --bronze: #b87333;
  --bronze-dark: #8b5e2b;
  --black-velvet: #1a0a0a;
  --shadow-gold: rgba(212, 175, 55, 0.3);
  --shadow-dark: rgba(0, 0, 0, 0.5);
  --font-display: 'Playfair Display', 'Georgia', 'Noto Serif SC', serif;
  --font-body: 'Lora', 'Georgia', 'Noto Serif SC', serif;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ivory);
  background-color: var(--royal-red-dark);
  line-height: 1.8;
  overflow-x: hidden;
  min-height: 100vh;
}

/* --- Velvet Texture Background --- */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(212,175,55,0.08) 0%, transparent 60%),
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.03) 2px, rgba(0,0,0,0.03) 4px),
    linear-gradient(180deg, var(--royal-red-dark) 0%, var(--royal-red) 30%, var(--royal-red-dark) 100%);
  z-index: -2;
  pointer-events: none;
}

/* --- Dome Ceiling Effect --- */
body::after {
  content: '';
  position: fixed;
  top: -50%; left: -25%;
  width: 150%; height: 100%;
  background: radial-gradient(ellipse at 50% 20%, rgba(212,175,55,0.06) 0%, transparent 50%);
  z-index: -1;
  pointer-events: none;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--imperial-gold); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--imperial-gold-light); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--imperial-gold);
  line-height: 1.3;
  margin-bottom: 0.5em;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1em; font-size: 1rem; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Jammer Block (SEO) --- */
.jammer-block {
  opacity: 0.01;
  position: absolute;
  z-index: -1;
  pointer-events: none;
  left: -9999px;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.casino-header {
  background: linear-gradient(180deg, rgba(26,10,10,0.95) 0%, rgba(139,0,0,0.9) 100%);
  border-bottom: 2px solid var(--imperial-gold);
  padding: 12px 0;
  position: relative;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.casino-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.casino-logo img {
  height: 50px;
  width: auto;
}

.casino-logo span {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--imperial-gold);
  font-weight: 700;
  white-space: nowrap;
}

/* Desktop Nav */
.main-nav { display: flex; align-items: center; }
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 0;
}
.main-nav li { position: relative; }
.main-nav a {
  display: block;
  padding: 10px 14px;
  color: var(--ivory);
  font-family: var(--font-display);
  font-size: 0.95rem;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--imperial-gold);
  border-bottom-color: var(--imperial-gold);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: 1px solid var(--imperial-gold);
  border-radius: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--imperial-gold);
  transition: all 0.3s;
}

/* Mobile Nav */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: linear-gradient(180deg, rgba(139,0,0,0.98) 0%, rgba(26,10,10,0.98) 100%);
    border-top: 1px solid var(--imperial-gold);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
  }
  .main-nav.open { max-height: 500px; }
  .main-nav ul { flex-direction: column; }
  .main-nav a {
    padding: 14px 20px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(212,175,55,0.15);
  }
}

/* ============================================
   VELVET CURTAIN ANIMATION
   ============================================ */
.velvet-curtain-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  pointer-events: none;
  display: flex;
}
.curtain-left, .curtain-right {
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, var(--royal-red-dark) 0%, var(--royal-red) 40%, var(--royal-red-dark) 100%);
  position: relative;
  transition: transform 1.8s cubic-bezier(0.77, 0, 0.175, 1);
}
.curtain-left::after, .curtain-right::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 30px;
  background: repeating-linear-gradient(180deg, var(--imperial-gold) 0px, var(--imperial-gold) 8px, transparent 8px, transparent 20px);
  opacity: 0.6;
}
.curtain-left::after { right: 0; }
.curtain-right::before { left: 0; }

.curtain-left.open { transform: translateX(-105%); }
.curtain-right.open { transform: translateX(105%); }

/* ============================================
   HERO SECTION
   ============================================ */
.velvet-curtain-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--black-velvet);
}

.hero-video-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  overflow: hidden;
}

.hero-video-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 40px 20px;
}

.hero-content .hero-logo {
  max-width: 280px;
  margin: 0 auto 20px;
}

.hero-slogan {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--imperial-gold);
  text-shadow: 0 2px 20px rgba(212,175,55,0.5);
  margin-bottom: 30px;
  letter-spacing: 4px;
}

/* --- CTA Button (Chip Flip) --- */
.cta-btn {
  display: inline-block;
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--imperial-gold) 0%, var(--bronze) 100%);
  color: var(--black-velvet);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  border: 2px solid var(--imperial-gold);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s;
  text-transform: none;
  letter-spacing: 2px;
  perspective: 600px;
}
.cta-btn:hover {
  transform: rotateY(15deg) scale(1.05);
  box-shadow: 0 8px 30px var(--shadow-gold);
  color: var(--black-velvet);
}

/* ============================================
   SECTION COMMON STYLES
   ============================================ */
.casino-section {
  position: relative;
  padding: 60px 0;
  border-top: 1px solid rgba(212,175,55,0.2);
}

.casino-section::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--imperial-gold);
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 1.8rem;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--imperial-gold), transparent);
}

.section-title p {
  color: var(--ivory-dim);
  font-size: 1rem;
  margin-top: 10px;
}

/* Gold Frame Module */
.gold-frame-module {
  background: linear-gradient(135deg, rgba(139,0,0,0.6) 0%, rgba(26,10,10,0.8) 100%);
  border: 1px solid var(--imperial-gold);
  border-radius: 8px;
  padding: 30px;
  position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3), inset 0 1px 0 rgba(212,175,55,0.2);
}

.gold-frame-module::before {
  content: '';
  position: absolute;
  top: 5px; left: 5px; right: 5px; bottom: 5px;
  border: 1px solid rgba(212,175,55,0.15);
  border-radius: 6px;
  pointer-events: none;
}

/* ============================================
   MODULE 2: BRAND INTRO
   ============================================ */
.brand-intro {
  background: linear-gradient(135deg, rgba(139,0,0,0.7) 0%, rgba(92,0,0,0.9) 100%);
}

.brand-content {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 30px;
  align-items: start;
}

.brand-portrait {
  border: 3px solid var(--imperial-gold);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.brand-text h3 {
  color: var(--imperial-gold);
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.brand-text h3::before {
  content: '◆ ';
  color: var(--bronze);
}

@media (max-width: 768px) {
  .brand-content {
    grid-template-columns: 1fr;
  }
  .brand-portrait {
    max-width: 250px;
    margin: 0 auto;
  }
}

/* ============================================
   MODULE 3: HONOR WALL
   ============================================ */
.honor-wall {
  background: url('../images/honor-wall-small.webp') center/cover no-repeat;
  position: relative;
}
.honor-wall::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(26,10,10,0.85);
}
.honor-wall .container { position: relative; z-index: 2; }

.honor-scroll {
  overflow: hidden;
  height: 300px;
  position: relative;
}

.honor-item {
  background: linear-gradient(135deg, rgba(139,0,0,0.5) 0%, rgba(26,10,10,0.7) 100%);
  border: 1px solid var(--imperial-gold);
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 15px;
  animation: slideUp 0.6s ease forwards;
}

.honor-crown {
  font-size: 1.5rem;
  color: var(--imperial-gold);
}

.honor-text {
  flex: 1;
  font-size: 0.95rem;
}

.honor-time {
  color: var(--imperial-gold);
  font-size: 0.8rem;
  white-space: nowrap;
}

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

/* Chandelier Shimmer */
@keyframes shimmer {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.chandelier-icon {
  text-align: center;
  font-size: 2rem;
  color: var(--imperial-gold);
  animation: shimmer 2s ease-in-out infinite;
  margin-bottom: 10px;
}

/* ============================================
   MODULE 4: ROYAL CARD TABLE (Game Chips)
   ============================================ */
.game-chips-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.game-chip {
  text-align: center;
  perspective: 800px;
}

.chip-inner {
  background: linear-gradient(135deg, rgba(26,10,10,0.8) 0%, rgba(139,0,0,0.5) 100%);
  border: 2px solid var(--imperial-gold);
  border-radius: 12px;
  padding: 20px 10px;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.game-chip:hover .chip-inner {
  transform: rotateY(10deg) scale(1.03);
  box-shadow: 0 10px 30px var(--shadow-gold);
}

.chip-img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 12px;
  aspect-ratio: 1;
  object-fit: cover;
}

.chip-color-gold { border-color: #d4af37; }
.chip-color-red { border-color: #c0392b; }
.chip-color-blue { border-color: #2980b9; }
.chip-color-green { border-color: #27ae60; }
.chip-color-purple { border-color: #8e44ad; }

.game-chip h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.game-chip p {
  font-size: 0.85rem;
  color: var(--ivory-dim);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .game-chips-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .game-chips-grid .game-chip:last-child {
    grid-column: span 2;
    max-width: 50%;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .game-chips-grid {
    grid-template-columns: 1fr 1fr;
  }
  .game-chips-grid .game-chip:last-child {
    max-width: 100%;
  }
}

/* ============================================
   MODULE 5: CASINO SECRETS (Articles)
   ============================================ */
.article-bookshelf {
  background: linear-gradient(135deg, rgba(92,0,0,0.4) 0%, rgba(26,10,10,0.6) 100%);
}

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

.book-card {
  background: linear-gradient(180deg, rgba(139,0,0,0.5) 0%, rgba(26,10,10,0.7) 100%);
  border: 1px solid var(--bronze);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.4s, box-shadow 0.4s;
  cursor: pointer;
}

.book-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(212,175,55,0.2);
}

.book-cover {
  height: 8px;
  background: linear-gradient(90deg, var(--imperial-gold), var(--bronze), var(--imperial-gold));
}

.book-content {
  padding: 20px;
}

.book-content h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--imperial-gold);
}

.book-content p {
  font-size: 0.85rem;
  color: var(--ivory-dim);
  line-height: 1.6;
}

.book-author {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(212,175,55,0.15);
}

.book-author img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--imperial-gold);
  object-fit: cover;
}

.book-author span {
  font-size: 0.8rem;
  color: var(--bronze);
}

@media (max-width: 768px) {
  .bookshelf-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   MODULE 6: VIP REGISTRATION
   ============================================ */
.vip-register {
  background: linear-gradient(135deg, rgba(0,77,64,0.3) 0%, rgba(26,10,10,0.8) 100%);
}

.register-card {
  max-width: 600px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(139,0,0,0.6) 0%, rgba(26,10,10,0.8) 100%);
  border: 2px solid var(--imperial-gold);
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  position: relative;
}

.register-card::before {
  content: '';
  position: absolute;
  top: 8px; left: 8px; right: 8px; bottom: 8px;
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 10px;
  pointer-events: none;
}

.register-card .ticket-img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
}

.register-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.register-form input {
  padding: 14px 18px;
  background: rgba(26,10,10,0.6);
  border: 1px solid var(--bronze);
  border-radius: 6px;
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s;
}

.register-form input:focus {
  outline: none;
  border-color: var(--imperial-gold);
  box-shadow: 0 0 10px var(--shadow-gold);
}

.register-form input::placeholder {
  color: rgba(255,255,240,0.4);
}

.stamp-btn {
  padding: 16px;
  background: linear-gradient(135deg, var(--imperial-gold) 0%, var(--bronze) 100%);
  color: var(--black-velvet);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.4s;
  letter-spacing: 2px;
}

.stamp-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 5px 20px var(--shadow-gold);
}

/* ============================================
   MODULE 7: VIP PLATINUM CLUB
   ============================================ */
.vip-tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.vip-card {
  border-radius: 12px;
  padding: 25px 15px;
  text-align: center;
  transition: transform 0.3s;
  position: relative;
  overflow: hidden;
}

.vip-card:hover { transform: translateY(-5px); }

.vip-silver {
  background: linear-gradient(135deg, rgba(192,192,192,0.15) 0%, rgba(26,10,10,0.7) 100%);
  border: 1px solid #c0c0c0;
}
.vip-gold {
  background: linear-gradient(135deg, rgba(212,175,55,0.2) 0%, rgba(26,10,10,0.7) 100%);
  border: 1px solid var(--imperial-gold);
}
.vip-platinum {
  background: linear-gradient(135deg, rgba(184,115,51,0.2) 0%, rgba(26,10,10,0.7) 100%);
  border: 1px solid var(--bronze);
}
.vip-diamond {
  background: linear-gradient(135deg, rgba(139,0,0,0.3) 0%, rgba(26,10,10,0.7) 100%);
  border: 2px solid var(--imperial-gold);
  box-shadow: 0 0 20px var(--shadow-gold);
}

.vip-icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.vip-card h3 { font-size: 1.1rem; margin-bottom: 12px; }

.vip-card ul {
  list-style: none;
  text-align: left;
  font-size: 0.85rem;
}

.vip-card li {
  padding: 5px 0;
  border-bottom: 1px solid rgba(212,175,55,0.1);
}

.vip-card li::before {
  content: '◆ ';
  color: var(--imperial-gold);
  font-size: 0.7rem;
}

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

@media (max-width: 480px) {
  .vip-tiers {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   MODULE 8: LICENSE & CERTIFICATION
   ============================================ */
.license-section {
  background: linear-gradient(135deg, rgba(26,10,10,0.9) 0%, rgba(92,0,0,0.5) 100%);
}

.license-content {
  text-align: center;
}

.license-img {
  max-width: 800px;
  margin: 0 auto 30px;
  border: 2px solid var(--imperial-gold);
  border-radius: 8px;
}

.license-badges {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.license-badge {
  background: rgba(26,10,10,0.6);
  border: 1px solid var(--bronze);
  border-radius: 8px;
  padding: 15px 25px;
  text-align: center;
}

.license-badge .badge-icon {
  font-size: 2rem;
  color: var(--imperial-gold);
  margin-bottom: 8px;
}

.license-badge span {
  display: block;
  font-size: 0.85rem;
  color: var(--ivory-dim);
}

/* ============================================
   MODULE 9: FAQ SALON
   ============================================ */
.faq-salon {
  background: linear-gradient(135deg, rgba(0,77,64,0.15) 0%, rgba(26,10,10,0.8) 100%);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
  background: rgba(26,10,10,0.5);
}

.faq-item summary {
  padding: 16px 20px;
  cursor: pointer;
  font-family: var(--font-display);
  color: var(--imperial-gold);
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.3s;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::before {
  content: '◆';
  color: var(--bronze);
  font-size: 0.8rem;
  transition: transform 0.3s;
}

.faq-item[open] summary::before {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  background: rgba(212,175,55,0.05);
}

.faq-answer {
  padding: 0 20px 16px;
  color: var(--ivory-dim);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ============================================
   MODULE 10: RESPONSIBLE GAMING
   ============================================ */
.responsible-gaming {
  background: linear-gradient(135deg, rgba(26,10,10,0.95) 0%, rgba(92,0,0,0.5) 100%);
  border-top: 2px solid var(--bronze);
}

.responsible-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border: 3px solid var(--imperial-gold);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--imperial-gold);
  margin-bottom: 20px;
}

.responsible-content p {
  color: var(--ivory-dim);
  font-size: 0.95rem;
}

.responsible-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.responsible-links a {
  color: var(--bronze);
  font-size: 0.85rem;
  border: 1px solid var(--bronze);
  padding: 8px 16px;
  border-radius: 4px;
  transition: all 0.3s;
}

.responsible-links a:hover {
  background: rgba(184,115,51,0.15);
  color: var(--imperial-gold);
}

/* ============================================
   FOOTER
   ============================================ */
.casino-footer {
  background: linear-gradient(180deg, rgba(26,10,10,0.98) 0%, #0a0505 100%);
  border-top: 3px solid var(--imperial-gold);
  padding: 50px 0 30px;
  position: relative;
}

.casino-footer::before {
  content: '';
  position: absolute;
  top: 3px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--bronze), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}

.footer-col h4 {
  color: var(--imperial-gold);
  font-size: 1rem;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(212,175,55,0.2);
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  color: var(--ivory-dim);
  font-size: 0.85rem;
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--imperial-gold); }

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--imperial-gold);
  border-radius: 50%;
  color: var(--imperial-gold);
  font-size: 0.9rem;
  transition: all 0.3s;
}

.footer-social a:hover {
  background: var(--imperial-gold);
  color: var(--black-velvet);
}

.footer-payments {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.footer-payments span {
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.3);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  color: var(--ivory-dim);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(212,175,55,0.15);
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,240,0.5);
  margin-bottom: 5px;
}

.footer-age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 2px solid var(--imperial-gold);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--imperial-gold);
  margin-top: 10px;
}

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

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
  padding: 15px 0;
  font-size: 0.85rem;
}

.breadcrumb a {
  color: var(--bronze);
}

.breadcrumb span {
  color: var(--ivory-dim);
  margin: 0 8px;
}

/* ============================================
   INNER PAGE STYLES
   ============================================ */
.inner-hero {
  padding: 60px 0 40px;
  text-align: center;
  background: linear-gradient(180deg, rgba(26,10,10,0.9) 0%, rgba(139,0,0,0.5) 100%);
  border-bottom: 1px solid rgba(212,175,55,0.2);
}

.inner-hero h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.inner-hero p {
  color: var(--ivory-dim);
  max-width: 600px;
  margin: 0 auto;
}

.inner-content {
  padding: 40px 0;
}

.inner-content .article-body {
  max-width: 800px;
  margin: 0 auto;
}

.inner-content .article-body h2 {
  margin-top: 30px;
}

.inner-content .article-body h3 {
  margin-top: 20px;
  color: var(--bronze);
}

.content-image {
  border: 1px solid var(--imperial-gold);
  border-radius: 8px;
  margin: 20px 0;
  overflow: hidden;
}

.content-image img {
  width: 100%;
}

/* Author Info Card */
.author-card {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(26,10,10,0.6);
  border: 1px solid var(--bronze);
  border-radius: 8px;
  padding: 15px;
  margin: 20px 0;
}

.author-card img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--imperial-gold);
  object-fit: cover;
}

.author-info h4 {
  color: var(--imperial-gold);
  font-size: 1rem;
  margin-bottom: 4px;
}

.author-info p {
  font-size: 0.85rem;
  color: var(--ivory-dim);
  margin: 0;
}

/* Strategy Table */
.strategy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.9rem;
}

.strategy-table th {
  background: rgba(212,175,55,0.15);
  color: var(--imperial-gold);
  padding: 12px 15px;
  text-align: left;
  border-bottom: 2px solid var(--imperial-gold);
  font-family: var(--font-display);
}

.strategy-table td {
  padding: 10px 15px;
  border-bottom: 1px solid rgba(212,175,55,0.1);
  color: var(--ivory-dim);
}

.strategy-table tr:hover td {
  background: rgba(212,175,55,0.05);
}

/* Legend Story Box */
.legend-box {
  background: linear-gradient(135deg, rgba(0,77,64,0.2) 0%, rgba(26,10,10,0.7) 100%);
  border: 1px solid var(--table-green);
  border-left: 4px solid var(--imperial-gold);
  border-radius: 0 8px 8px 0;
  padding: 20px;
  margin: 25px 0;
}

.legend-box h4 {
  color: var(--imperial-gold);
  margin-bottom: 10px;
}

.legend-box p {
  color: var(--ivory-dim);
  font-style: italic;
}

/* Gentleman Rules */
.gentleman-rules {
  background: rgba(139,0,0,0.3);
  border: 1px solid var(--bronze);
  border-radius: 8px;
  padding: 20px;
  margin: 25px 0;
}

.gentleman-rules h4 {
  color: var(--imperial-gold);
  margin-bottom: 12px;
}

.gentleman-rules ol {
  padding-left: 20px;
  color: var(--ivory-dim);
}

.gentleman-rules li {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

/* ============================================
   APP DOWNLOAD PAGE
   ============================================ */
.app-hero {
  text-align: center;
  padding: 60px 0;
  background: linear-gradient(180deg, rgba(26,10,10,0.95) 0%, rgba(139,0,0,0.4) 100%);
}

.app-phone {
  max-width: 300px;
  margin: 30px auto;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.download-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--imperial-gold) 0%, var(--bronze) 100%);
  color: var(--black-velvet);
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.3s;
  font-size: 1rem;
}

.download-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px var(--shadow-gold);
  color: var(--black-velvet);
}

.app-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.app-feature {
  background: rgba(26,10,10,0.6);
  border: 1px solid var(--bronze);
  border-radius: 8px;
  padding: 20px;
}

.app-feature h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.app-feature p {
  font-size: 0.9rem;
  color: var(--ivory-dim);
}

@media (max-width: 768px) {
  .app-features {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Card Fly-in Animation */
@keyframes cardFlyIn {
  from {
    opacity: 0;
    transform: translateX(-50px) rotate(-10deg);
  }
  to {
    opacity: 1;
    transform: translateX(0) rotate(0);
  }
}

.card-fly-in.visible {
  animation: cardFlyIn 0.6s ease forwards;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-gold { color: var(--imperial-gold); }
.text-ivory { color: var(--ivory); }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.hidden { display: none; }

/* Print styles */
@media print {
  .velvet-curtain-overlay,
  .casino-header { display: none; }
  body { background: white; color: black; }
}
