:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --primary-rgb: 99, 102, 241;
    --accent-rgb: 6, 182, 212;
    --primary-gradient: linear-gradient(135deg, var(--primary), var(--accent), var(--primary-light));
    --accent: #06b6d4;
    --accent-light: #22d3ee;
    --purple: #8b5cf6;
    --blue: #3b82f6;
    --store-accent: #f97316;
    --store-accent-light: #fb923c;
    --store-border: rgba(249, 115, 22, 0.45);
    --surface: #16162a;
    --bg-dark: #0a0a12;
    --bg-darker: #050508;
    --bg-card: rgba(255,255,255,0.04);
    --bg-card-hover: rgba(255,255,255,0.08);
    --bg-glass: rgba(255,255,255,0.03);
    --btn-glass: rgba(255,255,255,0.05);
    --nav-bg: rgba(10,10,18,0.75);
    --nav-bg-scrolled: rgba(10,10,18,0.92);
    --modal-bg: linear-gradient(145deg, #1a1a2e, #16162a);
    --input-bg: rgba(255,255,255,0.03);
    --overlay-bg: rgba(0,0,0,0.72);
    --text: #e2e8f0;
    --text-bright: #f8fafc;
    --text-muted: #64748b;
    --border: rgba(255,255,255,0.08);
    --border-light: rgba(255,255,255,0.12);
    --success: #10b981;
    --error: #ef4444;
    --warning: #f59e0b;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-pill: 999px;
    --shadow: 0 8px 32px rgba(0,0,0,0.4);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.5);
    --glow-primary: 0 0 30px rgba(var(--primary-rgb),0.3);
    --hero-gradient: linear-gradient(135deg, var(--primary) 0%, var(--purple) 35%, var(--blue) 70%, var(--accent) 100%);
    --mesh-purple: rgba(99,102,241,0.15);
    --mesh-blue: rgba(59,130,246,0.1);
    --mesh-cyan: rgba(6,182,212,0.08);
    --fluid-opacity: 0.55;
    --scrollbar-thumb: rgba(255,255,255,0.08);
}

* { margin:0; padding:0; box-sizing:border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-dark);
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -20%, var(--mesh-purple), transparent),
        radial-gradient(ellipse 60% 40% at 100% 50%, var(--mesh-cyan), transparent),
        radial-gradient(ellipse 50% 40% at 0% 80%, var(--mesh-blue), transparent);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.6s cubic-bezier(0.4,0,0.2,1), color 0.5s ease;
}

a { color: var(--primary-light); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--accent-light); }

::selection { background: rgba(var(--primary-rgb),0.3); color: var(--text-bright); }

/* ========== PAGE LOADER ========== */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--bg-darker);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1), visibility 0.6s ease;
    animation: loaderAutoHide 0.5s ease 1.2s forwards;
}
.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
@keyframes loaderAutoHide {
    to { opacity: 0; visibility: hidden; pointer-events: none; }
}
.loader-progress {
    width: 120px;
    height: 3px;
    background: var(--border);
    border-radius: 999px;
    overflow: hidden;
    position: relative;
}
.loader-progress::after {
    content: '';
    position: absolute;
    inset: 0;
    width: 40%;
    background: var(--hero-gradient);
    background-size: 200% 100%;
    border-radius: inherit;
    animation: loaderSlide 0.9s ease-in-out infinite;
}
@keyframes loaderSlide {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(350%); }
}
.loader-text {
    font-size: clamp(1.4rem, 4vw, 2rem);
    font-weight: 900;
    background: var(--hero-gradient);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
    animation: gradientText 3s ease infinite, loaderTextIn 0.8s cubic-bezier(0.16,1,0.3,1);
}
@keyframes loaderTextIn {
    from { opacity: 0; transform: scale(0.9) translateY(12px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/* ========== FLUID BACKGROUND (Portfolite-style) ========== */
.bg-fluid {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    opacity: var(--fluid-opacity);
}
.bg-fluid-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    will-change: transform;
}
.bg-fluid-blob-1 {
    width: min(55vw, 520px);
    height: min(55vw, 520px);
    background: radial-gradient(circle, rgba(var(--primary-rgb),0.35) 0%, transparent 70%);
    top: -10%;
    left: 20%;
    animation: fluidDrift1 22s ease-in-out infinite;
}
.bg-fluid-blob-2 {
    width: min(45vw, 420px);
    height: min(45vw, 420px);
    background: radial-gradient(circle, rgba(var(--accent-rgb),0.28) 0%, transparent 70%);
    bottom: 5%;
    right: 10%;
    animation: fluidDrift2 26s ease-in-out infinite;
}
.bg-fluid-blob-3 {
    width: min(35vw, 320px);
    height: min(35vw, 320px);
    background: radial-gradient(circle, rgba(139,92,246,0.25) 0%, transparent 70%);
    top: 40%;
    left: 55%;
    animation: fluidDrift3 18s ease-in-out infinite;
}
@keyframes fluidDrift1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(8vw, 6vh) scale(1.08); }
    66% { transform: translate(-4vw, 10vh) scale(0.95); }
}
@keyframes fluidDrift2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-10vw, -8vh) scale(1.12); }
}
@keyframes fluidDrift3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(6vw, -6vh); }
}

.content {
    position: relative;
    z-index: 1;
    opacity: 1;
    transform: none;
    animation: contentFadeIn 0.55s cubic-bezier(0.16,1,0.3,1);
}
@keyframes contentFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}
.content.page-ready {
    opacity: 1;
    transform: none;
}

/* ========== MESH & GRID BACKGROUND ========== */
.bg-mesh {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(at 20% 30%, rgba(99,102,241,0.12) 0px, transparent 50%),
        radial-gradient(at 80% 20%, rgba(6,182,212,0.08) 0px, transparent 45%),
        radial-gradient(at 60% 80%, rgba(139,92,246,0.06) 0px, transparent 50%);
    animation: meshShift 20s ease-in-out infinite alternate;
}
@keyframes meshShift {
    0% { opacity: 0.85; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.05); }
}
.bg-grid {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 75%);
}
/* cursor-glow removed */

/* ========== CURSOR DOT ONLY ========== */
.custom-cursor {
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 99999;
}
.cursor-dot {
    position: fixed;
    width: 8px; height: 8px;
    background: var(--hero-gradient);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.25s cubic-bezier(0.34,1.56,0.64,1), height 0.25s cubic-bezier(0.34,1.56,0.64,1), opacity 0.2s;
    box-shadow: 0 0 12px rgba(99,102,241,0.6);
}

/* ========== ANIMATED BACKGROUND ========== */
.bg-glow {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.bg-glow::before {
    content: '';
    position: absolute;
    top: -40%; left: -20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(99,102,241,0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatOrb1 25s ease-in-out infinite;
}
.bg-glow::after {
    content: '';
    position: absolute;
    bottom: -30%; right: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(6,182,212,0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatOrb2 30s ease-in-out infinite;
}
@keyframes floatOrb1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(15vw, 10vh) scale(1.1); }
    50% { transform: translate(5vw, -5vh) scale(0.95); }
    75% { transform: translate(-10vw, 15vh) scale(1.05); }
}
@keyframes floatOrb2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-12vw, -8vh) scale(1.08); }
    66% { transform: translate(10vw, 5vh) scale(0.92); }
}
.bg-glow::before {
    content: '';
    position: absolute;
    top: -40%; left: -20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(99,102,241,0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatOrb1 25s ease-in-out infinite;
}
.bg-glow::after {
    content: '';
    position: absolute;
    bottom: -30%; right: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(6,182,212,0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatOrb2 30s ease-in-out infinite;
}
@keyframes floatOrb1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(15vw, 10vh) scale(1.1); }
    50% { transform: translate(5vw, -5vh) scale(0.95); }
    75% { transform: translate(-10vw, 15vh) scale(1.05); }
}
@keyframes floatOrb2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-10vw, -10vh) scale(1.15); }
    66% { transform: translate(8vw, 5vh) scale(0.9); }
}


/* ========== PARTICLES (legacy – disabled for performance) ========== */
.particles {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
}
.particle {
    position: absolute;
    width: 3px; height: 3px;
    background: rgba(99,102,241,0.4);
    border-radius: 50%;
    animation: particleFloat linear infinite;
}
.particle:nth-child(2n) { background: rgba(6,182,212,0.3); width: 2px; height: 2px; }
.particle:nth-child(3n) { background: rgba(139,92,246,0.3); animation-duration: 20s; }
@keyframes particleFloat {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-10vh) rotate(720deg); opacity: 0; }
}

/* ========== NAVBAR ========== */
.navbar {
    background: var(--nav-bg);
    backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid transparent;
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0 24px;
    transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.navbar.scrolled {
    background: var(--nav-bg-scrolled);
    border-bottom-color: var(--border);
    box-shadow: var(--shadow);
}
.navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 68px;
}
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 900;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    flex-shrink: 0;
}
.navbar-logo {
    height: 32px;
    border-radius: 8px;
    flex-shrink: 0;
}
.navbar-links {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    justify-content: center;
}
@media (max-width: 768px) {
    .navbar-inner { flex-wrap: wrap; height: auto; padding: 12px 0; }
    .navbar-links { order: 3; width: 100%; justify-content: center; flex-wrap: wrap; }
    .navbar-actions { margin-left: auto; }
}
.navbar-links a {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    position: relative;
}
.navbar-links a:hover {
    color: var(--text);
    background: var(--bg-card);
}
.navbar-links a.active {
    color: var(--primary-light);
    background: rgba(var(--primary-rgb),0.12);
}

/* ========== BUTTONS (Modern Glass) ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 24px;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.34,1.2,0.64,1), box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.2px;
    isolation: isolate;
    backdrop-filter: blur(8px);
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}
.btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
    transition: left 0.55s ease;
    pointer-events: none;
}
.btn:hover::before { left: 100%; }
.btn:active { transform: scale(0.96); }
.btn .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    transform: scale(0);
    animation: rippleExpand 0.55s ease-out forwards;
    pointer-events: none;
}

.btn-primary {
    background: var(--primary-gradient);
    background-size: 200% 200%;
    color: #fff;
    border-color: rgba(255,255,255,0.12);
    box-shadow: 0 4px 24px rgba(var(--primary-rgb),0.35);
    animation: gradientShift 5s ease infinite;
}
.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 36px rgba(var(--primary-rgb),0.45);
}
.btn-glow::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    background: var(--primary-gradient);
    opacity: 0.35;
    filter: blur(14px);
    z-index: -1;
    transition: opacity 0.3s;
}
.btn-glow:hover::after { opacity: 0.65; }
.btn-ghost {
    background: var(--btn-glass);
    color: var(--text-muted);
    border-color: var(--border);
}
.btn-ghost:hover {
    color: var(--text-bright);
    background: var(--bg-card-hover);
    border-color: var(--border-light);
    transform: translateY(-1px);
}
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.btn-outline {
    background: var(--btn-glass);
    color: var(--text);
    border-color: var(--border-light);
}
.btn-outline:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary);
    color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(var(--primary-rgb),0.15);
}

.btn-success {
    background: linear-gradient(135deg, #059669, #10b981);
    color: white;
    box-shadow: 0 4px 20px rgba(16,185,129,0.3);
}
.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(16,185,129,0.45);
}

.btn-danger {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: white;
    box-shadow: 0 4px 20px rgba(239,68,68,0.25);
}
.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(239,68,68,0.4);
}

.btn-sm { padding: 6px 14px; font-size: 0.8rem; border-radius: 8px; }
.btn-lg { padding: 15px 36px; font-size: 1.1rem; border-radius: 14px; }

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* ========== CONTAINER ========== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ========== HERO ========== */
.hero {
    min-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 24px;
    position: relative;
    overflow: hidden;
}
.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 720px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary-light);
    background: rgba(var(--primary-rgb),0.12);
    border: 1px solid rgba(var(--primary-rgb),0.25);
    margin-bottom: 28px;
    letter-spacing: 0.2px;
    backdrop-filter: blur(12px);
}
.hero-title {
    position: relative;
    display: inline-block;
    margin-bottom: 24px;
    line-height: 1;
}
.hero-title-main {
    display: block;
    font-size: clamp(3.2rem, 9vw, 5.8rem);
    font-weight: 900;
    letter-spacing: -3px;
    color: var(--text-bright);
    position: relative;
    z-index: 2;
    animation: heroTitleReveal 1.1s cubic-bezier(0.16,1,0.3,1) backwards;
}
.hero-title-glow {
    position: absolute;
    inset: 0;
    z-index: 1;
    font-size: inherit;
    font-weight: 900;
    letter-spacing: -3px;
    background: var(--hero-gradient);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(20px);
    opacity: 0.55;
    animation: gradientText 6s ease infinite, titleGlowPulse 4s ease-in-out infinite;
    pointer-events: none;
    user-select: none;
}
@keyframes heroTitleReveal {
    0% { opacity: 0; transform: translateY(48px) scale(0.88); letter-spacing: 4px; filter: blur(8px); }
    60% { filter: blur(0); }
    100% { opacity: 1; transform: translateY(0) scale(1); letter-spacing: -3px; filter: blur(0); }
}
@keyframes titleGlowPulse {
    0%, 100% { opacity: 0.45; transform: scale(1); }
    50% { opacity: 0.75; transform: scale(1.02); }
}
.gradient-text-animated {
    background: var(--hero-gradient);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientText 6s ease infinite;
}
@keyframes gradientText {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
.hero-enter {
    opacity: 0;
    transform: translateY(32px);
    animation: pageEnterUp 0.85s cubic-bezier(0.16,1,0.3,1) forwards;
}
.hero-enter-1 { animation-delay: 0.2s; }
.hero-enter-2 { animation-delay: 0.35s; }
.hero-enter-3 { animation-delay: 0.5s; }
.hero-enter-4 { animation-delay: 0.65s; }
.hero-enter-5 { animation-delay: 0.8s; }
.hero-enter-6 { animation-delay: 1s; }
@keyframes pageEnterUp {
    to { opacity: 1; transform: translateY(0); }
}
.hero-scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    text-decoration: none;
    z-index: 3;
    transition: color 0.3s;
}
.hero-scroll-hint:hover { color: var(--primary-light); }
.hero-scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, transparent, var(--primary), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}
.hero-scroll-mouse {
    width: 22px;
    height: 34px;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    position: relative;
}
.hero-scroll-mouse::after {
    content: '';
    position: absolute;
    top: 6px; left: 50%;
    width: 3px; height: 8px;
    background: var(--primary);
    border-radius: 3px;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}
@keyframes scrollWheel {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.3; transform: translateX(-50%) translateY(10px); }
}
.hero-scroll-text {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}
.hero h1 {
    font-size: clamp(3rem, 7vw, 5rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 20px;
    letter-spacing: -2px;
}
.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.8;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}
.hero-stats {
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 16px 28px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 20px;
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
}
.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
    min-width: 100px;
}
.hero-stat-value {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-bright);
    line-height: 1.2;
}
.hero-stat-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 4px;
    font-weight: 500;
}
.hero-stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border);
}
.pulse-dot::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    margin-left: 6px;
    vertical-align: middle;
    box-shadow: 0 0 12px var(--success);
    animation: pulse 2s ease-in-out infinite;
}
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}
.hero-orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(99,102,241,0.2);
    top: 10%;
    right: 5%;
    animation: floatOrb1 18s ease-in-out infinite;
}
.hero-orb-2 {
    width: 300px;
    height: 300px;
    background: rgba(6,182,212,0.15);
    bottom: 15%;
    left: 8%;
    animation: floatOrb2 22s ease-in-out infinite;
}
.animate-fade-up {
    animation: heroIn 1s cubic-bezier(0.16,1,0.3,1) backwards;
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.45s; }
@keyframes heroIn {
    from { opacity: 0; transform: translateY(40px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ========== SCROLL REVEAL ========== */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ========== PAGE HEADER ========== */
.page-header-section { position: relative; }
.page-header {
    text-align: center;
    margin-bottom: 48px;
}
.page-header-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent-light);
    background: rgba(6,182,212,0.1);
    border: 1px solid rgba(6,182,212,0.25);
    margin-bottom: 16px;
}
.page-header-count {
    display: inline-block;
    margin-top: 12px;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #a5b4fc;
    background: rgba(99,102,241,0.12);
    border: 1px solid rgba(99,102,241,0.3);
    letter-spacing: 0.02em;
}
.page-header h1 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 10px;
}
.page-header p {
    color: var(--text-muted);
    font-size: 1rem;
}
.category-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 20px;
    padding-left: 12px;
    border-left: 4px solid var(--primary);
}

/* ========== CARDS ========== */
.card {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    backdrop-filter: blur(16px);
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}
.card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(99,102,241,0.25);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.card-header h3 { font-size: 1.1rem; font-weight: 700; }

/* ========== FORM ========== */
.form-group { margin-bottom: 20px; }
.form-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}
.form-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border);
    background: var(--input-bg);
    color: var(--text);
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    outline: none;
}
.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99,102,241,0.15);
    background: rgba(255,255,255,0.05);
}
.form-input::placeholder { color: var(--text-muted); }

.form-select {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border);
    background: var(--input-bg);
    color: var(--text);
    font-size: 0.95rem;
    cursor: pointer;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    transition: all 0.3s;
}
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99,102,241,0.15);
}
.form-select option { background: var(--surface); color: var(--text); }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-help { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; }

/* ========== VERIFY ========== */
.verify-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}
.verify-box {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 48px;
    max-width: 520px;
    width: 100%;
    text-align: center;
    backdrop-filter: blur(20px);
    animation: heroIn 0.8s cubic-bezier(0.16,1,0.3,1);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}
.verify-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}
.verify-box h2 { font-size: 1.8rem; margin-bottom: 8px; color: var(--text-bright); }
.verify-box p { color: var(--text-muted); margin-bottom: 32px; }

.key-input-wrapper {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}
.key-input-wrapper .form-input {
    flex: 1;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
}
.key-input-wrapper .btn { flex-shrink: 0; }

.verify-result {
    padding: 20px;
    border-radius: var(--radius);
    margin-top: 20px;
    animation: heroIn 0.4s cubic-bezier(0.16,1,0.3,1);
    display: none;
}
.verify-result.valid { display: block; background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.3); }
.verify-result.invalid { display: block; background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); }

/* ========== TOAST ========== */
.toast-container {
    position: fixed;
    top: 84px;
    right: 24px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.toast {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 500;
    backdrop-filter: blur(20px);
    animation: toastIn 0.5s cubic-bezier(0.16,1,0.3,1);
    max-width: 380px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.toast-success { background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.3); color: var(--success); }
.toast-error { background: rgba(239,68,68,0.15); border: 1px solid rgba(239,68,68,0.3); color: var(--error); }
.toast-info { background: rgba(99,102,241,0.15); border: 1px solid rgba(99,102,241,0.3); color: var(--primary-light); }
@keyframes toastIn {
    from { opacity: 0; transform: translateX(80px) scale(0.9); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes slideOut {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(80px); }
}

/* ========== MODAL ========== */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease-out;
}
.modal-overlay.active { display: flex; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal {
    background: var(--modal-bg);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 32px;
    max-width: 500px;
    width: 92%;
    max-height: 85vh;
    overflow-y: auto;
    animation: modalIn 0.4s cubic-bezier(0.16,1,0.3,1);
    box-shadow: var(--shadow-lg);
}
@keyframes modalIn {
    from { opacity: 0; transform: scale(0.92) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}
.modal-header h3 { font-size: 1.3rem; font-weight: 700; color: var(--text-bright); }
.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.6rem;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 8px;
    transition: all 0.3s;
}
.modal-close:hover { background: var(--bg-card); color: var(--text); }
.modal-lg { max-width: 640px; }

/* ========== ADMIN LAYOUT ========== */
.admin-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    min-height: calc(100vh - 68px);
}
.admin-sidebar {
    background: rgba(255,255,255,0.015);
    border-right: 1px solid var(--border);
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.sidebar-top { flex: 1; }
.sidebar-bottom {
    border-top: 1px solid var(--border);
    padding-top: 8px;
    margin-top: 8px;
}
.admin-sidebar a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    border-left: 3px solid transparent;
}
.admin-sidebar a:hover {
    color: var(--text);
    background: rgba(255,255,255,0.03);
}
.admin-sidebar a.active {
    color: var(--primary-light);
    background: rgba(99,102,241,0.08);
    border-left-color: var(--primary);
}
.admin-content {
    padding: 32px;
    overflow-y: auto;
}
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}
.section-header h2 { font-size: 1.8rem; font-weight: 800; color: var(--text-bright); }
.header-actions { display: flex; gap: 8px; }

/* ========== STATS ========== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}
.stat-card {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    position: relative;
    overflow: hidden;
}
.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s;
}
.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
    border-color: rgba(99,102,241,0.2);
}
.stat-card:hover::before { opacity: 1; }
.stat-card .stat-value {
    font-size: 2.2rem;
    font-weight: 900;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}
.stat-card .stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 6px;
    font-weight: 500;
}

/* ========== TABLE ========== */
.table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
thead { background: rgba(255,255,255,0.02); }
th {
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-bottom: 1px solid var(--border);
}
td {
    padding: 13px 16px;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
}
tr:hover td { background: rgba(255,255,255,0.02); }
tr:last-child td { border-bottom: none; }

/* ========== BADGES ========== */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}
.badge-primary { background: rgba(99,102,241,0.12); color: var(--primary-light); border: 1px solid rgba(99,102,241,0.25); }
.badge-success { background: rgba(16,185,129,0.1); color: var(--success); border: 1px solid rgba(16,185,129,0.25); }
.badge-secondary { background: rgba(255,255,255,0.06); color: var(--text-muted); border: 1px solid var(--border); }
.badge-danger { background: rgba(239,68,68,0.1); color: var(--error); border: 1px solid rgba(239,68,68,0.25); }
.badge-warning { background: rgba(245,158,11,0.1); color: var(--warning); border: 1px solid rgba(245,158,11,0.25); }
.badge-info { background: rgba(6,182,212,0.1); color: var(--accent-light); border: 1px solid rgba(6,182,212,0.25); }

/* ========== KEY CODE ========== */
.key-code {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--primary-light);
    background: rgba(99,102,241,0.08);
    padding: 4px 10px;
    border-radius: 6px;
}
.key-display {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary-light);
    background: rgba(99,102,241,0.08);
    padding: 10px 16px;
    border-radius: 8px;
    display: inline-block;
}

/* ========== GAMES (INDEX) ========== */
.game-store {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}
.game-card {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    cursor: default;
    position: relative;
    overflow: hidden;
}
.game-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
    transform-origin: left;
}
.game-card:hover {
    transform: translateY(-6px);
    border-color: rgba(99,102,241,0.3);
    box-shadow: 0 20px 50px rgba(99,102,241,0.12);
}
.game-card:hover::before { transform: scaleX(1); }
.game-card .game-icon {
    font-size: 2.8rem;
    margin-bottom: 14px;
    display: block;
    animation: iconFloat 3s ease-in-out infinite;
}
@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
.game-card .game-name {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-bright);
}
.game-card .game-platform {
    font-size: 0.78rem;
    color: var(--text-muted);
}
.game-image {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 14px;
}

/* ========== GAME TAGS ========== */
.game-tag {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 3px 10px;
    border-radius: 6px;
    margin-top: 8px;
}
.game-tag-one-cikan { background: linear-gradient(135deg,#f59e0b,#fbbf24); color:#000; }
.game-tag-firsat { background: linear-gradient(135deg,#ef4444,#f97316); color:#fff; }
.game-tag-ozel { background: linear-gradient(135deg,#8b5cf6,#c084fc); color:#fff; }
.game-tag-yeni { background: linear-gradient(135deg,#14b8a6,#2dd4bf); color:#fff; }
.game-tag-indirim { background: linear-gradient(135deg,#3b82f6,#60a5fa); color:#fff; }
.game-tag-populer { background: linear-gradient(135deg,#eab308,#facc15); color:#000; }

/* ========== GAME GRID (ADMIN) ========== */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
}
.game-card-sm {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
.game-card-sm:hover {
    transform: translateY(-2px);
    border-color: rgba(99,102,241,0.2);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.game-card-icon { font-size: 2rem; flex-shrink: 0; }
.game-card-info { min-width: 0; flex: 1; }
.game-card-name { font-weight: 600; font-size: 0.88rem; }
.game-card-platform { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }

/* ========== KEY CARDS ========== */
.key-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.key-card {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    position: relative;
    overflow: hidden;
}
.key-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px; height: 100%;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s;
}
.key-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
    border-color: rgba(99,102,241,0.2);
}
.key-card:hover::after { opacity: 1; }
.key-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.key-card-header .key-select {
    width: 18px; height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}
.key-card-code {
    flex: 1;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--primary-light);
    word-break: break-all;
}
.key-card-actions { display: flex; gap: 2px; }
.key-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px; height: 30px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
}
.key-action:hover { background: var(--bg-card-hover); color: var(--text); }
.key-action-danger:hover { background: rgba(239,68,68,0.1); color: var(--error); }
.key-card-body { display: flex; flex-direction: column; gap: 6px; }
.key-card-info { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.key-badge {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.key-badge-unused { background: rgba(16,185,129,0.1); color: var(--success); border: 1px solid rgba(16,185,129,0.25); }
.key-badge-used { background: rgba(239,68,68,0.1); color: var(--error); border: 1px solid rgba(239,68,68,0.25); }
.key-badge-expired { background: rgba(245,158,11,0.1); color: var(--warning); border: 1px solid rgba(245,158,11,0.25); }
.key-meta {
    font-size: 0.72rem;
    color: var(--text-muted);
    background: rgba(255,255,255,0.04);
    padding: 2px 8px;
    border-radius: 6px;
}
.key-selection { color: var(--primary-light); }
.key-card-detail { font-size: 0.85rem; color: var(--text); }
.key-card-date { font-size: 0.72rem; color: var(--text-muted); }

/* ========== KEY RESULT ========== */
.key-result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
}
.key-result-item:last-child { border-bottom: none; }

/* ========== FILTER BAR ========== */
.filter-bar {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}
.filter-row { display: flex; gap: 12px; flex-wrap: wrap; }
.filter-input { min-width: 200px; }
.filter-select { min-width: 140px; }
.filter-actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }

/* ========== PACKAGES ========== */
.package-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.package-list { display: flex; flex-direction: column; gap: 12px; }
.package-card {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
.package-card:hover {
    border-color: rgba(99,102,241,0.3);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}
.package-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.package-name { font-weight: 700; font-size: 0.95rem; }
.package-duration { font-size: 0.82rem; color: var(--text-muted); }
.package-card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--text-muted);
}
.package-detail {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    min-height: 200px;
}

/* ========== TOGGLE SWITCH ========== */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px; height: 24px;
    cursor: pointer;
    flex-shrink: 0;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.08);
    border-radius: 24px;
    transition: all 0.3s;
}
.toggle-slider:before {
    content: '';
    position: absolute;
    width: 18px; height: 18px;
    left: 3px; bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
.toggle-switch input:checked + .toggle-slider { background: var(--primary-gradient); }
.toggle-switch input:checked + .toggle-slider:before { transform: translateX(20px); }

/* ========== EMPTY STATE ========== */
.empty-state {
    text-align: center;
    padding: 60px 24px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.empty-state .empty-icon { font-size: 3rem; margin-bottom: 16px; }
.empty-state h3 { font-size: 1.3rem; margin-bottom: 8px; color: var(--text-bright); }
.empty-state p { color: var(--text-muted); margin-bottom: 20px; }

/* ========== ICON BUTTONS ========== */
.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-icon:hover { background: var(--bg-card); color: var(--text); border-color: var(--primary); }
.btn-icon-danger:hover { background: rgba(239,68,68,0.1); color: var(--error); border-color: var(--error); }

/* ========== PERMISSIONS ========== */
.perm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 8px;
}
.perm-check {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    user-select: none;
}
.perm-check:hover { background: rgba(255,255,255,0.04); border-color: rgba(99,102,241,0.2); }
.perm-input { width: 18px; height: 18px; accent-color: var(--primary); cursor: pointer; }
.perm-check-label { font-size: 0.82rem; font-weight: 500; cursor: pointer; }
.perm-dots { display: flex; gap: 4px; flex-wrap: wrap; }
.perm-dot { font-size: 0.85rem; opacity: 0.8; }

/* ========== PROFILE ========== */
.profile-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 32px;
}
.profile-avatar {
    width: 68px; height: 68px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(99,102,241,0.3);
}
.profile-info { min-width: 0; }
.profile-username { font-size: 1.3rem; font-weight: 700; color: var(--text-bright); }
.profile-role { margin-top: 4px; }

/* ========== SPINNER ========== */
.spinner {
    width: 40px; height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 20px auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ========== FLASH ========== */
.flash-messages { max-width: 400px; margin: 20px auto; }
.flash {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    margin-bottom: 8px;
    animation: heroIn 0.3s ease-out;
}
.flash.error { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3); color: var(--error); }
.flash.success { background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.3); color: var(--success); }

/* ========== FOOTER ========== */
.footer {
    text-align: center;
    padding: 40px 32px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.82rem;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.2));
}
.footer p {
    background: linear-gradient(90deg, var(--text-muted), var(--primary-light), var(--text-muted));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: footerShine 8s linear infinite;
}
@keyframes footerShine {
    to { background-position: 200% center; }
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--scrollbar-thumb); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(var(--primary-rgb),0.25); }

/* ========== TEXT ========== */
.text-muted { color: var(--text-muted); }

/* ========== UIVERSE SEARCH BAR (Lakshay-art) ========== */
/* From Uiverse.io by Lakshay-art */
.search-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}
.grid {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 30%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
#poda {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 500px;
  max-width: 90vw;
  height: 70px;
}
#poda .glow {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 60px;
  background: rgba(168, 85, 247, 0.15);
  filter: blur(30px);
  z-index: 0;
  animation: glowPulse 3s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}
#poda .darkBorderBg {
  position: absolute;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  border-radius: 62px;
  background: linear-gradient(135deg, rgba(168,85,247,0.3), rgba(236,72,153,0.2), rgba(59,130,246,0.2));
  z-index: 0;
  opacity: 0.4;
}
#poda .white {
  position: absolute;
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  border-radius: 60px;
  background: #0f0f1a;
  z-index: 1;
  border: 1px solid rgba(255,255,255,0.06);
}
#poda .border {
  position: absolute;
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  border-radius: 60px;
  z-index: 1;
  pointer-events: none;
  border: 1px solid rgba(168,85,247,0.15);
  transition: border-color 0.3s;
}
#poda:focus-within .border {
  border-color: rgba(168,85,247,0.5);
}
#main {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  z-index: 2;
  padding: 0 16px;
  gap: 8px;
}
#main .input {
  flex: 1;
  height: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: #e2e8f0;
  font-size: 1rem;
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  padding: 0 8px;
  letter-spacing: 0.3px;
}
#main .input::placeholder {
  color: rgba(255,255,255,0.25);
  font-weight: 400;
}
#input-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 60px;
  pointer-events: none;
  z-index: -1;
  background: linear-gradient(135deg, rgba(168,85,247,0.03), transparent);
}
#pink-mask {
  position: absolute;
  top: -2px;
  left: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  border-radius: 62px;
  pointer-events: none;
  z-index: -1;
  background: linear-gradient(135deg, rgba(236,72,153,0.08), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
}
#poda:focus-within #pink-mask {
  opacity: 1;
}
.filterBorder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  cursor: pointer;
  transition: all 0.3s;
  flex-shrink: 0;
}
.filterBorder:hover {
  background: rgba(168,85,247,0.1);
  border-color: rgba(168,85,247,0.3);
}
#filter-icon svg,
#search-icon svg {
  display: block;
}
#filter-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}
#search-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  margin-right: 4px;
}


/* ========== AUTH ========== */
.auth-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}
.auth-box {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    max-width: 420px;
    width: 100%;
    backdrop-filter: blur(20px);
    animation: heroIn 0.8s cubic-bezier(0.16,1,0.3,1);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}
.auth-box::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(99,102,241,0.4), transparent, rgba(6,182,212,0.3));
    -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;
}
.auth-box h2 { font-size: 1.6rem; margin-bottom: 24px; text-align: center; color: var(--text-bright); }
.auth-box .auth-alt { text-align: center; margin-top: 20px; font-size: 0.88rem; color: var(--text-muted); }

/* ========== ANIMATIONS ========== */
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.animate-pulse { animation: pulse 2s ease-in-out infinite; }
.animate-bounce { animation: bounce 2s ease-in-out infinite; }

/* ========== STEPS SECTION ========== */
.steps-section {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 48px 32px;
    text-align: center;
    backdrop-filter: blur(16px);
}
.section-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-bright);
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}
.section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 40px;
}
.steps-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.step-card {
    flex: 1;
    min-width: 200px;
    max-width: 260px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 48px 20px 28px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    position: relative;
}
.step-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(99,102,241,0.35);
    box-shadow: 0 16px 48px rgba(99,102,241,0.12);
}
.step-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(99,102,241,0.06), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}
.step-card:hover::after { opacity: 1; }
.step-number {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px; height: 28px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    color: white;
    box-shadow: 0 4px 12px rgba(99,102,241,0.4);
}
.step-icon {
    font-size: 2.5rem;
    margin-bottom: 14px;
    display: block;
}
.step-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-bright);
}
.step-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.step-arrow {
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
    animation: pulse 2s ease-in-out infinite;
}

/* ========== ADVANTAGES ========== */
.advantages-section {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 48px 32px;
    text-align: center;
    backdrop-filter: blur(16px);
}
.advantages-grid {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.advantage-card {
    flex: 1;
    min-width: 240px;
    max-width: 320px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.advantage-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99,102,241,0.25);
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}
.advantage-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(99,102,241,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 18px;
}
.advantage-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-bright);
}
.advantage-card p {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 14px;
}
.advantage-badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 20px;
    background: rgba(99,102,241,0.1);
    color: var(--primary-light);
    font-size: 0.78rem;
    font-weight: 600;
    margin-top: auto;
}

/* ========== REVIEWS ========== */
.reviews-section {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 48px 32px;
    backdrop-filter: blur(16px);
}
.reviews-grid {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.review-card {
    flex: 1;
    min-width: 260px;
    max-width: 340px;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 24px;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    display: flex;
    flex-direction: column;
}
.review-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99,102,241,0.25);
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}
.review-stars {
    font-size: 1.1rem;
    margin-bottom: 14px;
    letter-spacing: 2px;
}
.review-text {
    font-size: 0.88rem;
    color: var(--text);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 20px;
    flex: 1;
}
.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}
.review-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-bright);
}
.review-verified {
    font-size: 0.75rem;
    color: var(--primary-light);
    font-weight: 500;
}

/* ========== PRODUCTS GRID ========== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
}
.product-card {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    cursor: default;
    position: relative;
    overflow: hidden;
}
.product-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform 0.3s;
    transform-origin: left;
}
.product-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(99,102,241,0.35);
    box-shadow: 0 16px 40px rgba(99,102,241,0.15);
}
.product-card:hover::before { transform: scaleX(1); }
.product-card:hover .product-image {
    transform: scale(1.05);
}
.product-image {
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.product-icon-wrap {
    font-size: 2.2rem;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.product-image-wrap {
    position: relative;
    margin-bottom: 10px;
}
.product-image {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
}
.product-info { }
.product-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.product-platform {
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* ========== VERIFY ========== */
.verify-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
    animation: iconFloat 3s ease-in-out infinite;
}
.verify-secure {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 16px;
    text-align: center;
}

/* ========== INFO ROW ========== */
.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.88rem;
}
.info-row:last-child { border-bottom: none; }

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .admin-layout { grid-template-columns: 1fr; }
    .admin-sidebar {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        padding: 0;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }
    .admin-sidebar .sidebar-top { display: flex; flex: 0 0 auto; }
    .admin-sidebar .sidebar-bottom { display: flex; border-top: none; padding-top: 0; margin-top: 0; flex: 0 0 auto; }
    .admin-sidebar a {
        padding: 12px 16px;
        border-left: none;
        border-bottom: 3px solid transparent;
        white-space: nowrap;
    }
    .admin-sidebar a.active { border-left-color: transparent; border-bottom-color: var(--primary); }
    .admin-content { padding: 16px; }
    .verify-box { padding: 24px; }
    .key-input-wrapper { flex-direction: column; }
    .form-row { grid-template-columns: 1fr; }
    .package-layout { grid-template-columns: 1fr; }
    .perm-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .game-store { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
    .steps-grid { flex-direction: column; }
    .step-arrow { transform: rotate(90deg); }
    .advantages-grid { flex-direction: column; align-items: center; }
    .reviews-grid { flex-direction: column; align-items: center; }
    .products-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
    .hero-stats { flex-direction: column; gap: 12px; padding: 20px; }
    .hero-stat-divider { width: 60px; height: 1px; }
    .hero-stat { padding: 8px 0; }
}
.selectable-row { cursor: pointer; }
.selectable-row.selected { background: rgba(99,102,241,0.08); outline: 2px solid var(--primary); outline-offset: -2px; border-radius: 8px; }
.selectable-card { cursor: pointer; position: relative; }
.selectable-card.selected { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 12px; }
.selectable-card.dragging { opacity: 0.4; }
.selectable-card.drag-over { border-color: var(--primary); box-shadow: 0 0 20px rgba(99,102,241,0.3); transform: scale(1.02); }

/* ========== PREMIUM FX (GLOBAL) ========== */
.bg-aurora {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
    background:
        linear-gradient(125deg, transparent 40%, rgba(99,102,241,0.04) 50%, transparent 60%),
        linear-gradient(245deg, transparent 40%, rgba(6,182,212,0.03) 50%, transparent 60%);
    background-size: 200% 200%;
    animation: auroraFlow 15s ease-in-out infinite;
}
@keyframes auroraFlow {
    0%, 100% { background-position: 0% 50%, 100% 50%; }
    50% { background-position: 100% 50%, 0% 50%; }
}

.float-shapes {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.float-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.35;
}
.float-shape-1 {
    width: 280px; height: 280px;
    background: rgba(99,102,241,0.25);
    top: 15%; left: -5%;
    animation: shapeDrift1 22s ease-in-out infinite;
}
.float-shape-2 {
    width: 200px; height: 200px;
    background: rgba(6,182,212,0.2);
    bottom: 20%; right: -3%;
    animation: shapeDrift2 26s ease-in-out infinite;
}
.float-shape-3 {
    width: 160px; height: 160px;
    background: rgba(139,92,246,0.18);
    top: 55%; left: 40%;
    animation: shapeDrift3 18s ease-in-out infinite;
}
@keyframes shapeDrift1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(8vw, 12vh) rotate(180deg); }
}
@keyframes shapeDrift2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-6vw, -8vh); }
}
@keyframes shapeDrift3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(5vw, -5vh) scale(1.2); }
}

.particles-global {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.particles-global .particle {
    width: 4px; height: 4px;
    box-shadow: 0 0 8px rgba(99,102,241,0.5);
}
.particle-glow {
    width: 6px !important; height: 6px !important;
    box-shadow: 0 0 14px rgba(6,182,212,0.6) !important;
}

/* Nav link underline */
.nav-link-fx {
    position: relative;
    overflow: hidden;
}
.nav-link-fx::after {
    content: '';
    position: absolute;
    bottom: 4px; left: 50%;
    width: 0; height: 2px;
    background: var(--primary-gradient);
    border-radius: 2px;
    transition: width 0.35s cubic-bezier(0.4,0,0.2,1), left 0.35s cubic-bezier(0.4,0,0.2,1);
}
.nav-link-fx:hover::after,
.nav-link-fx.active::after {
    width: calc(100% - 24px);
    left: 12px;
}

/* 3D tilt + shine */
.fx-tilt {
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out, box-shadow 0.4s ease;
    will-change: transform;
}
.fx-shine {
    position: relative;
    overflow: hidden;
}
.fx-shine::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
    pointer-events: none;
    z-index: 2;
}
.fx-shine:hover::before {
    left: 150%;
}

.icon-bounce {
    display: inline-block;
    animation: iconBounce 3s ease-in-out infinite;
}
@keyframes iconBounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-8px) scale(1.05); }
}

.animate-scale-in {
    animation: scaleIn 0.85s cubic-bezier(0.16,1,0.3,1) backwards;
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.92) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.auth-icon-wrap {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 12px;
    filter: drop-shadow(0 0 20px rgba(99,102,241,0.4));
}

/* Ripple on buttons */
.btn {
    isolation: isolate;
}
.btn .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    transform: scale(0);
    animation: rippleExpand 0.6s ease-out forwards;
    pointer-events: none;
}
@keyframes rippleExpand {
    to { transform: scale(4); opacity: 0; }
}

/* Form inputs glow */
.form-input,
.form-select {
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.2s;
}
.form-input:focus,
.form-select:focus {
    transform: translateY(-1px);
    animation: inputPulse 2s ease-in-out infinite;
}
@keyframes inputPulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(99,102,241,0.12); }
    50% { box-shadow: 0 0 0 6px rgba(99,102,241,0.2); }
}

/* Table row reveal */
table tbody tr {
    opacity: 0;
    transform: translateX(-12px);
    transition: opacity 0.5s ease, transform 0.5s ease, background 0.2s;
}
table tbody tr.row-revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Stat cards pop */
.stat-card {
    animation: statPop 0.6s cubic-bezier(0.16,1,0.3,1) backwards;
}
.stat-card:nth-child(1) { animation-delay: 0.05s; }
.stat-card:nth-child(2) { animation-delay: 0.1s; }
.stat-card:nth-child(3) { animation-delay: 0.15s; }
.stat-card:nth-child(4) { animation-delay: 0.2s; }
.stat-card:nth-child(5) { animation-delay: 0.25s; }
.stat-card:nth-child(6) { animation-delay: 0.3s; }
@keyframes statPop {
    from { opacity: 0; transform: translateY(24px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Key cards stagger */
.key-card.revealed {
    animation: cardSlideUp 0.55s cubic-bezier(0.16,1,0.3,1) backwards;
}

/* Admin sidebar */
.admin-sidebar a {
    transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
}
.admin-sidebar a:hover {
    transform: translateX(4px);
    padding-left: 28px;
}
.admin-tab-content {
    animation: tabFadeIn 0.45s cubic-bezier(0.16,1,0.3,1);
}
@keyframes tabFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Modal enhanced */
.modal-overlay.active {
    animation: fadeIn 0.25s ease-out;
}
.modal-overlay.active .modal {
    animation: modalBounce 0.5s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes modalBounce {
    from { opacity: 0; transform: scale(0.85) translateY(30px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Badge pulse */
.badge-success {
    animation: badgeGlow 2.5s ease-in-out infinite;
}
@keyframes badgeGlow {
    0%, 100% { box-shadow: 0 0 0 rgba(16,185,129,0); }
    50% { box-shadow: 0 0 12px rgba(16,185,129,0.35); }
}

/* Step arrow flow */
.step-arrow {
    animation: arrowFlow 1.5s ease-in-out infinite;
}
@keyframes arrowFlow {
    0%, 100% { transform: translateX(0); opacity: 0.7; }
    50% { transform: translateX(6px); opacity: 1; }
}

/* Product card image shine ring */
.product-card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(99,102,241,0.5), transparent, rgba(6,182,212,0.4));
    -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;
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}
.product-card:hover::after { opacity: 1; }

/* Review stars twinkle */
.review-stars {
    animation: starTwinkle 3s ease-in-out infinite;
}
@keyframes starTwinkle {
    0%, 100% { opacity: 1; filter: brightness(1); }
    50% { opacity: 0.85; filter: brightness(1.2); }
}

/* Flash messages */
.flash {
    animation: flashSlide 0.5s cubic-bezier(0.16,1,0.3,1);
}
@keyframes flashSlide {
    from { opacity: 0; transform: translateY(-16px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Spinner glow */
.spinner {
    box-shadow: 0 0 20px rgba(99,102,241,0.3);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .fx-tilt { transform: none !important; }
    table tbody tr { opacity: 1; transform: none; }
}


/* ========== PURPLE-BLUE GRADIENT BG ENHANCEMENTS ========== */
.bg-mesh {
    background:
        radial-gradient(at 20% 30%, var(--mesh-purple) 0px, transparent 50%),
        radial-gradient(at 80% 20%, var(--mesh-cyan) 0px, transparent 45%),
        radial-gradient(at 60% 80%, rgba(139,92,246,0.06) 0px, transparent 50%);
}


/* ========== STORE PRODUCT CARDS (SteamGridDB style) ========== */
.products-grid-store {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
@media (min-width: 540px) {
    .products-grid-store { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
@media (min-width: 900px) {
    .products-grid-store { grid-template-columns: repeat(4, 1fr); gap: 18px; }
}
@media (min-width: 1200px) {
    .products-grid-store { grid-template-columns: repeat(6, 1fr); gap: 16px; }
}

.store-card {
    display: flex;
    flex-direction: column;
    background: rgba(18,18,28,0.85);
    border: 1.5px solid var(--store-border);
    border-radius: 12px;
    overflow: hidden;
    text-align: left;
    transition: transform 0.4s cubic-bezier(0.34,1.2,0.64,1), box-shadow 0.4s ease, border-color 0.3s;
    position: relative;
    will-change: transform;
}
.store-card:hover {
    transform: translateY(-8px) scale(1.03);
    border-color: var(--store-accent);
    box-shadow:
        0 20px 50px rgba(249,115,22,0.2),
        0 0 0 1px rgba(249,115,22,0.15),
        inset 0 0 30px rgba(249,115,22,0.03);
}
.store-card-cover {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: linear-gradient(145deg, #1a1a2e, #0f0f1a);
}
.store-card-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4,0,0.2,1), filter 0.4s;
}
.store-card:hover .store-card-media {
    transform: scale(1.08);
    filter: brightness(1.08) saturate(1.1);
}
.store-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: linear-gradient(160deg, rgba(99,102,241,0.15), rgba(6,182,212,0.1));
}
.store-card-cover-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, transparent 30%, rgba(255,255,255,0.12) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.7s ease;
    pointer-events: none;
}
.store-card:hover .store-card-cover-shine {
    transform: translateX(100%);
}
.store-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 3;
    font-size: 0.58rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
    animation: badgePulse 2.5s ease-in-out infinite;
}
.store-badge-featured,
.game-tag-one-cikan.store-badge {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: #1a1a1a;
    border: 1px solid rgba(255,255,255,0.3);
}
@keyframes badgePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 12px rgba(249,115,22,0.3); }
    50% { transform: scale(1.04); box-shadow: 0 4px 18px rgba(249,115,22,0.5); }
}
.store-card-body {
    padding: 12px 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: linear-gradient(180deg, rgba(0,0,0,0.2), rgba(0,0,0,0.35));
}
.store-card-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-bright);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.1em;
    margin: 0;
}
.store-platform-pill {
    display: inline-flex;
    align-self: flex-start;
    padding: 3px 12px;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--store-accent-light);
    border: 1px solid var(--store-border);
    background: rgba(249,115,22,0.08);
    transition: all 0.3s;
}
.store-card:hover .store-platform-pill {
    background: rgba(249,115,22,0.15);
    border-color: var(--store-accent);
    color: var(--store-accent);
}
.store-special-pill {
    display: inline-flex;
    align-self: flex-start;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 0.58rem;
    font-weight: 700;
    color: #c084fc;
    border: 1px solid rgba(192,132,252,0.4);
    background: rgba(139,92,246,0.12);
}

/* Homepage performance */
.page-home .bg-fluid { opacity: calc(var(--fluid-opacity) + 0.15); }
.reveal-on-scroll,
.steps-section,
.advantages-section,
.reviews-section {
    content-visibility: auto;
    contain-intrinsic-size: auto 400px;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--bg-dark), transparent);
    pointer-events: none;
    z-index: 1;
}

/* Stagger store cards */
.products-grid-store .store-card {
    opacity: 0;
    transform: translateY(24px) scale(0.95);
    transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s, border-color 0.3s;
}
.products-grid-store .store-card.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}

@media (max-width: 768px) {
    .products-grid-store { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .store-card-title { font-size: 0.72rem; }
}

/* ==========================================================
   ZENITH DASHBOARD â€” SHADCN/UI STYLE ADMIN PANEL
   Ultra-minimal achromatic dark design
   ========================================================== */

.admin-body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-dark);
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -20%, var(--mesh-purple), transparent),
        radial-gradient(ellipse 60% 40% at 100% 50%, var(--mesh-cyan), transparent),
        radial-gradient(ellipse 50% 40% at 0% 80%, var(--mesh-blue), transparent);
    color: var(--text);
    line-height: 1.5;
    min-height: 100vh;
    overflow-x: hidden;
}

.admin-shell {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}
.admin-page-enter {
    animation: adminShellIn 0.7s cubic-bezier(0.16,1,0.3,1) 0.15s both;
}
@keyframes adminShellIn {
    from { opacity: 0; transform: translateY(16px) scale(0.99); }
    to { opacity: 1; transform: none; }
}

/* ---- SIDEBAR ---- */
.zen-sidebar {
    background: #0a0a0a;
    border-right: 1px solid #1f1f1f;
    padding: 20px 14px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}
.zen-sidebar-brand {
    display: flex;
    align-items: center;
    padding: 4px 10px 16px 10px;
    border-bottom: 1px solid #1a1a1a;
    gap: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    color: #fafafa;
    letter-spacing: -0.01em;
}
.zen-brand-mark {
    color: #fafafa;
    font-size: 1.1rem;
    line-height: 1;
}
.zen-brand-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.zen-nav {
    display: flex;
    flex-direction: column;
    gap: 22px;
    flex: 1;
}
.zen-nav-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.zen-nav-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: #6b6b6b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 6px 12px 8px 12px;
}
.zen-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 6px;
    color: #a1a1a1;
    font-size: 0.86rem;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
    text-decoration: none;
    cursor: pointer;
    border-left: 2px solid transparent;
    margin-left: -2px;
}
.zen-nav-item:hover {
    background: #141414;
    color: #fafafa;
}
.zen-nav-item.active {
    background: #141414;
    color: #fafafa;
    border-left-color: #fafafa;
}
.zen-nav-ico {
    width: 16px;
    text-align: center;
    font-size: 1rem;
    line-height: 1;
    color: #737373;
    flex-shrink: 0;
}
.zen-nav-item.active .zen-nav-ico,
.zen-nav-item:hover .zen-nav-ico {
    color: #fafafa;
}

/* ---- MAIN ---- */
.zen-main {
    background: #0a0a0a;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.zen-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid #1a1a1a;
    background: #0a0a0a;
    position: sticky;
    top: 0;
    z-index: 10;
}
.zen-topbar-left { display: flex; flex-direction: column; gap: 2px; }
.zen-topbar-right { display: flex; align-items: center; gap: 12px; }
.zen-page-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #fafafa;
    margin: 0;
    letter-spacing: -0.01em;
}
.zen-page-sub {
    font-size: 0.78rem;
    color: #6b6b6b;
    margin: 0;
}
.zen-role-pill {
    font-size: 0.72rem;
    font-weight: 500;
    color: #d4d4d4;
    background: #171717;
    border: 1px solid #262626;
    padding: 4px 10px;
    border-radius: 999px;
    letter-spacing: 0.01em;
}
.zen-role-pill-muted { color: #737373; }
.zen-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #262626;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fafafa;
    font-weight: 600;
    font-size: 0.82rem;
}
.zen-avatar-lg { width: 64px; height: 64px; font-size: 1.4rem; }

.zen-content {
    padding: 24px 24px 48px 24px;
    flex: 1;
    max-width: 100%;
    width: 100%;
}
.zen-fade { animation: zenFadeIn 0.3s ease-out; }
@keyframes zenFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---- SECTION HEAD ---- */
.zen-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 16px;
    flex-wrap: wrap;
}
.zen-h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fafafa;
    margin: 0 0 4px 0;
    letter-spacing: -0.02em;
}
.zen-h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fafafa;
    margin: 0;
    letter-spacing: -0.01em;
}
.zen-sub {
    font-size: 0.85rem;
    color: #737373;
    margin: 0;
}
.zen-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---- BUTTONS ---- */
.zen-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 0.84rem;
    font-weight: 500;
    border-radius: 6px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}
.zen-btn-sm { padding: 5px 10px; font-size: 0.78rem; }
.zen-btn-block { width: 100%; }
.zen-btn-primary {
    background: #fafafa;
    color: #0a0a0a;
    border-color: #fafafa;
}
.zen-btn-primary:hover { background: #e5e5e5; border-color: #e5e5e5; }
.zen-btn-outline {
    background: transparent;
    color: #d4d4d4;
    border-color: #262626;
}
.zen-btn-outline:hover { background: #171717; color: #fafafa; border-color: #404040; }
.zen-btn-ghost {
    background: transparent;
    color: #a1a1a1;
    border-color: transparent;
}
.zen-btn-ghost:hover { background: #171717; color: #fafafa; }
.zen-btn-danger {
    background: transparent;
    color: #f87171;
    border-color: #7f1d1d;
}
.zen-btn-danger:hover { background: rgba(239,68,68,0.1); color: #fca5a5; }

/* ---- STATS ---- */
.zen-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}
.zen-stat-card {
    background: #0f0f0f;
    border: 1px solid #1f1f1f;
    border-radius: 10px;
    padding: 12px 14px;
    transition: border-color 0.2s, background 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
    align-self: start;
}
.zen-stat-card:hover { border-color: #2a2a2a; background: #131313; }
.zen-stat-card.zen-stat-primary { border-color: rgba(99,102,241,0.4); background: linear-gradient(135deg, rgba(99,102,241,0.08), #0f0f0f); }
.zen-stat-card.zen-stat-warn { border-color: rgba(245,158,11,0.4); background: linear-gradient(135deg, rgba(245,158,11,0.08), #0f0f0f); }
.zen-stat-icon {
    font-size: 1.4rem;
    line-height: 1;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99,102,241,0.1);
    border-radius: 10px;
}
.zen-stat-card.zen-stat-warn .zen-stat-icon { background: rgba(245,158,11,0.15); }
.zen-stat-content { flex: 1; min-width: 0; }
.zen-stat-label {
    font-size: 0.7rem;
    color: #737373;
    font-weight: 500;
    margin-bottom: 4px;
    letter-spacing: 0.01em;
}
.zen-stat-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fafafa;
    line-height: 1;
    letter-spacing: -0.025em;
    margin-bottom: 4px;
}
.zen-stat-trend {
    font-size: 0.65rem;
    color: #6b6b6b;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.zen-trend-up { color: #4ade80; }

/* ---- GRIDS ---- */
.zen-grid-2 {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 16px;
}

/* ---- PANEL ---- */
.zen-panel {
    background: #0f0f0f;
    border: 1px solid #1f1f1f;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
}
.zen-panel-head {
    padding: 16px 18px;
    border-bottom: 1px solid #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.zen-panel-body { padding: 16px 18px; }
.zen-panel-tag {
    font-size: 0.7rem;
    background: rgba(99,102,241,0.12);
    color: #a5b4fc;
    padding: 3px 8px;
    border-radius: 10px;
    font-weight: 600;
}

/* ---- DASHBOARD EXTENDED ---- */
.zen-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    margin-top: 16px;
}

/* Top games list */
.zen-top-list { display: flex; flex-direction: column; gap: 8px; }
.zen-top-row {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 12px;
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    border-radius: 6px;
}
.zen-top-rank {
    font-size: 0.8rem; font-weight: 700; color: #6366f1;
    background: rgba(99,102,241,0.12);
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 6px;
    flex-shrink: 0;
}
.zen-top-info { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.zen-top-info strong { color: #fafafa; font-size: 0.85rem; }
.zen-top-count {
    font-size: 0.75rem; color: #4ade80; font-weight: 600;
    background: rgba(74,222,128,0.1);
    padding: 3px 8px; border-radius: 10px;
}

/* Recent users */
.zen-user-list { display: flex; flex-direction: column; gap: 6px; }
.zen-user-row {
    display: flex; align-items: center; gap: 12px;
    padding: 8px 10px;
    border-radius: 6px;
    transition: background 0.2s;
}
.zen-user-row:hover { background: #0a0a0a; }
.zen-user-avatar {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.95rem;
    flex-shrink: 0;
}
.zen-user-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.zen-user-info strong { color: #fafafa; font-size: 0.85rem; }
.zen-user-email { color: #6b6b6b; font-size: 0.72rem; }
.zen-user-date { color: #6b6b6b; font-size: 0.72rem; flex-shrink: 0; }

/* Platform breakdown bars */
.zen-platform-list { display: flex; flex-direction: column; gap: 10px; }
.zen-platform-row {
    display: flex; align-items: center; gap: 10px;
    font-size: 0.82rem;
}
.zen-platform-label { flex-shrink: 0; min-width: 80px; }
.zen-platform-bar-wrap {
    flex: 1; height: 8px;
    background: #1a1a1a;
    border-radius: 4px;
    overflow: hidden;
}
.zen-platform-bar {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    border-radius: 4px;
    transition: width 0.4s;
}
.zen-platform-count {
    color: #a5b4fc; font-weight: 600; font-size: 0.78rem;
    min-width: 24px; text-align: right;
    flex-shrink: 0;
}

/* Quick actions */
.zen-quick-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.zen-action-card {
    display: flex; align-items: center; gap: 10px;
    padding: 12px;
    background: #0a0a0a;
    border: 1px solid #1f1f1f;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
    color: inherit;
    font-family: inherit;
}
.zen-action-card:hover {
    border-color: #6366f1;
    background: rgba(99,102,241,0.08);
    transform: translateY(-1px);
}
.zen-action-icon { font-size: 1.4rem; flex-shrink: 0; }
.zen-action-text { display: flex; flex-direction: column; }
.zen-action-text strong { color: #fafafa; font-size: 0.82rem; }
.zen-action-text span { color: #6b6b6b; font-size: 0.7rem; }
.zen-table-wrap {
    border: 1px solid #1f1f1f;
    border-radius: 8px;
    overflow: hidden;
    background: #0f0f0f;
}
.zen-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}
.zen-table thead th {
    text-align: left;
    padding: 12px 16px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #737373;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #0a0a0a;
    border-bottom: 1px solid #1f1f1f;
}
.zen-table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid #1a1a1a;
    color: #d4d4d4;
    vertical-align: middle;
}
.zen-table tbody tr:last-child td { border-bottom: none; }
.zen-table tbody tr:hover { background: #131313; }
.zen-table .text-muted { color: #6b6b6b; }
.zen-cell-sub { font-size: 0.75rem; color: #6b6b6b; margin-top: 2px; }
.zen-table .selectable-row { cursor: pointer; }

/* ---- BADGES ---- */
.zen-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.01em;
    border: 1px solid transparent;
}
.zen-badge-unused, .zen-badge-success { background: rgba(34,197,94,0.1); color: #4ade80; border-color: rgba(34,197,94,0.25); }
.zen-badge-used, .zen-badge-danger { background: rgba(239,68,68,0.1); color: #f87171; border-color: rgba(239,68,68,0.25); }
.zen-badge-expired { background: rgba(234,179,8,0.1); color: #facc15; border-color: rgba(234,179,8,0.25); }
.zen-badge-info, .zen-badge-primary { background: rgba(99,102,241,0.1); color: #818cf8; border-color: rgba(99,102,241,0.25); }
.zen-badge-warning { background: rgba(234,179,8,0.1); color: #fbbf24; border-color: rgba(234,179,8,0.25); }
.zen-badge-secondary { background: #171717; color: #a1a1a1; border-color: #262626; }

.zen-link-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
}
.zen-link-list .zen-badge {
    font-size: 0.68rem;
    padding: 2px 6px;
}

/* ---- INFO LIST ---- */
.zen-info-list { display: flex; flex-direction: column; }
.zen-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #1a1a1a;
    font-size: 0.85rem;
}
.zen-info-row:last-child { border-bottom: none; }
.zen-info-row span { color: #737373; }
.zen-info-row strong { color: #fafafa; font-weight: 600; }

/* ---- FILTER BAR ---- */
.zen-filterbar {
    background: #0f0f0f;
    border: 1px solid #1f1f1f;
    border-radius: 8px;
    padding: 14px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.zen-filterbar-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}
.zen-filterbar-row > * { flex: 1; min-width: 140px; }
.zen-filterbar-row > *:first-child { flex: 2; min-width: 200px; }
.zen-filterbar-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 10px;
    border-top: 1px solid #1a1a1a;
}

/* ---- INPUTS ---- */
.zen-input, .zen-select {
    background: #0a0a0a !important;
    border: 1px solid #262626 !important;
    border-radius: 6px !important;
    color: #e5e5e5 !important;
    padding: 8px 12px !important;
    font-size: 0.85rem !important;
    font-family: inherit !important;
    transition: border-color 0.15s, background 0.15s;
    width: 100%;
}
.zen-input:focus, .zen-select:focus {
    outline: none !important;
    border-color: #404040 !important;
    background: #0f0f0f !important;
}
.zen-input::placeholder { color: #525252 !important; }
.zen-select { 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='%23737373' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: right 10px center !important; padding-right: 30px !important; }

.form-label {
    color: #a1a1a1;
    font-size: 0.78rem;
    font-weight: 500;
    margin-bottom: 6px;
    display: block;
}
.form-group { margin-bottom: 14px; }
.form-help { color: #525252; font-size: 0.75rem; margin-top: 4px; }

.zen-color-row { display: flex; gap: 8px; align-items: center; }
.zen-color {
    width: 40px; height: 38px; border: 1px solid #262626; border-radius: 6px;
    background: transparent; cursor: pointer; padding: 2px; flex-shrink: 0;
}
.zen-check-line { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: #a1a1a1; cursor: pointer; margin-top: 6px; }
.zen-webhook-status { font-size: 1.2rem; padding: 0 6px; }
.zen-btn-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* ---- KEY GRID ---- */
.zen-key-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 10px;
}
.zen-key-card {
    background: #0f0f0f;
    border: 1px solid #1f1f1f;
    border-radius: 8px;
    padding: 14px;
    transition: border-color 0.2s, background 0.2s;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.zen-key-card:hover { border-color: #2a2a2a; }
.zen-key-head {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.zen-key-type-badge {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 10px;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 0.02em;
    border: 1px solid;
}
.zen-key-type-package {
    background: rgba(74,222,128,0.12);
    color: #4ade80;
    border-color: rgba(74,222,128,0.4);
}
.zen-key-type-account {
    background: rgba(99,102,241,0.12);
    color: #a5b4fc;
    border-color: rgba(99,102,241,0.4);
}
.zen-key-type-game {
    background: rgba(245,158,11,0.12);
    color: #fbbf24;
    border-color: rgba(245,158,11,0.4);
}
.zen-key-type-none {
    background: rgba(107,114,128,0.12);
    color: #9ca3af;
    border-color: rgba(107,114,128,0.3);
}
.zen-key-code {
    flex: 1;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    color: #fafafa;
    background: #050505;
    border: 1px solid #1a1a1a;
    padding: 6px 8px;
    border-radius: 4px;
    word-break: break-all;
    user-select: all;
}
.zen-key-actions { display: flex; gap: 4px; }
.zen-key-action {
    width: 26px; height: 26px;
    background: transparent;
    border: 1px solid #262626;
    border-radius: 4px;
    color: #a1a1a1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all 0.15s;
}
.zen-key-action:hover { background: #171717; color: #fafafa; border-color: #404040; }
.zen-key-action-danger:hover { background: rgba(239,68,68,0.1); color: #f87171; border-color: #7f1d1d; }
.zen-key-body { display: flex; flex-direction: column; gap: 6px; }
.zen-key-meta-row { display: flex; gap: 6px; flex-wrap: wrap; }
.zen-meta-chip {
    font-size: 0.7rem;
    color: #a1a1a1;
    background: #171717;
    border: 1px solid #262626;
    padding: 2px 6px;
    border-radius: 3px;
}
.zen-meta-info { color: #818cf8; }
.zen-meta-danger { color: #f87171; border-color: rgba(239,68,68,0.25); }
.zen-key-detail { font-size: 0.85rem; color: #fafafa; font-weight: 500; }
.zen-key-date { font-size: 0.72rem; color: #525252; }
.zen-key-assigned { font-size: 0.7rem; color: #737373; }
.zen-key-account { font-size: 0.68rem; color: #737373; display: flex; gap: 8px; flex-wrap: wrap; }

.zen-select-all-wrap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #0f0f0f;
    border: 1px solid #262626;
    border-radius: 6px;
    font-size: 0.78rem;
    color: #a1a1a1;
    cursor: pointer;
    user-select: none;
    transition: all 0.15s;
    white-space: nowrap;
}
.zen-select-all-wrap:hover { background: #171717; border-color: #404040; color: #fafafa; }
.zen-select-all-wrap input[type="checkbox"] {
    width: 14px; height: 14px;
    cursor: pointer;
    accent-color: #fafafa;
}
.zen-selected-count {
    font-size: 0.78rem;
    color: #737373;
    padding: 6px 10px;
    background: #0f0f0f;
    border: 1px solid #1f1f1f;
    border-radius: 6px;
}
.zen-selected-count.has-selection { color: #4ade80; border-color: rgba(74,222,128,0.3); }

/* ---- PLATFORM GRID ---- */
.zen-platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
}
.zen-platform-card {
    background: #0f0f0f;
    border: 1px solid #1f1f1f;
    border-radius: 8px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: border-color 0.2s, background 0.2s;
}
.zen-platform-card:hover { border-color: #2a2a2a; background: #131313; }
.zen-platform-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    border: 1px solid #1f1f1f;
}
.zen-platform-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.zen-platform-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fafafa;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.zen-platform-stats { display: flex; gap: 4px; flex-wrap: wrap; }
.zen-platform-meta { display: flex; gap: 4px; margin-top: 2px; }
.zen-platform-actions { display: flex; flex-direction: column; gap: 4px; }

/* ---- PACKAGE LAYOUT ---- */
.zen-package-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 16px;
}
.zen-package-list { display: flex; flex-direction: column; gap: 10px; }
.zen-package-card {
    background: #0f0f0f;
    border: 1px solid #1f1f1f;
    border-radius: 8px;
    padding: 14px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
.zen-package-card:hover { border-color: #2a2a2a; background: #131313; }
.zen-package-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.zen-package-name { font-weight: 600; color: #fafafa; font-size: 0.92rem; }
.zen-package-duration { font-size: 0.72rem; color: #737373; }
.zen-package-meta { display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; color: #737373; margin-bottom: 10px; }
.zen-package-actions { display: flex; gap: 6px; }
.zen-package-detail { min-height: 200px; }

/* ---- GAME GRID ---- */
.zen-game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 10px;
}
.zen-game-card {
    background: #0f0f0f;
    border: 1px solid #1f1f1f;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    transition: border-color 0.2s;
}
.zen-game-card:hover { border-color: #2a2a2a; }
.zen-game-order {
    position: absolute;
    top: 8px; right: 8px;
    width: 22px; height: 22px;
    background: #171717;
    border: 1px solid #262626;
    color: #a1a1a1;
    border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.7rem; font-weight: 700;
}
.zen-game-card .game-select {
    position: absolute; top: 8px; left: 8px; width: 16px; height: 16px; cursor: pointer; z-index: 2;
}
.zen-game-img {
    width: 44px; height: 44px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: #1a1a1a;
    display: flex; align-items: center; justify-content: center;
    color: #525252;
    font-size: 1.2rem;
}
.zen-game-img img { width: 100%; height: 100%; object-fit: cover; }
.zen-game-img-fallback { font-size: 1.4rem; }
.zen-game-info { flex: 1; min-width: 0; padding: 0 28px; }
.zen-game-name { font-weight: 600; color: #fafafa; font-size: 0.88rem; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.zen-game-platform { font-size: 0.72rem; color: #737373; margin-top: 2px; }
.zen-game-actions { display: flex; gap: 4px; align-items: center; flex-shrink: 0; }

/* ---- TOGGLE ---- */
.zen-toggle { position: relative; display: inline-block; width: 32px; height: 18px; cursor: pointer; }
.zen-toggle input { opacity: 0; width: 0; height: 0; }
.zen-toggle-track {
    position: absolute; inset: 0;
    background: #262626;
    border-radius: 999px;
    transition: background 0.2s;
}
.zen-toggle-thumb {
    position: absolute; top: 2px; left: 2px;
    width: 14px; height: 14px;
    background: #a1a1a1;
    border-radius: 50%;
    transition: all 0.2s;
}
.zen-toggle input:checked + .zen-toggle-track { background: #fafafa; }
.zen-toggle input:checked + .zen-toggle-track .zen-toggle-thumb { background: #0a0a0a; transform: translateX(14px); }

/* ---- ICON BUTTON ---- */
.zen-icon-btn {
    width: 28px; height: 28px;
    background: transparent;
    border: 1px solid #262626;
    border-radius: 4px;
    color: #a1a1a1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all 0.15s;
}
.zen-icon-btn:hover { background: #171717; color: #fafafa; border-color: #404040; }
.zen-icon-btn-danger:hover { background: rgba(239,68,68,0.1); color: #f87171; border-color: #7f1d1d; }

/* ---- BATCH BAR ---- */
.zen-batch-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #0f0f0f;
    border: 1px solid #262626;
    border-radius: 8px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.zen-batch-count { font-size: 0.82rem; font-weight: 600; color: #fafafa; }
.zen-batch-check { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: #a1a1a1; cursor: pointer; margin-left: auto; }

/* ---- EMPTY STATE ---- */
.zen-empty {
    padding: 32px 20px;
    text-align: center;
    color: #737373;
    font-size: 0.88rem;
}
.zen-empty-wide { grid-column: 1 / -1; padding: 48px 20px; }
.zen-empty-tall { min-height: 200px; display: flex; align-items: center; justify-content: center; }
.zen-empty-ico { font-size: 2.2rem; color: #404040; margin-bottom: 12px; }
.zen-empty h3 { color: #d4d4d4; font-size: 1.05rem; margin: 0 0 6px 0; font-weight: 600; }
.zen-empty p { margin: 0 0 16px 0; color: #737373; font-size: 0.85rem; }

/* ---- RESULT LIST ---- */
.zen-result-list {
    max-height: 300px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* ---- FORM ROW ---- */
.zen-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 0;
}

/* ---- PROFILE ---- */
.zen-profile-card {
    background: #0f0f0f;
    border: 1px solid #1f1f1f;
    border-radius: 8px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
}
.zen-profile-info { display: flex; flex-direction: column; gap: 4px; }
.zen-profile-name { font-size: 1.1rem; font-weight: 600; color: #fafafa; }
.zen-profile-role { font-size: 0.82rem; color: #737373; }

/* ---- PERMS ---- */
.zen-perm-dots { display: flex; gap: 6px; align-items: center; }
.zen-perm-dot {
    width: 22px; height: 22px;
    background: #171717;
    border: 1px solid #262626;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.perm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 16px;
}
.perm-check {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 10px;
    background: #0a0a0a;
    border: 1px solid #1f1f1f;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.82rem;
    color: #d4d4d4;
    transition: background 0.15s, border-color 0.15s;
}
.perm-check:hover { background: #131313; border-color: #2a2a2a; }
.perm-check input[type="checkbox"] { accent-color: #fafafa; }

/* ---- TAGS (for games) ---- */
.zen-tag {
    display: inline-flex;
    align-items: center;
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.zen-tag-one-cikan { background: rgba(234,179,8,0.12); color: #facc15; }
.zen-tag-firsat { background: rgba(249,115,22,0.12); color: #fb923c; }
.zen-tag-ozel { background: rgba(168,85,247,0.12); color: #c084fc; }
.zen-tag-yeni { background: rgba(34,197,94,0.12); color: #4ade80; }
.zen-tag-indirim { background: rgba(239,68,68,0.12); color: #f87171; }
.zen-tag-populer { background: rgba(99,102,241,0.12); color: #818cf8; }

/* ---- MODAL OVERRIDE (keep existing JS working) ---- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(4px);
}
.modal-overlay.active { display: flex; }
.modal {
    background: #0f0f0f;
    border: 1px solid #1f1f1f;
    border-radius: 10px;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.modal-lg { max-width: 640px; }
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #1a1a1a;
}
.modal-header h3 {
    margin: 0;
    color: #fafafa;
    font-size: 1rem;
    font-weight: 600;
}
.modal-close {
    background: transparent;
    border: none;
    color: #737373;
    font-size: 1.3rem;
    cursor: pointer;
    width: 28px; height: 28px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}
.modal-close:hover { background: #171717; color: #fafafa; }

/* ---- TOAST OVERRIDE ---- */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.toast {
    background: #0f0f0f;
    border: 1px solid #262626;
    border-radius: 8px;
    padding: 12px 16px;
    color: #e5e5e5;
    font-size: 0.85rem;
    min-width: 240px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.toast-success { border-left: 3px solid #4ade80; }
.toast-error { border-left: 3px solid #f87171; }
.toast-warning { border-left: 3px solid #facc15; }
.toast-info { border-left: 3px solid #818cf8; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
    .zen-grid-2 { grid-template-columns: 1fr; }
    .zen-grid-3 { grid-template-columns: 1fr; }
    .zen-package-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .admin-shell { grid-template-columns: 1fr; }
    .zen-sidebar {
        position: relative;
        height: auto;
        flex-direction: row;
        overflow-x: auto;
        padding: 12px;
        gap: 12px;
    }
    .zen-sidebar-brand { display: none; }
    .zen-nav { flex-direction: row; gap: 6px; }
    .zen-nav-group { flex-direction: row; gap: 4px; }
    .zen-nav-label { display: none; }
    .zen-nav-item { padding: 6px 10px; font-size: 0.78rem; }
    .zen-nav-item.active { border-left: none; border-bottom: 2px solid #fafafa; margin-left: 0; }
    .zen-content { padding: 20px 16px 32px 16px; }
    .zen-topbar { padding: 14px 16px; }
    .zen-form-row { grid-template-columns: 1fr; }
    .perm-grid { grid-template-columns: 1fr; }
    .zen-key-grid { grid-template-columns: 1fr; }
    .zen-game-grid { grid-template-columns: 1fr; }
    .zen-stats { grid-template-columns: repeat(2, 1fr); }
    .zen-grid-2, .zen-grid-3 { grid-template-columns: 1fr; }
}

/* ---- TABLE FIX (override opacity:0 from style.css) ---- */
.admin-tab-content table tbody tr { opacity: 1 !important; transform: none !important; }
.zen-table tbody tr { animation: none; opacity: 1 !important; transform: none !important; }
.zen-table tbody tr.row-revealed { opacity: 1 !important; transform: none !important; }
table tbody tr.selectable-row { opacity: 1 !important; transform: none !important; }

/* ---- CHECKBOX FIX ---- */
.zen-table input[type="checkbox"],
.admin-tab-content input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    accent-color: #fafafa !important;
    position: relative !important;
    z-index: 5 !important;
}

/* ---- ADMIN ANIMATED BACKGROUNDS ---- */
.admin-body .bg-fluid,
.admin-body .bg-mesh,
.admin-body .bg-grid,
.admin-body .particles-global,
.store-body .bg-fluid,
.store-body .bg-mesh,
.store-body .bg-grid,
.store-body .particles-global {
    display: block !important;
}
.admin-body .bg-fluid { opacity: 0.45; }
.store-body .bg-fluid { opacity: 0.4; }

/* ---- VERIFY MULTI-STEP FLOW ---- */
.verify-count-btn:active { transform: scale(0.95); }
.verify-account-pick input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #6366f1;
    flex-shrink: 0;
}
.verify-account-pick:has(input:checked) {
    border-color: #6366f1 !important;
    background: rgba(99, 102, 241, 0.15) !important;
}
.verify-result-msg { padding: 0 4px; }
.verify-result-msg strong { display: block; color: #f8fafc; font-size: 18px; margin-bottom: 6px; }
.verify-result-msg p { color: #cbd5e1; font-size: 14px; margin: 0; line-height: 1.5; }
.verify-result-icon { font-size: 36px; margin-bottom: 12px; }

/* ---- ADMIN MODAL - BEAUTIFUL FORMS ---- */
.zen-section {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.zen-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 700;
    color: #a5b4fc;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.zen-section-header .zen-section-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(99,102,241,0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.zen-help {
    color: #71717a;
    font-size: 12px;
    margin-top: 6px;
    line-height: 1.4;
}
.zen-help-soft {
    color: #a1a1aa;
    font-size: 12px;
    margin-top: 6px;
    line-height: 1.4;
}
.zen-input-icon {
    position: relative;
}
.zen-input-icon .zen-ico {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #71717a;
    font-size: 16px;
    pointer-events: none;
    z-index: 1;
}
.zen-input-icon input,
.zen-input-icon select,
.zen-input-icon textarea {
    padding-left: 38px !important;
}

/* Duration unlimited badge */
.zen-duration-unlimited {
    display: inline-block;
    padding: 2px 8px;
    background: rgba(34,197,94,0.15);
    color: #4ade80;
    border: 1px solid rgba(34,197,94,0.3);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    margin-left: 8px;
}

/* Duration date preview box */
.zen-duration-preview {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    margin-top: 18px;
    background: linear-gradient(135deg, rgba(99,102,241,0.10), rgba(168,85,247,0.06));
    border: 1px solid rgba(99,102,241,0.25);
    border-radius: 12px;
}
.zen-duration-preview-icon {
    font-size: 32px;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 2px;
}
.zen-duration-preview-content { flex: 1; min-width: 0; }
.zen-duration-preview-title {
    font-size: 14px;
    font-weight: 700;
    color: #c4b5fd;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.zen-duration-preview-info { display: flex; flex-direction: column; gap: 6px; }
.zen-duration-preview-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    flex-wrap: wrap;
}
.zen-duration-preview-label { color: #a1a1aa; }
.zen-duration-preview-value { color: #f8fafc; font-weight: 600; }
.zen-duration-preview-value.unlimited { color: #4ade80; }
.zen-duration-preview-value.expired { color: #ef4444; }

/* Verify page product counter */
.verify-product-counter {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Linked account display in edit key modal */
.key-linked-account {
    width: 100%;
    padding: 14px 16px;
    background: rgba(99,102,241,0.06);
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    font-size: 14px;
    color: #f8fafc;
}
.key-linked-account.empty {
    background: rgba(113,113,122,0.06);
    border-color: rgba(113,113,122,0.2);
    color: #a1a1aa;
    font-style: italic;
}
.key-linked-account .zen-pf-badge {
    flex-shrink: 0;
}

/* BULK PICK - Checkbox grid for games/accounts */
.zen-bulk-pick {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    background: rgba(0,0,0,0.2);
    overflow: hidden;
}
.zen-bulk-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    flex-wrap: wrap;
}
.zen-bulk-search {
    flex: 1;
    min-width: 180px;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.08);
    color: #f8fafc;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    outline: none;
    transition: all 0.2s;
}
.zen-bulk-search:focus {
    border-color: #6366f1;
    background: rgba(99,102,241,0.05);
}
.zen-bulk-search::placeholder {
    color: #71717a;
}
.zen-bulk-actions {
    display: flex;
    gap: 6px;
}
.zen-bulk-action-btn {
    background: rgba(255,255,255,0.05);
    color: #cbd5e1;
    border: 1px solid rgba(255,255,255,0.08);
    padding: 5px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    transition: all 0.15s;
}
.zen-bulk-action-btn:hover {
    background: rgba(99,102,241,0.15);
    border-color: rgba(99,102,241,0.4);
    color: #a5b4fc;
}
.zen-bulk-list {
    max-height: 240px;
    overflow-y: auto;
    padding: 6px;
}
.zen-bulk-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s;
    border: 1px solid transparent;
}
.zen-bulk-item:hover {
    background: rgba(99,102,241,0.08);
}
.zen-bulk-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #6366f1;
    flex-shrink: 0;
}
.zen-bulk-item-info {
    flex: 1;
    min-width: 0;
}
.zen-bulk-item-name {
    color: #f8fafc;
    font-size: 13px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.zen-bulk-item-meta {
    color: #71717a;
    font-size: 11px;
    margin-top: 2px;
}
.zen-bulk-item.selected {
    background: rgba(99,102,241,0.12);
    border-color: rgba(99,102,241,0.3);
}
.zen-bulk-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 14px;
    background: rgba(255,255,255,0.02);
    border-top: 1px solid rgba(255,255,255,0.06);
    font-size: 12px;
    color: #a1a1aa;
}
.zen-bulk-count {
    color: #a5b4fc;
    font-weight: 700;
}
.zen-bulk-empty {
    text-align: center;
    padding: 24px;
    color: #71717a;
    font-size: 13px;
}

/* Platform badge */
.zen-pf-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.zen-pf-steam { background: rgba(102, 192, 244, 0.15); color: #66c0f4; border: 1px solid rgba(102, 192, 244, 0.3); }
.zen-pf-xbox { background: rgba(16, 185, 129, 0.15); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.3); }
.zen-pf-epic { background: rgba(99, 102, 241, 0.15); color: #818cf8; border: 1px solid rgba(99, 102, 241, 0.3); }
.zen-pf-ps { background: rgba(59, 130, 246, 0.15); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.3); }
.zen-pf-other { background: rgba(113, 113, 122, 0.15); color: #a1a1aa; border: 1px solid rgba(113, 113, 122, 0.3); }

/* ========== FAQ ========== */
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--bg-card);
    transition: border-color 0.3s;
}
.faq-item:hover { border-color: var(--border-light); }
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    background: none;
    border: none;
    color: var(--text-bright);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}
.faq-question:hover { background: rgba(255,255,255,0.02); }
.faq-arrow {
    font-size: 1.5rem;
    color: var(--primary-light);
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 16px;
}
.faq-item.active .faq-arrow { transform: rotate(45deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}
.faq-answer p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ========== FOOTER ========== */
.footer {
    border-top: 1px solid var(--border);
    padding: 32px 0;
    margin-top: 40px;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.3s;
}
.footer-links a:hover { color: var(--text-bright); }
.footer p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ========== PRODUCT DETAIL ========== */
.product-detail-card {
    transition: transform 0.3s, box-shadow 0.3s;
}
.product-detail-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* ========== LIGHT THEME ========== */
[data-theme="light"] {
    --bg-dark: #f8f9fc;
    --bg-darker: #f0f1f5;
    --bg-card: rgba(0,0,0,0.03);
    --bg-card-hover: rgba(0,0,0,0.06);
    --bg-glass: rgba(255,255,255,0.7);
    --btn-glass: rgba(0,0,0,0.04);
    --nav-bg: rgba(248,249,252,0.85);
    --nav-bg-scrolled: rgba(248,249,252,0.95);
    --modal-bg: linear-gradient(145deg, #ffffff, #f8f9fc);
    --input-bg: rgba(0,0,0,0.03);
    --overlay-bg: rgba(0,0,0,0.4);
    --text: #1e293b;
    --text-bright: #0f172a;
    --text-muted: #64748b;
    --border: rgba(0,0,0,0.08);
    --border-light: rgba(0,0,0,0.12);
    --surface: #ffffff;
    --shadow: 0 8px 32px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
    --scrollbar-thumb: rgba(0,0,0,0.12);
}
[data-theme="light"] body {
    background: var(--bg-dark);
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99,102,241,0.06), transparent),
        radial-gradient(ellipse 60% 40% at 100% 50%, rgba(6,182,212,0.04), transparent),
        radial-gradient(ellipse 50% 40% at 0% 80%, rgba(59,130,246,0.03), transparent);
}
[data-theme="light"] .bg-fluid { opacity: 0.3; }
[data-theme="light"] .bg-fluid-blob-1 { background: radial-gradient(circle, rgba(99,102,241,0.12) 0%, transparent 70%); }
[data-theme="light"] .bg-fluid-blob-2 { background: radial-gradient(circle, rgba(6,182,212,0.08) 0%, transparent 70%); }
[data-theme="light"] .bg-fluid-blob-3 { background: radial-gradient(circle, rgba(139,92,246,0.08) 0%, transparent 70%); }
[data-theme="light"] .navbar { background: var(--nav-bg); }
[data-theme="light"] .store-card { border-color: rgba(0,0,0,0.08); }
[data-theme="light"] .hero-title-glow { opacity: 0.08; }
[data-theme="light"] .page-loader { background: var(--bg-darker); }

/* ========== THEME TOGGLE ========== */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--btn-glass);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.theme-toggle:hover {
    background: var(--bg-card-hover);
    color: var(--text-bright);
    border-color: var(--border-light);
    transform: scale(1.1);
}
.theme-icon-light { display: none; }
[data-theme="light"] .theme-icon-dark { display: none; }
[data-theme="light"] .theme-icon-light { display: block; }

/* ========== ERROR PAGES ========== */
.error-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 24px;
}
.error-container {
    max-width: 500px;
}
.error-code {
    font-size: 8rem;
    font-weight: 900;
    background: var(--hero-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 16px;
    animation: errorPulse 3s ease-in-out infinite;
}
@keyframes errorPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.02); }
}
.error-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-bright);
    margin-bottom: 12px;
}
.error-desc {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 32px;
    line-height: 1.6;
}
.error-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== CATEGORY FILTERS ========== */
.category-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 24px 0 40px;
}
.category-pill {
    padding: 8px 20px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--btn-glass);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34,1.2,0.64,1);
    text-decoration: none;
}
.category-pill:hover {
    color: var(--text-bright);
    background: var(--bg-card-hover);
    border-color: var(--border-light);
    transform: translateY(-2px);
}
.category-pill.active {
    background: var(--primary-gradient);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(var(--primary-rgb),0.35);
}

/* ========== SEARCH ========== */
.search-container {
    max-width: 700px;
    margin: 0 auto;
}
.search-form {
    display: flex;
}
.search-input-wrap {
    display: flex;
    align-items: center;
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 4px 4px 4px 16px;
    transition: all 0.3s ease;
}
.search-input-wrap:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb),0.15);
}
.search-icon {
    color: var(--text-muted);
    flex-shrink: 0;
    margin-right: 8px;
}
.search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text);
    font-size: 0.95rem;
    font-family: inherit;
    padding: 12px 8px;
}
.search-input::placeholder {
    color: var(--text-muted);
}
.search-btn {
    padding: 10px 24px;
    border-radius: 999px;
    border: none;
    background: var(--primary-gradient);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.search-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(var(--primary-rgb),0.4);
}

/* ========== TRUST BADGES ========== */
.trust-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 60px;
    padding: 40px 0;
    border-top: 1px solid var(--border);
}
.trust-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}
.trust-badge:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}
.trust-icon {
    font-size: 2rem;
    flex-shrink: 0;
}
.trust-text strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-bright);
    margin-bottom: 2px;
}
.trust-text span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ========== STORE CARD META ========== */
.store-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}
.store-price {
    font-weight: 700;
    color: var(--success);
    font-size: 0.9rem;
}
.store-stock-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--success);
    margin-top: 4px;
}
.store-stock-out {
    color: var(--error);
}

/* ========== PAGE TRANSITIONS ========== */
.page-enter {
    animation: pageSlideIn 0.6s cubic-bezier(0.16,1,0.3,1) both;
}
@keyframes pageSlideIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: none; }
}
.store-card {
    transition: transform 0.4s cubic-bezier(0.34,1.2,0.64,1), box-shadow 0.3s ease, opacity 0.3s ease;
}
.store-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

/* ========== EMPTY STATE ========== */
.empty-state {
    text-align: center;
    padding: 60px 24px;
}
.empty-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    animation: emptyBounce 2s ease-in-out infinite;
}
@keyframes emptyBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.empty-state h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 8px;
}
.empty-state p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* ========== CONTACT CTA ========== */
.contact-cta-card {
    padding: 48px 40px;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.3s ease;
}
.contact-cta-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 40px rgba(var(--primary-rgb),0.15);
}
.contact-cta-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}
.contact-cta-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-bright);
    margin-bottom: 8px;
}
.contact-cta-card p {
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
}

/* ========== DISCORD FAB ========== */
.discord-fab {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5865F2 0%, #7289DA 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(88,101,242,0.5);
    transition: all 0.3s cubic-bezier(0.34,1.2,0.64,1);
    cursor: pointer;
    text-decoration: none;
    animation: discord-pulse 2.5s ease-in-out infinite;
}
.discord-fab svg {
    width: 26px;
    height: 26px;
    transition: transform 0.3s ease;
}
.discord-fab span { display: none; }
.discord-fab:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 28px rgba(88,101,242,0.7);
    background: linear-gradient(135deg, #4752C4 0%, #5865F2 100%);
}
.discord-fab:hover svg {
    transform: rotate(8deg) scale(1.1);
}
.discord-fab:active {
    transform: scale(0.92);
    transition-duration: 0.1s;
}
@keyframes discord-pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(88,101,242,0.5); }
    50% { box-shadow: 0 4px 28px rgba(88,101,242,0.75), 0 0 0 8px rgba(88,101,242,0.08); }
}
@media (max-width: 768px) {
    .discord-fab {
        bottom: 16px;
        left: 16px;
        width: 46px;
        height: 46px;
    }
    .discord-fab svg { width: 22px; height: 22px; }
}

/* ===== STORE PAGE STYLES ===== */
.store-body { min-height:100vh; background:var(--bg-darker); color:var(--text); font-family:'Inter',sans-serif; }
.store-header { position:sticky; top:0; z-index:100; background:var(--nav-bg-scrolled); backdrop-filter:blur(16px); border-bottom:1px solid var(--border); }
.store-header-inner { max-width:1400px; margin:0 auto; padding:0 24px; height:72px; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.store-brand { display:flex; align-items:center; gap:12px; }
.store-logo { height:40px; border-radius:8px; }
.store-logo-mark { font-size:1.5rem; color:var(--primary); }
.store-brand-text h1 { font-size:1.25rem; font-weight:700; background:linear-gradient(135deg,var(--text-bright),var(--accent)); -webkit-background-clip:text; -webkit-text-fill-color:transparent; }
.store-subtitle { font-size:0.8rem; color:var(--text-muted); text-transform:uppercase; letter-spacing:0.5px; }
.store-nav { display:flex; align-items:center; gap:8px; }
.store-nav-item { padding:10px 18px; border-radius:var(--radius-pill); font-size:0.85rem; font-weight:500; color:var(--text-muted); text-decoration:none; transition:all 0.2s; white-space:nowrap; }
.store-nav-item:hover { background:var(--bg-card-hover); color:var(--text-bright); }
.store-nav-item.active { background:var(--primary); color:#fff; }
.store-discord-btn { background:linear-gradient(135deg,#5865F2,#7289DA); color:#fff; }
.store-discord-btn:hover { transform:translateY(-1px); box-shadow:0 4px 16px rgba(88,101,242,0.4); }
.store-main { max-width:1400px; margin:0 auto; padding:32px 24px 60px; }
.store-container { width:100%; }
.store-section-head { margin-bottom:24px; }
.store-section-title { font-size:1.5rem; font-weight:700; }
.store-section-sub { color:var(--text-muted); margin-top:4px; }
.store-game-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:20px; }
.store-game-card { display:flex; flex-direction:column; background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; text-decoration:none; color:inherit; transition:all 0.3s; }
.store-game-card:hover { border-color:var(--primary); transform:translateY(-4px); box-shadow:var(--shadow-lg); }
.store-game-img { aspect-ratio:16/10; background:var(--input-bg); display:flex; align-items:center; justify-content:center; position:relative; overflow:hidden; }
.store-game-img img { width:100%; height:100%; object-fit:cover; transition:transform 0.4s; }
.store-game-card:hover .store-game-img img { transform:scale(1.08); }
.store-game-img-fallback { font-size:3rem; color:var(--text-muted); }
.store-game-info { padding:16px; display:flex; flex-direction:column; gap:8px; }
.store-game-name { font-weight:600; font-size:0.95rem; display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.store-game-platform { font-size:0.75rem; color:var(--text-muted); text-transform:uppercase; letter-spacing:0.5px; }
.store-game-price { font-weight:700; color:var(--accent); font-size:1rem; margin-top:auto; }
.store-footer { padding:24px; text-align:center; border-top:1px solid var(--border); color:var(--text-muted); font-size:0.85rem; }
@media (max-width: 768px) {
    .store-header-inner { height:60px; padding:0 16px; }
    .store-brand-text h1 { font-size:1.1rem; }
    .store-nav-item { padding:8px 14px; font-size:0.8rem; }
    .store-main { padding:24px 16px 40px; }
    .store-game-grid { grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:16px; }
}

/* ==========================================================
   ADMIN & STORE — PREMIUM GLASS THEME + ANIMATIONS
   ========================================================== */

/* Sidebar glass */
.admin-body .zen-sidebar {
    background: rgba(10,10,18,0.72);
    backdrop-filter: blur(24px) saturate(180%);
    border-right: 1px solid var(--border);
    box-shadow: 4px 0 32px rgba(0,0,0,0.2);
    animation: adminSidebarIn 0.6s cubic-bezier(0.16,1,0.3,1) 0.2s both;
}
@keyframes adminSidebarIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: none; }
}
.admin-body .zen-sidebar-brand {
    border-bottom-color: var(--border);
    background: linear-gradient(135deg, rgba(var(--primary-rgb),0.08), transparent);
    border-radius: var(--radius-sm);
    padding: 10px 12px 14px;
    margin-bottom: 4px;
}
.admin-body .zen-brand-text {
    background: var(--hero-gradient);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientText 4s ease infinite;
}
.admin-body .zen-nav-label {
    color: var(--text-muted);
}
.admin-body .zen-nav-item {
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    border-left: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.34,1.2,0.64,1);
    position: relative;
    overflow: hidden;
}
.admin-body .zen-nav-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(var(--primary-rgb),0.12), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.admin-body .zen-nav-item:hover {
    background: var(--bg-card-hover);
    color: var(--text-bright);
    transform: translateX(4px);
}
.admin-body .zen-nav-item:hover::before { opacity: 1; }
.admin-body .zen-nav-item.active {
    background: rgba(var(--primary-rgb),0.12);
    color: var(--text-bright);
    border-left-color: var(--primary);
    box-shadow: inset 0 0 20px rgba(var(--primary-rgb),0.06);
}
.admin-body .zen-nav-item.active .zen-nav-ico {
    color: var(--primary-light);
    animation: iconPulse 2s ease-in-out infinite;
}
@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* Main area */
.admin-body .zen-main {
    background: transparent;
    animation: adminMainIn 0.6s cubic-bezier(0.16,1,0.3,1) 0.3s both;
}
@keyframes adminMainIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}
.admin-body .zen-topbar {
    background: rgba(10,10,18,0.65);
    backdrop-filter: blur(20px) saturate(160%);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s;
}
.admin-body .zen-page-title {
    background: var(--hero-gradient);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientText 5s ease infinite;
}
.admin-body .zen-role-pill {
    background: rgba(var(--primary-rgb),0.12);
    border-color: rgba(var(--primary-rgb),0.3);
    color: var(--primary-light);
    animation: pillGlow 3s ease-in-out infinite;
}
@keyframes pillGlow {
    0%, 100% { box-shadow: 0 0 0 rgba(var(--primary-rgb),0); }
    50% { box-shadow: 0 0 16px rgba(var(--primary-rgb),0.2); }
}
.admin-body .zen-avatar {
    background: var(--hero-gradient);
    border: 2px solid rgba(255,255,255,0.15);
    box-shadow: 0 4px 16px rgba(var(--primary-rgb),0.35);
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.admin-body .zen-avatar:hover { transform: scale(1.1) rotate(5deg); }

/* Stat cards — glass + stagger */
.admin-body .zen-stat-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.35s cubic-bezier(0.34,1.2,0.64,1);
    animation: adminStatIn 0.5s cubic-bezier(0.16,1,0.3,1) both;
}
.admin-body .zen-stat-card:nth-child(1) { animation-delay: 0.05s; }
.admin-body .zen-stat-card:nth-child(2) { animation-delay: 0.1s; }
.admin-body .zen-stat-card:nth-child(3) { animation-delay: 0.15s; }
.admin-body .zen-stat-card:nth-child(4) { animation-delay: 0.2s; }
.admin-body .zen-stat-card:nth-child(5) { animation-delay: 0.25s; }
.admin-body .zen-stat-card:nth-child(6) { animation-delay: 0.3s; }
.admin-body .zen-stat-card:nth-child(7) { animation-delay: 0.35s; }
.admin-body .zen-stat-card:nth-child(8) { animation-delay: 0.4s; }
@keyframes adminStatIn {
    from { opacity: 0; transform: translateY(16px) scale(0.96); }
    to { opacity: 1; transform: none; }
}
.admin-body .zen-stat-card:hover {
    border-color: rgba(var(--primary-rgb),0.4);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.3), 0 0 24px rgba(var(--primary-rgb),0.1);
}
.admin-body .zen-stat-card.zen-stat-primary {
    border-color: rgba(var(--primary-rgb),0.45);
    background: linear-gradient(135deg, rgba(var(--primary-rgb),0.1), var(--bg-card));
}
.admin-body .zen-stat-icon {
    background: rgba(var(--primary-rgb),0.15);
    border-radius: 12px;
    transition: transform 0.3s;
}
.admin-body .zen-stat-card:hover .zen-stat-icon { transform: scale(1.1) rotate(-5deg); }
.admin-body .zen-stat-value {
    color: var(--text-bright);
    font-family: 'JetBrains Mono', monospace;
}
.admin-body .zen-stat-label { color: var(--text-muted); }

/* Panels */
.admin-body .zen-panel {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.35s ease;
    animation: adminPanelIn 0.55s cubic-bezier(0.16,1,0.3,1) both;
}
@keyframes adminPanelIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
}
.admin-body .zen-panel:hover {
    border-color: var(--border-light);
    box-shadow: var(--shadow);
}
.admin-body .zen-panel-head {
    border-bottom-color: var(--border);
    background: linear-gradient(180deg, rgba(var(--primary-rgb),0.04), transparent);
}
.admin-body .zen-h2, .admin-body .zen-h3 { color: var(--text-bright); }
.admin-body .zen-sub { color: var(--text-muted); }

/* Buttons */
.admin-body .zen-btn-primary {
    background: var(--primary-gradient);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(var(--primary-rgb),0.35);
    transition: all 0.3s cubic-bezier(0.34,1.2,0.64,1);
}
.admin-body .zen-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(var(--primary-rgb),0.45);
}
.admin-body .zen-btn-outline {
    border-color: var(--border-light);
    color: var(--text);
    background: var(--btn-glass);
}
.admin-body .zen-btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary-light);
    background: rgba(var(--primary-rgb),0.08);
}
.admin-body .zen-btn-ghost:hover { background: var(--bg-card-hover); color: var(--text-bright); }
.admin-body .zen-btn { position: relative; overflow: hidden; }
.admin-body .zen-btn .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    transform: scale(0);
    animation: rippleExpand 0.55s ease-out forwards;
    pointer-events: none;
}

/* Tables */
.admin-body .zen-table-wrap {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: rgba(0,0,0,0.15);
}
.admin-body .zen-table thead {
    background: rgba(var(--primary-rgb),0.08);
}
.admin-body .zen-table th {
    color: var(--primary-light);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
}
.admin-body .zen-table tbody tr {
    transition: background 0.2s, transform 0.2s;
}
.admin-body .zen-table tbody tr:hover {
    background: rgba(var(--primary-rgb),0.06);
}

/* Cards (keys, games, packages) */
.admin-body .zen-key-card,
.admin-body .zen-game-card,
.admin-body .zen-package-card,
.admin-body .zen-platform-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: all 0.35s cubic-bezier(0.34,1.2,0.64,1);
}
.admin-body .zen-key-card:hover,
.admin-body .zen-game-card:hover,
.admin-body .zen-package-card:hover,
.admin-body .zen-platform-card:hover {
    border-color: rgba(var(--primary-rgb),0.4);
    background: var(--bg-card-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.admin-body .zen-top-row,
.admin-body .zen-user-row,
.admin-body .zen-action-card {
    background: var(--bg-glass);
    border-color: var(--border);
    border-radius: var(--radius-sm);
    transition: all 0.25s ease;
}
.admin-body .zen-action-card:hover {
    border-color: var(--primary);
    background: rgba(var(--primary-rgb),0.08);
    transform: translateY(-2px);
}

/* Tab content transition */
.admin-body .admin-tab-content {
    animation: zenTabIn 0.4s cubic-bezier(0.16,1,0.3,1);
}
@keyframes zenTabIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}
.admin-body .zen-fade { animation: zenFadeIn 0.45s cubic-bezier(0.16,1,0.3,1); }

/* Modals — glass + slide */
.admin-body .modal-overlay {
    backdrop-filter: blur(12px);
    background: var(--overlay-bg);
    animation: modalOverlayIn 0.3s ease;
}
.admin-body .modal-overlay.active .modal {
    animation: modalSlideUp 0.4s cubic-bezier(0.16,1,0.3,1);
}
@keyframes modalOverlayIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(24px) scale(0.97); }
    to { opacity: 1; transform: none; }
}
.admin-body .modal {
    background: var(--modal-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg), 0 0 60px rgba(var(--primary-rgb),0.1);
}

/* Toasts */
.admin-body .toast {
    background: var(--surface);
    border: 1px solid var(--border);
    backdrop-filter: blur(16px);
    animation: toastSlideIn 0.4s cubic-bezier(0.16,1,0.3,1);
    border-radius: var(--radius-sm);
}
@keyframes toastSlideIn {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: none; }
}
@keyframes slideOut {
    to { opacity: 0; transform: translateX(40px); }
}

/* Forms */
.admin-body .zen-input,
.admin-body .zen-select,
.admin-body .zen-textarea,
.admin-body input[type="text"],
.admin-body input[type="password"],
.admin-body input[type="email"],
.admin-body input[type="number"],
.admin-body select,
.admin-body textarea {
    background: var(--input-bg);
    border: 1px solid var(--border);
    color: var(--text-bright);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}
.admin-body .zen-input:focus,
.admin-body input:focus,
.admin-body select:focus,
.admin-body textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb),0.15);
    outline: none;
}

/* Toggle */
.admin-body .zen-toggle input:checked + .zen-toggle-track {
    background: var(--primary-gradient);
}
.admin-body .zen-toggle input:checked + .zen-toggle-track .zen-toggle-thumb {
    background: #fff;
}

/* Empty states */
.admin-body .zen-empty {
    animation: emptyBounce 0.6s ease;
}
.admin-body .zen-empty-ico {
    animation: emptyBounce 2s ease-in-out infinite;
}

/* Profile */
.admin-body .zen-profile-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(12px);
}

/* Batch bar */
.admin-body .zen-batch-bar {
    background: rgba(var(--primary-rgb),0.08);
    border-color: rgba(var(--primary-rgb),0.25);
    border-radius: var(--radius-sm);
    animation: adminPanelIn 0.4s ease;
}

/* Store page wrap */
.store-page-wrap {
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.store-page-wrap.page-ready {
    opacity: 1;
    transform: none;
}
.store-body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg-dark);
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -20%, var(--mesh-purple), transparent),
        radial-gradient(ellipse 60% 40% at 100% 50%, var(--mesh-cyan), transparent);
    color: var(--text);
}
.store-body .store-header {
    background: rgba(10,10,18,0.72);
    backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--border);
    animation: adminMainIn 0.5s ease both;
}
.store-body .store-nav-item {
    transition: all 0.3s cubic-bezier(0.34,1.2,0.64,1);
}
.store-body .store-nav-item:hover {
    transform: translateY(-2px);
    color: var(--text-bright);
}
.store-body .store-nav-item.active {
    background: var(--primary-gradient);
    box-shadow: 0 4px 20px rgba(var(--primary-rgb),0.35);
    animation: pillGlow 3s ease-in-out infinite;
}
.store-body .store-game-card {
    backdrop-filter: blur(8px);
    animation: adminStatIn 0.5s cubic-bezier(0.16,1,0.3,1) both;
}
.store-body .store-game-grid .store-game-card:nth-child(1) { animation-delay: 0.05s; }
.store-body .store-game-grid .store-game-card:nth-child(2) { animation-delay: 0.1s; }
.store-body .store-game-grid .store-game-card:nth-child(3) { animation-delay: 0.15s; }
.store-body .store-game-grid .store-game-card:nth-child(4) { animation-delay: 0.2s; }
.store-body .store-game-grid .store-game-card:nth-child(5) { animation-delay: 0.25s; }
.store-body .store-game-grid .store-game-card:nth-child(6) { animation-delay: 0.3s; }
.store-body .store-game-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(var(--primary-rgb),0.15);
}
.store-body .store-brand-text h1 {
    animation: gradientText 4s ease infinite;
}
.store-body .store-footer {
    background: rgba(10,10,18,0.5);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
}

/* Counter animation class */
.count-up { display: inline-block; }
.count-up.animating {
    animation: countPop 0.5s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes countPop {
    0% { transform: scale(0.8); opacity: 0.5; }
    60% { transform: scale(1.08); }
    100% { transform: scale(1); opacity: 1; }
}
