/* EloraNW sitesi: koyu tema, marka yeşili. Dış yazı tipi ya da görsel kullanılmaz (hız ve gizlilik). */
:root {
  --bg: #090d0a;
  --bg-2: #0e1410;
  --panel: #121a14;
  --panel-2: #172119;
  --line: #233127;
  --line-2: #2f4234;
  --text: #e9f2ea;
  --muted: #9db2a2;
  --dim: #6d8173;
  --brand: #2ee66b;
  --brand-2: #b8f84a;
  --warn: #ffd84b;
  --danger: #ff5a5a;
  --radius: 14px;
  --shadow: 0 12px 40px rgba(0, 0, 0, .45);
  --grad: linear-gradient(100deg, var(--brand), var(--brand-2));
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(1100px 520px at 85% -120px, rgba(46, 230, 107, .13), transparent 70%),
    radial-gradient(900px 480px at -10% 10%, rgba(184, 248, 74, .07), transparent 70%),
    var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { display: block; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); margin-inline: auto; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.center { text-align: center; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ------------------------------------------------------------ Üst menü */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(9, 13, 10, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 22px; height: 66px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 900; font-size: 1.25rem; letter-spacing: .02em; }
.logo:hover { text-decoration: none; }
.logo b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cube { width: 26px; height: 26px; position: relative; transform: rotate(45deg); border-radius: 5px; background: var(--grad); box-shadow: 0 0 22px rgba(46, 230, 107, .45); }
.cube::after { content: ""; position: absolute; inset: 6px; border-radius: 3px; background: var(--bg); }
.nav-links { display: flex; gap: 4px; margin-left: 8px; }
.nav-links a { color: var(--muted); padding: 8px 12px; border-radius: 10px; font-weight: 600; font-size: .95rem; }
.nav-links a:hover { color: var(--text); background: var(--panel); text-decoration: none; }
.nav-links a.active { color: var(--text); background: var(--panel-2); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line-2); color: var(--text); border-radius: 10px; padding: 8px 10px; font: inherit; cursor: pointer; }

/* ------------------------------------------------------------ Düğmeler */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: 12px; border: 1px solid var(--line-2);
  background: var(--panel); color: var(--text); font: 700 .95rem var(--font);
  cursor: pointer; transition: transform .12s ease, background .15s ease, border-color .15s ease, opacity .15s;
  text-decoration: none !important; white-space: nowrap;
}
.btn:hover { background: var(--panel-2); border-color: var(--brand); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn.primary { background: var(--grad); color: #062010; border-color: transparent; box-shadow: 0 8px 24px rgba(46, 230, 107, .25); }
.btn.primary:hover { filter: brightness(1.06); }
.btn.big { padding: 15px 24px; font-size: 1.05rem; border-radius: 14px; }
.btn.small { padding: 7px 12px; font-size: .85rem; border-radius: 10px; }
.btn.ghost { background: transparent; }
.ip-btn { font-family: var(--mono); }
.ip-btn .ip-hint { font-family: var(--font); font-weight: 600; color: var(--muted); font-size: .8rem; }

/* ------------------------------------------------------------ Durum hapı */
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--panel); color: var(--muted); font-size: .85rem; font-weight: 600; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--dim); }
.pill.on .dot { background: var(--brand); box-shadow: 0 0 0 4px rgba(46, 230, 107, .18); animation: pulse 2s infinite; }
.pill.on { color: var(--text); }
.pill.off .dot { background: var(--danger); }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(46, 230, 107, 0); } }

/* ------------------------------------------------------------ Kahraman alanı */
.hero { padding: 76px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 800; color: var(--brand); margin-bottom: 14px; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hero-art { position: relative; aspect-ratio: 1; max-width: 440px; justify-self: end; width: 100%; }
.iso { position: absolute; inset: 0; display: grid; place-items: center; }
.iso-grid { width: 78%; aspect-ratio: 1; transform: rotateX(55deg) rotateZ(45deg); display: grid; grid-template-columns: repeat(6, 1fr); gap: 5px; }
.iso-grid span { border-radius: 4px; background: var(--panel-2); border: 1px solid var(--line-2); box-shadow: 0 6px 0 #0a120c; transition: transform .4s ease; }
.iso-grid span.g { background: linear-gradient(135deg, #2ee66b, #1ea956); border-color: #4cf088; box-shadow: 0 6px 0 #137a3c; }
.iso-grid span.l { background: linear-gradient(135deg, #b8f84a, #8fd12c); border-color: #cdfb7b; box-shadow: 0 6px 0 #6a9a1f; }
.iso-grid span.u { background: linear-gradient(135deg, #ff9f1c, #c4610a); border-color: #ffbe66; box-shadow: 0 6px 0 #7d3d06; }
.hero-art:hover .iso-grid span.g { transform: translateZ(10px); }

/* ------------------------------------------------------------ Bölümler, kartlar */
section { padding: 46px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.section-head p { margin: 0; color: var(--muted); }
.card { background: linear-gradient(180deg, var(--panel), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.grid { display: grid; gap: 16px; }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
.feature .ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--panel-2); border: 1px solid var(--line-2); margin-bottom: 14px; color: var(--brand); }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }

/* Geri sayım */
.countdown-card { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 26px 28px; border-radius: 18px; border: 1px solid var(--line-2);
  background: radial-gradient(600px 200px at 0% 0%, rgba(46, 230, 107, .12), transparent 70%), var(--panel); }
.countdown { display: flex; gap: 10px; }
.countdown div { min-width: 78px; text-align: center; padding: 12px 10px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line-2); }
.countdown b { display: block; font-size: 1.9rem; font-weight: 900; font-variant-numeric: tabular-nums; line-height: 1.1; }
.countdown small { color: var(--dim); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 18px; }
.timeline div { padding: 12px 14px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); }
.timeline b { display: block; font-size: .95rem; }
.timeline span { color: var(--muted); font-size: .85rem; }
.timeline div.now { border-color: var(--brand); }

/* Son alımlar */
.recent { display: flex; flex-wrap: wrap; gap: 10px; }
.recent .item { display: flex; align-items: center; gap: 10px; padding: 9px 14px 9px 9px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); font-size: .92rem; }
.avatar { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-weight: 900; color: #062010; background: var(--grad); font-size: .85rem; }

/* ------------------------------------------------------------ Mağaza */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.tab { padding: 10px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--panel); color: var(--muted); font: 700 .95rem var(--font); cursor: pointer; }
.tab:hover { color: var(--text); }
.tab.active { color: #062010; background: var(--grad); border-color: transparent; }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.product { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, color-mix(in srgb, var(--c, #2ee66b) 9%, var(--panel)), var(--bg-2)); transition: transform .15s ease, border-color .15s ease; }
.product:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c, #2ee66b) 60%, var(--line)); }
.product .p-icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; color: var(--c, #2ee66b);
  background: color-mix(in srgb, var(--c, #2ee66b) 14%, var(--bg-2)); border: 1px solid color-mix(in srgb, var(--c, #2ee66b) 40%, var(--line)); }
.product h3 { margin: 0; font-size: 1.15rem; }
.product .desc { color: var(--muted); font-size: .9rem; margin: 0; }
.product ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: .9rem; }
.product li { display: flex; gap: 8px; align-items: baseline; }
.product li::before { content: "✓"; color: var(--c, #2ee66b); font-weight: 900; }
.product .p-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 6px; }
.price { font-size: 1.5rem; font-weight: 900; }
.price small { font-size: .9rem; color: var(--muted); font-weight: 700; margin-left: 2px; }
.badge { position: absolute; top: 14px; right: 14px; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: 4px 8px; border-radius: 8px; color: #062010; background: var(--grad); }
.badge.save { background: var(--warn); }

/* ------------------------------------------------------------ Modal */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(3, 6, 4, .72); backdrop-filter: blur(6px); }
.modal .box { width: min(480px, 100%); max-height: calc(100vh - 40px); overflow: auto; padding: 26px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line-2); box-shadow: var(--shadow); position: relative; }
.modal .close { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--muted); font-size: 1.2rem; cursor: pointer; }
.modal .close:hover { color: var(--text); }
.summary { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); margin: 14px 0 18px; }
.summary .price { margin-left: auto; font-size: 1.3rem; }

/* ------------------------------------------------------------ Formlar */
label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 6px; }
.field { margin-bottom: 16px; }
.field .hint { color: var(--dim); font-size: .82rem; margin-top: 5px; }
input[type=text], input[type=number], select, textarea {
  width: 100%; padding: 12px 14px; border-radius: 11px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text);
  font: 1rem var(--font); outline: none; transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(46, 230, 107, .18); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: .9rem; color: var(--muted); cursor: pointer; }
.check input { margin-top: 4px; accent-color: var(--brand); width: 17px; height: 17px; flex: none; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.choice label { cursor: pointer; margin: 0; }
.choice input { position: absolute; opacity: 0; }
.choice .opt { display: block; padding: 16px; border-radius: 13px; border: 1px solid var(--line-2); background: var(--bg-2); transition: border-color .15s, background .15s; }
.choice .opt b { display: block; font-size: 1.05rem; }
.choice .opt span { color: var(--muted); font-weight: 500; font-size: .86rem; }
.choice input:checked + .opt { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 9%, var(--bg-2)); }
.choice input:focus-visible + .opt { box-shadow: 0 0 0 3px rgba(46, 230, 107, .25); }
.trap { position: absolute; left: -9999px; }

/* Bildirim kutuları */
.notice { padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2); font-size: .93rem; margin-bottom: 16px; }
.notice.ok { border-color: rgba(46, 230, 107, .5); background: rgba(46, 230, 107, .08); }
.notice.err { border-color: rgba(255, 90, 90, .5); background: rgba(255, 90, 90, .08); }
.notice.warn { border-color: rgba(255, 216, 75, .45); background: rgba(255, 216, 75, .07); }

/* ------------------------------------------------------------ Sandık */
.code-box { font: 900 2.4rem var(--mono); letter-spacing: .2em; text-align: center; padding: 18px; border-radius: 14px; background: var(--bg-2); border: 1px dashed var(--brand); margin: 12px 0; }
.cmd { font-family: var(--mono); background: var(--bg-2); border: 1px solid var(--line-2); padding: 2px 8px; border-radius: 7px; color: var(--brand-2); }
.chest-list { display: grid; gap: 10px; }
.chest-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 13px; background: var(--panel); border: 1px solid var(--line); }
.chest-item .p-icon { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; color: var(--c, #2ee66b); background: color-mix(in srgb, var(--c, #2ee66b) 14%, var(--bg-2)); flex: none; }
.chest-item .meta { flex: 1; min-width: 0; }
.chest-item .meta b { display: block; }
.chest-item .meta span { color: var(--dim); font-size: .85rem; }
.state { font-size: .82rem; font-weight: 700; padding: 5px 10px; border-radius: 9px; border: 1px solid var(--line-2); color: var(--muted); white-space: nowrap; }
.state.wait { color: var(--warn); border-color: rgba(255, 216, 75, .4); }
.state.done { color: var(--brand); border-color: rgba(46, 230, 107, .4); }
.steps { counter-reset: s; display: grid; gap: 10px; margin: 0 0 18px; padding: 0; list-style: none; }
.steps li { counter-increment: s; position: relative; padding-left: 38px; min-height: 26px; color: var(--muted); }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-weight: 900; color: #062010; background: var(--grad); font-size: .85rem; }

/* ------------------------------------------------------------ Yasal metinler */
.legal h1 { font-size: 2rem; }
.legal h2 { font-size: 1.2rem; margin-top: 1.8em; }
.legal p, .legal li { color: #cfdcd1; }
.legal ul, .legal ol { padding-left: 1.2em; }
.legal li { margin-bottom: .4em; }
.legal .box-info { padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--panel); }
.legal table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.legal td { padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal td:first-child { color: var(--muted); width: 38%; }
.page-head { padding: 54px 0 10px; }
.page-head p { color: var(--muted); max-width: 640px; }

/* ------------------------------------------------------------ Alt bilgi */
footer { margin-top: 40px; border-top: 1px solid var(--line); background: var(--bg-2); padding: 34px 0 26px; font-size: .9rem; }
footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 26px; }
footer h4 { margin: 0 0 10px; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--dim); }
footer a { color: var(--muted); display: block; margin-bottom: 6px; }
footer a:hover { color: var(--text); }
footer .fine { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--dim); font-size: .8rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.pay-note { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }

/* Bildirim (toast) */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); opacity: 0; z-index: 200; padding: 12px 18px; border-radius: 12px;
  background: var(--panel-2); border: 1px solid var(--brand); color: var(--text); font-weight: 700; box-shadow: var(--shadow); transition: all .25s ease; pointer-events: none; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ------------------------------------------------------------ Mobil */
@media (max-width: 920px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .grid.c3, .grid.c4 { grid-template-columns: 1fr 1fr; }
  .countdown-card { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav-links, .nav-right { display: none; }
  .nav.open .nav-links { display: flex; flex-direction: column; position: absolute; top: 66px; left: 0; right: 0; padding: 12px 20px 18px; background: var(--bg); border-bottom: 1px solid var(--line); margin: 0; }
  .nav.open .nav-right { display: flex; position: absolute; top: calc(66px + 214px); left: 20px; }
}
@media (max-width: 560px) {
  .grid.c3, .grid.c4, .row2, .choice, .timeline { grid-template-columns: 1fr; }
  .countdown div { min-width: 0; flex: 1; }
  .countdown b { font-size: 1.5rem; }
  footer .cols { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.summary .p-icon { width: 46px; height: 46px; border-radius: 12px; flex: none; display: grid; place-items: center; color: var(--c, #2ee66b);
  background: color-mix(in srgb, var(--c, #2ee66b) 14%, var(--panel)); border: 1px solid color-mix(in srgb, var(--c, #2ee66b) 40%, var(--line)); }
.logo-img { width: 34px; height: 34px; object-fit: contain; filter: drop-shadow(0 0 10px rgba(46, 230, 107, .35)); }
.hero-logo { width: 100%; height: auto; filter: drop-shadow(0 0 40px rgba(46, 230, 107, .35)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
