/* =========================================================
   HakikiCraft - Global Stylesheet
   ========================================================= */

:root {
  --bg: #0a0e0a;
  --bg-alt: #0e130e;
  --surface: #141c14;
  --surface-2: #1b241a;
  --border: #283428;
  --border-light: #3a4a38;

  --green: #4fae4f;
  --green-light: #7fd66a;
  --green-dark: #2b5c2b;

  --stone: #6f9aa0;
  --stone-light: #a9d6dc;
  --stone-dark: #2f4548;

  --gold: #f0c94a;
  --gold-dark: #b8912a;

  --text: #eef2ec;
  --text-muted: #9db09c;
  --text-faint: #67796a;

  --danger: #e1605a;

  --accent: var(--green);
  --accent-light: var(--green-light);
  --accent-dark: var(--green-dark);

  --radius-sm: 3px;
  --radius: 6px;
  --shadow-block: 0 4px 0 rgba(0,0,0,.45);
  --font-pixel: "Press Start 2P", monospace;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

body[data-theme="skyblock"] {
  --accent: var(--stone);
  --accent-light: var(--stone-light);
  --accent-dark: var(--stone-dark);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  background-image:
    radial-gradient(circle at 15% 0%, rgba(79,174,79,.08), transparent 40%),
    radial-gradient(circle at 85% 20%, rgba(111,154,160,.07), transparent 40%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.pixel-corners {
  clip-path: polygon(
    0 10px, 10px 10px, 10px 0,
    calc(100% - 10px) 0, calc(100% - 10px) 10px, 100% 10px,
    100% calc(100% - 10px), calc(100% - 10px) calc(100% - 10px), calc(100% - 10px) 100%,
    10px 100%, 10px calc(100% - 10px), 0 calc(100% - 10px)
  );
}

.pixel-corners-sm {
  clip-path: polygon(
    0 6px, 6px 6px, 6px 0,
    calc(100% - 6px) 0, calc(100% - 6px) 6px, 100% 6px,
    100% calc(100% - 6px), calc(100% - 6px) calc(100% - 6px), calc(100% - 6px) 100%,
    6px 100%, 6px calc(100% - 6px), 0 calc(100% - 6px)
  );
}

.section-label {
  display: inline-block;
  font-family: var(--font-pixel);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--accent-light);
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border-light);
  padding: 6px 12px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-pixel);
  font-size: clamp(20px, 3vw, 32px);
  line-height: 1.5;
  margin-bottom: 14px;
  text-shadow: 0 3px 0 rgba(0,0,0,.4);
}

.section-desc {
  color: var(--text-muted);
  max-width: 620px;
  font-size: 15px;
}

.section-head {
  text-align: center;
  margin: 0 auto 48px;
  max-width: 640px;
}
.section-head .section-desc { margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-pixel);
  font-size: 12px;
  padding: 16px 24px;
  border: none;
  color: #0b120b;
  background: var(--accent);
  box-shadow: var(--shadow-block), inset 0 -4px 0 rgba(0,0,0,.25), inset 0 3px 0 rgba(255,255,255,.25);
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
  white-space: nowrap;
}
.btn:hover { filter: brightness(1.1); transform: translateY(-2px); }
.btn:active { transform: translateY(1px); box-shadow: 0 2px 0 rgba(0,0,0,.45), inset 0 -2px 0 rgba(0,0,0,.25); }

.btn-primary { background: var(--accent); color: #0b120b; }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border-light);
  box-shadow: var(--shadow-block);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent-light); }

.btn-gold {
  background: var(--gold);
  color: #241a03;
}

.btn-block { width: 100%; }
.btn-sm { padding: 11px 16px; font-size: 10px; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,14,10,.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand img {
  width: 78px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 5px 8px rgba(0,0,0,.38));
}
.brand span {
  font-family: var(--font-pixel);
  font-size: 13px;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
  transition: color .15s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--accent);
}

.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 24px;
}

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .navbar.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px 28px;
    gap: 18px;
  }
}

@media (max-width: 560px) {
  .navbar .container { padding: 0 18px; }
  .brand { gap: 8px; }
  .brand img { width: 74px; height: 40px; }
  .brand span { display: none; }
  .nav-actions .btn { display: none; }
}

/* Ana sayfa mağaza çağrısı */
.home-store { padding: 84px 0; background: linear-gradient(180deg, var(--bg), var(--bg-alt)); }
.home-store-inner { position: relative; overflow: hidden; padding: 54px; text-align: center; border: 1px solid var(--border-light); background: radial-gradient(circle at 50% 0, rgba(240,201,74,.12), transparent 55%), var(--card); }
.home-store-inner::after { content: ""; position: absolute; inset: auto 0 0; height: 4px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.home-store-inner p { max-width: 720px; margin: 0 auto 28px; color: var(--text-muted); font-size: 17px; }
@media (max-width: 640px) { .home-store { padding: 54px 0; } .home-store-inner { padding: 38px 22px; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 90px 0 100px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10%;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.02) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.02) 0 1px, transparent 1px 40px);
  pointer-events: none;
  mask-image: radial-gradient(circle at 50% 30%, black, transparent 70%);
}

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
}

.hero-logo {
  width: min(520px, 86vw);
  height: auto;
  max-height: 230px;
  object-fit: contain;
  filter: drop-shadow(0 16px 0 rgba(0,0,0,.28)) drop-shadow(0 0 44px rgba(79,174,79,.28));
  animation: hero-logo-reveal .78s cubic-bezier(.2,.72,.25,1) both;
}
@keyframes hero-logo-reveal {
  from { opacity: 0; transform: translateY(14px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-title {
  font-family: var(--font-pixel);
  font-size: clamp(22px, 5vw, 42px);
  line-height: 1.6;
  text-shadow: 0 4px 0 rgba(0,0,0,.5);
}
.hero-title .accent { color: var(--green-light); }
.hero-title .accent-2 { color: var(--stone-light); }

.hero-subtitle {
  max-width: 620px;
  color: var(--text-muted);
  font-size: 17px;
}

.ip-box {
  display: flex;
  align-items: stretch;
  background: var(--surface);
  border: 2px solid var(--border-light);
  margin-top: 10px;
}
.ip-box span {
  padding: 16px 22px;
  font-family: var(--font-pixel);
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 1px;
}
.ip-box button {
  border: none;
  border-left: 2px solid var(--border-light);
  background: var(--surface-2);
  color: var(--text);
  padding: 0 20px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background .15s ease, color .15s ease;
}
.ip-box button:hover { background: var(--accent); color: #0b120b; }

@media (max-width: 560px) {
  .ip-box {
    width: 100%;
    max-width: 330px;
    flex-direction: column;
  }
  .ip-box span {
    padding: 14px 16px;
    font-size: 11px;
    text-align: center;
    overflow-wrap: anywhere;
  }
  .ip-box button {
    min-height: 46px;
    justify-content: center;
    border-left: none;
    border-top: 2px solid var(--border-light);
  }
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }

.hero-badges {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 18px;
  font-size: 12px;
  color: var(--text-faint);
}
.hero-badges span { display: flex; align-items: center; gap: 6px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-light); box-shadow: 0 0 8px var(--green-light); }

/* ---------- Stats ---------- */
.stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 40px 0;
}
.stat-item { text-align: center; border-right: 1px solid var(--border); padding: 8px 12px; }
.stat-item:last-child { border-right: none; }
.stat-value {
  font-family: var(--font-pixel);
  font-size: clamp(18px, 3vw, 26px);
  color: var(--gold);
}
.stat-label { margin-top: 8px; font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; }

@media (max-width: 700px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); padding: 18px 12px; }
}

/* ---------- Game modes ---------- */
.modes { padding: 110px 0; }
.modes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
@media (max-width: 800px) { .modes-grid { grid-template-columns: 1fr; } }

.mode-card {
  position: relative;
  padding: 40px 32px;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--surface), var(--bg-alt));
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease;
}
.mode-card:hover { transform: translateY(-6px); }
.mode-card.theme-survival { border-color: var(--green-dark); }
.mode-card.theme-survival:hover { border-color: var(--green); }
.mode-card.theme-skyblock { border-color: var(--stone-dark); }
.mode-card.theme-skyblock:hover { border-color: var(--stone); }

.mode-card::after {
  content: "";
  position: absolute;
  width: 220px; height: 220px;
  right: -60px; top: -60px;
  border-radius: 50%;
  filter: blur(10px);
  opacity: .18;
}
.mode-card.theme-survival::after { background: var(--green); }
.mode-card.theme-skyblock::after { background: var(--stone); }

.mode-icon { font-size: 40px; margin-bottom: 18px; }
.mode-card h3 { font-family: var(--font-pixel); font-size: 18px; margin-bottom: 14px; }
.mode-card p { color: var(--text-muted); font-size: 14px; margin-bottom: 22px; min-height: 66px; }
.mode-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.mode-tags span {
  font-size: 11px;
  padding: 5px 10px;
  border: 1px solid var(--border-light);
  color: var(--text-muted);
}

/* ---------- Features ---------- */
.features { padding: 0 0 110px; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features-grid { grid-template-columns: 1fr; } }

.feature-card {
  padding: 28px 24px;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color .15s ease, transform .15s ease;
}
.feature-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.feature-icon {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-2);
  border: 1px solid var(--border-light);
  font-size: 20px;
  margin-bottom: 16px;
}
.feature-card h4 { font-size: 16px; margin-bottom: 8px; }
.feature-card p { font-size: 13.5px; color: var(--text-muted); }

/* ---------- CTA / Discord ---------- */
.cta {
  padding: 90px 0;
  text-align: center;
  border-top: 1px solid var(--border);
  background:
    linear-gradient(180deg, var(--bg-alt), var(--bg));
}
.cta-inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.cta h2 { font-family: var(--font-pixel); font-size: clamp(18px,3vw,28px); }
.cta p { color: var(--text-muted); }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  background: var(--bg-alt);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img {
  width: 78px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 4px 7px rgba(0,0,0,.35));
}
.footer-brand span { font-family: var(--font-pixel); font-size: 13px; }
.footer p.desc { color: var(--text-muted); font-size: 13.5px; max-width: 280px; }

.footer h5 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-faint);
  margin-bottom: 16px;
}
.footer ul li { margin-bottom: 10px; }
.footer ul li a { font-size: 14px; color: var(--text-muted); transition: color .15s ease; }
.footer ul li a:hover { color: var(--accent-light); }

.social-row { display: flex; gap: 10px; margin-top: 16px; }
.social-row a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-light);
  font-size: 15px;
  transition: border-color .15s ease, color .15s ease;
}
.social-row a:hover { border-color: var(--accent); color: var(--accent-light); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--text-faint);
}

/* =========================================================
   Market pages
   ========================================================= */

.market-hero {
  padding: 70px 0 60px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface), var(--bg));
}
.breadcrumb { font-size: 12.5px; color: var(--text-faint); margin-bottom: 18px; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent-light); }

.market-hero-icon { font-size: 46px; margin-bottom: 14px; }
.survival-hero-badge {
  position: relative;
  width: 88px;
  height: 88px;
  margin: 0 auto 18px;
  border: 1px solid rgba(127,214,106,.45);
  background:
    linear-gradient(180deg, rgba(127,214,106,.18), rgba(79,174,79,.06)),
    var(--surface);
  box-shadow:
    0 7px 0 rgba(0,0,0,.38),
    inset 0 0 0 4px rgba(255,255,255,.035),
    0 0 34px rgba(79,174,79,.2);
  clip-path: polygon(
    0 10px, 10px 10px, 10px 0,
    calc(100% - 10px) 0, calc(100% - 10px) 10px, 100% 10px,
    100% calc(100% - 10px), calc(100% - 10px) calc(100% - 10px), calc(100% - 10px) 100%,
    10px 100%, 10px calc(100% - 10px), 0 calc(100% - 10px)
  );
}
.survival-hero-badge .tree,
.survival-hero-badge .tree::before,
.survival-hero-badge .tree::after,
.survival-hero-badge .ground,
.survival-hero-badge .spark {
  position: absolute;
  display: block;
}
.survival-hero-badge .tree {
  left: 34px;
  bottom: 28px;
  width: 20px;
  height: 14px;
  background: var(--green-light);
  box-shadow: inset 0 -4px 0 var(--green), 0 3px 0 rgba(0,0,0,.28);
}
.survival-hero-badge .tree::before,
.survival-hero-badge .tree::after {
  content: "";
  left: 50%;
  transform: translateX(-50%);
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-bottom: 20px solid var(--green);
}
.survival-hero-badge .tree::before { top: -18px; }
.survival-hero-badge .tree::after {
  top: -34px;
  border-left-width: 14px;
  border-right-width: 14px;
  border-bottom-color: var(--green-light);
}
.survival-hero-badge .tree-back {
  left: 20px;
  bottom: 30px;
  transform: scale(.72);
  opacity: .72;
}
.survival-hero-badge .tree-front::before,
.survival-hero-badge .tree-front::after { filter: drop-shadow(0 3px 0 rgba(0,0,0,.24)); }
.survival-hero-badge .ground {
  left: 20px;
  right: 18px;
  bottom: 20px;
  height: 10px;
  background: linear-gradient(90deg, var(--green-dark), var(--gold-dark), var(--green-dark));
  box-shadow: 0 5px 0 rgba(0,0,0,.25);
}
.survival-hero-badge .ground::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: -6px;
  height: 6px;
  background: #5a3922;
}
.survival-hero-badge .spark {
  width: 6px;
  height: 6px;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(240,201,74,.55);
}
.survival-hero-badge .spark-left { left: 18px; top: 22px; }
.survival-hero-badge .spark-right { right: 18px; top: 30px; transform: scale(.72); }
.market-hero h1 { font-family: var(--font-pixel); font-size: clamp(20px, 4vw, 32px); margin-bottom: 14px; }
.market-hero p { color: var(--text-muted); max-width: 560px; margin: 0 auto; }

.market-switch {
  display: inline-flex;
  margin-top: 26px;
  border: 1px solid var(--border-light);
}
.market-switch a {
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
}
.market-switch a.active { background: var(--accent); color: #0b120b; }

.market-section { padding: 70px 0; }
.market-section + .market-section { border-top: 1px solid var(--border); }

.market-coming-soon-section {
  min-height: 420px;
  display: flex;
  align-items: center;
}

.coming-soon-box {
  max-width: 720px;
  margin: 0 auto;
  padding: 42px 34px;
  text-align: center;
  border: 1px solid var(--border-light);
  background:
    linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.02)),
    var(--surface);
  box-shadow: var(--shadow-block);
}

.coming-soon-box .section-label { margin-bottom: 18px; }
.coming-soon-box p {
  max-width: 580px;
  margin: 0 auto 26px;
  color: var(--text-muted);
}

@media (max-width: 560px) {
  .market-coming-soon-section { min-height: 360px; }
  .coming-soon-box { padding: 34px 22px; }
}

.rank-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 1180px) { .rank-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .rank-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .rank-grid { grid-template-columns: 1fr; } }

.rank-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 26px 18px 22px;
  position: relative;
  transition: transform .15s ease, border-color .15s ease;
}
.rank-card:hover { transform: translateY(-6px); border-color: var(--accent); }

.rank-card .btn:hover,
.extra-card .btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #241a03;
  filter: none;
  box-shadow:
    0 4px 0 rgba(0,0,0,.45),
    inset 0 -4px 0 rgba(126,86,14,.36),
    inset 0 3px 0 rgba(255,255,255,.32),
    0 0 22px rgba(240,201,74,.28);
}

.rank-badge {
  position: absolute;
  top: -1px; right: -1px;
  background: var(--gold);
  color: #241a03;
  font-size: 10px;
  font-weight: 800;
  padding: 5px 10px;
  letter-spacing: .5px;
}

.rank-icon { font-size: 32px; margin-bottom: 12px; }
.rank-card h3 { font-size: 17px; margin-bottom: 10px; }
.rank-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-pixel);
  font-size: 20px;
  color: var(--accent-light);
  margin-bottom: 18px;
}
.rank-price-old {
  color: var(--text-faint);
  font-size: 13px;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--danger);
}
.rank-price small { font-family: var(--font-body); font-size: 12px; color: var(--text-faint); font-weight: 400; }

.rank-features { margin-bottom: 22px; flex: 1; }
.rank-features li {
  font-size: 13px;
  color: var(--text-muted);
  padding-left: 20px;
  position: relative;
  margin-bottom: 9px;
}
.rank-features li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--accent-light);
  font-size: 11px;
}

.extra-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 1000px) { .extra-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .extra-grid { grid-template-columns: 1fr; } }

.extra-card {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 20px;
  text-align: center;
  transition: transform .15s ease, border-color .15s ease;
}
.extra-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.extra-icon { font-size: 26px; margin-bottom: 10px; }
.extra-card h4 { font-size: 14px; margin-bottom: 6px; }
.extra-card .extra-price { color: var(--gold); font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.extra-card ul { margin-bottom: 14px; }
.extra-card ul li { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }

.market-coming-soon-section { padding: 110px 0; }
.coming-soon-box {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--surface), var(--bg-alt));
  padding: 60px 44px;
}
.coming-soon-box .section-label { margin-bottom: 18px; }
.coming-soon-box .section-title { margin-bottom: 16px; }
.coming-soon-box p { color: var(--text-muted); margin-bottom: 30px; }

.notice-box {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border: 1px dashed var(--border-light);
  background: var(--surface);
  padding: 20px 24px;
  font-size: 13.5px;
  color: var(--text-muted);
}
.notice-box .icon { font-size: 22px; }
.notice-box strong { color: var(--text); }

/* ---------- Misc ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

.toast {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translate(-50%, 20px);
  background: var(--surface-2);
  border: 1px solid var(--accent);
  color: var(--text);
  padding: 12px 20px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 999;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* =========================================================
   Auth (giriş / kullanıcı rozeti / modal)
   ========================================================= */

.user-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 7px 7px 13px;
  border: 1px solid var(--border-light);
  background:
    linear-gradient(180deg, rgba(127,214,106,.08), transparent),
    var(--surface);
  box-shadow: 0 4px 0 rgba(0,0,0,.3);
  font-size: 13px;
}
.user-chip[hidden],
[data-auth-open][hidden] {
  display: none !important;
}
.user-chip .user-chip-name {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  font-weight: 600;
}
.user-chip .user-chip-name::before {
  content: "●";
  color: var(--green-light);
  font-size: 9px;
}

.auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background:
    radial-gradient(circle at 50% 22%, rgba(79,174,79,.16), transparent 34%),
    rgba(4, 7, 4, .78);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.auth-overlay[hidden] { display: none; }

.auth-modal {
  position: relative;
  width: 100%;
  max-width: 470px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.055), transparent 36%),
    linear-gradient(160deg, var(--surface), var(--bg-alt));
  border: 1px solid var(--border-light);
  padding: 42px 34px 32px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow:
    0 10px 0 rgba(0,0,0,.42),
    0 26px 70px rgba(0,0,0,.48),
    inset 0 0 0 4px rgba(255,255,255,.025);
}
.auth-modal::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-light), var(--gold), transparent);
  opacity: .8;
}

.auth-close {
  position: absolute;
  top: 14px; right: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 16px;
  width: 30px; height: 30px;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.auth-close:hover { color: var(--text); border-color: var(--accent); background: var(--surface-2); }

.auth-title {
  font-family: var(--font-pixel);
  font-size: 18px;
  line-height: 1.55;
  margin-bottom: 12px;
  text-shadow: 0 3px 0 rgba(0,0,0,.42);
}
.auth-sub {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 370px;
}
.auth-sub code {
  color: var(--gold);
  background: rgba(240,201,74,.08);
  border: 1px solid rgba(240,201,74,.22);
  padding: 2px 5px;
}

.auth-form { display: flex; flex-direction: column; gap: 16px; margin-bottom: 28px; }
.auth-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  color: var(--accent-light);
  font-weight: 700;
}
.auth-form input {
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  color: var(--text);
  padding: 13px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  box-shadow: inset 0 3px 0 rgba(0,0,0,.18);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.auth-form input:focus {
  outline: none;
  border-color: var(--accent);
  background: #101810;
  box-shadow:
    inset 0 3px 0 rgba(0,0,0,.18),
    0 0 0 3px rgba(79,174,79,.12);
}

.auth-error {
  font-size: 12.5px;
  color: var(--danger);
  border: 1px solid rgba(225, 96, 90, .4);
  background: rgba(225, 96, 90, .08);
  padding: 10px 12px;
}
.auth-error[hidden] { display: none; }

.auth-register-info {
  border: 1px dashed var(--border-light);
  background: rgba(255,255,255,.025);
  padding: 18px 18px 16px;
  font-size: 13px;
  color: var(--text-muted);
}
.auth-register-info strong {
  color: var(--text);
  display: block;
  margin-bottom: 8px;
  font-size: 13.5px;
}
.auth-register-info p { margin-bottom: 10px; }
.auth-code-box {
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  padding: 12px 14px;
  margin-bottom: 10px;
  font-family: var(--font-pixel);
  font-size: 11px;
  color: var(--gold);
  letter-spacing: .5px;
  overflow-x: auto;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.22);
}
.auth-note { font-size: 12px; color: var(--text-faint); }

@media (max-width: 560px) {
  .auth-modal {
    padding: 38px 22px 24px;
  }
  .auth-title { font-size: 15px; }
  .auth-code-box { font-size: 9px; }
}
