/* SolGodz — landing + mint widget. Palette drawn from the collection art:
   burnt sienna grounds, temple gold, cream suns, etched-glyph texture. */

.solgodz-page {
  --sg-bg: #0e0718;
  --sg-bg2: #150b22;
  --sg-panel: #1c102e;
  --sg-panel2: #251540;
  --sg-line: #3b2560;
  --sg-gold: #f0a32f;
  --sg-gold-bright: #ffcc4d;
  --sg-cream: #f7f0e6;
  --sg-cream-soft: #c9bede;
  --sg-ember: #ff5c39;
  --sg-purple: #8040e0;
  --sg-blue: #4080c0;
  --sg-mint: #00c080;
  --sg-neonpink: #e3308f;
  --sg-radius: 16px;
  background:
    radial-gradient(1200px 620px at 72% -12%, rgba(128, 64, 224, 0.22), transparent 60%),
    radial-gradient(900px 520px at 8% 24%, rgba(0, 192, 128, 0.10), transparent 55%),
    radial-gradient(760px 420px at 92% 62%, rgba(227, 48, 143, 0.09), transparent 55%),
    var(--sg-bg);
  color: var(--sg-cream);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  margin: 0;
  overflow-x: hidden;
}
.solgodz-page * { box-sizing: border-box; }
.solgodz-page a { color: var(--sg-gold-bright); }
.solgodz-page h1, .solgodz-page h2, .solgodz-page h3 { color: var(--sg-cream); line-height: 1.15; margin: 0 0 14px; }

/* ---- Buttons ---- */
.sg-btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px; letter-spacing: 0.2px;
  border-radius: 12px; padding: 14px 28px; cursor: pointer; border: 0;
  text-decoration: none; transition: filter .15s, transform .08s;
}
.sg-btn:active { transform: translateY(1px); }
/* Anchor CTAs: outrank the page-level link color. */
.solgodz-page a.sg-btn { text-decoration: none; }
.sg-btn-primary, .solgodz-page a.sg-btn-primary {
  background: linear-gradient(160deg, var(--sg-gold-bright), var(--sg-gold));
  color: #2a1503; box-shadow: 0 0 34px rgba(240, 163, 47, 0.35), 0 10px 24px rgba(0,0,0,.4);
}
.sg-btn-primary:hover { filter: brightness(1.08); }
.sg-btn-primary:disabled { opacity: .55; cursor: not-allowed; }
.sg-btn-ghost, .solgodz-page a.sg-btn-ghost {
  background: transparent; color: var(--sg-cream);
  border: 1.5px solid var(--sg-line); box-shadow: none;
}
.sg-btn-ghost:hover { border-color: var(--sg-gold); }
.sg-link { background: none; border: 0; color: var(--sg-cream-soft); text-decoration: underline; cursor: pointer; font-size: 13px; }

/* ---- Hero ---- */
.sg-hero { padding: 96px 24px 56px; text-align: center; }
.sg-hero-inner { max-width: 880px; margin: 0 auto; }
.sg-hero-logo { max-width: 340px; width: 70%; height: auto; margin-bottom: 26px; filter: drop-shadow(0 0 30px rgba(240,163,47,.35)); }
.sg-hero-kicker { text-transform: uppercase; letter-spacing: 3px; font-size: 13px; font-weight: 700; color: var(--sg-gold); margin: 0 0 18px; }
.sg-hero-kicker::after { content:""; display:block; width:110px; height:3px; margin:14px auto 0; border-radius:3px;
  background: linear-gradient(90deg, var(--sg-purple), var(--sg-neonpink), var(--sg-gold-bright), var(--sg-mint)); }
.sg-hero-title { font-size: clamp(34px, 6vw, 58px); font-weight: 900; letter-spacing: -1px; }
.sg-hero-sub { font-size: 18px; color: var(--sg-cream-soft); max-width: 640px; margin: 18px auto 30px; }
.sg-hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.sg-hero-date { margin-top: 18px; color: var(--sg-gold); font-weight: 600; font-size: 14px; }

/* ---- Art strip ---- */
.sg-strip {
  display: flex; gap: 18px; padding: 26px 0; overflow: hidden;
  border-top: 1px solid var(--sg-line); border-bottom: 1px solid var(--sg-line);
  background: var(--sg-bg2);
}
.sg-strip img {
  width: 168px; height: 168px; border-radius: 16px; flex: 0 0 auto;
  border: 2px solid var(--sg-line);
  animation: sg-scroll 44s linear infinite;
}
@keyframes sg-scroll { from { transform: translateX(0); } to { transform: translateX(-2232px); } }
@media (prefers-reduced-motion: reduce) { .sg-strip img { animation: none; } }

/* ---- Sections ---- */
.sg-section { padding: 72px 24px; }
.sg-section-inner { max-width: 1080px; margin: 0 auto; }
.sg-section h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 900; letter-spacing: -0.5px; }
.sg-section-sub { color: var(--sg-cream-soft); max-width: 560px; margin-bottom: 34px; }

/* ---- Mint section ---- */
.sg-mint-section { background: linear-gradient(180deg, var(--sg-bg2), var(--sg-bg)); border-bottom: 1px solid var(--sg-line); }
.sg-mint-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .sg-mint-grid { grid-template-columns: 1fr; } }
.sg-facts { list-style: none; padding: 0; margin: 0; }
.sg-facts li { padding: 10px 0 10px 26px; position: relative; color: var(--sg-cream-soft); }
.sg-facts li::before { content: '☀'; position: absolute; left: 0; color: var(--sg-gold); }
.sg-facts li:nth-child(2)::before { color: var(--sg-neonpink); }
.sg-facts li:nth-child(3)::before { color: var(--sg-mint); }
.sg-facts li:nth-child(4)::before { color: var(--sg-blue); }
.sg-facts b { color: var(--sg-cream); }

/* ---- Mint card (widget) ---- */
.sg-mint-card {
  background: linear-gradient(170deg, var(--sg-panel2), var(--sg-panel));
  border: 1px solid var(--sg-line); border-radius: var(--sg-radius);
  padding: 28px; box-shadow: 0 24px 60px rgba(0,0,0,.5);
}
.sg-mint-kicker { text-transform: uppercase; letter-spacing: 2.6px; font-size: 12px; font-weight: 800; color: var(--sg-gold); margin-bottom: 8px; }
.sg-mint-title { font-size: 26px; font-weight: 900; margin: 0 0 8px; }
.sg-mint-sub { color: var(--sg-cream-soft); font-size: 14.5px; margin: 0 0 16px; }
.sg-mint-stats { display: flex; gap: 26px; margin: 18px 0 12px; }
.sg-stat b { display: block; font-size: 22px; color: var(--sg-gold-bright); }
.sg-stat span { font-size: 12px; text-transform: uppercase; letter-spacing: 1.4px; color: var(--sg-cream-soft); }
.sg-bar { height: 9px; background: #120a20; border-radius: 999px; overflow: hidden; border: 1px solid var(--sg-line); margin-bottom: 18px; }
.sg-bar-fill { height: 100%; background: linear-gradient(90deg, var(--sg-purple), var(--sg-neonpink), var(--sg-gold-bright)); border-radius: 999px; transition: width .6s ease; }
.sg-connected { font-family: ui-monospace, Menlo, monospace; font-size: 13px; color: var(--sg-cream-soft); margin-bottom: 12px; display: flex; gap: 10px; align-items: center; }
.sg-btn-mint { width: 100%; font-size: 18px; padding: 16px; }
.sg-wl-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.sg-wl-actions .sg-btn { flex: 1; min-width: 180px; }
.sg-field { margin-bottom: 10px; }
.sg-field input {
  width: 100%; background: #120a20; border: 1px solid var(--sg-line); color: var(--sg-cream);
  border-radius: 10px; padding: 13px 14px; font: inherit; font-size: 14.5px;
}
.sg-field input:focus { outline: 2px solid var(--sg-gold); border-color: var(--sg-gold); }
.sg-status { min-height: 22px; margin-top: 14px; font-size: 14px; color: var(--sg-cream-soft); }
.sg-status.is-ok { color: #7ddc9a; }
.sg-status.is-err { color: #ff8d7a; }
.sg-fineprint { margin-top: 14px; font-size: 12px; color: #9b8468; }

/* ---- Reveal ---- */
.sg-reveal { text-align: center; margin-top: 18px; }
.sg-reveal-img {
  width: 240px; height: 240px; border-radius: 14px; border: 2px solid var(--sg-gold);
  box-shadow: 0 0 44px rgba(240,163,47,.45); animation: sg-pop .5s ease;
}
@keyframes sg-pop { from { transform: scale(.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.sg-reveal-name { margin-top: 10px; font-weight: 800; color: var(--sg-gold-bright); }

/* ---- Wallet modal ---- */
.sg-modal-overlay {
  position: fixed; inset: 0; background: rgba(10, 5, 2, 0.8); z-index: 99999;
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.sg-modal {
  background: var(--sg-panel2); border: 1px solid var(--sg-line); border-radius: var(--sg-radius);
  padding: 24px; width: 100%; max-width: 380px; box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.sg-modal h4 { margin: 0 0 16px; font-size: 18px; color: var(--sg-cream); }
.sg-wallet-opt {
  display: flex; align-items: center; gap: 12px; width: 100%;
  background: var(--sg-panel); border: 1px solid var(--sg-line); border-radius: 12px;
  color: var(--sg-cream); font: inherit; font-weight: 700; font-size: 15px;
  padding: 12px 16px; margin-bottom: 8px; cursor: pointer; transition: border-color .12s;
}
.sg-wallet-opt:hover { border-color: var(--sg-gold); }
.sg-wallet-opt img { width: 28px; height: 28px; border-radius: 7px; }
.sg-modal-close { margin-top: 8px; }

/* ---- Pantheon ---- */
.sg-pantheon {
  background: linear-gradient(180deg, #1d0f06, #150a04);
  border-top: 1px solid #4a2a14; border-bottom: 1px solid #4a2a14;
}
.sg-pantheon h2, .sg-pantheon .sg-section-sub b { color: #f5e9d0; }
.sg-pantheon .sg-god img { border-color: #4a2a14; }
.sg-pantheon-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 18px; }
.sg-god { margin: 0; text-align: center; }
.sg-god img {
  width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--sg-line);
  transition: transform .18s, box-shadow .18s;
}
.sg-god:hover img { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(240,163,47,.25); }
.sg-god figcaption { margin-top: 10px; }
.sg-god figcaption b { display: block; color: var(--sg-cream); }
.sg-god figcaption span { font-size: 12.5px; color: var(--sg-gold); letter-spacing: 1px; }

/* ---- Story ---- */
.sg-story { background: linear-gradient(180deg, var(--sg-bg2), var(--sg-bg)); border-top: 1px solid var(--sg-line); }
.sg-story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
@media (max-width: 860px) { .sg-story-grid { grid-template-columns: 1fr; } }
.sg-story p { color: var(--sg-cream-soft); }
.sg-prov-line { font-family: ui-monospace, Menlo, monospace; font-size: 13px; color: var(--sg-gold); border: 1px dashed var(--sg-line); border-radius: 10px; padding: 12px 14px; }

/* ---- FAQ ---- */
.sg-faq details {
  border: 1px solid var(--sg-line); border-radius: 12px; background: var(--sg-panel);
  padding: 16px 20px; margin-bottom: 10px;
}
.sg-faq summary { cursor: pointer; font-weight: 800; color: var(--sg-cream); font-size: 16px; }
.sg-faq summary::marker { color: var(--sg-gold); }
.sg-faq p { color: var(--sg-cream-soft); margin: 12px 0 2px; }

/* ---- Footer ---- */
.sg-footer {
  border-top: 1px solid var(--sg-line); padding: 36px 24px 48px; text-align: center;
  color: #9b8468; font-size: 13px; background: var(--sg-bg);
}
.sg-footer img { opacity: .9; margin-bottom: 10px; }
.sg-footer p { max-width: 560px; margin: 0 auto; }


/* ---- Trait spectrum chips ---- */
.sg-spectrum { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.sg-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--sg-panel); border: 1px solid var(--sg-line); border-radius: 999px;
  padding: 8px 16px; font-size: 13px; font-weight: 700; color: var(--sg-cream);
}
.sg-chip i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.sg-chip span { color: var(--sg-cream-soft); font-weight: 600; }
