@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;600;700&family=Open+Sans:wght@400;600&display=swap');

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

/* callback.html full-page layout */
body.callback-page {
  background: var(--bg);
  color: var(--text);
  font-family: 'Open Sans', sans-serif;
}

:root {
  --green: #53fc18;
  --green-dark: #3bb810;
  --green-glow: rgba(83, 252, 24, 0.25);
  --bg: #0a0a0a;
  --bg-card: #111111;
  --bg-card2: #161616;
  --border: #222;
  --text: #e8e8e8;
  --text-muted: #888;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-brand img {
  height: 44px;
  width: 44px;
  object-fit: contain;
}

.nav-brand span {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.2;
}

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

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--green);
  color: #000 !important;
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  font-weight: 700 !important;
  transition: background 0.2s, box-shadow 0.2s !important;
}

.nav-cta:hover {
  background: var(--green-dark) !important;
  box-shadow: 0 0 16px var(--green-glow);
  color: #000 !important;
}

/* ── HERO ── */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(83,252,24,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 80% 60% at 50% 80%, rgba(83,252,24,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner { position: relative; max-width: 860px; }

.hero-logo {
  width: 220px;
  height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 0 32px rgba(83,252,24,0.4));
  margin-bottom: 2rem;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-eyebrow {
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--green);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--green);
  color: #000;
}

.btn-primary:hover:not(:disabled) {
  background: var(--green-dark);
  box-shadow: 0 0 24px var(--green-glow);
  transform: translateY(-1px);
}

.btn-primary:disabled {
  background: #2a2a2a;
  color: #555;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

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

.petition-count {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.petition-count strong {
  color: var(--green);
  font-size: 1.4rem;
  font-family: 'Oswald', sans-serif;
}

/* ── SECTION SHARED ── */
section { padding: 5rem 1.5rem; }

.section-inner { max-width: 1100px; margin: 0 auto; }

.section-tag {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--green);
  border: 1px solid rgba(83,252,24,0.3);
  padding: 0.25rem 0.75rem;
  border-radius: 2px;
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.section-title em {
  font-style: normal;
  color: var(--green);
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 3rem;
}

/* ── DIVIDER ── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  opacity: 0.25;
  margin: 0 auto;
  max-width: 600px;
}

/* ── MISSION ── */
.mission { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

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

.mission-text p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

.mission-text p strong { color: var(--text); }

.mission-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pillar {
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--green);
  padding: 1.25rem 1.5rem;
  border-radius: 4px;
}

.pillar h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green);
  margin-bottom: 0.4rem;
}

.pillar p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── STATEMENT ── */
.statement { background: var(--bg); }

.statement-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--green);
  border-radius: 6px;
  padding: 2.5rem;
  max-width: 860px;
  margin-bottom: 3rem;
  position: relative;
}

.statement-box::before {
  content: '"';
  font-family: Georgia, serif;
  font-size: 8rem;
  color: var(--green);
  opacity: 0.08;
  position: absolute;
  top: -1rem;
  left: 1.5rem;
  line-height: 1;
  pointer-events: none;
}

.statement-box p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.75;
  position: relative;
}

.statement-box p:last-child { margin-bottom: 0; }
.statement-box p strong { color: var(--text); }

.demands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.demand-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.75rem;
  transition: border-color 0.2s, transform 0.2s;
}

.demand-card:hover {
  border-color: var(--green);
  transform: translateY(-2px);
}

.demand-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.demand-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.demand-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── BENEFITS ── */
.benefits { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.benefit-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.75rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.benefit-card:hover {
  border-color: var(--green);
  box-shadow: 0 0 20px var(--green-glow);
}

.benefit-num {
  font-family: 'Oswald', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--green);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.benefit-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.benefit-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, #0d1a0a 0%, #0a0a0a 100%);
  border-top: 1px solid rgba(83,252,24,0.2);
  border-bottom: 1px solid rgba(83,252,24,0.2);
  text-align: center;
  padding: 4rem 1.5rem;
}

.cta-banner h2 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
}

.cta-banner h2 em { font-style: normal; color: var(--green); }

.cta-banner p {
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 2rem;
}

/* ── FOOTER ── */
footer {
  background: #050505;
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

footer a { color: var(--green); text-decoration: none; }
footer a:hover { text-decoration: underline; }

.footer-inner { max-width: 700px; margin: 0 auto; }

.footer-logo {
  width: 60px;
  opacity: 0.7;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--green);
  opacity: 0.7;
  margin-bottom: 1rem;
}

/* ── PETITION PAGE ── */
.petition-hero {
  padding: 4rem 1.5rem 3rem;
  text-align: center;
}

.petition-hero .hero-logo { width: 140px; height: 140px; }

.petition-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem 5rem;
  align-items: start;
}

@media (max-width: 800px) {
  .petition-layout { grid-template-columns: 1fr; }
}

.petition-info h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
  color: var(--green);
}

.petition-info p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.petition-info p strong { color: var(--text); }

.signers-bar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.5rem;
  margin-top: 2rem;
}

.signers-bar h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.signers-count {
  font-family: 'Oswald', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
}

.signers-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.progress-bar-outer {
  background: var(--border);
  border-radius: 99px;
  height: 8px;
  overflow: hidden;
}

.progress-bar-inner {
  height: 100%;
  background: var(--green);
  border-radius: 99px;
  width: 23%;
  box-shadow: 0 0 8px var(--green-glow);
  animation: grow 1.5s ease-out forwards;
}

@keyframes grow {
  from { width: 0; }
  to { width: 23%; }
}

.progress-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
  text-align: right;
}

/* ── FORM ── */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--green);
  border-radius: 6px;
  padding: 2rem;
  position: sticky;
  top: 80px;
}

.form-card h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
  color: var(--green);
}

.form-card .form-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  padding: 0.65rem 0.85rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-glow);
}

.form-group textarea { resize: vertical; min-height: 90px; }

.form-group select option { background: #111; color: var(--text); }

.checkbox-group {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--green);
  cursor: pointer;
  margin-top: 2px;
}

.checkbox-group label {
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
}

.checkbox-group label a { color: var(--green); text-decoration: none; }

.btn-submit {
  width: 100%;
  padding: 0.9rem;
  font-size: 1rem;
}

/* ── SUCCESS MESSAGE ── */
.success-msg {
  display: none;
  background: rgba(83,252,24,0.08);
  border: 1px solid rgba(83,252,24,0.3);
  border-radius: 6px;
  padding: 1.5rem;
  text-align: center;
  margin-top: 1rem;
}

.success-msg .check {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.success-msg h3 {
  font-family: 'Oswald', sans-serif;
  color: var(--green);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}

.success-msg p { font-size: 0.85rem; color: var(--text-muted); }

/* ── NOTICE BAR ── */
.notice-bar {
  background: rgba(83,252,24,0.06);
  border-bottom: 1px solid rgba(83,252,24,0.2);
  padding: 0.75rem 1.5rem;
}

.notice-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.notice-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  color: var(--green);
  line-height: 1.5;
}

.notice-bar p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.notice-bar p strong { color: var(--text); }
.notice-bar a { color: var(--green); text-decoration: none; }
.notice-bar a:hover { text-decoration: underline; }

/* ── CONFIG WARNING ── */
.config-warning {
  background: rgba(255, 180, 0, 0.07);
  border: 1px solid rgba(255,180,0,0.3);
  border-radius: 6px;
  padding: 1rem 1.5rem;
  font-size: 0.88rem;
  color: #cca84a;
  margin: 1.5rem auto;
  max-width: 1100px;
}

.config-warning code {
  background: rgba(255,255,255,0.08);
  padding: 0.1em 0.4em;
  border-radius: 3px;
  font-family: monospace;
  font-size: 0.9em;
}

/* ── KICK PROFILE PREVIEW ── */
.kick-profile-preview {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg);
  border: 1px solid var(--green);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  box-shadow: 0 0 16px var(--green-glow);
}

.kick-profile-preview img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--green);
  flex-shrink: 0;
}

.preview-info { flex: 1; min-width: 0; }

.preview-name {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.preview-slug {
  font-size: 0.85rem;
  color: var(--green);
  margin-top: 0.1rem;
}

.preview-followers {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* ── STATS STRIP ── */
.stats-strip {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem 2rem;
  margin-top: 1.5rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.stat-num {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ── SUPPORTERS GRID ── */
.supporters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

.supporter-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.75rem 1.25rem 1.25rem;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.supporter-card:hover {
  border-color: var(--green);
  transform: translateY(-3px);
  box-shadow: 0 4px 24px var(--green-glow);
}

.supporter-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  margin-bottom: 0.85rem;
  transition: border-color 0.2s;
}

.supporter-card:hover .supporter-avatar {
  border-color: var(--green);
}

.supporter-name {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.supporter-slug {
  font-size: 0.82rem;
  color: var(--green);
  margin-top: 0.15rem;
}

.supporter-followers {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.supporter-kick-badge {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0;
  transition: opacity 0.2s;
}

.supporter-card:hover .supporter-kick-badge {
  opacity: 1;
}

.supporter-joined {
  font-size: 0.7rem;
  color: var(--text-muted);
  opacity: 0.5;
  margin-top: 0.4rem;
}

/* ── SPINNER ── */
.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── MOBILE NAV TOGGLE ── */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0.25rem;
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(10,10,10,0.98);
    padding: 1rem 2rem 1.5rem;
    border-bottom: 1px solid var(--border);
    gap: 1rem;
  }
}
