/* GeorgianCraft Store — style.css */

:root {
  --bg:        #1c1c1c;
  --surface:   #252525;
  --surface2:  #2e2e2e;
  --border:    #3a3a3a;
  --green:     #55ff55;
  --green-d:   #22882a;
  --green-btn: #3a9e3a;
  --green-hov: #2e8c2e;
  --yellow:    #ffcc00;
  --discord:   #5865f2;
  --discord-d: #4752c4;
  --text:      #e8e8e8;
  --text-dim:  #999;
  --white:     #ffffff;
  --warn-bg:   rgba(255,204,0,0.08);
  --warn-bdr:  rgba(255,204,0,0.35);

  --font-px:   'Press Start 2P', monospace;
  --font-body: 'Noto Sans Georgian', sans-serif;
  --r:         6px;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
}

/* ── NAV ─────────────────────────────────────────────────── */
.nav {
  background: #111;
  border-bottom: 3px solid #2a2a2a;
  position: sticky; top: 0; z-index: 50;
}
.nav-inner {
  max-width: 860px; margin: 0 auto;
  padding: 0 24px; height: 60px;
  display: flex; align-items: center; justify-content: space-between;
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon { font-size: 1.6rem; }
.logo-name {
  font-family: var(--font-px); font-size: 0.7rem;
  color: var(--green); letter-spacing: 0.5px;
  text-shadow: 0 0 16px rgba(85,255,85,0.3);
}
.logo-sub { font-size: 0.72rem; color: var(--text-dim); margin-top: 2px; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-a {
  font-family: var(--font-body); font-size: 0.85rem;
  color: var(--text-dim); text-decoration: none;
  padding: 6px 14px; border-radius: var(--r);
  transition: all 0.15s;
}
.nav-a:hover { color: var(--text); background: var(--surface); }
.discord-link {
  display: flex; align-items: center; gap: 6px;
  color: #8b9bf4 !important;
  border: 1px solid rgba(88,101,242,0.3);
}
.discord-link:hover {
  background: rgba(88,101,242,0.12) !important;
  color: #aab4f8 !important;
  border-color: rgba(88,101,242,0.5);
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(180deg, #111 0%, #1c1c1c 100%);
  border-bottom: 3px solid #2a2a2a;
  padding: 72px 24px 64px;
  text-align: center;
}
.hero-inner { max-width: 560px; margin: 0 auto; }

.hero-coin {
  font-size: 4rem;
  display: block; margin-bottom: 20px;
  animation: bob 3s ease-in-out infinite;
  filter: drop-shadow(0 4px 16px rgba(255,204,0,0.3));
}
@keyframes bob {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.hero-title {
  font-family: var(--font-px);
  font-size: clamp(1rem, 3vw, 1.6rem);
  color: var(--green);
  text-shadow: 0 0 24px rgba(85,255,85,0.25);
  margin-bottom: 16px; line-height: 1.6;
}

.hero-desc {
  font-size: 1rem; color: var(--text-dim);
  margin-bottom: 28px;
}

.hero-rate {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--surface); border: 2px solid var(--border);
  border-radius: var(--r); padding: 12px 24px;
  margin-bottom: 32px;
  font-family: var(--font-px); font-size: 0.75rem;
}
.rate-num   { color: var(--yellow); }
.rate-arrow { color: var(--text-dim); }
.rate-coins { color: var(--green); }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn-primary {
  font-family: var(--font-px); font-size: 0.65rem;
  background: var(--green-btn);
  color: #fff; text-decoration: none;
  display: inline-block;
  padding: 14px 32px; border-radius: var(--r);
  border: none; cursor: pointer;
  box-shadow: 0 4px 0 var(--green-d);
  transition: transform 0.1s, box-shadow 0.1s;
  letter-spacing: 0.5px;
}
.btn-primary:hover  { transform: translateY(-2px); box-shadow: 0 6px 0 var(--green-d); }
.btn-primary:active { transform: translateY(2px);  box-shadow: 0 2px 0 var(--green-d); }

/* ── SECTIONS ────────────────────────────────────────────── */
.section {
  max-width: 860px; margin: 0 auto;
  padding: 56px 24px;
}

.section-title {
  font-family: var(--font-px); font-size: 0.8rem;
  color: var(--text); margin-bottom: 10px;
}
.section-sub {
  font-size: 0.9rem; color: var(--text-dim);
  margin-bottom: 28px;
}

/* ── SHOP CARD ───────────────────────────────────────────── */
.shop-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}

.shop-card-row {
  display: flex;
  border-bottom: 2px solid var(--border);
}
.shop-info-block {
  flex: 1; padding: 20px 24px;
}
.shop-divider { width: 2px; background: var(--border); flex-shrink: 0; }
.sib-label {
  font-size: 0.72rem; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 6px;
}
.sib-val { font-size: 1rem; color: var(--text); font-weight: 600; }
.sib-val.highlight { color: var(--yellow); }

.shop-note {
  padding: 16px 24px;
  font-size: 0.88rem; color: var(--text-dim);
  background: var(--warn-bg);
  border-bottom: 2px solid var(--border);
  line-height: 1.6;
}
.shop-note strong { color: var(--text); }

.btn-buy {
  font-family: var(--font-px); font-size: 0.65rem;
  display: block; width: 100%;
  background: var(--green-btn); color: #fff;
  border: none; padding: 18px;
  cursor: pointer; letter-spacing: 0.5px;
  transition: background 0.15s;
}
.btn-buy:hover { background: var(--green-hov); }

/* ── DISCORD CARD ────────────────────────────────────────── */
.discord-card {
  background: var(--surface);
  border: 2px solid rgba(88,101,242,0.3);
  border-radius: var(--r);
  padding: 24px 28px;
  display: flex; align-items: center;
  justify-content: space-between; gap: 20px;
}
.discord-left { display: flex; align-items: center; gap: 16px; }
.discord-icon {
  width: 52px; height: 52px;
  background: rgba(88,101,242,0.15);
  border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: #8b9bf4;
}
.discord-title { font-weight: 700; font-size: 1rem; color: var(--text); margin-bottom: 2px; }
.discord-desc  { font-size: 0.85rem; color: var(--text-dim); }

.btn-discord {
  font-family: var(--font-body); font-size: 0.88rem; font-weight: 600;
  background: var(--discord); color: #fff;
  text-decoration: none; padding: 10px 22px;
  border-radius: var(--r); flex-shrink: 0;
  transition: background 0.15s;
}
.btn-discord:hover { background: var(--discord-d); }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 4px; }

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

.faq-q {
  padding: 16px 20px; cursor: pointer;
  font-size: 0.95rem; font-weight: 600;
  color: var(--text);
  display: flex; justify-content: space-between; align-items: center;
  transition: background 0.12s; user-select: none;
}
.faq-q:hover { background: var(--surface2); }
.faq-arrow { color: var(--green); font-size: 0.7rem; transition: transform 0.2s; }
.faq-q.open .faq-arrow { transform: rotate(180deg); }

.faq-a {
  display: none;
  padding: 0 20px 16px;
  font-size: 0.88rem; color: var(--text-dim); line-height: 1.65;
  border-top: 2px solid var(--border);
}
.faq-a.open { display: block; padding-top: 14px; }

/* ── FOOTER ──────────────────────────────────────────────── */
.footer {
  background: #111; border-top: 3px solid #2a2a2a;
  padding: 20px 24px; margin-top: 20px;
}
.footer-inner {
  max-width: 860px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-inner span { font-size: 0.8rem; color: var(--text-dim); }
.footer-inner a { font-size: 0.8rem; color: #8b9bf4; text-decoration: none; }
.footer-inner a:hover { color: #aab4f8; }

/* ── MODAL ───────────────────────────────────────────────── */
.overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.82);
  display: none; align-items: center; justify-content: center;
  z-index: 200; padding: 20px;
}
.overlay.open { display: flex; animation: fo 0.18s ease; }
@keyframes fo { from { opacity: 0; } }

.modal {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--r);
  max-width: 480px; width: 100%;
  padding: 32px 28px 24px;
  position: relative;
  animation: mu 0.2s ease;
  box-shadow: 0 24px 80px rgba(0,0,0,0.8);
}
@keyframes mu { from { transform: translateY(16px); opacity: 0; } }

.modal-x {
  position: absolute; top: 14px; right: 16px;
  background: none; border: none;
  color: var(--text-dim); font-size: 1.1rem;
  cursor: pointer; transition: color 0.12s;
}
.modal-x:hover { color: var(--text); }

.modal-dots {
  display: flex; justify-content: center; gap: 8px;
  margin-bottom: 28px;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border); transition: background 0.2s;
}
.dot.active { background: var(--green); }

/* Steps */
.step { text-align: center; }
.step.hidden { display: none; }

.step-icon-big {
  font-size: 3rem; display: block;
  margin-bottom: 16px;
}

.step-heading {
  font-family: var(--font-px); font-size: 0.75rem;
  color: var(--text); margin-bottom: 14px; line-height: 1.6;
}

.step-text {
  font-size: 0.9rem; color: var(--text-dim);
  margin-bottom: 20px; line-height: 1.65;
}

.step-checklist {
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 20px;
}
.sc-row {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--r); padding: 10px 16px;
  font-size: 0.9rem; color: var(--text);
  text-align: left;
}
.sc-icon { font-size: 1.1rem; flex-shrink: 0; }

.step-rate-box {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--surface2); border: 2px solid var(--border);
  border-radius: var(--r); padding: 10px 24px;
  font-family: var(--font-px); font-size: 0.7rem;
}
.step-rate-box span:first-child { color: var(--yellow); }
.sr-arrow { color: var(--text-dim); }
.sr-coins { color: var(--green); }

/* Mock form */
.mock-form {
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 16px; text-align: left;
}
.mock-field {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--r); padding: 12px 16px;
}
.mf-label {
  font-size: 0.72rem; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 6px;
}
.req { color: #ff5555; }
.mf-input {
  background: #1a1a1a; border: 1px solid var(--green);
  border-radius: 3px; padding: 8px 12px;
  font-size: 0.95rem; color: var(--text);
  margin-bottom: 6px;
  box-shadow: 0 0 8px rgba(85,255,85,0.1);
}
.mf-sym { color: var(--yellow); margin-right: 4px; }
.mf-cur { color: var(--green); animation: blink 1s step-end infinite; margin-left: 1px; }
@keyframes blink { 50% { opacity: 0; } }
.mf-hint { font-size: 0.78rem; color: var(--green); }

.step-warn {
  font-size: 0.82rem; color: var(--text-dim);
  background: var(--warn-bg); border: 1px solid var(--warn-bdr);
  border-radius: var(--r); padding: 10px 14px;
  text-align: left;
}

/* Modal nav */
.modal-nav {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 24px; gap: 12px;
}
.btn-back {
  font-family: var(--font-body); font-size: 0.88rem;
  background: transparent; color: var(--text-dim);
  border: 1px solid var(--border); padding: 10px 18px;
  border-radius: var(--r); cursor: pointer;
  transition: all 0.12s;
}
.btn-back:hover { color: var(--text); border-color: #555; }
.btn-back:disabled { opacity: 0.3; cursor: default; }

.btn-next {
  font-family: var(--font-px); font-size: 0.6rem;
  background: var(--green-btn); color: #fff;
  border: none; padding: 12px 22px;
  border-radius: var(--r); cursor: pointer;
  box-shadow: 0 3px 0 var(--green-d);
  transition: transform 0.1s, box-shadow 0.1s;
  letter-spacing: 0.5px; flex: 1;
}
.btn-next:hover  { transform: translateY(-1px); box-shadow: 0 4px 0 var(--green-d); }
.btn-next:active { transform: translateY(1px);  box-shadow: 0 1px 0 var(--green-d); }
.btn-next.pay    { background: #e69000; box-shadow: 0 3px 0 #a56700; }
.btn-next.pay:hover { box-shadow: 0 4px 0 #a56700; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 600px) {
  .shop-card-row { flex-direction: column; }
  .shop-divider  { width: 100%; height: 2px; }
  .discord-card  { flex-direction: column; text-align: center; }
  .discord-left  { flex-direction: column; }
  .nav-links .nav-a:not(.discord-link) { display: none; }
}
