/* ============================================
   WestAce Casino - Custom CSS
   Animations, Overrides & Prose Styling
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --bg-deep: #060d1b;
  --bg-primary: #0a1628;
  --bg-secondary: #111d35;
  --bg-card: #152038;
  --bg-card-hover: #1a2847;
  --accent-gold: #d4a637;
  --accent-gold-light: #f0c850;
  --accent-blue: #2563eb;
  --accent-blue-light: #60a5fa;
  --accent-cyan: #22d3ee;
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-color: rgba(37, 99, 235, 0.2);
  --glow-gold: rgba(212, 166, 55, 0.4);
  --glow-blue: rgba(37, 99, 235, 0.35);
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-feature-settings: "kern" 1, "liga" 1;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(175deg, var(--bg-deep) 0%, var(--bg-primary) 40%, #0d1a30 100%);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: var(--accent-blue);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-blue-light);
}

/* --- Typography / Prose --- */
.prose {
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 72ch;
  font-size: 1rem;
}

.prose h2 {
  color: var(--text-primary);
  font-size: 1.75rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.prose h3 {
  color: var(--text-primary);
  font-size: 1.35rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.prose p {
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
}

.prose a {
  color: var(--accent-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.prose a:hover {
  color: var(--accent-gold-light);
}

.prose ul, .prose ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.prose li {
  margin-bottom: 0.4rem;
  color: var(--text-secondary);
}

.prose li::marker {
  color: var(--accent-gold);
}

.prose strong {
  color: var(--text-primary);
  font-weight: 600;
}

.prose blockquote {
  border-left: 3px solid var(--accent-gold);
  padding: 0.75rem 1.25rem;
  margin: 1.5rem 0;
  background: rgba(212, 166, 55, 0.05);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text-secondary);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.prose th, .prose td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.prose th {
  color: var(--text-primary);
  font-weight: 600;
  background: var(--bg-card);
}

/* --- Keyframe Animations --- */

/* Marquee - continuous horizontal scroll */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Parallax float for decorative elements */
@keyframes parallax-float {
  0%, 100% { transform: translateY(0) rotate(45deg); }
  50% { transform: translateY(-25px) rotate(45deg); }
}

@keyframes parallax-float-reverse {
  0%, 100% { transform: translateY(0) rotate(45deg); }
  50% { transform: translateY(20px) rotate(45deg); }
}

/* Pulse glow for CTAs */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 8px var(--glow-gold), 0 0 20px rgba(212, 166, 55, 0.15);
  }
  50% {
    box-shadow: 0 0 18px var(--glow-gold), 0 0 45px rgba(212, 166, 55, 0.25);
  }
}

/* Shimmer effect */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* Subtle floating */
@keyframes float-subtle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Glow pulse for borders */
@keyframes glow-border {
  0%, 100% { border-color: rgba(37, 99, 235, 0.25); }
  50% { border-color: rgba(37, 99, 235, 0.55); }
}

/* Fade in up */
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Spin slow for decorative */
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Scale in */
@keyframes scale-in {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

/* Bets row flash */
@keyframes row-flash-green {
  0% { background-color: rgba(34, 197, 94, 0.2); }
  100% { background-color: transparent; }
}

@keyframes row-flash-red {
  0% { background-color: rgba(239, 68, 68, 0.2); }
  100% { background-color: transparent; }
}

/* Star twinkle */
@keyframes twinkle {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* --- Utility Classes --- */

.animate-fade-in-up {
  animation: fade-in-up 0.6s ease-out both;
}

.animate-scale-in {
  animation: scale-in 0.5s ease-out both;
}

.animate-float {
  animation: float-subtle 4s ease-in-out infinite;
}

.animate-glow-border {
  animation: glow-border 3s ease-in-out infinite;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }
.delay-700 { animation-delay: 0.7s; }

/* --- Components --- */

/* Sticky Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(6, 13, 27, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: background 0.3s, box-shadow 0.3s;
}

.site-header.scrolled {
  background: rgba(6, 13, 27, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

/* CTA Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  background: linear-gradient(135deg, var(--accent-gold), #e8b82e);
  color: #0a0a0a;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
  animation: pulse-glow 3s ease-in-out infinite;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.03);
  filter: brightness(1.1);
  box-shadow: 0 8px 30px var(--glow-gold);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  background: transparent;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 9999px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s;
  letter-spacing: 0.02em;
}

.btn-secondary:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  background: rgba(212, 166, 55, 0.08);
}

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 20px var(--glow-blue);
  border-color: rgba(37, 99, 235, 0.4);
}

/* Slot Card */
.slot-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s,
              border-color 0.35s;
}

.slot-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35), 0 0 25px var(--glow-blue);
  border-color: var(--accent-blue);
}

.slot-card .slot-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.slot-card:hover .slot-img {
  transform: scale(1.06);
}

.slot-card .slot-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 13, 27, 0.9) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.35s;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1rem;
}

.slot-card:hover .slot-overlay {
  opacity: 1;
}

.slot-badge {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  z-index: 2;
}

.badge-rtp { background: #16a34a; color: #fff; }
.badge-jackpot { background: #dc2626; color: #fff; }
.badge-bonus { background: #9333ea; color: #fff; }
.badge-popular { background: var(--accent-gold); color: #0a0a0a; }

/* Hero Section */
.hero-section {
  position: relative;
  margin: 5.5rem 1rem 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(212, 166, 55, 0.08) 0%, transparent 50%),
    linear-gradient(160deg, #0d1a30 0%, #111d35 50%, #0a1628 100%);
  border: 1px solid var(--border-color);
}

/* Diamond decorative shapes (parallax) */
.diamond-deco {
  position: absolute;
  width: 30px;
  height: 30px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.2);
  transform: rotate(45deg);
  border-radius: 4px;
  pointer-events: none;
}

.diamond-deco.d1 {
  top: 12%;
  left: 8%;
  width: 20px;
  height: 20px;
  animation: parallax-float 6s ease-in-out infinite;
}

.diamond-deco.d2 {
  top: 25%;
  right: 12%;
  width: 35px;
  height: 35px;
  animation: parallax-float-reverse 7s ease-in-out infinite;
  background: rgba(212, 166, 55, 0.08);
  border-color: rgba(212, 166, 55, 0.15);
}

.diamond-deco.d3 {
  bottom: 15%;
  left: 18%;
  width: 24px;
  height: 24px;
  animation: parallax-float 8s ease-in-out infinite 1s;
}

.diamond-deco.d4 {
  bottom: 30%;
  right: 6%;
  width: 16px;
  height: 16px;
  animation: parallax-float-reverse 5s ease-in-out infinite 0.5s;
  background: rgba(34, 211, 238, 0.1);
  border-color: rgba(34, 211, 238, 0.2);
}

.diamond-deco.d5 {
  top: 55%;
  left: 45%;
  width: 12px;
  height: 12px;
  animation: parallax-float 9s ease-in-out infinite 2s;
}

/* SVG Pattern Overlay */
.svg-pattern-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L35 10L45 10L37 17L40 27L30 21L20 27L23 17L15 10L25 10Z' fill='%232563eb' fill-opacity='0.5'/%3E%3C/svg%3E");
  background-size: 60px 60px;
}

/* Marquee */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.marquee-container::before,
.marquee-container::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}

.marquee-container::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-primary), transparent);
}

.marquee-container::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-primary), transparent);
}

.marquee-track {
  display: inline-flex;
  gap: 2rem;
  animation: marquee 30s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

/* Section styling */
.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

/* Feature cards */
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-blue);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.feature-card .feature-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}

/* Bets Table */
.bets-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.bets-table th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-secondary);
}

.bets-table td {
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(37, 99, 235, 0.08);
  color: var(--text-secondary);
  transition: background 0.3s;
}

.bets-table tr.win td { color: #4ade80; }
.bets-table tr.lose td { color: #f87171; }
.bets-table tr.new-row { animation: row-flash-green 1s ease-out; }
.bets-table tr.new-row-lose { animation: row-flash-red 1s ease-out; }

/* Payment tabs */
.payment-tab {
  padding: 0.65rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 9999px;
  cursor: pointer;
  border: 1.5px solid var(--border-color);
  background: transparent;
  color: var(--text-secondary);
  transition: all 0.25s;
}

.payment-tab:hover {
  border-color: var(--accent-blue);
  color: var(--text-primary);
}

.payment-tab.active {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #fff;
}

/* Review cards */
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Promo cards */
.promo-card {
  background: linear-gradient(145deg, var(--bg-card), var(--bg-secondary));
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.promo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
  border-color: var(--accent-gold);
}

.promo-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(212, 166, 55, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* CTA Banner */
.cta-banner {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(37, 99, 235, 0.2), transparent 65%),
    radial-gradient(ellipse at 70% 50%, rgba(212, 166, 55, 0.12), transparent 60%),
    linear-gradient(135deg, #0d1a30, #152038);
  border: 1px solid var(--border-color);
  padding: 3rem 2rem;
  text-align: center;
}

/* Glow ring for featured slot */
.glow-ring {
  position: relative;
  display: inline-block;
}

.glow-ring::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-blue), var(--accent-gold));
  z-index: -1;
  animation: spin-slow 4s linear infinite;
  filter: blur(6px);
  opacity: 0.7;
}

/* Author card */
.author-card {
  background: linear-gradient(145deg, var(--bg-card), var(--bg-secondary));
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

@media (max-width: 640px) {
  .author-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* Provider pill */
.provider-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 9999px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.25s;
}

.provider-pill:hover {
  border-color: var(--accent-blue);
  color: var(--text-primary);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

/* Mobile nav overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(6, 13, 27, 0.97);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-nav a:hover {
  color: var(--accent-gold);
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  border: none;
  background: none;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Star field background (parallax layer) */
.star {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  animation: twinkle var(--duration, 3s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  pointer-events: none;
}

/* Shimmer button effect */
.btn-shimmer {
  background-size: 200% 100%;
  background-image: linear-gradient(
    90deg,
    var(--accent-gold) 0%,
    var(--accent-gold-light) 25%,
    var(--accent-gold) 50%,
    var(--accent-gold-light) 75%,
    var(--accent-gold) 100%
  );
  animation: shimmer 3s linear infinite;
}

/* Payment table */
.payment-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9rem;
}

.payment-table th {
  padding: 0.75rem 1rem;
  text-align: left;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-secondary);
}

.payment-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(37, 99, 235, 0.08);
  color: var(--text-secondary);
}

.payment-table tr:hover td {
  background: rgba(37, 99, 235, 0.04);
}

/* Responsive */
@media (min-width: 768px) {
  .hero-section {
    margin: 6rem 2rem 0;
  }
}

@media (min-width: 1024px) {
  .hero-section {
    margin: 6rem 3rem 0;
  }

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

@media (min-width: 1280px) {
  .hero-section {
    margin: 6rem 4rem 0;
  }
}

/* Rating stars */
.star-filled { color: var(--accent-gold); }
.star-empty { color: var(--text-muted); }

/* Focus accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Skip to content */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--accent-gold);
  color: #0a0a0a;
  font-weight: 700;
  border-radius: var(--radius-sm);
  z-index: 9999;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0.5rem;
}

/* Fade sections on scroll */
.reveal-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal-section.visible {
  opacity: 1;
  transform: translateY(0);
}
/* ============================================
   TIMELINE CARDS - Horizontal Scroll
   ============================================ */
.timeline-card {
  position: relative;
  background: linear-gradient(135deg, rgba(21, 32, 56, 0.8) 0%, rgba(17, 29, 53, 0.9) 100%);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  min-width: 280px;
  max-width: 280px;
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-card:hover {
  background: linear-gradient(135deg, rgba(26, 40, 71, 0.9) 0%, rgba(21, 32, 56, 1) 100%);
  border-color: rgba(37, 99, 235, 0.4);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15), 0 0 30px rgba(212, 166, 55, 0.1);
}

.timeline-number {
  position: absolute;
  top: -12px;
  right: 1.5rem;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: #0a0a0a;
  box-shadow: 0 4px 12px var(--glow-gold);
}

.timeline-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(96, 165, 250, 0.1) 100%);
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue-light);
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
}

.timeline-card:hover .timeline-icon {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.3) 0%, rgba(96, 165, 250, 0.2) 100%);
  border-color: rgba(37, 99, 235, 0.5);
  transform: scale(1.1) rotate(5deg);
  color: var(--accent-cyan);
}

.timeline-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.timeline-description {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Custom Scrollbar */
.scrollbar-custom {
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 166, 55, 0.5) rgba(17, 29, 53, 0.4);
}

.scrollbar-custom::-webkit-scrollbar {
  height: 8px;
}

.scrollbar-custom::-webkit-scrollbar-track {
  background: rgba(17, 29, 53, 0.4);
  border-radius: 10px;
}

.scrollbar-custom::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
  border-radius: 10px;
  transition: background 0.3s ease;
}

.scrollbar-custom::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(90deg, var(--accent-gold-light) 0%, var(--accent-gold) 100%);
}