/* ========================================
   RICHARD JONES - ULTRA PREMIUM TRIBUTE
   ======================================== */

/* --- Custom Properties --- */
:root {
  --gold: #d4af37;
  --gold-light: #f0d060;
  --gold-dark: #b8960c;
  --gold-glow: rgba(212, 175, 55, 0.6);
  --navy: #0a0e27;
  --navy-light: #131842;
  --navy-mid: #1a1f4e;
  --cream: #faf6eb;
  --white: #ffffff;
  --text: #e8e6e3;
  --text-muted: #9a97a0;
  --accent: #6c63ff;
  --accent-secondary: #ff6b6b;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: cubic-bezier(0.4, 0, 0.2, 1);
  --bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --shadow-gold: 0 0 40px rgba(212, 175, 55, 0.15);
  --shadow-deep: 0 25px 60px rgba(0, 0, 0, 0.4);
  --shadow-premium: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(212, 175, 55, 0.08);
}

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

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

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* --- Premium Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--navy);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold-dark), var(--gold), var(--gold-dark));
  border-radius: 4px;
}

/* --- Selection --- */
::selection {
  background: var(--gold);
  color: var(--navy);
}

/* ========================================
   SCROLL PROGRESS BAR
   ======================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light), var(--gold));
  z-index: 10000;
  transform-origin: left;
  transform: scaleX(0);
  transition: none;
  box-shadow: 0 0 10px var(--gold-glow), 0 0 20px rgba(212, 175, 55, 0.3);
}

/* ========================================
   NOISE TEXTURE OVERLAY
   ======================================== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.02'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9998;
  opacity: 0.4;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.2rem 2rem;
  transition: all 0.5s var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 14, 39, 0.85);
  backdrop-filter: blur(30px) saturate(1.5);
  -webkit-backdrop-filter: blur(30px) saturate(1.5);
  padding: 0.8rem 2rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(212, 175, 55, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
  transition: all 0.4s var(--transition);
  position: relative;
}

.nav-logo:hover {
  transform: scale(1.05);
  text-shadow: 0 0 20px var(--gold-glow);
}

.nav-logo span {
  color: var(--white);
  font-weight: 300;
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transition: width 0.4s var(--transition);
  box-shadow: 0 0 8px var(--gold-glow);
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
  z-index: 1001;
}

.hamburger span {
  width: 28px;
  height: 2px;
  background: var(--gold);
  transition: all 0.3s var(--transition);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(10, 14, 39, 0.98);
  backdrop-filter: blur(30px);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  z-index: 999;
}

.nav-mobile.active {
  display: flex;
}

.nav-mobile a {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--text);
  transition: all 0.3s;
  position: relative;
}

.nav-mobile a:hover {
  color: var(--gold);
  text-shadow: 0 0 20px var(--gold-glow);
}

/* ========================================
   HERO SECTION - ULTRA PREMIUM
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(108, 99, 255, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(255, 107, 107, 0.05) 0%, transparent 50%);
}

/* Aurora / animated gradient background */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: conic-gradient(
    from 0deg at 50% 50%,
    rgba(212, 175, 55, 0.05) 0deg,
    rgba(108, 99, 255, 0.05) 60deg,
    rgba(255, 107, 107, 0.03) 120deg,
    rgba(212, 175, 55, 0.08) 180deg,
    rgba(108, 99, 255, 0.03) 240deg,
    rgba(255, 107, 107, 0.05) 300deg,
    rgba(212, 175, 55, 0.05) 360deg
  );
  animation: auroraRotate 30s linear infinite;
}

@keyframes auroraRotate {
  0% { transform: rotate(0deg) scale(1.5); }
  100% { transform: rotate(360deg) scale(1.5); }
}

/* Animated orbs */
.hero-bg::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
  top: 20%;
  left: 60%;
  animation: orbFloat 12s ease-in-out infinite alternate;
  filter: blur(60px);
}

@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-100px, 50px) scale(1.1); }
  66% { transform: translate(50px, -80px) scale(0.9); }
  100% { transform: translate(-30px, 30px) scale(1.05); }
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 8s infinite;
  box-shadow: 0 0 6px var(--gold-glow);
}

@keyframes particleFloat {
  0% { opacity: 0; transform: translateY(100vh) scale(0); }
  10% { opacity: 0.8; }
  90% { opacity: 0.8; }
  100% { opacity: 0; transform: translateY(-10vh) scale(1); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 2rem;
}

.hero-subtitle {
  font-size: 0.95rem;
  letter-spacing: 8px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 1s 0.3s var(--transition) forwards;
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: heroTitleReveal 1.2s 0.6s var(--transition) forwards;
}

@keyframes heroTitleReveal {
  0% {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light), var(--gold));
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s ease-in-out infinite;
  position: relative;
}

@keyframes shimmer {
  0% { background-position: 0% center; }
  50% { background-position: 100% center; }
  100% { background-position: 0% center; }
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  opacity: 0;
  animation: fadeInUp 1s 0.9s var(--transition) forwards;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 1s 1.2s var(--transition) forwards;
}

/* --- Premium Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s var(--transition);
  border: none;
  position: relative;
  overflow: hidden;
}

/* Button shine sweep effect */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.6s var(--transition);
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
  color: var(--navy);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 50px rgba(212, 175, 55, 0.5), 0 0 30px rgba(212, 175, 55, 0.2);
}

.btn-secondary {
  background: transparent;
  color: var(--gold);
  border: 2px solid rgba(212, 175, 55, 0.5);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-4px) scale(1.02);
  border-color: var(--gold);
  box-shadow: 0 16px 50px rgba(212, 175, 55, 0.3);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeIn 1s 2s var(--transition) forwards;
}

.scroll-indicator span {
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--gold);
  border-radius: 12px;
  position: relative;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.scroll-mouse::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(14px); }
}

/* ========================================
   SECTIONS GENERAL
   ======================================== */
.section {
  padding: 8rem 2rem;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-tag {
  font-size: 0.85rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-light), var(--gold), transparent);
  margin: 1.5rem auto;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.section-divider::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  animation: dividerShine 3s ease-in-out infinite;
}

@keyframes dividerShine {
  0% { left: -50%; }
  100% { left: 150%; }
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

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

/* ========================================
   ANIMATED GRADIENT BORDER MIXIN
   ======================================== */
.glow-border {
  position: relative;
}

.glow-border::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.3), rgba(108, 99, 255, 0.2), rgba(212, 175, 55, 0.3));
  background-size: 200% 200%;
  animation: borderGlow 4s ease-in-out infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
}

.glow-border:hover::before {
  opacity: 1;
}

@keyframes borderGlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ========================================
   FLIP CARDS
   ======================================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.flip-card {
  perspective: 1200px;
  height: 380px;
  cursor: pointer;
}

.flip-card-inner {
  width: 100%;
  height: 100%;
  transition: transform 0.8s var(--transition);
  transform-style: preserve-3d;
  position: relative;
}

.flip-card:hover .flip-card-inner,
.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 20px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.flip-card-front {
  background: linear-gradient(145deg, var(--navy-light), var(--navy-mid));
  border: 1px solid rgba(212, 175, 55, 0.15);
  box-shadow: var(--shadow-premium);
  align-items: center;
  text-align: center;
  transition: box-shadow 0.4s;
}

.flip-card:hover .flip-card-front {
  box-shadow: var(--shadow-premium), 0 0 40px rgba(212, 175, 55, 0.1);
}

.flip-card-front .card-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  filter: grayscale(0);
  animation: float 4s ease-in-out infinite;
}

.flip-card-front h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.flip-card-front p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.flip-card-back {
  background: linear-gradient(145deg, var(--gold-dark), var(--gold), var(--gold-light));
  color: var(--navy);
  transform: rotateY(180deg);
  box-shadow: 0 20px 60px rgba(212, 175, 55, 0.3);
}

.flip-card-back h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.flip-card-back p {
  font-size: 0.95rem;
  line-height: 1.8;
}

.flip-card-back .card-hint {
  margin-top: auto;
  font-size: 0.8rem;
  opacity: 0.7;
  font-style: italic;
}

/* ========================================
   ACCORDION
   ======================================== */
.accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  background: linear-gradient(145deg, var(--navy-light), var(--navy-mid));
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s var(--transition);
}

.accordion-item:hover {
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(212, 175, 55, 0.05);
}

.accordion-item.active {
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(212, 175, 55, 0.08);
}

.accordion-header {
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.3s;
  user-select: none;
}

.accordion-header:hover {
  background: rgba(212, 175, 55, 0.03);
}

.accordion-header h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--cream);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.accordion-header h3 .acc-icon {
  font-size: 1.5rem;
}

.accordion-arrow {
  width: 24px;
  height: 24px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s var(--transition);
  flex-shrink: 0;
}

.accordion-arrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg) translate(-1px, -1px);
  transition: transform 0.4s var(--transition);
}

.accordion-item.active .accordion-arrow {
  background: var(--gold);
  transform: rotate(180deg);
  box-shadow: 0 0 15px var(--gold-glow);
}

.accordion-item.active .accordion-arrow::before {
  border-color: var(--navy);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--transition), padding 0.5s var(--transition);
}

.accordion-content-inner {
  padding: 0 2rem 1.5rem;
  color: var(--text-muted);
  line-height: 1.9;
  font-size: 1rem;
}

.accordion-content-inner blockquote {
  border-left: 3px solid var(--gold);
  padding-left: 1.5rem;
  margin: 1rem 0;
  font-style: italic;
  color: var(--cream);
}

/* ========================================
   TIMELINE
   ======================================== */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--gold), var(--gold), transparent);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 40px);
  margin-bottom: 3rem;
  position: relative;
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s var(--transition);
}

.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: calc(50% + 40px);
  transform: translateX(30px);
}

.timeline-item:nth-child(even).visible {
  transform: translateX(0);
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  background: var(--gold);
  border-radius: 50%;
  border: 3px solid var(--navy);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4), 0 0 40px rgba(212, 175, 55, 0.2);
  z-index: 2;
  animation: dotPulse 3s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(212, 175, 55, 0.4); }
  50% { box-shadow: 0 0 30px rgba(212, 175, 55, 0.6), 0 0 60px rgba(212, 175, 55, 0.2); }
}

.timeline-card {
  background: linear-gradient(145deg, var(--navy-light), var(--navy-mid));
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-premium);
  transition: all 0.4s var(--transition);
}

.timeline-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-premium), 0 0 40px rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.3);
}

.timeline-card .year {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  font-weight: 700;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.timeline-card h3 {
  font-size: 1.1rem;
  margin: 0.5rem 0;
  color: var(--cream);
}

.timeline-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ========================================
   STATS / COUNTER
   ======================================== */
.stats-section {
  background: linear-gradient(145deg, var(--navy-light), var(--navy));
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  position: relative;
  overflow: hidden;
}

/* Animated background glow for stats */
.stats-section::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.06) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: statsGlow 6s ease-in-out infinite alternate;
  filter: blur(40px);
}

@keyframes statsGlow {
  0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.5; }
  100% { transform: translate(-50%, -50%) scale(1.3); opacity: 1; }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  text-align: center;
  position: relative;
}

.stat-item {
  padding: 2rem;
  transition: transform 0.3s var(--transition);
}

.stat-item:hover {
  transform: scale(1.05);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ========================================
   QUOTE SECTION
   ======================================== */
.quote-highlight {
  text-align: center;
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}

.quote-highlight::before {
  content: '\201E';
  font-family: var(--font-display);
  font-size: 12rem;
  color: rgba(212, 175, 55, 0.08);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1;
}

/* Subtle animated gradient behind quote */
.quote-highlight::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.04) 0%, transparent 70%);
  animation: quoteGlow 5s ease-in-out infinite alternate;
}

@keyframes quoteGlow {
  0% { opacity: 0.5; }
  100% { opacity: 1; }
}

.quote-text {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-style: italic;
  color: var(--cream);
  max-width: 800px;
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 1;
}

.quote-author {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

/* ========================================
   FEATURE CARDS - PREMIUM
   ======================================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: linear-gradient(145deg, var(--navy-light), var(--navy-mid));
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.5s var(--transition);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

/* Animated gradient border on hover */
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--accent), var(--gold));
  background-size: 200% 100%;
  transform: scaleX(0);
  transition: transform 0.5s var(--transition);
  transform-origin: left;
  animation: gradientSlide 3s linear infinite paused;
}

@keyframes gradientSlide {
  0% { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}

/* Inner glow effect */
.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 40px rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.3);
}

.feature-card:hover::before {
  transform: scaleX(1);
  animation-play-state: running;
}

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

.feature-card .card-emoji {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  animation: float 5s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

.feature-card:nth-child(2) .card-emoji { animation-delay: -1s; }
.feature-card:nth-child(3) .card-emoji { animation-delay: -2s; }
.feature-card:nth-child(4) .card-emoji { animation-delay: -0.5s; }
.feature-card:nth-child(5) .card-emoji { animation-delay: -1.5s; }
.feature-card:nth-child(6) .card-emoji { animation-delay: -2.5s; }

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--cream);
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
}

/* ========================================
   PARALLAX TEXT
   ======================================== */
.parallax-text-section {
  padding: 4rem 0;
  overflow: hidden;
  position: relative;
}

.parallax-text {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 8rem);
  font-weight: 700;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(212, 175, 55, 0.15);
  animation: marquee 20s linear infinite;
  text-shadow: 0 0 40px rgba(212, 175, 55, 0.03);
}

/* Second layer for depth */
.parallax-text-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--navy) 0%, transparent 10%, transparent 90%, var(--navy) 100%);
  pointer-events: none;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========================================
   CONTACT / GUESTBOOK
   ======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--cream);
  margin-bottom: 1.5rem;
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  transition: transform 0.3s var(--transition);
}

.contact-detail:hover {
  transform: translateX(8px);
}

.contact-detail .icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(145deg, var(--navy-light), var(--navy-mid));
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: all 0.3s var(--transition);
}

.contact-detail:hover .icon {
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
}

.contact-detail span {
  color: var(--cream);
  font-size: 1rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  position: relative;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1.2rem 1.5rem;
  background: var(--navy-light);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 12px;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.4s var(--transition);
  outline: none;
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.1), 0 0 40px rgba(212, 175, 55, 0.05);
  background: rgba(19, 24, 66, 0.8);
}

.form-group label {
  position: absolute;
  top: -0.6rem;
  left: 1rem;
  background: var(--navy-light);
  padding: 0 0.5rem;
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--navy-light);
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  padding: 4rem 2rem 2rem;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.3;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--text-muted);
  max-width: 350px;
}

.footer-links h4 {
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  transition: all 0.3s;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(212, 175, 55, 0.08);
  padding-top: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-bottom .heart {
  color: var(--accent-secondary);
  display: inline-block;
  animation: heartbeat 2s infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.2); }
  50% { transform: scale(1); }
  75% { transform: scale(1.15); }
}

/* ========================================
   SCROLL ANIMATIONS - ENHANCED
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s var(--transition);
  filter: blur(5px);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: all 0.8s var(--transition);
  filter: blur(5px);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.8s var(--transition);
  filter: blur(5px);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: all 0.8s var(--transition);
  filter: blur(5px);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

/* Staggered animation delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ========================================
   KEYFRAME ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

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

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

@keyframes glow {
  0%, 100% { box-shadow: 0 0 20px rgba(212, 175, 55, 0.2); }
  50% { box-shadow: 0 0 40px rgba(212, 175, 55, 0.4); }
}

/* ========================================
   GLASSMORPHISM CARDS
   ======================================== */
.glass-card {
  background: rgba(19, 24, 66, 0.5);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.4s var(--transition);
}

.glass-card:hover {
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(212, 175, 55, 0.08);
  transform: translateY(-5px);
}

/* ========================================
   PAGE HEADER (subpages)
   ======================================== */
.page-header {
  padding: 10rem 2rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 30%, rgba(108, 99, 255, 0.05) 0%, transparent 50%);
}

/* Animated orb for page headers */
.page-header::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
  top: 30%;
  right: -10%;
  animation: orbFloat 15s ease-in-out infinite alternate;
  filter: blur(60px);
}

.page-header .section-title,
.page-header .section-tag,
.page-header .section-description,
.page-header .section-divider {
  position: relative;
  z-index: 1;
}

/* ========================================
   GUESTBOOK ENTRIES
   ======================================== */
.guestbook-entries {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.guestbook-entry {
  background: linear-gradient(145deg, var(--navy-light), var(--navy-mid));
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.4s var(--transition);
}

.guestbook-entry:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.25);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 20px rgba(212, 175, 55, 0.05);
}

.guestbook-entry .entry-author {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.guestbook-entry .entry-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.guestbook-entry .entry-text {
  color: var(--text);
  font-style: italic;
  line-height: 1.8;
}

/* ========================================
   3D TILT EFFECT (applied via JS)
   ======================================== */
.tilt-card {
  transform-style: preserve-3d;
  will-change: transform;
}

.tilt-card > * {
  transform: translateZ(20px);
}

/* ========================================
   CURSOR GLOW DOT
   ======================================== */
.cursor-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  background: transparent;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 3px 1px rgba(255, 255, 255, 0.9),
    0 0 8px 2px rgba(212, 175, 55, 0.8),
    0 0 20px 6px rgba(212, 175, 55, 0.4),
    0 0 40px 12px rgba(212, 175, 55, 0.15),
    0 0 60px 20px rgba(212, 175, 55, 0.05);
}

/* ========================================
   INTERACTIVE FLOATING ORBS
   ======================================== */
.interactive-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.interactive-orb {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;
  will-change: transform;
}

/* ========================================
   MAGNETIC BUTTON EFFECT
   ======================================== */
.magnetic-wrap {
  display: inline-block;
}

/* ========================================
   RESPONSIVE
   ======================================== */

/* --- Touch device adjustments --- */
@media (hover: none) and (pointer: coarse) {
  .accordion-header {
    min-height: 56px;
  }

  .contact-detail {
    padding: 0.25rem 0;
  }

  .interactive-orbs,
  .cursor-dot {
    display: none !important;
  }
}

/* --- Tablet & small desktop --- */
@media (max-width: 968px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    padding-left: 60px;
    padding-right: 0;
    justify-content: flex-start;
  }

  .timeline-dot {
    left: 20px;
  }

  .page-header {
    padding: 8rem 1.5rem 3.5rem;
  }

  .section-header {
    margin-bottom: 3.5rem;
  }

  .feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

/* --- Mobile landscape & large phones --- */
@media (max-width: 600px) {
  html {
    font-size: 15px;
  }

  .section {
    padding: 4rem 1.25rem;
  }

  .page-header {
    padding: 7rem 1.25rem 2.5rem;
  }

  .page-header .section-title {
    font-size: clamp(1.6rem, 6vw, 2.5rem);
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-description {
    font-size: 1rem;
  }

  .hero-content {
    padding: 0 1.25rem;
  }

  .hero-subtitle {
    font-size: 0.8rem;
    letter-spacing: 4px;
  }

  .hero-description {
    font-size: 1.05rem;
    margin-bottom: 2rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .btn {
    padding: 0.9rem 2rem;
    font-size: 0.85rem;
    width: 100%;
    justify-content: center;
    max-width: 280px;
  }

  .scroll-indicator {
    display: none;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .flip-card {
    height: auto;
    min-height: 300px;
  }

  .flip-card-front,
  .flip-card-back {
    padding: 2rem 1.5rem;
  }

  .flip-card-front .card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  .flip-card-front h3 {
    font-size: 1.3rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 2rem 1.5rem;
  }

  .guestbook-entries {
    grid-template-columns: 1fr;
  }

  .guestbook-entry {
    padding: 1.5rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .stat-item {
    padding: 1.25rem 0.75rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .stat-label {
    font-size: 0.75rem;
    letter-spacing: 1px;
  }

  .accordion-header {
    padding: 1.25rem 1.25rem;
  }

  .accordion-header h3 {
    font-size: 1rem;
    gap: 0.75rem;
  }

  .accordion-content-inner {
    padding: 0 1.25rem 1.25rem;
    font-size: 0.95rem;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    padding-left: 50px;
  }

  .timeline-card {
    padding: 1.5rem;
  }

  .timeline-card .year {
    font-size: 1.5rem;
  }

  .timeline-card p {
    font-size: 0.9rem;
  }

  .quote-highlight {
    padding: 4rem 1.25rem;
  }

  .quote-highlight::before {
    font-size: 8rem;
  }

  .contact-info h3 {
    font-size: 1.5rem;
  }

  .contact-info p {
    font-size: 0.95rem;
  }

  .contact-detail .icon {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }

  .contact-detail span {
    font-size: 0.9rem;
  }

  .form-group input,
  .form-group textarea {
    padding: 1rem 1.25rem;
    font-size: 16px;
  }

  .footer {
    padding: 3rem 1.25rem 1.5rem;
  }

  .footer-content {
    gap: 1.5rem;
  }

  .footer-brand h3 {
    font-size: 1.5rem;
  }

  .footer-bottom {
    font-size: 0.8rem;
  }

  .parallax-text-section {
    padding: 2.5rem 0;
  }

  .particle {
    display: none;
  }

  /* Reduce blur filter for mobile perf */
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    filter: none;
  }

  .reveal.visible,
  .reveal-left.visible,
  .reveal-right.visible,
  .reveal-scale.visible {
    filter: none;
  }
}

/* --- Small phones --- */
@media (max-width: 380px) {
  html {
    font-size: 14px;
  }

  .navbar {
    padding: 1rem 1rem;
  }

  .navbar.scrolled {
    padding: 0.6rem 1rem;
  }

  .hero-title {
    font-size: clamp(2.2rem, 10vw, 4rem);
  }

  .flip-card-front,
  .flip-card-back {
    padding: 1.5rem 1.25rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .stat-item {
    padding: 1rem;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    padding-left: 45px;
  }

  .timeline-card {
    padding: 1.25rem;
  }

  .accordion-header h3 .acc-icon {
    font-size: 1.2rem;
  }

  .nav-mobile a {
    font-size: 1.5rem;
  }
}

/* --- Landscape on phones --- */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 6rem 2rem 3rem;
  }

  .scroll-indicator {
    display: none;
  }

  .page-header {
    padding: 5rem 1.5rem 2rem;
  }

  .nav-mobile a {
    font-size: 1.2rem;
  }

  .nav-mobile {
    gap: 1rem;
  }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
