/* ── Password gate ── */
#password-gate {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gate-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
  width: min(400px, 90vw);
}
.gate-logo { width: 72px; height: 72px; object-fit: contain; }
.gate-box h2 { font-family: 'Montserrat', sans-serif; font-weight: 400; letter-spacing: 0.12em; font-size: 1.2rem; }
.gate-box p  { font-size: 0.75rem; color: #888; letter-spacing: 0.08em; }
#password-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}
#password-input {
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  padding: 0.75rem 1.25rem;
  outline: none;
  text-align: center;
  transition: border-color 0.25s ease;
}
#password-input:focus { border-color: rgba(255,255,255,0.4); }
#password-input::placeholder { color: #555; }

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

:root {
  --black:   #000000;
  --grey-bg: #1e1e1e;
  --grey1:   #2a2a2a;
  --grey2:   #333333;
  --muted:   #888888;
  --text:    #ffffff;
  --radius:  16px;
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  background: var(--grey-bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Typography ── */
h1, h2, h3 { font-weight: 400; line-height: 1.1; text-transform: uppercase; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 1rem; }
h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
p  { color: #bbb; line-height: 1.75; font-size: 0.9rem; }

.label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.label.center { display: block; text-align: center; }
.center { text-align: center; }

/* ── Layout ── */
.container { width: min(1100px, 92vw); margin: 0 auto; }
.section { padding: clamp(4rem, 10vw, 8rem) 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: 50px;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn:active { transform: translateY(0); }

.btn-primary { background: #fff; color: #000; }
.btn-primary:hover {
  background: #e0e0e0;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,255,255,0.15);
}

.btn-sm { font-size: 0.8rem; padding: 0.55rem 1.3rem; }
.btn-lg { font-size: 0.95rem; padding: 0.9rem 2.2rem; }

.icon-whatsapp { width: 1.1em; height: 1.1em; flex-shrink: 0; }

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--black);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1100px, 92vw);
  margin: 0 auto;
  height: 72px;
  gap: 2rem;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo { height: 56px; width: 56px; flex-shrink: 0; object-fit: contain; margin-right: -10px; }
.nav-brand-text {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: #fff;
  text-transform: uppercase;
  line-height: 1;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  text-transform: uppercase;
  transition: color var(--transition);
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: #fff;
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); }

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg-photo {
  position: absolute;
  inset: 0;
  background: url('assets/team.png') center center / cover no-repeat;
  filter: grayscale(100%);
  transform: scale(1.04);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
}
.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding-top: 64px;
}
.hero-title {
  font-size: clamp(3.5rem, 10vw, 9rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 0.95;
  color: #fff;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-title-row {
  display: flex;
  align-items: center;
}
.hero-title-row:first-child {
  margin-left: -0.5em;
}
.hero-title-p {
  height: 2.1em;
  width: auto;
  object-fit: contain;
  margin-right: -0.95em;
  vertical-align: middle;
}
.hero-sub {
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  font-weight: 400;
  color: rgba(255,255,255,0.65);
  font-style: italic;
  max-width: 380px;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.hero-scroll-hint span {
  display: block;
  width: 1.5px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  margin: 0 auto;
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50%  { opacity: 1; transform: scaleY(1); transform-origin: top; }
  100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
}

/* ── About ── */
.about { background: var(--grey1); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.about-text { display: flex; flex-direction: column; gap: 1rem; }
.about-text h2 { margin-bottom: 0; }
.about-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: grayscale(100%) contrast(1.05);
}
.about-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, var(--grey1) 0%, transparent 28%),
    linear-gradient(to top, var(--grey1) 0%, transparent 18%);
  pointer-events: none;
}
.about-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.1);
  pointer-events: none;
  z-index: 1;
}

/* ── Games ── */
.games { background: var(--grey-bg); }
.games h2 { margin-bottom: 3rem; }
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.card {
  background: var(--grey1);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: #fff;
  opacity: 0;
  transition: opacity var(--transition);
}
.card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.2); box-shadow: 0 12px 40px rgba(0,0,0,0.5); }
.card:hover::before { opacity: 0.35; }
.card-icon { font-size: 2rem; margin-bottom: 1rem; display: block; }
.card h3 { color: #fff; }
.card p  { font-size: 0.85rem; margin-top: 0.5rem; }

/* ── Rules ── */
.rules { background: var(--grey1); }
.rules-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.rules-subtitle {
  text-align: center;
  color: var(--muted);
  font-style: italic;
  font-size: 0.85rem;
  margin-top: -1.25rem;
  text-transform: uppercase;
}
.rules-body { display: flex; flex-direction: column; gap: 1rem; }
.rules-body p { font-size: 0.85rem; }
.rules-warning {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--grey2);
  border: 1px solid rgba(255,255,255,0.18);
  border-left: 3px solid #fff;
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
}
.rules-warning-icon { font-size: 1.5rem; flex-shrink: 0; line-height: 1; padding-top: 2px; }
.rules-warning-text { display: flex; flex-direction: column; gap: 0.5rem; }
.rules-warning-text strong { color: #fff; font-size: 0.75rem; font-weight: 400; letter-spacing: 0.15em; text-transform: uppercase; }
.rules-warning-text p { font-size: 0.85rem; color: #ccc; }
.rules-sign { color: var(--muted); font-style: italic; font-size: 0.85rem; margin-top: 0.5rem; }

/* ── Partners ── */
.partners { background: var(--grey-bg); padding-bottom: clamp(4rem, 10vw, 8rem); }
.partners h2 { margin-bottom: 3rem; }

.marquee-track {
  width: 100%;
  overflow: hidden;
  /* fade edges */
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  margin-top: 2rem;
}

.marquee-inner {
  display: flex;
  align-items: center;
  gap: 4rem;
  width: max-content;
  animation: marquee 20s linear infinite;
}
.marquee-inner:hover { animation-play-state: paused; }

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

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 70px;
}
.partner-logo img {
  width: 130px;
  height: 50px;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity var(--transition);
}
.partner-logo:hover img { opacity: 1; }

/* ── CTA ── */
.cta { background: var(--grey-bg); }
.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}
.cta-inner h2 { font-size: clamp(2rem, 5vw, 4rem); }
.cta-inner p  { max-width: 520px; }
.cta-logo { width: 80px; height: 80px; object-fit: contain; }
.cta-title-p {
  height: 2.6em;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
  margin-left: -1.25em;
  margin-right: -1.15em;
}

/* ── Footer ── */
.footer {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 2.5rem 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-logo { height: 40px; width: 40px; object-fit: contain; opacity: 0.8; }
.footer-links { display: flex; gap: 1.5rem; align-items: center; }
.footer-social {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color var(--transition);
}
.footer-social svg { width: 18px; height: 18px; }
.footer-social:hover { color: #fff; }
.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.2); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { order: -1; }
  .cards { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .btn-lg { font-size: 0.85rem; padding: 0.8rem 1.6rem; }
}
