/* =========================================================
   lolscript.lol - arayuz stilleri
   Marka rengi logodan alindi: mor (#8b5cf6 / #a855f7)
   ========================================================= */

:root {
    --bg:          #0a0812;
    --bg-soft:     #100d1c;
    --surface:     #171226;
    --surface-2:   #1e1833;
    --surface-3:   #262041;
    --border:      #2d2548;
    --border-soft: #241e3a;

    --text:    #ece9f7;
    --text-2:  #b8b0d0;
    /* #8b82a8 koyu zeminde 4,49:1 kaliyordu (WCAG AA en az 4,5:1). */
    --muted:   #968eb4;

    --primary:      #8b5cf6;
    --primary-soft: #a855f7;
    --primary-dim:  rgba(139, 92, 246, 0.14);
    --primary-ring: rgba(139, 92, 246, 0.35);

    --success: #34d399;
    --danger:  #f87171;
    --warning: #fbbf24;
    --info:    #60a5fa;

    --radius:    14px;
    --radius-sm: 10px;
    --radius-lg: 22px;

    --shadow:    0 18px 40px -22px rgba(0, 0, 0, 0.9);
    --shadow-lg: 0 30px 70px -30px rgba(88, 28, 235, 0.55);

    --shell: 1180px;

    /* Hero katmanlari - panelden (Tema & Tasarim) degistirilir.
       ThemeService bu degerleri <head> icinde ezer. */
    --primary-rgb:        139, 92, 246;
    --hero-tint-rgb:      139, 92, 246;
    --hero-tint-alpha:    .15;
    --hero-glow-alpha:    .22;
    --hero-dark-rgb:      10, 8, 18;
    --hero-dark-alpha:    .85;
    --hero-dark-edge:     .98;
    --hero-brightness:    .45;
    --hero-saturate:      1.2;

    /* Govde: Chakra Petch - teknik/oyun karakterli, Turkce destekli (latin-ext).
       Baslik: Russo One - genis ve agir, esports tonu. */
    --font:         "Chakra Petch", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
    --font-display: "Russo One", "Chakra Petch", "Segoe UI", system-ui, Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
    margin: 0 0 .5rem;
    font-family: var(--font-display);
    line-height: 1.18;
    font-weight: 400;
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.15rem); }
h3 { font-size: 1.14rem; }
h4 { font-size: 1rem; }

/* Govde metni okunurlugu: 65-75 karakter satir uzunlugu hedefi */
p { margin: 0 0 1rem; color: var(--text-2); max-width: 72ch; }

/* Klavyeyle gezenler icin her zaman gorunur odak halkasi */
:focus-visible {
    outline: 2px solid var(--primary-soft);
    outline-offset: 2px;
    border-radius: 4px;
}

button, [role="button"], summary, label.checkbox, select { cursor: pointer; }

.shell {
    width: min(var(--shell), 100% - 2.5rem);
    margin-inline: auto;
}

.site-main { min-height: 60vh; }

.section { padding: clamp(3rem, 6vw, 5rem) 0; }

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.section-head h2 { margin: 0; }

.section-head-center {
    justify-content: center;
    text-align: center;
}

.section-link {
    color: var(--primary-soft);
    font-weight: 600;
    font-size: .92rem;
    white-space: nowrap;
}

.section-link:hover { color: var(--text); }

.eyebrow {
    display: inline-block;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--primary-soft);
    margin-bottom: .6rem;
}

/* Sayisal vurgular baslik fontuyla: rakamlar daha iri ve tutarli durur */
.stat strong,
.kpi-value,
.price-now,
.state-code { font-family: var(--font-display); font-weight: 400; }

/* ---------------------------------------------------------
   Butonlar
   --------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .7rem 1.25rem;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font: inherit;
    font-weight: 600;
    font-size: .92rem;
    cursor: pointer;
    transition: transform .15s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
    white-space: nowrap;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-soft));
    color: #fff;
    box-shadow: 0 12px 28px -14px var(--primary-ring);
}

.btn-primary:hover { box-shadow: 0 16px 34px -12px var(--primary-ring); }

.btn-ghost {
    background: transparent;
    border-color: var(--border);
    color: var(--text);
}

.btn-ghost:hover {
    border-color: var(--primary);
    background: var(--primary-dim);
}

.btn-danger { background: rgba(248, 113, 113, .14); border-color: rgba(248, 113, 113, .4); color: var(--danger); }
.btn-danger:hover { background: rgba(248, 113, 113, .22); }

.btn-disabled {
    background: var(--surface-2);
    color: var(--muted);
    border-color: var(--border);
    cursor: not-allowed;
}

.btn-sm { padding: .5rem .9rem; font-size: .85rem; }
.btn-lg { padding: .9rem 1.7rem; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* Dokunmatikte her hedef en az 44px yuksekliginde olsun */
@media (pointer: coarse) {
    .btn, .cart-link, .user-trigger, .nav-toggle, .site-nav > a { min-height: 44px; }
    .btn-sm { min-height: 44px; }
}

/* ---------------------------------------------------------
   Ust bar
   --------------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(10, 8, 18, 0.82);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-soft);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-height: 74px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    text-decoration: none;
    flex: 0 0 auto;
}

.brand img {
    height: 42px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.5));
    transition: transform .25s ease;
}

.brand:hover img {
    transform: scale(1.08);
}

.brand-text {
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: #fff;
    letter-spacing: -0.01em;
}

.brand-text .text-dot {
    color: var(--primary-soft);
}

.site-nav {
    display: flex;
    align-items: center;
    /* 6 baglanti + dil secici + sepet + giris/kayit dugmeleri 1180px'lik
       shell'e ancak bu araliikla sigiyor; daha genisi markaya yapisiyor. */
    gap: 1.1rem;
    margin-left: auto;
    font-weight: 500;
}

.site-nav > a {
    color: var(--text-2);
    font-size: .94rem;
    padding: .25rem 0;
    border-bottom: 2px solid transparent;
    transition: color .18s ease, border-color .18s ease;
}

.site-nav > a:hover,
.site-nav > a.is-active {
    color: var(--text);
    border-color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: .7rem;
    margin-left: .6rem;
}

.cart-link {
    position: relative;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-2);
    transition: border-color .2s ease, color .2s ease;
}

.cart-link:hover { border-color: var(--primary); color: var(--text); }

.cart-link svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cart-badge {
    position: absolute;
    top: -7px;
    right: -7px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    display: grid;
    place-items: center;
    background: var(--primary);
    color: #fff;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700;
}

/* Kullanici menusu */

.user-menu { position: relative; }

.user-trigger {
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: .35rem .7rem .35rem .35rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text);
    font: inherit;
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
}

.user-trigger:hover { border-color: var(--primary); }

.user-avatar {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-soft));
    color: #fff;
    font-size: .8rem;
}

.user-name { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.user-dropdown {
    position: absolute;
    top: calc(100% + .6rem);
    right: 0;
    min-width: 220px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: .4rem;
    display: none;
}

.user-menu.is-open .user-dropdown { display: block; }

.user-dropdown a,
.user-dropdown button {
    display: block;
    width: 100%;
    text-align: left;
    padding: .6rem .75rem;
    border: 0;
    border-radius: var(--radius-sm);
    background: none;
    color: var(--text-2);
    font: inherit;
    font-size: .9rem;
    cursor: pointer;
}

.user-dropdown a:hover,
.user-dropdown button:hover { background: var(--surface-2); color: var(--text); }

.user-dropdown a.is-admin { color: var(--primary-soft); font-weight: 600; }

.user-balance {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .65rem .75rem;
    margin-bottom: .3rem;
    border-radius: var(--radius-sm);
    background: var(--primary-dim);
    font-size: .85rem;
}

.user-balance span { color: var(--text-2); }
.user-balance strong { color: var(--text); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 42px;
    height: 42px;
    margin-left: auto;
    padding: 11px 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------
   Bildirimler
   --------------------------------------------------------- */

.flash-stack { padding-top: 1.25rem; display: grid; gap: .6rem; }

.flash {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .85rem 1.1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--surface);
    font-size: .92rem;
}

.flash-success { border-color: rgba(52, 211, 153, .35); background: rgba(52, 211, 153, .1); color: #a7f3d0; }
.flash-error   { border-color: rgba(248, 113, 113, .35); background: rgba(248, 113, 113, .1); color: #fecaca; }
.flash-info    { border-color: rgba(96, 165, 250, .35); background: rgba(96, 165, 250, .1); color: #bfdbfe; }

.flash-close {
    background: none;
    border: 0;
    color: inherit;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    opacity: .6;
}

.flash-close:hover { opacity: 1; }

/* .flash tek satirlik bildirim icin tasarlandi (flex + space-between), yani
   icindeki her eleman ayri bir sutun olur. Sayfaya gomulu aciklama
   kutularinda metin tek akis olmali; bu sinif onu blok hale getirir.
   Hem on yuz hem panel bu dosyayi yukler. */
.flash-note {
    display: block;
    line-height: 1.65;
}

.flash-note ul,
.flash-note ol {
    margin: .45rem 0 0;
    padding-left: 1.15rem;
}

/* ---------------------------------------------------------
   Metin yardimcilari
   Sepet ve odeme ekranlari bunlari kullaniyordu ama tanimlari
   hic yazilmamisti; renkler varsayilana dusuyordu.
   --------------------------------------------------------- */

.text-success { color: var(--success, #34d399); }
.text-bad     { color: var(--danger, #f87171); }
.text-muted   { color: var(--text-muted); }

.auth-hint {
    margin: .75rem 0 0;
    font-size: .82rem;
    line-height: 1.55;
    text-align: center;
    color: var(--text-muted);
}

/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */

.hero {
    position: relative;
    padding: clamp(3rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem);
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -40%;
    left: 50%;
    width: 900px;
    height: 900px;
    transform: translateX(-50%);
    background: radial-gradient(circle,
        rgba(var(--hero-tint-rgb), var(--hero-glow-alpha)) 0%,
        rgba(var(--hero-tint-rgb), 0) 62%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 3rem;
    align-items: center;
}

.hero-copy h1 { margin-bottom: 1rem; }

.hero-copy > p {
    font-size: 1.08rem;
    max-width: 52ch;
    margin-bottom: 1.8rem;
}

.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-bottom: 2rem; }

.hero-points {
    display: grid;
    gap: .55rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: .92rem;
    color: var(--text-2);
}

.hero-points li { position: relative; padding-left: 1.6rem; }

.hero-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .52em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-dim);
}

.hero-visual img {
    width: 100%;
    filter: drop-shadow(0 30px 60px rgba(139, 92, 246, .35));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-14px); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-visual img { animation: none; }
    html { scroll-behavior: auto; }
}

/* ---------------------------------------------------------
   Kategori kartlari
   --------------------------------------------------------- */

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 1rem;
}

.category-card {
    display: grid;
    gap: .35rem;
    padding: 1.4rem 1.2rem;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    background: var(--surface-2);
}

.category-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin-bottom: .5rem;
    border-radius: 12px;
    background: var(--primary-dim);
    color: var(--primary-soft);
    font-weight: 800;
    font-size: 1.15rem;
}

.category-name { font-weight: 650; }
.category-count { font-size: .82rem; color: var(--muted); }

/* ---------------------------------------------------------
   Urun kartlari
   --------------------------------------------------------- */

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.25rem;
}

.product-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.product-card.is-soldout { opacity: .66; }

.product-media {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, var(--surface-2), var(--surface-3));
    overflow: hidden;
}

.product-media img { width: 100%; height: 100%; object-fit: cover; }

.product-media-fallback {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: .05em;
    color: var(--primary-soft);
    text-transform: uppercase;
}

.badge {
    position: absolute;
    top: .7rem;
    left: .7rem;
    padding: .25rem .6rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .02em;
}

/* Beyaz yazi icin mor zemin biraz koyulastirilir (4,23:1 -> AA). */
.badge-discount { background: var(--primary); background: color-mix(in srgb, var(--primary) 80%, #000); color: #fff; }
.badge-low      { background: rgba(251, 191, 36, .18); color: var(--warning); border: 1px solid rgba(251,191,36,.35); }
.badge-soldout  { background: rgba(248, 113, 113, .18); color: var(--danger); border: 1px solid rgba(248,113,113,.35); }

.product-body {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    padding: 1.1rem;
    flex: 1;
}

.product-cat {
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--primary-soft);
}

.product-title { margin: 0; font-size: 1rem; }
.product-title a:hover { color: var(--primary-soft); }

.product-desc {
    margin: 0;
    font-size: .87rem;
    color: var(--muted);
    flex: 1;
}

.product-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-top: .85rem;
    padding-top: .85rem;
    border-top: 1px solid var(--border-soft);
}

.product-price { display: flex; flex-direction: column; line-height: 1.25; }
.product-price strong { font-size: 1.08rem; }

.price-old {
    font-size: .8rem;
    color: var(--muted);
    text-decoration: line-through;
}

/* ---------------------------------------------------------
   Ozellik kartlari + istatistik
   --------------------------------------------------------- */

.section-features { background: var(--bg-soft); }

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.25rem;
}

.feature-card {
    padding: 1.6rem 1.4rem;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
}

.feature-card h3 { margin-bottom: .4rem; }
.feature-card p { margin: 0; font-size: .9rem; }

.feature-icon {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: .9rem;
    border-radius: 12px;
    background: var(--primary-dim);
    color: var(--primary-soft);
    font-weight: 800;
    font-size: .95rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    padding: 2.2rem;
    background: linear-gradient(135deg, var(--surface), var(--surface-2));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.stat { text-align: center; }

.stat strong {
    display: block;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--primary-soft), #e9d5ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat span { font-size: .86rem; color: var(--muted); }

/* ---------------------------------------------------------
   SSS
   --------------------------------------------------------- */

.faq-layout {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 2.5rem;
    align-items: start;
}

.faq-intro h2 { margin-bottom: .75rem; }

.faq-list { display: grid; gap: .7rem; }

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

.faq-item[open] { border-color: var(--primary); }

.faq-item summary {
    padding: 1.05rem 1.25rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: "+";
    color: var(--primary-soft);
    font-size: 1.3rem;
    line-height: 1;
    transition: transform .2s ease;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-answer {
    padding: 0 1.25rem 1.15rem;
    color: var(--text-2);
    font-size: .92rem;
}

/* ---------------------------------------------------------
   CTA
   --------------------------------------------------------- */

.cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    padding: clamp(2rem, 4vw, 3rem);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background:
        radial-gradient(circle at 15% 20%, rgba(139, 92, 246, .22), transparent 55%),
        linear-gradient(135deg, var(--surface), var(--surface-2));
}

.cta-card h2 { margin-bottom: .4rem; }
.cta-card p { margin: 0; max-width: 46ch; }
.cta-actions { display: flex; gap: .75rem; flex-wrap: wrap; }

/* ---------------------------------------------------------
   Alt bar
   --------------------------------------------------------- */

.site-footer {
    margin-top: 3rem;
    background: var(--bg-soft);
    border-top: 1px solid var(--border-soft);
    padding-top: 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 2.5rem;
    padding-bottom: 2.5rem;
}

.footer-brand img { height: 32px; width: auto; margin-bottom: 1rem; }
.footer-brand p { font-size: .9rem; max-width: 40ch; }

.footer-socials { display: flex; gap: .5rem; flex-wrap: wrap; }

.footer-socials a {
    padding: .35rem .8rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: .82rem;
    color: var(--text-2);
}

.footer-socials a:hover { border-color: var(--primary); color: var(--text); }

.footer-col h4 {
    font-size: .8rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: .9rem;
}

.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-col a { font-size: .9rem; color: var(--text-2); }
.footer-col a:hover { color: var(--primary-soft); }

.footer-bottom {
    padding: 1.25rem 0;
    border-top: 1px solid var(--border-soft);
    font-size: .85rem;
    color: var(--muted);
}

/* ---------------------------------------------------------
   Formlar
   --------------------------------------------------------- */

.field { display: grid; gap: .4rem; margin-bottom: 1.1rem; }

.field label {
    font-size: .86rem;
    font-weight: 600;
    color: var(--text-2);
}

.input,
.select,
.textarea {
    width: 100%;
    padding: .75rem .95rem;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font: inherit;
    font-size: .94rem;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.input:focus,
.select:focus,
.textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-ring);
}

.textarea { min-height: 140px; resize: vertical; }

.field-error { font-size: .82rem; color: var(--danger); }
.field.has-error .input,
.field.has-error .textarea,
.field.has-error .select { border-color: var(--danger); }

.field-hint { font-size: .82rem; color: var(--muted); }

.checkbox {
    display: flex;
    align-items: center;
    gap: .55rem;
    font-size: .9rem;
    color: var(--text-2);
    cursor: pointer;
}

/* ---------------------------------------------------------
   Kartlar, tablolar, durum sayfalari
   --------------------------------------------------------- */

.card {
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.card + .card { margin-top: 1.25rem; }

.card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.card-head h2, .card-head h3 { margin: 0; }

.table-wrap { overflow-x: auto; }

table.table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9rem;
}

table.table th,
table.table td {
    padding: .85rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-soft);
    white-space: nowrap;
}

table.table th {
    font-size: .76rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 700;
}

table.table tbody tr:hover { background: var(--surface-2); }
table.table tbody tr:last-child td { border-bottom: 0; }

.status {
    display: inline-block;
    padding: .25rem .65rem;
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 700;
}

.status-pending   { background: rgba(251,191,36,.15); color: var(--warning); }
.status-paid      { background: rgba(96,165,250,.15); color: var(--info); }
.status-completed { background: rgba(52,211,153,.15); color: var(--success); }
.status-cancelled { background: rgba(248,113,113,.15); color: var(--danger); }
.status-refunded  { background: rgba(139,130,168,.15); color: var(--muted); }

.empty-state {
    padding: 3rem 1.5rem;
    text-align: center;
    color: var(--muted);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
}

.empty-state h3 { color: var(--text); }

.state-page { text-align: center; padding: 4rem 0; }

.state-code {
    display: block;
    font-size: clamp(4rem, 12vw, 7rem);
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--primary), var(--primary-soft));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.state-actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }

.page-head { padding: 2.5rem 0 .5rem; }
.page-head h1 { margin-bottom: .35rem; }

.breadcrumb {
    display: flex;
    gap: .5rem;
    font-size: .84rem;
    color: var(--muted);
    margin-bottom: .75rem;
    flex-wrap: wrap;
}

.breadcrumb a:hover { color: var(--primary-soft); }

.prose h2, .prose h3 { margin-top: 1.8rem; }
.prose ul, .prose ol { color: var(--text-2); padding-left: 1.2rem; }
.prose a { color: var(--primary-soft); text-decoration: underline; }

/* ---------------------------------------------------------
   Duyarli davranis
   --------------------------------------------------------- */

@media (max-width: 960px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { order: -1; max-width: 420px; }
    .faq-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

/* Ust menu: 6 baglanti + ikonlar + hesap dugmeleri yan yana ancak
   ~1080px uzerinde sigiyor. Altinda hamburger cekmeceye geciyoruz;
   aksi halde menu marka logosunun uzerine binip sayfayi tasiriyor. */
@media (max-width: 1180px) {
    .nav-toggle { display: flex; }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 1rem 1.25rem 1.5rem;
        background: var(--bg-soft);
        border-bottom: 1px solid var(--border);
        display: none;
        z-index: 60;
    }

    .site-nav.is-open { display: flex; }

    .site-nav > a { padding: .8rem 0; border-bottom: 1px solid var(--border-soft); }
    .site-nav > a.is-active { border-color: var(--primary); }

    .nav-actions { margin: 1rem 0 0; flex-wrap: wrap; }
    .nav-actions .btn { flex: 1; }

    .user-menu { width: 100%; }
    .user-trigger { width: 100%; justify-content: flex-start; }
    .user-dropdown { position: static; width: 100%; margin-top: .5rem; }
}

@media (max-width: 760px) {
    .footer-grid { grid-template-columns: 1fr; }
    .cta-card { flex-direction: column; align-items: flex-start; }
}

/* ---------------------------------------------------------
   Nasil isliyor - numarali adimlar
   --------------------------------------------------------- */

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: step;
}

.steps li {
    position: relative;
    padding: 1.6rem 1.4rem 1.4rem;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
}

/* Adimlar arasi baglanti cizgisi (genis ekranda) */
@media (min-width: 900px) {
    .steps li:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 2.45rem;
        right: -1.25rem;
        width: 1.25rem;
        height: 1px;
        background: var(--border);
    }
}

.step-no {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-bottom: .9rem;
    border-radius: 11px;
    background: var(--primary-dim);
    border: 1px solid var(--primary-ring);
    color: var(--primary-soft);
    font-family: var(--font-display);
    font-size: 1.05rem;
}

.steps h3 { margin-bottom: .35rem; }
.steps p { margin: 0; font-size: .92rem; }
.steps a { color: var(--primary-soft); text-decoration: underline; }

/* =========================================================
   LoL Script & Coven Video & Gaming UI Eklentileri
   ========================================================= */

/* Hero Video */
.hero-with-video {
    position: relative;
    overflow: hidden;
    min-height: 580px;
    display: flex;
    align-items: center;
}

.hero-video-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

/* Video modunda kapak gorseli altta durur; video hazir olunca ustunde oynar. */
.hero-video-wrapper > .hero-poster,
.hero-video-wrapper > .hero-video {
    position: absolute;
    inset: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(var(--hero-brightness)) contrast(1.15) saturate(var(--hero-saturate));
    transform: scale(1.02);
}

/* Arka plan gorsel secildiginde video yerine bu kullanilir. */
.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(var(--hero-brightness)) contrast(1.15) saturate(var(--hero-saturate));
    transform: scale(1.02);
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 75% 45%,
        rgba(var(--hero-tint-rgb), var(--hero-tint-alpha)) 0%,
        rgba(var(--hero-dark-rgb), var(--hero-dark-alpha)) 60%,
        rgba(var(--hero-dark-rgb), var(--hero-dark-edge)) 100%);
    backdrop-filter: blur(1px);
}

.hero-inner {
    position: relative;
    z-index: 2;
}

.hero-badge-live {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .35rem .85rem;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: 999px;
    font-size: .84rem;
    font-weight: 600;
    color: #34d399;
    margin-bottom: 1rem;
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 10px #34d399;
    animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.2); }
}

.check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.25);
    color: var(--primary-soft);
    font-size: .75rem;
    margin-right: .35rem;
}

/* Canlı Durum Kartı (Hero Status Tracker) */
.hero-status-card {
    background: rgba(23, 18, 38, 0.85);
    border: 1px solid rgba(139, 92, 246, 0.35);
    backdrop-filter: blur(12px);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(139, 92, 246, 0.2);
}

.status-card-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 1rem;
}

.hero-status-card .status-card-header > .badge-status {
    /* Keep the status label in flow, not over the title via .badge's absolute positioning. */
    position: static;
    align-self: flex-start;
    padding: 0;
}

.hero-status-card .status-title {
    line-height: 1.5;
}

.hero-status-card .status-title svg {
    flex-shrink: 0;
}

.status-title {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: 1.05rem;
    color: #fff;
}

.pulse-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 12px #10b981;
    animation: pulseGlow 1.5s infinite;
}

.status-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.status-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .65rem .85rem;
    background: rgba(30, 24, 51, 0.6);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform .2s ease, border-color .2s ease;
}

.status-item:hover {
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateX(4px);
}

.status-info {
    display: flex;
    flex-direction: column;
}

.status-name {
    font-weight: 600;
    font-size: .92rem;
    color: var(--text);
}

.status-sub {
    font-size: .75rem;
    color: var(--muted);
}

.status-badge {
    padding: .25rem .55rem;
    border-radius: 6px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .03em;
}

.status-green {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-blue {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

/* Features Bar */
.features-bar {
    background: rgba(16, 13, 28, 0.95);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 1.25rem 0;
}

.features-bar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.feature-bar-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-bar-icon {
    font-size: 1.75rem;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    background: var(--surface-2);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.feature-bar-item strong {
    display: block;
    font-size: .95rem;
    color: #fff;
}

.feature-bar-item p {
    margin: 0;
    font-size: .8rem;
    color: var(--muted);
}

/* Dil Switcher */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2px 6px;
    font-size: .8rem;
    font-weight: 600;
}

.lang-btn {
    padding: 3px 6px;
    color: var(--muted);
    border-radius: 5px;
    transition: color .15s;
}

.lang-btn.is-active {
    color: #fff;
    background: var(--primary-dim);
}

.lang-sep {
    color: var(--border);
    margin: 0 2px;
}

/* Kategori Bolumu v2 - Modern Gaming Showcase */
.section-categories {
    padding: 3.5rem 0 2rem;
}

.section-link-glow {
    color: var(--primary-soft);
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.section-link-glow:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.8);
    transform: translateX(4px);
}

.category-grid-v2 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
}

@media (max-width: 1100px) {
    .category-grid-v2 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 700px) {
    .category-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .category-grid-v2 {
        grid-template-columns: 1fr;
    }
}

.category-card-v2 {
    position: relative;
    height: 260px;
    border-radius: 18px;
    border: 1px solid rgba(139, 92, 246, 0.25);
    background: var(--surface);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
    text-decoration: none;
}

.category-card-v2:hover {
    transform: translateY(-8px);
    border-color: rgba(168, 85, 247, 0.7);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8), 0 0 25px rgba(139, 92, 246, 0.35);
}

.category-card-media {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.category-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5) contrast(1.15) saturate(1.1);
    transition: transform 0.45s ease, filter 0.45s ease;
}

.category-card-v2:hover .category-card-media img {
    transform: scale(1.12);
    filter: brightness(0.68) contrast(1.2) saturate(1.25);
}

.category-card-vignette {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 8, 18, 0.45) 0%, rgba(10, 8, 18, 0.55) 40%, rgba(10, 8, 18, 0.96) 100%);
    backdrop-filter: blur(0.5px);
}

.category-card-top {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-icon-badge {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(18, 14, 30, 0.85);
    border: 1px solid rgba(139, 92, 246, 0.4);
    backdrop-filter: blur(8px);
    display: grid;
    place-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.category-card-v2:hover .category-icon-badge {
    transform: scale(1.1);
    border-color: #c084fc;
}

.category-count-badge {
    font-size: 0.76rem;
    font-weight: 700;
    color: #e9d5ff;
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.4);
    padding: 3px 9px;
    border-radius: 999px;
    backdrop-filter: blur(6px);
    letter-spacing: 0.02em;
}

.category-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.category-sub-tag {
    font-size: 0.72rem;
    font-weight: 700;
    color: #34d399;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.category-card-title {
    font-size: 1.25rem;
    font-family: var(--font-display);
    color: #fff;
    margin: 0 0 0.65rem;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.category-card-action {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.86rem;
    font-weight: 700;
    color: #c084fc;
    transition: color 0.2s ease, transform 0.2s ease;
}

.category-card-v2:hover .category-card-action {
    color: #fff;
    transform: translateX(4px);
}

.category-card-action .action-arrow {
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

.category-card-v2:hover .action-arrow {
    transform: translateX(3px);
}

/* Ürün Kartı Rozetleri */
.product-badges-top {
    position: absolute;
    top: .75rem;
    left: .75rem;
    right: .75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 3;
    pointer-events: none;
}

/* .badge taban sinifi absolute konumlanir (tekil kullanim icin).
   Rozet seritlerinin icindeyken flex akisinda kalmalilar; aksi halde
   hepsi sol ust koseye yiğilip birbirini kirpiyor
   (ornek: indirim rozeti "UNDETECTED" yazisinin uzerine biniyordu). */
.product-badges-top .badge,
.product-badges-bottom .badge {
    position: static;
    pointer-events: auto;
}

/* Serit icinde rozetler arasi bosluk */
.product-badges-top { gap: .4rem; }

.badge-status-pill {
    background: rgba(16, 185, 129, 0.9);
    color: #fff;
    font-size: .7rem;
    font-weight: 800;
    padding: .2rem .55rem;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    letter-spacing: .04em;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.dot-green {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
}

.product-badges-bottom {
    position: absolute;
    bottom: .75rem;
    left: .75rem;
    z-index: 3;
}

.badge-instock {
    background: rgba(23, 18, 38, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(139, 92, 246, 0.4);
    color: #d8b4fe;
    font-size: .72rem;
    padding: .2rem .5rem;
    border-radius: 6px;
    font-weight: 600;
}

.product-features-mini {
    display: flex;
    gap: .5rem;
    margin: .5rem 0 .75rem;
    font-size: .76rem;
    color: var(--muted);
}

.product-features-mini span {
    background: rgba(255, 255, 255, 0.04);
    padding: .15rem .45rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* 3 Adım Gaming Kartları */
.section-steps-dark {
    background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 50%, var(--bg) 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.steps-gaming {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.steps-gaming li {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    position: relative;
    transition: transform .25s ease, border-color .25s ease;
}

.steps-gaming li:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
}

.step-num {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: var(--primary-soft);
    opacity: 0.85;
    margin-bottom: .75rem;
}

/* Blog Stilleri */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.75rem;
}

.blog-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.blog-media {
    position: relative;
    height: 190px;
    overflow: hidden;
}

.blog-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.blog-card:hover .blog-media img {
    transform: scale(1.05);
}

.blog-tag {
    position: absolute;
    bottom: .75rem;
    right: .75rem;
    background: rgba(10, 8, 18, 0.85);
    backdrop-filter: blur(6px);
    border: 1px solid var(--border);
    color: var(--text-2);
    font-size: .75rem;
    padding: .2rem .55rem;
    border-radius: 6px;
}

.blog-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-meta {
    font-size: .8rem;
    color: var(--muted);
    margin-bottom: .5rem;
    display: flex;
    gap: .5rem;
    align-items: center;
}

.blog-title {
    font-size: 1.15rem;
    margin: 0 0 .5rem;
    line-height: 1.35;
}

.blog-title a:hover {
    color: var(--primary-soft);
}

.blog-excerpt {
    font-size: .88rem;
    color: var(--text-2);
    margin-bottom: 1rem;
    flex: 1;
}

.blog-read-link {
    font-size: .88rem;
    font-weight: 600;
    color: var(--primary-soft);
    margin-top: auto;
}

/* Blog Detay */
.blog-article-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2.5rem;
}

@media (max-width: 900px) {
    .blog-article-layout { grid-template-columns: 1fr; }
}

.blog-article-main {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: clamp(1.5rem, 3vw, 2.5rem);
}

.blog-article-cover {
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin: 1.5rem 0 2rem;
    max-height: 420px;
}

.blog-article-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-article-share {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.sidebar-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.sidebar-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.sidebar-post-item {
    display: flex;
    gap: .75rem;
    align-items: center;
}

.sidebar-post-item img {
    width: 65px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.sidebar-post-item strong {
    font-size: .88rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-post-item small {
    color: var(--muted);
    font-size: .75rem;
}

/* Ürün Detay Sayfası */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

@media (max-width: 900px) {
    .product-detail-layout { grid-template-columns: 1fr; }
}

.product-main-media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.product-main-media img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.media-live-tag {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: rgba(10, 8, 18, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34d399;
    padding: .4rem .85rem;
    border-radius: 999px;
    font-size: .8rem;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

.live-dot-green {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
}

.product-security-box {
    margin-top: 1.25rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: .75rem;
}

.sec-item {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .85rem 1rem;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.sec-icon {
    font-size: 1.4rem;
}

.sec-item strong {
    display: block;
    font-size: .88rem;
    color: #fff;
}

.sec-item small {
    color: var(--muted);
    font-size: .78rem;
}

.product-cat-badge {
    display: inline-block;
    padding: .25rem .75rem;
    background: var(--primary-dim);
    color: var(--primary-soft);
    border: 1px solid var(--primary-ring);
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 600;
    margin-bottom: .75rem;
}

.product-detail-title {
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    margin: 0 0 .75rem;
}

.product-status-strip {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    margin: 1rem 0 1.5rem;
}

.strip-badge {
    padding: .35rem .75rem;
    border-radius: 8px;
    font-size: .82rem;
    background: var(--surface-2);
    border: 1px solid var(--border);
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.strip-badge.is-undetected {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.35);
    color: #34d399;
}

.price-wrap {
    display: flex;
    align-items: baseline;
    gap: .85rem;
    margin-bottom: .75rem;
}

.price-now-lg {
    font-size: 2.2rem;
    color: #fff;
    font-family: var(--font-display);
}

.price-old-lg {
    font-size: 1.3rem;
    color: var(--muted);
    text-decoration: line-through;
}

.badge-discount-lg {
    background: #ef4444;
    color: #fff;
    font-size: .85rem;
    padding: .25rem .6rem;
    border-radius: 6px;
    font-weight: 700;
}

.qty-and-buy {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0 2rem;
    align-items: center;
}

.qty-stepper {
    display: flex;
    align-items: center;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.qty-btn {
    border: none;
    background: transparent;
    color: #fff;
    width: 44px;
    height: 48px;
    font-size: 1.25rem;
    display: grid;
    place-items: center;
    transition: background .15s;
}

.qty-btn:hover {
    background: var(--surface-3);
}

.qty-input {
    width: 50px;
    height: 48px;
    border: none;
    background: transparent;
    color: #fff;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
}

.btn-xl {
    padding: .95rem 2rem;
    font-size: 1.1rem;
    flex: 1;
}

.product-quick-specs {
    border-top: 1px solid var(--border);
    padding-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: .65rem;
    font-size: .88rem;
}

.spec-row {
    display: flex;
    justify-content: space-between;
}

.spec-row span { color: var(--muted); }
.spec-row strong { color: var(--text); }

/* Sekmeler */
.product-tabs {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.tabs-header {
    display: flex;
    background: var(--surface-2);
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
}

.tab-btn {
    padding: 1.1rem 1.75rem;
    background: transparent;
    border: none;
    color: var(--muted);
    font-family: var(--font);
    font-size: .95rem;
    font-weight: 600;
    transition: color .2s, background .2s;
    white-space: nowrap;
}

.tab-btn.is-active {
    color: #fff;
    background: var(--surface);
    border-bottom: 2px solid var(--primary-soft);
}

.tab-content {
    display: none;
    padding: 2rem;
}

.tab-content.is-active {
    display: block;
}

/* Mağaza Kategori Hapları & Filtreler */
.store-category-pills {
    display: flex;
    gap: .65rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.cat-pill {
    padding: .5rem 1rem;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: .88rem;
    font-weight: 600;
    color: var(--text-2);
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    transition: all .2s;
}

.cat-pill:hover,
.cat-pill.is-active {
    background: var(--primary);
    background: color-mix(in srgb, var(--primary) 80%, #000);
    color: #fff;
    border-color: var(--primary-soft);
    box-shadow: 0 4px 15px var(--primary-dim);
}

.pill-count {
    background: rgba(0, 0, 0, 0.25);
    padding: 1px 6px;
    border-radius: 10px;
    font-size: .75rem;
}

.store-filter-bar {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.store-search-form {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.search-input-wrap {
    flex: 1;
    min-width: 260px;
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 12px;
    width: 18px;
    height: 18px;
    stroke: var(--muted);
    fill: none;
    stroke-width: 2;
}

.search-field {
    padding-left: 2.4rem;
    padding-right: 2.2rem;
    width: 100%;
}

.clear-search-btn {
    position: absolute;
    right: 12px;
    color: var(--muted);
    font-size: 1.3rem;
    line-height: 1;
}

.sort-select-wrap {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.sort-label {
    font-size: .88rem;
    color: var(--muted);
    white-space: nowrap;
}

.store-results-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: .9rem;
    color: var(--muted);
}

.reset-link {
    color: #ef4444;
    font-size: .85rem;
}

/* Sepet Sayfası Gaming UI */
.cart-layout-gaming {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
}

@media (max-width: 960px) {
    .cart-layout-gaming { grid-template-columns: 1fr; }
}

.cart-items-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

/* Sutun duzeni: [gorsel] [urun bilgisi] [birim fiyat] [adet] [toplam] [sil]
   Baslik satiri ve urun satiri ayni sablonu kullanmali, yoksa basliklar
   icerikle hizalanmiyor. */
.cart-panel-header {
    display: grid;
    grid-template-columns: 64px minmax(0, 2.5fr) 1fr 1fr 1fr 40px;
    gap: .75rem;
    align-items: center;
    padding: 1rem 1.25rem;
    background: var(--surface-2);
    border-bottom: 1px solid var(--border);
    font-size: .85rem;
    font-weight: 700;
    color: var(--muted);
}

@media (max-width: 640px) {
    .cart-panel-header { display: none; }
}

.cart-item-card {
    display: grid;
    grid-template-columns: 64px minmax(0, 2.5fr) 1fr 1fr 1fr 40px;
    gap: .75rem;
    align-items: center;
    padding: 1.25rem;
    border-bottom: 1px solid var(--border);
}

@media (max-width: 640px) {
    .cart-item-card {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
    }
}

.cart-thumb {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--surface-2);
    border: 1px solid var(--border);
    flex-shrink: 0;
    display: inline-block;
}

.cart-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-details {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.cart-details h3 {
    margin: 0 0 .3rem;
    font-size: 1rem;
}

.cart-details h3 a:hover {
    color: var(--primary-soft);
}

.cart-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}

/* Rozet metinleri bolunmesin ("Otomatik Key" iki satira dusuyordu) */
.cart-badges > * { white-space: nowrap; }

.badge-mini-green {
    font-size: .7rem;
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    padding: 1px 5px;
    border-radius: 4px;
}

.badge-mini-purple {
    font-size: .7rem;
    background: var(--primary-dim);
    color: var(--primary-soft);
    padding: 1px 5px;
    border-radius: 4px;
}

.cart-stepper-form .qty-stepper-sm {
    width: 100px;
    height: 36px;
}

.cart-stepper-form .qty-stepper-sm .qty-btn {
    width: 30px;
    height: 36px;
    font-size: 1rem;
}

.cart-stepper-form .qty-stepper-sm .qty-input {
    width: 40px;
    height: 36px;
    font-size: .9rem;
}

.cart-line-total strong {
    font-size: 1.15rem;
    color: #fff;
    font-family: var(--font-display);
}

.cart-remove-btn {
    background: transparent;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: grid;
    place-items: center;
    color: var(--muted);
    transition: all .15s;
}

.cart-remove-btn:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.cart-remove-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.summary-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.summary-title {
    margin: 0 0 1.25rem;
    font-size: 1.2rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: .85rem;
}

.summary-list {
    display: flex;
    flex-direction: column;
    gap: .85rem;
    margin-bottom: 1.5rem;
}

.summary-grand-total {
    border-top: 1px solid var(--border);
    padding-top: .85rem;
    font-size: 1.1rem;
}

.grand-price {
    font-size: 1.6rem;
    color: #fff;
    font-family: var(--font-display);
}

.coupon-form-gaming {
    display: flex;
    gap: .5rem;
    margin-bottom: 1.5rem;
}

.cart-trust-badges {
    border-top: 1px solid var(--border);
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: .65rem;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: .65rem;
    color: var(--muted);
    font-size: .8rem;
}

.empty-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

/* =========================================================
   Animate-UI / AI Motion Icons Animasyonlari
   ========================================================= */

.ai-icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    display: inline-block;
    flex-shrink: 0;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.25s ease;
}

.ai-icon:hover {
    transform: scale(1.18);
}

.ai-sparkle {
    animation: aiSparkleGlow 2.8s ease-in-out infinite;
    color: #c084fc;
}

@keyframes aiSparkleGlow {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 3px rgba(192, 132, 252, 0.4));
    }
    50% {
        transform: scale(1.15) rotate(6deg);
        filter: drop-shadow(0 0 8px rgba(192, 132, 252, 0.9));
        color: #e879f9;
    }
}

.ai-bot {
    animation: aiBotHover 3s ease-in-out infinite;
    color: #a78bfa;
}

@keyframes aiBotHover {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); color: #c4b5fd; }
}

.ai-shield {
    color: #34d399;
    animation: aiShieldPulse 2.5s ease-in-out infinite;
}

@keyframes aiShieldPulse {
    0%, 100% { filter: drop-shadow(0 0 2px rgba(52, 211, 153, 0.3)); }
    50% { filter: drop-shadow(0 0 8px rgba(52, 211, 153, 0.8)); transform: scale(1.06); }
}

.ai-crosshair {
    color: #f43f5e;
    animation: aiCrosshairSpin 16s linear infinite;
}

@keyframes aiCrosshairSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.ai-zap {
    color: #fbbf24;
    animation: aiZapFlash 2s infinite ease-in-out;
}

@keyframes aiZapFlash {
    0%, 100% { opacity: 0.9; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.18); filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.9)); }
}

.ai-cpu {
    color: #60a5fa;
    animation: aiCpuPulse 2.2s ease-in-out infinite;
}

@keyframes aiCpuPulse {
    0%, 100% { opacity: 0.85; }
    50% { opacity: 1; filter: drop-shadow(0 0 7px rgba(96, 165, 250, 0.8)); }
}

.ai-activity {
    color: #10b981;
    animation: aiActivityBeat 1.8s ease-in-out infinite;
}

@keyframes aiActivityBeat {
    0%, 100% { transform: scale(1); }
    30% { transform: scale(1.12); }
    50% { transform: scale(0.96); }
    70% { transform: scale(1.08); }
}

/* =========================================================
   Giris & Kayit (Auth) Sayfalari Modern Tasarimi
   ========================================================= */

.auth-body {
    background: radial-gradient(circle at 50% 20%, rgba(139, 92, 246, 0.15) 0%, rgba(10, 8, 18, 0.98) 70%, #0a0812 100%), #0a0812;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    position: relative;
    overflow-x: hidden;
}

.auth-wrap {
    width: 100%;
    max-width: 440px;
    margin: auto;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.auth-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
}

.auth-card {
    position: relative;
    z-index: 2;
    width: 100%;
    background: rgba(23, 18, 38, 0.88);
    border: 1px solid rgba(139, 92, 246, 0.35);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(139, 92, 246, 0.18);
}

.auth-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.auth-brand img {
    height: 72px;
    width: auto;
    filter: drop-shadow(0 0 16px rgba(139, 92, 246, 0.65));
    transition: transform 0.3s ease;
}

.auth-brand:hover img {
    transform: scale(1.08);
}

.auth-title {
    text-align: center;
    font-size: 1.6rem;
    font-family: var(--font-display);
    color: #fff;
    margin: 0 0 0.35rem;
    letter-spacing: -0.01em;
}

.auth-sub {
    text-align: center;
    font-size: 0.88rem;
    color: var(--muted);
    margin: 0 0 1.75rem;
}

.auth-card .field {
    margin-bottom: 1.25rem;
}

.auth-card label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-2);
    margin-bottom: 0.4rem;
}

.auth-card .input {
    width: 100%;
    background: rgba(16, 13, 28, 0.85);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.auth-card .input:focus {
    border-color: var(--primary-soft);
    box-shadow: 0 0 0 3px var(--primary-dim);
    outline: none;
}

.auth-alt {
    text-align: center;
    font-size: 0.88rem;
    color: var(--muted);
    margin: 1.5rem 0 0;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-soft);
}

.auth-alt a {
    color: var(--primary-soft);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.15s;
}

.auth-alt a:hover {
    color: #fff;
    text-decoration: underline;
}

.auth-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 1.5rem;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 500;
    transition: color 0.2s ease, transform 0.2s ease;
}

.auth-back:hover {
    color: #fff;
    transform: translateX(-4px);
}

/* =========================================================
   Müşteri Hesabı (Account Dashboard & UX)
   ========================================================= */

.account-layout {
    display: grid;
    grid-template-columns: 290px 1fr;
    gap: 2rem;
    align-items: start;
}

.account-nav {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: sticky;
    top: 90px;
}

.account-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: linear-gradient(145deg, var(--surface), var(--surface-2));
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: var(--radius);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.45);
    position: relative;
    overflow: hidden;
}

.account-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-soft));
}

.account-avatar {
    width: 68px;
    height: 68px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #4c1d95);
    border: 3px solid rgba(139, 92, 246, 0.5);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: #fff;
}

.account-name {
    display: block;
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 0.2rem;
}

.account-email {
    display: block;
    color: var(--muted);
    font-size: 0.84rem;
    margin-bottom: 0.85rem;
    word-break: break-all;
}

.account-badge-vip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0.25rem 0.75rem;
    background: rgba(139, 92, 246, 0.18);
    border: 1px solid rgba(139, 92, 246, 0.45);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #d8b4fe;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1.25rem;
}

.account-balance-box {
    background: rgba(16, 13, 28, 0.8);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
}

.account-balance-info span {
    display: block;
    font-size: 0.75rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.account-balance-info strong {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: #fff;
}

.account-balance-btn {
    padding: 0.4rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--primary), var(--primary-soft));
    color: #fff;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
}

.account-balance-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.5);
}

/* Yan Menü (Side List) */
.side-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.75rem;
    background: var(--surface);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
}

.side-list a, .side-list button {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    color: var(--text-2);
    font-size: 0.94rem;
    font-weight: 500;
    text-decoration: none;
    background: transparent;
    border: none;
    width: 100%;
    cursor: pointer;
    transition: all 0.18s ease;
}

.side-list a:hover, .side-list button:hover {
    background: var(--surface-2);
    color: #fff;
    transform: translateX(3px);
}

.side-list a.is-active {
    background: linear-gradient(90deg, rgba(139, 92, 246, 0.22), rgba(139, 92, 246, 0.08));
    border-left: 3px solid var(--primary);
    color: #fff;
    font-weight: 600;
}

.side-list .menu-icon {
    font-size: 1.15rem;
    width: 22px;
    display: inline-flex;
    justify-content: center;
    color: var(--primary-soft);
}

.side-list .is-admin-link {
    color: #fbbf24;
    border-top: 1px solid var(--border-soft);
    margin-top: 0.35rem;
    padding-top: 0.85rem;
}

.side-list .is-admin-link:hover {
    color: #fef08a;
}

.side-list .logout-btn {
    color: #f87171;
    border-top: 1px solid var(--border-soft);
    margin-top: 0.35rem;
    padding-top: 0.85rem;
}

.side-list .logout-btn:hover {
    background: rgba(248, 113, 113, 0.12);
    color: #fca5a5;
}

/* Dashboard KPI İstatistik Kartları */
.mini-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.mini-stat {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.4rem;
    background: linear-gradient(145deg, var(--surface), var(--surface-2));
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.mini-stat:hover {
    transform: translateY(-3px);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.mini-stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.mini-stat-data span {
    display: block;
    font-size: 0.8rem;
    color: var(--muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.mini-stat-data strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: #fff;
    line-height: 1.1;
}

/* Hızlı Kılavuz / Loader Banner */
.account-banner {
    background: radial-gradient(circle at 10% 50%, rgba(139, 92, 246, 0.25), transparent 60%),
                linear-gradient(135deg, var(--surface), var(--surface-2));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--radius);
    padding: 1.5rem 1.75rem;
    margin-bottom: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.account-banner-content h3 {
    margin: 0 0 0.4rem;
    font-size: 1.25rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.account-banner-content p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-2);
}

/* Lisans Anahtarları (Keys) Kartları */
.key-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.key-card-gaming {
    background: linear-gradient(145deg, var(--surface), var(--surface-2));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.key-card-gaming:hover {
    border-color: rgba(139, 92, 246, 0.45);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.key-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-soft);
    margin-bottom: 1.1rem;
}

.key-card-product {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.key-card-thumb {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid rgba(139, 92, 246, 0.3);
    background: var(--surface-3);
}

.key-card-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: #fff;
    margin: 0 0 0.2rem;
}

.key-card-title a {
    color: #fff;
    transition: color 0.15s;
}

.key-card-title a:hover {
    color: var(--primary-soft);
}

.key-card-sub {
    font-size: 0.8rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.key-card-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(10, 8, 18, 0.85);
    border: 1px solid rgba(139, 92, 246, 0.35);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1.1rem;
    margin-bottom: 0.85rem;
}

.key-code {
    flex: 1;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: #a7f3d0;
    letter-spacing: 0.08em;
    user-select: all;
    overflow-x: auto;
    white-space: nowrap;
}

.key-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.6rem 1.1rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-soft));
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.4);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.key-copy-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(139, 92, 246, 0.6);
}

.key-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: var(--muted);
}

.key-guide-chip {
    color: var(--primary-soft);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
}

.key-guide-chip:hover {
    text-decoration: underline;
    color: #fff;
}

/* Sipariş Adım Takipçisi (Order Status Steps) */
.order-steps-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    margin: 1.5rem 0 2rem;
    padding: 0 1rem;
}

.order-steps-bar::before {
    content: "";
    position: absolute;
    top: 18px;
    left: 2.5rem;
    right: 2.5rem;
    height: 3px;
    background: var(--border);
    z-index: 1;
}

.order-step-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    position: relative;
    z-index: 2;
    text-align: center;
}

.step-node-dot {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--surface);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--muted);
    transition: all 0.3s;
}

.order-step-node.is-active .step-node-dot {
    background: var(--primary);
    border-color: var(--primary-soft);
    color: #fff;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.6);
}

.order-step-node.is-completed .step-node-dot {
    background: #10b981;
    border-color: #34d399;
    color: #fff;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.5);
}

.step-node-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--muted);
}

.order-step-node.is-active .step-node-label,
.order-step-node.is-completed .step-node-label {
    color: #fff;
}

@media (max-width: 900px) {
    .account-layout {
        grid-template-columns: 1fr;
    }

    .account-nav {
        position: static;
    }
}



/* ---------------------------------------------------------------
   Sozlesme / politika sayfalari (.prose)

   .prose yalnizca baslik, liste ve baglanti kuralina sahipti.
   Gizlilik politikasindaki veri tablosu ve sozlesmelerdeki
   "doldurulacak" isaretleri bicimsiz kaliyordu.
   --------------------------------------------------------------- */

.prose p { color: var(--text-2); line-height: 1.75; }

.prose li { margin-bottom: .35rem; }

.prose table {
    width: 100%;
    margin: 1.2rem 0;
    border-collapse: collapse;
    font-size: .92rem;
    /* Dar ekranda tasmasin diye sarmalayici kaydirilabilir */
    display: block;
    overflow-x: auto;
}

.prose thead th {
    text-align: left;
    padding: .7rem .85rem;
    background: var(--surface-2);
    border-bottom: 1px solid var(--border);
    color: #fff;
    font-weight: 600;
    white-space: nowrap;
}

.prose tbody td {
    padding: .7rem .85rem;
    border-bottom: 1px solid var(--border-soft);
    color: var(--text-2);
    vertical-align: top;
}

.prose tbody tr:last-child td { border-bottom: 0; }

/* Sozlesmede doldurulmayi bekleyen alanlar */
.prose mark {
    padding: .1rem .4rem;
    border-radius: 5px;
    font-weight: 600;
}

/* Yalnizca ekran okuyucu ve arama motorlari icin gorunmez metin
   (orn. sayfa basliklarinin sirasini korumak icin ara baslik). */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
