/* ================================================================
   PURARI PRODUCTION ACADEMY — Shared Stylesheet
   Fonts, design tokens, universal reset, nav, footer, animations
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');
@import url('https://db.onlinewebfonts.com/c/d002e7c91b889cc10ce21789cfde95dd?family=Sequel+100+Wide+95');

/* ================================================================
   DESIGN TOKENS (consolidated from all sections)
   ================================================================ */
:root {
  --bg: #000000;
  --bg-2: #0a0a0a;
  --bg-3: #111111;
  --bg-card: #0d0d0d;
  --gold: #F5B800;
  --gold-warm: #E6AF2E;
  --gold-soft: rgba(245, 184, 0, 0.22);
  --gold-dim: rgba(245, 184, 0, 0.4);
  --text: #FFFFFF;
  --text-dim: #A8A8B3;
  --text-mid: #C9C9D1;
  --text-faint: #6B6B75;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(245, 184, 0, 0.55);
  --discord: #5865F2;
}

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

html,
body {
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

html {
  background: var(--bg);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

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

a {
  color: inherit;
}

/* ================================================================
   NAVIGATION STYLES
   ================================================================ */
.nav {
  position: relative;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 48px;
  background: var(--bg);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  text-decoration: none;
}

.nav__logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.nav__logo-text {
  font-family: 'Archivo Black', sans-serif;
  font-size: 15px;
  letter-spacing: 1px;
  line-height: 1.1;
}

.nav__logo-text small {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 400;
  color: var(--text-dim);
  letter-spacing: 2px;
  margin-top: 3px;
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav__links a {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  opacity: 0.8;
  transition: opacity 0.2s, color 0.2s;
  position: relative;
}

.nav__links a:hover {
  opacity: 1;
  color: var(--gold);
}

.nav__links a.is-active {
  color: var(--gold);
  opacity: 1;
}

.nav__links a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
  border-radius: 2px;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border: 1.5px solid var(--gold);
  border-radius: 999px;
  color: var(--gold);
  background: transparent;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.nav__cta::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--gold);
}

.nav__cta:hover {
  background: var(--gold);
  color: #000;
  box-shadow: 0 0 20px rgba(245, 184, 0, 0.4);
}

.nav__cta:hover::before {
  background: #000;
  box-shadow: none;
}

/* Hamburger button — hidden on desktop, shown on mobile */
.nav__hamburger {
  display: none;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 60;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: border-color 0.25s ease;
}

.nav__hamburger:hover {
  border-color: var(--gold-dim);
}

.nav__hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.25s ease;
}

.nav.is-open .nav__hamburger {
  border-color: var(--gold);
}

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

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

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

/* Mobile nav menu */
@media (max-width: 640px) {
  .nav {
    padding: 14px 16px;
    flex-wrap: wrap;
  }

  .nav__hamburger {
    display: inline-flex;
  }

  .nav__cta {
    display: none;
  }

  .nav__logo img {
    width: 38px;
    height: 38px;
  }

  .nav__logo-text {
    font-size: 13px;
  }

  .nav__logo-text small {
    font-size: 9px;
  }

  .nav__links {
    order: 3;
    flex-basis: 100%;
    flex-direction: column;
    gap: 0;
    margin-top: 14px;
    padding: 8px 0;
    border-top: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.25s ease, margin-top 0.3s ease, padding 0.3s ease;
  }

  .nav.is-open .nav__links {
    max-height: 480px;
    opacity: 1;
  }

  .nav__links li {
    width: 100%;
  }

  .nav__links a {
    display: block;
    padding: 14px 6px;
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid var(--border);
    opacity: 1;
  }

  .nav__links li:last-child a {
    border-bottom: none;
  }

  .nav__links a.is-active::after {
    display: none;
  }

  .nav__links a.is-active {
    background: rgba(245, 184, 0, 0.06);
    padding-left: 14px;
    border-left: 3px solid var(--gold);
  }
}

/* ================================================================
   FOOTER STYLES
   ================================================================ */
.footer {
  position: relative;
  background:
    radial-gradient(1200px 700px at 80% 0%, rgba(245, 184, 0, 0.08), transparent 60%),
    radial-gradient(900px 600px at 15% 35%, rgba(230, 175, 46, 0.05), transparent 65%),
    linear-gradient(180deg, #040404 0%, #000000 45%, #030303 100%);
  padding: clamp(64px, 8vw, 112px) clamp(16px, 4vw, 64px) 28px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(130vw, 1400px);
  max-width: none;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%) rotate(-14deg);
  opacity: 0.045;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  filter: drop-shadow(0 0 120px rgba(245, 184, 0, 0.12));
}

.footer__discord {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto clamp(48px, 6vw, 72px);
  padding: 18px 22px 18px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background:
    radial-gradient(520px 120px at 0% 50%, rgba(88, 101, 242, 0.18), transparent 70%),
    linear-gradient(90deg, rgba(20, 20, 26, 0.85) 0%, rgba(10, 10, 14, 0.92) 100%);
  border: 1px solid rgba(88, 101, 242, 0.3);
  border-radius: 14px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.footer__discord-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.footer__discord-title {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 900;
  font-size: clamp(0.98rem, 1.5vw, 1.15rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--text);
  text-transform: uppercase;
}

.footer__discord-title .accent {
  color: #A5ACFF;
}

.footer__discord-sub {
  color: var(--text-mid);
  font-size: 0.88rem;
  line-height: 1.4;
}

.footer__discord-sub .dot {
  color: #A5ACFF;
  margin: 0 8px;
  opacity: 0.9;
}

.footer__discord-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px;
  background: #5865F2;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-family: 'Archivo Black', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  box-shadow: 0 10px 22px rgba(88, 101, 242, 0.3);
  flex-shrink: 0;
  white-space: nowrap;
}

.footer__discord-btn:hover {
  transform: translateY(-2px);
  background: #4752C4;
  box-shadow: 0 14px 32px rgba(88, 101, 242, 0.42);
}

.footer__discord-btn .icon-discord {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.footer__discord-btn .icon-arrow {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.footer__grid {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(40px, 5vw, 56px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__col--brand {
  max-width: 340px;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  margin-bottom: 16px;
}

.footer__logo img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer__logo-text {
  font-family: 'Archivo Black', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.03em;
  line-height: 1;
}

.footer__logo-text small {
  display: block;
  margin-top: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.footer__tagline {
  color: var(--text-mid);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 22px;
}

.footer__socials {
  display: inline-flex;
  gap: 10px;
}

.footer__social {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-mid);
  text-decoration: none;
  transition: color 0.22s ease, border-color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.footer__social:hover {
  color: var(--gold);
  border-color: rgba(245, 184, 0, 0.25);
  background: rgba(245, 184, 0, 0.06);
  transform: translateY(-2px);
}

.footer__social svg {
  width: 18px;
  height: 18px;
}

.footer__col-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.footer__nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__nav a {
  color: var(--text-mid);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: inline-block;
}

.footer__nav a:hover {
  color: var(--gold);
  padding-left: 3px;
}

.footer__bottom {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: clamp(24px, 3vw, 36px) auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.footer__bottom-left {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer__bottom-mark {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(245, 184, 0, 0.25);
  border-radius: 6px;
  color: var(--gold);
  font-family: 'Archivo Black', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0;
}

@media (max-width: 920px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__col--brand {
    grid-column: 1 / -1;
    max-width: none;
  }
}

@media (max-width: 640px) {
  .footer__discord {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 18px;
    gap: 16px;
  }

  .footer__discord-copy {
    align-items: center;
  }

  .footer__discord-btn {
    justify-content: center;
  }

  .footer__discord-sub .dot {
    margin: 0 6px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
  }
}

@media (max-width: 420px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__discord-sub {
    font-size: 0.82rem;
  }
}

/* ================================================================
   SCROLL REVEAL ANIMATION
   ================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
