:root {
  --bg:      #2b0f0b;
  --gold:    #c79e56;
  --muted:   #919191;
  --shadow:  #8c2f0e;
  --white:   #f5f0e8;
  --bg-dark: #1a0907;
  --bg-mid:  #361510;
}

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

html { scroll-behavior: smooth; }

body {
  padding-top: 30px;
  background: var(--bg);
  color: var(--white);
  font-family: 'Barlow', sans-serif;
  overflow-x: hidden;
}

p {
  font-family: 'League Spartan', sans-serif;
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

h1, h2, h3 {
  font-family: 'Anton', sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 5px; }


/* ── NAV ── */
.nav-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 4rem;
  background: linear-gradient(to bottom, rgba(27,7,5,0.95) 0%, transparent 100%);
  backdrop-filter: blur(2px);
  border-bottom: 1px solid rgba(199,158,86,0.08);
  transition: background 0.3s;
}

.nav-header.scrolled {
  background: rgba(21,6,4,0.97);
  border-bottom: 1px solid rgba(199,158,86,0.18);
}

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.7rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

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

.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}

.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--gold);
  padding: 0.55rem 1.4rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 100%, 8px 100%);
}

.nav-cta:hover {
  background: #e0b568;
  box-shadow: 0 0 20px rgba(199,158,86,0.4);
}


/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(199,158,86,0.15) 2px, transparent 2px);
  background-size: 30px 30px;
  z-index: 1;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%);
}

.hero-content-wrapper {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1400px;
  padding: 0 4rem 0 1.5rem;
  gap: 4rem;
}

.hero-left {
  max-width: 650px;
  text-align: left;
  opacity: 0;
  animation: fadeUp 0.9s 0.2s forwards;
}

.hero-brand-container {
  display: inline-block;
  margin-left: -1.5rem;
  margin-bottom: 1.5rem;
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.hero-logo {
  height: clamp(80px, 10vw, 135px);
  width: auto;
  object-fit: contain;
  transform: translateY(-16px);
}

.hero-text-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.5rem, 7vw, 7rem);
  line-height: 0.9;
  letter-spacing: 0.12em;
  color: var(--white);
  text-shadow: 0 0 80px rgba(140,47,14,0.6), 0 4px 40px rgba(0,0,0,0.8);
  white-space: nowrap;
}

.hero-title .text-gold { color: var(--gold); }

.hero-slogan {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.2rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.hero-sub {
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 0.05em;
  max-width: 500px;
  line-height: 1.6;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
}

.hero-right {
  flex-shrink: 0;
  opacity: 0;
  animation: fadeUp 0.9s 0.6s forwards;
}

.calendar-widget {
  background: rgba(10, 5, 4, 0.9);
  border: 1px solid rgba(199,158,86,0.2);
  backdrop-filter: blur(12px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.8);
  width: 280px;
  text-align: center;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
}

.calendar-top {
  background: #610c0f;
  color: var(--white);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.12em;
  padding: 0.6rem 0;
  border-bottom: 2px solid var(--gold);
}

.calendar-main { padding: 2rem 1rem; }

.calendar-day-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.calendar-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 6.5rem;
  line-height: 0.9;
  color: var(--white);
  text-shadow: 0 0 30px rgba(199,158,86,0.25);
}

.calendar-bottom {
  background: rgba(0,0,0,0.5);
  padding: 1rem 1.2rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(199,158,86,0.05);
}

.calendar-location {
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.calendar-event {
  color: var(--gold);
  font-weight: 700;
}


/* ── BUTTONS ── */
.btn-primary {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--bg-dark);
  padding: 0.8rem 2.2rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-weight: 700;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 100%, 10px 100%);
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  display: inline-block;
}

.btn-primary:hover {
  background: #e0b568;
  box-shadow: 0 0 30px rgba(199,158,86,0.5);
  transform: translateY(-2px);
}

.btn-outline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: transparent;
  color: var(--white);
  padding: 0.8rem 2.2rem;
  border: 1px solid rgba(199,158,86,0.4);
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 100%, 10px 100%);
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
  display: inline-block;
}

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


/* ── SECTIONS ── */
section { padding: 6rem 4rem; }

.section-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.section-tag::before {
  content: '';
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--white);
}

.section-title span { color: var(--gold); }

.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 20%, var(--gold) 70%, transparent 100%);
}


/* ── ABOUT ── */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.about-text p {
  color: var(--muted);
  line-height: 1.8;
  margin-top: 1.5rem;
  font-size: 1rem;
}

.about-visual { position: relative; }

.about-figure {
  margin: 0;
  text-align: center;
}

.about-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  display: block;
}

.stem-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  display: block;
  border: 2px solid var(--gold);
}


/* ── TEAM ── */
#team { background: var(--bg-dark); }

.team-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.team-header .section-tag { justify-content: center; }

.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.team-trading-card {
  flex: 0 0 350px;
  max-width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.team-trading-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.card-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.card-foil {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
  z-index: 2;
  opacity: 0.6;
  transition: left 0.7s ease;
}

.team-trading-card:hover .card-foil {
  left: 150%;
  transition: left 1.2s ease;
}


/* ── SPONSORS ── */
#sponsors { background: var(--bg); overflow: hidden; }

.sponsors-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.sponsors-header .section-tag { justify-content: center; }

.sponsor-marquee {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

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

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

.sponsor-item {
  width: 220px;
  height: 90px;
  margin-right: 3rem;
  background: var(--bg-mid);
  border: 1px solid rgba(199,158,86,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(199,158,86,0.4);
  transition: border-color 0.3s, color 0.3s, background 0.3s;
  cursor: pointer;
}

.sponsor-item:hover {
  border-color: rgba(199,158,86,0.5);
  color: var(--gold);
  background: rgba(199,158,86,0.08);
}

.sponsor-item img {
  max-width: 70%;
  max-height: 60%;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.sponsor-item:hover img { opacity: 1; }


/* ── NEWSLETTER ── */
#newsletter {
  background: var(--bg-dark);
  padding: 5rem 4rem;
  position: relative;
  overflow: hidden;
}

#newsletter::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 40%, var(--gold) 60%, transparent);
  opacity: 0.25;
}

.newsletter-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.newsletter-inner p {
  color: var(--muted);
  margin: 1rem 0 2rem;
  line-height: 1.7;
}

.newsletter-form {
  display: flex;
}

.newsletter-input {
  flex: 1;
  background: var(--bg-mid);
  border: 1px solid rgba(199,158,86,0.25);
  border-right: none;
  color: var(--white);
  font-family: 'Barlow', sans-serif;
  font-size: 0.9rem;
  padding: 0.85rem 1.2rem;
  outline: none;
  transition: border-color 0.3s;
}

.newsletter-input::placeholder { color: var(--muted); }
.newsletter-input:focus { border-color: var(--gold); }

.newsletter-btn {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--bg-dark);
  padding: 0.85rem 1.8rem;
  border: none;
  cursor: pointer;
  font-weight: 700;
  transition: background 0.2s;
}

.newsletter-btn:hover { background: #e0b568; }


/* ── FOOTER ── */
footer {
  background: var(--bg-dark);
  border-top: 1px solid rgba(199,158,86,0.2);
  padding: 3rem 4rem 2rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(199,158,86,0.1);
}

.footer-brand h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 0.3rem;
}

.footer-brand p {
  color: var(--muted);
  font-family: 'Barlow', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.2s;
}

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

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

.footer-copy {
  color: var(--muted);
  font-family: 'Barlow', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
}

.footer-socials {
  display: flex;
  gap: 1.5rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  padding: 0;
}

.social-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
  opacity: 0.6;
  transition: opacity 0.2s, transform 0.2s;
}

.social-btn:hover .social-icon {
  opacity: 1;
  transform: scale(1.1);
}


/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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


/* ── CONTACT ── */
#contact { background: var(--bg); }

.contact-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.contact-sub {
  color: var(--muted);
  margin: 1rem auto 2.5rem;
  max-width: 520px;
  line-height: 1.7;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

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

.contact-input {
  width: 100%;
  background: var(--bg-mid);
  border: 1px solid rgba(199,158,86,0.25);
  color: var(--white);
  font-family: 'Barlow', sans-serif;
  font-size: 0.9rem;
  padding: 0.85rem 1.2rem;
  outline: none;
  transition: border-color 0.3s;
  resize: none;
}

.contact-input::placeholder { color: var(--muted); }
.contact-input:focus { border-color: var(--gold); }

.contact-textarea { height: 140px; resize: vertical; }

.contact-submit {
  align-self: center;
  padding: 0.85rem 3rem;
  margin-top: 0.5rem;
}


/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-header { padding: 1rem 1.5rem; }
  .nav-links, .nav-cta { display: none; }

  section { padding: 4rem 1.5rem; }

  .hero-content-wrapper { flex-direction: column; padding: 0 1.5rem; }
  .hero-right { display: none; }

  .hero-brand { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .hero-logo { height: 70px; }
  .hero-title { font-size: clamp(3rem, 12vw, 4.5rem); white-space: normal; }
  .hero-slogan { letter-spacing: 0.2em; }

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

  .contact-row { grid-template-columns: 1fr; }

  .footer-content { flex-direction: column; gap: 2rem; text-align: center; }
  .footer-nav-links { flex-wrap: wrap; justify-content: center; }
  .footer-bottom { flex-direction: column; gap: 1.5rem; }
}