/* ===========================
   Custom Properties — Premium Luxury
   =========================== */
:root {
  --bg-cream: #faf8f5;
  --bg-white: #ffffff;
  --bg-dark: #1a1a1a;
  --text-primary: #1a1a1a;
  --text-muted: #6b6b6b;
  --gold: #c9a84c;
  --gold-hover: #b8963f;
  --border: #e8e4df;
  --border-light: #f0ece7;
  --white: #ffffff;
  --cream: #faf8f5;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', sans-serif;
  --nav-height: 72px;
  --radius: 4px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-primary);
  background: var(--bg-cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

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

/* ===========================
   Utilities
   =========================== */
.container {
  width: 88%;
  max-width: 1080px;
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}

.section__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   Buttons
   =========================== */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  padding: 14px 36px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn--dark {
  background: var(--bg-dark);
  color: var(--white);
}

.btn--dark:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(26, 26, 26, 0.2);
}

.btn--gold {
  background: var(--gold);
  color: var(--white);
}

.btn--gold:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(201, 168, 76, 0.25);
}

.btn--gold-on-dark {
  background: var(--gold);
  color: var(--bg-dark);
  font-weight: 600;
}

.btn--gold-on-dark:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(201, 168, 76, 0.3);
}

.btn--outline-cream {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid rgba(250, 248, 245, 0.5);
}

.btn--outline-cream:hover {
  background: rgba(250, 248, 245, 0.1);
  border-color: var(--cream);
  transform: translateY(-2px);
}

/* ===========================
   Navigation
   =========================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  background: var(--bg-cream);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 88%;
  max-width: 1080px;
  margin: 0 auto;
}

.nav__brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--text-primary);
}

.nav__shop-btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 24px;
  background: var(--gold);
  color: var(--white);
  border-radius: 50px;
  transition: background var(--transition), transform var(--transition);
}

.nav__shop-btn:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
}

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

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav__hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===========================
   Hero
   =========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bg-cream);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 0 20px;
}

.hero__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(3rem, 9vw, 5.5rem);
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.hero__tagline {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-muted);
  margin-bottom: 28px;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.hero__rule {
  width: 60px;
  border: none;
  border-top: 1.5px solid var(--gold);
  margin: 0 auto 36px;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.4rem;
  color: var(--border);
  animation: bounce 2.5s ease-in-out infinite;
}

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

/* ===========================
   About
   =========================== */
.about {
  text-align: center;
  background: var(--bg-white);
}

.about__intro {
  max-width: 680px;
  margin: 0 auto 52px;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.85;
}

.about__badges {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 32px 40px;
  background: var(--bg-cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), transform var(--transition);
}

.badge:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.badge__icon {
  font-size: 1.8rem;
  color: var(--gold);
}

.badge__label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
  letter-spacing: 0.04em;
}

.badge__sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===========================
   Card Collecting
   =========================== */
.cards {
  background: var(--bg-cream);
}

.cards__grid {
  display: grid;
  gap: 48px;
}

.cards__text p {
  margin-bottom: 16px;
  line-height: 1.85;
  color: var(--text-muted);
}

.promo-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 44px 36px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.promo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.promo-card__badge {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 4px 16px;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 50px;
  margin-bottom: 20px;
}

.promo-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.promo-card__desc {
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.7;
}

/* ===========================
   Stock Trading
   =========================== */
.trading {
  text-align: center;
  background: var(--bg-white);
}

.trading__intro {
  max-width: 640px;
  margin: 0 auto 44px;
  line-height: 1.85;
  color: var(--text-muted);
}

.trading__grid {
  display: grid;
  gap: 24px;
}

.insight-card {
  background: var(--bg-cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.insight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
}

.insight-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.insight-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}

.insight-card p {
  color: var(--text-muted);
  line-height: 1.75;
}

/* ===========================
   Sports
   =========================== */
.sports {
  background: var(--bg-cream);
}

.sports__intro {
  max-width: 640px;
  margin-bottom: 40px;
  line-height: 1.85;
  color: var(--text-muted);
}

.sports__tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.sport-tile {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 16px 32px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  transition: border-color var(--transition), transform var(--transition);
  cursor: default;
}

.sport-tile:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.sports__quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-muted);
  border-left: 2px solid var(--gold);
  padding-left: 24px;
  max-width: 500px;
}

/* ===========================
   Final CTA
   =========================== */
.cta {
  text-align: center;
  background: var(--bg-dark);
}

.cta__content {
  position: relative;
  z-index: 1;
}

.cta__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--cream);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.cta__sub {
  color: rgba(250, 248, 245, 0.6);
  margin-bottom: 36px;
  font-size: 1.05rem;
}

.cta__buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===========================
   Footer
   =========================== */
.footer {
  padding: 64px 0 0;
  background: var(--bg-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer .nav__brand {
  color: var(--cream);
}

.footer__grid {
  display: grid;
  gap: 40px;
  padding-bottom: 44px;
}

.footer__brand p {
  color: rgba(250, 248, 245, 0.5);
  margin-top: 8px;
  font-size: 0.9rem;
}

.footer__links h4,
.footer__social h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--cream);
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}

.footer__links a,
.footer__social a {
  display: block;
  color: rgba(250, 248, 245, 0.5);
  font-size: 0.9rem;
  padding: 4px 0;
  transition: color var(--transition);
}

.footer__links a:hover,
.footer__social a:hover {
  color: var(--gold);
}

.footer__bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  text-align: center;
}

.footer__bar p {
  color: rgba(250, 248, 245, 0.35);
  font-size: 0.8rem;
}

/* ===========================
   Responsive — Tablet (768px)
   =========================== */
@media (min-width: 768px) {
  .cards__grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .trading__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

/* ===========================
   Responsive — Desktop (1024px)
   =========================== */
@media (min-width: 1024px) {
  .section {
    padding: 120px 0;
  }

  .section__title {
    font-size: 2.4rem;
  }
}

/* ===========================
   Mobile Nav (below 768px)
   =========================== */
@media (max-width: 767px) {
  .nav__hamburger {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    align-items: flex-start;
    padding: 88px 36px 36px;
    gap: 22px;
    background: var(--bg-cream);
    border-left: 1px solid var(--border);
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 999;
  }

  .nav__links.open {
    transform: translateX(0);
  }

  .nav__link {
    font-size: 1rem;
  }

  .nav__shop-btn {
    margin-top: 8px;
  }
}
