/* =============================================
   HuzurPanel — Premium UI Stylesheet
   Theme: Dark Glass / Premium / Mobile First
   ============================================= */

/* ---------- Google Fonts Import ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

/* ---------- CSS Variables ---------- */
:root {
    /* Core Colors */
    --black:      #02040a;
    --white:      #f1f5f9;

    /* Blue-Toned Slate Gray Palette */
    --gray-50:  #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    /* Glass System - Glowing Dark Navy */
    --glass-bg:      rgba(15, 23, 42, 0.45);
    --glass-bg-2:    rgba(30, 41, 59, 0.6);
    --glass-border:  rgba(59, 130, 246, 0.14);
    --glass-border-2: rgba(59, 130, 246, 0.28);
    --glass-hover:   rgba(59, 130, 246, 0.08);

    /* Accent Colors */
    --accent-green:  #10b981;
    --accent-blue:   #3b82f6;
    --accent-amber:  #f59e0b;
    --accent-red:    #ef4444;
    --accent-purple: #8b5cf6;

    /* Typography */
    --font-body: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Layout */
    --nav-h:       68px;
    --sidebar-w:   270px;
    --radius-xs:   6px;
    --radius-sm:   10px;
    --radius-md:   14px;
    --radius-lg:   20px;
    --radius-xl:   26px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm:   0 2px 8px rgba(0, 0, 0, 0.5);
    --shadow-md:   0 8px 32px rgba(0, 0, 0, 0.6);
    --shadow-lg:   0 16px 64px rgba(0, 0, 0, 0.75);
    --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.1);

    /* Transitions */
    --transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background-color: #060814;
    color: var(--white);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 993px) {
    body.logged-in {
        overflow: hidden !important;
        height: 100vh !important;
    }
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition), opacity var(--transition);
}

img { display: block; max-width: 100%; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ---------- Stars Canvas ---------- */
#stars-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

/* ---------- Background Gradient ---------- */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(59, 130, 246, 0.16) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 100%, rgba(99, 102, 241, 0.12) 0%, transparent 60%),
        linear-gradient(rgba(255, 255, 255, 0.003) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.003) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
    pointer-events: none;
}
svg.svg-premium {
    display: inline-block;
    width: 1.15em;
    height: 1.15em;
    vertical-align: -0.15em;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ---------- Site Wrapper ---------- */
.site-wrapper {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    height: var(--nav-h);
}

.navbar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(11, 11, 15, 0.85);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    border-bottom: 1px solid var(--glass-border);
    transition: opacity var(--transition);
}

.navbar > * { position: relative; z-index: 1; }

.nav-container {
    max-width: 100% !important;
    margin: 0 auto;
    padding: 0 20px !important;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* Brand */
.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    transition: opacity var(--transition);
}
.nav-brand:hover { opacity: 0.85; }

.nav-logo-wrap {
    position: relative;
    width: 36px;
    height: 36px;
}

.nav-logo-img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid var(--glass-border-2);
    box-shadow: 0 0 12px rgba(255,255,255,0.06);
}

.nav-brand-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.nav-brand-name {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--white);
    line-height: 1;
}

.nav-brand-sub {
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-400);
    line-height: 1;
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.nav-window-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: 12px;
    border-left: 1px solid var(--glass-border);
    padding-left: 16px;
}

@media (max-width: 992px) {
    .nav-window-controls {
        display: none !important;
    }
}

/* Hamburger — Mobile Sidebar Toggle */
.nav-hamburger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    transition: background var(--transition), border-color var(--transition);
}

.nav-hamburger:hover {
    background: var(--glass-hover);
    border-color: var(--glass-border-2);
}

.nav-hamburger span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--gray-300);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all var(--transition);
    cursor: pointer;
    white-space: nowrap;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn-primary {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
    box-shadow: 0 0 24px rgba(255, 255, 255, 0.2);
}
.btn-primary:hover {
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
}

.btn-ghost {
    background: var(--glass-bg);
    color: var(--gray-200);
    border-color: var(--glass-border);
    backdrop-filter: blur(10px);
}
.btn-ghost:hover {
    border-color: var(--glass-border-2);
    background: var(--glass-hover);
    color: var(--white);
}

.btn-danger {
    background: rgba(239, 68, 68, 0.12);
    color: #f87171;
    border-color: rgba(239, 68, 68, 0.2);
}
.btn-danger:hover {
    background: rgba(239, 68, 68, 0.22);
    border-color: rgba(239, 68, 68, 0.4);
}

.btn-sm {
    padding: 7px 16px;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 0.95rem;
}

.btn-icon {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: var(--radius-sm);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding: calc(var(--nav-h) + 60px) 24px 100px;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-200);
    margin-bottom: 32px;
    animation: fadeDown 0.8s ease backwards;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulseGreen 2s ease-in-out infinite;
}

.hero-title {
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 24px;
    animation: fadeUp 0.9s ease 0.2s backwards;
}

.hero-title .gradient-text {
    background: linear-gradient(130deg, #fff 0%, rgba(255,255,255,0.5) 60%, #fff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
    0%   { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--gray-300);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
    animation: fadeUp 0.9s ease 0.3s backwards;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 64px;
    animation: fadeUp 0.9s ease 0.4s backwards;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeUp 0.9s ease 0.5s backwards;
}

.hero-stat {
    text-align: center;
    padding: 12px 32px;
    border-left: 1px solid var(--glass-border);
}

.hero-stat:first-child { border-left: none; }

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    color: var(--white);
    font-family: var(--font-mono);
}

.stat-label {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-top: 4px;
}

/* =============================================
   SECTION UTILITIES
   ============================================= */
.section {
    padding: 100px 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gray-400);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 14px;
}

.section-eyebrow::before,
.section-eyebrow::after {
    content: '';
    height: 1px;
    width: 36px;
    background: var(--glass-border);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.section-desc {
    font-size: 1rem;
    color: var(--gray-400);
    margin-top: 12px;
    max-width: 500px;
    margin-inline: auto;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
}

/* =============================================
   PRODUCT CARDS
   ============================================= */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 18px;
}

.product-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
    overflow: hidden;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
    cursor: pointer;
    backdrop-filter: blur(8px);
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top left, rgba(255,255,255,0.03) 0%, transparent 60%);
    pointer-events: none;
}

.product-card:hover {
    border-color: var(--glass-border-2);
    box-shadow: 0 0 40px rgba(255,255,255,0.05), var(--shadow-md);
    transform: translateY(-4px);
}

.product-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.product-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: rgba(255,255,255,0.7);
}

.product-badge {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.badge-amber  { background: rgba(245, 158, 11, 0.12); color: #f59e0b; border: 1px solid rgba(245,158,11,0.22); }
.badge-blue   { background: rgba(59, 130, 246, 0.12);  color: #60a5fa; border: 1px solid rgba(59,130,246,0.22); }
.badge-green  { background: rgba(34, 197, 94, 0.12);   color: #22c55e; border: 1px solid rgba(34,197,94,0.22); }
.badge-red    { background: rgba(239, 68, 68, 0.12);   color: #f87171; border: 1px solid rgba(239,68,68,0.22); }

.product-name {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.product-desc {
    font-size: 0.875rem;
    color: var(--gray-400);
    line-height: 1.6;
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    color: var(--gray-300);
}

.feature-check {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-check svg {
    width: 9px;
    height: 9px;
    stroke: var(--white);
}

.product-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 13px;
    border-radius: var(--radius-xs);
    background: rgba(34, 197, 94, 0.07);
    border: 1px solid rgba(34, 197, 94, 0.14);
    font-size: 0.72rem;
    font-weight: 600;
    color: #22c55e;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    align-self: flex-start;
}

.product-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulseGreen 2s ease-in-out infinite;
}

.product-plans {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.plan-btn {
    padding: 10px 12px;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    background: rgba(255,255,255,0.02);
    color: var(--white);
    text-align: center;
    transition: all var(--transition);
    cursor: pointer;
}

.plan-btn:hover {
    border-color: var(--glass-border-2);
    background: rgba(255,255,255,0.06);
}

.plan-duration {
    font-size: 0.7rem;
    color: var(--gray-400);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.plan-price {
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-mono);
}

.product-buy-btn {
    width: 100%;
    padding: 12px;
    border-radius: var(--radius-md);
    background: var(--white);
    color: var(--black);
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: 0 0 20px rgba(255,255,255,0.12);
}

.product-buy-btn:hover {
    box-shadow: 0 0 40px rgba(255,255,255,0.3);
    transform: translateY(-1px);
}

/* =============================================
   FEATURES / WHY US
   ============================================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.feature-card {
    padding: 26px;
    border-radius: var(--radius-xl);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    transition: border-color var(--transition), transform var(--transition);
    backdrop-filter: blur(8px);
}

.feature-card:hover {
    border-color: var(--glass-border-2);
    transform: translateY(-3px);
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    margin-bottom: 18px;
}

.feature-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-text {
    font-size: 0.875rem;
    color: var(--gray-400);
    line-height: 1.6;
}

/* =============================================
   REVIEWS / TESTIMONIALS
   ============================================= */
.reviews-track-wrap {
    overflow: hidden;
    position: relative;
    padding: 8px 0;
}

.reviews-track-wrap::before,
.reviews-track-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 140px;
    z-index: 2;
    pointer-events: none;
}

.reviews-track-wrap::before {
    left: 0;
    background: linear-gradient(to right, #0b0b0f, transparent);
}

.reviews-track-wrap::after {
    right: 0;
    background: linear-gradient(to left, #0b0b0f, transparent);
}

.reviews-track {
    display: flex;
    gap: 16px;
    animation: marquee 40s linear infinite;
    width: max-content;
}

.reviews-track:hover { animation-play-state: paused; }

@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.review-card {
    width: 300px;
    flex-shrink: 0;
    padding: 20px;
    border-radius: var(--radius-lg);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(8px);
    transition: border-color var(--transition);
}

.review-card:hover { border-color: var(--glass-border-2); }

.review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.review-user {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--white);
}

.review-platform {
    font-size: 0.68rem;
    color: var(--gray-500);
    font-family: var(--font-mono);
}

.review-stars {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 10px;
}

.review-stars span {
    color: #f59e0b;
    display: flex;
    align-items: center;
}

.review-text {
    font-size: 0.875rem;
    color: var(--gray-300);
    line-height: 1.6;
    margin-bottom: 12px;
}

.review-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.7rem;
}

.review-product {
    padding: 3px 8px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    color: var(--gray-300);
    font-weight: 500;
}

.review-time { color: var(--gray-500); }

/* =============================================
   TRUST STRIP
   ============================================= */
.trust-strip {
    padding: 22px;
    border-top:    1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: transparent;
}

.trust-strip-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 28px;
    border-left: 1px solid var(--glass-border);
    font-size: 0.82rem;
    color: var(--gray-300);
    font-weight: 500;
}

.trust-item:first-child { border-left: none; }

.trust-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.55);
    flex-shrink: 0;
}

/* =============================================
   FAQ
   ============================================= */
.faq-list {
    max-width: 740px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    transition: border-color var(--transition);
}

.faq-item.open { border-color: var(--glass-border-2); }

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
    text-align: left;
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
}

.faq-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    font-size: 0.75rem;
    transition: transform 0.3s, background var(--transition);
}

.faq-item.open .faq-icon { transform: rotate(45deg); background: rgba(255,255,255,0.1); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s;
    padding: 0 22px;
    font-size: 0.875rem;
    color: var(--gray-400);
    line-height: 1.7;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding-bottom: 18px;
}

/* =============================================
   AUTH / LOGIN FORM
   ============================================= */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--nav-h) 24px 60px;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 36px;
    backdrop-filter: blur(20px) saturate(1.3);
    -webkit-backdrop-filter: blur(20px) saturate(1.3);
    box-shadow: var(--shadow-md), 0 0 0 1px rgba(255,255,255,0.04) inset;
    transition: border-color var(--transition);
}

.auth-card:hover {
    border-color: var(--glass-border-2);
}

/* Inside dashboard, cards expand to full width */
.dash-main .auth-card,
.dash-sidebar .auth-card {
    max-width: none;
}

.auth-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

.auth-logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
}

.auth-title {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.auth-subtitle { font-size: 0.85rem; color: var(--gray-400); }

/* =============================================
   FORM ELEMENTS
   ============================================= */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gray-300);
}

.form-input {
    padding: 11px 15px;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    background: rgba(255,255,255,0.04);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
    outline: none;
    width: 100%;
}

.form-input:focus {
    border-color: rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.06);
    box-shadow: 0 0 0 3px rgba(255,255,255,0.04);
}

.form-input::placeholder { color: var(--gray-500); }

/* Select & Date dark theme */
select { color-scheme: dark; }
select option { background-color: #1a1a1e !important; color: #ffffff !important; }
select.form-input {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b6b6b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
    background-color: rgba(255,255,255,0.04);
    color: #fff;
}
input[type="date"].form-input,
input[type="datetime-local"].form-input { color-scheme: dark; }

/* =============================================
   MODAL BACKDROP
   ============================================= */
.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.modal-backdrop .auth-card {
    animation: modalIn 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin: auto !important;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.92) translateY(12px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    border-top: 1px solid var(--glass-border);
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(12px);
    padding: 50px 24px 28px;
    margin-top: auto;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand { max-width: 300px; }

.footer-logo-wrap { margin-bottom: 12px; }

.footer-logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
}

.footer-tagline {
    font-size: 0.68rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 10px;
}

.footer-desc {
    font-size: 0.875rem;
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-socials { display: flex; gap: 10px; }

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: all var(--transition);
}

.social-btn:hover {
    background: var(--glass-hover);
    border-color: var(--glass-border-2);
    color: var(--white);
}

.footer-links-grid {
    display: flex;
    gap: 48px;
}

.footer-col h4 {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-300);
    margin-bottom: 16px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col a {
    font-size: 0.875rem;
    color: var(--gray-500);
    transition: color var(--transition);
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 24px;
    border-top: 1px solid var(--glass-border);
    flex-wrap: wrap;
    gap: 8px;
}

.footer-copy {
    font-size: 0.78rem;
    color: var(--gray-500);
    text-align: center;
    line-height: 1.6;
}

.footer-copy a {
    color: var(--gray-300);
    font-weight: 600;
    transition: color var(--transition);
}
.footer-copy a:hover { color: var(--white); }

.footer-kaito {
    font-size: 0.72rem;
    color: var(--gray-600);
    text-align: center;
    margin-top: 6px;
    font-style: italic;
    letter-spacing: 0.04em;
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-16px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes pulseGreen {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
    50%       { box-shadow: 0 0 0 5px rgba(34, 197, 94, 0); }
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

.reveal-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.12s; opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.19s; opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.26s; opacity: 1; transform: none; }

/* =============================================
   ████  DASHBOARD LAYOUT  ████
   ============================================= */

/* App Container & Window Wrappers */
.app-container {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
    z-index: 10;
    position: relative;
}

.app-window {
    width: 100% !important;
    max-width: none !important;
    height: 100vh !important;
    max-height: none !important;
    min-height: 0 !important;
    background: rgba(11, 11, 16, 0.42);
    backdrop-filter: blur(35px) saturate(1.8);
    -webkit-backdrop-filter: blur(35px) saturate(1.8);
    border: none;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.navbar {
    position: relative !important;
    top: auto;
    left: auto;
    right: auto;
    height: 56px !important;
    flex-shrink: 0;
}

.navbar::before {
    background: rgba(0, 0, 0, 0.22) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* Full-width page wrapper for logged-in dashboard */
.dash-page {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding-top: 0 !important;
}

.dash-layout {
    flex: 1;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 0;
    height: 100%;
    min-height: 0;
    padding: 0 !important;
    align-items: stretch !important;
    max-width: none !important;
}

/* Three column setup on desktop */
@media (min-width: 993px) {
    .dash-layout {
        grid-template-columns: 260px 1fr 260px;
    }
}

/* =============================================
   SIDEBAR
   ============================================= */
.dash-sidebar {
    height: 100%;
    position: relative !important;
    top: auto !important;
    background: rgba(0, 0, 0, 0.15);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    width: 260px !important;
}

.dash-sidebar-inner {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    height: 100%;
    border-radius: 0 !important;
    padding: 24px 20px !important;
}

/* Sidebar — Mobile Overlay */
.dash-sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    transition: opacity var(--transition);
}

.dash-sidebar-overlay.show {
    display: block;
    opacity: 1;
}

/* User mini */
.dash-user-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--glass-border);
}

.dash-avatar {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    flex-shrink: 0;
    background: var(--gray-800);
}

.dash-avatar img { width: 100%; height: 100%; object-fit: cover; }

.dash-user-role {
    font-size: 0.65rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.dash-user-key {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gray-100);
    font-family: var(--font-mono);
    margin-top: 1px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 160px;
}

/* Sidebar nav sections */
.dash-nav-section-label {
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gray-600);
    margin: 16px 0 6px 10px;
    font-weight: 700;
}

.sidebar-icon-container {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all var(--transition);
    color: var(--gray-300);
    flex-shrink: 0;
}

.dash-nav-link:hover .sidebar-icon-container {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    color: var(--white);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
}

.dash-nav-link.active .sidebar-icon-container {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
}

.dash-nav-link {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px 12px;
    border-radius: var(--radius-md);
    color: var(--gray-400);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--transition);
    margin-bottom: 2px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.dash-nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 0;
    background: var(--white);
    border-radius: 1px;
    transition: height var(--transition);
}

.dash-nav-link:hover {
    color: var(--white);
    background: rgba(255,255,255,0.06);
}

.dash-nav-link:hover::before { height: 60%; }

.dash-nav-link.active {
    color: var(--white);
    background: rgba(255,255,255,0.08);
    box-shadow: inset 0 0 0 1px var(--glass-border);
}

.dash-nav-link.active::before { height: 65%; }

.dash-nav-link svg { opacity: 0.55; flex-shrink: 0; transition: opacity var(--transition); }
.dash-nav-link:hover svg,
.dash-nav-link.active svg { opacity: 1; }

.dash-nav-link.admin { color: #f59e0b; }
.dash-nav-link.admin:hover { background: rgba(245,158,11,0.07); }
.dash-nav-link.admin.active {
    background: rgba(245,158,11,0.1);
    box-shadow: inset 0 0 0 1px rgba(245,158,11,0.22);
}
.dash-nav-link.admin::before { background: #f59e0b; }

/* Sidebar divider */
.dash-nav-divider {
    margin: 14px 0;
    border: none;
    border-top: 1px solid var(--glass-border);
}

/* Unread badge */
.dash-nav-badge {
    font-size: 0.6rem;
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 700;
    margin-left: auto;
    white-space: nowrap;
}

.dash-nav-badge.red { background: rgba(239,68,68,0.1); color: #f87171; border: 1px solid rgba(239,68,68,0.18); }

/* Sidebar footer branding */
.dash-sidebar-footer {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.dash-sidebar-footer-text {
    font-size: 0.65rem;
    color: var(--gray-600);
    letter-spacing: 0.04em;
    font-style: italic;
}

/* =============================================
   SIDEBAR NAVIGATION VIVID GLOWS & CUSTOM ROLE BADGES
   ============================================= */
/* Hidden navbar brand on desktop for layout pages to prevent duplication */
@media (min-width: 992px) {
    body:has(.dash-page) .navbar .nav-brand {
        display: none !important;
    }
}

/* Sidebar User Role Badges (Şafşaflı & Glowing) */
.dash-user-role {
    font-size: 0.62rem !important;
    padding: 2px 7px !important;
    border-radius: 6px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

/* Role Badges: 1. Yönetici / Admin / Kurucu */
.role-badge-yonetici {
    background: rgba(239, 68, 68, 0.12) !important;
    border: 1px solid rgba(239, 68, 68, 0.35) !important;
    color: #f87171 !important;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.25) !important;
    text-shadow: 0 0 4px rgba(239, 68, 68, 0.5);
}

/* Role Badges: 2. VIP / Premium */
.role-badge-vip {
    background: rgba(251, 191, 36, 0.12) !important;
    border: 1px solid rgba(251, 191, 36, 0.35) !important;
    color: #fbbf24 !important;
    box-shadow: 0 0 12px rgba(251, 191, 36, 0.25) !important;
    text-shadow: 0 0 4px rgba(251, 191, 36, 0.5);
}

/* Role Badges: 3. Regular Members (Üye) */
.role-badge-uye,
.role-badge-default {
    background: rgba(56, 189, 248, 0.12) !important;
    border: 1px solid rgba(56, 189, 248, 0.3) !important;
    color: #38bdf8 !important;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.2) !important;
    text-shadow: 0 0 4px rgba(56, 189, 248, 0.5);
}

/* Sidebar Icon default and interactive state (No Spin/Rotation) */
.sidebar-icon-container svg,
.sidebar-icon-container i {
    transform-origin: center center;
    display: inline-block !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.7;
}

.dash-nav-link:hover .sidebar-icon-container svg,
.dash-nav-link:hover .sidebar-icon-container i,
.dash-nav-link.active .sidebar-icon-container svg,
.dash-nav-link.active .sidebar-icon-container i {
    opacity: 1 !important;
    filter: drop-shadow(0 0 4px currentColor);
}

/* Ensure tables inside log boxes are scrollable on small viewports */
.log-box {
    overflow-x: auto !important;
}

/* 1. Dashboard (Sky Blue) */
.nav-item-dashboard .sidebar-icon-container {
    color: #38bdf8 !important;
    border-color: rgba(56, 189, 248, 0.15) !important;
    background: rgba(56, 189, 248, 0.04) !important;
}
.nav-item-dashboard:hover,
.nav-item-dashboard.active {
    background: rgba(56, 189, 248, 0.08) !important;
    color: var(--white) !important;
}
.nav-item-dashboard:hover .sidebar-icon-container,
.nav-item-dashboard.active .sidebar-icon-container {
    background: rgba(56, 189, 248, 0.18) !important;
    border-color: rgba(56, 189, 248, 0.4) !important;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.3) !important;
}
.nav-item-dashboard::before {
    background: #38bdf8 !important;
}

/* 2. İlanlarım (Emerald Green) */
.nav-item-ilanlarim .sidebar-icon-container {
    color: #34d399 !important;
    border-color: rgba(52, 211, 153, 0.15) !important;
    background: rgba(52, 211, 153, 0.04) !important;
}
.nav-item-ilanlarim:hover,
.nav-item-ilanlarim.active {
    background: rgba(52, 211, 153, 0.08) !important;
    color: var(--white) !important;
}
.nav-item-ilanlarim:hover .sidebar-icon-container,
.nav-item-ilanlarim.active .sidebar-icon-container {
    background: rgba(52, 211, 153, 0.18) !important;
    border-color: rgba(52, 211, 153, 0.4) !important;
    box-shadow: 0 0 12px rgba(52, 211, 153, 0.3) !important;
}
.nav-item-ilanlarim::before {
    background: #34d399 !important;
}

/* 3. Loglar (Teal) */
.nav-item-loglar .sidebar-icon-container {
    color: #2dd4bf !important;
    border-color: rgba(45, 212, 191, 0.15) !important;
    background: rgba(45, 212, 191, 0.04) !important;
}
.nav-item-loglar:hover,
.nav-item-loglar.active {
    background: rgba(45, 212, 191, 0.08) !important;
    color: var(--white) !important;
}
.nav-item-loglar:hover .sidebar-icon-container,
.nav-item-loglar.active .sidebar-icon-container {
    background: rgba(45, 212, 191, 0.18) !important;
    border-color: rgba(45, 212, 191, 0.4) !important;
    box-shadow: 0 0 12px rgba(45, 212, 191, 0.3) !important;
}
.nav-item-loglar::before {
    background: #2dd4bf !important;
}

/* 4. Mesajlar (Rose) */
.nav-item-mesajlar .sidebar-icon-container {
    color: #fb7185 !important;
    border-color: rgba(251, 113, 133, 0.15) !important;
    background: rgba(251, 113, 133, 0.04) !important;
}
.nav-item-mesajlar:hover,
.nav-item-mesajlar.active {
    background: rgba(251, 113, 133, 0.08) !important;
    color: var(--white) !important;
}
.nav-item-mesajlar:hover .sidebar-icon-container,
.nav-item-mesajlar.active .sidebar-icon-container {
    background: rgba(251, 113, 133, 0.18) !important;
    border-color: rgba(251, 113, 133, 0.4) !important;
    box-shadow: 0 0 12px rgba(251, 113, 133, 0.3) !important;
}
.nav-item-mesajlar::before {
    background: #fb7185 !important;
}

/* 5. Çekim Taleplerim (Amber) */
.nav-item-cekim_taleplerim .sidebar-icon-container {
    color: #fbbf24 !important;
    border-color: rgba(251, 191, 36, 0.15) !important;
    background: rgba(251, 191, 36, 0.04) !important;
}
.nav-item-cekim_taleplerim:hover,
.nav-item-cekim_taleplerim.active {
    background: rgba(251, 191, 36, 0.08) !important;
    color: var(--white) !important;
}
.nav-item-cekim_taleplerim:hover .sidebar-icon-container,
.nav-item-cekim_taleplerim.active .sidebar-icon-container {
    background: rgba(251, 191, 36, 0.18) !important;
    border-color: rgba(251, 191, 36, 0.4) !important;
    box-shadow: 0 0 12px rgba(251, 191, 36, 0.3) !important;
}
.nav-item-cekim_taleplerim::before {
    background: #fbbf24 !important;
}

/* 6. Ayarlar (Purple/Violet) */
.nav-item-ayarlar .sidebar-icon-container {
    color: #a78bfa !important;
    border-color: rgba(167, 139, 250, 0.15) !important;
    background: rgba(167, 139, 250, 0.04) !important;
}
.nav-item-ayarlar:hover,
.nav-item-ayarlar.active {
    background: rgba(167, 139, 250, 0.08) !important;
    color: var(--white) !important;
}
.nav-item-ayarlar:hover .sidebar-icon-container,
.nav-item-ayarlar.active .sidebar-icon-container {
    background: rgba(167, 139, 250, 0.18) !important;
    border-color: rgba(167, 139, 250, 0.4) !important;
    box-shadow: 0 0 12px rgba(167, 139, 250, 0.3) !important;
}
.nav-item-ayarlar::before {
    background: #a78bfa !important;
}

/* =============================================
   ADMIN NAVIGATION ITEMS (YÖNETİM)
   ============================================= */

/* 7. Üye Listesi (Purple) */
.nav-item-admin_uyeler .sidebar-icon-container {
    color: #c084fc !important;
    border-color: rgba(192, 132, 252, 0.15) !important;
    background: rgba(192, 132, 252, 0.04) !important;
}
.nav-item-admin_uyeler:hover,
.nav-item-admin_uyeler.active {
    background: rgba(192, 132, 252, 0.08) !important;
    color: var(--white) !important;
}
.nav-item-admin_uyeler:hover .sidebar-icon-container,
.nav-item-admin_uyeler.active .sidebar-icon-container {
    background: rgba(192, 132, 252, 0.18) !important;
    border-color: rgba(192, 132, 252, 0.4) !important;
    box-shadow: 0 0 12px rgba(192, 132, 252, 0.3) !important;
}
.nav-item-admin_uyeler::before {
    background: #c084fc !important;
}

/* 8. Ürün Listesi (Emerald Green) */
.nav-item-admin_urunler .sidebar-icon-container {
    color: #34d399 !important;
    border-color: rgba(52, 211, 153, 0.15) !important;
    background: rgba(52, 211, 153, 0.04) !important;
}
.nav-item-admin_urunler:hover,
.nav-item-admin_urunler.active {
    background: rgba(52, 211, 153, 0.08) !important;
    color: var(--white) !important;
}
.nav-item-admin_urunler:hover .sidebar-icon-container,
.nav-item-admin_urunler.active .sidebar-icon-container {
    background: rgba(52, 211, 153, 0.18) !important;
    border-color: rgba(52, 211, 153, 0.4) !important;
    box-shadow: 0 0 12px rgba(52, 211, 153, 0.3) !important;
}
.nav-item-admin_urunler::before {
    background: #34d399 !important;
}

/* 9. Satın Alınmış İşlemler (Sky Blue) */
.nav-item-admin_islem .sidebar-icon-container {
    color: #38bdf8 !important;
    border-color: rgba(56, 189, 248, 0.15) !important;
    background: rgba(56, 189, 248, 0.04) !important;
}
.nav-item-admin_islem:hover,
.nav-item-admin_islem.active {
    background: rgba(56, 189, 248, 0.08) !important;
    color: var(--white) !important;
}
.nav-item-admin_islem:hover .sidebar-icon-container,
.nav-item-admin_islem.active .sidebar-icon-container {
    background: rgba(56, 189, 248, 0.18) !important;
    border-color: rgba(56, 189, 248, 0.4) !important;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.3) !important;
}
.nav-item-admin_islem::before {
    background: #38bdf8 !important;
}

/* 10. Çekim Talepleri (Orange) */
.nav-item-admin_cekim .sidebar-icon-container {
    color: #fb923c !important;
    border-color: rgba(251, 146, 60, 0.15) !important;
    background: rgba(251, 146, 60, 0.04) !important;
}
.nav-item-admin_cekim:hover,
.nav-item-admin_cekim.active {
    background: rgba(251, 146, 60, 0.08) !important;
    color: var(--white) !important;
}
.nav-item-admin_cekim:hover .sidebar-icon-container,
.nav-item-admin_cekim.active .sidebar-icon-container {
    background: rgba(251, 146, 60, 0.18) !important;
    border-color: rgba(251, 146, 60, 0.4) !important;
    box-shadow: 0 0 12px rgba(251, 146, 60, 0.3) !important;
}
.nav-item-admin_cekim::before {
    background: #fb923c !important;
}

/* 11. IBAN Güncelleme (Amber) */
.nav-item-admin_iban .sidebar-icon-container {
    color: #f59e0b !important;
    border-color: rgba(245, 158, 11, 0.15) !important;
    background: rgba(245, 158, 11, 0.04) !important;
}
.nav-item-admin_iban:hover,
.nav-item-admin_iban.active {
    background: rgba(245, 158, 11, 0.08) !important;
    color: var(--white) !important;
}
.nav-item-admin_iban:hover .sidebar-icon-container,
.nav-item-admin_iban.active .sidebar-icon-container {
    background: rgba(245, 158, 11, 0.18) !important;
    border-color: rgba(245, 158, 11, 0.4) !important;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.3) !important;
}
.nav-item-admin_iban::before {
    background: #f59e0b !important;
}

/* 12. Website Ayarları (Teal) */
.nav-item-admin_websites .sidebar-icon-container {
    color: #2dd4bf !important;
    border-color: rgba(45, 212, 191, 0.15) !important;
    background: rgba(45, 212, 191, 0.04) !important;
}
.nav-item-admin_websites:hover,
.nav-item-admin_websites.active {
    background: rgba(45, 212, 191, 0.08) !important;
    color: var(--white) !important;
}
.nav-item-admin_websites:hover .sidebar-icon-container,
.nav-item-admin_websites.active .sidebar-icon-container {
    background: rgba(45, 212, 191, 0.18) !important;
    border-color: rgba(45, 212, 191, 0.4) !important;
    box-shadow: 0 0 12px rgba(45, 212, 191, 0.3) !important;
}
.nav-item-admin_websites::before {
    background: #2dd4bf !important;
}

/* 13. Rol Yönetimi (Rose) */
.nav-item-admin_roller .sidebar-icon-container {
    color: #f43f5e !important;
    border-color: rgba(244, 63, 94, 0.15) !important;
    background: rgba(244, 63, 94, 0.04) !important;
}
.nav-item-admin_roller:hover,
.nav-item-admin_roller.active {
    background: rgba(244, 63, 94, 0.08) !important;
    color: var(--white) !important;
}
.nav-item-admin_roller:hover .sidebar-icon-container,
.nav-item-admin_roller.active .sidebar-icon-container {
    background: rgba(244, 63, 94, 0.18) !important;
    border-color: rgba(244, 63, 94, 0.4) !important;
    box-shadow: 0 0 12px rgba(244, 63, 94, 0.3) !important;
}
.nav-item-admin_roller::before {
    background: #f43f5e !important;
}

/* 14. Logout Link */
.nav-item-logout .sidebar-icon-container {
    color: #ef4444 !important;
    border-color: rgba(239, 68, 68, 0.15) !important;
    background: rgba(239, 68, 68, 0.04) !important;
}
.nav-item-logout:hover {
    background: rgba(239, 68, 68, 0.08) !important;
    color: #f87171 !important;
}
.nav-item-logout:hover .sidebar-icon-container {
    background: rgba(239, 68, 68, 0.18) !important;
    border-color: rgba(239, 68, 68, 0.4) !important;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.3) !important;
}
.nav-item-logout::before {
    background: #ef4444 !important;
}

/* =============================================
   DASH MAIN CONTENT
   ============================================= */
.dash-main {
    height: 100%;
    overflow-y: auto;
    padding: 28px;
    background: transparent;
    min-width: 0;
    width: 100%;
}

/* =============================================
   DASH RIGHT SIDEBAR (ACTIVE USERS)
   ============================================= */
.dash-right-sidebar {
    width: 260px;
    background: rgba(0, 0, 0, 0.15);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    padding: 24px;
    overflow-y: auto;
    flex-shrink: 0;
    height: 100%;
}

.dash-right-sidebar-title {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
    color: var(--gray-500);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-active-user-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    transition: background var(--transition);
    text-decoration: none;
    margin-bottom: 4px;
}
.sidebar-active-user-item:hover {
    background: rgba(255, 255, 255, 0.04);
}
.sidebar-active-user-avatar-wrap {
    position: relative;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}
.sidebar-active-user-avatar-wrap img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.sidebar-active-user-status {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 2px solid #08080c;
}
.sidebar-active-user-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}
.sidebar-active-user-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.sidebar-active-user-handle {
    font-size: 0.72rem;
    color: var(--gray-500);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.sidebar-active-user-role {
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: auto;
    flex-shrink: 0;
}

.mobile-only-active-users {
    display: none;
}
@media (max-width: 992px) {
    .mobile-only-active-users {
        display: block;
    }
}

/* Premium Balance Cards & Leaderboard */
.balance-card-premium {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: var(--radius-xl) !important;
    padding: 24px !important;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all var(--transition);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.balance-card-premium::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.015) 0%, transparent 60%);
    pointer-events: none;
}

.balance-card-premium:hover {
    border-color: rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.balance-card-premium.confirmed {
    border-left: 4px solid #22c55e !important;
}

.balance-card-premium.pending {
    border-left: 4px solid #f59e0b !important;
}

.balance-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.balance-card-premium.confirmed .balance-icon-wrap {
    color: #4ade80;
    background: rgba(34, 197, 94, 0.08);
    border-color: rgba(34, 197, 94, 0.15);
}

.balance-card-premium.pending .balance-icon-wrap {
    color: #fbbf24;
    background: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.15);
}

/* Leaderboard */
.leaderboard-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all var(--transition);
    text-decoration: none;
}

.leaderboard-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

.leaderboard-rank {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--gray-400);
}

.leaderboard-item.rank-1 .leaderboard-rank {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.3);
    color: #fbbf24;
}

.leaderboard-item.rank-2 .leaderboard-rank {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: #e2e8f0;
}

.leaderboard-item.rank-3 .leaderboard-rank {
    background: rgba(205, 127, 50, 0.15);
    border-color: rgba(205, 127, 50, 0.3);
    color: #cd7f32;
}

.leaderboard-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.leaderboard-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.leaderboard-username {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.leaderboard-handle {
    font-size: 0.72rem;
    color: var(--gray-500);
}

.leaderboard-balance {
    font-size: 0.82rem;
    color: #4ade80;
    font-weight: 700;
    font-family: var(--font-mono);
    background: rgba(74, 222, 128, 0.06);
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(74, 222, 128, 0.12);
}

/* =============================================
   PROFILE BANNER
   ============================================= */
.dash-profile-card { padding: 0 !important; overflow: hidden; margin-bottom: 24px; }
.dash-banner { position: relative; }

.dash-banner-img {
    height: 150px;
    background: linear-gradient(135deg, #0d0d14 0%, #141424 50%, #0f0f1c 100%);
    border-bottom: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.dash-banner-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(59,130,246,0.08) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 30%, rgba(139,92,246,0.06) 0%, transparent 50%);
}

.dash-banner-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(transparent, rgba(0,0,0,0.3));
}

.dash-banner-bottom {
    padding: 0 28px 22px 28px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 12px;
}

.dash-banner-left {
    display: flex;
    align-items: flex-end;
    gap: 18px;
    margin-top: -32px;
}

.dash-banner-avatar {
    width: 90px;
    height: 90px;
    border-radius: 22px;
    background: #0d0d14;
    border: 3px solid #0d0d14;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    z-index: 2;
    flex-shrink: 0;
}

.dash-banner-avatar img { width: 100%; height: 100%; object-fit: cover; }

.dash-banner-name {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 5px;
    line-height: 1;
    letter-spacing: -0.02em;
}

.dash-banner-key {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-400);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    flex-wrap: wrap;
}

.dash-signout-btn {
    padding: 9px 18px;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--glass-border);
    color: var(--gray-300);
    font-size: 0.8rem;
    font-weight: 600;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.dash-signout-btn:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--glass-border-2);
    color: var(--white);
}

/* =============================================
   BADGES
   ============================================= */
.dash-badge-active {
    display: inline-flex;
    font-size: 0.65rem;
    padding: 3px 9px;
    border-radius: var(--radius-full);
    background: rgba(34,197,94,0.12);
    color: #22c55e;
    border: 1px solid rgba(34,197,94,0.22);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.dash-badge-admin {
    display: inline-flex;
    font-size: 0.65rem;
    padding: 3px 9px;
    border-radius: var(--radius-full);
    background: rgba(245,158,11,0.12);
    color: #f59e0b;
    border: 1px solid rgba(245,158,11,0.22);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.04em;
}

/* =============================================
   STATS GRID
   ============================================= */
.dash-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.dash-stat-card {
    position: relative;
    padding: 22px !important;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    min-height: 110px;
    overflow: hidden;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(12px);
    transition: border-color var(--transition), transform var(--transition);
}

.dash-stat-card:hover {
    border-color: var(--glass-border-2);
    transform: translateY(-2px);
}

.dash-stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top left, rgba(255,255,255,0.03) 0%, transparent 60%);
    pointer-events: none;
}

.dash-stat-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--gray-500);
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.dash-stat-value {
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
}

.dash-stat-val { font-size: 1.1rem; font-weight: 700; color: var(--white); }

.dash-stat-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 1;
}

/* =============================================
   SECTION TITLES
   ============================================= */
.dash-section-title {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 700;
    color: var(--gray-500);
    margin: 32px 0 16px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.dash-section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--glass-border);
}

/* =============================================
   ANNOUNCEMENTS
   ============================================= */
.dash-announcements { display: grid; gap: 12px; }

.dash-announcement {
    padding: 18px 22px;
    border-radius: var(--radius-lg);
    border: 1px solid transparent;
    border-left-width: 3px;
    transition: transform var(--transition);
}

.dash-announcement:hover { transform: translateX(2px); }

.dash-ann-title { font-weight: 700; margin-bottom: 5px; font-size: 0.95rem; }
.dash-ann-body  { font-size: 0.875rem; color: var(--gray-300); line-height: 1.55; }
.dash-ann-date  { font-size: 0.7rem; color: var(--gray-600); margin-top: 10px; font-family: var(--font-mono); }

/* =============================================
   QUICK ACTION CARDS
   ============================================= */
.dash-quick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.dash-quick-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
    text-decoration: none;
    color: var(--white);
}

.dash-quick-card:hover {
    border-color: var(--glass-border-2);
    background: rgba(255,255,255,0.055);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.dash-quick-card svg {
    width: 40px;
    height: 40px;
    padding: 10px;
    border-radius: 12px;
    background: rgba(255,255,255,0.04);
    color: var(--gray-300);
    flex-shrink: 0;
}

.dash-quick-title { font-weight: 700; font-size: 0.9rem; margin-bottom: 2px; }
.dash-quick-sub { font-size: 0.75rem; color: var(--gray-500); }

/* =============================================
   TABLES
   ============================================= */
.dash-table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
}

.dash-table { width: 100%; border-collapse: collapse; }

.dash-table th {
    text-align: left;
    padding: 13px 18px;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-500);
    background: rgba(255,255,255,0.025);
    border-bottom: 1px solid var(--glass-border);
    font-weight: 700;
    white-space: nowrap;
}

.dash-table td {
    padding: 13px 18px;
    font-size: 0.875rem;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    vertical-align: middle;
}

.dash-table tr:last-child td { border-bottom: none; }
.dash-table tr:hover td { background: rgba(255,255,255,0.015); }

/* =============================================
   TOGGLE SWITCH
   ============================================= */
.dash-toggle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    font-size: 0.875rem;
    color: var(--gray-300);
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.dash-toggle-row:last-of-type { border-bottom: none; }

.dash-toggle {
    position: relative;
    display: inline-block;
    width: 38px;
    height: 20px;
    flex-shrink: 0;
}

.dash-toggle input { opacity: 0; width: 0; height: 0; }

.dash-toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: rgba(255,255,255,0.08);
    transition: .3s;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.dash-toggle-slider:before {
    position: absolute;
    content: "";
    height: 12px;
    width: 12px;
    left: 3px;
    bottom: 3px;
    background-color: var(--gray-400);
    transition: .3s;
    border-radius: 50%;
}

.dash-toggle input:checked + .dash-toggle-slider { background-color: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.35); }
.dash-toggle input:checked + .dash-toggle-slider:before { transform: translateX(18px); background-color: var(--white); }

/* =============================================
   ALERTS
   ============================================= */
.dash-alert {
    padding: 13px 17px;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    border: 1px solid transparent;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dash-alert.success { background: rgba(34,197,94,0.08); color: #4ade80; border-color: rgba(34,197,94,0.18); }
.dash-alert.danger  { background: rgba(239,68,68,0.08); color: #f87171; border-color: rgba(239,68,68,0.18); }
.dash-alert.info    { background: rgba(59,130,246,0.08); color: #60a5fa; border-color: rgba(59,130,246,0.18); }
.dash-alert.warning { background: rgba(245,158,11,0.08); color: #f59e0b; border-color: rgba(245,158,11,0.18); }

/* =============================================
   HWID / MISC CARDS
   ============================================= */
.dash-hwid-card { padding: 26px !important; }
.dash-hwid-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-500);
    font-weight: 700;
    margin-bottom: 10px;
}
.dash-hwid-value { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }

/* User Cards (admin-uyeler) */
.user-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}

.user-card { padding: 20px !important; position: relative; transition: border-color var(--transition), transform var(--transition); }
.user-card:hover { border-color: var(--glass-border-2); transform: translateY(-2px); }

.uc-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.uc-avatar { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; border: 1px solid var(--glass-border); flex-shrink: 0; }
.uc-name { font-weight: 700; font-size: 0.9rem; }
.uc-tid { font-size: 0.7rem; color: var(--gray-500); font-family: var(--font-mono); margin-top: 1px; }
.uc-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: var(--radius-md) !important;
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
}
.uc-badge.admin {
    background: rgba(239, 68, 68, 0.12) !important;
    color: #f87171 !important;
    border: 1px solid rgba(239, 68, 68, 0.35) !important;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.25) !important;
    text-shadow: 0 0 4px rgba(239, 68, 68, 0.5);
}
.uc-badge.user {
    background: rgba(56, 189, 248, 0.12) !important;
    color: #38bdf8 !important;
    border: 1px solid rgba(56, 189, 248, 0.3) !important;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.2) !important;
    text-shadow: 0 0 4px rgba(56, 189, 248, 0.5);
}
.uc-badge.yetkisiz {
    background: rgba(156, 163, 175, 0.08) !important;
    color: #9ca3af !important;
    border: 1px solid rgba(156, 163, 175, 0.18) !important;
    box-shadow: none !important;
}
.uc-badge.other {
    background: rgba(251, 191, 36, 0.12) !important;
    color: #fbbf24 !important;
    border: 1px solid rgba(251, 191, 36, 0.35) !important;
    box-shadow: 0 0 12px rgba(251, 191, 36, 0.25) !important;
    text-shadow: 0 0 4px rgba(251, 191, 36, 0.5);
}
.uc-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.uc-meta-item { padding: 8px 10px; border-radius: var(--radius-sm); background: rgba(255,255,255,0.02); border: 1px solid var(--glass-border); }
.uc-meta-label { color: var(--gray-500); font-size: 0.64rem; margin-bottom: 2px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.uc-meta-val { font-weight: 700; font-size: 0.875rem; }
.uc-actions { display: flex; gap: 6px; }
.uc-actions .btn { flex: 1; font-size: 0.75rem; padding: 7px 8px; }
.uc-online { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; border: 2px solid #0d0d14; }
.uc-online.on  { background: #4ade80; }
.uc-online.off { background: var(--gray-600); }
.uc-online.dnd { background: #f87171; }
.uc-expire { font-size: 0.68rem; padding: 2px 7px; border-radius: var(--radius-full); }
.uc-expire.active  { background: rgba(34,197,94,0.08); color: #4ade80; }
.uc-expire.expired { background: rgba(239,68,68,0.08); color: #f87171; }
.uc-expire.none    { color: var(--gray-600); }

/* =============================================
   MOBILE SIDEBAR BOTTOM NAV
   ============================================= */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 8px;
    left: 10px;
    right: 10px;
    z-index: 990;
    background: rgba(8, 12, 28, 0.85);
    backdrop-filter: blur(24px) saturate(1.8);
    -webkit-backdrop-filter: blur(24px) saturate(1.8);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-xl);
    padding: 5px 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 15px rgba(59, 130, 246, 0.06);
    gap: 2px;
    justify-content: space-around;
    align-items: center;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 3px 6px;
    border-radius: var(--radius-md);
    color: var(--gray-400);
    font-size: 0.56rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    text-decoration: none;
    transition: all var(--transition);
    min-width: 44px;
}

.mobile-nav-item svg {
    width: 16px;
    height: 16px;
    color: var(--gray-400);
    transition: transform var(--transition), color var(--transition);
}

.mobile-nav-item.active,
.mobile-nav-item:hover {
    color: var(--white);
    background: rgba(59, 130, 246, 0.06);
}

.mobile-nav-item.active svg,
.mobile-nav-item:hover svg {
    color: #60a5fa !important;
    transform: translateY(-1px);
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 1100px) {
    .dash-layout {
        grid-template-columns: 250px 1fr;
        gap: 20px;
        padding: 28px 20px;
    }
}

@media (max-width: 992px) {
    body {
        display: block !important;
        height: auto !important;
        min-height: 100vh !important;
        overflow-y: auto !important;
    }
    .app-container {
        display: block !important;
        padding: 0 !important;
        width: 100% !important;
        height: auto !important;
        min-height: 100vh !important;
    }
    .app-window {
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        min-height: 100vh !important;
        border-radius: 0 !important;
        border: none !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: visible !important;
    }
    .modal-backdrop {
        padding: 12px !important;
    }
    .modal-backdrop .auth-card {
        margin: 20px auto 48px auto !important;
        padding: 20px 16px 28px !important;
    }
    .dash-layout {
        display: block !important;
        height: auto !important;
        min-height: 0 !important;
        padding: 20px 16px !important;
        padding-bottom: 80px !important; /* space for bottom nav */
    }

    .dash-sidebar {
        position: fixed !important;
        top: 0 !important;
        left: -100% !important;
        bottom: 0 !important;
        width: 280px !important;
        z-index: 999 !important;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        background: rgba(11,11,15,0.98) !important;
        backdrop-filter: blur(20px) !important;
        height: 100vh !important;
        margin: 0 !important;
    }

    .dash-sidebar.open { left: 0 !important; }

    .dash-sidebar-inner {
        height: 100vh;
        border-radius: 0 !important;
        border: none;
        border-right: 1px solid var(--glass-border);
        max-height: 100vh;
        padding-top: 24px !important;
        padding-bottom: 50px !important;
        overflow-y: auto !important;
        position: relative;
        z-index: 1000;
    }

    .dash-main {
        width: 100% !important;
        height: auto !important;
        overflow-y: visible !important;
        padding: 0 !important;
    }

    .dash-right-sidebar {
        display: none !important;
    }

    /* Profile Banner Mobile */
    .dash-banner-bottom {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 10px;
        padding: 0 16px 18px;
        width: 100%;
    }

    .dash-banner-left {
        flex-direction: row;
        align-items: flex-end;
        gap: 14px;
        margin-top: -28px;
        width: 100%;
    }

    .dash-banner-avatar {
        width: 70px;
        height: 70px;
        border-radius: 16px;
        border-width: 2px;
    }

    .dash-banner-img { height: 100px !important; }
    .dash-banner-name { font-size: 1.15rem; }
    .dash-stats-grid { grid-template-columns: 1fr 1fr; }

    .mobile-bottom-nav { display: flex; }

    .nav-hamburger { display: flex; }
}

@media (max-width: 640px) {
    .dash-stats-grid { grid-template-columns: 1fr; }
    .user-card-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 32px; }
    .footer-links-grid { flex-wrap: wrap; gap: 24px; }
    .auth-card { padding: 24px 18px; }
    .hero-stat { padding: 10px 18px; }
    .dash-banner-left { flex-direction: column; align-items: flex-start; }
    .dash-banner-avatar { width: 60px; height: 60px; border-radius: 14px; }
    .dash-banner-name { font-size: 1rem; }
}

@media (max-width: 480px) {
    .hero-stats { flex-direction: column; gap: 0; }
    .hero-stat { border-left: none; border-top: 1px solid var(--glass-border); }
    .hero-stat:first-child { border-top: none; }
    .dash-layout { padding: 12px 12px; padding-bottom: 80px; }
    .dash-banner-bottom { padding: 0 12px 14px; }
    .trust-item { padding: 8px 14px; }
    .mobile-nav-item { padding: 5px 6px; min-width: 40px; }
}

/* =============================================
   SCROLLBAR STYLING
   ============================================= */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.18); }

/* =============================================
   SELECTION
   ============================================= */
::selection { background: rgba(255,255,255,0.12); color: var(--white); }

/* =============================================
   ADVANCED INTERACTIVE EFFECTS & ANIMATIONS
   ============================================= */

@keyframes pulseDot {
    0%, 100% { transform: scale(1); opacity: 0.8; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    50% { transform: scale(1.15); opacity: 1; box-shadow: 0 0 8px 4px rgba(34, 197, 94, 0.2); }
}

.active-pulse-dot {
    animation: pulseDot 2s infinite ease-in-out;
}

/* Sidebar Nav Glow & Hover slide */
.dash-nav-link {
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), color 0.22s, background-color 0.22s !important;
}

.dash-nav-link:hover {
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.05) !important;
    color: var(--white) !important;
}

.dash-nav-link.active {
    background: rgba(255, 255, 255, 0.07) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
}

/* Button Shimmer hover effect */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: all 0.7s ease;
}

.btn-primary:hover::after {
    left: 150%;
}

/* Balance Card Glow on Hover */
.balance-card-premium {
    transition: transform 0.22s ease, border-color 0.22s, box-shadow 0.22s !important;
}

.balance-card-premium.confirmed:hover {
    box-shadow: 0 12px 32px rgba(34, 197, 94, 0.04) !important;
}

.balance-card-premium.pending:hover {
    box-shadow: 0 12px 32px rgba(245, 158, 11, 0.04) !important;
}

/* Leaderboard custom rank borders & glows */
.leaderboard-item {
    transition: transform 0.22s ease, border-color 0.22s, box-shadow 0.22s !important;
}

.leaderboard-item.rank-1 {
    border: 1px solid rgba(245, 158, 11, 0.22) !important;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.04), inset 0 0 8px rgba(245, 158, 11, 0.03) !important;
}
.leaderboard-item.rank-1:hover {
    border-color: rgba(245, 158, 11, 0.45) !important;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.12), inset 0 0 12px rgba(245, 158, 11, 0.06) !important;
}

.leaderboard-item.rank-2 {
    border: 1px solid rgba(226, 232, 240, 0.2) !important;
    box-shadow: 0 4px 15px rgba(226, 232, 240, 0.04), inset 0 0 8px rgba(226, 232, 240, 0.03) !important;
}
.leaderboard-item.rank-2:hover {
    border-color: rgba(226, 232, 240, 0.4) !important;
    box-shadow: 0 8px 24px rgba(226, 232, 240, 0.1), inset 0 0 12px rgba(226, 232, 240, 0.06) !important;
}

.leaderboard-item.rank-3 {
    border: 1px solid rgba(205, 127, 50, 0.2) !important;
    box-shadow: 0 4px 15px rgba(205, 127, 50, 0.04), inset 0 0 8px rgba(205, 127, 50, 0.03) !important;
}
.leaderboard-item.rank-3:hover {
    border-color: rgba(205, 127, 50, 0.4) !important;
    box-shadow: 0 8px 24px rgba(205, 127, 50, 0.1), inset 0 0 12px rgba(205, 127, 50, 0.06) !important;
}

/* =============================================
   GLOW EFFECTS, TYPOGRAPHY & OVERRIDES
   ============================================= */

/* Glowing Neon SVG Icons */
svg.svg-premium {
    filter: drop-shadow(0 0 1px rgba(59, 130, 246, 0.25));
    transition: filter 0.22s ease, stroke-width 0.22s ease, transform 0.22s ease;
}
.dash-nav-link:hover svg.svg-premium,
.dash-nav-link.active svg.svg-premium {
    filter: drop-shadow(0 0 6px rgba(59, 130, 246, 0.65)) !important;
    stroke-width: 2.5 !important;
}
.mobile-nav-item:hover svg.svg-premium,
.mobile-nav-item.active svg.svg-premium {
    filter: drop-shadow(0 0 6px rgba(59, 130, 246, 0.65)) !important;
}

/* Card Ambient Glow Upgrades */
.auth-card, .product-card, .feature-card, .balance-card-premium, .user-card, .dash-stat-card {
    background: rgba(10, 16, 36, 0.45) !important;
    border: 1px solid rgba(59, 130, 246, 0.16) !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4), inset 0 0 12px rgba(59, 130, 246, 0.05) !important;
    transition: border-color 0.22s, box-shadow 0.22s, transform 0.22s !important;
}
.auth-card:hover, .product-card:hover, .balance-card-premium:hover, .user-card:hover, .dash-stat-card:hover {
    border-color: rgba(96, 165, 250, 0.35) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55), 
                0 0 20px rgba(59, 130, 246, 0.18), 
                inset 0 0 16px rgba(59, 130, 246, 0.08) !important;
    transform: translateY(-3px) !important;
}

/* Active Sidebar Gradient Glows */
.dash-nav-link.active {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0.02) 100%) !important;
    border-left: 3px solid #3b82f6 !important;
    box-shadow: inset 0 0 10px rgba(59, 130, 246, 0.1) !important;
}
.dash-nav-link.admin.active {
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0.02) 100%) !important;
    border-left: 3px solid #f59e0b !important;
    box-shadow: inset 0 0 10px rgba(245, 158, 11, 0.1) !important;
}

/* Responsive Desktop Column Scaling (993px - 1400px) */
@media (min-width: 993px) and (max-width: 1400px) {
    .dash-layout {
        grid-template-columns: 220px 1fr 220px !important;
    }
    .dash-sidebar {
        width: 220px !important;
    }
    .dash-right-sidebar {
        width: 220px !important;
    }
}

/* Mobile Layout Padding (Safety gap for floating dock) */
@media (max-width: 992px) {
    .dash-layout {
        padding-bottom: 120px !important;
    }
}

/* Text glow headers */
.gradient-text {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}
.dash-stat-value {
    text-shadow: 0 0 15px currentColor;
}
.dash-banner-name {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* =============================================
   CELESTIAL SERENITY STAR ANIMATIONS
   ============================================= */
.celestial-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 30%, rgba(96, 165, 250, 0.28) 0%, transparent 80%);
    pointer-events: none;
    mix-blend-mode: screen;
    z-index: 1;
}

.celestial-stars {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 2;
}

.celestial-star {
    position: absolute;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 8px 1px #ffffff, 0 0 16px 3px rgba(96, 165, 250, 0.6);
    opacity: 0;
    animation: starTwinkle 3s infinite ease-in-out;
}

@keyframes starTwinkle {
    0%, 100% { opacity: 0; transform: scale(0.5) rotate(0deg); }
    50% { opacity: 0.95; transform: scale(1.3) rotate(180deg); }
}

/* =============================================
   TROPHY & MEDAL KEYFRAMES
   ============================================= */
@keyframes spinTrophy {
    0%, 100% { transform: rotate(0deg) scale(1); filter: drop-shadow(0 0 2px rgba(251, 191, 36, 0.4)); }
    25% { transform: rotate(8deg) scale(1.1); filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.75)); }
    50% { transform: rotate(0deg) scale(1); filter: drop-shadow(0 0 2px rgba(251, 191, 36, 0.4)); }
    75% { transform: rotate(-8deg) scale(1.1); filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.75)); }
}

.leaderboard-item.rank-1 svg,
.leaderboard-item.rank-1 i {
    animation: spinTrophy 3.5s infinite ease-in-out !important;
    display: inline-block;
}

@keyframes floatMedal {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-4px) scale(1.06); }
}

.leaderboard-item.rank-2 svg,
.leaderboard-item.rank-2 i {
    animation: floatMedal 3s infinite ease-in-out !important;
    display: inline-block;
}

.leaderboard-item.rank-3 svg,
.leaderboard-item.rank-3 i {
    animation: floatMedal 2.6s infinite ease-in-out !important;
    display: inline-block;
}

/* =============================================
   SIDEBAR LINK NO-WRAP OVERFLOWS
   ============================================= */
.dash-nav-link span {
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
}

/* =============================================
   SPARKLING BRAND LOGO TEXT ANIMATIONS
   ============================================= */
.sparkling-text {
    background: linear-gradient(135deg, #ffffff 0%, #60a5fa 50%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShimmer 4s linear infinite, brandGlow 2.5s ease-in-out infinite;
    font-weight: 900 !important;
    letter-spacing: 0.04em;
    font-size: 1.05rem !important;
}

@keyframes textShimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

@keyframes brandGlow {
    0%, 100% { filter: drop-shadow(0 0 1px rgba(96, 165, 250, 0.2)); }
    50% { filter: drop-shadow(0 0 6px rgba(96, 165, 250, 0.7)); }
}

.brand-star {
    position: absolute;
    font-size: 10px;
    color: #60a5fa;
    pointer-events: none;
    text-shadow: 0 0 5px #60a5fa, 0 0 10px rgba(96, 165, 250, 0.8);
    opacity: 0;
    line-height: 1;
}

.brand-star.star-1 {
    top: -4px;
    right: -10px;
    animation: twinkleStarOne 2s infinite ease-in-out;
}

.brand-star.star-2 {
    bottom: -4px;
    left: -14px;
    animation: twinkleStarTwo 2.6s infinite ease-in-out;
}

@keyframes twinkleStarOne {
    0%, 100% { opacity: 0; transform: scale(0.3) rotate(0deg); }
    50% { opacity: 1; transform: scale(1.3) rotate(90deg); }
}

@keyframes twinkleStarTwo {
    0%, 100% { opacity: 0; transform: scale(0.3) rotate(0deg); }
    50% { opacity: 1; transform: scale(1.2) rotate(-90deg); }
}

