/* ==========================================================================
   NEXTEL Connect — Site Design System
   Gold · Orange · Green  |  Layout + chrome for all pages
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Syne:wght@600;700;800&display=swap");

:root {
  --gold: #f5c542;
  --gold-soft: #ffd76a;
  --orange: #ff8a3d;
  --orange-deep: #e65c00;
  --green: #2d8f4e;
  --green-bright: #3ecf6e;
  --green-mid: #165c38;
  --green-deep: #0f3d24;
  --green-dark: #071a10;
  --ink: #fff8ee;
  --muted: #b8cfc0;
  --line: rgba(245, 197, 66, 0.28);
  --surface: rgba(18, 61, 40, 0.72);
  --surface-solid: #123d28;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  --brand-gradient: linear-gradient(135deg, #f5c542 0%, #ff8a3d 48%, #2d8f4e 100%);
  --cta-gradient: linear-gradient(135deg, #f5c542 0%, #ff8a3d 100%);
  --bg-gradient:
    radial-gradient(ellipse 90% 55% at 12% -8%, rgba(245, 197, 66, 0.2) 0%, transparent 52%),
    radial-gradient(ellipse 70% 45% at 92% 0%, rgba(255, 138, 61, 0.16) 0%, transparent 48%),
    radial-gradient(ellipse 80% 50% at 50% 110%, rgba(45, 143, 78, 0.28) 0%, transparent 55%),
    linear-gradient(168deg, #123d28 0%, #071a10 42%, #0f3220 72%, #1a4028 100%);
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --primary-gold: #f5c542;
  --accent-cyan: #3ecf6e;
  --accent-mint: #3ecf6e;
  --surface-card: #123d28;
  --surface-inner: #1a4d32;
  --text-light: #fff8ee;
  --text-grey: #b8cfc0;
  --border-line: rgba(245, 197, 66, 0.28);
  --max: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg-gradient);
  background-attachment: fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; }

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* ---------- Brand text ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand img {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.7rem;
  object-fit: cover;
}

.brand span {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gradient-text {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  background: linear-gradient(180deg, rgba(7, 26, 16, 0.92), rgba(15, 61, 36, 0.78));
  border-bottom: 1px solid var(--line);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
  position: relative;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.35rem;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--ink); }

.nav-cta {
  display: none;
  align-items: center;
  gap: 0.65rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: transform 0.2s, filter 0.2s, box-shadow 0.2s;
}

.btn:hover { transform: translateY(-1px); filter: brightness(1.05); }

.btn-primary {
  background: var(--cta-gradient);
  color: var(--green-dark);
  box-shadow: 0 12px 30px rgba(255, 138, 61, 0.28);
}

.btn-ghost {
  background: rgba(22, 92, 56, 0.35);
  border-color: var(--line);
  color: var(--ink);
}

.btn-login { color: var(--muted); font-weight: 600; padding: 0.55rem 0.9rem; }

.menu-toggle-btn {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: rgba(22, 92, 56, 0.4);
  color: var(--gold);
  font-size: 1.25rem;
  cursor: pointer;
}

.mobile-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  width: min(18rem, calc(100vw - 2rem));
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(7, 26, 16, 0.96);
  box-shadow: var(--shadow);
  flex-direction: column;
  gap: 0.35rem;
  z-index: 20;
}

.mobile-dropdown-menu.active { display: flex; }

.mobile-dropdown-menu a {
  padding: 0.65rem 0.75rem;
  border-radius: 0.55rem;
  color: var(--muted);
  font-weight: 500;
}

.mobile-dropdown-menu a:hover,
.mobile-dropdown-menu a.active,
.mobile-dropdown-menu a.get-started { color: var(--gold); }

.mobile-dropdown-menu a.get-started { font-weight: 700; }

@media (min-width: 900px) {
  .nav-links, .nav-cta { display: flex; }
  .menu-toggle-btn, .mobile-dropdown-menu { display: none !important; }
}

/* ---------- Hero (marketing) ---------- */
.hero-panel {
  position: relative;
  min-height: min(92vh, 780px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: center / cover no-repeat url("../images/nextel-hero.jpg");
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(7, 26, 16, 0.35) 0%,
    rgba(7, 26, 16, 0.55) 40%,
    rgba(7, 26, 16, 0.92) 78%,
    #071a10 100%
  );
}

@keyframes heroDrift {
  from { transform: scale(1.04) translateY(0); }
  to { transform: scale(1.08) translateY(-1.5%); }
}

.hero-inner {
  padding: 7rem 0 3.5rem;
  max-width: 40rem;
  animation: riseIn 0.9s ease both;
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
}

.hero-brand span {
  display: block;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-inner h1 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
  max-width: 22ch;
}

.hero-inner p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36ch;
  margin-bottom: 1.6rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }

.section-head {
  max-width: 36rem;
  margin: 0 auto 2.75rem;
  text-align: center;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.65rem;
}

.section-head p { color: var(--muted); }

.feature-rail {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .feature-rail { grid-template-columns: repeat(3, 1fr); }
}

.feature-item {
  padding-top: 1.25rem;
  border-top: 2px solid transparent;
  border-image: var(--brand-gradient) 1;
  animation: riseIn 0.8s ease both;
}

.feature-item:nth-child(2) { animation-delay: 0.08s; }
.feature-item:nth-child(3) { animation-delay: 0.16s; }

.feature-item h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0.85rem 0 0.4rem;
}

.feature-item p { color: var(--muted); font-size: 0.95rem; }

.feature-icon {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 0.85rem;
  background: linear-gradient(145deg, rgba(245, 197, 66, 0.2), rgba(45, 143, 78, 0.25));
}

.feature-icon img { width: 1.35rem; height: 1.35rem; }

.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 860px) {
  .split { grid-template-columns: 1.05fr 0.95fr; gap: 3rem; }
}

.split img {
  width: 100%;
  border-radius: 1.35rem;
  box-shadow: var(--shadow);
}

.split h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.split p { color: var(--muted); margin-bottom: 1rem; }

.split ul { display: grid; gap: 0.55rem; margin: 1.25rem 0; }

.split li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.95rem;
}

.split li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--brand-gradient);
  flex-shrink: 0;
}

.band {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 1.5rem;
  border-radius: 1.5rem;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(22, 92, 56, 0.45), rgba(7, 26, 16, 0.7));
  text-align: center;
}

.band::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 50% 30%, rgba(255, 138, 61, 0.2), transparent 55%);
  animation: glowPulse 6s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes glowPulse {
  from { opacity: 0.55; transform: scale(1); }
  to { opacity: 1; transform: scale(1.08); }
}

.band > * { position: relative; }

.band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.band p {
  color: var(--muted);
  max-width: 38rem;
  margin: 0 auto 1.5rem;
}

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .pricing-grid { grid-template-columns: 1fr 1fr; }
}

.plan-card {
  padding: 1.6rem;
  border-radius: 1.35rem;
  border: 1px solid var(--line);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.plan-card.royal-tier {
  border-color: rgba(255, 138, 61, 0.55);
  box-shadow: 0 0 0 1px rgba(245, 197, 66, 0.15), 0 18px 40px rgba(255, 138, 61, 0.12);
}

.best-tag {
  align-self: flex-start;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--cta-gradient);
  color: var(--green-dark);
}

.card-header h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0.4rem 0;
}

.price-tag {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.price-tag span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.specs-list { display: grid; gap: 0.55rem; }

.spec-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.92rem;
  color: var(--muted);
}

.spec-item span:last-child { color: var(--ink); font-weight: 600; }
.success-val { color: var(--green-bright) !important; }
.nil-val { color: #f87171 !important; }

.btn-register {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.9rem 1rem;
  border-radius: 999px;
  border: none;
  background: var(--cta-gradient);
  color: var(--green-dark);
  font-weight: 800;
  cursor: pointer;
}

.tier-explainer-text {
  margin-top: 0.65rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.page-hero {
  padding: 4rem 0 2rem;
  text-align: center;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  margin: 0.75rem 0;
}

.page-hero p {
  color: var(--muted);
  max-width: 40rem;
  margin: 0 auto;
}

.hero-pill,
.os-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(22, 92, 56, 0.4);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-soft);
}

.os-badge-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.25rem;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  place-items: center;
  padding: 1rem;
  background: rgba(3, 12, 8, 0.72);
  backdrop-filter: blur(8px);
}

.modal-overlay.open { display: grid; }

.modal-card {
  width: min(100%, 28rem);
  padding: 1.75rem;
  border-radius: 1.35rem;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, #16482f, #0a2416);
  box-shadow: var(--shadow);
}

.modal-badge {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 138, 61, 0.18);
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.modal-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin-bottom: 0.65rem;
}

.modal-card p { color: var(--muted); font-size: 0.95rem; }

.projection-block {
  margin: 1.25rem 0;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.22);
  text-align: center;
}

.projection-title { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.projection-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.projection-subtext { font-size: 0.82rem; color: var(--muted); }

.modal-actions { display: grid; gap: 0.55rem; }

.btn-upgrade-action,
.btn-dismiss-action {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 700;
}

.btn-upgrade-action { background: var(--cta-gradient); color: var(--green-dark); }
.btn-dismiss-action { background: transparent; border: 1px solid var(--line); color: var(--muted); }

/* ---------- Auth ---------- */
.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem 3rem;
}

.auth-card {
  width: min(100%, 26rem);
  padding: 2rem;
  border-radius: 1.4rem;
  border: 1px solid var(--line);
  background: rgba(12, 42, 28, 0.85);
  box-shadow: var(--shadow);
}

.auth-card h1,
.auth-card h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 0.35rem;
}

.auth-card > p { color: var(--muted); margin-bottom: 1.35rem; }

.auth-card input,
.auth-card select,
.form-panel input,
.form-panel select,
.form-panel textarea {
  width: 100%;
  margin-bottom: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(7, 26, 16, 0.65);
  outline: none;
}

.auth-card input:focus,
.auth-card select:focus,
.form-panel input:focus,
.form-panel select:focus,
.form-panel textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255, 138, 61, 0.18);
}

.auth-card button,
.form-panel button[type="submit"],
.form-panel .submit-btn {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.9rem;
  border: none;
  border-radius: 999px;
  background: var(--cta-gradient);
  color: var(--green-dark);
  font-weight: 800;
  cursor: pointer;
}

.notice {
  margin: 0.5rem 0 0.85rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(245, 197, 66, 0.4);
  background: rgba(245, 197, 66, 0.1);
  color: var(--gold-soft);
  font-size: 0.88rem;
  font-weight: 600;
}

.foreign-link-wrapper { text-align: right; margin: 0.2rem 0 0.85rem; }

.foreign-country-btn {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 138, 61, 0.45);
  background: rgba(255, 138, 61, 0.1);
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.support { margin-top: 1.1rem; text-align: center; color: var(--muted); font-size: 0.88rem; }
.support-btn { color: var(--gold); font-weight: 700; }

.popup {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(3, 12, 8, 0.75);
  backdrop-filter: blur(6px);
}

.popup-box,
.popup-content {
  width: min(100%, 24rem);
  padding: 1.75rem;
  border-radius: 1.25rem;
  border: 1px solid var(--line);
  background: #123d28;
  text-align: center;
}

.popup-box h3,
.popup-content h2 {
  font-family: var(--font-display);
  margin-bottom: 0.65rem;
  color: var(--gold);
}

.popup-content .small {
  margin: 0.75rem 0 1.1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.popup-content button {
  width: 100%;
  padding: 0.85rem;
  border: none;
  border-radius: 999px;
  background: var(--cta-gradient);
  color: var(--green-dark);
  font-weight: 800;
  cursor: pointer;
}

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 0.75rem; max-width: 48rem; margin: 0 auto; }

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  background: transparent;
  border: none;
  color: var(--ink);
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.toggle-icon { color: var(--gold); font-weight: 800; }

.faq-answer {
  display: none;
  padding: 0 1.2rem 1.15rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.faq-item.open .faq-answer { display: block; }

/* ---------- Tables / top earners ---------- */
.search-box { max-width: 28rem; margin: 0 auto 1.5rem; }

#search {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(7, 26, 16, 0.65);
  outline: none;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(12, 42, 28, 0.7);
}

table { width: 100%; border-collapse: collapse; min-width: 520px; }

th, td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.92rem;
}

th {
  color: var(--gold);
  font-weight: 700;
  background: rgba(0, 0, 0, 0.18);
}

tbody tr:hover { background: rgba(255, 138, 61, 0.08); }

/* ---------- Contact / forms panels ---------- */
.contact-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; }
}

.form-panel,
.info-panel {
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}

.form-panel h2,
.info-panel h2 {
  font-family: var(--font-display);
  margin-bottom: 1rem;
}

.form-panel textarea { min-height: 9rem; resize: vertical; }

/* ---------- Legal / content ---------- */
.prose {
  max-width: 48rem;
  margin: 0 auto;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}

.prose h2, .prose h3 {
  font-family: var(--font-display);
  margin: 1.5rem 0 0.6rem;
}

.prose p, .prose li { color: var(--muted); margin-bottom: 0.75rem; }
.prose ul { padding-left: 1.1rem; list-style: disc; }

.compliance-box {
  margin-top: 2.5rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(22, 92, 56, 0.3);
}

.compliance-box h3 {
  font-family: var(--font-display);
  margin-bottom: 0.65rem;
}

.compliance-box p { color: var(--muted); margin-bottom: 0.7rem; font-size: 0.95rem; }

/* About extras */
.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

@media (min-width: 700px) {
  .stats-row { grid-template-columns: repeat(4, 1fr); }
}

.stat {
  text-align: center;
  padding: 1rem 0.5rem;
  border-top: 2px solid transparent;
  border-image: var(--brand-gradient) 1;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat span { color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 800px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 1rem;
}

.earn-popup {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 1500;
  max-width: 18rem;
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid var(--line);
  background: rgba(12, 42, 28, 0.95);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  transition: 0.35s ease;
  font-size: 0.88rem;
}

.earn-popup.show { opacity: 1; transform: translateY(0); }
.earn-popup span { color: var(--gold); font-weight: 800; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 4rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(7, 26, 16, 0.4), #061910);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  padding: 3rem 0 2rem;
}

@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

.site-footer h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}

.site-footer p, .site-footer a { color: var(--muted); font-size: 0.9rem; }
.site-footer a:hover { color: var(--gold); }
.site-footer li { margin-bottom: 0.45rem; }

.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.1rem 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
}

.footer-brand-section {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

@media (min-width: 800px) {
  .footer-brand-section { grid-template-columns: 1.4fr 1fr; }
}

.menu-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.menu-row a { color: var(--muted); font-size: 0.88rem; }
.menu-row a:hover { color: var(--gold); }

.footer-bottom-copyright {
  margin-top: 1.5rem;
  padding: 1rem 0 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
}

/* Register page with header */
.register-page .site-header { margin-bottom: 0; }
.register-hero {
  text-align: center;
  padding: 3rem 1rem 1.25rem;
}
.register-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
}
.register-hero p { color: var(--muted); }

/* Utility */
.muted { color: var(--muted); }
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }

::selection {
  background: rgba(255, 138, 61, 0.35);
  color: #fff8ee;
}
