/* Özgür'ün Sihirli Valizi — statik site stilleri. Koyu tema varsayılan; açık tema için <html data-theme="light">. */
:root {
  --bg: #070b16;
  --fg: #f4f6fb;
  --muted: #c9d1e3;
  --soft: #93a0bd;
  --panel: rgba(12, 18, 34, 0.78);
  --panel-solid: #0e1527;
  --line: rgba(148, 163, 184, 0.28);
  --chip: rgba(148, 163, 184, 0.16);
  --accent: #f97316;
  --accent-2: #f59e0b;
  --ok: #16a34a;
  --warn: #eab308;
  --danger: #dc2626;
  --scrim: 0.55;
  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  /* valiz kartı */
  --sc-card: rgba(12, 18, 34, 0.45);
  --sc-box: rgba(12, 18, 34, 0.6);
  --sc-glass: rgba(148, 163, 184, 0.16);
  --sc-edge: #7c8aa8;
  --sc-part: #64748b;
  --sc-text: #ffffff;
  --sc-sub: #c9d1e3;
}
:root[data-theme="light"] {
  --bg: #f7f4ee;
  --fg: #0f172a;
  --muted: #1e293b;
  --soft: #334155;
  --panel: rgba(255, 255, 255, 0.86);
  --panel-solid: #ffffff;
  --line: rgba(15, 23, 42, 0.18);
  --chip: rgba(15, 23, 42, 0.07);
  --scrim: 0.6;
  --sc-card: rgba(255, 255, 255, 0.55);
  --sc-box: rgba(255, 255, 255, 0.75);
  --sc-glass: rgba(148, 163, 184, 0.22);
  --sc-edge: #64748b;
  --sc-part: #94a3b8;
  --sc-text: #0f172a;
  --sc-sub: #334155;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--fg); font-family: var(--sans); line-height: 1.5; min-height: 100vh; }
a { color: inherit; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }

/* Tam ekran arka plan + yazıları koruyan örtü */
.backdrop { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.backdrop .photo { position: absolute; inset: 0; background-size: cover; background-position: center; }
.backdrop .scrim { position: absolute; inset: 0; background: var(--bg); opacity: var(--scrim); }

/* Üst çubuk */
.topbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding: 8px 32px; font-size: 12px; color: var(--muted); border-bottom: 1px solid var(--line); background: var(--panel); }
.countdown { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; background: var(--panel-solid); }
.countdown small { font-weight: 400; color: var(--soft); font-size: 12px; }
.header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 16px 32px; border-bottom: 2px solid var(--fg); background: var(--panel); backdrop-filter: blur(4px); }
.brand { text-decoration: none; line-height: 1; }
.brand .title { display: block; font-family: var(--display); font-weight: 800; font-size: 30px; letter-spacing: -0.01em; }
.brand .title .arrow { color: var(--accent); }
.brand .sub { display: block; margin-top: 4px; font-family: var(--display); font-style: italic; font-size: 16px; color: var(--muted); }
.nav { display: flex; flex-wrap: wrap; gap: 4px; }
.nav a { font-family: var(--display); font-weight: 600; font-size: 16px; text-decoration: none; padding: 6px 14px; border-radius: 999px; }
.nav a:hover { background: var(--chip); }
.nav a.active { background: var(--fg); color: var(--bg); }
.nav a.cta { background: linear-gradient(90deg, var(--accent-2), #ea580c); color: #1a1100; font-weight: 800; }

main { padding: 28px 32px 64px; }
.wrap { max-width: 1100px; margin: 0 auto; }
h1 { font-family: var(--display); font-size: 30px; margin: 0 0 6px; }
h2 { font-size: 18px; margin: 0 0 8px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.xs { font-size: 12px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.note { border-radius: 12px; padding: 12px 14px; font-size: 14px; border: 1px solid; }
.note.amber { background: rgba(234, 179, 8, 0.14); border-color: rgba(234, 179, 8, 0.6); }
.note.red { background: rgba(220, 38, 38, 0.14); border-color: rgba(220, 38, 38, 0.6); }
.note.green { background: rgba(22, 163, 74, 0.14); border-color: rgba(22, 163, 74, 0.6); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 10px 18px; font-weight: 700; cursor: pointer; text-decoration: none; }
.btn.primary { background: var(--ok); color: #fff; }
.btn.dark { background: var(--fg); color: var(--bg); }
.btn.ghost { background: var(--chip); }
.btn:hover { filter: brightness(1.08); }
.field { display: block; margin-bottom: 14px; font-size: 14px; }
.field > span { display: block; margin-bottom: 4px; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); background: var(--panel-solid); border-radius: 10px; padding: 9px 12px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; }
.row > .field { flex: 1 1 110px; }

/* Ana sayfa: mağazalar | valizler | ürünler */
.home { display: grid; gap: 32px; }
@media (min-width: 1024px) { .home { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.25fr); align-items: start; } }
.stores-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .stores-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .stores-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .stores-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1536px) { .stores-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.store { position: relative; display: block; overflow: hidden; border-radius: 12px; border: 1px solid var(--line); background: var(--panel-solid); text-decoration: none; transition: box-shadow 0.15s; cursor: pointer; text-align: left; padding: 0; width: 100%; }
.store:hover { box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35); }
.store.vpn { border-color: rgba(245, 158, 11, 0.8); }
.store .thumb { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; background: var(--chip); }
.store .ph { display: grid; place-items: center; aspect-ratio: 4 / 3; font-weight: 800; font-size: 20px; color: var(--soft); background: var(--chip); }
.store .name { display: block; padding: 8px 10px; font-size: 14px; font-weight: 600; }
.home-center { width: 100%; max-width: 36rem; margin: 0 auto; text-align: center; }
.suitcases { list-style: none; padding: 0; margin: 18px auto 0; display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.suitcases.one { grid-template-columns: minmax(0, 17rem); justify-content: center; }
.suitcase-btn { display: block; width: 100%; background: none; border: 0; padding: 0; cursor: pointer; border-radius: 28px; }
.suitcase-btn:hover { outline: 2px solid var(--soft); }
.suitcase-btn.sel { outline: 2px solid #fb923c; box-shadow: 0 0 28px rgba(251, 146, 60, 0.35); }
.suitcase-label { margin-top: 8px; font-size: 14px; font-weight: 700; }
.suitcase-label span { font-weight: 400; color: var(--muted); }

/* Valiz animasyonları */
@keyframes sc-wave { from { transform: translateX(0); } to { transform: translateX(-80px); } }
@keyframes sc-bubble { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 0.6; } 100% { transform: translateY(-120px); opacity: 0; } }
@keyframes sc-lock { 0%, 100% { opacity: 0.25; transform: scale(0.96); } 50% { opacity: 0.9; transform: scale(1.08); } }
.sc-wave { animation: sc-wave 3.2s linear infinite; }
.sc-bubble { animation: sc-bubble 3.6s ease-in infinite; }
.sc-lock-ring { transform-box: fill-box; transform-origin: center; animation: sc-lock 2.4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .sc-wave, .sc-bubble, .sc-lock-ring { animation: none; } }

/* Ürün listesi */
.products { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.product { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); }
.product img, .product .noimg { width: 64px; height: 64px; flex: none; border-radius: 8px; object-fit: contain; background: #fff; }
.product .noimg { display: grid; place-items: center; font-size: 26px; background: var(--chip); }
.product .t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; font-weight: 600; text-decoration: none; }
.product .t:hover { text-decoration: underline; }
.product .facts { font-size: 12px; color: var(--muted); }
.pill { display: inline-block; border-radius: 999px; padding: 1px 8px; font-size: 12px; font-weight: 700; }
.pill.warn { background: var(--warn); color: #1a1100; }
.pill.ok { background: var(--ok); color: #fff; }
.pill.vpn { background: rgba(245, 158, 11, 0.25); color: inherit; }

/* Açılır kart (ürün / VPN) */
.pop { position: fixed; z-index: 50; width: min(25rem, calc(100vw - 32px)); max-height: calc(100vh - 16px); overflow-y: auto; background: var(--panel-solid); color: var(--fg); border: 1px solid var(--line); border-radius: 14px; padding: 16px; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45); font-size: 13px; }
.pop img { display: block; width: 100%; max-height: 11rem; object-fit: contain; background: #fff; border-radius: 10px; }
.pop dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 10px 0; }
.pop dt { color: var(--soft); }
.pop dd { margin: 0; font-weight: 600; }
.pop ul { padding-left: 18px; margin: 8px 0; }

/* Adımlar */
.steps { display: flex; flex-wrap: wrap; gap: 10px 6px; font-family: "Times New Roman", Times, serif; font-size: 18px; list-style: none; padding: 0; margin: 12px 0; }
.steps li { display: inline-flex; align-items: center; gap: 6px; }
.steps .dot { width: 16px; height: 16px; border-radius: 999px; border: 2px solid var(--soft); }
.steps .done .dot { background: #10b981; border-color: #10b981; }
.steps .now .dot { background: #fbbf24; border-color: #fbbf24; }
.steps .todo { color: var(--soft); }
.steps .now { font-weight: 700; }
.steps .arrow { color: var(--soft); margin: 0 2px; }

.cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.footer { padding: 24px 32px; font-size: 12px; color: var(--soft); text-align: center; }
.theme-toggle { position: fixed; right: 16px; bottom: 16px; z-index: 40; border: 1px solid var(--line); background: var(--panel-solid); border-radius: 999px; padding: 8px 14px; font-size: 13px; cursor: pointer; }
.copybox { white-space: pre-wrap; font-family: ui-monospace, Consolas, monospace; font-size: 13px; background: var(--panel-solid); border: 1px dashed var(--line); border-radius: 10px; padding: 12px; }

@media (max-width: 640px) {
  .topbar, .header, main { padding-left: 16px; padding-right: 16px; }
  .brand .title { font-size: 24px; }
}
