/* ══════════════════════════════════════════════════════════════════
   B-SITE THEME — MYKD Gaming Design System
   Dark eSports aesthetic — local CSS, no CDN
   ══════════════════════════════════════════════════════════════════ */
[x-cloak] { display: none !important; }

/* ── Design Tokens ─────────────────────────────────────────────── */
:root {
    --bg:            #0a1014;
    --bg-alt:        #0f161b;
    --card:          #011a21;
    --card-alt:      #162029;
    --text:          #e8eaf0;
    --text-muted:    #adb0bc;
    --text-light:    #6b7683;
    --border:        #243040;
    --border-light:  #1e2d3d;
    --primary:       #45f882;
    --primary-dark:  #2dd765;
    --primary-light: #80ffb0;
    --primary-soft:  rgba(69,248,130,.12);
    --secondary:     #ffbe18;
    --secondary-soft:rgba(255,190,24,.12);
    --success:       #45f882;
    --danger:        #ff4d6a;
    --warning:       #ffbe18;
    --info:          #3b82f6;
    --page-bg:       #182029;
    --success-soft:  rgba(69,248,130,.12);
    --danger-soft:   rgba(255,77,106,.12);
    --info-soft:     rgba(59,130,246,.12);
    --warning-soft:  rgba(255,190,24,.12);
    --radius-sm:     4px;
    --radius:        8px;
    --radius-lg:     12px;
    --radius-xl:     16px;
    --radius-2xl:    24px;
    --shadow-sm:     0 2px 8px rgba(0,0,0,.4);
    --shadow:        0 4px 16px rgba(0,0,0,.5);
    --shadow-md:     0 8px 24px rgba(0,0,0,.55);
    --shadow-lg:     0 16px 40px rgba(0,0,0,.65);
    --transition:    .2s cubic-bezier(.4,0,.2,1);
    --navbar-h:      80px;
    --font:          'Poppins', system-ui, -apple-system, sans-serif;
    --font-heading:  'Barlow', system-ui, sans-serif;
    /* Glow effects */
    --glow-primary:  0 0 20px rgba(69,248,130,.35);
    --glow-secondary:0 0 20px rgba(255,190,24,.35);
}

/* ── Custom Scrollbar ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }
* { scrollbar-width: thin; scrollbar-color: var(--border) var(--bg-alt); }

/* ── Lang Button ───────────────────────────────────────────────── */
.lang-btn {
    display: flex; align-items: center; gap: .4rem;
    padding: .52rem .65rem;
    border: 1.5px solid var(--primary);
    border-radius: 6px;
    background: var(--primary-soft);
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: .7rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: .06em;
    text-transform: uppercase;
    transition: all .2s;
}
.lang-btn:hover, .lang-btn.open {
    background: rgba(69,248,130,.2);
    box-shadow: var(--glow-primary);
}

/* ── Reset & Base ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-light); }
h1,h2,h3,h4,h5,h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: #fff;
    margin: 0 0 .5rem;
    text-transform: uppercase;
    letter-spacing: .02em;
}
img { max-width: 100%; display: block; }
p { margin: 0 0 1rem; }

/* ── Container ─────────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1rem;
}
@media(min-width:640px)  { .container { padding: 0 1.5rem; } }
@media(min-width:1440px) { .container { padding: 0 2rem; } }

/* ══ NAVBAR ════════════════════════════════════════════════════════ */
.site-navbar {
    height: var(--navbar-h);
    border-bottom: 1px solid rgba(69,248,130,.15);
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
}
/* Backdrop-filter pseudo'da — containing block oluşturmaz, dropdown'lar düzgün çalışır */
.site-navbar::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10,14,22,.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: -1;
}
.site-navbar::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), var(--primary), transparent);
    z-index: 1;
}
.site-navbar .container {
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 100%;
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: .65rem;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: .05em;
    text-decoration: none;
    text-transform: uppercase;
    flex-shrink: 0;
}
.nav-brand .brand-icon {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex; align-items: center; justify-content: center;
    color: #0f161b; font-size: .9rem;
    box-shadow: var(--glow-primary);
}
.nav-links-desktop {
    display: none;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
}
@media(min-width:768px) { .nav-links-desktop { display: flex; } }
.nav-links-desktop > li > a {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .4rem .9rem;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: all var(--transition);
    text-decoration: none;
    position: relative;
}
.nav-links-desktop > li > a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 50%; right: 50%;
    height: 2px;
    background: var(--primary);
    transition: all var(--transition);
    border-radius: 2px;
}
.nav-links-desktop > li > a:hover { color: #fff; }
.nav-links-desktop > li > a:hover::after { left: .9rem; right: .9rem; }
.nav-links-desktop > li > a.active { color: var(--primary); }
.nav-links-desktop > li > a.active::after { left: .9rem; right: .9rem; }

.nav-right { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.nav-icon-btn {
    position: relative;
    width: 38px; height: 38px;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.05);
    border: 1px solid var(--border);
    color: var(--text-muted);
    transition: all var(--transition);
    cursor: pointer;
    text-decoration: none;
}
.nav-icon-btn:hover {
    background: var(--primary-soft);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: var(--glow-primary);
}

/* Dropdown balance button */
.dropdown-balance-btn {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin: .4rem .65rem .5rem;
    padding: .6rem .8rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(69,248,130,.1), rgba(69,248,130,.04));
    border: 1px solid rgba(69,248,130,.2);
    text-decoration: none;
    transition: all .2s;
    cursor: pointer;
}
.dropdown-balance-btn:hover {
    background: linear-gradient(135deg, rgba(69,248,130,.18), rgba(69,248,130,.08));
    border-color: rgba(69,248,130,.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(69,248,130,.1);
}
.dropdown-balance-icon {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #38d96e);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(69,248,130,.25);
}
.dropdown-balance-icon i { font-size: .7rem; color: var(--bg); }
.dropdown-balance-info { display: flex; flex-direction: column; flex: 1; gap: .05rem; }
.dropdown-balance-amount {
    font-size: .9rem;
    font-weight: 800;
    color: #fff;
    font-family: var(--font-heading);
    line-height: 1.1;
}
.dropdown-balance-label {
    font-size: .6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--text-muted);
}
.dropdown-balance-plus {
    font-size: 1rem;
    color: var(--primary);
    opacity: .7;
    transition: all .15s;
}
.dropdown-balance-btn:hover .dropdown-balance-plus {
    opacity: 1;
    transform: scale(1.2);
}

.nav-badge {
    position: absolute;
    top: -5px; right: -5px;
    min-width: 17px; height: 17px;
    background: var(--primary);
    color: #0f161b;
    font-size: .6rem;
    font-weight: 800;
    border-radius: 999px;
    display: flex; align-items: center; justify-content: center;
    padding: 0 3px;
    border: 2px solid var(--bg);
    line-height: 1;
}
.nav-user-btn {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .35rem .75rem .35rem .35rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255,255,255,.04);
    cursor: pointer;
    font-size: .82rem;
    font-weight: 600;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--text);
    transition: all var(--transition);
    font-family: var(--font);
}
.nav-user-btn:hover { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); }
.nav-avatar {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #0f161b;
    display: flex; align-items: center; justify-content: center;
    font-size: .65rem;
    font-weight: 800;
    flex-shrink: 0;
}

/* ── Dropdown ──────────────────────────────────────────────────── */
.dropdown-panel {
    position: absolute;
    top: calc(100% + 10px);
    min-width: 200px;
    background: #1a2330;
    border: 1px solid rgba(69,248,130,.2);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0,0,0,.7), 0 0 0 1px rgba(69,248,130,.05);
    padding: 6px;
    z-index: 200;
    transform-origin: top center;
}
/* Alpine.js x-transition sınıfları */
.transition-enter { animation: dropdownIn .2s cubic-bezier(.16,1,.3,1) both; }
.transition-leave { animation: dropdownOut .15s ease-in both; }
@keyframes dropdownIn {
    from { opacity: 0; transform: scale(.95) translateY(-6px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes dropdownOut {
    from { opacity: 1; transform: scale(1) translateY(0); }
    to   { opacity: 0; transform: scale(.95) translateY(-6px); }
}
.dropdown-panel.right { right: 0; transform-origin: top right; }
.dropdown-link {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .55rem .85rem;
    border-radius: var(--radius-sm);
    font-size: .85rem;
    color: var(--text-muted);
    transition: all var(--transition);
    text-decoration: none;
    cursor: pointer;
}
.dropdown-link:hover { background: var(--primary-soft); color: var(--primary); }
.dropdown-link.danger { color: var(--danger); }
.dropdown-link.danger:hover { background: var(--danger-soft); color: var(--danger); }
.dropdown-link.active { background: var(--primary-soft); color: var(--primary); font-weight: 600; }
.dropdown-header-label {
    padding: .3rem .85rem .2rem;
    font-size: .68rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-family: var(--font-heading);
}
.dropdown-divider { height: 1px; background: var(--border); margin: 4px 0; }

/* ── Burger Button ─────────────────────────────────────────────── */
.burger-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    border-radius: 6px;
    border: 1.5px solid var(--border);
    background: rgba(255,255,255,.05);
    cursor: pointer;
    padding: 8px;
    transition: border-color .2s, background .2s;
}
.burger-btn:hover,
.burger-btn.is-open {
    border-color: var(--primary);
    background: var(--primary-soft);
}
.burger-line {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text-muted);
    border-radius: 2px;
    transition: transform .3s cubic-bezier(.68,-.55,.27,1.55), opacity .2s, background .2s, width .3s;
    transform-origin: center;
}
.burger-btn:hover .burger-line,
.burger-btn.is-open .burger-line {
    background: var(--primary);
}
/* X animasyonu */
.burger-btn.is-open .burger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.burger-btn.is-open .burger-line:nth-child(2) {
    opacity: 0;
    width: 0;
}
.burger-btn.is-open .burger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: var(--navbar-h);
    left: 0; right: 0;
    background: #0d1520;
    border-bottom: 1px solid rgba(69,248,130,.15);
    padding: .75rem;
    box-shadow: 0 20px 40px rgba(0,0,0,.8);
    z-index: 1000;
    flex-direction: column;
    gap: 2px;
}
.mobile-menu.open { display: flex; }
@media(min-width:768px) { .mobile-menu { display: none!important; } }
.mobile-nav-link {
    display: flex; align-items: center; gap: .65rem;
    padding: .65rem .9rem; border-radius: var(--radius-sm);
    font-size: .85rem; font-weight: 600;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--text-muted);
    text-decoration: none;
    transition: all var(--transition);
}
.mobile-nav-link:hover { background: var(--primary-soft); color: var(--primary); }
.mobile-nav-link.active { background: var(--primary-soft); color: var(--primary); }

/* ══ MAIN ═══════════════════════════════════════════════════════ */
.main-content { flex: 1; padding: 2rem 0 4rem; }

/* ── Flash ─────────────────────────────────────────────────────── */
.flash-msg {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .875rem 1.1rem;
    border-radius: var(--radius);
    font-size: .875rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
    border: 1px solid;
}
.flash-success { background: var(--success-soft); color: var(--primary); border-color: rgba(69,248,130,.3); }
.flash-danger  { background: var(--danger-soft);  color: var(--danger);  border-color: rgba(255,77,106,.3); }
.flash-warning { background: var(--warning-soft); color: var(--warning); border-color: rgba(255,190,24,.3); }
.flash-info    { background: var(--info-soft);    color: #60a5fa;        border-color: rgba(59,130,246,.3); }

/* ── Page Hero ─────────────────────────────────────────────────── */
.page-hero {
    background: linear-gradient(135deg, #0c2b1e, #181e1b);
    border-radius: var(--radius-xl);
    padding: 1.25rem 1.75rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(69,248,130,.08);
}
.page-hero::before {
    content: '';
    position: absolute;
    top: -60%; right: -8%;
    width: 250px; height: 250px;
    background: radial-gradient(circle, rgba(69,248,130,.08) 0%, rgba(200,230,74,.04) 40%, transparent 70%);
    pointer-events: none;
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: -40%; left: 10%;
    width: 180px; height: 180px;
    background: radial-gradient(circle, rgba(200,230,74,.04) 0%, transparent 70%);
    pointer-events: none;
}
.page-hero .breadcrumb-nav { margin-bottom: 0; }

/* ── Breadcrumb ────────────────────────────────────────────────── */
.breadcrumb-nav {
    display: flex; align-items: center; gap: .5rem;
    font-size: .8rem; color: var(--text-light);
    flex-wrap: wrap;
    font-family: var(--font-heading);
    letter-spacing: .03em;
    position: relative;
    z-index: 1;
    margin-bottom: 1.5rem;
}
.breadcrumb-nav a {
    color: var(--text-muted);
    transition: color .15s;
    display: inline-flex; align-items: center; gap: .3rem;
}
.breadcrumb-nav a i { font-size: .65rem; }
.breadcrumb-nav a:hover { color: var(--primary); }
.breadcrumb-nav .sep {
    color: var(--primary);
    font-size: .5rem;
    opacity: .4;
}
.breadcrumb-nav .breadcrumb-current {
    color: var(--primary);
    font-weight: 700;
}

/* ══ BUTTONS ════════════════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    font-family: var(--font-heading);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    padding: .6rem 1.4rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1.4;
    white-space: nowrap;
    vertical-align: middle;
    position: relative;
    overflow: hidden;
}
.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: #0f161b;
    box-shadow: var(--glow-primary);
}
.btn-primary:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    color: #0f161b;
    box-shadow: 0 0 30px rgba(69,248,130,.5);
    transform: translateY(-2px);
}
.btn-secondary {
    background: rgba(255,255,255,.06);
    border-color: var(--border);
    color: var(--text);
}
.btn-secondary:hover {
    background: var(--primary-soft);
    border-color: var(--primary);
    color: var(--primary);
}
.btn-outline-primary {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}
.btn-outline-primary:hover {
    background: var(--primary);
    color: #0f161b;
    box-shadow: var(--glow-primary);
}
.btn-outline-secondary {
    background: transparent;
    border-color: var(--border);
    color: var(--text-muted);
}
.btn-outline-secondary:hover { border-color: var(--text-muted); color: var(--text); }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,.3); color: rgba(255,255,255,.9); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); color: white; border-color: rgba(255,255,255,.6); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--text-muted); }
.btn-ghost:hover { background: var(--primary-soft); color: var(--primary); }
.btn-destructive { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn-destructive:hover { background: #e63659; box-shadow: 0 0 20px rgba(255,77,106,.4); }
.btn-warning { background: var(--warning); border-color: var(--warning); color: #0f161b; }
.btn-warning:hover { background: #e6ab00; border-color: #e6ab00; }
.btn-success { background: var(--success); border-color: var(--success); color: #0f161b; }
.btn-success:hover { background: var(--primary-dark); box-shadow: var(--glow-primary); }
.btn-danger  { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn-danger:hover { background: #e63659; }
.btn-sm { padding: .35rem .85rem; font-size: .72rem; }
.btn-lg { padding: .8rem 2rem; font-size: .95rem; border-radius: var(--radius); }
.btn-icon { width: 38px; height: 38px; padding: 0; flex-shrink: 0; }
.btn-icon.btn-sm { width: 30px; height: 30px; }
.btn-close {
    background: none; border: none; cursor: pointer; padding: .25rem;
    color: var(--text-muted); font-size: .875rem; opacity: .7;
    border-radius: 4px; display: inline-flex; align-items: center; justify-content: center;
}
.btn-close:hover { opacity: 1; color: var(--danger); }
.w-100 { width: 100% !important; }

/* ══ FORMS ══════════════════════════════════════════════════════ */
.form-label {
    display: block;
    font-size: .72rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: .4rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    font-family: var(--font-heading);
}
.form-control {
    display: block; width: 100%;
    padding: .6rem .9rem;
    font-size: .875rem; font-family: var(--font);
    color: var(--text);
    background: rgba(255,255,255,.04);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none; line-height: 1.5;
}
.form-control:hover { border-color: rgba(69,248,130,.3); }
.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(69,248,130,.15);
    background: rgba(69,248,130,.04);
}
.form-control::placeholder { color: var(--text-light); }
.form-control-sm { padding: .35rem .7rem; font-size: .82rem; }
textarea.form-control { resize: vertical; }
select.form-control, .form-select {
    display: block; width: 100%;
    padding: .6rem .9rem;
    font-size: .875rem; font-family: var(--font);
    color: var(--text);
    background: rgba(255,255,255,.04) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2345f882' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right .9rem center;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none; line-height: 1.5;
    -webkit-appearance: none; appearance: none; cursor: pointer;
    padding-right: 2.5rem;
}
select.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(69,248,130,.15);
}
.input-group { display: flex; }
.input-group .form-control { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; flex: 1; }
.input-group .form-control:focus { z-index: 1; }
.input-group-text {
    display: flex; align-items: center; padding: .6rem .9rem;
    background: rgba(255,255,255,.04);
    border: 1.5px solid var(--border);
    border-right: 0;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    color: var(--text-muted); font-size: .875rem; white-space: nowrap;
}
/* Alert dismissible compat */
.alert-dismissible { position: relative; padding-right: 3rem; }
.alert-dismissible .btn-close { position: absolute; top: 50%; right: .75rem; transform: translateY(-50%); }
.fade { opacity: 1; transition: opacity .15s; }
.alert.hide { opacity: 0; pointer-events: none; }

/* ══ BADGES ════════════════════════════════════════════════════ */
.badge {
    display: inline-flex; align-items: center; gap: .25rem;
    padding: .2em .65em; font-size: .68rem; font-weight: 700;
    border-radius: 3px; line-height: 1.2; white-space: nowrap;
    font-family: var(--font-heading);
    letter-spacing: .05em;
    text-transform: uppercase;
}
.badge-success  { background: rgba(69,248,130,.15);  color: var(--primary); border: 1px solid rgba(69,248,130,.3); }
.badge-danger   { background: rgba(255,77,106,.15);   color: var(--danger);  border: 1px solid rgba(255,77,106,.3); }
.badge-warning  { background: rgba(255,190,24,.15);   color: var(--warning); border: 1px solid rgba(255,190,24,.3); }
.badge-info     { background: rgba(59,130,246,.15);   color: #60a5fa;        border: 1px solid rgba(59,130,246,.3); }
.badge-secondary{ background: rgba(255,255,255,.06);  color: var(--text-muted); border: 1px solid var(--border); }
.badge-primary  { background: var(--primary-soft);    color: var(--primary); border: 1px solid rgba(69,248,130,.3); }

/* ══ ALERTS ════════════════════════════════════════════════════ */
.alert {
    display: flex; align-items: center; gap: .75rem;
    padding: .875rem 1.1rem; border-radius: var(--radius);
    font-size: .875rem; font-weight: 500;
    margin-bottom: 1rem; border: 1px solid;
}
.alert-success  { background: var(--success-soft); color: var(--primary); border-color: rgba(69,248,130,.3); }
.alert-danger   { background: var(--danger-soft);  color: var(--danger);  border-color: rgba(255,77,106,.3); }
.alert-warning  { background: var(--warning-soft); color: var(--warning); border-color: rgba(255,190,24,.3); }
.alert-info     { background: var(--info-soft);    color: #60a5fa;        border-color: rgba(59,130,246,.3); }
.alert-secondary{ background: rgba(255,255,255,.04); color: var(--text-muted); border-color: var(--border); }
.alert .btn-close { margin-left: auto; }
.flash-alert.alert-success { background: var(--success-soft); color: var(--primary); border-color: rgba(69,248,130,.3); }
.flash-alert.alert-danger  { background: var(--danger-soft);  color: var(--danger);  border-color: rgba(255,77,106,.3); }
.flash-alert.alert-warning { background: var(--warning-soft); color: var(--warning); border-color: rgba(255,190,24,.3); }
.flash-alert.alert-info    { background: var(--info-soft);    color: #60a5fa;        border-color: rgba(59,130,246,.3); }

/* ══ TABLE ══════════════════════════════════════════════════════ */
.table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.table th {
    padding: .8rem 1rem; font-weight: 700; font-size: .68rem;
    text-transform: uppercase; letter-spacing: .08em;
    color: var(--primary); border-bottom: 1px solid rgba(69,248,130,.2);
    background: rgba(69,248,130,.04); text-align: left; white-space: nowrap;
    font-family: var(--font-heading);
}
.table td { padding: .85rem 1rem; border-bottom: 1px solid var(--border-light); vertical-align: middle; color: var(--text-muted); }
.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr { transition: background var(--transition); }
.table tbody tr:hover { background: rgba(69,248,130,.04); }
.table .text-center { text-align: center; }
.table .text-end { text-align: right; }

/* ══ CARDS ══════════════════════════════════════════════════════ */
.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.card-modern {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
}
.card-modern:hover {
    border-color: rgba(69,248,130,.3);
    box-shadow: var(--glow-primary), var(--shadow-md);
    transform: translateY(-3px);
}

/* ══ PRODUCT CARD ═══════════════════════════════════════════════ */
.product-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex; flex-direction: column;
    transition: all .25s cubic-bezier(.4,0,.2,1);
    height: 100%;
    position: relative;
}
.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, transparent, transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    transition: all .25s;
    z-index: 1;
}
.product-card:hover {
    border-color: rgba(69,248,130,.4);
    box-shadow: 0 0 0 1px rgba(69,248,130,.15), var(--shadow-lg);
    transform: translateY(-4px);
}
.product-card:hover::before {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}
.product-card:hover .product-img-wrap img { transform: scale(1.08); }
.product-img-wrap {
    width: 100%; aspect-ratio: 16/10;
    overflow: hidden;
    background: linear-gradient(135deg, #0d1520, #1a2330);
    position: relative;
}
.product-img-wrap img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .4s ease;
}
.product-img-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary); opacity: .15; font-size: 3rem;
}
.product-badge {
    position: absolute; top: .6rem; left: .6rem;
    font-size: .65rem; font-weight: 800;
    padding: .2em .7em; border-radius: 3px;
    z-index: 2;
    font-family: var(--font-heading);
    letter-spacing: .06em;
    text-transform: uppercase;
}
.product-body {
    padding: 1rem 1.1rem;
    display: flex; flex-direction: column; flex: 1;
    background: var(--card);
}
.product-cats { display: flex; flex-wrap: wrap; gap: .3rem; margin-bottom: .5rem; }
.product-cat-tag {
    font-size: .62rem; font-weight: 700;
    color: var(--primary); background: var(--primary-soft);
    padding: .15em .6em; border-radius: 3px;
    font-family: var(--font-heading);
    letter-spacing: .05em;
    text-transform: uppercase;
}
.product-title { font-size: .88rem; font-weight: 700; color: #fff; margin-bottom: .3rem; line-height: 1.35; font-family: var(--font-heading); }
.product-title a { color: inherit; text-decoration: none; }
.product-title a:hover { color: var(--primary); }
.product-desc { font-size: .77rem; color: var(--text-muted); flex: 1; line-height: 1.5; margin-bottom: .7rem; }
.product-footer {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: .7rem; border-top: 1px solid var(--border); margin-top: auto;
}
.product-price { font-size: 1.05rem; font-weight: 800; color: var(--primary); font-family: var(--font-heading); }
.product-price-old { font-size: .72rem; color: var(--text-light); text-decoration: line-through; margin-bottom: .1rem; }
.product-currency { font-size: .7rem; color: var(--text-muted); font-weight: 500; }
.delivery-badge { font-size: .62rem; font-weight: 800; padding: .25em .7em; border-radius: 3px; white-space: nowrap; font-family: var(--font-heading); letter-spacing: .05em; text-transform: uppercase; }
.delivery-instant { background: rgba(69,248,130,.15); color: var(--primary); border: 1px solid rgba(69,248,130,.3); }
.delivery-manual  { background: rgba(255,255,255,.06); color: var(--text-muted); border: 1px solid var(--border); }

/* ══ CATEGORY PILL ══════════════════════════════════════════════ */
.cat-pill {
    display: inline-flex; align-items: center; gap: .35rem;
    padding: .45rem 1.1rem; border-radius: 4px;
    font-size: .78rem; font-weight: 700;
    border: 1.5px solid var(--border);
    background: rgba(255,255,255,.04); color: var(--text-muted);
    cursor: pointer; transition: all var(--transition);
    text-decoration: none; white-space: nowrap;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: .05em;
}
.cat-pill:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); }
.cat-pill.active {
    background: var(--primary); border-color: var(--primary);
    color: #0f161b;
    box-shadow: var(--glow-primary);
}
.cat-pill .count { background: rgba(0,0,0,.2); padding: .05em .45em; border-radius: 3px; font-size: .65rem; }
.cat-pill:not(.active) .count { background: rgba(255,255,255,.08); color: var(--text-muted); }

/* ══ SECTION TITLE ══════════════════════════════════════════════ */
.section-title {
    font-size: .78rem; font-weight: 800; color: var(--primary);
    margin-bottom: 1rem;
    display: flex; align-items: center; gap: .75rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: .1em;
}
.section-title::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(69,248,130,.3), transparent); }

/* ══ GRID (Bootstrap compat) ════════════════════════════════════ */
.row { display: flex; flex-wrap: wrap; margin: -.5rem; }
.row > *, [class^="col-"], [class*=" col-"] { padding: .5rem; }
.row.g-2  { margin: -.25rem; } .row.g-2  > * { padding: .25rem; }
.row.g-3  { margin: -.5rem; }  .row.g-3  > * { padding: .5rem;  }
.row.g-4  { margin: -.75rem; } .row.g-4  > * { padding: .75rem; }
.row.g-5  { margin: -1rem; }   .row.g-5  > * { padding: 1rem;   }
.row.justify-content-center { justify-content: center; }
.col    { flex: 1 0 0; }
.col-1  { flex: 0 0 8.333333%;  max-width: 8.333333%; }
.col-2  { flex: 0 0 16.666667%; max-width: 16.666667%; }
.col-3  { flex: 0 0 25%;        max-width: 25%; }
.col-4  { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-5  { flex: 0 0 41.666667%; max-width: 41.666667%; }
.col-6  { flex: 0 0 50%;        max-width: 50%; }
.col-7  { flex: 0 0 58.333333%; max-width: 58.333333%; }
.col-8  { flex: 0 0 66.666667%; max-width: 66.666667%; }
.col-9  { flex: 0 0 75%;        max-width: 75%; }
.col-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
.col-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
.col-12 { flex: 0 0 100%;       max-width: 100%; }
@media(min-width:576px){
    .col-sm-6  { flex:0 0 50%;     max-width:50%; }
    .col-sm-10 { flex:0 0 83.333%; max-width:83.333%; }
    .col-sm-12 { flex:0 0 100%;    max-width:100%; }
}
@media(min-width:768px){
    .col-md-2  { flex:0 0 16.666%; max-width:16.666%; }
    .col-md-3  { flex:0 0 25%;     max-width:25%; }
    .col-md-4  { flex:0 0 33.333%; max-width:33.333%; }
    .col-md-6  { flex:0 0 50%;     max-width:50%; }
    .col-md-7  { flex:0 0 58.333%; max-width:58.333%; }
    .col-md-8  { flex:0 0 66.666%; max-width:66.666%; }
    .col-md-9  { flex:0 0 75%;     max-width:75%; }
    .col-md-12 { flex:0 0 100%;    max-width:100%; }
    .col-md-auto { flex:0 0 auto; width:auto; }
    .d-md-none  { display:none!important; }
    .d-md-flex  { display:flex!important; }
}
@media(min-width:992px){
    .col-lg-2  { flex:0 0 16.666%; max-width:16.666%; }
    .col-lg-3  { flex:0 0 25%;     max-width:25%; }
    .col-lg-4  { flex:0 0 33.333%; max-width:33.333%; }
    .col-lg-5  { flex:0 0 41.666%; max-width:41.666%; }
    .col-lg-6  { flex:0 0 50%;     max-width:50%; }
    .col-lg-7  { flex:0 0 58.333%; max-width:58.333%; }
    .col-lg-8  { flex:0 0 66.666%; max-width:66.666%; }
    .col-lg-9  { flex:0 0 75%;     max-width:75%; }
    .col-lg-10 { flex:0 0 83.333%; max-width:83.333%; }
    .col-lg-12 { flex:0 0 100%;    max-width:100%; }
    .d-lg-flex { display:flex!important; }
}
@media(min-width:1200px){
    .col-xl-3 { flex:0 0 25%;     max-width:25%; }
    .col-xl-4 { flex:0 0 33.333%; max-width:33.333%; }
}

/* ══ CSS GRID UTILS ════════════════════════════════════════════ */
.grid { display: grid !important; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media(min-width:768px){
    .md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
    .md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
    .md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(min-width:992px){
    .lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
    .lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
}

/* ══ FLEX UTILS ════════════════════════════════════════════════ */
.d-flex { display: flex !important; }
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-inline-flex { display: inline-flex !important; }
@media(min-width:576px){ .d-sm-inline { display:inline!important; } .d-sm-flex { display:flex!important; } }
.flex-column { flex-direction: column; }
.flex-wrap   { flex-wrap: wrap; }
.align-items-center { align-items: center; }
.align-items-start  { align-items: flex-start; }
.justify-content-between { justify-content: space-between; }
.justify-content-center  { justify-content: center; }
.justify-content-end     { justify-content: flex-end; }
.ms-auto { margin-left: auto !important; }
.flex-1  { flex: 1; }

/* ══ SPACING UTILS ══════════════════════════════════════════════ */
.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.5rem}.gap-6{gap:2rem}
.mb-0{margin-bottom:0!important}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}
.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.5rem}.mb-6{margin-bottom:1.5rem}
.mb-10{margin-bottom:2.5rem}.mb-12{margin-bottom:3rem}
.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}
.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.5rem}.mt-14{margin-top:3.5rem}
.ms-1{margin-left:.25rem}.ms-2{margin-left:.5rem}.ms-3{margin-left:.75rem}
.me-1{margin-right:.25rem}.me-2{margin-right:.5rem}.me-3{margin-right:.75rem}.me-4{margin-right:1rem}
.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.ml-1{margin-left:.25rem}.ml-auto{margin-left:auto}
.mx-auto{margin-left:auto;margin-right:auto}
.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}
.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-4{padding-top:1rem;padding-bottom:1rem}
.py-20{padding-top:5rem;padding-bottom:5rem}
.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}

/* ══ TEXT UTILS ════════════════════════════════════════════════ */
.text-center { text-align: center; }
.text-end    { text-align: right; }
.text-muted  { color: var(--text-muted) !important; }
.text-danger { color: var(--danger) !important; }
.text-white  { color: white !important; }
.text-primary{ color: var(--primary) !important; }
.text-success{ color: var(--success) !important; }
.fw-500{font-weight:500}.fw-600{font-weight:600}.fw-700{font-weight:700}.fw-800{font-weight:800}
.fw-bold{font-weight:700}.fw-semibold{font-weight:600}.font-black{font-weight:900}
.fs-sm{font-size:.82rem}.fs-4{font-size:1.25rem}.small{font-size:.85em}
.text-decoration-none{text-decoration:none!important}
.line-clamp-2{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.line-through{text-decoration:line-through}
.uppercase{text-transform:uppercase}
.font-heading{font-family:var(--font-heading)}

/* Tailwind text sizes */
.text-xs{font-size:.75rem}.text-sm{font-size:.875rem}.text-base{font-size:1rem}
.text-lg{font-size:1.125rem}.text-xl{font-size:1.25rem}.text-2xl{font-size:1.5rem}
.text-3xl{font-size:1.875rem}.text-6xl{font-size:3.75rem}
.font-semibold{font-weight:600}.font-bold{font-weight:700}
.leading-none{line-height:1}.leading-snug{line-height:1.375}.leading-relaxed{line-height:1.625}
.tracking-widest{letter-spacing:.1em}

/* Tailwind color classes */
.text-slate-300{color:#adb0bc}.text-slate-400{color:#adb0bc}.text-slate-500{color:#6b7683}
.text-slate-700{color:#e8eaf0}.text-slate-900{color:#fff}
.text-red-400{color:var(--danger)}.text-red-500{color:var(--danger)}.text-red-700{color:var(--danger)}
.text-emerald-600{color:var(--primary)}
.text-amber-600{color:var(--warning)}

/* ══ POSITION & DISPLAY ═════════════════════════════════════════ */
.position-relative,.relative{position:relative}
.position-absolute,.absolute{position:absolute}
.position-sticky{position:sticky}
.top-0{top:0}.right-0{right:0}.bottom-0{bottom:0}.left-0{left:0}
.z-10{z-index:10}
.overflow-hidden{overflow:hidden!important}
.w-full{width:100%!important}.h-full{height:100%!important}
.max-w-sm{max-width:384px!important}.min-w-0{min-width:0}
.shrink-0{flex-shrink:0}
.aspect-video{aspect-ratio:16/9}.aspect-square{aspect-ratio:1}
.object-cover{object-fit:cover}
.w-8{width:2rem}.h-8{height:2rem}
.w-10{width:2.5rem}.h-10{height:2.5rem}
.w-14{width:3.5rem}.h-14{height:3.5rem}
.w-48{width:12rem}.w-72{width:18rem}
.h-px{height:1px}
.block{display:block!important}.hidden{display:none!important}.inline{display:inline!important}
.inline-flex{display:inline-flex}
.flex{display:flex!important}
.items-start{align-items:flex-start}.items-center{align-items:center}.items-end{align-items:flex-end}
.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-end{justify-content:flex-end}
.flex-1{flex:1}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}
@media(min-width:768px){
    .md\:block{display:block!important}.md\:flex{display:flex!important}.md\:hidden{display:none!important}
}
@media(min-width:992px){
    .lg\:flex{display:flex!important}.lg\:block{display:block!important}.lg\:hidden{display:none!important}
}
.shadow-lg{box-shadow:var(--shadow-lg)}.shadow-md{box-shadow:var(--shadow-md)}
.transition-all{transition:all .2s}.transition-colors{transition:color .2s,background-color .2s,border-color .2s}
.transition-shadow{transition:box-shadow .2s}
.bg-white{background:var(--card)!important}
.bg-slate-50{background:var(--bg-alt)}.bg-slate-100{background:var(--bg-alt)}
.bg-red-50{background:var(--danger-soft)}.bg-emerald-50{background:var(--success-soft)}
.border{border:1px solid var(--border)}.border-slate-200{border-color:var(--border)}
.border-red-200{border-color:rgba(255,77,106,.3)}.border-emerald-200{border-color:rgba(69,248,130,.3)}
.border-b-2{border-bottom-width:2px;border-bottom-style:solid}.border-t{border-top:1px solid var(--border)}
.rounded{border-radius:var(--radius-sm)}.rounded-lg{border-radius:var(--radius-lg)}
.rounded-xl{border-radius:var(--radius-lg)}.rounded-2xl{border-radius:var(--radius-xl)}
.rounded-full{border-radius:9999px}
.opacity-20{opacity:.2}.opacity-30{opacity:.3}.opacity-70{opacity:.7}.opacity-80{opacity:.8}
.hover\:text-primary:hover{color:var(--primary)!important}
.hover\:border-primary:hover{border-color:var(--primary)!important}
.hover\:scale-105:hover{transform:scale(1.05)}
.group:hover .group-hover\:scale-105{transform:scale(1.05)}
.hover\:shadow-md:hover{box-shadow:var(--shadow-md)}
.hover\:-translate-y-0\.5:hover{transform:translateY(-2px)}
.hover\:text-red-500:hover,.hover\:text-red-600:hover{color:var(--danger)!important}
.hover\:underline:hover{text-decoration:underline}

/* ══ DIVIDER ════════════════════════════════════════════════════ */
.divider {
    display: flex; align-items: center; gap: .75rem;
    color: var(--text-light); font-size: .75rem; margin: 1.25rem 0;
    text-transform: uppercase; letter-spacing: .08em;
    font-family: var(--font-heading);
}
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ══ NOTIFICATION DROPDOWN ══════════════════════════════════════ */
.notif-dropdown { min-width: 340px; max-width: 92vw; }
.notif-item { display:flex;gap:.65rem;padding:.6rem .85rem;cursor:pointer;border-left:3px solid transparent;transition:background var(--transition); }
.notif-item:hover { background: var(--bg-alt); }
.notif-item.notif-unread { background: rgba(69,248,130,.06); border-left-color: var(--primary); }
.notif-title { font-size:.78rem;line-height:1.3;margin-bottom:.15rem; }
.notif-title-unread { font-weight:700;color:var(--text); }
.notif-title-read { font-weight:500;color:var(--text-muted); }

/* ══ FOOTER ════════════════════════════════════════════════════ */
.site-footer {
    background: #080d11;
    color: var(--text-muted);
    padding: 3.5rem 0 0;
    margin-top: auto;
    border-top: 1px solid rgba(69,248,130,.15);
    position: relative;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), var(--primary), transparent);
}
.footer-brand { font-size: 1.1rem; font-weight: 800; color: white; margin-bottom: .5rem; display: flex; align-items: center; gap: .6rem; font-family: var(--font-heading); text-transform: uppercase; letter-spacing: .05em; }
.footer-brand .brand-icon { width: 30px; height: 30px; background: linear-gradient(135deg, var(--primary), var(--secondary)); clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%); display: flex; align-items: center; justify-content: center; color: #0f161b; font-size: .78rem; }
.footer-tagline { font-size: .8rem; color: var(--text-light); max-width: 240px; line-height: 1.6; }
.footer-heading { font-size: .68rem; font-weight: 800; color: var(--primary); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem; font-family: var(--font-heading); }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.footer-links a { font-size: .82rem; color: var(--text-muted); transition: color var(--transition); }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border); padding: 1rem 0; margin-top: 3rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
.footer-bottom p { margin: 0; font-size: .78rem; color: var(--text-light); }
.footer-social { display: flex; gap: .4rem; }
.footer-social a { width: 32px; height: 32px; border-radius: var(--radius-sm); background: rgba(255,255,255,.05); border: 1px solid var(--border); color: var(--text-muted); display: flex; align-items: center; justify-content: center; font-size: .8rem; transition: all var(--transition); }
.footer-social a:hover { background: var(--primary); color: #0f161b; border-color: var(--primary); box-shadow: var(--glow-primary); }

/* ══ ORDER INSTRUCTIONS ═════════════════════════════════════════ */
.order-instructions-content h1,.order-instructions-content h2,.order-instructions-content h3,
.order-instructions-content h4,.order-instructions-content h5,.order-instructions-content h6 {
    font-size:1rem;font-weight:700;margin:.75rem 0 .35rem;color:#fff
}
.order-instructions-content p  { margin:0 0 .6rem;color:var(--text-muted) }
.order-instructions-content ul,.order-instructions-content ol { padding-left:1.4rem;margin:.4rem 0 .6rem }
.order-instructions-content li { margin-bottom:.25rem;color:var(--text-muted) }
.order-instructions-content a  { color:var(--primary) }
.order-instructions-content code,.order-instructions-content pre {
    background:var(--bg-alt);border:1px solid var(--border);border-radius:4px;
    padding:.15rem .4rem;font-size:.82rem;color:var(--primary)
}
.order-instructions-content img { max-width:100%;border-radius:6px }
.order-instructions-content blockquote {
    border-left:3px solid var(--primary);padding:.4rem .8rem;margin:.5rem 0;
    background:var(--primary-soft);border-radius:0 6px 6px 0;font-style:italic;color:var(--text-muted)
}

/* ══ PM CARD ════════════════════════════════════════════════════ */
.pm-card { cursor: pointer; transition: all var(--transition); }
.pm-card:hover { border-color: var(--primary) !important; box-shadow: var(--glow-primary); }

/* ══ MISC ═══════════════════════════════════════════════════════ */
.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* ══ ALPINE / TRANSITION HELPERS ════════════════════════════════ */
.transition{transition-property:all}
.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}
.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}
.duration-300{transition-duration:.3s}.duration-150{transition-duration:.15s}
.opacity-0{opacity:0}.opacity-100{opacity:1}
.scale-100{transform:scale(1)}.scale-95{transform:scale(.95)}

/* ══ PASS TOGGLE (profile edit) ════════════════════════════════ */
.pass-toggle{position:absolute;right:.75rem;top:50%;transform:translateY(-50%);background:none;border:none;color:var(--text-muted);cursor:pointer;padding:.2rem}
.pass-toggle:hover{color:var(--primary)}

/* ══ GAMING GLOW ANIMATIONS ════════════════════════════════════ */
@keyframes neonPulse {
    0%,100% { box-shadow: 0 0 10px rgba(69,248,130,.3); }
    50%      { box-shadow: 0 0 25px rgba(69,248,130,.6), 0 0 50px rgba(69,248,130,.2); }
}
@keyframes shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position:  200% 0; }
}
.neon-pulse { animation: neonPulse 2.5s ease-in-out infinite; }

/* ══════════════════════════════════════════════════════════════════
   MOBILE APP EXPERIENCE
   Profesyonel mobil uygulama hissi — bottom nav, smooth transitions,
   touch-friendly sizing, safe-area desteği
   ══════════════════════════════════════════════════════════════════ */

/* ── Safe area (notch / home indicator) ───────────────────────── */
@supports(padding: env(safe-area-inset-bottom)) {
    body { padding-bottom: env(safe-area-inset-bottom); }
}

/* ── Mobile Bottom Navigation Bar ─────────────────────────────── */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: rgba(10,14,22,.97);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid rgba(69,248,130,.15);
    z-index: 200;
    padding: .35rem .5rem calc(.35rem + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -4px 24px rgba(0,0,0,.6);
}
.mobile-bottom-nav::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), var(--primary), transparent);
}
.mobile-bottom-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-around;
    max-width: 480px;
    margin: 0 auto;
}
.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .15rem;
    padding: .35rem .5rem;
    border-radius: var(--radius);
    color: var(--text-light);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: .58rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    transition: all .2s;
    position: relative;
    min-width: 52px;
    -webkit-tap-highlight-color: transparent;
}
.bottom-nav-item i {
    font-size: 1.05rem;
    transition: transform .2s;
}
.bottom-nav-item.active {
    color: var(--primary);
}
.bottom-nav-item.active i {
    transform: scale(1.15);
}
.bottom-nav-item.active::after {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: var(--primary);
    box-shadow: 0 0 8px rgba(69,248,130,.5);
}
.bottom-nav-item:active {
    transform: scale(.92);
    color: var(--primary);
}
.bottom-nav-badge {
    position: absolute;
    top: 0; right: .1rem;
    min-width: 16px; height: 16px;
    border-radius: 8px;
    background: var(--danger);
    color: #fff;
    font-size: .55rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 .3rem;
    box-shadow: 0 2px 8px rgba(255,77,106,.5);
}

@media(max-width:767px) {
    .mobile-bottom-nav { display: block; }
    /* Body padding for bottom nav */
    body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
    /* Hide desktop footer social / simplify */
    .footer-social { display: none; }
}

/* ── Mobile Navbar — daha ince, kompakt ───────────────────────── */
@media(max-width:767px) {
    :root { --navbar-h: 56px; }
    .nav-brand { font-size: 1rem; gap: .45rem; }
    .nav-brand .brand-icon { width: 28px; height: 28px; font-size: .72rem; }
    .nav-right .nav-icon-btn { width: 34px; height: 34px; }
    .site-navbar .container { gap: .5rem; }

    /* Balance widget mobil */
    .nav-balance-widget { height: 30px; }
    .nav-balance-amount { font-size: .7rem; padding: 0 .5rem 0 .65rem; }
    .nav-balance-add { width: 28px; font-size: .6rem; }

    /* Navbar overflow — dropdown'lar taşabilsin */
    .site-navbar { overflow: visible; }

    /* Mobilde Login/Register butonları gizle (mobil menüye taşındı) */
    .nav-right > a.btn { display: none !important; }

    /* Kalan elemanlar: bildirim, user, hamburger — kompakt */
    .nav-right .nav-icon-btn { width: 34px; height: 34px; }
    .nav-right .lang-btn { padding: .22rem .45rem; font-size: .62rem; height:36px;}
    .nav-right { gap: .35rem; }

    /* User butonu mobilde sadece avatar */
    .nav-user-btn { padding: .25rem; border-radius: 50%; }
    .nav-user-btn > span,
    .nav-user-btn > i.fa-chevron-down { display: none; }
}

/* ── Mobile Menu — fullscreen overlay style ──────────────────── */
@media(max-width:767px) {
    .mobile-menu {
        position: fixed;
        top: var(--navbar-h); left: 0; right: 0; bottom: 0;
        background: rgba(8,13,17,.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 1rem 1.25rem calc(64px + env(safe-area-inset-bottom, 0px) + 1rem);
        border-bottom: none;
        overflow-y: auto;
        z-index: 1000;
        gap: .35rem;
        animation: slideMenuIn .3s cubic-bezier(.16,1,.3,1);
    }
    .mobile-menu.open { display: flex; }
    .mobile-nav-link {
        padding: .85rem 1rem;
        border-radius: var(--radius);
        font-size: .92rem;
        border: 1px solid transparent;
    }
    .mobile-nav-link:hover,
    .mobile-nav-link:active {
        background: var(--primary-soft);
        color: var(--primary);
        border-color: rgba(69,248,130,.15);
    }
    .mobile-nav-link.active {
        border-color: rgba(69,248,130,.2);
    }

    /* ── Mobil menü: dropdown parent + children ── */
    .mobile-nav-parent {
        width: 100%;
        background: none;
        border: 1px solid transparent;
        color: var(--text);
        font-family: var(--font);
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: .65rem;
        text-align: left;
    }
    .mobile-nav-parent:hover,
    .mobile-nav-parent:active,
    .mobile-nav-parent.open {
        background: var(--primary-soft);
        color: var(--primary);
        border-color: rgba(69,248,130,.15);
    }
    .mobile-nav-chevron {
        margin-left: auto;
        font-size: .6rem;
        opacity: .5;
        transition: transform .2s;
    }
    .mobile-nav-children {
        display: flex;
        flex-direction: column;
        gap: 2px;
        padding-left: 1rem;
        margin-bottom: .25rem;
        border-left: 2px solid rgba(69,248,130,.15);
        margin-left: 1.25rem;
    }
    .mobile-nav-child {
        font-size: .85rem !important;
        padding: .65rem .85rem !important;
    }

    /* ── Header dropdown z-index düzeltmesi ── */
    .site-navbar .dropdown-panel {
        z-index: 250 !important;
    }
}
@keyframes slideMenuIn {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Menü öğeleri sırayla belirme */
@media(max-width:767px) {
    .mobile-menu.open > *:nth-child(1)  { animation: menuItemIn .3s .03s both; }
    .mobile-menu.open > *:nth-child(2)  { animation: menuItemIn .3s .06s both; }
    .mobile-menu.open > *:nth-child(3)  { animation: menuItemIn .3s .09s both; }
    .mobile-menu.open > *:nth-child(4)  { animation: menuItemIn .3s .12s both; }
    .mobile-menu.open > *:nth-child(5)  { animation: menuItemIn .3s .15s both; }
    .mobile-menu.open > *:nth-child(6)  { animation: menuItemIn .3s .18s both; }
    .mobile-menu.open > *:nth-child(7)  { animation: menuItemIn .3s .21s both; }
    .mobile-menu.open > *:nth-child(8)  { animation: menuItemIn .3s .24s both; }
    .mobile-menu.open > *:nth-child(9)  { animation: menuItemIn .3s .27s both; }
    .mobile-menu.open > *:nth-child(10) { animation: menuItemIn .3s .30s both; }

    /* Alt menü öğeleri de stagger */
    .mobile-nav-children > *:nth-child(1) { animation: menuItemIn .25s .05s both; }
    .mobile-nav-children > *:nth-child(2) { animation: menuItemIn .25s .10s both; }
    .mobile-nav-children > *:nth-child(3) { animation: menuItemIn .25s .15s both; }
    .mobile-nav-children > *:nth-child(4) { animation: menuItemIn .25s .20s both; }
    .mobile-nav-children > *:nth-child(5) { animation: menuItemIn .25s .25s both; }
}

@keyframes menuItemIn {
    from { opacity: 0; transform: translateX(-12px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* ── Touch-friendly targets ───────────────────────────────────── */
@media(max-width:767px) {
    /* Buttons min-height 44px (Apple HIG) */
    .btn { min-height: 44px; }
    .btn-sm { min-height: 36px; }
    .btn-lg { min-height: 50px; }
    /* Form inputs */
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    input[type="search"],
    textarea,
    select,
    .form-control,
    .form-select {
        min-height: 44px;
        font-size: 16px !important; /* iOS zoom prevention */
    }
    /* Prevent iOS zoom on focus */
    input:focus, select:focus, textarea:focus {
        font-size: 16px !important;
    }
}

/* ── Mobile Hero — daha kompakt ───────────────────────────────── */
@media(max-width:767px) {
    .main-content { padding: 1rem 0 2rem; }
    /* Trust strip — 2 col, daha küçük */
    .trust-strip { gap: .65rem; padding: .85rem 1rem !important; }
    .trust-strip > div { gap: .6rem; }
    .trust-strip > div > div:first-child { width: 36px; height: 36px; min-width: 36px; }
    .trust-strip > div > div:first-child i { font-size: .8rem; }
}

/* ── Mobile Product Cards — tam genişlik 2-li grid ────────────── */
@media(max-width:479px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: .65rem; }
    .product-body { padding: .7rem .8rem; }
    .product-title { font-size: .78rem; }
    .product-desc { font-size: .7rem; margin-bottom: .4rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .product-footer { flex-direction: column; align-items: flex-start; gap: .35rem; padding-top: .5rem; }
    .product-price { font-size: .92rem; }
    .product-cats { margin-bottom: .3rem; }
    .product-cat-tag { font-size: .55rem; padding: .1em .45em; }
    .delivery-badge { font-size: .55rem; }
    .product-badge { font-size: .55rem; top: .4rem; left: .4rem; padding: .15em .5em; }
}

/* ── Mobile Category Pills — yatay kaydırma ───────────────────── */
@media(max-width:767px) {
    .cat-pill { font-size: .7rem; padding: .35rem .75rem; white-space: nowrap; flex-shrink: 0; }
}

/* ── Mobile Section Titles ────────────────────────────────────── */
@media(max-width:767px) {
    .section-title { font-size: 1rem; }
    h1 { font-size: 1.5rem; }
}

/* ── Mobile Blog Cards — yatay kaydırma ───────────────────────── */
@media(max-width:767px) {
    .blog-grid {
        display: flex;
        gap: .85rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: .5rem;
        scrollbar-width: none;
    }
    .blog-grid::-webkit-scrollbar { display: none; }
    .blog-grid > a {
        flex: 0 0 78%;
        scroll-snap-align: start;
    }
}

/* ── Mobile Footer — daha kompakt ─────────────────────────────── */
@media(max-width:767px) {
    .site-footer { padding: 2rem 0 0; }
    .site-footer .row { gap: 1.5rem !important; }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        padding-bottom: calc(1rem + 64px + env(safe-area-inset-bottom, 0px));
    }
}

/* ── Mobile Card Modern (blog, genel) ─────────────────────────── */
@media(max-width:767px) {
    .card-modern { border-radius: var(--radius); }
}

/* ── Dropdown panel — mobilde navbar altından aşağı açılır ─────── */
@media(max-width:767px) {
    .dropdown-panel {
        position: absolute;
        top: calc(100% + 6px);
        right: 0;
        left: auto;
        bottom: auto;
        min-width: 180px;
        max-width: calc(100vw - 1.5rem);
        max-height: 70vh;
        overflow-y: auto;
        border-radius: var(--radius-lg);
    }
}

/* ── Smooth scroll behavior & momentum ────────────────────────── */
@media(max-width:767px) {
    html { -webkit-overflow-scrolling: touch; }
    * { -webkit-tap-highlight-color: transparent; }
    /* Pull-to-refresh kaldır (native app hissi) */
    body { overscroll-behavior-y: contain; }
}

/* ── Notification panel — mobilde navbar altından ─────────────── */
@media(max-width:767px) {
    [x-data="notificationPanel"] > div[x-show] {
        position: absolute;
        top: calc(100% + 6px) !important;
        right: 0 !important;
        left: auto !important;
        bottom: auto !important;
        width: min(340px, calc(100vw - 1rem)) !important;
        max-width: calc(100vw - 1rem) !important;
        border-radius: var(--radius-lg);
        max-height: 70vh;
        overflow-y: auto;
    }
}

/* ── Page transition feel ─────────────────────────────────────── */
.main-content {
    animation: pageIn .3s ease-out;
}
@keyframes pageIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
