/* ════════════════════════════════════════
   RUMBA LOS SANTOS — Main Stylesheet
   ════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700;900&family=Cinzel:wght@400;600;700&family=Raleway:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

/* ── CSS VARIABLES ── */
:root {
  --gold:       #c8a040;
  --gold-light: #f0c040;
  --gold-mid:   #d4a843;
  --gold-dark:  #8a6820;
  --black:      #080808;
  --dark1:      #0e0c08;
  --dark2:      #131108;
  --dark3:      #1a1710;
  --dark4:      #201c12;
  --text:       #ede3cc;
  --text-muted: #9a8f72;
  --text-dim:   #5a5240;
  --border:     rgba(200,160,64,0.18);
  --border-h:   rgba(200,160,64,0.45);
  --nav-h:      70px;
  --radius:     10px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--black);
  color: var(--text);
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ══════════════════════════════════════
   TYPOGRAPHY HELPERS
══════════════════════════════════════ */
.font-display { font-family: 'Cinzel Decorative', serif; }
.font-heading  { font-family: 'Cinzel', serif; }

.section-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.7rem;
}

.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 0.8rem;
}
.section-title em { font-style: normal; color: var(--gold-light); }

.section-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 540px;
  line-height: 1.85;
  margin-bottom: 2.5rem;
}

.gold-rule {
  width: 50px; height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  border-radius: 2px;
  margin: 0.9rem 0 2rem;
}

/* ══════════════════════════════════════
   LAYOUT HELPERS
══════════════════════════════════════ */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
}

section { padding: 6rem 0; position: relative; }

.section-center { text-align: center; }
.section-center .section-desc,
.section-center .gold-rule { margin-left: auto; margin-right: auto; }

/* ══════════════════════════════════════
   BUTTONS
══════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border-radius: 5px;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-mid), var(--gold-dark));
  color: #080808;
  box-shadow: 0 0 25px rgba(200,160,64,0.25);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 0 40px rgba(240,192,64,0.45);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(200,160,64,0.08);
  transform: translateY(-2px);
}

.btn-discord {
  background: #5865F2;
  color: #fff;
  box-shadow: 0 4px 20px rgba(88,101,242,0.3);
}
.btn-discord:hover {
  background: #4752C4;
  box-shadow: 0 6px 30px rgba(88,101,242,0.5);
  transform: translateY(-2px);
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════
   NAV
══════════════════════════════════════ */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  padding: 0 2.5rem;
  background: rgba(8,8,8,0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.nav-logo {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1rem;
  font-weight: 900;
  color: var(--gold-light);
  letter-spacing: 3px;
  text-shadow: 0 0 25px rgba(240,192,64,0.4);
  flex-shrink: 0;
  margin-right: 2rem;
}

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

.nav-links a {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.5rem 0.85rem;
  border-radius: 4px;
  transition: var(--transition);
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-light);
  background: rgba(200,160,64,0.08);
}

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after {
  content: ' ▾';
  font-size: 0.55rem;
  opacity: 0.6;
}
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem 0;
  min-width: 170px;
  opacity: 0; pointer-events: none;
  transform: translateY(-6px);
  transition: var(--transition);
  z-index: 999;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1; pointer-events: all; transform: none;
}
.nav-dropdown-menu a {
  display: block;
  padding: 0.55rem 1.1rem !important;
  font-size: 0.7rem !important;
}

.nav-cta {
  margin-left: auto;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 0.4rem 0.7rem;
  color: var(--gold);
  font-size: 1.1rem;
  margin-left: auto;
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  background: var(--black);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.footer-brand .logo {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.1rem;
  color: var(--gold-light);
  letter-spacing: 2px;
  margin-bottom: 0.8rem;
}
.footer-brand p {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-col h4 {
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a {
  font-size: 0.83rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* ══════════════════════════════════════
   DECORATIVE DIVIDER
══════════════════════════════════════ */
.ornament {
  display: flex; align-items: center; gap: 1.2rem;
  padding: 0 2rem;
  margin: 3.5rem auto;
  max-width: 700px;
}
.ornament-line { flex: 1; height: 1px; background: var(--border); }
.ornament-diamond {
  width: 9px; height: 9px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(200,160,64,0.5);
}

/* ══════════════════════════════════════
   CARDS
══════════════════════════════════════ */
.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--dark2);
  padding: 1.6rem;
  transition: var(--transition);
}
.card:hover {
  border-color: var(--border-h);
  transform: translateY(-4px);
  background: var(--dark3);
}
.card-icon { font-size: 1.8rem; margin-bottom: 0.8rem; }
.card h4 {
  font-family: 'Cinzel', serif;
  font-size: 0.82rem;
  letter-spacing: 1px;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}
.card p { font-size: 0.83rem; color: var(--text-muted); line-height: 1.65; }

/* ══════════════════════════════════════
   GLOW TOP BORDER
══════════════════════════════════════ */
.top-glow::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
}

/* ══════════════════════════════════════
   SCROLL REVEAL
══════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ══════════════════════════════════════
   COPY TOOLTIP
══════════════════════════════════════ */
#copyToast {
  position: fixed;
  bottom: 2rem; left: 50%; transform: translateX(-50%);
  background: var(--dark3);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  padding: 0.6rem 1.6rem;
  border-radius: 6px;
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 2px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
  z-index: 9999;
}
#copyToast.show { opacity: 1; }

/* ══════════════════════════════════════
   STATUS BADGE
══════════════════════════════════════ */
.status-online {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: 'Cinzel', serif;
  font-size: 0.68rem; letter-spacing: 2px;
  color: #4ade80;
  border: 1px solid rgba(74,222,128,0.25);
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
}
.status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: blink 2s infinite;
}
@keyframes blink {
  0%,100% { box-shadow: 0 0 6px #4ade80; }
  50%      { box-shadow: 0 0 18px #4ade80, 0 0 32px rgba(74,222,128,0.3); }
}

/* ══════════════════════════════════════
   COUNTDOWN
══════════════════════════════════════ */
.countdown-wrap {
  display: flex; gap: 1.5rem; justify-content: center;
  flex-wrap: wrap;
  margin: 2.5rem 0;
}
.cd-block {
  display: flex; flex-direction: column; align-items: center;
  min-width: 80px;
  padding: 1.2rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(200,160,64,0.04);
  position: relative;
}
.cd-block::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.cd-num {
  font-family: 'Cinzel Decorative', serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1;
  text-shadow: 0 0 30px rgba(240,192,64,0.4);
  transition: transform 0.15s;
}
.cd-num.flip { transform: scale(1.08); }
.cd-label {
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  #nav { padding: 0 1.2rem; }

  .mobile-menu {
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: rgba(8,8,8,0.98);
    backdrop-filter: blur(20px);
    padding: 2rem;
    display: flex; flex-direction: column; gap: 0.5rem;
    z-index: 999;
    transform: translateX(-100%);
    transition: transform 0.35s ease;
  }
  .mobile-menu.open { transform: none; }
  .mobile-menu a {
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--text-muted);
    padding: 0.9rem 1rem;
    border-bottom: 1px solid var(--border);
    transition: color 0.2s;
  }
  .mobile-menu a:hover { color: var(--gold-light); }
}

@media (max-width: 600px) {
  section { padding: 4rem 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .countdown-wrap { gap: 0.8rem; }
  .cd-block { min-width: 65px; padding: 0.9rem 0.7rem; }
  .cd-num { font-size: 1.8rem; }
}
