/* gift.css — /gift, /gift/success, /claim-gift pages. Cyber-gift themed, warm + trustworthy. */

:root {
  --bg-deep: #0a0a12;
  --bg-surface: #12121e;
  --bg-card: #1a1a2e;
  --fg: #e8e8f0;
  --fg-muted: #8888a8;
  --fg-dim: #555570;
  --accent: #00f0ff;
  --accent-warm: #ff6b35;
  --accent-secondary: #7b2fff;
  --gradient-accent: linear-gradient(135deg, #00f0ff, #7b2fff);
  --gradient-gift: linear-gradient(135deg, #ff6b35, #7b2fff);
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg-deep);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ─────────────────────────────────────────────────────────────────── */
.gf-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 10, 18, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 240, 255, 0.08);
}

.gf-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gf-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--fg);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
}

.gf-brand-icon { font-size: 1.3rem; }

.gf-nav-links {
  display: flex;
  gap: 24px;
}

.gf-nav-links a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

/* ── HERO ────────────────────────────────────────────────────────────────── */
.gf-hero {
  position: relative;
  padding: 120px 24px 80px;
  text-align: center;
  overflow: hidden;
}

.gf-hero-glow {
  position: absolute;
  top: -100px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(ellipse, rgba(255, 107, 53, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.gf-hero-inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.gf-hero-badge {
  display: inline-block;
  background: rgba(255, 107, 53, 0.12);
  border: 1px solid rgba(255, 107, 53, 0.3);
  color: #ff6b35;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.gf-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--fg);
}

.gf-gradient {
  background: var(--gradient-gift);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* Fallback for browsers without background-clip: text support */
  color: #ff6b35;
}

@supports not (background-clip: text) {
  .gf-gradient {
    background: transparent;
    color: #ff6b35;
  }
}

@media (max-width: 767px) {
  .gf-gradient {
    background: transparent;
    -webkit-text-fill-color: #ff6b35;
    color: #ff6b35;
  }
}

.gf-hero-sub {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 580px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.gf-hero-price {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 107, 53, 0.2);
  border-radius: 12px;
  padding: 14px 28px;
}

.gf-price-amount {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-warm);
}

.gf-price-label {
  color: var(--fg-muted);
  font-size: 0.95rem;
}

/* ── HOW IT WORKS ────────────────────────────────────────────────────────── */
.gf-how {
  padding: 72px 24px;
  background: var(--bg-surface);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.gf-how-inner {
  max-width: 900px;
  margin: 0 auto;
}

.gf-section-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 48px;
  text-align: center;
}

.gf-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.gf-step {
  flex: 1;
  min-width: 200px;
  max-width: 260px;
  text-align: center;
  padding: 0 16px;
}

.gf-step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gradient-gift);
  color: white;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.gf-step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--fg);
}

.gf-step p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

.gf-step-arrow {
  color: var(--fg-dim);
  font-size: 1.8rem;
  padding: 24px 8px 0;
  align-self: flex-start;
}

/* ── FORM SECTION ────────────────────────────────────────────────────────── */
.gf-form-section {
  padding: 72px 24px;
}

.gf-form-wrap {
  max-width: 680px;
  margin: 0 auto;
}

.gf-form-sub {
  color: var(--fg-muted);
  margin-bottom: 36px;
  text-align: center;
}

.gf-error-banner {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 24px;
  font-size: 0.9rem;
}

.gf-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gf-form-row {
  display: flex;
  gap: 20px;
}

.gf-form-row-2 > * { flex: 1; }

.gf-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gf-field label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.gf-req { color: #ff6b35; }

.gf-field input,
.gf-field select,
.gf-field textarea {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s;
  width: 100%;
}

.gf-field input:focus,
.gf-field select:focus,
.gf-field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.gf-field select option { background: var(--bg-card); }

.gf-field textarea { resize: vertical; min-height: 80px; }

.gf-field-hint {
  font-size: 0.78rem;
  color: var(--fg-dim);
  margin-top: 2px;
}

.gf-optional {
  color: var(--fg-dim);
  font-size: 0.8rem;
  font-weight: 400;
}

.gf-section-divider {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  padding: 8px 0 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 4px;
}

.gf-char-count {
  text-align: right;
}

.gf-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.gf-price-summary {
  display: flex;
  flex-direction: column;
}

.gf-price-big {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-warm);
}

.gf-price-desc {
  font-size: 0.8rem;
  color: var(--fg-dim);
  margin-top: 2px;
}

/* ── WHAT'S INCLUDED ─────────────────────────────────────────────────────── */
.gf-includes {
  padding: 72px 24px;
  background: var(--bg-surface);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.gf-includes-inner { max-width: 1000px; margin: 0 auto; }

.gf-includes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gf-include-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s;
}

.gf-include-card:hover { border-color: rgba(0, 240, 255, 0.2); }

.gf-include-icon { font-size: 2rem; margin-bottom: 12px; }

.gf-include-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 8px;
}

.gf-include-card p {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.gf-faq { padding: 72px 24px; }
.gf-faq-inner { max-width: 880px; margin: 0 auto; }

.gf-faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 20px;
}

.gf-faq-item {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
}

.gf-faq-item h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 8px;
}

.gf-faq-item p {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ── BUTTONS ─────────────────────────────────────────────────────────────── */
.gf-btn-primary {
  display: inline-block;
  background: var(--gradient-gift);
  color: white;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.2s;
  letter-spacing: 0.02em;
}

.gf-btn-primary:hover { opacity: 0.88; }
.gf-btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }
.gf-btn-full { width: 100%; text-align: center; }

.gf-btn-ghost {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--fg-muted);
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.gf-btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ── SUCCESS PAGE ────────────────────────────────────────────────────────── */
.gf-success-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 60px;
}

.gf-success-inner {
  position: relative;
  max-width: 560px;
  width: 100%;
  text-align: center;
}

.gf-success-icon { font-size: 4rem; margin-bottom: 16px; }

.gf-success-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 16px;
}

.gf-success-sub {
  color: var(--fg-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.gf-code-box {
  background: var(--bg-card);
  border: 2px solid rgba(0, 240, 255, 0.25);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 0 auto 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.gf-code-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-muted);
}

.gf-code-value {
  font-family: monospace;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.gf-copy-btn {
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.25);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

.gf-copy-btn:hover { background: rgba(0, 240, 255, 0.18); }

.gf-success-details {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 24px;
  text-align: left;
}

.gf-detail-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  gap: 12px;
}

.gf-detail-row:last-child { border-bottom: none; }

.gf-detail-label { color: var(--fg-muted); flex-shrink: 0; }

.gf-success-next {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-bottom: 28px;
  text-align: left;
}

.gf-success-next h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.gf-success-next ol {
  padding-left: 20px;
  color: var(--fg-muted);
  font-size: 0.9rem;
  line-height: 2;
}

.gf-success-note {
  color: var(--fg-muted);
  font-size: 0.88rem;
  margin-bottom: 12px;
}

/* ── CLAIM PAGE ──────────────────────────────────────────────────────────── */
.gf-claim-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 100px 24px 80px;
}

.gf-claim-inner {
  position: relative;
  max-width: 520px;
  width: 100%;
}

.gf-claim-icon { font-size: 3rem; margin-bottom: 12px; text-align: center; }

.gf-claim-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 12px;
  text-align: center;
}

.gf-claim-sub {
  color: var(--fg-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 28px;
  text-align: center;
}

.gf-claim-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 32px;
}

.gf-claim-what {
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
}

.gf-claim-what-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  margin-bottom: 10px;
}

.gf-unlock-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--fg-muted);
}

.gf-claim-footer-note {
  font-size: 0.78rem;
  color: var(--fg-dim);
  text-align: center;
  line-height: 1.5;
}

.gf-claim-faq {
  padding: 60px 24px 72px;
  background: var(--bg-surface);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* ── LINK ────────────────────────────────────────────────────────────────── */
.gf-link {
  color: var(--accent);
  text-decoration: none;
}

.gf-link:hover { text-decoration: underline; }

/* ── FOOTER ──────────────────────────────────────────────────────────────── */
.gf-footer {
  background: var(--bg-surface);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 32px 24px;
}

.gf-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.gf-footer-brand {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--fg-muted);
}

.gf-footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.gf-footer-links a {
  color: var(--fg-dim);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.2s;
}

.gf-footer-links a:hover { color: var(--accent); }

.gf-footer-copy {
  color: var(--fg-dim);
  font-size: 0.78rem;
}

/* ── RESPONSIVE ──────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .gf-nav-links { display: none; }
  .gf-form-row-2 { flex-direction: column; }
  .gf-steps { flex-direction: column; align-items: center; gap: 24px; }
  .gf-step-arrow { display: none; }
  .gf-faq-grid { grid-template-columns: 1fr; }
  .gf-submit-row { flex-direction: column; align-items: stretch; }
  .gf-btn-primary { text-align: center; }
  .gf-footer-inner { flex-direction: column; text-align: center; }
}

/* ── Tablet (iPad 768px) ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .gf-btn-primary { min-height: 44px; display: flex; align-items: center; justify-content: center; }
  .gf-btn-ghost { min-height: 44px; display: flex; align-items: center; justify-content: center; }
  .gf-hero { padding: 80px 24px 60px; }
  .gf-section { padding: 60px 24px; }
}

/* ── Small phones (≤480px) ───────────────────────────────────────────────── */
@media (max-width: 480px) {
  .gf-hero { padding: 80px 16px 52px; }
  .gf-hero h1 { font-size: 1.7rem; }
  .gf-hero-sub { font-size: 0.95rem; }
  .gf-section { padding: 48px 16px; }
  .gf-form-card { padding: 24px 16px; }
  .gf-btn-primary { min-height: 48px; font-size: 1rem; padding: 14px 24px; }
  /* Prevent iOS auto-zoom on inputs (any font-size < 16px triggers zoom) */
  .gf-field input,
  .gf-field select,
  .gf-field textarea { font-size: 16px; }
  .gf-nav { padding: 0 16px; }
  .gf-footer { padding: 32px 16px; }
  .gf-includes-grid { grid-template-columns: 1fr; }
}
