:root {
  --navy: #0d1b3e;
  --navy-dark: #07112a;
  --gold: #c9a84c;
  --gold-light: #e2c97e;
  --velvet: #1a0d2e;
  --text-light: #f0e6d3;
  --text-muted: #b8a98a;
}

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

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

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

@keyframes sparkle {
  0%, 100% { opacity: 0.2; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 10px rgba(201, 168, 76, 0.4); }
  50% { box-shadow: 0 0 30px rgba(201, 168, 76, 0.9); }
}

.shimmer-text {
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

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

.marquee-track {
  display: flex;
  animation: marquee 30s linear infinite;
  width: max-content;
}

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

.sparkle {
  animation: sparkle 2s ease-in-out infinite;
}

.pulse-gold {
  animation: pulse-gold 2s ease-in-out infinite;
}

.hero-bg {
  background-image: url('/images/hero.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-overlay {
  background: linear-gradient(135deg, rgba(7,17,42,0.94) 0%, rgba(26,13,46,0.88) 50%, rgba(7,17,42,0.94) 100%);
}

/* Hero copy: panel + shadows for readability on busy background */
.hero-copy-panel {
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
  padding: 1.75rem 1.5rem 2rem;
  border-radius: 1.25rem;
  background: rgba(7, 17, 42, 0.68);
  border: 1px solid rgba(201, 168, 76, 0.22);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

@media (min-width: 768px) {
  .hero-copy-panel {
    padding: 2.25rem 2.5rem 2.5rem;
  }
}

.hero-headline .shimmer-text {
  filter: drop-shadow(0 2px 14px rgba(0, 0, 0, 0.85));
}

.hero-subline {
  color: #f7f0e4;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.9), 0 1px 2px rgba(0, 0, 0, 0.95);
}

.hero-disclaimer {
  color: #d4caba !important;
  line-height: 1.5;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.75);
}

.hero-outline-btn {
  border: 2px solid var(--gold);
  color: var(--gold-light);
  background: rgba(7, 17, 42, 0.35);
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease,
    transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-outline-btn:hover {
  color: #07112a;
  background: linear-gradient(135deg, #c9a84c 0%, #e2c97e 50%, #c9a84c 100%);
  border-color: #e2c97e;
  box-shadow: 0 6px 24px rgba(201, 168, 76, 0.35);
  transform: translateY(-2px);
}

.gold-border {
  border: 1px solid var(--gold);
}

.gold-gradient-btn {
  background: linear-gradient(135deg, #c9a84c 0%, #e2c97e 50%, #c9a84c 100%);
  background-size: 200% auto;
  transition: background-position 0.4s ease, transform 0.2s ease;
  color: #07112a;
  font-weight: 700;
}

.gold-gradient-btn:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201, 168, 76, 0.45);
}

/* Link hovers (inline color beats Tailwind utilities — set here for visible feedback) */
header nav a:not(.gold-gradient-btn):hover,
#mobile-menu nav a:not(.gold-gradient-btn):hover {
  color: var(--gold-light) !important;
  text-decoration: underline;
  text-underline-offset: 0.28rem;
  text-decoration-color: rgba(201, 168, 76, 0.65);
  text-decoration-thickness: 1px;
}

header .max-w-screen-xl > a[href="/"] {
  transition: filter 0.2s ease, transform 0.2s ease;
}

header .max-w-screen-xl > a[href="/"]:hover {
  filter: brightness(1.12);
  transform: scale(1.02);
}

footer a:not(.gold-gradient-btn):hover {
  color: var(--gold-light) !important;
  text-decoration: underline;
  text-underline-offset: 0.22rem;
  text-decoration-color: rgba(201, 168, 76, 0.55);
  text-decoration-thickness: 1px;
  border-color: rgba(226, 201, 126, 0.45) !important;
}

.prose a:hover {
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(226, 201, 126, 0.85);
}

.navy-card {
  background: linear-gradient(135deg, #0d1b3e 0%, #1a0d2e 100%);
  border: 1px solid rgba(201, 168, 76, 0.25);
}

.velvet-section {
  background: linear-gradient(180deg, #1a0d2e 0%, #0d1b3e 100%);
}

.star-bg {
  background-image: radial-gradient(circle, rgba(201,168,76,0.15) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Prose styles */
.prose {
  color: var(--text-light);
  max-width: 100%;
  line-height: 1.8;
  font-size: 1rem;
}

.prose h2 {
  color: var(--gold);
  font-size: 1.6rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(201, 168, 76, 0.3);
  padding-bottom: 0.4rem;
}

.prose h3 {
  color: var(--gold-light);
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.prose p {
  margin-bottom: 1.2rem;
  color: #d6c9b8;
}

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

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

.prose ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
  color: #d6c9b8;
}

.prose ol {
  list-style: decimal;
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
  color: #d6c9b8;
}

.prose li {
  margin-bottom: 0.4rem;
}

.prose blockquote {
  border-left: 4px solid var(--gold);
  padding-left: 1rem;
  margin: 1.5rem 0;
  color: var(--text-muted);
  font-style: italic;
  background: rgba(201, 168, 76, 0.05);
  border-radius: 0 4px 4px 0;
  padding: 0.75rem 1rem;
}

.prose table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  white-space: nowrap;
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.prose thead {
  background: rgba(201, 168, 76, 0.15);
}

.prose th {
  color: var(--gold);
  font-weight: 700;
  padding: 0.6rem 1rem;
  border: 1px solid rgba(201, 168, 76, 0.2);
  text-align: left;
}

.prose td {
  color: #d6c9b8;
  padding: 0.6rem 1rem;
  border: 1px solid rgba(201, 168, 76, 0.15);
}

.prose tr:hover td {
  background: rgba(201, 168, 76, 0.05);
}

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1.5rem 0;
  border: 1px solid rgba(201, 168, 76, 0.2);
}

.overflow-x-auto {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Mobile menu */
#mobile-menu {
  background: #07112a;
  border-top: 1px solid rgba(201, 168, 76, 0.3);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--navy-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 3px;
}
