/* WordQueens.com - Sassy & Chic Wine/Cheese Game Night Design System & Styles */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;0,800;0,900;1,600&family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  /* Rich Velvet & Wine Palette */
  --bg-dark: #0f050c;
  --bg-surface: #1a0815;
  --bg-card: rgba(36, 12, 28, 0.78);
  --bg-card-hover: rgba(56, 18, 44, 0.9);
  --glass-border: rgba(255, 180, 210, 0.15);
  
  /* Wine & Rosé Accents */
  --wine-primary: #8d1b3c;
  --wine-light: #b82e56;
  --wine-dark: #570d23;
  --wine-glow: rgba(141, 27, 60, 0.4);
  
  --rose-accent: #f472b6;
  --rose-light: #fbcfe8;
  --rose-glow: rgba(244, 114, 182, 0.3);
  
  /* Champagne Gold & Warm Amber Highlights */
  --gold-primary: #fbbf24;
  --gold-light: #fef08a;
  --gold-dark: #d97706;
  --gold-glow: rgba(251, 191, 36, 0.4);
  
  /* Text Hierarchy */
  --text-main: #fff5f8;
  --text-muted: #e2c2d4;
  --text-dim: #a67c94;
  
  /* Typography */
  --font-queen: 'Playfair Display', Georgia, serif;
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Outfit', sans-serif;
  
  /* Radii */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-full: 9999px;
  
  /* Shadows & Glows */
  --shadow-main: 0 25px 50px -12px rgba(0, 0, 0, 0.85);
  --shadow-gold: 0 10px 35px -5px rgba(251, 191, 36, 0.4);
  --shadow-wine: 0 10px 35px -5px rgba(141, 27, 60, 0.5);
  --shadow-rose: 0 10px 35px -5px rgba(244, 114, 182, 0.35);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(141, 27, 60, 0.25) 0%, transparent 45%),
    radial-gradient(circle at 85% 60%, rgba(244, 114, 182, 0.18) 0%, transparent 40%),
    radial-gradient(circle at 50% 85%, rgba(251, 191, 36, 0.12) 0%, transparent 50%);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Champagne & Glitter Canvas */
#snow-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
}

/* Container */
.app-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.content-width {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Navbar */
.navbar {
  padding: 1.25rem 0;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(251, 191, 36, 0.2);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 5, 12, 0.88);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--text-main);
}

.logo-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--wine-light), var(--wine-dark));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-queen);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--gold-light);
  box-shadow: var(--shadow-wine);
  border: 1px solid var(--gold-primary);
}

.brand-name {
  font-family: var(--font-queen);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #ffffff 20%, var(--rose-accent) 60%, var(--gold-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-badge {
  background: rgba(244, 114, 182, 0.12);
  border: 1px solid rgba(244, 114, 182, 0.35);
  color: var(--rose-accent);
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Language Switcher */
.lang-switcher {
  position: relative;
  display: inline-block;
}

.lang-btn {
  background: rgba(36, 12, 28, 0.85);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.lang-btn:hover {
  border-color: var(--gold-primary);
  background: rgba(56, 18, 44, 0.95);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: rgba(20, 6, 16, 0.96);
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  list-style: none;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 150px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(15px);
  z-index: 200;
}

.lang-switcher.active .lang-dropdown {
  display: flex;
}

.lang-dropdown a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  display: block;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-dropdown a:hover {
  background: rgba(141, 27, 60, 0.5);
  color: var(--gold-light);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--rose-accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--rose-accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(244, 114, 182, 0.8); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(244, 114, 182, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(244, 114, 182, 0); }
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

@media (max-width: 850px) {
  .nav-links { display: none; }
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--gold-primary);
}

/* Hero Section */
.hero-section {
  padding: 4.5rem 0 3rem;
  text-align: center;
  position: relative;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(141, 27, 60, 0.25);
  border: 1px solid rgba(251, 191, 36, 0.4);
  color: var(--gold-primary);
  padding: 0.55rem 1.35rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.75rem;
  box-shadow: 0 0 25px rgba(141, 27, 60, 0.3);
}

.hero-title {
  font-family: var(--font-queen);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.hero-title span.gold-gradient {
  background: linear-gradient(135deg, #ffffff 0%, var(--gold-primary) 50%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-title span.wine-gradient {
  background: linear-gradient(135deg, var(--rose-accent) 0%, var(--rose-light) 40%, var(--gold-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-muted);
  max-width: 840px;
  margin: 0 auto 2.75rem;
  line-height: 1.75;
  font-weight: 400;
}

.hero-subtitle strong {
  color: var(--text-main);
  font-weight: 700;
}

/* Feature Badges Bar */
.hero-badges-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.hero-badge-pill {
  background: rgba(36, 12, 28, 0.85);
  border: 1px solid var(--glass-border);
  padding: 0.65rem 1.3rem;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-badge-pill span.icon {
  font-size: 1.15rem;
}

/* Hero Centerpiece Artwork Display */
.centerpiece-container {
  margin: 0 auto 3.5rem;
  max-width: 1050px;
  position: relative;
}

.centerpiece-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(251, 191, 36, 0.4);
  box-shadow: 0 30px 80px -15px rgba(0, 0, 0, 0.95), 0 0 50px rgba(141, 27, 60, 0.4);
  background: #000;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  cursor: pointer;
}

.centerpiece-frame:hover {
  transform: translateY(-5px) scale(1.01);
  border-color: var(--gold-primary);
  box-shadow: 0 35px 90px -10px rgba(0, 0, 0, 0.98), 0 0 60px rgba(244, 114, 182, 0.4);
}

.centerpiece-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.centerpiece-frame:hover .centerpiece-img {
  transform: scale(1.03);
}

.centerpiece-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(15, 5, 12, 0.95) 0%, rgba(15, 5, 12, 0.5) 60%, transparent 100%);
  padding: 2.5rem 2rem 1.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.overlay-info {
  text-align: left;
}

.overlay-title {
  font-family: var(--font-queen);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.overlay-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.preview-btn {
  background: linear-gradient(135deg, var(--wine-light), var(--wine-primary));
  border: 1px solid var(--gold-primary);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-wine);
  transition: transform 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.preview-btn:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, var(--rose-accent), var(--wine-light));
}

/* Pledge Box */
.viking-pledge-box,
.queen-pledge-box {
  background: linear-gradient(135deg, rgba(36, 12, 28, 0.9) 0%, rgba(20, 6, 16, 0.95) 100%);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 1050px;
  margin: 0 auto;
  text-align: left;
  box-shadow: var(--shadow-main);
  position: relative;
  overflow: hidden;
}

.viking-pledge-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(244, 114, 182, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.pledge-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.pledge-header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pledge-icon {
  font-size: 1.8rem;
}

.pledge-title {
  font-family: var(--font-queen);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
}

.pledge-date-badge {
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
}

.pledge-intro {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

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

.pledge-item {
  background: rgba(15, 5, 12, 0.6);
  border: 1px solid var(--glass-border);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.pledge-item strong {
  display: block;
  color: var(--text-main);
  font-size: 1rem;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.pledge-item-icon {
  font-size: 1.1rem;
}

.pledge-footer {
  text-align: center;
  border-top: 1px solid var(--glass-border);
  padding-top: 1.25rem;
  color: var(--rose-accent);
  font-weight: 500;
  font-style: italic;
  font-size: 0.95rem;
}

/* Interactive Demo Section */
.game-demo-section {
  padding: 5rem 0;
  background: linear-gradient(to bottom, transparent, rgba(36, 12, 28, 0.4), transparent);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-tag {
  color: var(--rose-accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-queen);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.rune-game-box {
  background: linear-gradient(135deg, rgba(36, 12, 28, 0.95) 0%, rgba(20, 6, 16, 0.98) 100%);
  border: 2px solid rgba(251, 191, 36, 0.35);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(141, 27, 60, 0.3);
  position: relative;
}

.game-score-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: #000;
  font-weight: 900;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  box-shadow: var(--shadow-gold);
}

.game-instructions {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.75rem;
}

.word-target-box {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2rem;
  min-height: 60px;
}

.target-slot {
  width: 52px;
  height: 58px;
  border: 2px dashed rgba(244, 114, 182, 0.35);
  border-radius: var(--radius-sm);
  background: rgba(15, 5, 12, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gold-primary);
  transition: all 0.2s ease;
}

.target-slot.filled {
  border-style: solid;
  border-color: var(--gold-primary);
  background: linear-gradient(135deg, rgba(141, 27, 60, 0.6), rgba(36, 12, 28, 0.8));
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.25);
  animation: popIn 0.2s ease;
}

@keyframes popIn {
  0% { transform: scale(0.8); }
  100% { transform: scale(1); }
}

.tile-pool {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2.25rem;
}

.rune-tile {
  width: 52px;
  height: 58px;
  background: linear-gradient(135deg, rgba(87, 13, 35, 0.9), rgba(141, 27, 60, 0.9));
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  transition: transform 0.15s ease, background 0.15s ease, opacity 0.15s ease;
}

.rune-tile:hover:not(.selected) {
  transform: translateY(-4px) scale(1.05);
  background: linear-gradient(135deg, var(--wine-light), var(--wine-primary));
  box-shadow: 0 8px 20px rgba(141, 27, 60, 0.5);
}

.rune-tile.selected {
  opacity: 0.3;
  cursor: default;
  transform: scale(0.95);
  border-color: rgba(255, 255, 255, 0.2);
}

.game-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--wine-light), var(--wine-primary));
  border: 1px solid var(--gold-primary);
  color: #fff;
  padding: 0.75rem 1.8rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: var(--shadow-wine);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(184, 46, 86, 0.5);
}

.btn-secondary {
  background: rgba(15, 5, 12, 0.7);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(36, 12, 28, 0.9);
  color: var(--text-main);
}

.game-feedback {
  min-height: 28px;
  font-weight: 700;
  font-size: 1.05rem;
}

.game-feedback.success {
  color: var(--gold-light);
  text-shadow: 0 0 10px rgba(251, 191, 36, 0.4);
}

.game-feedback.error {
  color: var(--rose-accent);
}

/* Features Grid */
.features-section {
  padding: 5rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: linear-gradient(135deg, rgba(36, 12, 28, 0.7) 0%, rgba(20, 6, 16, 0.8) 100%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(251, 191, 36, 0.4);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.8), 0 0 30px rgba(141, 27, 60, 0.25);
}

.feature-icon-wrapper {
  font-size: 2.4rem;
  margin-bottom: 1.25rem;
}

.feature-title {
  font-family: var(--font-queen);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.feature-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.feature-tag {
  align-self: flex-start;
  background: rgba(244, 114, 182, 0.12);
  border: 1px solid rgba(244, 114, 182, 0.25);
  color: var(--rose-accent);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Progression Ranks */
.progression-section {
  padding: 5rem 0;
  background: linear-gradient(to bottom, transparent, rgba(36, 12, 28, 0.3), transparent);
}

.rank-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.rank-card {
  background: rgba(20, 6, 16, 0.8);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.rank-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-primary);
}

.rank-icon {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.rank-title {
  font-family: var(--font-queen);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}

.rank-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Codex / Articles */
.codex-section {
  padding: 5rem 0;
}

.codex-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.codex-card {
  background: rgba(36, 12, 28, 0.65);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.codex-badge {
  color: var(--rose-accent);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.75rem;
  display: block;
}

.codex-title {
  font-family: var(--font-queen);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  color: var(--text-main);
}

.codex-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* FAQ Section */
.faq-section {
  padding: 5rem 0;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: rgba(36, 12, 28, 0.7);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.active {
  border-color: rgba(251, 191, 36, 0.4);
}

.faq-question {
  width: 100%;
  padding: 1.35rem 1.5rem;
  background: none;
  border: none;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.4rem;
  color: var(--gold-primary);
  transition: transform 0.3s ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}

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

/* Footer */
.footer {
  background: #080206;
  border-top: 1px solid var(--glass-border);
  padding: 4rem 0 2.5rem;
  text-align: center;
  margin-top: auto;
}

.footer-brand {
  margin-bottom: 1rem;
}

.footer-text {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 0.98rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.75rem;
  list-style: none;
  margin-bottom: 2rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--rose-accent);
}

.footer-keywords-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.seo-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-dim);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
}

.copyright {
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* Image Modal */
.image-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 5, 12, 0.92);
  backdrop-filter: blur(15px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.image-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content-wrapper {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.modal-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-md);
  border: 2px solid var(--gold-primary);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
  display: block;
}

.modal-close {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 44px;
  height: 44px;
  background: var(--wine-primary);
  border: 1px solid var(--gold-primary);
  color: #fff;
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-wine);
}
