/*
 * Dafium Store: ön yüz temel stilleri.
 * Bu dosya sadece yerleşimi kurar. Renk, yazı tipi, köşe ve efektler temadan gelir
 * (themes/<tema>/theme.css). Tema aşağıdaki değişkenleri değiştirerek her şeyi boyar.
 */
:root {
    --bg: #f6f7f9;
    --bg-alt: #ffffff;
    --surface: #ffffff;
    --surface-2: #f0f2f5;
    --text: #1b1f27;
    --muted: #667085;
    --line: #e2e5ea;
    --accent: #22c55e;
    --accent-ink: #ffffff;
    --danger: #dc2626;
    --ok: #16a34a;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 4px 16px rgba(16, 24, 40, .06);
    --font-body: Inter, "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
    --font-display: var(--font-body);
    --container: 1160px;
    --header-h: 64px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font-body); }
a { color: var(--accent); }
img { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.2; margin: 0 0 .8rem; }
h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
h2 { font-size: 1.3rem; }
p { margin: 0 0 1rem; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--surface); padding: .5rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; }
.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.section { padding-block: 2rem; }
.narrow { max-width: 480px; }
.site-main { flex: 1; padding-top: 1rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Üst menü */
.site-header { background: var(--bg-alt); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.brand { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--text); text-decoration: none; margin-right: auto; }
.site-nav { display: flex; align-items: center; gap: 1.2rem; }
.site-nav a { color: var(--text); text-decoration: none; font-weight: 500; }
.site-nav a:hover { color: var(--accent); }
.site-nav .btn { color: var(--accent-ink); }
.nav-form { margin: 0; }
.link-button { background: none; border: 0; padding: 0; font: inherit; font-weight: 500; color: var(--text); cursor: pointer; }
.link-button:hover { color: var(--accent); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius-sm); cursor: pointer; position: relative; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); content: ""; }
.nav-toggle-bar { top: 21px; } .nav-toggle-bar::before { top: -7px; left: 0; right: 0; } .nav-toggle-bar::after { top: 7px; left: 0; right: 0; }
@media (max-width: 760px) {
    .nav-toggle { display: block; }
    .site-nav { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: .5rem 1rem 1rem; }
    .site-nav.is-open { display: flex; }
    .site-nav > a, .site-nav .link-button { padding: .8rem 0; border-bottom: 1px solid var(--line); text-align: left; width: 100%; }
    .site-nav .btn { margin-top: .8rem; }
}

/* Düğmeler */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 44px; padding: .6rem 1.2rem; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.07); }
.btn-sm { min-height: 36px; padding: .35rem .9rem; font-size: .92rem; }
.btn-block { width: 100%; }
.btn:focus-visible, input:focus-visible, textarea:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 50%, transparent); outline-offset: 2px; }

/* Kart ve formlar */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.grid-2 { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: start; }
.form { display: grid; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field > span { font-weight: 600; }
.field input, .field textarea { width: 100%; min-height: 46px; padding: .65rem .8rem; font: inherit; color: var(--text); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.hint { color: var(--muted); font-size: .86rem; line-height: 1.5; }
.field-error { color: var(--danger); font-size: .9rem; margin: 0; font-weight: 500; }
.check { display: flex; gap: .6rem; align-items: flex-start; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--accent); }
.form-links { margin: 1rem 0 0; text-align: center; }

/* Bildirimler */
.notices { display: grid; gap: .6rem; margin-bottom: 1rem; }
.notice { display: flex; gap: .7rem; align-items: flex-start; padding: .85rem 1rem; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); border-left-width: 4px; }
.notice p { margin: 0; }
.notice-icon { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .8rem; }
.notice-success { border-left-color: var(--ok); } .notice-success .notice-icon { background: var(--ok); }
.notice-error { border-left-color: var(--danger); } .notice-error .notice-icon { background: var(--danger); }
.notice-warning { border-left-color: #d97706; } .notice-warning .notice-icon { background: #d97706; }
.notice-info { border-left-color: #2563eb; } .notice-info .notice-icon { background: #2563eb; }

/* Ana sayfa vitrini */
.hero { padding-block: clamp(2.5rem, 8vw, 5rem); text-align: center; }
.hero-title { font-size: clamp(2rem, 6vw, 3.4rem); margin-bottom: .6rem; }
.hero-text { color: var(--muted); max-width: 620px; margin-inline: auto; font-size: 1.1rem; }
.server-ip { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: .6rem; align-items: center; margin-top: 1rem; padding: .5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.server-ip code { font-size: 1.05rem; padding: 0 .6rem; font-weight: 600; }
.empty-state { text-align: center; }

/* Hesap */
.profile-card { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.avatar { border-radius: var(--radius-sm); image-rendering: pixelated; background: var(--surface-2); }
.profile-name { font-weight: 700; font-size: 1.2rem; margin: 0; }
.profile-card p { margin: 0; }
.credit-box { margin-left: auto; display: grid; text-align: right; }
.credit-box strong { font-size: 1.5rem; color: var(--accent); }

/* Hata sayfası */
.error-card { text-align: center; max-width: 560px; margin-inline: auto; }
.error-code { font-size: 3.2rem; font-weight: 800; color: var(--muted); margin: 0; font-family: var(--font-display); }

/* Alt kısım */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-alt); margin-top: 2rem; }
.footer-inner { padding-block: 1.4rem; display: grid; gap: .2rem; }
.footer-inner p { margin: 0; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .js [data-reveal] { opacity: 1; } }

/* Mağaza */
.m0 { margin: 0; }
.center { text-align: center; }
.mono { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.accent { color: var(--accent); }
.pill { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: .75rem; font-weight: 700; }
.site-nav .nav-credits { font-weight: 700; color: var(--accent); }
.section-head { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.section-head h2 { margin: 0; }
.store-head { margin-bottom: 1.2rem; }
.store-layout { display: grid; gap: 1.5rem; grid-template-columns: 220px 1fr; align-items: start; }
.store-cats { display: grid; gap: 4px; position: sticky; top: calc(var(--header-h) + 1rem); }
.store-cat { display: flex; justify-content: space-between; gap: .5rem; padding: .6rem .8rem; border-radius: var(--radius-sm); color: var(--text); text-decoration: none; font-weight: 500; }
.store-cat:hover { background: var(--surface-2); }
.store-cat.is-active { background: var(--accent); color: var(--accent-ink); }
.store-cat-count { opacity: .65; font-size: .85rem; }
.product-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.product-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.product-card.is-soldout { opacity: .7; }
.product-media { position: relative; display: block; aspect-ratio: 1; background: var(--surface-2); }
.product-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-placeholder { display: grid; place-items: center; width: 100%; height: 100%; font: 800 3rem/1 var(--font-display); color: var(--accent); background: linear-gradient(135deg, var(--surface-2), color-mix(in srgb, var(--accent) 18%, var(--surface-2))); }
.product-placeholder.is-large { font-size: 6rem; aspect-ratio: 1; border-radius: var(--radius); }
.product-badge { position: absolute; top: .6rem; left: .6rem; padding: .15rem .55rem; border-radius: 999px; background: var(--danger); color: #fff; font-size: .78rem; font-weight: 700; }
.product-badge.is-soldout { background: #4b5563; }
.product-badge.is-inline { position: static; margin-left: .4rem; align-self: center; }
.product-body { display: flex; flex-direction: column; gap: .3rem; padding: .9rem 1rem 1rem; flex: 1; }
.product-name { font-size: 1.02rem; margin: 0; }
.product-name a { color: var(--text); text-decoration: none; }
.product-summary { color: var(--muted); font-size: .88rem; margin: 0; }
.product-foot { margin-top: auto; padding-top: .5rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.price { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: .1rem .35rem; }
.price strong { font-size: 1.15rem; color: var(--accent); }
.price-old { color: var(--muted); font-size: .88rem; }
.price-unit { color: var(--muted); font-size: .85rem; }
.price-lg strong { font-size: 1.8rem; }
.stock-note { color: var(--danger); font-weight: 600; margin: 0; }
.breadcrumb { font-size: .9rem; margin-bottom: 1rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.product-page { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.product-page-media img { width: 100%; border-radius: var(--radius); display: block; }
.product-page-info { display: grid; gap: .9rem; }
.product-page-info h1 { margin: 0; }
.product-page-info p { margin: 0; }
.buy-form { display: grid; gap: .7rem; }
.qty-field input { max-width: 120px; }
.btn-lg { min-height: 52px; font-size: 1.05rem; }
.btn.is-disabled { opacity: .6; cursor: not-allowed; margin: 0; }
.product-desc { margin-top: 1.5rem; }
.prose ul { padding-left: 1.3rem; margin: 0 0 1rem; }
.prose p:last-child, .prose ul:last-child { margin-bottom: 0; }
.cat-grid { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.cat-card { display: grid; gap: .2rem; padding: 1rem 1.1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); text-decoration: none; box-shadow: var(--shadow); }
.cat-card:hover { border-color: var(--accent); }

/* Sepet */
.cart-layout { display: grid; gap: 1.2rem; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
.cart-lines { display: grid; gap: 1rem; }
.cart-list { list-style: none; margin: 0; padding: 0; display: grid; }
.cart-line { display: grid; grid-template-columns: 1fr auto auto auto; gap: .5rem 1rem; align-items: center; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.cart-line:first-child { padding-top: 0; }
.cart-line-info { display: grid; }
.cart-line-name { color: var(--text); font-weight: 600; text-decoration: none; }
.cart-qty input { width: 76px; min-height: 40px; padding: .4rem .5rem; font: inherit; color: var(--text); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.cart-line-total { min-width: 70px; text-align: right; }
.danger-link { color: var(--danger); font-size: .9rem; }
.cart-summary { display: grid; gap: 1rem; position: sticky; top: calc(var(--header-h) + 1rem); }
.coupon-row { display: flex; gap: .5rem; }
.coupon-row input { flex: 1; min-width: 0; text-transform: uppercase; }
.coupon-on { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .6rem .8rem; border: 1px dashed var(--accent); border-radius: var(--radius-sm); margin: 0; }
.totals { margin: 0; display: grid; gap: .45rem; }
.totals div { display: flex; justify-content: space-between; gap: 1rem; }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; font-weight: 600; }
.totals .is-discount dd { color: var(--ok); }
.totals .is-total { padding-top: .6rem; border-top: 1px solid var(--line); font-size: 1.15rem; }
.totals .is-total dt { color: var(--text); font-weight: 700; }
.totals .is-total dd { color: var(--accent); font-weight: 800; }
.callout-warn { margin: 0; padding: .8rem 1rem; border-radius: var(--radius-sm); background: color-mix(in srgb, #d97706 12%, var(--surface)); border: 1px solid color-mix(in srgb, #d97706 40%, transparent); }

/* Hesap sekmeleri, siparişler, tablo */
.tabs { display: flex; gap: .3rem; margin-bottom: 1.2rem; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tab { padding: .6rem 1rem; color: var(--muted); text-decoration: none; font-weight: 600; border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tab.is-active { color: var(--text); border-bottom-color: var(--accent); }
.order-list { display: grid; gap: 1rem; }
.order { padding: 1.1rem 1.3rem; }
.order-head { display: flex; flex-wrap: wrap; gap: .6rem 2rem; padding-bottom: .8rem; margin-bottom: .6rem; border-bottom: 1px solid var(--line); }
.order-head > div { display: grid; }
.order-items { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.order-items li { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.status { font-size: .82rem; font-weight: 600; padding: .1rem .55rem; border-radius: 999px; background: var(--surface-2); color: var(--muted); cursor: default; }
.status-ok { background: color-mix(in srgb, var(--ok) 15%, var(--surface)); color: var(--ok); }
.status-wait { background: color-mix(in srgb, #2563eb 12%, var(--surface)); color: #2563eb; }
.status-err { background: color-mix(in srgb, var(--danger) 12%, var(--surface)); color: var(--danger); }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.table th, .table td { text-align: left; padding: .6rem .7rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { color: var(--muted); font-weight: 600; font-size: .82rem; }
.table .num { text-align: right; white-space: nowrap; }
.table .plus { color: var(--ok); font-weight: 600; }
.table .minus { color: var(--danger); font-weight: 600; }

@media (max-width: 860px) {
    .store-layout, .cart-layout, .product-page { grid-template-columns: 1fr; }
    .product-page-media { width: 100%; max-width: 360px; justify-self: center; }
    .store-cats { position: static; display: flex; overflow-x: auto; gap: .4rem; padding-bottom: .3rem; }
    .store-cat { flex: none; border: 1px solid var(--line); }
    .cart-summary { position: static; }
}
@media (max-width: 520px) {
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
    .product-body { padding: .7rem; }
    .product-name { font-size: .95rem; overflow-wrap: anywhere; }
    .product-summary { font-size: .85rem; }
    .product-foot { flex-direction: column; align-items: stretch; }
    .cart-line { grid-template-columns: 1fr auto; }
    .cart-line-total { text-align: left; }
}

/* Kredi yükleme */
.topup-layout { display: grid; gap: 1.2rem; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; margin-bottom: 1.2rem; }
.topup-layout h2 { margin: 0; }
.amount-grid { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.amount-opt { position: relative; cursor: pointer; }
.amount-opt input { position: absolute; opacity: 0; inset: 0; }
.amount-box { display: grid; gap: .1rem; text-align: center; padding: .9rem .6rem; border: 2px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2); min-height: 92px; align-content: center; }
.amount-box strong { font-size: 1.3rem; }
.amount-opt input:checked + .amount-box { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--surface)); }
.amount-opt input:focus-visible + .amount-box { outline: 3px solid color-mix(in srgb, var(--accent) 50%, transparent); outline-offset: 2px; }
.amount-bonus { font-size: .75rem; font-weight: 700; color: var(--ok); }
.method-list { display: grid; gap: .5rem; }
.method-opt { padding: .7rem .9rem; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.test-pill { font-style: normal; font-size: .7rem; font-weight: 700; background: #d97706; color: #fff; border-radius: 4px; padding: 0 5px; margin-left: 4px; }
.pay-frame { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-bottom: 1rem; }
.pay-iframe { display: block; width: 100%; height: 820px; border: 0; }
.result { display: grid; gap: .6rem; justify-items: center; }
.result h1, .result p { margin: 0; }
.result-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 2rem; font-weight: 800; color: #fff; background: var(--muted); }
.result-paid .result-icon { background: var(--ok); }
.result-failed .result-icon, .result-expired .result-icon { background: var(--danger); }
.result-pending .result-icon { background: #2563eb; }
.spin { animation: spin 1.2s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.center-actions { justify-content: center; }
.card.center { text-align: center; }
@media (max-width: 860px) { .topup-layout { grid-template-columns: 1fr; } .pay-iframe { height: 980px; } }

.server-status { display: flex; justify-content: center; align-items: center; gap: .45rem; margin: .8rem 0 0; color: var(--muted); font-weight: 600; }
.server-status .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--danger); }
.server-status.is-up .dot { background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 25%, transparent); }

/* Destek */
.ticket-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.thread { display: grid; gap: .8rem; margin: 1rem 0; }
.msg { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1.1rem; max-width: 760px; }
.msg.is-staff { border-left: 4px solid var(--accent); margin-left: auto; }
.msg header { margin-bottom: .4rem; }
.msg-body { overflow-wrap: anywhere; }
select { min-height: 46px; padding: .6rem .8rem; font: inherit; color: var(--text); background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); width: 100%; }

/* Alt kısım: yasal bağlantılar, ödeme şeridi, yasal sayfa */
.footer-links { display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; margin-bottom: .6rem; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: .9rem; }
.footer-links a:hover { color: var(--accent); }
.pay-strip { border-bottom: 1px solid var(--line); background: var(--surface-2); }
.pay-strip-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem 1.4rem; padding-block: .6rem; font-size: .82rem; color: var(--muted); }
.legal .prose h2 { font-size: 1.15rem; margin: 1.4rem 0 .5rem; }
.legal .prose h2:first-child { margin-top: 0; }
.legal .prose { max-width: 820px; }

/* ======================================================================
   Tema düzen seçenekleri. Tema theme.json içindeki "layout" ile seçer,
   <body> etiketine sınıf olarak eklenir. Böylece temalar birbirinin klonu gibi durmaz.
   ====================================================================== */
:root { --hero-min: 0px; --card-ratio: 1; --hard-shadow: none; --btn-radius: var(--radius-sm); --heading-case: none; --heading-spacing: normal; }
h1, h2, h3, .brand { text-transform: var(--heading-case); letter-spacing: var(--heading-spacing); }
.btn { border-radius: var(--btn-radius); }
.card, .product-card, .cat-card, .server-ip { box-shadow: var(--hard-shadow, var(--shadow)); }

/* Hareket karakteri: aynı animasyonlar her temada farklı hissettirir */
body { --ease: cubic-bezier(.2, .7, .2, 1); --dur: .7s; --rise: 26px; --blur: 0px; }
.motion-bouncy { --ease: cubic-bezier(.34, 1.56, .64, 1); --dur: .8s; --rise: 36px; }
.motion-pixel { --ease: steps(6, end); --dur: .55s; --rise: 24px; }
.motion-glow { --ease: cubic-bezier(.16, 1, .3, 1); --dur: 1s; --rise: 16px; --blur: 8px; }

/* Kaydırınca beliren içerik */
.js [data-reveal] { opacity: 0; }
.js [data-reveal].is-in { opacity: 1; animation: reveal var(--dur) var(--ease) var(--d, 0s) backwards; }
@keyframes reveal { from { opacity: 0; transform: translateY(var(--rise)); filter: blur(var(--blur)); } to { opacity: 1; transform: none; filter: none; } }
.js .motion-off [data-reveal] { opacity: 1; }

/* Arka plan efekti: içeriğin arkasında, sayfa zeminine bağlı (kaydırınca zeminle birlikte kayar) */
body { position: relative; }
.fx { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; opacity: var(--fx-opacity, .55); }
.announce, .site-main, .site-footer { position: relative; z-index: 1; }
.fx::before, .fx::after { content: ""; position: absolute; inset: -200px 0 0 0; background-repeat: repeat; will-change: transform; }
.fx-fall::before { background-image: radial-gradient(circle, var(--fx-color, #fff) 2px, transparent 2.5px), radial-gradient(circle, var(--fx-color, #fff) 1.5px, transparent 2px); background-size: 140px 140px, 90px 90px; background-position: 0 0, 40px 60px; animation: fx-fall 14s linear infinite; }
.fx-fall::after { background-image: radial-gradient(circle, var(--fx-color, #fff) 1px, transparent 1.5px); background-size: 60px 60px; animation: fx-fall-s 22s linear infinite; opacity: .6; }
.fx-rise::before { background-image: radial-gradient(circle, var(--fx-color, #f80) 2px, transparent 3px), radial-gradient(circle, var(--fx-color, #f80) 1px, transparent 2px); background-size: 160px 160px, 100px 100px; background-position: 20px 0, 70px 40px; animation: fx-rise 12s linear infinite; }
.fx-rise::after { background-image: radial-gradient(circle, var(--fx-color, #f80) 1.5px, transparent 2px); background-size: 75px 75px; animation: fx-rise-s 19s linear infinite; opacity: .5; }
.fx-twinkle::before { background-image: radial-gradient(circle, var(--fx-color, #fff) 1px, transparent 1.5px), radial-gradient(circle, var(--fx-color, #fff) 1.5px, transparent 2px); background-size: 110px 110px, 170px 170px; background-position: 0 0, 55px 80px; animation: fx-twinkle 4s ease-in-out infinite alternate; }
.fx-twinkle::after { background-image: radial-gradient(circle, var(--fx-color, #fff) 1px, transparent 1.5px); background-size: 70px 70px; background-position: 30px 10px; animation: fx-twinkle 6s ease-in-out infinite alternate-reverse; }
.fx-drift::before { inset: 0 -260px 0 -260px; background-image: radial-gradient(ellipse 40px 6px, var(--fx-color, #fff) 60%, transparent 62%); background-size: 260px 180px; animation: fx-drift 40s linear infinite; }
.fx-drift::after { inset: 0 -180px 0 -180px; background-image: radial-gradient(ellipse 24px 4px, var(--fx-color, #fff) 60%, transparent 62%); background-size: 180px 130px; background-position: 90px 60px; animation: fx-drift-s 60s linear infinite reverse; opacity: .6; }
@keyframes fx-fall { from { transform: translateY(0); } to { transform: translateY(140px); } }
@keyframes fx-fall-s { from { transform: translateY(0); } to { transform: translateY(120px); } }
@keyframes fx-rise { from { transform: translateY(160px); } to { transform: translateY(0); } }
@keyframes fx-rise-s { from { transform: translateY(150px); } to { transform: translateY(0); } }
@keyframes fx-twinkle { from { opacity: .25; } to { opacity: 1; } }
@keyframes fx-drift { from { transform: translateX(0); } to { transform: translateX(260px); } }
@keyframes fx-drift-s { from { transform: translateX(0); } to { transform: translateX(180px); } }
@media (max-width: 760px) { .fx { opacity: calc(var(--fx-opacity, .55) * .6); } .fx::after { display: none; } }
@media (prefers-reduced-motion: reduce) { .fx::before, .fx::after { animation: none !important; } }

/* Duyuru şeridi */
.announce { background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: .92rem; }
.announce-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .4rem 1rem; padding-block: .5rem; text-align: center; }
.countdown { display: inline-flex; align-items: baseline; gap: .15rem; font-variant-numeric: tabular-nums; }
.countdown [data-cd] { display: inline-block; min-width: 1.6em; padding: .05rem .3rem; border-radius: 6px; background: color-mix(in srgb, #000 22%, transparent); text-align: center; }
.countdown small { font-size: .72em; opacity: .85; margin-right: .2rem; }
.countdown.is-mini [data-cd] { background: color-mix(in srgb, var(--danger) 16%, transparent); color: var(--danger); min-width: 1.4em; }
.sale-timer { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; margin: .1rem 0 0; font-size: .78rem; font-weight: 700; color: var(--danger); }

/* Üst menü */
.nav-main, .nav-end { display: flex; align-items: center; gap: 1.2rem; }
.site-nav { gap: 1.6rem; }
.site-nav > div > a { position: relative; }
.site-nav .nav-main > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.site-nav .nav-main > a:hover::after { transform: scaleX(1); }
.header-top { background: color-mix(in srgb, var(--accent) 14%, var(--bg-alt)); border-bottom: 1px solid var(--line); font-size: .88rem; }
.header-top-inner { display: flex; align-items: center; justify-content: center; gap: .6rem; min-height: 38px; }
.header-top-label { font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; }
.header-top code { font-weight: 700; }
.ip-chip { border: 0; border-radius: 999px; padding: .3rem .8rem; background: var(--accent); color: var(--accent-ink); font: inherit; font-size: .82rem; font-weight: 700; cursor: pointer; transition: transform .15s ease, filter .15s ease; }
.ip-chip:hover { filter: brightness(1.08); transform: translateY(-1px); }
.ip-chip.is-copied, .btn.is-copied { animation: pop .4s var(--ease); }
@keyframes pop { 40% { transform: scale(1.08); } }
/* Üst menü: yüzen kapsül */
.header-floating .site-header { position: sticky; top: .75rem; margin: .75rem auto 0; width: min(100% - 1.5rem, var(--container)); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); background: color-mix(in srgb, var(--bg-alt) 82%, transparent); backdrop-filter: blur(10px); }
.header-floating .site-header .container { width: calc(100% - 2rem); }
/* Üst menü: ortalanmış logo, altında menü */
.header-centered .header-inner { flex-direction: column; gap: .3rem; padding-block: .8rem .5rem; }
.header-centered .brand { margin: 0; font-size: 1.5rem; }
.header-centered .site-nav { justify-content: center; flex-wrap: wrap; }
@media (min-width: 761px) {
    /* Üst menü: menü solda, logo ortada, giriş ve kayıt sağda */
    .header-split .header-inner { display: grid; grid-template-columns: 1fr auto 1fr; }
    .header-split .site-nav { display: contents; }
    .header-split .nav-main { grid-column: 1; grid-row: 1; justify-self: start; }
    .header-split .brand { grid-column: 2; grid-row: 1; margin: 0; font-size: 1.35rem; }
    .header-split .nav-end { grid-column: 3; grid-row: 1; justify-self: end; }
}
@media (max-width: 760px) {
    .header-centered .header-inner { flex-direction: row; padding-block: 0; }
    .header-centered .brand { margin-right: auto; font-size: 1.15rem; }
    .nav-main, .nav-end { flex-direction: column; align-items: stretch; gap: 0; }
    .nav-main > a, .nav-end > a { padding: .8rem 0; border-bottom: 1px solid var(--line); }
    .site-nav .nav-main > a::after { display: none; }
    .header-top-label { display: none; }
}

/* Düğmeler: ışık süzülmesi ve basma hissi */
.btn { position: relative; overflow: hidden; transition: transform .15s ease, filter .15s ease, box-shadow .15s ease; }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .38) 50%, transparent 70%); transform: translateX(-130%); pointer-events: none; }
.btn-primary:hover::after { transform: translateX(130%); transition: transform .75s var(--ease); }
.btn:active { transform: translateY(1px) scale(.98); }

/* Vitrin (hero) */
.hero { position: relative; overflow: hidden; min-height: var(--hero-min); isolation: isolate; }
.hero-scene, .hero-scene > i { position: absolute; inset: 0; pointer-events: none; }
.hero-scene { z-index: 0; }
.hero-scene > i, .hero-stage > i { translate: var(--px, 0) var(--py, 0); transition: translate .35s ease-out; }
.hero-fx { z-index: 1; }
.hero-inner { position: relative; z-index: 2; }
.hero-title { margin-bottom: .6rem; }
.hero-title .hw { display: inline-block; }
.hero-title .hw > span { display: inline-block; animation: word-in var(--dur) var(--ease) backwards; animation-delay: calc(var(--i, 0) * 90ms + 80ms); }
.hero-title .hw:nth-child(2) > span { --i: 1; } .hero-title .hw:nth-child(3) > span { --i: 2; } .hero-title .hw:nth-child(4) > span { --i: 3; } .hero-title .hw:nth-child(5) > span { --i: 4; } .hero-title .hw:nth-child(n+6) > span { --i: 5; }
@keyframes word-in { from { opacity: 0; transform: translateY(.6em) rotate(2deg); filter: blur(var(--blur)); } }
.hero-text { animation: fade-up var(--dur) var(--ease) .35s backwards; }
.hero .server-ip { animation: pop-in var(--dur) var(--ease) .5s backwards; }
.hero .server-status { animation: fade-up var(--dur) var(--ease) .65s backwards; }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } }
@keyframes pop-in { from { opacity: 0; transform: translateY(14px) scale(.92); } }
.server-status.is-up .dot { animation: beat 2s ease-out infinite; }
@keyframes beat { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 55%, transparent); } 100% { box-shadow: 0 0 0 10px transparent; } }
.server-status b { font-variant-numeric: tabular-nums; color: var(--text); }

.hero-side { position: relative; display: grid; place-items: center; min-height: 300px; }
.hero-stage { position: absolute; inset: 0; border-radius: var(--radius); overflow: hidden; }
.hero-stage > i { position: absolute; inset: 0; }
.hero-pick { position: relative; z-index: 1; display: grid; justify-items: center; gap: .2rem; color: var(--text); text-decoration: none; }
.hero-pick-art { position: relative; display: grid; place-items: center; width: clamp(150px, 22vw, 220px); aspect-ratio: 1; animation: bob 4.5s ease-in-out infinite; }
.hero-pick-art::before { content: ""; position: absolute; inset: -18%; z-index: -1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 55%, transparent) 0%, transparent 65%); animation: glow 3s ease-in-out infinite alternate; }
.hero-pick-art img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .35)); }
.hero-pick-art .product-placeholder { border-radius: var(--radius); }
.hero-pick-card { display: grid; justify-items: center; gap: .3rem; padding: .8rem 1.1rem 1rem; min-width: 210px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--hard-shadow, var(--shadow)), 0 20px 40px -20px rgba(0, 0, 0, .35); text-align: center; transition: transform .25s var(--ease); }
.hero-pick:hover .hero-pick-card { transform: translateY(-4px); }
.hero-pick-card small { text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; font-weight: 800; color: var(--accent); }
.hero-pick-card > strong { font-family: var(--font-display); font-size: 1.05rem; }
.hero-pick-card .price { justify-content: center; }
.hero-pick .btn { pointer-events: none; }
@keyframes bob { 50% { transform: translateY(-14px) rotate(-1.5deg); } }
@keyframes glow { from { opacity: .55; transform: scale(.92); } to { opacity: 1; transform: scale(1.06); } }

.hero-split .hero-inner, .hero-showcase .hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.5rem; align-items: center; text-align: left; }
.hero-split .hero-text, .hero-showcase .hero-text { margin-inline: 0; }
.hero-split .server-status, .hero-showcase .server-status { justify-content: flex-start; }
.hero-split .hero-side { min-height: 340px; }
.hero-showcase .hero-side { min-height: 380px; }
.hero-showcase .hero-stage { border-radius: 50%; inset: 6% 10%; }
.hero-showcase .hero-pick-art { width: clamp(190px, 28vw, 300px); }
.hero-banner .hero { --hero-min: 420px; display: flex; align-items: flex-end; text-align: left; }
.hero-banner .hero-inner { padding-top: 3rem; }
.hero-banner .hero-text { margin-inline: 0; }
.hero-banner .server-status { justify-content: flex-start; }
.hero-full .hero { --hero-min: calc(100svh - var(--header-h) - 1rem); display: flex; align-items: center; }
.hero-full .hero-title { font-size: clamp(2.4rem, 8vw, 5rem); }
.hero-scroll { position: absolute; left: 50%; bottom: 1.2rem; z-index: 2; width: 30px; height: 48px; margin-left: -15px; border: 2px solid currentColor; border-radius: 16px; color: var(--text); opacity: .7; }
.hero-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 9px; margin-left: -2px; border-radius: 2px; background: currentColor; animation: scroll-dot 1.6s ease-in-out infinite; }
@keyframes scroll-dot { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }
.hero-panel .hero { padding-block: clamp(3rem, 9vw, 6rem); }
.hero-panel .hero-inner { width: min(100% - 2rem, 760px); padding: clamp(1.6rem, 4vw, 2.8rem); background: color-mix(in srgb, var(--surface) 84%, transparent); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); box-shadow: var(--hard-shadow, var(--shadow)), 0 30px 60px -30px rgba(0, 0, 0, .45); backdrop-filter: blur(8px); animation: pop-in var(--dur) var(--ease) backwards; }
.hero-minimal .hero { padding-block: 1.8rem 1rem; text-align: left; }
.hero-minimal .hero-copy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.hero-minimal .hero-title { font-size: clamp(1.5rem, 4vw, 2.2rem); margin: 0; }
.hero-minimal .hero-text { margin: 0; flex-basis: 100%; order: 3; }
.hero-minimal .server-ip { margin: 0; }
.hero-minimal .server-status { margin: 0; justify-content: flex-start; }
@media (max-width: 860px) {
    .hero-split .hero-inner, .hero-showcase .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 1.5rem; }
    .hero-split .hero-text, .hero-showcase .hero-text { margin-inline: auto; }
    .hero-split .server-status, .hero-showcase .server-status { justify-content: center; }
    .hero-split .hero-side, .hero-showcase .hero-side { min-height: 260px; }
    .hero-banner .hero { --hero-min: 320px; }
    .hero-full .hero { --hero-min: 78svh; }
}

/* Sunucu IP kutusu biçimleri */
.server-ip.is-pill { padding: .3rem .3rem .3rem 1.1rem; border-radius: 999px; gap: .8rem; }
.server-ip.is-pill .ip-chip { padding: .55rem 1.1rem; font-size: .9rem; }
.server-ip.is-pill { flex-wrap: nowrap; max-width: 100%; }
.server-ip.is-pill code { min-width: 0; padding: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.server-ip.is-pill .ip-chip { flex: none; }
.server-ip.is-big { display: inline-grid; justify-items: center; gap: .4rem; padding: 0; background: none; border: 0; box-shadow: none; }
.ip-big-btn { min-width: 260px; min-height: 60px; font-size: 1.15rem; box-shadow: 0 12px 30px -10px color-mix(in srgb, var(--accent) 70%, transparent); animation: breathe 2.6s ease-in-out infinite; }
.server-ip.is-big code { font-size: .95rem; opacity: .85; }
@keyframes breathe { 50% { box-shadow: 0 16px 40px -8px color-mix(in srgb, var(--accent) 90%, transparent); } }
.hero-split .server-ip.is-big, .hero-showcase .server-ip.is-big, .hero-banner .server-ip.is-big, .hero-minimal .server-ip.is-big { justify-items: start; }
.ip-dock { display: none; }
@media (max-width: 760px) {
    .ip-bar .ip-dock { position: fixed; left: .75rem; right: .75rem; bottom: .75rem; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .45rem .45rem .45rem 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 14px 34px rgba(0, 0, 0, .3); animation: dock-in .6s var(--ease) .8s backwards; }
    .ip-bar .ip-dock code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
    .ip-bar .ip-dock .btn { border-radius: 999px; flex: none; }
    .ip-bar .hero .server-ip { display: none; }
    .ip-bar .site-footer { padding-bottom: 76px; }
    .ip-big-btn { min-width: 0; width: 100%; }
}
@keyframes dock-in { from { transform: translateY(140%); } }

/* Vitrin parçaları: hedef çubuğu, son alımlar */
.widgets { position: relative; z-index: 2; display: grid; gap: .8rem; margin-top: 1.2rem; }
.goal, .recent { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--hard-shadow, var(--shadow)); }
.goal { padding: .9rem 1.1rem; }
.goal-head { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .5rem; }
.goal-head span { font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; }
.goal-bar { height: 12px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.goal-bar span { display: block; height: 100%; width: var(--w, 0%); border-radius: inherit; background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 60%, #fff), var(--accent)); background-size: 200% 100%; transition: width 1.4s var(--ease); animation: shimmer 2.5s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.recent { display: flex; align-items: center; gap: .8rem; padding: .55rem .9rem; overflow: hidden; }
.recent-label { flex: none; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); }
.recent-track { display: flex; overflow: hidden; flex: 1; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.recent-list { display: flex; flex: none; gap: 2rem; margin: 0; padding: 0 2rem 0 0; list-style: none; }
.recent-track.is-moving .recent-list { animation: marquee var(--marquee-time, 30s) linear infinite; }
.recent-track:hover .recent-list { animation-play-state: paused; }
.recent-list li { display: flex; align-items: center; gap: .45rem; white-space: nowrap; font-size: .9rem; }
.recent-list img { width: 24px; height: 24px; border-radius: 4px; image-rendering: pixelated; }
.recent-list small { color: var(--muted); }
@keyframes marquee { to { transform: translateX(-100%); } }

/* Ana sayfa bölüm sırası */
.home-sections { display: flex; flex-direction: column; }
.home-featured-first .home-featured { order: -1; }

/* Kategoriler */
.cat-card { transition: transform .2s var(--ease), border-color .2s ease, box-shadow .2s ease; }
.cat-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px -14px color-mix(in srgb, var(--accent) 55%, transparent); }
.cat-chips { display: flex; gap: .6rem; overflow-x: auto; padding-bottom: .4rem; scrollbar-width: thin; }
.cat-chips .cat-card { flex: none; display: flex; align-items: center; padding: .6rem 1.2rem; border-radius: 999px; }
.cat-icons .cat-card { grid-template-columns: 56px 1fr; grid-template-rows: auto auto; align-items: center; column-gap: .9rem; }
.cat-icons .cat-icon { grid-row: 1 / span 2; display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--radius-sm); background: var(--surface-2); font: 800 1.4rem/1 var(--font-display); color: var(--accent); }
.cat-icons .cat-icon img { width: 44px; height: 44px; object-fit: contain; image-rendering: pixelated; transition: transform .3s var(--ease); }
.cat-icons .cat-card:hover .cat-icon img { transform: scale(1.15) rotate(-6deg); }

/* Ürün kartları: kalkma, parlama ve fareyle hafif eğilme */
.product-card { --rx: 0deg; --ry: 0deg; --lift: 0px; transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--lift)); transition: transform .25s var(--ease), box-shadow .25s ease, border-color .25s ease; }
.product-card:hover { --lift: -6px; box-shadow: var(--hard-shadow, var(--shadow)), 0 22px 40px -18px color-mix(in srgb, var(--accent) 55%, transparent); }
.product-card .product-media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(255, 255, 255, .22), transparent 55%); opacity: 0; transition: opacity .25s ease; pointer-events: none; }
.product-card:hover .product-media::after { opacity: 1; }
.product-media { overflow: hidden; }
.product-media img { transition: transform .45s var(--ease); }
.product-card:hover .product-media img { transform: scale(1.07); }
.product-badge { z-index: 1; animation: badge 3.2s ease-in-out infinite; transform-origin: left center; }
@keyframes badge { 0%, 86%, 100% { transform: none; } 90% { transform: rotate(-6deg) scale(1.06); } 95% { transform: rotate(4deg); } }
.cards-tall .product-media { aspect-ratio: 3 / 4; }
.cards-tall .product-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.cards-list .product-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.cards-list .product-card { flex-direction: row; }
.cards-list .product-media { width: 132px; flex: none; aspect-ratio: 1; }
.cards-list .product-card:hover { --lift: -3px; }
/* Kartın dışına taşan ürün resmi */
.cards-pop .product-grid { gap: 3rem 1.2rem; padding-top: 2.4rem; }
.cards-pop .product-card { overflow: visible; text-align: center; }
.cards-pop .product-media { width: 74%; margin: -2.4rem auto 0; background: none; overflow: visible; }
.cards-pop .product-media::before { content: ""; position: absolute; left: 12%; right: 12%; bottom: 2%; height: 14%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .28), transparent); transition: transform .35s var(--ease), opacity .35s ease; }
.cards-pop .product-media img { position: relative; object-fit: contain; filter: drop-shadow(0 10px 10px rgba(0, 0, 0, .25)); }
.cards-pop .product-card:hover .product-media img { transform: translateY(-12px) rotate(-5deg) scale(1.08); }
.cards-pop .product-card:hover .product-media::before { transform: scale(.75); opacity: .6; }
.cards-pop .product-media::after { display: none; }
.cards-pop .product-placeholder { border-radius: 50%; }
.cards-pop .product-foot { justify-content: center; flex-direction: column; }
.cards-pop .price { justify-content: center; }
/* Küçük kutular, fiyat köşede */
.cards-compact .product-grid { grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: .8rem; }
.cards-compact .product-card { position: relative; }
.cards-compact .product-media { aspect-ratio: 4 / 3; }
.cards-compact .product-media img { object-fit: contain; padding: 8%; }
.cards-compact .product-summary { display: none; }
.cards-compact .product-foot .btn { display: none; }
.cards-compact .product-body { padding: .7rem .8rem .8rem; }
.cards-compact .product-card .price { position: absolute; top: .55rem; right: .55rem; z-index: 2; padding: .15rem .55rem; border-radius: 999px; background: var(--surface); box-shadow: 0 4px 12px rgba(0, 0, 0, .18); font-size: .85rem; }
.cards-compact .product-card .price strong { font-size: .95rem; }
.cards-compact .product-card .price-old, .cards-compact .product-card .price-unit { display: none; }
@media (max-width: 520px) {
    .cards-list .product-grid { grid-template-columns: 1fr; }
    .cards-tall .product-grid, .cards-pop .product-grid, .cards-compact .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cards-pop .product-grid { row-gap: 2.6rem; }
    .cards-list .product-media { width: 104px; }
    .cards-list .product-foot { flex-direction: row; align-items: center; }
}

/* Piksel çerçeve: sert köşeli gölge (temalar --hard-shadow ile açar) */
.frame-pixel .btn { box-shadow: 0 4px 0 color-mix(in srgb, #000 35%, transparent); }
.frame-pixel .btn:active { transform: translateY(2px); box-shadow: 0 2px 0 color-mix(in srgb, #000 35%, transparent); }
.frame-pixel .product-card:hover { --lift: -4px; }
.motion-pixel .product-card, .motion-pixel .cat-card { transition-timing-function: steps(4, end); }
.motion-glow .product-card:hover { box-shadow: 0 0 0 1px var(--accent), 0 0 30px -4px color-mix(in srgb, var(--accent) 60%, transparent); }
.motion-bouncy .product-card:hover { --lift: -9px; }

/* Ürün sayfası: süzülen ürün resmi ve arkasında tema renginde parıltı */
.product-page-media { position: relative; isolation: isolate; }
.product-page-media::before { content: ""; position: absolute; inset: 8%; z-index: -1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 40%, transparent), transparent 68%); animation: glow 3.4s ease-in-out infinite alternate; }
.product-page-media img { animation: bob 5s ease-in-out infinite; filter: drop-shadow(0 22px 22px rgba(0, 0, 0, .3)); }
.sale-timer.is-lg { font-size: .9rem; }

.motion-off *, .motion-off *::before, .motion-off *::after { animation-duration: 0s !important; animation-delay: 0s !important; transition-duration: 0s !important; }

/* Admin önizleme şeridi */
.preview-bar { position: sticky; bottom: 0; z-index: 50; display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center; justify-content: center; padding: .7rem 1rem; background: #111827; color: #fff; font: 600 .92rem/1.4 system-ui, sans-serif; }
.preview-bar a, .preview-bar button { color: #111827; background: #fff; border: 0; border-radius: 6px; padding: .35rem .8rem; font: inherit; cursor: pointer; text-decoration: none; }
.preview-bar form { margin: 0; }

/* Orta boy ekranlar (tablet): menü sıkışmasın */
@media (min-width: 761px) and (max-width: 1040px) { .site-nav { gap: .75rem; font-size: .92rem; } .site-nav .nav-credits { display: none; } }
/* Çok küçük telefonlar */
@media (max-width: 360px) { .container { width: calc(100% - 1.2rem); } .card { padding: 1.1rem; } .hero-title { word-break: break-word; } }

/* Tarayıcı yüzeyleri ve ikonlar: seçim, imleç, kaydırma çubuğu ve form işaretleri tema rengini alır */
:root { accent-color: var(--accent); caret-color: var(--accent); scrollbar-color: color-mix(in srgb, var(--accent) 55%, var(--surface-2)) var(--bg); }
::selection { background: color-mix(in srgb, var(--accent) 35%, transparent); color: var(--text); }
a { text-underline-offset: .18em; }
.price, .countdown, .goal-head, .totals dd, .table .num, .credit-box strong { font-variant-numeric: tabular-nums; }
.ic { display: inline-block; width: 1.15em; height: 1.15em; vertical-align: -.2em; fill: currentColor; flex: none; }
.notice-icon .ic, .result-icon .ic { width: 62%; height: 62%; vertical-align: middle; }
.error-code .ic { width: 1em; height: 1em; }
.section-head a { display: inline-flex; align-items: center; gap: .35rem; }
.section-head a .ic { transition: transform .2s var(--ease, ease); }
.section-head a:hover .ic { transform: translateX(3px); }
.hero-text { color: color-mix(in srgb, var(--text) 82%, transparent); }
@media (max-width: 520px) {
    .announce-inner { gap: .3rem .6rem; font-size: .85rem; }
    .announce .countdown small:last-of-type, .announce [data-cd="s"] { display: none; }
}
