:root {
  --bg-dark: #0b0d12;
  --card-bg: #131722;
  --border-gold: rgba(245, 185, 66, 0.3);
  --gold: #f5b942;
  --gold-hover: #ffd166;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --success: #10b981;
  --danger: #ef4444;
}

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

body {
  background-color: var(--bg-dark);
  background-image: radial-gradient(circle at top center, rgba(245, 185, 66, 0.14), transparent 60%);
  color: var(--text-main);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  text-align: center;
  padding: 2.5rem 1rem 1.5rem;
}

.logo-img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  box-shadow: 0 0 25px rgba(245, 185, 66, 0.45);
  margin-bottom: 0.75rem;
}

.site-header h1 {
  font-size: 2rem;
  letter-spacing: 3px;
  color: var(--gold);
}

.subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 0.25rem;
}

.online-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #6ee7b7;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  margin-top: 1rem;
}

.online-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--success);
}

.container {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 1rem;
  flex: 1;
}

.tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
  margin-bottom: 1.5rem;
}

.tab-btn {
  background: var(--card-bg);
  border: 1px solid var(--border-gold);
  color: var(--text-muted);
  padding: 0.75rem 0.5rem;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.88rem;
  transition: all 0.2s;
}

.tab-btn.active, .tab-btn:hover {
  background: rgba(245, 185, 66, 0.15);
  color: var(--gold);
  border-color: var(--gold);
}

.tab-panel {
  display: none;
  background: var(--card-bg);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
}

.tab-panel.active { display: block; }

.tab-panel h2 {
  color: var(--gold);
  margin-bottom: 0.4rem;
  font-size: 1.35rem;
}

.desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

label {
  display: block;
  font-size: 0.85rem;
  color: var(--gold);
  margin: 0.9rem 0 0.35rem;
  font-weight: 500;
}

input[type="text"], textarea, input[type="file"] {
  width: 100%;
  background: #0b0d12;
  border: 1px solid #2a3142;
  color: var(--text-main);
  padding: 0.75rem;
  border-radius: 10px;
  font-size: 0.95rem;
}

input[type="text"]:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.btn-gold {
  width: 100%;
  margin-top: 1.25rem;
  padding: 0.9rem;
  background: linear-gradient(135deg, #f5b942, #d97706);
  color: #0b0d12;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245, 185, 66, 0.35);
}

.btn-secondary {
  margin-top: 0.75rem;
  padding: 0.6rem 1.2rem;
  background: #1e293b;
  color: var(--gold);
  border: 1px solid var(--border-gold);
  border-radius: 8px;
  cursor: pointer;
}

.partner-card, .invite-box, .result-box {
  background: rgba(245, 185, 66, 0.08);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.result-box { margin-top: 1.5rem; }

.upload-zone {
  border: 2px dashed var(--border-gold);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
}

.verify-ok {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid var(--success);
}

.verify-fail {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid var(--danger);
}

.verified-photo {
  max-width: 100%;
  max-height: 280px;
  border-radius: 10px;
  margin-top: 0.75rem;
  border: 1px solid var(--border-gold);
}

.ad-slot {
  max-width: 720px;
  margin: 0.5rem auto;
  text-align: center;
  min-height: 10px;
}

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

.disclaimer {
  max-width: 680px;
  margin: 0 auto 0.75rem;
}

.footer-links a {
  color: var(--gold);
  text-decoration: none;
}

.hidden { display: none !important; }

/* How It Works & FAQ Section */
.info-section {
  width: 100%;
  max-width: 720px;
  margin: 2rem auto 1rem;
  padding: 0 1rem;
}

.section-heading {
  text-align: center;
  color: var(--gold);
  font-size: 1.45rem;
  letter-spacing: 1px;
  margin-bottom: 0.4rem;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.step-card {
  background: var(--card-bg);
  border: 1px solid var(--border-gold);
  border-radius: 14px;
  padding: 1.25rem;
}

.step-num {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0b0d12;
  background: var(--gold);
  padding: 2px 8px;
  border-radius: 6px;
  margin-bottom: 0.6rem;
}

.step-card h3 {
  color: var(--text-main);
  font-size: 1.02rem;
  margin-bottom: 0.4rem;
}

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

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 1.25rem;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 1rem 1.25rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text-main);
  font-size: 0.96rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin-top: 0.75rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 0.75rem;
}
/* New unilateral pillars */
.pillars {
  display: flex;
  gap: 8px;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.pillar {
  background: rgba(245, 185, 66, 0.08);
  border: 1px solid rgba(245, 185, 66, 0.25);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.3px;
}

/* Slightly tighter tabs for 2 items */
.tabs {
  grid-template-columns: 1fr 1fr;
}

/* Better readability for long content */
textarea {
  min-height: 160px;
  line-height: 1.55;
}

/* ===== Compact Header ===== */
.site-header {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(245, 185, 66, 0.15);
  background: rgba(11, 13, 18, 0.92);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.logo-img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(245, 185, 66, 0.35);
  margin-bottom: 0;
}

.brand-text h1 {
  font-size: 1.25rem;
  letter-spacing: 1.5px;
  color: var(--gold);
  margin: 0;
  line-height: 1.1;
}

.brand-text .subtitle {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 1px;
  letter-spacing: 0.2px;
}

/* Mini navigation */
.mini-nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.mini-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 5px 11px;
  border-radius: 6px;
  transition: all 0.18s;
}

.mini-nav a:hover {
  color: var(--gold);
  background: rgba(245, 185, 66, 0.1);
}

/* Online badge - smaller */
.online-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 0.78rem;
  white-space: nowrap;
}

.online-badge .dot {
  width: 7px;
  height: 7px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--success);
}

/* Responsive */
@media (max-width: 720px) {
  .site-header {
    position: relative; /* Nu mai blochează ecranul la scroll pe mobil */
    padding: 0.6rem 0.75rem;
  }

  .header-inner {
    justify-content: space-between;
    gap: 0.5rem;
  }

  .brand {
    gap: 8px;
  }

  .logo-img {
    width: 32px;
    height: 32px;
  }

  .brand-text h1 {
    font-size: 1.05rem;
    letter-spacing: 1px;
  }

  .brand-text .subtitle {
    font-size: 0.65rem;
  }

  .online-badge {
    order: 2;
    padding: 2px 8px;
    font-size: 0.68rem;
  }

  .mini-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 2px;
    margin-top: 0.25rem;
    padding-top: 0.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .mini-nav a {
    font-size: 0.76rem;
    padding: 4px 6px;
    white-space: nowrap;
  }
}
