/* ===================================
   Fantasy Legends — Landing Page CSS
   Brand: Red (#C8102E) + Gold (#D4A843)
   Dark background: #0D0D0D / #141414
   =================================== */

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

/* ---------- CSS Variables ---------- */
:root {
  --brand-red: #C8102E;
  --brand-red-dark: #9B0D24;
  --brand-red-light: #E8334A;
  --brand-gold: #D4A843;
  --brand-gold-dark: #B08C35;
  --brand-gold-light: #E8C76A;
  --bg-primary: #0D0D0D;
  --bg-secondary: #141414;
  --bg-card: #1A1A1A;
  --bg-card-hover: #222222;
  --text-primary: #F5F5F5;
  --text-secondary: #A0A0A0;
  --text-muted: #666666;
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
  --shadow-glow-red: 0 0 40px rgba(200, 16, 46, 0.3);
  --shadow-glow-gold: 0 0 40px rgba(212, 168, 67, 0.3);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

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

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--brand-red-dark);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--brand-red);
}

/* ---------- Utility Classes ---------- */
.text-gold {
  color: var(--brand-gold) !important;
}
.text-red {
  color: var(--brand-red) !important;
}
.text-muted-custom {
  color: var(--text-secondary) !important;
}

.bg-dark-custom {
  background-color: var(--bg-primary) !important;
}

.section-padding {
  padding: 100px 0;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--brand-gold-light), var(--brand-gold), var(--brand-gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 400;
  max-width: 600px;
}

.divider-gold {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-gold), var(--brand-red));
  border: none;
  border-radius: 2px;
  margin: 1rem 0 1.5rem;
}

/* ---------- Navbar ---------- */
.navbar-fantasy {
  background: rgba(13, 13, 13, 0.85) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 0.8rem 0;
  transition: all var(--transition-normal);
  z-index: 1000;
}

.navbar-fantasy.scrolled {
  background: rgba(13, 13, 13, 0.95) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.navbar-brand-text {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--brand-gold-light), var(--brand-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
}

.navbar-fantasy .nav-link {
  color: var(--text-secondary) !important;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  padding: 0.5rem 1.2rem !important;
  position: relative;
  transition: color var(--transition-fast);
  text-transform: uppercase;
}

.navbar-fantasy .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--brand-gold);
  transition: all var(--transition-normal);
  transform: translateX(-50%);
}

.navbar-fantasy .nav-link:hover {
  color: var(--brand-gold) !important;
}

.navbar-fantasy .nav-link:hover::after {
  width: 60%;
}

.logo-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
  border-radius: var(--radius-sm);
  margin-right: 10px;
  font-family: 'Cinzel', serif;
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--brand-gold);
  box-shadow: 0 4px 15px rgba(200, 16, 46, 0.3);
}

/* ---------- Hero Section ---------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-primary);
}

.hero-bg-effects {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-bg-effects::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(200, 16, 46, 0.15) 0%, transparent 70%);
  animation: floatBlob 15s ease-in-out infinite;
}

.hero-bg-effects::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 168, 67, 0.1) 0%, transparent 70%);
  animation: floatBlob 18s ease-in-out infinite reverse;
}

@keyframes floatBlob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(60px, -40px) scale(1.1); }
  66% { transform: translate(-40px, 30px) scale(0.95); }
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--brand-gold);
  opacity: 0;
  animation: particleFloat 8s ease-in-out infinite;
}

.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.particle:nth-child(2) { left: 30%; top: 60%; animation-delay: 1.5s; }
.particle:nth-child(3) { left: 50%; top: 30%; animation-delay: 3s; }
.particle:nth-child(4) { left: 70%; top: 70%; animation-delay: 4.5s; }
.particle:nth-child(5) { left: 85%; top: 40%; animation-delay: 6s; }
.particle:nth-child(6) { left: 20%; top: 80%; animation-delay: 2s; }
.particle:nth-child(7) { left: 60%; top: 15%; animation-delay: 5s; }
.particle:nth-child(8) { left: 90%; top: 85%; animation-delay: 3.5s; }

@keyframes particleFloat {
  0%, 100% { opacity: 0; transform: translateY(0) scale(0.5); }
  20% { opacity: 0.8; }
  50% { opacity: 0.4; transform: translateY(-80px) scale(1); }
  80% { opacity: 0.6; }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 50px;
  background: rgba(200, 16, 46, 0.15);
  border: 1px solid rgba(200, 16, 46, 0.3);
  color: var(--brand-red-light);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease-out;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-red);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-title .line-1 {
  display: block;
  color: var(--text-primary);
}

.hero-title .line-2 {
  display: block;
  background: linear-gradient(135deg, var(--brand-red-light), var(--brand-red), var(--brand-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

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

/* ---------- CTA Buttons ---------- */
.btn-fantasy-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: 0 8px 30px rgba(200, 16, 46, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-fantasy-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--brand-red-light), var(--brand-red));
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.btn-fantasy-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(200, 16, 46, 0.5);
  color: #fff;
}

.btn-fantasy-primary:hover::before {
  opacity: 1;
}

.btn-fantasy-primary span {
  position: relative;
  z-index: 1;
}

.btn-fantasy-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  background: transparent;
  color: var(--brand-gold);
  border: 2px solid var(--brand-gold-dark);
  border-radius: var(--radius-md);
  font-family: 'Cinzel', serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.btn-fantasy-secondary:hover {
  background: rgba(212, 168, 67, 0.1);
  border-color: var(--brand-gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow-gold);
  color: var(--brand-gold-light);
}

/* ---------- Hero Visual ---------- */
.hero-visual {
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-card-stack {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  perspective: 1000px;
}

.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow-red);
  transition: all var(--transition-slow);
  transform: rotate(-3deg);
}

.hero-card:hover {
  transform: rotate(0deg) scale(1.02);
}

.hero-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.hero-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
}

.hero-card-title {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.3rem;
}

.hero-card-genre {
  font-size: 0.85rem;
  color: var(--brand-gold);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-floating-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 8px 16px;
  background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
  border-radius: 50px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(200, 16, 46, 0.4);
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 4px 15px rgba(200, 16, 46, 0.4); }
  50% { box-shadow: 0 4px 25px rgba(200, 16, 46, 0.7); }
}

.hero-mini-cards {
  position: absolute;
  bottom: -20px;
  right: -40px;
  display: flex;
  gap: 10px;
}

.hero-mini-card {
  width: 70px;
  height: 90px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.5);
  border: 2px solid var(--glass-border);
  transition: all var(--transition-normal);
}

.hero-mini-card:hover {
  transform: translateY(-8px);
  border-color: var(--brand-gold);
}

.hero-mini-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Stats Bar ---------- */
.stats-bar {
  padding: 50px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
}

.stats-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-gold-dark), transparent);
}

.stat-item {
  text-align: center;
  padding: 1rem;
}

.stat-number {
  font-family: 'Cinzel', serif;
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--brand-gold-light), var(--brand-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}

/* ---------- Featured Games ---------- */
.featured-section {
  background: var(--bg-primary);
  position: relative;
}

.featured-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200, 16, 46, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.featured-game-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  transition: all var(--transition-slow);
  height: 100%;
}

.featured-game-card:hover {
  transform: translateY(-10px);
  border-color: var(--brand-gold-dark);
  box-shadow: var(--shadow-lg), var(--shadow-glow-gold);
}

.featured-game-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
}

.featured-game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.featured-game-card:hover .featured-game-image img {
  transform: scale(1.08);
}

.featured-game-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.featured-game-card:hover .featured-game-overlay {
  opacity: 1;
}

.featured-overlay-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.featured-overlay-btn:hover {
  background: linear-gradient(135deg, var(--brand-red-light), var(--brand-red));
  color: #fff;
}

.featured-game-info {
  padding: 1.5rem;
}

.featured-game-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(200, 16, 46, 0.15);
  color: var(--brand-red-light);
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.8rem;
}

.featured-game-name {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.featured-game-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.featured-game-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.featured-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.featured-meta-item i {
  color: var(--brand-gold);
  font-size: 0.85rem;
}

.star-rating {
  color: var(--brand-gold);
  font-size: 0.85rem;
}

/* ---------- All Games Grid ---------- */
.games-section {
  background: var(--bg-secondary);
  position: relative;
}

.game-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  transition: all var(--transition-normal);
  height: 100%;
  cursor: pointer;
}

.game-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-red-dark);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.game-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
}

.game-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.game-card:hover .game-card-image img {
  transform: scale(1.05);
}

.game-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.badge-new {
  background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
  color: #fff;
}

.badge-popular {
  background: linear-gradient(135deg, var(--brand-gold), var(--brand-gold-dark));
  color: #1a1a1a;
}

.badge-coming-soon {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.game-card-info {
  padding: 1.2rem;
}

.game-card-name {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: var(--text-primary);
}

.game-card-genre {
  font-size: 0.78rem;
  color: var(--brand-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.game-card-rating {
  display: flex;
  align-items: center;
  gap: 5px;
}

.game-card-rating .stars {
  color: var(--brand-gold);
  font-size: 0.75rem;
}

.game-card-rating .rating-text {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ---------- About Section ---------- */
.about-section {
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  bottom: -200px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 168, 67, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.about-glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.about-feature {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.about-feature:last-child {
  margin-bottom: 0;
}

.about-feature-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-size: 1.2rem;
  transition: all var(--transition-normal);
}

.about-feature:hover .about-feature-icon {
  transform: scale(1.1);
}

.icon-red {
  background: rgba(200, 16, 46, 0.15);
  color: var(--brand-red-light);
  border: 1px solid rgba(200, 16, 46, 0.2);
}

.icon-gold {
  background: rgba(212, 168, 67, 0.15);
  color: var(--brand-gold);
  border: 1px solid rgba(212, 168, 67, 0.2);
}

.about-feature-title {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.about-feature-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--brand-red), var(--brand-gold));
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 20px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-gold);
  box-shadow: 0 0 10px rgba(212, 168, 67, 0.5);
}

.timeline-year {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.2rem;
}

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

/* ---------- Newsletter / CTA ---------- */
.cta-section {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(200, 16, 46, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(212, 168, 67, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.cta-card {
  background: linear-gradient(135deg, rgba(200, 16, 46, 0.1), rgba(212, 168, 67, 0.05));
  border: 1px solid rgba(200, 16, 46, 0.2);
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-red), var(--brand-gold), transparent);
}

.cta-title {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.cta-text {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 2rem;
}

.cta-input-group {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
}

.cta-input {
  flex: 1;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
  transition: all var(--transition-fast);
}

.cta-input::placeholder {
  color: var(--text-muted);
}

.cta-input:focus {
  border-color: var(--brand-red);
  box-shadow: 0 0 20px rgba(200, 16, 46, 0.15);
}

/* ---------- Footer ---------- */
.footer-fantasy {
  background: var(--bg-primary);
  border-top: 1px solid var(--glass-border);
  padding: 60px 0 30px;
}

.footer-brand {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--brand-gold-light), var(--brand-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.8rem;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  max-width: 300px;
  line-height: 1.7;
}

.footer-title {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--brand-gold);
  transform: translateX(4px);
}

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

.footer-social a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 1.1rem;
  transition: all var(--transition-normal);
}

.footer-social a:hover {
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(200, 16, 46, 0.3);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--glass-border);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ---------- Scroll Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---------- Filter Buttons ---------- */
.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 8px 22px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.filter-btn:hover {
  border-color: var(--brand-gold-dark);
  color: var(--brand-gold);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--brand-red), var(--brand-red-dark));
  border-color: var(--brand-red);
  color: #fff;
  box-shadow: 0 4px 15px rgba(200, 16, 46, 0.3);
}

/* ---------- Vue TransitionGroup (card-fade) ---------- */
/* Enter animation: every time the filter changes and cards re-render */
.card-fade-enter-active {
  animation: cardSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* Leave animation: card exits when filter removes it */
.card-fade-leave-active {
  animation: cardSlideOut 0.25s cubic-bezier(0.4, 0, 0.2, 1) both;
  position: absolute; /* prevent layout shift during leave */
}

/* Stagger entering cards by their DOM order */
.card-fade-enter-active:nth-child(1) { animation-delay: 0s; }
.card-fade-enter-active:nth-child(2) { animation-delay: 0.05s; }
.card-fade-enter-active:nth-child(3) { animation-delay: 0.1s; }
.card-fade-enter-active:nth-child(4) { animation-delay: 0.15s; }
.card-fade-enter-active:nth-child(5) { animation-delay: 0.2s; }
.card-fade-enter-active:nth-child(6) { animation-delay: 0.25s; }

@keyframes cardSlideIn {
  from { opacity: 0; transform: translateY(24px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

@keyframes cardSlideOut {
  from { opacity: 1; transform: scale(1); }
  to   { opacity: 0; transform: scale(0.94); }
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .section-title {
    font-size: 2.2rem;
  }
  .hero-mini-cards {
    right: -10px;
    bottom: -10px;
  }
  .hero-mini-card {
    width: 55px;
    height: 72px;
  }
  .about-glass-card {
    padding: 2rem;
  }
  .cta-card {
    padding: 3rem 1.5rem;
  }
  .cta-input-group {
    flex-direction: column;
  }
}

@media (max-width: 767px) {
  .section-padding {
    padding: 60px 0;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .hero-card-stack {
    max-width: 280px;
    margin-bottom: 2rem;
  }
  .hero-section .row {
    flex-direction: column-reverse;
  }
  .hero-mini-cards {
    display: none;
  }
  .stat-number {
    font-size: 2rem;
  }
  .cta-title {
    font-size: 1.6rem;
  }
  .navbar-brand-text {
    font-size: 1.2rem;
  }
}

/* ---------- Navbar Toggler Custom ---------- */
.navbar-toggler {
  border: 1px solid var(--glass-border) !important;
  padding: 0.4rem 0.6rem;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(212, 168, 67, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}
