* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #161616;
    --text: #ffffff;
    --text-muted: #888888;
    --accent: #3b82f6;
    --accent-hover: #60a5fa;
    --border: #222222;
    --green: #22c55e;
}

/* ============ PAGE LOADER ============ */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
    border-radius: 16px;
    animation: loaderPulse 1.5s ease-in-out infinite;
}

@keyframes loaderPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: loaderSpin 0.8s linear infinite;
}

@keyframes loaderSpin {
    to { transform: rotate(360deg); }
}

.loader-text {
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

html {
    overflow-x: hidden;
    height: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow: visible;
    margin: 0;
    padding: 0;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

main {
    width: 100%;
    overflow: visible;
    flex: 1 0 auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 12px 0;
    background: transparent;
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.header.scrolled {
    background: rgba(10, 12, 16, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
    display: flex;
    justify-content: center;
    position: relative;
}

.nav {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 16px;
    position: relative;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2px;
    background: rgba(15, 17, 21, 0.9);
    padding: 4px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.06);
}

.nav-links a {
    position: relative;
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.82rem;
    padding: 9px 16px;
    border-radius: 7px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 7px;
}

.nav-links a svg {
    opacity: 0.5;
    width: 14px;
    height: 14px;
    transition: opacity 0.2s ease;
}

.nav-links a:hover {
    color: #d1d5db;
}

.nav-links a:hover svg {
    opacity: 0.7;
}

.nav-links a.active {
    color: #fff;
    background: rgba(59, 130, 246, 0.15);
}

.nav-links a.active svg {
    opacity: 1;
    color: #60a5fa;
}

.logo {
    position: absolute;
    left: 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 38px;
    width: auto;
    border-radius: 10px;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 2px;
    background: linear-gradient(
        90deg,
        #fff 0%,
        #fff 40%,
        var(--accent) 50%,
        #fff 60%,
        #fff 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientWave 3s linear infinite;
}

@keyframes gradientWave {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: -100% 0;
    }
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--accent), #60a5fa);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
}


.header-right {
    position: absolute;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
}

.btn-steam {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: #ffffff;
    border: none;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.btn-steam svg {
    width: 16px;
    height: 16px;
}

.btn-steam:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

.btn-steam svg {
    width: 22px;
    height: 22px;
}

/* Hero */
.hero {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 0 40px;
    position: relative;
    overflow: hidden;
    width: 100%;
    background: 
        radial-gradient(ellipse at center, transparent 0%, var(--bg) 70%),
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center top, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.hero-badge svg {
    opacity: 0.7;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    text-shadow: 0 0 60px rgba(0,0,0,0.5);
}

.highlight {
    color: var(--accent);
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
}

.hero-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 28px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Scroll Indicator */
.scroll-indicator {
    display: flex;
    position: absolute;
    bottom: 80px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: fit-content;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
    animation: fadeInUp 1s ease-out 1s both;
    z-index: 5;
    transition: opacity 0.3s ease;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(59, 130, 246, 0.5);
    border-radius: 13px;
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 3px;
    height: 8px;
    background: rgba(59, 130, 246, 0.8);
    border-radius: 2px;
    animation: scrollWheel 2s ease-in-out infinite;
}

.scroll-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes scrollWheel {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    50% {
        opacity: 0.5;
        transform: translateY(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 0.7;
        transform: translateY(0);
    }
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation for grid items */
.servers-grid .server-card,
.features-grid .feature-card {
    transition-delay: calc(var(--index, 0) * 0.1s);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    background: var(--bg-card);
    border-color: var(--text-muted);
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-hover);
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.85rem;
}

/* Calendar */
.wipe-calendar {
    padding: 30px 0;
    position: relative;
    background: 
        radial-gradient(ellipse at center, transparent 0%, var(--bg) 70%),
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
}

.calendar-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.calendar-info {
    position: relative;
    padding-left: 20px;
}

.calendar-info::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.calendar-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
}

.calendar-days {
    display: flex;
    gap: 4px;
}

.calendar-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.calendar-legend {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #666;
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.legend-dot.full {
    background: var(--accent);
}

.legend-dot.soft {
    background: #22c55e;
}

.calendar-day {
    background: #1a1a1a;
    border-radius: 8px;
    padding: 12px 8px;
    text-align: center;
    min-width: 52px;
    transition: all 0.2s ease;
    position: relative;
    cursor: default;
    border: 1px solid transparent;
}

.calendar-day:hover {
    background: #222;
}

.calendar-day.active {
    background: var(--accent);
    border-color: var(--accent);
}

.calendar-day.wipe {
    cursor: pointer;
}

.calendar-day .day-name {
    font-size: 0.6rem;
    color: #555;
    text-transform: uppercase;
    margin-bottom: 4px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.calendar-day.active .day-name {
    color: rgba(255,255,255,0.7);
}

.calendar-day .day-num {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ccc;
}

.calendar-day.active .day-num {
    color: white;
}

.calendar-day.wipe-full .day-name {
    color: var(--accent);
}

.calendar-day.wipe-soft .day-name {
    color: #22c55e;
}

.wipe-indicator {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

.calendar-day.wipe-soft .wipe-indicator {
    background: #22c55e;
}

.wipe-tooltip {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 14px 18px;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 100;
    text-align: left;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

.wipe-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: #333;
}

.calendar-day.wipe:hover .wipe-tooltip {
    opacity: 1;
    visibility: visible;
}

.wipe-tooltip strong {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 6px;
    color: var(--text);
}

.wipe-tooltip span {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Servers */
.servers-section {
    padding: 20px 0 30px;
    position: relative;
    background: 
        radial-gradient(ellipse at center, transparent 0%, var(--bg) 70%),
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
}

.servers-section h2 {
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
    color: #fff;
}

.servers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 700px;
    margin: 0 auto;
}

.server-card {
    background: transparent;
    border: 1px solid #1a1d21;
    border-radius: 10px;
    padding: 16px 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 16px;
}

.server-card:hover {
    border-color: #333;
    background: rgba(255,255,255,0.02);
}

.server-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    position: relative;
    flex-shrink: 0;
}

.server-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: inherit;
    filter: brightness(1.3);
}

.server-icon.blue { background: linear-gradient(135deg, #1e3a5f, #3b82f6); }
.server-icon.purple { background: linear-gradient(135deg, #4c1d95, #a855f7); }
.server-icon.green { background: linear-gradient(135deg, #14532d, #22c55e); }
.server-icon.orange { background: linear-gradient(135deg, #7c2d12, #f97316); }
.server-icon.pink { background: linear-gradient(135deg, #831843, #ec4899); }
.server-icon.gray { background: linear-gradient(135deg, #374151, #9ca3af); }

.server-info {
    flex: 1;
    min-width: 0;
}

.server-card h3 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2px;
    color: var(--text);
}

.server-card h3 span {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.75rem;
}

.server-type {
    font-size: 0.7rem;
    color: #444;
    margin: 0;
}

.server-stats {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.server-count {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.server-progress {
    width: 80px;
    height: 3px;
    background: #1a1d21;
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #22c55e, #4ade80);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.server-wipe {
    font-size: 0.65rem;
    color: #444;
}

/* ============ SKINS PAGE ============ */
.skins-page {
    padding-top: 0;
    min-height: 100vh;
}

.skins-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.skins-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(30, 30, 38, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #888;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.skins-tab:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    color: #fff;
}

.skins-tab.active {
    background: rgba(59, 130, 246, 0.15);
    border-color: #3b82f6;
    color: #3b82f6;
}

.skins-content {
    display: none;
}

.skins-content.active {
    display: block;
}

/* Server Info Modal */
.server-info-modal {
    max-width: 700px;
    width: 95%;
    padding: 0;
    background: transparent;
    border: none;
}

.server-info-modal .server-info-card {
    background: #0d0d0d;
    border: 1px solid #1a1d21;
}

.server-info-modal .modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
}

/* Server Info Card */
.server-info-card {
    background: #0d0d0d;
    border: 1px solid #1a1d21;
    border-radius: 16px;
    overflow: hidden;
}

.server-info-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    flex-wrap: nowrap;
}

.server-info-header .server-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    flex-shrink: 0;
}

.server-info-header .server-icon.blue {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.server-details {
    flex: 1;
    min-width: 120px;
    margin-right: 16px;
}

.server-details h2 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
}

.server-details p {
    display: none;
}

.server-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.server-actions .btn {
    white-space: nowrap;
}

/* Server Online Bar */
.server-online-bar {
    padding: 20px 24px;
    border-bottom: 1px solid #1a1d21;
}

.online-text {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.online-progress-bar {
    height: 6px;
    background: #1a1d21;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #22c55e, #16a34a);
    border-radius: 4px;
    transition: width 0.5s ease;
    min-width: 2px;
}

.online-details {
    display: flex;
    gap: 20px;
    font-size: 13px;
}

.detail-online { color: #22c55e; }
.detail-joining { color: #eab308; }
.detail-queue { color: #888; }

/* Server Stats Grid */
.server-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid #1a1d21;
}

.stat-item {
    padding: 20px 16px;
    background: #0d0d0d;
    text-align: center;
    border-right: 1px solid #1a1d21;
}

.stat-item:nth-child(4n) {
    border-right: none;
}

.stat-label {
    display: block;
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.stat-value {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

/* Workshop Tab */
.workshop-info {
    background: rgba(20, 20, 28, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 40px;
}

.workshop-header {
    text-align: center;
    margin-bottom: 40px;
}

.workshop-header svg {
    color: #3b82f6;
    margin-bottom: 16px;
}

.workshop-header h2 {
    font-size: 24px;
    margin: 0 0 8px;
}

.workshop-header p {
    color: #888;
    margin: 0;
}

.workshop-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 600px;
    margin: 0 auto 40px;
}

.step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.step-number {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.step-content h4 {
    margin: 0 0 4px;
    font-size: 16px;
}

.step-content p {
    margin: 0;
    color: #888;
    font-size: 14px;
}

.step-content a {
    color: #3b82f6;
}

.step-content code {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    padding: 2px 8px;
    border-radius: 4px;
    font-family: monospace;
}

.workshop-note {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    max-width: 600px;
    margin: 0 auto;
}

.workshop-note svg {
    color: #3b82f6;
    flex-shrink: 0;
}

.workshop-note p {
    margin: 0;
    color: #888;
    font-size: 14px;
}

@media (max-width: 768px) {
    .skins-tabs {
        flex-direction: column;
    }
    
    .server-info-header {
        flex-direction: column;
        text-align: center;
    }
    
    .server-actions {
        width: 100%;
        justify-content: center;
    }
    
    .server-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .online-details {
        flex-direction: column;
        gap: 8px;
    }
}

/* Footer */
.footer {
    padding: 6px 0;
    position: relative;
    background: var(--bg);
    border-top: 1px solid rgba(255,255,255,0.03);
    flex-shrink: 0;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    min-height: auto;
}

.footer p {
    color: #444;
    font-size: 0.6rem;
    margin: 0;
    line-height: 1.2;
}

.footer-links {
    display: flex;
    gap: 3px;
}

.footer-links a {
    color: #555;
    text-decoration: none;
    font-size: 0.55rem;
    padding: 2px 5px;
    border-radius: 3px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.04);
    transition: all 0.2s ease;
    line-height: 1.2;
}

.footer-links a:hover {
    color: var(--accent);
    border-color: rgba(59, 130, 246, 0.2);
    background: rgba(59, 130, 246, 0.05);
}

/* Legal Pages */
.legal-page {
    padding: 100px 0 60px;
    min-height: calc(100vh - 200px);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
}

.legal-updated {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 40px;
}

.legal-section {
    margin-bottom: 35px;
}

.legal-section h2 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.legal-section h3 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    margin: 15px 0 10px;
}

.legal-section p {
    color: #aaa;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 10px;
}

.legal-section ul {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.legal-section ul li {
    color: #aaa;
    font-size: 0.9rem;
    line-height: 1.7;
    padding-left: 20px;
    position: relative;
    margin-bottom: 6px;
}

.legal-section ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent);
}

.legal-section a {
    color: var(--accent);
    text-decoration: none;
}

.legal-section a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2.5rem; }
    .servers-grid { grid-template-columns: 1fr; }
    .calendar-wrapper { flex-direction: column; }
    .calendar-days { flex-wrap: wrap; justify-content: center; }
}


/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    background: #0a0a0a;
    border: 1px solid #1a1d21;
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    border-bottom: 1px solid #1a1d21;
}

.modal-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
}

.modal-icon.product,
.modal-icon.info {
    background: linear-gradient(135deg, #1e3a5f, #3b82f6);
}

.modal-icon.topup {
    background: linear-gradient(135deg, #14532d, #22c55e);
}

.modal-icon.success {
    background: linear-gradient(135deg, #14532d, #22c55e);
}

.modal-icon.error {
    background: linear-gradient(135deg, #7f1d1d, #ef4444);
}

.modal-icon.warning {
    background: linear-gradient(135deg, #78350f, #f59e0b);
}

.modal-server-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    position: relative;
}

.modal-server-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: inherit;
    filter: brightness(1.3);
}

.modal-server-icon.blue {
    background: linear-gradient(135deg, #1e3a5f, #3b82f6);
}

.modal-header h2 {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 600;
}

.modal-message {
    color: #666;
    font-size: 0.85rem;
    padding: 16px 20px;
    border-bottom: 1px solid #1a1d21;
    margin: 0;
}

.modal-message:empty {
    display: none;
}

.modal-section {
    padding: 20px;
    border-bottom: 1px solid #1a1d21;
}

.modal-footer {
    padding: 20px;
    display: flex;
    gap: 10px;
}

.modal-footer .btn {
    flex: 1;
}

.confirm-footer .btn-outline {
    flex: 0 0 auto;
    min-width: 100px;
}

.confirm-footer .btn-primary {
    flex: 1;
}

.modal-actions {
    display: flex;
    gap: 8px;
}

.modal-actions .btn {
    padding: 8px 16px;
    font-size: 0.8rem;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: #444;
    font-size: 20px;
    cursor: pointer;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: #fff;
}

/* Online Section */
.modal-online {
    padding: 20px;
    border-bottom: 1px solid #1a1d21;
}

.online-count {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.online-bar {
    height: 4px;
    background: #1a1d21;
    border-radius: 2px;
    overflow: hidden;
    display: flex;
    margin-bottom: 10px;
}

.online-progress {
    height: 100%;
    background: linear-gradient(90deg, #22c55e, #4ade80);
}

.online-queue {
    height: 100%;
    background: #f59e0b;
}

.online-stats {
    display: flex;
    gap: 16px;
    font-size: 0.75rem;
}

.stat-online { color: #22c55e; }
.stat-joining { color: #f59e0b; }
.stat-queue { color: #555; }

/* Info Grid - for server modal (4 columns) */
.modal-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: #1a1d21;
}

.modal-info-grid:empty {
    display: none;
}

/* Confirm modal grid - 2 columns */
.confirm-modal-content .modal-info-grid {
    grid-template-columns: repeat(2, 1fr);
}

.info-item {
    background: #0a0a0a;
    padding: 14px 20px;
}

.info-label {
    display: block;
    font-size: 0.7rem;
    color: #555;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}

.info-value.price {
    color: #f59e0b;
}

@media (max-width: 700px) {
    .modal-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .modal-header {
        flex-wrap: wrap;
        padding-right: 40px;
    }
    .modal-actions {
        width: 100%;
        margin-top: 10px;
    }
}


/* Shop Page */
.shop-page {
    padding-top: 80px;
}

.shop-hero-buttons {
    display: flex;
    gap: 12px;
}

/* Balance wrapper with tooltip */
.balance-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-right: 0;
    flex-shrink: 0;
}

.balance {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-card);
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.balance:hover {
    border-color: var(--accent);
    background: rgba(59, 130, 246, 0.1);
}

.balance-tooltip {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 16px;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 100;
}

.balance-wrapper:hover .balance-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.balance-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    font-size: 0.9rem;
}

.balance-row.real span:last-child {
    color: var(--green);
    font-weight: 600;
}

.balance-row.bonus span:last-child {
    color: #f59e0b;
    font-weight: 600;
}

.balance-amount {
    font-weight: 600;
    font-size: 0.95rem;
}

.balance-icon {
    font-size: 1.1rem;
}

/* Shop Content */
.shop-content {
    padding: 40px 0;
}

.shop-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
}

.category-tabs {
    display: flex;
    gap: 8px;
}

.category-tab {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.category-tab:hover {
    color: var(--text);
    border-color: #333;
}

.category-tab.active {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.shop-search input {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    width: 200px;
    outline: none;
}

.shop-search input:focus {
    border-color: var(--accent);
}

.shop-search input::placeholder {
    color: #555;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.product-card {
    background: rgba(17, 19, 24, 0.95);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: all 0.25s ease;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    animation: cardAppear 0.5s ease forwards;
    animation-delay: calc(var(--delay, 0) * 0.05s);
}

@keyframes cardAppear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card:hover {
    border-color: rgba(255,255,255,0.12);
    transform: translateY(-3px);
    background: rgba(25, 28, 35, 0.7);
}

/* Privilege cards with colored backgrounds */
.product-card.privilege-card {
    border: 1px solid rgba(255,255,255,0.04);
}

.product-card.privilege-card .product-image {
    position: relative;
    overflow: hidden;
}

.product-card.privilege-card .product-image::before {
    content: '';
    position: absolute;
    bottom: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 80%;
    border-radius: 50%;
    filter: blur(30px);
    opacity: 0.7;
    animation: glowPulse 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.5;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translateX(-50%) scale(1.1);
    }
}

.product-card.privilege-card .product-image img {
    position: relative;
    z-index: 1;
}

/* Fire/Orange theme (Gods) */
.product-card.privilege-card[data-privilege="fire"] .product-image::before {
    background: radial-gradient(ellipse, rgba(255, 100, 0, 0.8) 0%, rgba(255, 50, 0, 0.4) 50%, transparent 70%);
}

/* Blue theme (Diamond) */
.product-card.privilege-card[data-privilege="blue"] .product-image::before {
    background: radial-gradient(ellipse, rgba(0, 150, 255, 0.7) 0%, rgba(100, 0, 255, 0.4) 50%, transparent 70%);
}

/* Silver/Gray theme (Silver) */
.product-card.privilege-card[data-privilege="silver"] .product-image::before {
    background: radial-gradient(ellipse, rgba(200, 200, 200, 0.6) 0%, rgba(150, 150, 150, 0.3) 50%, transparent 70%);
}

.product-card.privilege-card .product-info h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #fff;
}

.product-discount {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(34, 197, 94, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #4ade80;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 1;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.product-image {
    background: rgba(20, 22, 28, 0.5);
    padding: 40px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    position: relative;
}

.product-card.privilege-card .product-image {
    height: 220px;
    padding: 40px 20px;
}

.product-image img {
    max-width: 85%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
    transition: transform 0.3s ease;
}

.product-card.privilege-card .product-image img {
    max-width: 90%;
    max-height: 100%;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 16px 18px 18px;
}

.product-info h3 {
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 12px;
    color: #e5e5e5;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.2em;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.product-price .price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #f59e0b;
}

.product-price .currency {
    width: 16px;
    height: 16px;
}

.product-price .old-price {
    font-size: 0.8rem;
    color: #ef4444;
    text-decoration: line-through;
    opacity: 0.7;
}

.btn-buy {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.1);
    color: #666;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-buy:hover {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
}

.btn-buy svg {
    width: 18px;
    height: 18px;
}

.nav-links a.active {
    color: var(--text);
    background: var(--bg-card);
}

@media (max-width: 768px) {
    .shop-filters {
        flex-direction: column;
        align-items: flex-start;
    }
    .category-tabs {
        flex-wrap: wrap;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .product-card {
        border-radius: 12px;
    }
    .product-image {
        height: 120px;
        padding: 20px 15px;
    }
    .product-info {
        padding: 12px 14px 14px;
    }
    .product-info h3 {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }
    .product-price .price {
        font-size: 1.1rem;
    }
    .btn-buy {
        width: 34px;
        height: 34px;
    }
}


/* Shop Hero Animation */
.shop-hero {
    padding: 40px 0 30px;
    border-bottom: 1px solid var(--border);
    background: 
        linear-gradient(90deg, var(--bg) 0%, transparent 30%, transparent 70%, var(--bg) 100%),
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 100% 100%, 30px 30px, 30px 30px;
    min-height: 280px;
}

/* Hero Slider */
.shop-hero-slider {
    flex: 1;
    min-width: 0;
    position: relative;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.8s ease;
    min-height: 180px;
}

.hero-slide.active {
    position: relative;
    opacity: 1;
    transform: translateX(0);
}

.hero-slide.slide-out-left {
    transform: translateX(-100%);
    opacity: 0;
}

.hero-slide.slide-out-right {
    transform: translateX(100%);
    opacity: 0;
}

@keyframes fadeSlide {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 20px;
}

.slider-arrow {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.slider-arrow:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: #888;
}

.slider-arrow svg {
    width: 14px;
    height: 14px;
}

.slider-dots {
    display: flex;
    gap: 6px;
}

.slider-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.3);
}

.slider-dot.active {
    background: #3b82f6;
    width: 18px;
    border-radius: 3px;
}

/* Bonus Tiers */
.bonus-tiers {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.bonus-tier {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 8px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    transition: all 0.2s ease;
}

.bonus-tier:hover {
    border-color: rgba(59, 130, 246, 0.3);
}

.bonus-tier.highlight {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.3);
}

.tier-amount {
    font-size: 0.7rem;
    color: #666;
}

.tier-bonus {
    font-size: 0.95rem;
    font-weight: 600;
    color: #22c55e;
}

.bonus-tier.highlight .tier-bonus {
    color: #3b82f6;
    font-size: 1.1rem;
}

/* VIP Features */
.vip-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-bottom: 16px;
}

.vip-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: #999;
}

/* Roulette Info */
.roulette-info {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding: 10px 16px;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.15);
    border-radius: 10px;
}

.roulette-info span {
    font-size: 0.85rem;
    color: #f59e0b;
}

.bcoin-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.bcoin-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.vip-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #ccc;
}

.shop-hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.shop-hero-text h1 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.shop-hero-text p {
    color: var(--text-muted);
    font-size: 0.85rem;
    max-width: 380px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.shop-hero-animation {
    display: flex;
    gap: 8px;
    height: 200px;
    overflow: hidden;
    mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
}

.scroll-column {
    width: 70px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.scroll-down {
    animation: scrollDown 15s linear infinite;
}

.scroll-up {
    animation: scrollUp 15s linear infinite;
}

@keyframes scrollDown {
    0% { transform: translateY(-33.33%); }
    100% { transform: translateY(0%); }
}

@keyframes scrollUp {
    0% { transform: translateY(0%); }
    100% { transform: translateY(-33.33%); }
}

.scroll-item {
    width: 70px;
    height: 70px;
    background: #1a1d21;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid #2a2d32;
}

.scroll-item img {
    max-width: 55%;
    max-height: 55%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

@media (max-width: 900px) {
    .shop-hero-animation {
        display: none;
    }
    .shop-hero-content {
        justify-content: center;
    }
    .vip-features {
        grid-template-columns: 1fr;
    }
    .bonus-tiers {
        justify-content: center;
    }
}


/* Product Modal - New Style */
/* ============ PRODUCT MODAL V2 - Two Column Layout ============ */
/* ============ PRODUCT MODAL V2 - Compact Unique Design ============ */
.product-modal-v2 {
    max-width: 520px;
    padding: 0;
    overflow: hidden;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    background: #111;
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 12px;
    overflow-x: hidden;
}

.product-modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, transparent 100%);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.product-modal-v2 .product-modal-image {
    width: 44px;
    height: 44px;
    background: rgba(0,0,0,0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.05);
}

.product-modal-v2 .product-modal-image img {
    max-width: 34px;
    max-height: 34px;
    object-fit: contain;
}

.product-modal-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    color: #fff;
}

.product-modal-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0;
}

.product-modal-body::-webkit-scrollbar {
    width: 3px;
}

.product-modal-body::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 2px;
}

/* Features Table - Compact */
.product-features-table {
    padding: 0 14px;
    max-height: 120px;
    overflow-y: auto;
}

.product-features-table:empty {
    display: none;
}

.product-features-table::-webkit-scrollbar {
    width: 3px;
}

.product-features-table::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 2px;
}

.feature-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    gap: 12px;
}

.feature-row:last-child {
    border-bottom: none;
}

.feature-name {
    font-size: 0.75rem;
    color: #888;
    flex: 1;
    white-space: pre-line;
    line-height: 1.5;
}

.feature-value {
    font-size: 0.75rem;
    color: #3b82f6;
    font-weight: 600;
    text-align: right;
}

/* Duration Tabs in Footer */
.duration-tabs {
    display: none;
    gap: 4px;
}

.duration-tab {
    padding: 6px 10px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 500;
    color: #888;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.duration-tab:hover {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.3);
    color: #aaa;
}

.duration-tab.active {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.5);
    color: #3b82f6;
}

.duration-tab .discount {
    color: #22c55e;
    font-size: 0.65rem;
    margin-left: 2px;
}

/* Footer layout - one row */
.product-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 14px;
    border-top: 1px solid rgba(255,255,255,0.05);
    background: rgba(0,0,0,0.3);
    flex-shrink: 0;
    flex-wrap: wrap;
}

.product-modal-footer .btn {
    padding: 10px 14px;
    font-size: 0.8rem;
}

/* Kit Section - Tabs */
.product-kit-section {
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 8px;
}

.kit-tabs {
    display: flex;
    flex-wrap: wrap;
    padding: 8px 10px;
    gap: 4px;
    background: rgba(0,0,0,0.2);
    overflow: hidden;
}

.kit-tab {
    padding: 6px 10px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.kit-tab:hover {
    background: rgba(255,255,255,0.03);
}

.kit-tab.active {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

.kit-tab-name {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    color: #666;
}

.kit-tab.active .kit-tab-name {
    color: #3b82f6;
}

.kit-tab-cooldown {
    display: block;
    font-size: 0.55rem;
    color: #444;
    margin-top: 1px;
}

.kit-content {
    padding: 10px;
    max-height: 140px;
    overflow-y: auto;
    overflow-x: hidden;
}

.kit-content::-webkit-scrollbar {
    width: 3px;
}

.kit-content::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 2px;
}

.kit-items-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    justify-items: center;
}

.product-modal-v2 .kit-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 8px 4px 6px;
    text-align: center;
    transition: all 0.15s ease;
    position: relative;
    overflow: hidden;
    min-width: 0;
    width: 100%;
    max-width: 80px;
}

.product-modal-v2 .kit-item:hover {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.3);
}

.product-modal-v2 .kit-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.product-modal-v2 .kit-amount {
    display: block;
    font-size: 0.65rem;
    color: #fff;
    font-weight: 600;
    margin-top: 4px;
    background: rgba(59, 130, 246, 0.25);
    border-radius: 3px;
    padding: 2px 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Footer */
.product-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-top: 1px solid rgba(255,255,255,0.05);
    background: rgba(0,0,0,0.3);
    flex-shrink: 0;
}

.product-modal-v2 .product-modal-price-block {
    display: flex;
    align-items: center;
    gap: 4px;
}

.product-modal-v2 .product-modal-price-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #f59e0b;
}

.product-modal-v2 .product-modal-price-block svg {
    width: 14px;
    height: 14px;
}

.product-modal-v2 .product-modal-price-old {
    font-size: 0.75rem;
    color: #ef4444;
    text-decoration: line-through;
    margin-left: 6px;
    opacity: 0.7;
}

.product-modal-footer .btn {
    padding: 10px 16px;
    font-size: 0.8rem;
    border-radius: 6px;
}

/* Compact mode for simple items */
.product-modal-v2.compact {
    max-width: 420px;
}

.product-modal-v2.compact .product-modal-header {
    flex-direction: column;
    text-align: center;
    padding: 20px 16px;
}

.product-modal-v2.compact .product-modal-image {
    width: 80px;
    height: 80px;
}

.product-modal-v2.compact .product-modal-image img {
    max-width: 60px;
    max-height: 60px;
}

.product-modal-v2.compact .product-kit-section {
    display: none;
}

/* Mobile */
@media (max-width: 420px) {
    .product-modal-v2 {
        max-width: calc(100% - 16px);
        margin: 8px;
        max-height: calc(100vh - 16px);
    }
    
    .kit-items-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Old styles kept for compatibility */
.product-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}

.product-modal-image {
    width: 120px;
    height: 120px;
    background: #0d0f12;
    border: 1px solid #1a1d21;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-modal-image img {
    max-width: 90px;
    max-height: 90px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
}

.product-modal-price-block {
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-modal-price-value {
    font-size: 2rem;
    font-weight: 700;
    color: #f59e0b;
}

.product-modal-price-old {
    font-size: 1rem;
    color: #ef4444;
    text-decoration: line-through;
    opacity: 0.7;
}

.product-modal-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    color: #666;
    padding: 10px 14px;
    background: rgba(59, 130, 246, 0.05);
    border-top: 1px solid rgba(59, 130, 246, 0.1);
}

.product-modal-notice svg {
    flex-shrink: 0;
    color: #3b82f6;
    opacity: 0.7;
}

.modal-kit {
    padding: 0;
    border-bottom: 1px solid #1a1d21;
}

.modal-kit:empty {
    display: none;
}

.kit-category-section {
    padding: 16px 20px;
    border-bottom: 1px solid #1a1d21;
}

.kit-category-section:last-child {
    border-bottom: none;
}

.kit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.kit-cooldown {
    font-size: 0.75rem;
    color: #555;
}

.kit-items {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.kit-item {
    background: #0d0f12;
    border: 1px solid #1a1d21;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    width: 70px;
}

.kit-item img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    margin-bottom: 4px;
}

.kit-item span {
    display: block;
    font-size: 0.65rem;
    color: #555;
}


/* Product Features List */
.product-features {
    border-bottom: 1px solid #1a1d21;
}

.product-features:empty {
    display: none;
}

.product-features-list {
    display: flex;
    flex-direction: column;
}

.product-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid #1a1d21;
    font-size: 0.9rem;
    color: #ccc;
}

.product-feature-item:last-child {
    border-bottom: none;
}

.product-feature-item svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.product-description {
    padding: 20px;
}

.product-description p {
    color: #ccc;
    font-size: 0.9rem;
    margin-top: 8px;
    line-height: 1.5;
}

/* Section Divider */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px 0;
    max-width: 700px;
    margin: 0 auto;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, #333, transparent);
}

.divider-text {
    font-size: 0.75rem;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
}

/* Purchases Marquee */
.purchases-marquee {
    padding: 20px 0 60px;
    position: relative;
    background: 
        linear-gradient(rgba(59, 130, 246, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    overflow: hidden;
    width: 100%;
}

.purchases-marquee::before,
.purchases-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 10;
    pointer-events: none;
}

.purchases-marquee::before {
    left: 0;
    background: linear-gradient(90deg, 
        var(--bg) 0%, 
        var(--bg) 15%,
        rgba(10, 10, 15, 0.95) 30%,
        rgba(10, 10, 15, 0.7) 50%,
        rgba(10, 10, 15, 0.3) 75%,
        transparent 100%
    );
}

.purchases-marquee::after {
    right: 0;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(10, 10, 15, 0.3) 25%,
        rgba(10, 10, 15, 0.7) 50%,
        rgba(10, 10, 15, 0.95) 70%,
        var(--bg) 85%,
        var(--bg) 100%
    );
}

.marquee-wrapper {
    overflow: hidden;
    max-width: 100%;
    width: 100%;
}

.marquee-track {
    display: flex;
    gap: 24px;
    animation: marqueeScroll 40s linear infinite;
    width: max-content;
    will-change: transform;
}

.marquee-item {
    position: relative;
    flex-shrink: 0;
}

.marquee-item img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.6)) drop-shadow(0 0 8px rgba(59, 130, 246, 0.15));
    transition: all 0.3s ease;
    cursor: pointer;
}

.marquee-item:hover img {
    transform: scale(1.15) translateY(-2px);
    filter: drop-shadow(0 6px 16px rgba(0,0,0,0.8)) drop-shadow(0 0 12px rgba(59, 130, 246, 0.3));
}

.marquee-tooltip {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 15, 20, 0.98);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    color: #fff;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.marquee-tooltip::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-bottom-color: rgba(59, 130, 246, 0.3);
}

.marquee-item:hover .marquee-tooltip {
    opacity: 1;
    visibility: visible;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Responsive fixes for marquee */
@media (max-width: 1200px) {
    .marquee-track {
        animation: marqueeScrollMedium 35s linear infinite;
    }
    
    @keyframes marqueeScrollMedium {
        0% { transform: translateX(10%); }
        100% { transform: translateX(-40%); }
    }
}

@media (max-width: 768px) {
    .purchases-marquee {
        padding: 20px 0 40px;
    }
    
    .marquee-wrapper {
        padding: 0 20px;
    }
    
    .marquee-track {
        gap: 16px;
        animation: marqueeScrollSmall 30s linear infinite;
    }
    
    @keyframes marqueeScrollSmall {
        0% { transform: translateX(20%); }
        100% { transform: translateX(-30%); }
    }
    
    .marquee-item img {
        width: 40px;
        height: 40px;
    }
    
    .purchases-marquee::before,
    .purchases-marquee::after {
        width: 50px;
    }
}

@media (max-width: 480px) {
    .marquee-wrapper {
        padding: 0 10px;
    }
    
    .marquee-track {
        gap: 12px;
        animation: marqueeScrollTiny 25s linear infinite;
    }
    
    @keyframes marqueeScrollTiny {
        0% { transform: translateX(30%); }
        100% { transform: translateX(-20%); }
    }
    
    .marquee-item img {
        width: 32px;
        height: 32px;
    }
    
    .purchases-marquee::before,
    .purchases-marquee::after {
        width: 30px;
    }
}

/* Socials Section */
.socials-section {
    padding: 20px 0 30px;
    position: relative;
    background: 
        radial-gradient(ellipse at center, transparent 0%, var(--bg) 70%),
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
}

.socials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 700px;
    margin: 0 auto;
}

.social-card {
    background: transparent;
    border: 1px solid #1a1d21;
    border-radius: 10px;
    padding: 16px 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.social-card:hover {
    border-color: #333;
    background: rgba(255,255,255,0.02);
}

.social-header h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
}

.social-subs {
    font-size: 0.65rem;
    color: #444;
    letter-spacing: 0.5px;
}

.social-icon {
    width: 36px;
    height: 36px;
    color: #333;
    transition: color 0.3s ease;
}

.social-icon svg {
    width: 100%;
    height: 100%;
}

.social-card:hover .social-icon.telegram {
    color: #26A5E4;
}

.social-card:hover .social-icon.discord {
    color: #5865F2;
}

.social-card:hover .social-icon.vk {
    color: #0077FF;
}

@media (max-width: 768px) {
    .socials-grid {
        grid-template-columns: 1fr;
    }
}


/* User Profile */
.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 6px 12px 6px 6px;
    border-radius: 10px;
    border: 1px solid #1a1d21;
    transition: all 0.2s ease;
    position: relative;
}

.user-profile:hover {
    border-color: #333;
    background: rgba(255,255,255,0.02);
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.user-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: #fff;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #0d0f12;
    border: 1px solid #1a1d21;
    border-radius: 10px;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
    overflow: hidden;
}

.user-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: #888;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.user-menu-item:hover {
    background: rgba(255,255,255,0.05);
    color: #fff;
}

.user-menu-item svg {
    opacity: 0.6;
}

.user-menu-item:hover svg {
    opacity: 1;
}


.user-menu-divider {
    height: 1px;
    background: #1a1d21;
    margin: 4px 0;
}

.user-menu-item.logout {
    color: #ef4444;
}

.user-menu-item.logout:hover {
    background: rgba(239, 68, 68, 0.1);
}


/* Profile Page */
.profile-page {
    padding: 100px 0 40px;
    min-height: 100vh;
    background: var(--bg);
}

.profile-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 20px;
}

/* Sidebar */
.profile-sidebar {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.profile-card {
    background: #0a0a0a;
    border: 1px solid #1a1d21;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    margin-bottom: 16px;
    border: 2px solid #1a1d21;
}

.profile-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.profile-steamid {
    font-size: 0.7rem;
    color: #444;
    margin-bottom: 16px;
    font-family: monospace;
}

.profile-steam-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #666;
    text-decoration: none;
    font-size: 0.8rem;
    padding: 8px 16px;
    border: 1px solid #1a1d21;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.profile-steam-link:hover {
    color: #fff;
    border-color: #333;
    background: rgba(255,255,255,0.02);
}

/* Profile Nav */
.profile-nav {
    background: #0a0a0a;
    border: 1px solid #1a1d21;
    border-radius: 12px;
    overflow: hidden;
}

.profile-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: #666;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.profile-nav-item:hover {
    background: rgba(255,255,255,0.02);
    color: #fff;
}

.profile-nav-item.active {
    background: rgba(59, 130, 246, 0.08);
    color: var(--accent);
    border-left-color: var(--accent);
}

.nav-badge {
    margin-left: auto;
    background: #1a1d21;
    color: #555;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}

.profile-nav-item.active .nav-badge {
    background: var(--accent);
    color: #fff;
}

/* Profile Content - Modal Style */
.profile-content-wrap {
    background: #0a0a0a;
    border: 1px solid #1a1d21;
    border-radius: 12px;
    overflow: hidden;
}

.profile-tab {
    display: none;
}

.profile-tab.active {
    display: block;
}

/* Profile Section - Like Modal */
.profile-section-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    border-bottom: 1px solid #1a1d21;
}

.profile-section-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}

.profile-section-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #15171a;
    border: 1px solid #1a1d21;
    color: #555;
}

/* Profile Info Grid - Like Modal Info Grid */
.profile-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: #1a1d21;
}

.profile-info-item {
    background: #0a0a0a;
    padding: 16px 20px;
}

.profile-info-label {
    display: block;
    font-size: 0.7rem;
    color: #555;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-info-value {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
}

.profile-info-value.price {
    color: #22c55e;
}

.profile-info-value.bonus {
    color: #f59e0b;
}

/* Profile Transfer Section */
.profile-transfer-section {
    margin-top: 24px;
    padding: 20px;
    background: #0d0d0d;
    border: 1px solid var(--border);
    border-radius: 8px;
}

.profile-transfer-section h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #fff;
}

.transfer-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.transfer-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.transfer-input {
    flex: 1;
    min-width: 200px;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: #fff;
    font-size: 0.9rem;
}

.transfer-input:focus {
    outline: none;
    border-color: var(--accent);
}

.transfer-amount {
    width: 120px;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: #fff;
    font-size: 0.9rem;
}

.transfer-amount:focus {
    outline: none;
    border-color: var(--accent);
}

.transfer-form .btn {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

/* Profile Promocode Section */
.profile-promocode-section {
    margin-top: 24px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
}

.profile-promocode-section h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #fff;
}

.promocode-hint {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.promocode-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.promocode-input {
    flex: 1;
    min-width: 200px;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: #fff;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.promocode-input:focus {
    outline: none;
    border-color: var(--accent);
}

.promocode-form .btn {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

/* Profile Empty State */
.profile-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    color: #444;
    min-height: 200px;
}

.profile-empty svg {
    margin-bottom: 14px;
    opacity: 0.3;
}

.profile-empty p {
    margin-bottom: 16px;
    font-size: 0.85rem;
}

/* Active Services */
.services-list {
    display: flex;
    flex-direction: column;
}

.service-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-bottom: 1px solid #1a1d21;
}

.service-card:last-child {
    border-bottom: none;
}

.service-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
}

.service-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.service-icon.vip {
    background: linear-gradient(135deg, #78350f, #f59e0b);
}

.service-icon.premium {
    background: linear-gradient(135deg, #4c1d95, #a855f7);
}

.service-icon.privilege {
    background: linear-gradient(135deg, #1e3a5f, #3b82f6);
}

.service-info {
    flex: 1;
    min-width: 0;
}

.service-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 2px;
}

.service-server {
    font-size: 0.7rem;
    color: #555;
}

.service-expires {
    text-align: right;
}

.service-expires-label {
    font-size: 0.6rem;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 2px;
}

.service-expires-value {
    font-size: 0.85rem;
    font-weight: 500;
    color: #22c55e;
}

.service-expires-value.expiring {
    color: #f59e0b;
}

.service-expires-value.expired {
    color: #ef4444;
}

.service-expires-value.critical {
    color: #ef4444;
    animation: pulse-critical 1s ease-in-out infinite;
}

.service-expires-value.permanent {
    color: #a855f7;
    font-weight: 600;
}

@keyframes pulse-critical {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Inventory Grid */
.inventory-grid {
    padding: 16px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}

/* Cart List */
.cart-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-item {
    background: rgba(15, 15, 20, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cart-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.cart-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #3b82f6, #1d4ed8);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cart-item:hover {
    border-color: rgba(59, 130, 246, 0.3);
    background: rgba(20, 25, 35, 0.8);
    box-shadow: 
        0 8px 32px rgba(59, 130, 246, 0.15),
        inset 0 0 60px rgba(59, 130, 246, 0.03);
}

.cart-item:hover::before {
    opacity: 1;
}

.cart-item:hover::after {
    opacity: 1;
}

.cart-item-image {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 10px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.cart-item:hover .cart-item-image {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(59, 130, 246, 0.3));
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.cart-item-date {
    font-size: 0.75rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 4px;
}

.cart-item-price {
    font-size: 1.1rem;
    color: #3b82f6;
    font-weight: 700;
    margin-top: 4px;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.cart-item-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cart-item-actions .btn {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    padding: 10px 18px;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.cart-item-actions .btn-primary {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border: none;
    color: #fff;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.cart-item-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #9ca3af;
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

/* Purchases List */
.purchases-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.purchase-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: rgba(20, 20, 25, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    transition: all 0.2s ease;
}

.purchase-item:hover {
    background: rgba(30, 30, 38, 0.6);
    border-color: rgba(59, 130, 246, 0.3);
}

.purchase-item:last-child {
    border-bottom: none;
}

.purchase-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.purchase-item:hover .purchase-icon {
    background: rgba(59, 130, 246, 0.1);
}

.purchase-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.purchase-info {
    flex: 1;
    min-width: 0;
}

.purchase-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 4px;
}

.purchase-date {
    font-size: 0.75rem;
    color: #6b7280;
}

.purchase-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #f59e0b;
    margin-right: 14px;
    text-shadow: 0 0 15px rgba(245, 158, 11, 0.3);
}

.purchase-status {
    font-size: 0.7rem;
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.purchase-status.activated {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.2);
}

.purchase-status.pending {
    background: rgba(249, 115, 22, 0.15);
    color: #f97316;
    border: 1px solid rgba(249, 115, 22, 0.3);
    box-shadow: 0 0 15px rgba(249, 115, 22, 0.2);
}

.purchase-status.refunded {
    background: rgba(107, 114, 128, 0.15);
    color: #9ca3af;
    border: 1px solid rgba(107, 114, 128, 0.3);
}

.purchase-item.refunded {
    opacity: 0.6;
}

/* History Filters */
.history-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.history-filter {
    padding: 8px 16px;
    background: rgba(30, 30, 38, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #888;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.history-filter:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    color: #fff;
}

.history-filter.active {
    background: rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
    color: #3b82f6;
}

/* History Items */
.history-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(20, 20, 28, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    margin-bottom: 8px;
    transition: all 0.2s ease;
}

.history-item:hover {
    background: rgba(30, 30, 38, 0.6);
    border-color: rgba(59, 130, 246, 0.3);
}

.history-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.history-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.history-icon.purchase {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.history-icon.topup {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.history-icon.promocode {
    background: rgba(168, 85, 247, 0.15);
    color: #a855f7;
}

.history-info {
    flex: 1;
    min-width: 0;
}

.history-title {
    font-weight: 500;
    color: #fff;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.history-subtitle {
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

.history-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.history-amount {
    font-weight: 600;
    font-size: 14px;
}

.history-amount.income {
    color: #22c55e;
}

.history-amount.expense {
    color: #ef4444;
}

.history-amount.bonus {
    color: #a855f7;
}

.history-status {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.history-status.activated,
.history-status.completed {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.history-status.pending {
    background: rgba(234, 179, 8, 0.15);
    color: #eab308;
}

.history-status.refunded,
.history-status.failed {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

@media (max-width: 900px) {
    .profile-layout {
        grid-template-columns: 1fr;
    }
    .profile-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .profile-card {
        flex: 1;
        min-width: 200px;
    }
    .profile-nav {
        flex: 2;
        min-width: 280px;
    }
    .profile-info-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   ADMIN PANEL REDESIGN 2.0 - MAKET STYLE
   Modern dark theme with glass-morphism
   ============================================ */

.admin-page {
    padding: 0;
    min-height: 100vh;
    background: #09090b;
    padding-top: 100px;
}

.admin-layout {
    display: flex;
    min-height: calc(100vh - 100px);
    background: #09090b;
}

/* ============================================
   SIDEBAR - Modern compact design
   ============================================ */
.admin-sidebar {
    width: 256px;
    background: #18181b;
    border-right: 1px solid #27272a;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 80px);
    overflow: hidden;
    position: sticky;
    top: 80px;
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.3);
}

.admin-title {
    padding: 24px;
}

.admin-title .logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
}

.admin-title .logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.25);
}

.admin-title .logo-icon svg {
    width: 24px;
    height: 24px;
    color: #fff;
    stroke-width: 2.5;
}

.admin-title .logo-text {
    display: flex;
    flex-direction: column;
}

.admin-title .logo-text .title {
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1;
}

.admin-title .logo-text .subtitle {
    font-size: 10px;
    font-weight: 700;
    color: #71717a;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-top: 4px;
}

.admin-nav {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Custom scrollbar for sidebar */
.admin-nav::-webkit-scrollbar {
    width: 6px;
}

.admin-nav::-webkit-scrollbar-track {
    background: transparent;
}

.admin-nav::-webkit-scrollbar-thumb {
    background: #27272a;
    border-radius: 10px;
}

.admin-nav::-webkit-scrollbar-thumb:hover {
    background: #3f3f46;
}

.admin-nav-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.admin-nav-group-title {
    font-size: 10px;
    font-weight: 900;
    color: #52525b;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    padding: 0 12px;
    margin-bottom: 8px;
}

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    color: #71717a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    border-radius: 10px;
    position: relative;
}

.admin-nav-item:hover {
    background: rgba(39, 39, 42, 0.5);
    color: #e4e4e7;
}

.admin-nav-item.active {
    background: #27272a;
    color: #60a5fa;
    font-weight: 700;
}

.admin-nav-item.active::after {
    content: '';
    position: absolute;
    right: 12px;
    width: 6px;
    height: 6px;
    background: #60a5fa;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(96, 165, 250, 0.6);
}

.admin-nav-item svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.5;
    flex-shrink: 0;
}

.admin-nav-item.active svg {
    color: #60a5fa;
}

.admin-nav-badge {
    margin-left: auto;
    background: #3b82f6;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 7px;
    border-radius: 6px;
    min-width: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.admin-nav-divider {
    height: 1px;
    background: #27272a;
    margin: 0;
}

/* ============================================
   CONTENT AREA - Main workspace
   ============================================ */
.admin-content {
    flex: 1;
    overflow-y: auto;
    height: 100vh;
    padding: 32px;
    background: #09090b;
}

/* Custom scrollbar for content */
.admin-content::-webkit-scrollbar {
    width: 8px;
}

.admin-content::-webkit-scrollbar-track {
    background: transparent;
}

.admin-content::-webkit-scrollbar-thumb {
    background: #27272a;
    border-radius: 10px;
}

.admin-content::-webkit-scrollbar-thumb:hover {
    background: #3f3f46;
}

.admin-tab {
    display: none;
}

.admin-tab.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(10px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
}

.admin-header-title h1 {
    font-size: 32px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.03em;
    margin-bottom: 4px;
    line-height: 1.1;
}

.admin-header-title p {
    font-size: 14px;
    font-weight: 500;
    color: #71717a;
    margin-top: 6px;
}

.admin-header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.admin-header-actions select {
    background: #18181b;
    border: 1px solid #27272a;
    color: #e4e4e7;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    outline: none;
    min-width: 180px;
    cursor: pointer;
    transition: all 0.2s;
}

.admin-header-actions select:hover {
    border-color: #3f3f46;
}

.admin-header-actions select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.admin-hint {
    font-size: 12px;
    color: #71717a;
    margin-bottom: 24px;
    font-weight: 500;
}

/* ============================================
   STATS CARDS - Dashboard statistics
   ============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.stat-card {
    background: #18181b;
    border: 1px solid #27272a;
    padding: 16px 20px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-card:hover {
    border-color: #3f3f46;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, var(--stat-glow, rgba(59, 130, 246, 0.1)), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card .stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.stat-card .stat-icon svg {
    width: 20px;
    height: 20px;
}

.stat-icon.blue {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

.stat-card:has(.stat-icon.blue) {
    --stat-glow: rgba(59, 130, 246, 0.2);
}

.stat-icon.green {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.stat-card:has(.stat-icon.green) {
    --stat-glow: rgba(34, 197, 94, 0.2);
}

.stat-icon.orange {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.stat-card:has(.stat-icon.orange) {
    --stat-glow: rgba(245, 158, 11, 0.2);
}

.stat-icon.purple {
    background: rgba(168, 85, 247, 0.15);
    color: #a855f7;
}

.stat-card:has(.stat-icon.purple) {
    --stat-glow: rgba(168, 85, 247, 0.2);
}

.stat-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

.stat-card .stat-info {
    position: relative;
    z-index: 1;
}

.stat-value {
    display: block;
    font-size: 24px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 9px;
    color: #71717a;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 900;
    margin-top: 2px;
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.stat-card.mini {
    padding: 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.stat-card.mini .stat-value {
    font-size: 22px;
    font-weight: 900;
}

.stat-card.mini .stat-label {
    font-size: 9px;
}

/* ============================================
   SETTINGS SECTIONS - Configuration blocks
   ============================================ */

/* Grid container for 2-column layout */
.settings-grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 32px;
}

.settings-section {
    background: #18181b;
    border: 1px solid #27272a;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 0;
    transition: border-color 0.2s;
}

.settings-section:hover {
    border-color: #3f3f46;
}

.settings-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    border-bottom: 1px solid #27272a;
    background: rgba(39, 39, 42, 0.3);
}

.settings-section-header svg {
    width: 18px;
    height: 18px;
    color: #71717a;
}

.settings-section-header h3 {
    font-size: 11px;
    font-weight: 900;
    color: #e4e4e7;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin: 0;
}

.settings-section-header h3::before {
    display: none;
}

.settings-grid {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.setting-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    border-radius: 12px;
    transition: background 0.2s;
}

.setting-item:hover {
    background: rgba(39, 39, 42, 0.4);
}

.setting-item.full {
    padding: 0;
    flex-direction: column;
    align-items: stretch;
}

.setting-item.full:hover {
    background: transparent;
}

.setting-info {
    flex: 1;
    min-width: 0;
}

.setting-info label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #e4e4e7;
    margin-bottom: 4px;
}

.setting-info p {
    font-size: 11px;
    font-weight: 500;
    color: #71717a;
    line-height: 1.5;
    margin: 0;
}

.setting-control {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.setting-control input,
.setting-control select {
    background: #09090b;
    border: 1px solid #27272a;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    width: 140px;
    outline: none;
    transition: all 0.2s;
}

.setting-control input:hover,
.setting-control select:hover {
    border-color: #3f3f46;
}

.setting-control input:focus,
.setting-control select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.setting-control.wide input {
    width: 100%;
    text-align: left;
}

.setting-unit {
    font-size: 11px;
    font-weight: 900;
    color: #52525b;
    text-transform: uppercase;
    min-width: 32px;
}

.setting-item.full textarea {
    width: 100%;
    background: #09090b;
    border: 1px solid #27272a;
    border-radius: 12px;
    padding: 14px;
    font-size: 13px;
    color: #fff;
    font-family: 'Courier New', monospace;
    resize: vertical;
    min-height: 100px;
    outline: none;
    transition: all 0.2s;
    line-height: 1.6;
}

.setting-item.full textarea:hover {
    border-color: #3f3f46;
}

.setting-item.full textarea:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* DB Actions */
.db-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.db-actions .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(39, 39, 42, 0.5);
    border: 1px solid #27272a;
    color: #a1a1aa;
    padding: 14px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.2s;
    cursor: pointer;
}

.db-actions .btn:hover {
    background: #27272a;
    border-color: #3f3f46;
    color: #e4e4e7;
    transform: translateY(-2px);
}

.db-actions .btn:active {
    transform: translateY(0);
}

.db-actions .btn svg {
    width: 16px;
    height: 16px;
    opacity: 0.7;
}

/* ============================================
   TABLES - Data tables
   ============================================ */
.admin-table-wrap {
    background: #18181b;
    border: 1px solid #27272a;
    border-radius: 20px;
    overflow-x: auto;
    overflow-y: visible;
    position: relative;
}

/* Force scrollbar to always be visible */
.admin-table-wrap::-webkit-scrollbar {
    height: 12px;
    background: rgba(39, 39, 42, 0.5);
}

.admin-table-wrap::-webkit-scrollbar-track {
    background: rgba(39, 39, 42, 0.5);
    border-radius: 0 0 20px 20px;
}

.admin-table-wrap::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.6);
    border-radius: 6px;
    border: 2px solid rgba(39, 39, 42, 0.5);
}

.admin-table-wrap::-webkit-scrollbar-thumb:hover {
    background: rgba(59, 130, 246, 0.8);
}

/* Add shadow to indicate scrollable content */
.admin-table-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 40px;
    background: linear-gradient(to left, rgba(24, 24, 27, 0.8), transparent);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.admin-table-wrap:not(:hover)::after {
    opacity: 1;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
    min-width: 900px;
}

.admin-table th {
    padding: 12px 16px;
    text-align: left;
    font-size: 9px;
    font-weight: 900;
    color: #71717a;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    background: rgba(39, 39, 42, 0.4);
    border-bottom: 1px solid #27272a;
    position: sticky;
    top: 0;
    z-index: 10;
}

.admin-table td {
    padding: 10px 16px;
    font-size: 13px;
    border-bottom: 1px solid rgba(39, 39, 42, 0.5);
    color: #e4e4e7;
    vertical-align: top;
}

/* Column widths - let them be flexible */
.admin-table th:nth-child(1),
.admin-table td:nth-child(1) {
    width: 140px;
}

.admin-table th:nth-child(2),
.admin-table td:nth-child(2) {
    width: 90px;
}

.admin-table th:nth-child(3),
.admin-table td:nth-child(3) {
    width: 140px;
}

.admin-table th:nth-child(4),
.admin-table td:nth-child(4) {
    width: auto;
    min-width: 200px;
}

.admin-table th:nth-child(5),
.admin-table td:nth-child(5) {
    width: 70px;
    text-align: center;
}

.admin-table th:nth-child(6),
.admin-table td:nth-child(6) {
    width: 110px;
}

.admin-table th:nth-child(7),
.admin-table td:nth-child(7) {
    width: 100px;
}

.admin-table tbody tr {
    transition: all 0.15s;
}

.admin-table tbody tr:hover {
    background: rgba(39, 39, 42, 0.3);
}

.admin-table tbody tr:last-child td {
    border-bottom: none;
}

.admin-table code {
    background: #09090b;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    border: 1px solid #27272a;
    font-family: 'Courier New', monospace;
    color: #a1a1aa;
    display: inline-block;
}

.admin-table .table-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #27272a;
}

.admin-table .empty {
    text-align: center;
    color: #52525b;
    padding: 80px 20px;
    font-size: 14px;
    font-weight: 600;
}

/* ============================================
   TICKETS - Support tickets grid
   ============================================ */
#adminTicketsGrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.admin-ticket-card {
    background: #18181b;
    border: 1px solid #27272a;
    border-radius: 20px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.admin-ticket-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.08), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.admin-ticket-card:hover {
    border-color: #3f3f46;
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.admin-ticket-card:hover::before {
    opacity: 1;
}

.admin-ticket-card.open {
    border-left: 4px solid #3b82f6;
}

.admin-ticket-card.pending {
    border-left: 4px solid #f59e0b;
}

.admin-ticket-card.closed {
    border-left: 4px solid #52525b;
    opacity: 0.7;
}

.admin-ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.admin-ticket-user {
    display: flex;
    align-items: center;
    gap: 16px;
}

.admin-ticket-avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}

.admin-ticket-avatar-wrapper img {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    object-fit: cover;
    border: 1px solid #27272a;
}

.admin-ticket-status-dot {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 14px;
    height: 14px;
    background: #3b82f6;
    border: 4px solid #18181b;
    border-radius: 50%;
}

.admin-ticket-username {
    display: block;
    font-size: 16px;
    font-weight: 900;
    color: #e4e4e7;
    margin-bottom: 4px;
}

.admin-ticket-steamid {
    display: block;
    font-size: 10px;
    color: #52525b;
    font-family: 'Courier New', monospace;
    letter-spacing: -0.02em;
}

.admin-ticket-meta-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.admin-ticket-status {
    font-size: 9px;
    font-weight: 900;
    padding: 6px 10px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.admin-ticket-status.open {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

.admin-ticket-status.pending {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.admin-ticket-status.closed {
    background: rgba(82, 82, 91, 0.15);
    color: #a1a1aa;
}

.admin-ticket-id {
    font-size: 10px;
    font-weight: 700;
    color: #52525b;
}

.admin-ticket-content {
    position: relative;
    z-index: 1;
}

.admin-ticket-subject {
    font-size: 14px;
    font-weight: 700;
    color: #a1a1aa;
    margin-bottom: 16px;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.admin-ticket-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid rgba(39, 39, 42, 0.5);
}

.admin-ticket-meta-left {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #71717a;
}

.admin-ticket-meta-left svg {
    width: 16px;
    height: 16px;
}

.admin-ticket-messages {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.admin-ticket-date {
    font-size: 10px;
    font-weight: 700;
    color: #52525b;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.admin-ticket-status.closed {
    background: rgba(82, 82, 91, 0.15);
    color: #a1a1aa;
}

.admin-ticket-subject {
    font-size: 14px;
    font-weight: 700;
    color: #a1a1aa;
    margin-bottom: 16px;
    line-height: 1.5;
    position: relative;
    z-index: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.admin-ticket-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid rgba(39, 39, 42, 0.5);
    position: relative;
    z-index: 1;
}

.admin-ticket-meta-left {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #71717a;
}

.admin-ticket-meta-left svg {
    width: 16px;
    height: 16px;
}

.admin-ticket-messages {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.admin-ticket-id {
    font-size: 10px;
    font-weight: 700;
    color: #52525b;
}

.admin-ticket-date {
    font-size: 10px;
    font-weight: 700;
    color: #52525b;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

/* ============================================
   BUTTONS - Action buttons
   ============================================ */
.btn-icon {
    background: #27272a;
    border: 1px solid #3f3f46;
    color: #a1a1aa;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    margin-right: 4px;
}

.btn-icon:hover {
    background: #3f3f46;
    color: #fff;
    border-color: #52525b;
    transform: translateY(-2px);
}

.btn-icon:active {
    transform: translateY(0);
}

.btn-icon.primary:hover {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #fff;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-icon.danger:hover {
    background: #ef4444;
    border-color: #ef4444;
    color: #fff;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.25);
}

.btn.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(59, 130, 246, 0.4);
}

.btn.btn-primary:active {
    transform: scale(0.98);
}

.btn.btn-secondary {
    background: #27272a;
    color: #e4e4e7;
    border: 1px solid #3f3f46;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn.btn-secondary:hover {
    background: #3f3f46;
    transform: translateY(-2px);
}

.btn.btn-secondary:active {
    transform: scale(0.98);
}

.btn.btn-outline {
    background: transparent;
    color: #a1a1aa;
    border: 1px solid #27272a;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn.btn-outline:hover {
    background: #18181b;
    border-color: #3f3f46;
    color: #e4e4e7;
}

.btn.btn-small {
    padding: 8px 16px;
    font-size: 12px;
}

.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.status-badge.pending {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.status-badge.activated {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.status-badge.open {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

.status-badge.closed {
    background: rgba(82, 82, 91, 0.15);
    color: #a1a1aa;
}

/* ============================================
   RESPONSIVE - Mobile adaptations
   ============================================ */
@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .settings-grid-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1000px) {
    .admin-layout {
        flex-direction: column;
    }
    
    .admin-sidebar {
        width: 100%;
        height: auto;
        position: static;
        border-right: none;
        border-bottom: 1px solid #27272a;
    }
    
    .admin-content {
        padding: 24px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    #adminTicketsGrid {
        grid-template-columns: 1fr;
    }
    
    .skins-moderation-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .settings-grid-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .skins-moderation-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-content {
        padding: 16px;
    }
    
    .admin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .admin-header-title h1 {
        font-size: 24px;
    }
    
    .products-grid-admin {
        grid-template-columns: 1fr;
    }
    
    .db-actions {
        grid-template-columns: 1fr;
    }
    
    .settings-grid-container {
        grid-template-columns: 1fr;
    }
}

/* Admin Modal */
.admin-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.admin-modal.active {
    display: flex;
}

.admin-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.admin-modal-content {
    position: relative;
    background: #0d0f12;
    border: 1px solid #1a1d21;
    border-radius: 12px;
    width: 100%;
    max-width: 450px;
}

.admin-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #1a1d21;
}

.admin-modal-header h2 {
    font-size: 1.1rem;
    font-weight: 600;
}

.admin-modal-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.admin-modal-close {
    background: none;
    border: none;
    color: #888;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s;
}

.admin-modal-close:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.admin-modal-body {
    padding: 20px 24px;
}

.admin-modal-footer {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding: 16px 24px;
    border-top: 1px solid #1a1d21;
}

.admin-modal-footer .btn-secondary {
    padding: 10px 20px;
    background: #27272a;
    border: 1px solid #3f3f46;
    color: #e4e4e7;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.admin-modal-footer .btn-secondary:hover {
    background: #3f3f46;
    border-color: #52525b;
    transform: translateY(-1px);
}

.admin-modal-footer .btn-primary {
    padding: 10px 20px;
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    border: none;
    color: #fff;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.admin-modal-footer .btn-primary:hover {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

/* Forms */
.form-group {
    margin-bottom: 16px;
    padding: 0 24px;
}

.form-group:first-of-type {
    padding-top: 20px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: #15171a;
    border: 1px solid #1a1d21;
    color: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 0 24px;
    margin-bottom: 16px;
}

.form-row:first-of-type {
    padding-top: 20px;
}

.form-row .form-group {
    padding: 0;
    margin-bottom: 0;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 20px 24px;
    border-top: 1px solid #1a1d21;
    margin-top: 8px;
}

/* Admin menu item */
.user-menu-item.admin {
    color: var(--accent);
}

.user-menu-item.admin:hover {
    background: rgba(59, 130, 246, 0.1);
}

@media (max-width: 1000px) {
    .admin-layout {
        grid-template-columns: 1fr;
    }
    .admin-sidebar {
        position: static;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}


/* Admin Extended Styles */
.admin-hint {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 16px;
}

.admin-header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.admin-header-actions select {
    background: #15171a;
    border: 1px solid #1a1d21;
    color: #fff;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    outline: none;
    min-width: 180px;
    cursor: pointer;
}

/* Sortable Grid */
/* ============================================
   SORTABLE ITEMS - Drag & drop lists
   ============================================ */
.sortable-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sortable-item {
    background: #18181b;
    border: 1px solid #27272a;
    border-radius: 14px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: grab;
    transition: all 0.2s ease;
}

.sortable-item:hover {
    border-color: #3f3f46;
    background: rgba(39, 39, 42, 0.3);
}

.sortable-item.dragging {
    opacity: 0.5;
    border-color: #3b82f6;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.sortable-handle {
    color: #52525b;
    font-size: 1.2rem;
    cursor: grab;
    user-select: none;
    transition: color 0.2s;
}

.sortable-item:hover .sortable-handle {
    color: #71717a;
}

.sortable-actions {
    margin-left: auto;
    display: flex;
    gap: 8px;
}

/* ============================================
   CATEGORY ITEMS
   ============================================ */
.category-item .category-info {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
}

.category-icon {
    font-size: 1.6rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.category-info strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #e4e4e7;
}

.category-info small {
    color: #71717a;
    font-size: 12px;
    font-family: 'Courier New', monospace;
}

/* ============================================
   PRODUCT ITEMS - Grid view
   ============================================ */
.products-grid-admin {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.product-item-admin {
    padding: 14px;
    background: #18181b;
    border: 1px solid #27272a;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.2s;
}

.product-item-admin:hover {
    border-color: #3f3f46;
    transform: translateY(-2px);
}

.product-thumb {
    width: 56px;
    height: 56px;
    object-fit: cover;
    background: #09090b;
    border-radius: 12px;
    padding: 6px;
    border: 1px solid #27272a;
}

.product-item-info {
    flex: 1;
    min-width: 0;
}

.product-item-info strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #e4e4e7;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.product-item-info small {
    color: #71717a;
    font-size: 11px;
    font-weight: 600;
}

.discount-badge {
    display: inline-block;
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    font-size: 10px;
    font-weight: 900;
    padding: 4px 8px;
    border-radius: 6px;
    margin-left: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Admin Modal Large */
.admin-modal-large {
    max-width: 600px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
}

.admin-modal-large form {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.admin-modal-large .form-tab-content {
    flex: 1;
    overflow-y: auto;
    max-height: 400px;
    padding-bottom: 20px;
}

/* Import button in header */
.admin-modal-header {
    position: relative;
}

.admin-modal-header .import-btn {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    padding: 6px 12px;
    font-size: 0.75rem;
}

/* Form Tabs */
.form-tabs {
    display: flex;
    gap: 4px;
    padding: 16px 24px 0;
    border-bottom: 1px solid #1a1d21;
}

.form-tab {
    background: none;
    border: none;
    color: #666;
    padding: 12px 20px;
    font-size: 0.85rem;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: all 0.2s ease;
}

.form-tab:hover {
    color: #fff;
}

.form-tab.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.form-tab-content {
    display: none;
    padding: 20px 24px;
}

.form-tab-content.active {
    display: block;
}

.form-hint {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 16px;
}

.form-small {
    display: block;
    font-size: 0.75rem;
    color: #555;
    margin-top: 4px;
}

/* Parse HTML Modal */
#parseHtmlInput {
    width: 100%;
    background: #15171a;
    border: 1px solid #1a1d21;
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-family: monospace;
    resize: vertical;
    min-height: 200px;
}

#parseHtmlInput:focus {
    border-color: var(--accent);
    outline: none;
}

/* Dynamic Fields */
.dynamic-field {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.dynamic-field input {
    flex: 1;
    background: #15171a;
    border: 1px solid #1a1d21;
    color: #fff;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
    outline: none;
}

.dynamic-field input:focus {
    border-color: var(--accent);
}

.kit-field {
    display: grid;
    grid-template-columns: 1fr 80px 1fr auto;
    gap: 8px;
}

/* Kit Category Block - Admin */
.kit-category-block {
    background: #0d0f12;
    border: 1px solid #1a1d21;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 12px;
}

.kit-category-header {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    align-items: center;
}

.kit-category-header input {
    background: #15171a;
    border: 1px solid #1a1d21;
    color: #fff;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
    outline: none;
}

.kit-category-header input:focus {
    border-color: var(--accent);
}

.kit-category-header .kit-cat-name {
    flex: 1;
}

.kit-category-header .kit-cat-cooldown {
    width: 120px;
}

.kit-items-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.kit-items-container:empty {
    display: none;
}
/* ============================================
   EMPTY STATES & MISC
   ============================================ */
.empty-state {
    text-align: center;
    padding: 80px 40px;
    color: #52525b;
    font-size: 14px;
    font-weight: 600;
}

.empty-state svg {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    opacity: 0.3;
}

/* Form Group Improvements */
.form-group select[multiple] {
    height: 120px;
    background: #09090b;
    border: 1px solid #27272a;
    border-radius: 12px;
    padding: 12px;
    color: #e4e4e7;
}

.form-group select[multiple]:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Loading spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #27272a;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Clickable stat cards */
.stat-card.clickable {
    cursor: pointer;
}

.stat-card.clickable:active {
    transform: translateY(-2px) scale(0.98);
}

@media (max-width: 768px) {
    .products-grid-admin {
        grid-template-columns: 1fr;
    }
    
    .kit-field {
        grid-template-columns: 1fr 1fr;
    }
    
    .admin-header-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .admin-header-actions select,
    .admin-header-actions .btn {
        width: 100%;
    }
}


/* Admin Nav Divider */
.admin-nav-divider {
    height: 1px;
    background: #1a1d21;
    margin: 12px 0;
}

/* Payment Systems */
.payment-systems {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.payment-card {
    background: #15171a;
    border: 1px solid #1a1d21;
    border-radius: 12px;
    padding: 20px;
    transition: border-color 0.2s ease;
}

.payment-card:hover {
    border-color: #333;
}

.payment-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.payment-logo {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: #fff;
}

.payment-logo.freekassa { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.payment-logo.enot { background: linear-gradient(135deg, #f59e0b, #f97316); }
.payment-logo.lava { background: linear-gradient(135deg, #ef4444, #dc2626); }
.payment-logo.anypay { background: linear-gradient(135deg, #22c55e, #16a34a); }
.payment-logo.payok { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.payment-logo.crypto { background: linear-gradient(135deg, #f59e0b, #d97706); }

.payment-title h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.payment-badge {
    display: inline-block;
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 10px;
    background: rgba(59, 130, 246, 0.15);
    color: var(--accent);
}

.payment-badge.popular {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.payment-methods span {
    font-size: 0.7rem;
    padding: 4px 10px;
    background: #1a1d21;
    border-radius: 20px;
    color: #888;
}

.payment-info {
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #1a1d21;
}

.payment-info p {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 4px;
}

.payment-info strong {
    color: #ccc;
}

.payment-steps {
    margin-bottom: 14px;
}

.payment-steps h4 {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ccc;
}

.payment-steps ol {
    padding-left: 20px;
    font-size: 0.8rem;
    color: #888;
    line-height: 1.8;
}

.payment-steps a {
    color: var(--accent);
    text-decoration: none;
}

.payment-steps a:hover {
    text-decoration: underline;
}

.payment-steps code {
    background: #1a1d21;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
    color: #f59e0b;
}

.payment-code {
    margin-top: 10px;
}

.payment-code summary {
    font-size: 0.8rem;
    color: var(--accent);
    cursor: pointer;
    padding: 8px 0;
}

.payment-code summary:hover {
    text-decoration: underline;
}

.payment-code pre {
    background: #0d0f12;
    border: 1px solid #1a1d21;
    border-radius: 8px;
    padding: 14px;
    margin-top: 10px;
    overflow-x: auto;
}

.payment-code code {
    font-size: 0.75rem;
    color: #ccc;
    line-height: 1.6;
}

.payment-note {
    background: #15171a;
    border: 1px solid #1a1d21;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
}

.payment-note.warning {
    border-color: rgba(245, 158, 11, 0.3);
    background: rgba(245, 158, 11, 0.05);
}

.payment-note h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.payment-note ul {
    padding-left: 20px;
    font-size: 0.85rem;
    color: #888;
    line-height: 1.8;
}

.payment-note li strong {
    color: #ccc;
}

@media (max-width: 768px) {
    .payment-systems {
        grid-template-columns: 1fr;
    }
}

/* Payment Config Grid */
.payment-config-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.payment-config-card {
    background: #15171a;
    border: 1px solid #1a1d21;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.payment-config-card.enabled {
    border-color: rgba(34, 197, 94, 0.4);
}

.payment-config-card.enabled .payment-config-header {
    background: rgba(34, 197, 94, 0.08);
}

.payment-config-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    cursor: pointer;
    transition: background 0.2s;
}

.payment-config-header:hover {
    background: rgba(255,255,255,0.02);
}

.payment-config-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.payment-config-logo {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: white;
    flex-shrink: 0;
}

.payment-config-logo.freekassa { background: linear-gradient(135deg, #1e3a5f, #3b82f6); }
.payment-config-logo.enot { background: linear-gradient(135deg, #4c1d95, #a855f7); }
.payment-config-logo.lava { background: linear-gradient(135deg, #7c2d12, #f97316); }
.payment-config-logo.anypay { background: linear-gradient(135deg, #14532d, #22c55e); }
.payment-config-logo.pally { background: linear-gradient(135deg, #831843, #ec4899); }
.payment-config-logo.yookassa { background: linear-gradient(135deg, #1e40af, #3b82f6); }
.payment-config-logo.cryptomus { background: linear-gradient(135deg, #f59e0b, #fbbf24); color: #000; }

.payment-config-title h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.payment-config-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    color: #666;
}

.payment-config-commission {
    color: #22c55e;
    font-weight: 500;
}

.payment-config-methods-inline {
    color: #555;
}

.payment-config-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.payment-expand-icon {
    color: #555;
    transition: transform 0.3s;
}

.payment-config-card.expanded .payment-expand-icon {
    transform: rotate(180deg);
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    width: 44px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #1a1d21;
    border: 1px solid #333;
    border-radius: 24px;
    transition: 0.3s;
}

.toggle-slider::before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background: #666;
    border-radius: 50%;
    transition: 0.3s;
}

.toggle-switch input:checked + .toggle-slider {
    background: var(--accent);
    border-color: var(--accent);
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(20px);
    background: white;
}

/* Payment Body - Collapsible */
.payment-config-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(0,0,0,0.2);
}

.payment-config-card.expanded .payment-config-body {
    max-height: 600px;
}

.payment-config-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid #1a1d21;
}

.payment-config-fields .form-group {
    margin: 0;
}

.payment-config-fields .form-group.compact label {
    font-size: 0.7rem;
    color: #666;
    margin-bottom: 4px;
    display: block;
}

.payment-config-fields input {
    width: 100%;
    background: #0d0f12;
    border: 1px solid #1a1d21;
    border-radius: 6px;
    padding: 8px 10px;
    color: #fff;
    font-size: 0.8rem;
}

.payment-config-fields input:focus {
    border-color: var(--accent);
    outline: none;
}

/* Setup Details */
.payment-setup-details {
    border-bottom: 1px solid #1a1d21;
}

.payment-setup-details summary {
    padding: 12px 16px;
    cursor: pointer;
    font-size: 0.8rem;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 6px;
}

.payment-setup-details summary:hover {
    background: rgba(59, 130, 246, 0.05);
}

.payment-setup-details summary::marker {
    content: '';
}

.payment-setup-details summary::before {
    content: '▶';
    font-size: 0.6rem;
    transition: transform 0.2s;
}

.payment-setup-details[open] summary::before {
    transform: rotate(90deg);
}

.payment-config-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
}

.webhook-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: #555;
}

.webhook-info code {
    background: #1a1d21;
    padding: 4px 8px;
    border-radius: 4px;
    color: #888;
    cursor: pointer;
    transition: all 0.2s;
}

.webhook-info code:hover {
    background: #252830;
    color: #22c55e;
}

/* Payment Setup Instructions - Updated */
.payment-setup-info {
    padding: 12px 16px;
    margin: 0;
    border: none;
    border-radius: 0;
    background: transparent;
}

.payment-setup-info h4 {
    font-size: 0.8rem;
    color: var(--accent);
    margin-bottom: 8px;
}

.payment-setup-info ol {
    margin: 0;
    padding-left: 18px;
    font-size: 0.75rem;
    color: #aaa;
}

.payment-setup-info ol li {
    margin-bottom: 6px;
    line-height: 1.4;
}

.payment-setup-info ul {
    margin: 4px 0;
    padding-left: 14px;
}

.payment-setup-info ul li {
    margin-bottom: 3px;
}

.payment-setup-info code {
    background: #1a1d21;
    padding: 2px 6px;
    border-radius: 4px;
    color: #22c55e;
    font-size: 0.7rem;
    word-break: break-all;
}

.payment-setup-info a {
    color: var(--accent);
}

.payment-setup-info b {
    color: #ccc;
}

/* Top-Up Modal */
.topup-section {
    padding: 20px;
}

.topup-section .info-label {
    display: block;
    margin-bottom: 12px;
}

.topup-amount-input {
    display: flex;
    align-items: center;
    background: #15171a;
    border: 1px solid #1a1d21;
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 12px;
}

.topup-amount-input input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    padding: 12px 16px;
    outline: none;
    text-align: center;
}

.topup-amount-input input::-webkit-outer-spin-button,
.topup-amount-input input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.topup-amount-input span {
    font-size: 1.2rem;
    color: #666;
    padding-right: 16px;
}

.topup-presets {
    display: flex;
    gap: 8px;
}

.topup-presets button {
    flex: 1;
    background: #15171a;
    border: 1px solid #1a1d21;
    color: #888;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.topup-presets button:hover {
    background: #1a1d21;
    color: #fff;
    border-color: #333;
}

.topup-methods {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

/* New payment method cards */
.payment-method-card {
    position: relative;
    background: #0a0a0a;
    border: 2px solid #1a1d21;
    border-radius: 12px;
    padding: 16px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.payment-method-card:hover {
    background: #0d0f12;
    border-color: #2a2d31;
    transform: translateY(-2px);
}

.payment-method-card.selected {
    background: rgba(59, 130, 246, 0.08);
    border-color: var(--accent);
}

.payment-method-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(0.3);
    transition: filter 0.2s ease;
}

.payment-method-icon svg {
    width: 100%;
    height: 100%;
}

.payment-method-card:hover .payment-method-icon,
.payment-method-card.selected .payment-method-icon {
    filter: grayscale(0);
}

.payment-method-name {
    font-size: 0.8rem;
    font-weight: 500;
    color: #ccc;
    line-height: 1.3;
}

.payment-method-card.selected .payment-method-name {
    color: #fff;
}

.payment-method-check {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 18px;
    height: 18px;
    border: 2px solid #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    transition: all 0.2s ease;
}

.payment-method-check svg {
    width: 12px;
    height: 12px;
}

.payment-method-card.selected .payment-method-check {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

/* Old styles for backward compatibility */
.topup-method {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #0a0a0a;
    padding: 14px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.topup-method:hover {
    background: #0d0f12;
}

.topup-method.selected {
    background: rgba(59, 130, 246, 0.1);
}

.topup-method-logo {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: white;
    flex-shrink: 0;
}

.topup-method-logo.freekassa { background: linear-gradient(135deg, #1e3a5f, #3b82f6); }
.topup-method-logo.enot { background: linear-gradient(135deg, #4c1d95, #a855f7); }
.topup-method-logo.lava { background: linear-gradient(135deg, #7c2d12, #f97316); }
.topup-method-logo.anypay { background: linear-gradient(135deg, #14532d, #22c55e); }
.topup-method-logo.payok { background: linear-gradient(135deg, #831843, #ec4899); }
.topup-method-logo.cryptomus { background: linear-gradient(135deg, #f59e0b, #fbbf24); color: #000; }

.topup-method-info {
    flex: 1;
}

.topup-method-name {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 2px;
}

.topup-method-commission {
    font-size: 0.75rem;
    color: #666;
}

.topup-method-check {
    width: 24px;
    height: 24px;
    border: 2px solid #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    transition: all 0.2s ease;
}

.topup-method.selected .topup-method-check {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.topup-loading,
.topup-empty {
    text-align: center;
    padding: 30px 20px;
    color: #666;
    font-size: 0.9rem;
    background: #0a0a0a;
}

.btn-full {
    width: 100%;
    padding: 14px 24px;
}

/* Balance clickable */
.balance {
    cursor: pointer;
    transition: all 0.2s ease;
}

.balance:hover {
    background: #1a1d21;
    border-color: var(--accent);
}

/* Confirm Modal */
.confirm-modal-content {
    max-width: 450px;
}

@media (max-width: 768px) {
    .payment-config-grid {
        grid-template-columns: 1fr;
    }
    
    .topup-presets {
        flex-wrap: wrap;
    }
    
    .topup-presets button {
        flex: 1 1 45%;
    }
}

/* About Page */
.about-page {
    padding-top: 100px;
    padding-bottom: 60px;
}

/* About Page New */
.about-page-new {
    padding: 100px 0 60px;
    min-height: 100vh;
    background: 
        var(--bg),
        linear-gradient(rgba(59, 130, 246, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
}

.about-hero-new {
    text-align: center;
    padding: 40px 0 50px;
}

.about-hero-new h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.about-hero-new h1 span {
    color: var(--accent);
}

.about-hero-new p {
    color: #666;
    font-size: 0.95rem;
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 50px;
}

.about-card {
    background: rgba(15, 15, 20, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 14px;
    padding: 24px;
    text-align: center;
}

.about-card-icon {
    width: 48px;
    height: 48px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin: 0 auto 16px;
}

.about-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #fff;
}

.about-card p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
}

.about-section-new {
    margin-bottom: 40px;
}

.about-section-new h2 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

.contacts-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(15, 15, 20, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 14px 20px;
    text-decoration: none;
    transition: all 0.2s ease;
    flex: 1;
    min-width: 160px;
}

.contact-item:hover {
    border-color: rgba(59, 130, 246, 0.3);
    background: rgba(59, 130, 246, 0.05);
}

.contact-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item-icon.tg {
    background: rgba(38, 165, 228, 0.1);
    color: #26A5E4;
}

.contact-item-icon.ds {
    background: rgba(88, 101, 242, 0.1);
    color: #5865F2;
}

.contact-item-icon.vk {
    background: rgba(0, 119, 255, 0.1);
    color: #0077FF;
}

.contact-item-icon.email {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent);
}

.contact-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: #ccc;
}

@media (max-width: 768px) {
    .about-cards {
        grid-template-columns: 1fr;
    }
    .contacts-row {
        flex-direction: column;
    }
    .contact-item {
        min-width: auto;
    }
}

.about-hero {
    text-align: center;
    padding: 40px 0 60px;
}

.about-hero h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.about-hero p {
    color: #888;
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.about-section {
    margin-bottom: 50px;
}

.about-section h2 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid #1a1d21;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.service-card {
    background: #15171a;
    border: 1px solid #1a1d21;
    border-radius: 12px;
    padding: 24px;
}

.service-icon {
    width: 50px;
    height: 50px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.85rem;
    color: #888;
    line-height: 1.7;
}

/* Terms */
.terms-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.term-item {
    background: #15171a;
    border: 1px solid #1a1d21;
    border-radius: 12px;
    padding: 20px;
}

.term-item h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--accent);
}

.term-item p {
    font-size: 0.85rem;
    color: #888;
    line-height: 1.7;
}

/* Contacts */
.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.contact-card {
    background: #15171a;
    border: 1px solid #1a1d21;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #26A5E4;
    margin: 0 auto 16px;
}

.contact-icon.discord { color: #5865F2; background: rgba(88, 101, 242, 0.1); }
.contact-icon.vk { color: #0077FF; background: rgba(0, 119, 255, 0.1); }
.contact-icon.email { color: var(--accent); background: rgba(59, 130, 246, 0.1); }

.contact-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-card p {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 12px;
}

.contact-link {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.contact-link:hover {
    text-decoration: underline;
}

/* FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #15171a;
    border: 1px solid #1a1d21;
    border-radius: 10px;
    overflow: hidden;
}

.faq-item summary {
    padding: 16px 20px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.95rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.2rem;
    color: #666;
    transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    padding: 0 20px 16px;
    font-size: 0.9rem;
    color: #888;
    line-height: 1.7;
}

/* Footer */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: var(--accent);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #2a2a2a;
    border-radius: 4px;
    border: 2px solid #0a0a0a;
}

::-webkit-scrollbar-thumb:hover {
    background: #3b82f6;
}

::-webkit-scrollbar-corner {
    background: #0a0a0a;
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #2a2a2a #0a0a0a;
}

/* Form Elements - Dark Theme */
select,
input[type="text"],
input[type="number"],
input[type="email"],
input[type="password"],
input[type="date"],
textarea {
    background: #15171a;
    border: 1px solid #2a2d32;
    border-radius: 8px;
    color: #fff;
    padding: 12px 14px;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.2s ease;
    width: 100%;
}

select:focus,
input[type="text"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
textarea:focus {
    border-color: var(--accent);
}

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-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='%23888' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
    cursor: pointer;
}

select:hover {
    border-color: #444;
}

select option {
    background: #15171a;
    color: #fff;
    padding: 10px;
}

select[multiple] {
    background-image: none;
    padding-right: 14px;
}

select[multiple] option {
    padding: 8px 12px;
    border-radius: 4px;
    margin: 2px 0;
}

select[multiple] option:checked {
    background: var(--accent);
    color: #fff;
}

select[multiple] option:hover {
    background: #2a2d32;
}

/* Date input icon */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(0.7);
    cursor: pointer;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
    filter: invert(1);
}

/* Number input arrows */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
}

/* Placeholder */
::placeholder {
    color: #555;
}

/* Checkbox & Radio */
input[type="checkbox"],
input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
    cursor: pointer;
}

/* Textarea */
textarea {
    resize: vertical;
    min-height: 80px;
}

/* Form Group improvements */
.form-group label {
    color: #888;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}


/* ============ HELP PAGE ============ */
.help-page {
    padding: 100px 0 40px;
    min-height: 100vh;
    background: var(--bg);
}

.help-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 20px;
}

.help-sidebar {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.help-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent);
    background: #0a0a0a;
    border: 1px solid #1a1d21;
    border-radius: 12px;
    padding: 20px;
}

.help-nav {
    background: #0a0a0a;
    border: 1px solid #1a1d21;
    border-radius: 12px;
    overflow: hidden;
}

.help-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: #666;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.help-nav-item:hover {
    background: rgba(255,255,255,0.02);
    color: #fff;
}

.help-nav-item.active {
    background: rgba(59, 130, 246, 0.08);
    color: var(--accent);
    border-left-color: var(--accent);
}

.help-nav-item svg {
    opacity: 0.6;
}

.help-nav-item:hover svg,
.help-nav-item.active svg {
    opacity: 1;
}

.help-content {
    background: #0a0a0a;
    border: 1px solid #1a1d21;
    border-radius: 12px;
    overflow: hidden;
}

.help-section {
    display: none;
}

.help-section.active {
    display: block;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    border-bottom: 1px solid #1a1d21;
}

.section-header h2 {
    font-size: 1.1rem;
    font-weight: 600;
}

.section-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #15171a;
    border: 1px solid #1a1d21;
    color: #555;
}

/* FAQ */
.faq-list {
    padding: 0;
}

.faq-item {
    border-bottom: 1px solid #1a1d21;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.faq-question:hover {
    background: rgba(255,255,255,0.02);
}

.faq-question span {
    font-size: 0.9rem;
    font-weight: 500;
}

.faq-question svg {
    color: #555;
    transition: transform 0.2s ease;
}

.faq-item.open .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 20px 16px;
}

.faq-item.open .faq-answer {
    display: block;
}

.faq-answer p {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 8px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer code {
    background: #15171a;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    border: 1px solid #1a1d21;
    color: var(--accent);
}

/* Rules */
.rules-list {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rule-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: #0d0f12;
    border: 1px solid #1a1d21;
    border-radius: 10px;
}

.rule-number {
    width: 32px;
    height: 32px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.rule-content h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.rule-content p {
    font-size: 0.8rem;
    color: #666;
}

/* Commands */
.commands-list {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.command-category h4 {
    font-size: 0.8rem;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.command-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid #1a1d21;
}

.command-item:last-child {
    border-bottom: none;
}

.command-item code {
    background: #15171a;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    border: 1px solid #1a1d21;
    color: var(--accent);
    min-width: 180px;
}

.command-item span {
    font-size: 0.85rem;
    color: #888;
}

/* Contacts */
.contacts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 20px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    background: #0d0f12;
    border: 1px solid #1a1d21;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.contact-card:hover {
    border-color: #2a2d32;
    background: #15171a;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon.discord {
    background: rgba(88, 101, 242, 0.1);
    color: #5865f2;
}

.contact-icon.vk {
    background: rgba(0, 119, 255, 0.1);
    color: #0077ff;
}

.contact-icon.telegram {
    background: rgba(0, 136, 204, 0.1);
    color: #0088cc;
}

.contact-name {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
}

.contact-desc {
    font-size: 0.75rem;
    color: #555;
}

/* ============ BANLIST PAGE ============ */
.banlist-page {
    padding: 100px 0 40px;
    min-height: 100vh;
    background: 
        var(--bg),
        linear-gradient(rgba(59, 130, 246, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
}

.banlist-layout {
    max-width: 900px;
    margin: 0 auto;
}

.banlist-content {
    background: rgba(15, 15, 20, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    overflow: hidden;
}

.banlist-content .section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    flex-wrap: wrap;
}

.banlist-content .section-header h2 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
    flex: 1;
}

.banlist-content .section-icon {
    width: 36px;
    height: 36px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
}

.banlist-search {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 220px;
}

.banlist-search input {
    flex: 1;
    background: none;
    border: none;
    color: #fff;
    font-size: 0.8rem;
    outline: none;
}

.banlist-search input::placeholder {
    color: #555;
}

.banlist-search svg {
    color: #555;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
}

.banlist-table-wrap {
    overflow-x: auto;
}

.banlist-table {
    width: 100%;
    border-collapse: collapse;
}

.banlist-table th,
.banlist-table td {
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid #1a1d21;
}

.banlist-table th {
    font-size: 0.7rem;
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(255,255,255,0.01);
}

.banlist-table td {
    font-size: 0.85rem;
}

.banlist-table tbody tr:hover {
    background: rgba(255,255,255,0.02);
}

.banlist-table tr.expired {
    opacity: 0.5;
}

.banlist-table code {
    background: #15171a;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    border: 1px solid #1a1d21;
}

.ban-player {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ban-player-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: opacity 0.2s;
}

.ban-player-link:hover {
    opacity: 0.8;
}

.steam-id-link {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.2s;
}

.steam-id-link:hover {
    color: #60a5fa;
    text-decoration: underline;
}

.ban-avatar {
    width: 32px;
    height: 32px;
    background: #15171a;
    border: 1px solid #1a1d21;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: #555;
    object-fit: cover;
    flex-shrink: 0;
}

.ban-duration {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.ban-duration.permanent {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.ban-duration.expired {
    background: rgba(255,255,255,0.05);
    color: #555;
}

.banlist-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: #444;
}

.banlist-empty svg {
    margin-bottom: 16px;
}

.banlist-empty p {
    font-size: 0.9rem;
}


/* ============ ADMIN API TAB ============ */
.api-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.api-section h3 {
    font-size: 1rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.api-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.api-section-header svg {
    color: var(--accent);
}

.api-section h3 .badge {
    background: var(--accent);
    color: #fff;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
}

.api-key-block {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #0d0d0d;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 12px;
}

.api-key-block code {
    flex: 1;
    font-family: monospace;
    font-size: 0.9rem;
    color: #22c55e;
}

.api-endpoints {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.api-endpoint {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: #0d0d0d;
    border-radius: 6px;
}

.api-endpoint .method {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.api-endpoint .method.get {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.api-endpoint .method.post {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.api-endpoint code {
    font-family: monospace;
    color: #f59e0b;
}

.api-endpoint .desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-left: auto;
}

.plugin-queue {
    max-height: 400px;
    overflow-y: auto;
}

.queue-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #0d0d0d;
    border-radius: 6px;
    margin-bottom: 8px;
}

.queue-item .queue-info {
    flex: 1;
}

.queue-item .queue-steam {
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.queue-item .queue-product {
    font-weight: 500;
}

.queue-item .queue-time {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.queue-item .queue-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.queue-item .btn-icon {
    padding: 6px;
}

.header-actions {
    display: flex;
    gap: 10px;
}

.code-block {
    background: #0d0d0d;
    padding: 16px;
    border-radius: 6px;
    overflow-x: auto;
    font-family: monospace;
    font-size: 0.8rem;
    line-height: 1.5;
    color: #a5d6ff;
    white-space: pre;
}


/* ============ STATS MODAL ============ */
.stat-card.clickable {
    cursor: pointer;
    transition: all 0.2s ease;
}

.stat-card.clickable:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.stats-modal-content {
    max-width: 700px;
    width: 90%;
}

.stats-modal-body {
    padding: 20px;
    max-height: 70vh;
    overflow-y: auto;
}

.stats-loading, .stats-error {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
}

.stats-summary {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.stats-summary-item {
    flex: 1;
    min-width: 120px;
    background: #0d0d0d;
    padding: 16px;
    border-radius: 8px;
    text-align: center;
}

.stats-summary-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.stats-summary-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.stats-chart-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-muted);
}

.stats-chart {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 150px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
}

.chart-bar-wrap {
    flex: 1;
    min-width: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: flex-end;
}

.chart-bar {
    width: 100%;
    max-width: 24px;
    background: var(--accent);
    border-radius: 3px 3px 0 0;
    min-height: 2px;
    transition: height 0.3s ease;
}

.chart-bar.green {
    background: #22c55e;
}

.chart-bar.orange {
    background: #f59e0b;
}

.chart-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-top: 6px;
    white-space: nowrap;
}

.recent-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.recent-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: #0d0d0d;
    border-radius: 6px;
}

.recent-name {
    flex: 1;
    font-weight: 500;
}

.recent-price {
    color: #f59e0b;
    font-weight: 600;
}

.recent-date {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.recent-status {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.recent-status.activated {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.recent-status.pending {
    background: rgba(249, 115, 22, 0.15);
    color: #f97316;
}

.recent-status.refunded {
    background: rgba(107, 114, 128, 0.15);
    color: #9ca3af;
}

.top-products-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.top-product-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #0d0d0d;
    border-radius: 6px;
}

.top-product-rank {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 600;
}

.top-product-name {
    flex: 1;
    font-weight: 500;
}

.top-product-count {
    color: var(--text-muted);
}

.top-product-revenue {
    color: #22c55e;
    font-weight: 600;
}

.balance-info-block {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #0d0d0d;
    border-radius: 8px;
}

.balance-info-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.balance-info-text h4 {
    margin: 0 0 8px 0;
    font-size: 1rem;
}

.balance-info-text p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}


/* ============ SETTINGS SECTION - READABLE REDESIGN ============ */
.settings-section {
    background: #111;
    border: 1px solid #1a1a1a;
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
}

.settings-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #0a0a0a;
    border-bottom: 1px solid #1a1a1a;
}

.settings-section-header svg {
    color: var(--accent);
    opacity: 1;
    width: 20px;
    height: 20px;
}

.settings-section-header h3 {
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 0;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #111;
    gap: 20px;
    border-bottom: 1px solid #1a1a1a;
}

.setting-item:last-child {
    border-bottom: none;
}

.setting-item.full {
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: stretch;
}

.setting-info {
    flex: 1;
    min-width: 0;
}

.setting-info label {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 4px;
    color: #fff;
}

.setting-info p {
    font-size: 0.75rem;
    color: #888;
    margin: 0;
    line-height: 1.4;
}

.setting-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.setting-control input[type="number"],
.setting-control input[type="text"] {
    background: #0a0a0a;
    border: 1px solid #222;
    border-radius: 6px;
    padding: 10px 12px;
    color: #fff;
    font-size: 0.85rem;
    width: 120px;
    outline: none;
    transition: all 0.2s ease;
    font-weight: 600;
}

.setting-control input:focus {
    border-color: var(--accent);
    background: #000;
}

.setting-control.wide input {
    width: 240px;
}

.setting-unit {
    color: #888;
    font-size: 0.8rem;
    font-weight: 600;
}

.setting-item textarea {
    width: 100%;
    background: #0a0a0a;
    border: 1px solid #222;
    border-radius: 6px;
    padding: 12px;
    color: #fff;
    font-size: 0.85rem;
    font-family: 'Inter', monospace;
    resize: vertical;
    outline: none;
    margin-top: 12px;
    transition: all 0.2s ease;
    min-height: 100px;
}

.setting-item textarea:focus {
    border-color: var(--accent);
    background: #000;
}

/* Stats in settings */
.settings-section .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 16px 20px;
    background: transparent;
}

.settings-section .stat-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.2s ease;
}

.settings-section .stat-card.clickable {
    cursor: pointer;
}

.settings-section .stat-card.clickable:hover {
    border-color: var(--accent);
    background: rgba(59, 130, 246, 0.05);
}

.settings-section .stat-card.mini {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 14px 12px;
}

.settings-section .stat-card.mini .stat-value {
    font-size: 1.1rem;
}

.settings-section .stat-card.mini .stat-label {
    font-size: 0.7rem;
}

@media (max-width: 1200px) {
    .settings-section .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .settings-grid {
        grid-template-columns: 1fr;
    }
    
    .setting-item {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .setting-control {
        justify-content: flex-start;
    }
    
    .setting-control.wide input {
        width: 100%;
    }
    
    .settings-section .stats-grid {
        grid-template-columns: 1fr;
    }
}


/* ============ NOTIFICATIONS ============ */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

.notification.success {
    border-color: #22c55e;
}

.notification.success svg {
    color: #22c55e;
}

.notification.error {
    border-color: #ef4444;
}

.notification.error svg {
    color: #ef4444;
}

.notification span {
    font-size: 0.9rem;
    color: var(--text);
}


/* ============ LOGS SECTION ============ */
.logs-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.logs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border);
}

.logs-header h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
}

.logs-count {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.logs-table-wrap {
    overflow-x: auto;
}

.logs-table {
    width: 100%;
    font-size: 0.85rem;
}

.logs-table th {
    background: var(--bg);
    padding: 12px 16px;
    text-align: left;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
}

.logs-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
}

.log-time {
    color: var(--text-muted);
    font-size: 0.8rem;
    white-space: nowrap;
}

.log-type {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.log-steam {
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.log-details {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--text-muted);
}

.log-ip {
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Backups */
.backups-list {
    padding: 12px;
}

.backup-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg);
    border-radius: 8px;
    margin-bottom: 8px;
}

.backup-item:last-child {
    margin-bottom: 0;
}

.backup-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.backup-info svg {
    color: var(--accent);
}

.backup-name {
    font-family: monospace;
    font-size: 0.85rem;
}

.backup-size {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Logs Users Grid */
.logs-users-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
    padding: 16px;
}

.logs-user-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.logs-user-card:hover {
    border-color: var(--accent);
    background: rgba(59, 130, 246, 0.05);
    transform: translateY(-2px);
}

.logs-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    flex-shrink: 0;
}

.logs-user-info {
    flex: 1;
    min-width: 0;
}

.logs-user-name {
    font-weight: 500;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.logs-user-steam {
    font-family: monospace;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.logs-user-stats {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.logs-count-badge {
    background: var(--accent);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.logs-last-time {
    font-size: 0.7rem;
    color: var(--text-muted);
}


/* ============ USER MODAL ============ */
.user-modal-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-modal-avatar {
    width: 50px;
    height: 50px;
    border-radius: 10px;
}

.user-modal-info h2 {
    margin: 0 0 4px 0;
    font-size: 1.1rem;
}

.user-modal-steamid {
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.user-modal-body {
    padding: 20px;
    max-height: 70vh;
    overflow-y: auto;
}

.user-section {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 16px;
    overflow: hidden;
}

.user-section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border);
}

.user-section-header svg {
    color: var(--accent);
}

.user-section-header h3 {
    flex: 1;
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
}

.user-section-header .badge {
    background: var(--accent);
    color: #fff;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
}

/* Grant Product Form */
.grant-product-form {
    display: flex;
    gap: 10px;
    padding: 12px 16px;
    align-items: center;
    flex-wrap: wrap;
}

.grant-product-form select {
    flex: 1;
    min-width: 200px;
    padding: 10px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 14px;
}

.grant-product-form select:focus {
    border-color: var(--accent);
    outline: none;
}

.grant-extra {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 6px 12px;
}

.grant-extra input {
    width: 60px;
    padding: 4px 8px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text);
    font-size: 14px;
    text-align: center;
}

.grant-extra input:focus {
    border-color: var(--accent);
    outline: none;
}

.grant-extra span {
    color: var(--text-muted);
    font-size: 13px;
}

.grant-hint {
    padding: 0 16px 12px;
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
}

.btn-success {
    background: #22c55e;
    color: #fff;
}

.btn-success:hover {
    background: #16a34a;
}

/* Balance Grid */
.user-balance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 16px;
}

.user-balance-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px;
    text-align: center;
}

.user-balance-card .balance-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.user-balance-card .balance-value {
    font-size: 1.4rem;
    font-weight: 700;
}

.user-balance-card.real .balance-value {
    color: #22c55e;
}

.user-balance-card.bonus .balance-value {
    color: #f59e0b;
}

.balance-edit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.balance-edit input {
    width: 100px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 8px 12px;
    color: #f59e0b;
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
}

.balance-edit span {
    color: #f59e0b;
    font-size: 1.2rem;
    font-weight: 700;
}

/* User Items List */
.user-items-list {
    padding: 12px;
}

.user-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-card);
    border-radius: 8px;
    margin-bottom: 8px;
}

.user-item:last-child {
    margin-bottom: 0;
}

.user-item-info {
    flex: 1;
    min-width: 0;
}

.user-item-name {
    display: block;
    font-weight: 500;
    margin-bottom: 2px;
}

.user-item-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.user-item-price {
    font-weight: 600;
    color: var(--text);
}

.user-item-status {
    font-size: 0.8rem;
    font-weight: 500;
}

/* User Logs */
.user-logs-list {
    padding: 12px;
    max-height: 200px;
    overflow-y: auto;
}

.user-log-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    background: var(--bg-card);
    border-radius: 6px;
    margin-bottom: 6px;
    font-size: 0.85rem;
}

.user-log-time {
    color: var(--text-muted);
    font-size: 0.75rem;
    white-space: nowrap;
}

.user-log-action {
    font-weight: 500;
    min-width: 100px;
}

.user-log-details {
    color: var(--text-muted);
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Moderator Logs */
.moderator-logs-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    max-height: 600px;
    overflow-y: auto;
}

.moderator-logs-list::-webkit-scrollbar {
    width: 8px;
}

.moderator-logs-list::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.02);
    border-radius: 4px;
}

.moderator-logs-list::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
}

.moderator-logs-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.15);
}

.mod-log-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.mod-log-item:hover {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.08);
}

.mod-log-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.05);
    border-radius: 6px;
    flex-shrink: 0;
}

.mod-log-content {
    flex: 1;
    min-width: 0;
}

.mod-log-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.mod-log-action {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text);
}

.mod-log-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.mod-log-actors {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    padding: 8px;
    background: rgba(255,255,255,0.02);
    border-radius: 6px;
}

.mod-log-actors svg {
    color: rgba(255,255,255,0.3);
    flex-shrink: 0;
}

.mod-log-moderator-info,
.mod-log-target-user,
.mod-log-site-info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
}

.mod-log-moderator-info img,
.mod-log-target-user img {
    width: 24px;
    height: 24px;
    border-radius: 4px;
}

.mod-log-moderator-info strong {
    color: #22c55e;
}

.mod-log-target-user strong {
    color: #3b82f6;
}

.mod-log-site-info {
    color: #8b5cf6;
}

.mod-log-site-info svg {
    color: #8b5cf6;
}

.mod-log-details {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    line-height: 1.4;
}

.mod-log-details strong {
    color: var(--text);
    font-weight: 500;
}

.mod-log-details .workshop-link {
    color: #3b82f6;
    text-decoration: none;
    font-size: 0.8rem;
}

.mod-log-details .workshop-link:hover {
    text-decoration: underline;
}

.mod-log-details .tag-badge {
    display: inline-block;
    padding: 2px 6px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 4px;
    color: #3b82f6;
    font-size: 0.75rem;
}

.mod-log-details .mod-badge {
    display: inline-block;
    padding: 2px 6px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 4px;
    color: #22c55e;
    font-size: 0.75rem;
}

.mod-log-details .message-preview {
    font-style: italic;
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
}


/* User Cell in Table */
.user-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-cell-avatar {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

/* Search Input */
.search-input {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 16px;
    color: var(--text);
    font-size: 0.9rem;
    width: 250px;
    outline: none;
}

.search-input:focus {
    border-color: var(--accent);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.loading {
    padding: 20px;
    text-align: center;
    color: var(--text-muted);
}

/* ============ TOAST NOTIFICATIONS ============ */
.toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 360px;
}

.toast {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.3s ease;
    overflow: hidden;
    max-width: 360px;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-success .toast-icon { background: rgba(34, 197, 94, 0.15); color: #22c55e; }
.toast-error .toast-icon { background: rgba(239, 68, 68, 0.15); color: #ef4444; }
.toast-warning .toast-icon { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.toast-info .toast-icon { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.toast-purchase .toast-icon { background: rgba(34, 197, 94, 0.15); color: #22c55e; }
.toast-balance .toast-icon { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.toast-promocode .toast-icon { background: rgba(139, 92, 246, 0.15); color: #8b5cf6; }

.toast-message {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.toast-close:hover {
    opacity: 1;
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--accent);
    animation: toastProgress 4s linear forwards;
}

@keyframes toastProgress {
    from { width: 100%; }
    to { width: 0%; }
}

/* ============ PURCHASES SECTION ============ */
.purchases-section {
    padding: 20px 0 40px;
}

.purchases-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.purchases-info {
    position: relative;
    padding-left: 20px;
}

.purchases-info::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #22c55e;
    border-radius: 2px;
}

.purchases-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
}

.purchases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.purchase-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 10px;
    min-width: 180px;
    animation: purchaseFadeIn 0.4s ease forwards;
    opacity: 0;
    transition: all 0.2s ease;
}

.purchase-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

@keyframes purchaseFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.purchase-img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    object-fit: cover;
    background: var(--bg);
    flex-shrink: 0;
}

.purchase-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.purchase-user {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.purchase-product {
    font-size: 0.7rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.purchases-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--text-muted);
    padding: 20px;
}

@media (max-width: 1024px) {
    .purchases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .purchases-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    
    .purchases-info {
        text-align: center;
        padding-left: 0;
        padding-top: 16px;
    }
    
    .purchases-info::before {
        left: 50%;
        transform: translateX(-50%);
        top: 0;
        bottom: auto;
        width: 40px;
        height: 3px;
    }
    
    .purchases-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    
    .purchase-item {
        padding: 8px 10px;
        min-width: 0;
    }
    
    .purchase-img {
        width: 28px;
        height: 28px;
    }
}

/* ============ MOBILE OPTIMIZATION ============ */

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text);
    padding: 8px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
        background: transparent;
    }
    
    .nav-links.mobile-open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        padding: 16px;
        gap: 4px;
        z-index: 999;
    }
    
    .nav-links.mobile-open a {
        padding: 14px 16px;
        border-radius: 10px;
    }
    
    .header-right {
        gap: 8px;
    }
    
    .balance-wrapper {
        display: none !important;
    }
    
    .user-name {
        display: none;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    /* Header */
    .header {
        padding: 12px 0;
    }
    
    .logo-img {
        height: 36px;
    }
    
    .btn-steam {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    .btn-steam svg {
        width: 18px;
        height: 18px;
    }
    
    /* Hero */
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Socials */
    .socials-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .social-card {
        padding: 16px;
    }
    
    /* Calendar */
    .calendar-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    
    .calendar-info {
        text-align: center;
    }
    
    .calendar-days {
        gap: 6px;
        overflow-x: auto;
        padding-bottom: 8px;
    }
    
    .calendar-day {
        min-width: 50px;
        padding: 10px 6px;
    }
    
    /* Servers */
    .server-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 16px;
    }
    
    .server-stats {
        width: 100%;
    }
    
    /* Modal */
    .modal-content {
        margin: 10px;
        max-height: calc(100vh - 20px);
        overflow-y: auto;
    }
    
    .modal-header {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .modal-actions {
        width: 100%;
        display: flex;
        gap: 8px;
    }
    
    .modal-actions .btn {
        flex: 1;
    }
    
    .modal-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    /* Shop */
    .shop-layout {
        flex-direction: column;
    }
    
    .shop-sidebar {
        width: 100%;
        position: static;
    }
    
    .categories-list {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .category-item {
        padding: 8px 14px;
    }
    
    /* Profile */
    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .profile-avatar {
        width: 80px;
        height: 80px;
    }
    
    .profile-stats {
        justify-content: center;
    }
    
    .balance-cards {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    /* Toast */
    .toast-container {
        left: 10px;
        right: 10px;
        max-width: none;
    }
    
    /* Admin */
    .admin-layout {
        flex-direction: column;
    }
    
    .admin-sidebar {
        width: 100%;
        position: static;
    }
    
    .admin-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
    }
    
    .admin-nav-item {
        padding: 10px 14px;
        font-size: 0.8rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .settings-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-info-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .widget-stat {
        gap: 0;
    }
    
    .widget-value {
        font-size: 1rem;
    }
    
    .widget-label {
        font-size: 0.65rem;
    }
}

/* Mobile menu animation */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-links.mobile-open {
    animation: slideDown 0.2s ease;
}


/* Help Page New */
.help-page-new {
    padding: 100px 0 60px;
    min-height: 100vh;
    background: 
        var(--bg),
        linear-gradient(rgba(59, 130, 246, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
}

.help-hero {
    text-align: center;
    padding: 40px 0 50px;
}

.help-hero h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.help-hero p {
    color: #666;
    font-size: 0.95rem;
}

.help-block {
    margin-bottom: 40px;
}

.help-block h2 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    align-items: start;
}

.faq-card {
    background: rgba(15, 15, 20, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    overflow: hidden;
}

.faq-card summary {
    padding: 16px 20px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    color: #ccc;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.faq-card summary::-webkit-details-marker {
    display: none;
}

.faq-card summary::after {
    content: '+';
    font-size: 1.1rem;
    color: #555;
    flex-shrink: 0;
}

.faq-card[open] summary::after {
    content: '−';
}

.faq-card p {
    padding: 0 20px 16px;
    font-size: 0.85rem;
    color: #888;
    line-height: 1.6;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.faq-card code {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.commands-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.cmd-item {
    background: rgba(15, 15, 20, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.cmd-item code {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.cmd-item span {
    color: #888;
    font-size: 0.85rem;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.help-contacts {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.help-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(15, 15, 20, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 14px 20px;
    text-decoration: none;
    transition: all 0.2s ease;
    flex: 1;
    min-width: 140px;
}

.help-contact-item:hover {
    border-color: rgba(59, 130, 246, 0.3);
    background: rgba(59, 130, 246, 0.05);
}

.help-contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.help-contact-icon.ds {
    background: rgba(88, 101, 242, 0.1);
    color: #5865F2;
}

.help-contact-icon.vk {
    background: rgba(0, 119, 255, 0.1);
    color: #0077FF;
}

.help-contact-icon.tg {
    background: rgba(38, 165, 228, 0.1);
    color: #26A5E4;
}

.help-contact-icon.email {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent);
}

.help-contact-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: #ccc;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
    .commands-grid {
        grid-template-columns: 1fr;
    }
    .help-contacts {
        flex-direction: column;
    }
}


/* Legal Page New (Terms) */
.legal-page-new {
    padding: 100px 0 60px;
    min-height: 100vh;
    background: 
        var(--bg),
        linear-gradient(rgba(59, 130, 246, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
}

.legal-content-new {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.legal-content-new h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.legal-intro {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(15, 15, 20, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
}

.legal-content-new > p {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.legal-section-new {
    margin-bottom: 30px;
    background: rgba(15, 15, 20, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 24px;
}

.legal-section-new h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.legal-section-new p {
    color: #999;
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: 10px;
}

.legal-section-new p:last-child {
    margin-bottom: 0;
}

.legal-section-new strong {
    color: #ccc;
}

.legal-footer-info {
    margin-top: 40px;
    padding: 20px;
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    text-align: center;
}

.legal-footer-info p {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.legal-footer-info p:last-child {
    margin-bottom: 0;
}

.legal-footer-info a {
    color: var(--accent);
    text-decoration: none;
}

.legal-footer-info a:hover {
    text-decoration: underline;
}


/* ============ SUPPORT WIDGET ============ */
.support-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
}

.support-widget-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #2563eb);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
    transition: all 0.3s ease;
    position: relative;
}

.support-widget-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(59, 130, 246, 0.5);
}

.support-widget-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.support-widget-panel {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 360px;
    height: 500px;
    background: #0d0f12;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.support-widget-panel.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.support-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.05));
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.support-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.support-header-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.support-header-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff;
}

.support-header-status {
    font-size: 0.75rem;
    color: #22c55e;
}

.support-close-btn {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
}

.support-close-btn:hover {
    color: #fff;
}

.support-tabs {
    display: flex;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.support-tab {
    flex: 1;
    padding: 12px;
    background: none;
    border: none;
    color: #666;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border-bottom: 2px solid transparent;
}

.support-tab:hover {
    color: #999;
}

.support-tab.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.support-content {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.support-tab-content {
    display: none;
    flex-direction: column;
    height: 100%;
}

.support-tab-content.active {
    display: flex;
}

.support-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.support-message {
    display: flex;
    gap: 10px;
    max-width: 90%;
}

.support-message.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.support-message-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1d21;
}

.support-message-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.support-message.ai .support-message-avatar {
    background: var(--accent);
    color: white;
}

.support-message.admin .support-message-avatar {
    background: #22c55e;
    color: white;
}

.support-message-content {
    background: #1a1d21;
    border-radius: 12px;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,0.05);
}

.support-message.user .support-message-content {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.2);
}

.support-message.admin .support-message-content {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.2);
}

.support-message-name {
    font-size: 0.7rem;
    color: #666;
    margin-bottom: 4px;
    font-weight: 500;
}

.support-message.ai .support-message-name {
    color: var(--accent);
}

.support-message.admin .support-message-name {
    color: #22c55e;
}

.support-message-text {
    font-size: 0.85rem;
    color: #ccc;
    line-height: 1.5;
}

.support-message-time {
    font-size: 0.65rem;
    color: #555;
    margin-top: 6px;
}

.support-input-area {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid rgba(255,255,255,0.06);
    background: rgba(0,0,0,0.2);
    align-items: center;
}

.support-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    background: #1a1d21;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    overflow: hidden;
}

.support-input-wrapper input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px 14px;
    color: #fff;
    font-size: 0.85rem;
    outline: none;
    min-width: 0;
}

.support-input-wrapper:focus-within {
    border-color: var(--accent);
}

.support-input-actions {
    display: flex;
    gap: 2px;
    padding-right: 6px;
}

.support-menu-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: #888;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.support-menu-btn:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
    color: var(--accent);
}

.support-emoji-btn,
.support-attach-btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: transparent;
    border: none;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.support-emoji-btn:hover,
.support-attach-btn:hover {
    background: rgba(255,255,255,0.1);
    color: var(--accent);
}

.support-emoji-picker {
    position: absolute;
    bottom: 55px;
    left: 16px;
    right: 16px;
    background: #1a1d21;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 10px;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.emoji-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 4px;
}

.emoji-item {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.15s;
}

.emoji-item:hover {
    background: rgba(59, 130, 246, 0.2);
    transform: scale(1.15);
}

.support-image-preview {
    padding: 8px 16px;
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(0,0,0,0.1);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.support-image-preview img {
    max-width: 80px;
    max-height: 50px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.1);
}

.remove-image-btn {
    position: absolute;
    top: 4px;
    left: 70px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ef4444;
    border: none;
    color: white;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.support-message-image {
    max-width: 200px;
    max-height: 150px;
    border-radius: 8px;
    margin-top: 8px;
    cursor: pointer;
    transition: transform 0.2s;
}

.support-message-image:hover {
    transform: scale(1.02);
}

/* Image modal */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
}

.image-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 8px;
    z-index: 1;
}

.image-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 2;
}

.support-send-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--accent);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.support-send-btn:hover {
    background: #2563eb;
}

/* Tickets list - DESIGN FROM MAKET */
.support-tickets-list {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #0a0a0a;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
    gap: 20px;
    align-content: start;
}

.support-ticket-item {
    background: #18181b;
    border: 1px solid #27272a;
    border-radius: 16px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.support-ticket-item:hover {
    border-color: #3f3f46;
}

.support-ticket-item.closed {
    opacity: 0.6;
}

.support-ticket-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.support-ticket-user {
    display: flex;
    align-items: center;
    gap: 16px;
}

.support-ticket-avatar {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: #0a0a0a;
    position: relative;
}

.support-ticket-avatar::after {
    content: '';
    position: absolute;
    top: -4px;
    right: -4px;
    width: 14px;
    height: 14px;
    background: #3b82f6;
    border: 4px solid #18181b;
    border-radius: 50%;
}

.support-ticket-item.closed .support-ticket-avatar::after {
    display: none;
}

.support-ticket-user-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.support-ticket-user-name {
    font-size: 1rem;
    font-weight: 800;
    color: #e4e4e7;
}

.support-ticket-user-id {
    font-size: 10px;
    font-family: monospace;
    color: #52525b;
    letter-spacing: -0.5px;
}

.support-ticket-status-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.support-ticket-status {
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 4px 8px;
    border-radius: 8px;
}

.support-ticket-status.open {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.support-ticket-status.pending {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.support-ticket-status.closed {
    background: #27272a;
    color: #71717a;
}

.support-ticket-number {
    font-size: 10px;
    font-weight: 700;
    color: #3f3f46;
}

.support-ticket-subject {
    font-size: 0.875rem;
    font-weight: 700;
    color: #d4d4d8;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.support-ticket-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid rgba(39, 39, 42, 0.5);
}

.support-ticket-messages {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #71717a;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.support-ticket-messages svg {
    width: 16px;
    height: 16px;
}

.support-ticket-item-date {
    font-size: 10px;
    font-weight: 700;
    color: #52525b;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Ticket filters */
.support-filters {
    display: flex;
    gap: 12px;
    padding: 20px;
    background: #0a0a0a;
    border-bottom: 1px solid #27272a;
}

.support-filter-btn {
    padding: 10px 20px;
    background: #18181b;
    border: 1px solid #27272a;
    border-radius: 12px;
    color: #71717a;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.support-filter-btn:hover {
    border-color: #3f3f46;
    color: #d4d4d8;
}

.support-filter-btn.active {
    background: #27272a;
    border-color: #3f3f46;
    color: #fff;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.3);
}

.support-new-ticket-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background: #3b82f6;
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-left: auto;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2);
}

.support-new-ticket-btn:hover {
    background: #2563eb;
}

.support-new-ticket-btn:active {
    transform: scale(0.95);
}

/* New ticket form */
.support-new-ticket-form {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
    background: #0a0a0a;
}

.support-back-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: #666;
    font-size: 0.8rem;
    cursor: pointer;
    padding: 0;
    margin-bottom: 8px;
    font-weight: 600;
    transition: color 0.2s;
}

.support-back-btn:hover {
    color: var(--accent);
}

.support-new-ticket-form h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.support-ticket-input {
    background: #1a1d21;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 12px;
    color: #fff;
    font-size: 0.85rem;
    outline: none;
}

.support-ticket-input:focus {
    border-color: var(--accent);
}

.support-ticket-textarea {
    flex: 1;
    background: #1a1d21;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 12px;
    color: #fff;
    font-size: 0.85rem;
    outline: none;
    resize: none;
    min-height: 120px;
}

.support-ticket-textarea:focus {
    border-color: var(--accent);
}

.support-submit-ticket-btn {
    background: var(--accent);
    border: none;
    border-radius: 8px;
    padding: 12px;
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.support-submit-ticket-btn:hover {
    background: #2563eb;
}

/* Ticket view */
.support-ticket-view {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.support-ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.ticket-view-subject {
    font-size: 0.9rem;
    font-weight: 500;
    color: #fff;
}

.support-loading {
    text-align: center;
    color: #666;
    padding: 40px;
    font-size: 0.85rem;
}

.support-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #666;
    padding: 80px 20px;
    font-size: 0.9rem;
    min-height: 400px;
}

/* Quick questions - positioned below messages, above input */
.support-quick-questions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(0,0,0,0.15);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.support-quick-btn {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    padding: 8px 14px;
    color: var(--accent);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}

.support-quick-btn:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: var(--accent);
}

/* Ticket prompt */
.support-ticket-prompt {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: 14px;
    margin-top: 8px;
}

.support-ticket-prompt p {
    font-size: 0.85rem;
    color: #ccc;
    margin: 0 0 12px 0;
}

.support-ticket-prompt-btns {
    display: flex;
    gap: 8px;
}

.support-prompt-btn {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.support-prompt-btn.yes {
    background: var(--accent);
    color: white;
}

.support-prompt-btn.yes:hover {
    background: #2563eb;
}

.support-prompt-btn.no {
    background: rgba(255,255,255,0.05);
    color: #888;
    border: 1px solid rgba(255,255,255,0.1);
}

.support-prompt-btn.no:hover {
    background: rgba(255,255,255,0.1);
    color: #ccc;
}

/* Mobile */
@media (max-width: 480px) {
    .support-widget-panel {
        width: calc(100vw - 32px);
        right: -8px;
        height: 70vh;
        max-height: 500px;
    }
}


/* ============ ADMIN TICKETS ============ */
.admin-nav-badge {
    background: #ef4444;
    color: white;
    font-size: 0.65rem;
    font-weight: 600;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    margin-left: auto;
}

.tickets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 16px;
    padding: 20px;
}

.admin-ticket-card {
    background: #1a1d21;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.admin-ticket-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    background: rgba(59, 130, 246, 0.05);
}

.admin-ticket-card.open {
    border-left: 3px solid #22c55e;
}

.admin-ticket-card.pending {
    border-left: 3px solid #f59e0b;
}

.admin-ticket-card.closed {
    border-left: 3px solid #666;
    opacity: 0.7;
}

.admin-ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.admin-ticket-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-ticket-user img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.admin-ticket-username {
    display: block;
    font-weight: 500;
    font-size: 0.9rem;
    color: #fff;
}

.admin-ticket-steamid {
    display: block;
    font-size: 0.7rem;
    color: #666;
    font-family: monospace;
}

.admin-ticket-status {
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 500;
}

.admin-ticket-status.open {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.admin-ticket-status.pending {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.admin-ticket-status.closed {
    background: rgba(100, 100, 100, 0.15);
    color: #888;
}

.admin-ticket-subject {
    font-size: 0.95rem;
    font-weight: 500;
    color: #ddd;
    margin-bottom: 12px;
    line-height: 1.4;
}

.admin-ticket-meta {
    display: flex;
    gap: 16px;
    font-size: 0.75rem;
    color: #666;
}

.admin-ticket-id {
    color: var(--accent);
}

/* Ticket Modal */
.ticket-modal-body {
    display: flex;
    flex-direction: column;
    height: 500px;
}

.ticket-info-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: rgba(0,0,0,0.2);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.ticket-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ticket-user-info img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.ticket-user-name {
    display: block;
    font-weight: 500;
    color: #fff;
}

.ticket-user-steamid {
    display: block;
    font-size: 0.75rem;
    color: #666;
    font-family: monospace;
}

.ticket-meta-info {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.8rem;
    color: #888;
}

.ticket-priority.high {
    color: #ef4444;
}

.ticket-messages-container {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ticket-message {
    display: flex;
    gap: 12px;
}

.ticket-message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1d21;
}

.ticket-message-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ticket-message.admin .ticket-message-avatar {
    background: #22c55e;
    color: white;
}

.ticket-message.ai .ticket-message-avatar {
    background: var(--accent);
    color: white;
}

.ticket-message-content {
    flex: 1;
    background: #1a1d21;
    border-radius: 12px;
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,0.05);
}

.ticket-message.admin .ticket-message-content {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.2);
}

.ticket-message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.ticket-message-name {
    font-weight: 500;
    font-size: 0.85rem;
    color: #ccc;
}

.ticket-message.admin .ticket-message-name {
    color: #22c55e;
}

.ticket-message-time {
    font-size: 0.7rem;
    color: #555;
}

.ticket-message-text {
    font-size: 0.9rem;
    color: #aaa;
    line-height: 1.6;
}

.ticket-reply-area {
    padding: 16px 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
    background: rgba(0,0,0,0.2);
}

.ticket-reply-area textarea {
    width: 100%;
    background: #1a1d21;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 12px;
    color: #fff;
    font-size: 0.9rem;
    resize: none;
    height: 80px;
    outline: none;
    margin-bottom: 12px;
}

.ticket-reply-area textarea:focus {
    border-color: var(--accent);
}

.ticket-reply-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ticket-reply-actions select {
    background: #1a1d21;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    padding: 8px 12px;
    color: #fff;
    font-size: 0.85rem;
    outline: none;
}


/* ============ ROULETTE ADMIN ============ */
.roulette-prizes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.roulette-prize-card {
    background: #1a1d21;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 16px;
}

.prize-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.prize-header .prize-name {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    outline: none;
    padding: 4px 0;
    border-bottom: 1px solid transparent;
}

.prize-header .prize-name:focus {
    border-bottom-color: var(--accent);
}

.prize-fields {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 12px;
}

.prize-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.prize-field label {
    font-size: 0.7rem;
    color: #666;
    text-transform: uppercase;
}

.prize-field input[type="number"],
.prize-field input[type="text"] {
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    padding: 8px 10px;
    color: #fff;
    font-size: 0.85rem;
    outline: none;
    width: 100%;
}

.prize-field input[type="color"] {
    width: 40px;
    height: 36px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    background: transparent;
}

/* ============ ROULETTE MODAL ============ */
.roulette-modal {
    max-width: 600px;
    padding: 0;
    overflow: hidden;
    background: #111;
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 16px;
}

.roulette-header {
    padding: 20px 24px;
    text-align: center;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, transparent 100%);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.roulette-header h2 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.roulette-header p {
    font-size: 0.85rem;
    color: #888;
}

.roulette-container {
    position: relative;
    padding: 30px 20px;
    overflow: hidden;
}

.roulette-pointer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4px;
    height: 60px;
    background: linear-gradient(to bottom, #f59e0b, #f97316);
    border-radius: 2px;
    z-index: 10;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.5);
}

.roulette-pointer::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 14px solid #f59e0b;
}

.roulette-pointer::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 14px solid #f97316;
}

.roulette-strip-wrapper {
    position: relative;
    height: 100px;
    overflow: hidden;
    border-radius: 12px;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.08);
}

.roulette-strip-wrapper::before,
.roulette-strip-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 5;
    pointer-events: none;
}

.roulette-strip-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #111, transparent);
}

.roulette-strip-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #111, transparent);
}

.roulette-strip {
    display: flex;
    gap: 8px;
    padding: 10px;
    transition: transform 5s cubic-bezier(0.15, 0.85, 0.35, 1);
}

.roulette-strip.spinning {
    transition: transform 5s cubic-bezier(0.15, 0.85, 0.35, 1);
}

.roulette-item {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border: 2px solid transparent;
    transition: all 0.2s ease;
}

.roulette-item-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.roulette-item-icon svg {
    width: 28px;
    height: 28px;
}

.roulette-item-amount {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
}

.roulette-item.winner {
    border-color: #f59e0b;
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.5);
    transform: scale(1.05);
}

.roulette-footer {
    padding: 20px 24px;
    border-top: 1px solid rgba(255,255,255,0.05);
    background: rgba(0,0,0,0.2);
}

.roulette-spin-btn {
    width: 100%;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.roulette-spin-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.roulette-cooldown {
    text-align: center;
    padding: 14px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 10px;
    color: #ef4444;
    font-size: 0.9rem;
}

.roulette-result {
    text-align: center;
    padding: 20px;
    animation: resultPop 0.5s ease;
}

@keyframes resultPop {
    0% { transform: scale(0.8); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.roulette-result-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 158, 11, 0.2);
}

.roulette-result-icon svg {
    width: 32px;
    height: 32px;
    color: #f59e0b;
}

.roulette-result h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.roulette-result p {
    color: #888;
    font-size: 0.9rem;
}

.roulette-result .prize-amount {
    font-size: 2rem;
    font-weight: 700;
    color: #f59e0b;
    margin: 12px 0;
}


/* ============ ROULETTE PRIZE FIELDS ============ */
.roulette-prize-field {
    display: grid;
    grid-template-columns: 1fr 1.5fr 80px 1fr auto;
    gap: 8px;
    align-items: center;
}

.roulette-prize-field input {
    padding: 8px 10px;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    color: #fff;
    font-size: 0.85rem;
}

.roulette-prize-field input:focus {
    border-color: var(--accent);
    outline: none;
}

.roulette-prize-field .prize-chance {
    text-align: center;
}

@media (max-width: 768px) {
    .roulette-prize-field {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============ CS:GO STYLE ROULETTE ANIMATION ============ */
.roulette-modal-content {
    max-width: 800px;
    padding: 0;
    background: #0d1117;
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
    border-radius: 16px;
}

.roulette-header {
    padding: 24px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    background: rgba(0,0,0,0.3);
}

.roulette-header h2 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.roulette-container {
    position: relative;
    padding: 0;
    background: #0a0c10;
    overflow: hidden;
}

/* Top pointer triangle */
.roulette-pointer-top {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 16px solid #f59e0b;
    filter: drop-shadow(0 4px 12px rgba(245, 158, 11, 0.6));
}

/* Bottom pointer triangle */
.roulette-pointer-bottom {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 16px solid #f59e0b;
    filter: drop-shadow(0 -4px 12px rgba(245, 158, 11, 0.6));
}

/* Center line between pointers */
.roulette-container::before {
    content: '';
    position: absolute;
    top: 16px;
    bottom: 16px;
    left: 50%;
    width: 3px;
    background: linear-gradient(180deg, #f59e0b 0%, rgba(245, 158, 11, 0.3) 50%, #f59e0b 100%);
    transform: translateX(-50%);
    z-index: 9;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.5);
}

.roulette-track-wrapper {
    position: relative;
    overflow: hidden;
    padding: 30px 0;
}

/* Gradient fade on sides */
.roulette-track-wrapper::before,
.roulette-track-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 5;
    pointer-events: none;
}

.roulette-track-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #0a0c10 0%, transparent 100%);
}

.roulette-track-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #0a0c10 0%, transparent 100%);
}

.roulette-track {
    display: flex;
    gap: 8px;
    padding: 10px 0;
    will-change: transform;
}

.roulette-track.spinning {
    transition: transform 6s cubic-bezier(0.1, 0.7, 0.1, 1);
}

.roulette-item {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.03);
    border: 2px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.roulette-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.roulette-item-name {
    font-size: 0.7rem;
    color: #888;
    text-align: center;
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.roulette-item.winner {
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.4);
    transform: scale(1.05);
}

.roulette-result {
    text-align: center;
    padding: 30px;
    animation: fadeInUp 0.5s ease;
}

.roulette-result-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    background: rgba(245, 158, 11, 0.1);
    border: 2px solid #f59e0b;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(245, 158, 11, 0.3);
}

.roulette-result-image img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.roulette-result h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #f59e0b;
    margin: 0 0 8px;
}

.roulette-result p {
    color: #888;
    font-size: 0.9rem;
    margin: 0 0 20px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Roulette glow effect on sides */
.roulette-container::after {
    content: none;
}

/* Embedded roulette in product modal */
#productRouletteView {
    padding: 0;
}

#productRouletteView .roulette-header {
    padding: 24px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

#productRouletteView .roulette-header h2 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

#productRouletteView .roulette-container {
    position: relative;
    background: #0a0c10;
    overflow: hidden;
}

#productRouletteView .roulette-result {
    padding: 40px 30px;
}


/* Roulette prize item in product modal */
.roulette-prize-item {
    position: relative;
}

.roulette-prize-item .kit-item-name {
    font-size: 0.7rem;
    color: #888;
    text-align: center;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* Free price styling */
.free-price {
    color: #22c55e !important;
    font-weight: 600;
}

.product-badge.free {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #22c55e;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 2;
}

/* Disabled buy button */
.btn-primary.disabled,
.product-modal-footer .btn-primary.disabled {
    background: #374151 !important;
    cursor: not-allowed;
    opacity: 0.7;
}

.btn-primary.disabled:hover {
    background: #374151 !important;
    transform: none;
}

/* Cooldown info in modal */
.cooldown-info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #f59e0b;
    margin-top: 8px;
}

.cooldown-info svg {
    flex-shrink: 0;
}


/* Button spinner animation */
.btn .spinner {
    animation: btnSpin 1s linear infinite;
}

@keyframes btnSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}


/* New Service Cards Design */
.service-card-new {
    display: flex;
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.service-card-new:hover {
    transform: translateY(-2px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.service-card-image {
    width: 80px;
    height: 80px;
    position: relative;
    flex-shrink: 0;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(15, 23, 42, 0.8));
}

.service-card-content {
    flex: 1;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.service-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.service-card-name {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

.service-card-badge {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.service-card-badge.permanent {
    background: rgba(168, 85, 247, 0.2);
    color: #c084fc;
}

.service-card-badge.critical {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    animation: pulse-critical 1s ease-in-out infinite;
}

.service-card-badge.expiring {
    background: rgba(234, 179, 8, 0.2);
    color: #facc15;
}

.service-card-time {
    font-size: 20px;
    font-weight: 700;
    color: #22c55e;
    font-family: 'JetBrains Mono', monospace;
}

.service-card-time.permanent {
    color: #c084fc;
    font-size: 16px;
}

.service-card-time.critical {
    color: #ef4444;
}

.service-card-time.expiring {
    color: #eab308;
}

.service-card-time.expired {
    color: #64748b;
}

.service-card-progress {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 4px;
}

.service-card-progress-bar {
    height: 100%;
    border-radius: 2px;
    transition: width 0.3s ease;
}

/* Services list grid */
#servicesList {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (max-width: 768px) {
    .service-card-new {
        flex-direction: column;
    }
    
    .service-card-image {
        width: 100%;
        height: 100px;
    }
    
    .service-card-overlay {
        background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.9));
    }
}


/* Permission Cards Grid - Strict Style */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.perm-card {
    background: #0d1117;
    border: 1px solid #21262d;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.perm-card:hover {
    border-color: #30363d;
}

.perm-card.critical {
    border-color: rgba(239, 68, 68, 0.5);
}

.perm-card.expiring {
    border-color: rgba(234, 179, 8, 0.4);
}

.perm-card.permanent {
    border-color: rgba(168, 85, 247, 0.3);
}

.perm-card-img {
    width: 100%;
    height: 120px;
    background: #161b22;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #21262d;
}

.perm-card-img img {
    max-width: 80%;
    max-height: 90px;
    object-fit: contain;
}

.perm-card-body {
    padding: 14px;
}

.perm-card-name {
    font-size: 13px;
    font-weight: 600;
    color: #e6edf3;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.perm-card-timer {
    font-size: 18px;
    font-weight: 700;
    color: #22c55e;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: -0.5px;
}

.perm-card-timer.permanent {
    color: #a855f7;
    font-size: 14px;
}

.perm-card-timer.critical {
    color: #ef4444;
}

.perm-card-timer.expiring {
    color: #eab308;
}

.perm-card-timer.expired {
    color: #6e7681;
}

@media (max-width: 600px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .perm-card-img {
        height: 90px;
    }
    
    .perm-card-body {
        padding: 10px;
    }
    
    .perm-card-timer {
        font-size: 15px;
    }
}


/* Privilege Cards - GameStores Style */
.priv-card {
    background: #0d1117;
    border: 1px solid #21262d;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
}

.priv-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border-bottom: 1px solid #21262d;
}

.priv-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1e3a5f, #0d1f33);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.priv-card-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.priv-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #e6edf3;
}

.priv-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.priv-card-stat {
    padding: 16px 20px;
    border-right: 1px solid #21262d;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.priv-card-stat:last-child {
    border-right: none;
}

.priv-stat-label {
    font-size: 11px;
    font-weight: 500;
    color: #6e7681;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.priv-stat-value {
    font-size: 16px;
    font-weight: 700;
    color: #e6edf3;
}

.priv-stat-value.active {
    color: #22c55e;
}

.priv-stat-value.permanent {
    color: #a855f7;
}

.priv-stat-value.critical {
    color: #ef4444;
}

.priv-stat-value.expiring {
    color: #eab308;
}

@media (max-width: 500px) {
    .priv-card-header {
        padding: 16px;
    }
    
    .priv-card-icon {
        width: 48px;
        height: 48px;
    }
    
    .priv-card-title {
        font-size: 16px;
    }
    
    .priv-card-stat {
        padding: 12px 16px;
    }
    
    .priv-stat-value {
        font-size: 14px;
    }
}


/* Promo Duration Options */
.promo-duration-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 12px;
    background: #15171a;
    border: 1px solid #1a1d21;
    border-radius: 6px;
    transition: all 0.2s;
}

.radio-option:hover {
    border-color: var(--accent);
}

.radio-option input[type="radio"] {
    width: auto;
    margin: 0;
}

.radio-option span {
    font-size: 0.85rem;
    color: #ccc;
}

.days-presets {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.days-btn {
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 6px;
    color: var(--accent);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.days-btn:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: var(--accent);
}

.promo-expiry-row {
    padding: 0 24px;
    margin-bottom: 16px;
}

/* ============ SERVER MODAL NEW DESIGN ============ */
.server-modal-content {
    position: relative;
    background: #0d0d0d;
    border: 1px solid #1a1d21;
    border-radius: 16px;
    width: 100%;
    max-width: 580px;
    overflow: hidden;
}

.server-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #666;
    font-size: 24px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    z-index: 10;
}

.server-modal-close:hover {
    color: #fff;
}

.server-modal-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 24px 20px;
}

.server-modal-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1e3a5f, #3b82f6);
    position: relative;
    flex-shrink: 0;
}

.server-modal-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
}

.server-modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    flex: 1;
}

.server-modal-buttons {
    display: flex;
    gap: 10px;
}

.server-btn-copy {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: transparent;
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.server-btn-copy:hover {
    background: rgba(255,255,255,0.05);
    border-color: #555;
}

.server-btn-play {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #3b82f6;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.server-btn-play:hover {
    background: #2563eb;
}

.server-modal-online {
    padding: 20px 24px;
}

.server-online-count {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
}

.server-online-bar {
    height: 6px;
    background: #1a1d21;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 12px;
}

.server-online-fill {
    height: 100%;
    background: linear-gradient(90deg, #22c55e, #4ade80);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.server-online-stats {
    display: flex;
    gap: 24px;
    font-size: 0.85rem;
}

.server-stat {
    display: flex;
    align-items: center;
    gap: 4px;
}

.server-stat.green { color: #22c55e; }
.server-stat.orange { color: #f59e0b; }
.server-stat.gray { color: #666; }

.server-modal-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid #1a1d21;
}

.server-grid-item {
    padding: 20px 16px;
    text-align: center;
    border-right: 1px solid #1a1d21;
}

.server-grid-item:last-child {
    border-right: none;
}

.server-grid-label {
    display: block;
    font-size: 0.65rem;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.server-grid-value {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
}

@media (max-width: 600px) {
    .server-modal-content {
        margin: 10px;
        max-width: calc(100% - 20px);
    }
    
    .server-modal-header {
        flex-wrap: wrap;
        padding-right: 50px;
    }
    
    .server-modal-buttons {
        width: 100%;
        margin-top: 12px;
    }
    
    .server-modal-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .server-grid-item:nth-child(2) {
        border-right: none;
    }
    
    .server-grid-item:nth-child(1),
    .server-grid-item:nth-child(2) {
        border-bottom: 1px solid #1a1d21;
    }
    
    .server-online-stats {
        flex-wrap: wrap;
        gap: 12px;
    }
}

/* ============ SKINS PAGE NEW DESIGN ============ */
.skins-hero {
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 0 20px;
    position: relative;
    background: 
        radial-gradient(ellipse at center, transparent 0%, var(--bg) 70%),
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
}

.skins-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center top, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.skins-hero .hero-badge {
    margin-bottom: 16px;
}

.skins-hero h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 0 60px rgba(0,0,0,0.5);
}

.skins-hero .hero-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.skins-hero .hero-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.skins-page .section-divider {
    padding: 15px 0;
}

.skins-section {
    padding: 20px 0 60px;
    position: relative;
    background: 
        radial-gradient(ellipse at center, transparent 0%, var(--bg) 70%),
        linear-gradient(rgba(59, 130, 246, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
}

.skins-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 20px;
    padding: 0 20px;
}

.category-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.category-btn:hover {
    background: rgba(255,255,255,0.06);
    color: var(--text);
}

.category-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.category-btn svg {
    width: 14px;
    height: 14px;
}

.category-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.category-count {
    background: rgba(0,0,0,0.2);
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.75rem;
}

.category-btn.active .category-count {
    background: rgba(255,255,255,0.2);
}

.skins-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.skins-search {
    position: relative;
    width: 100%;
    max-width: 350px;
}

.skins-search svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #555;
}

.skins-search input {
    width: 100%;
    background: rgba(255,255,255,0.03);
    border: 1px solid #1a1d21;
    border-radius: 10px;
    padding: 12px 16px 12px 44px;
    color: var(--text);
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.skins-search input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(59, 130, 246, 0.05);
}

.skins-search input::placeholder {
    color: #555;
}

.skins-tabs-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.skins-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.skins-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255,255,255,0.02);
    border: 1px solid #1a1d21;
    border-radius: 8px;
    color: #666;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.skins-tab:hover {
    background: rgba(255,255,255,0.05);
    border-color: #333;
    color: #999;
}

.skins-tab.active {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--accent);
    color: var(--accent);
}

.skins-tab svg {
    opacity: 0.7;
}

.skins-tab.active svg {
    opacity: 1;
}

.tab-count {
    background: rgba(255,255,255,0.1);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
}

.skins-tab.active .tab-count {
    background: rgba(59, 130, 246, 0.2);
}

.skins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.skins-loading,
.skins-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #555;
}

.skins-empty svg {
    margin-bottom: 16px;
    opacity: 0.3;
}

.skins-empty p {
    margin-bottom: 20px;
}

.skin-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid #1a1d21;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
}

.skin-card:hover {
    border-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.skin-card-image {
    aspect-ratio: 1;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.skin-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.skin-card:hover .skin-card-image img {
    transform: scale(1.05);
}

.skin-card-info {
    padding: 12px;
}

.skin-card-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.skin-card-item {
    font-size: 0.75rem;
    color: #555;
}

@media (max-width: 768px) {
    .skins-hero h1 {
        font-size: 1.8rem;
    }
    
    .skins-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .skins-search {
        max-width: none;
    }
    
    .skins-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
    }
    
    .skins-tab {
        white-space: nowrap;
    }
    
    .skins-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/* Skin Policy Notice */
.skin-policy-notice {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 10px;
    margin: 0 20px 16px;
}

.skin-policy-notice svg {
    color: #f59e0b;
    flex-shrink: 0;
    margin-top: 2px;
}

.skin-policy-notice strong {
    display: block;
    font-size: 0.85rem;
    color: #f59e0b;
    margin-bottom: 4px;
}

.skin-policy-notice p {
    font-size: 0.8rem;
    color: #999;
    margin: 0;
    line-height: 1.4;
}

/* Skin Preview */
.skin-preview {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    margin: 0 20px 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid #1a1d21;
    border-radius: 10px;
}

.skin-preview img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    background: #111;
}

.skin-preview-info {
    flex: 1;
}

.skin-preview-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 4px;
    color: var(--text);
}

.skin-preview-info p {
    font-size: 0.8rem;
    color: #666;
    margin: 0 0 6px;
}

.skin-preview-id {
    font-size: 0.75rem;
    color: #555;
}

.skin-preview-status {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
}

.skin-preview-status.loading {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.skin-preview-status.success {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.skin-preview-status.error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* ============ SKINS MODERATION - MOCKUP DESIGN ============ */
.skins-moderation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* MAKET HEADER DESIGN */
.admin-header-maket {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
}

.admin-header-left h1 {
    font-size: 30px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 4px 0;
}

.admin-subtitle {
    font-size: 14px;
    font-weight: 500;
    color: #71717a;
    margin: 0;
}

.admin-header-right {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    flex-shrink: 0;
}

.btn-nav-maket {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #18181b;
    border: 1px solid #27272a;
    border-radius: 12px;
    color: #71717a;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-nav-maket:hover {
    border-color: #3f3f46;
    color: #a1a1aa;
}

.btn-nav-maket.active {
    background: #27272a;
    border-color: #3f3f46;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-nav-maket svg {
    opacity: 0.8;
}

.btn-primary-maket {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #3b82f6;
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2);
    white-space: nowrap;
}

.btn-primary-maket:hover {
    background: #2563eb;
    transform: scale(0.98);
}

.btn-primary-maket:active {
    transform: scale(0.95);
}

/* FILTER TABS */
.filter-tabs-maket {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(24, 24, 27, 0.5);
    border: 1px solid #27272a;
    padding: 8px;
    border-radius: 16px;
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* SKINS ACTIONS BAR */
.skins-actions-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.btn-action {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #a1a1aa;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-action:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(59, 130, 246, 0.4);
    color: #60a5fa;
    transform: translateY(-1px);
}

.btn-action svg {
    opacity: 0.8;
}

.btn-action-warning {
    border-color: rgba(245, 158, 11, 0.3);
    color: #fbbf24;
}

.btn-action-warning:hover {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.5);
    color: #fbbf24;
}

.filter-tab-maket {
    flex: 1;
    padding: 10px 20px;
    background: transparent;
    border: none;
    border-radius: 12px;
    color: #71717a;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.filter-tab-maket:hover {
    color: #a1a1aa;
}

.filter-tab-maket.active {
    background: #27272a;
    color: #fff;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* NEW MAKET DESIGN - 3 COLUMN GRID WITH LARGE IMAGE CARDS */
.skins-grid-maket {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 20px 0;
}

.skin-card-maket {
    background: #18181b;
    border: 1px solid #27272a;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.skin-card-maket:hover {
    border-color: #3f3f46;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.skin-card-image {
    aspect-ratio: 4/3;
    position: relative;
    overflow: hidden;
    background: #09090b;
}

.skin-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease, opacity 0.3s ease;
    opacity: 0.8;
}

.skin-card-maket:hover .skin-card-image img {
    transform: scale(1.1);
    opacity: 1;
}

.skin-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #09090b 0%, transparent 60%);
    opacity: 0.6;
    pointer-events: none;
}

.skin-card-status {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
}

.skin-status-badge {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 6px 10px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.05em;
}

.skin-status-badge.approved {
    background: #22c55e;
    color: #09090b;
}

.skin-status-badge.pending {
    background: #f59e0b;
    color: #09090b;
}

.skin-status-badge.rejected {
    background: #ef4444;
    color: #fff;
}

.skin-status-badge.deleted {
    background: #71717a;
    color: #fff;
}

.skin-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.skin-card-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.skin-card-title {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin: 0;
}

.skin-card-category {
    font-size: 10px;
    font-weight: 800;
    color: #71717a;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.skin-card-moderator {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: rgba(9, 9, 11, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(39, 39, 42, 0.5);
}

.skin-moderator-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.skin-moderator-avatar {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid #27272a;
    object-fit: cover;
}

.skin-moderator-details {
    display: flex;
    flex-direction: column;
}

.skin-moderator-name {
    font-size: 11px;
    font-weight: 700;
    color: #a1a1aa;
}

.skin-moderator-date {
    font-size: 9px;
    font-weight: 700;
    color: #52525b;
    text-transform: uppercase;
}

.skin-card-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.skin-action-btn {
    padding: 8px;
    background: #27272a;
    border: none;
    border-radius: 8px;
    color: #71717a;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.skin-action-btn:hover {
    background: #3f3f46;
}

.skin-action-btn.skin-action-view:hover {
    color: #3b82f6;
}

.skin-action-btn.skin-action-approve:hover {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.skin-action-btn.skin-action-reject:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.skin-action-btn.skin-action-delete:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

/* Responsive for skins grid */
@media (max-width: 1400px) {
    .skins-grid-maket {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .skins-grid-maket {
        grid-template-columns: 1fr;
    }
}

/* Load More Button */
.load-more-container {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 32px 0;
}

/* PAGINATION MAKET STYLE */
.pagination-maket {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 40px 0 20px 0;
}

.pagination-btn-maket {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #18181b;
    border: 1px solid #27272a;
    border-radius: 12px;
    color: #a1a1aa;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination-btn-maket:hover:not(:disabled) {
    background: #27272a;
    border-color: #3f3f46;
    color: #fff;
}

.pagination-btn-maket:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.pagination-pages-maket {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-page {
    min-width: 48px;
    height: 48px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #18181b;
    border: 1px solid #27272a;
    border-radius: 12px;
    color: #a1a1aa;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pagination-page:hover {
    background: #27272a;
    border-color: #3f3f46;
    color: #fff;
}

.pagination-page.active {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #fff;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.pagination-ellipsis {
    padding: 0 12px;
    color: #52525b;
    font-weight: 600;
    font-size: 15px;
}

.btn-load-more {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    background: rgba(59, 130, 246, 0.1);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 16px;
    color: #60a5fa;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-load-more:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.2);
}

.btn-load-more svg {
    transition: transform 0.3s ease;
}

.btn-load-more:hover svg {
    transform: translateY(2px);
}

.skins-counter {
    font-size: 13px;
    color: #71717a;
    font-weight: 600;
}

/* OLD STYLES BELOW - KEEP FOR COMPATIBILITY */

.skin-mod-card {
    background: #18181b;
    border: 1px solid #27272a;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.skin-mod-card:hover {
    border-color: #3f3f46;
}

.skin-mod-preview {
    aspect-ratio: 4/3;
    position: relative;
    overflow: hidden;
    background: #09090b;
}

.skin-mod-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
    opacity: 0.8;
}

.skin-mod-card:hover .skin-mod-preview img {
    transform: scale(1.1);
    opacity: 1;
}

.skin-mod-preview::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #09090b, transparent);
    opacity: 0.6;
}

.skin-mod-status-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 10px;
    font-weight: 800;
    background: #22c55e;
    color: #09090b;
    padding: 6px 10px;
    border-radius: 8px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
    z-index: 2;
}

.skin-mod-details {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.skin-mod-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.skin-mod-name {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.skin-mod-category {
    font-size: 10px;
    font-weight: 800;
    color: #71717a;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.skin-mod-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: rgba(9, 9, 11, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(39, 39, 42, 0.5);
}

.skin-mod-moderator {
    display: flex;
    align-items: center;
    gap: 10px;
}

.skin-mod-moderator img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid #27272a;
}

.skin-mod-moderator-info {
    display: flex;
    flex-direction: column;
}

.skin-mod-moderator-name {
    font-size: 11px;
    font-weight: 700;
    color: #a1a1aa;
}

.skin-mod-date {
    font-size: 9px;
    font-weight: 700;
    color: #52525b;
    text-transform: uppercase;
}

.skin-mod-actions {
    display: flex;
    gap: 6px;
}

.skin-mod-actions button {
    padding: 8px;
    background: #27272a;
    border: none;
    border-radius: 8px;
    color: #71717a;
    cursor: pointer;
    transition: all 0.2s;
}

.skin-mod-actions button:hover {
    background: #3f3f46;
    color: #3b82f6;
}

.skin-mod-actions button:last-child:hover {
    color: #ef4444;
}

.skin-mod-actions button svg {
    width: 16px;
    height: 16px;
}

.custom-select-trigger .select-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.custom-select-trigger span {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.custom-select-trigger svg {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.custom-select-options.active ~ .custom-select-trigger svg,
.custom-select.active .custom-select-trigger svg {
    transform: rotate(180deg);
}

.custom-select-options {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    max-height: 250px;
    overflow-y: auto;
    overflow-x: hidden;
    background: rgba(15, 17, 21, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.6);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    padding: 4px;
}

.custom-select-options.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-select-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: 0.8rem;
    border-radius: 6px;
}

.custom-select-option:hover {
    background: rgba(59, 130, 246, 0.15);
}

.custom-select-option.selected {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.custom-select-option img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.custom-select-option span {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Old select styles (keep for compatibility) */
.skin-tag-select-compact {
    width: 100%;
    max-width: 200px;
    padding: 6px 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    color: var(--text);
    font-size: 0.8rem;
    cursor: pointer;
}

.skin-tag-select-compact:focus {
    outline: none;
    border-color: var(--accent);
}

.skin-mod-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.skin-mod-user {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #888;
}

.skin-mod-user img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.skin-mod-actions-compact {
    display: flex;
    gap: 6px;
}

.btn-icon {
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.1);
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-icon:hover {
    transform: translateY(-1px);
}

.btn-icon.btn-approve {
    border-color: rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.btn-icon.btn-approve:hover {
    background: rgba(34, 197, 94, 0.15);
}

.btn-icon.btn-reject {
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.btn-icon.btn-reject:hover {
    background: rgba(239, 68, 68, 0.15);
}

.btn-icon.btn-link {
    border-color: rgba(59, 130, 246, 0.3);
    color: #3b82f6;
}

.btn-icon.btn-link:hover {
    background: rgba(59, 130, 246, 0.15);
}

/* Pagination Controls */
.pagination-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    padding: 20px 0;
}

.pagination-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #fff;
}

.pagination-btn:hover:not(:disabled) {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-1px);
}

.pagination-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.pagination-pages {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pagination-page {
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
}

.pagination-page:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-1px);
}

.pagination-page.active {
    background: rgba(59, 130, 246, 0.3);
    border-color: rgba(59, 130, 246, 0.5);
    color: #60a5fa;
}

.pagination-ellipsis {
    padding: 0 8px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
}

/* Old card styles (keep for compatibility) */
.skin-mod-image {
    aspect-ratio: 16/9;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
}

.skin-mod-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.skin-mod-info {
    padding: 16px;
}

.skin-mod-item {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 8px;
}

.skin-mod-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: #555;
    margin-bottom: 12px;
}

.skin-mod-status {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 500;
    white-space: nowrap;
}

.skin-mod-status.pending {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.skin-mod-status.approved {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.skin-mod-status.rejected {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.skin-mod-status.deleted {
    background: rgba(156, 163, 175, 0.15);
    color: #9ca3af;
    border: 1px solid rgba(156, 163, 175, 0.3);
}

.skin-mod-actions {
    display: flex;
    gap: 8px;
}

.skin-mod-actions .btn {
    flex: 1;
    padding: 8px 12px;
    font-size: 0.8rem;
}

.btn-approve {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.btn-approve:hover {
    background: rgba(34, 197, 94, 0.2);
}

.btn-reject {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.btn-reject:hover {
    background: rgba(239, 68, 68, 0.2);
}

/* ============ API SECTION STYLES ============ */
.api-status {
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 12px;
    margin-left: auto;
}

.api-status.online {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.api-status.offline {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.api-endpoint-group {
    margin-bottom: 20px;
}

.api-endpoint-group h4 {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border);
}

.api-endpoint-group:last-child {
    margin-bottom: 0;
}

/* ============ SKINS ITEMS FILTER ============ */
.skins-items-filter {
    margin-bottom: 30px;
}

.items-filter-label {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 12px;
}

.items-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.item-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255,255,255,0.02);
    border: 1px solid #1a1d21;
    border-radius: 10px;
    color: #888;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.item-btn:hover {
    background: rgba(255,255,255,0.05);
    border-color: #333;
    color: #ccc;
}

.item-btn.active {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--accent);
    color: var(--accent);
}

.item-icon {
    font-size: 1.2rem;
}

.item-btn img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.item-count {
    background: rgba(255,255,255,0.1);
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 0.7rem;
    margin-left: 4px;
}

.item-btn.active .item-count {
    background: rgba(59, 130, 246, 0.2);
}


/* Skin tag select in admin */
.skin-tag-select {
    width: 100%;
    padding: 6px 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    font-size: 0.8rem;
    cursor: pointer;
    margin-bottom: 8px;
}

.skin-tag-select:focus {
    outline: none;
    border-color: var(--accent);
}

.skin-tag-select option {
    background: var(--bg-card);
    color: var(--text);
}


/* ============ SKINS SHOWCASE (Shop Slider) ============ */
.skins-showcase {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    max-width: 320px;
    justify-content: center;
    align-items: center;
}

.skins-showcase.hidden {
    display: none !important;
}

.floating-skin {
    width: 90px;
    height: 90px;
    border-radius: 14px;
    background: rgba(30, 35, 45, 0.8);
    border: 1px solid rgba(59, 130, 246, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8) translateY(20px);
    transition: all 0.5s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.floating-skin.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.floating-skin img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.4));
}

/* Staggered animation delays */
.floating-skin:nth-child(1) { transition-delay: 0s; }
.floating-skin:nth-child(2) { transition-delay: 0.1s; }
.floating-skin:nth-child(3) { transition-delay: 0.2s; }
.floating-skin:nth-child(4) { transition-delay: 0.3s; }
.floating-skin:nth-child(5) { transition-delay: 0.4s; }

/* Floating animation when visible */
.floating-skin.visible:nth-child(1) { animation: floatSkin 4s ease-in-out infinite; }
.floating-skin.visible:nth-child(2) { animation: floatSkin 4.5s ease-in-out infinite 0.5s; }
.floating-skin.visible:nth-child(3) { animation: floatSkin 5s ease-in-out infinite 1s; }
.floating-skin.visible:nth-child(4) { animation: floatSkin 4.2s ease-in-out infinite 1.5s; }
.floating-skin.visible:nth-child(5) { animation: floatSkin 4.8s ease-in-out infinite 2s; }

@keyframes floatSkin {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Responsive */
@media (max-width: 900px) {
    .skins-showcase {
        display: none !important;
    }
}


/* ============ SKIN CATEGORY MANAGER ============ */
.category-manager-body {
    padding: 20px;
    max-height: 70vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.category-manager-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.category-count {
    color: #888;
    font-size: 0.9rem;
}

.category-count span {
    color: #60a5fa;
    font-weight: 600;
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    overflow-y: auto;
    padding-right: 5px;
}

/* Scrollbar styles for category list */
.category-list::-webkit-scrollbar {
    width: 6px;
}

.category-list::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
    border-radius: 3px;
}

.category-list::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.5);
    border-radius: 3px;
}

.category-list::-webkit-scrollbar-thumb:hover {
    background: rgba(59, 130, 246, 0.7);
}

.category-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    transition: all 0.2s ease;
}

.category-item:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(59, 130, 246, 0.3);
}

.category-item-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
    background: rgba(0,0,0,0.3);
    border-radius: 8px;
    padding: 4px;
}

.category-item-info {
    flex: 1;
    min-width: 0;
}

.category-item-name {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.category-item-id {
    font-size: 0.85rem;
    color: #888;
    font-family: 'Courier New', monospace;
    margin-bottom: 2px;
}

.category-item-icon-name {
    font-size: 0.8rem;
    color: #666;
}

.category-item-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.icon-preview {
    margin-top: 10px;
}

.admin-modal-large {
    max-width: 800px;
}

/* Form styles for category form */
#skinCategoryForm .form-group {
    margin-bottom: 20px;
}

#skinCategoryForm label {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-weight: 500;
    font-size: 0.9rem;
}

#skinCategoryForm input[type="text"] {
    width: 100%;
    padding: 10px 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

#skinCategoryForm input[type="text"]:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.5);
    background: rgba(255,255,255,0.08);
}

#skinCategoryForm input[type="text"]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#skinCategoryForm small {
    display: block;
    margin-top: 6px;
    color: #888;
    font-size: 0.8rem;
}

.form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.btn-secondary {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.2);
}


/* ============ BULK ACTIONS ============ */
.bulk-actions-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 10px;
    margin-bottom: 20px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bulk-actions-info {
    font-size: 1rem;
    color: #60a5fa;
    font-weight: 600;
}

.bulk-actions-info span {
    font-size: 1.2rem;
    color: #fff;
}

.bulk-actions-buttons {
    display: flex;
    gap: 10px;
}

.btn-success {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #22c55e;
}

.btn-success:hover {
    background: rgba(34, 197, 94, 0.3);
    border-color: rgba(34, 197, 94, 0.6);
}

.btn-danger {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #ef4444;
}

.btn-danger:hover {
    background: rgba(239, 68, 68, 0.3);
    border-color: rgba(239, 68, 68, 0.6);
}

/* Checkbox styles */
.skin-checkbox {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
}

.skin-checkbox input[type="checkbox"] {
    display: none;
}

.skin-checkbox label {
    display: block;
    width: 24px;
    height: 24px;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.skin-checkbox label:hover {
    border-color: rgba(59, 130, 246, 0.6);
    background: rgba(59, 130, 246, 0.2);
}

.skin-checkbox input[type="checkbox"]:checked + label {
    background: rgba(59, 130, 246, 0.8);
    border-color: #3b82f6;
}

.skin-checkbox input[type="checkbox"]:checked + label::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.skin-mod-card-compact {
    position: relative;
}

/* Bulk confirm modal */
.bulk-confirm-body {
    padding: 20px;
}

.bulk-confirm-body p {
    margin-bottom: 20px;
    font-size: 1rem;
    color: #ccc;
}

.bulk-confirm-list {
    max-height: 400px;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 15px;
}

.bulk-confirm-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.bulk-confirm-item:last-child {
    border-bottom: none;
}

.bulk-confirm-number {
    color: #888;
    font-weight: 600;
    min-width: 30px;
}

.bulk-confirm-name {
    color: #fff;
    flex: 1;
}


/* ============ PLAYERS MODAL ============ */
.skins-controls-buttons {
    display: flex;
    gap: 10px;
}

.players-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 600px;
    overflow-y: auto;
}

.player-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.player-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateX(5px);
}

.player-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid rgba(59, 130, 246, 0.3);
}

.player-info {
    flex: 1;
}

.player-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
}

.player-stats {
    display: flex;
    gap: 15px;
    font-size: 0.9rem;
    color: #888;
}

.player-skins-count {
    color: #60a5fa;
    font-weight: 500;
}

.player-modal-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.player-modal-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(59, 130, 246, 0.5);
}

.player-modal-count {
    margin: 5px 0 0 0;
    font-size: 0.9rem;
    color: #888;
}

.player-modal-count span {
    color: #60a5fa;
    font-weight: 600;
}

.player-skins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.modal-large {
    max-width: 900px;
}

@media (max-width: 768px) {
    .skins-controls-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .skins-controls-buttons .btn {
        width: 100%;
    }
    
    .player-skins-grid {
        grid-template-columns: 1fr;
    }
}


/* ============ NOTIFICATIONS ============ */
.notifications-btn {
    position: relative;
    width: 40px;
    height: 40px;
    display: none !important;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #fff;
    padding: 0;
    margin-left: 4px;
    flex-shrink: 0;
}

.notifications-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(59, 130, 246, 0.4);
}

.notifications-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    display: none;
    align-items: center;
    justify-content: center;
    background: #ef4444;
    border: 2px solid #0a0b0d;
    border-radius: 9px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #fff;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.notifications-header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-text {
    background: none;
    border: none;
    color: #60a5fa;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 5px 10px;
    transition: all 0.2s ease;
}

.btn-text:hover {
    color: #3b82f6;
    text-decoration: underline;
}

.notifications-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 500px;
    overflow-y: auto;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.notification-item.unread {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

.notification-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(59, 130, 246, 0.4);
}

.notification-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 50%;
    flex-shrink: 0;
}

.notification-icon.skin_moderation {
    background: rgba(139, 92, 246, 0.2);
    color: #a78bfa;
}

.notification-icon.purchase {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.notification-icon.system {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
}

.notification-message {
    font-size: 0.9rem;
    color: #aaa;
    line-height: 1.4;
    margin-bottom: 8px;
}

.notification-image {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
    margin: 10px 0;
    object-fit: cover;
}

.notification-time {
    font-size: 0.8rem;
    color: #666;
}

.notification-unread-dot {
    width: 8px;
    height: 8px;
    background: #3b82f6;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .notifications-btn {
        width: 40px;
        height: 40px;
    }
    
    .notifications-header-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .nav-links a svg {
        width: 13px;
        height: 13px;
    }
}


/* Tag Manager */
.tag-manager-body {
    padding: 20px;
    max-height: 70vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.tag-manager-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.tag-count {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.tag-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    overflow-y: auto;
    padding-right: 5px;
}

/* Scrollbar styles for tag list */
.tag-list::-webkit-scrollbar {
    width: 6px;
}

.tag-list::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
    border-radius: 3px;
}

.tag-list::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.5);
    border-radius: 3px;
}

.tag-list::-webkit-scrollbar-thumb:hover {
    background: rgba(59, 130, 246, 0.7);
}

.tag-item {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 16px;
}

.tag-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.tag-item-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tag-color-badge {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.tag-item-actions {
    display: flex;
    gap: 8px;
}

.tag-item-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.category-badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 4px;
    font-size: 0.8rem;
    color: #3b82f6;
}

.tag-categories-selector {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 300px;
    overflow-y: auto;
    padding: 12px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 6px;
    border-radius: 4px;
    transition: background 0.2s;
}

.checkbox-label:hover {
    background: rgba(255,255,255,0.05);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-label .category-icon-small {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.checkbox-label span {
    flex: 1;
}


/* Tag color dot */
.tag-color-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.category-btn {
    display: flex;
    align-items: center;
    gap: 8px;
}


/* Subcategories */
.skins-subcategories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    padding: 16px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
}


/* ============ COOKIE NOTICE ============ */
.cookie-notice {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    max-width: 700px;
    width: calc(100% - 40px);
    background: linear-gradient(135deg, rgba(20, 20, 30, 0.98), rgba(30, 30, 45, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 14px 18px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
}

.cookie-notice.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: all;
}

.cookie-notice-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cookie-notice-content svg {
    flex-shrink: 0;
    color: #3b82f6;
}

.cookie-notice-content span {
    flex: 1;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
}

.btn-cookie-accept {
    padding: 8px 20px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-cookie-accept:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.btn-cookie-learn {
    padding: 8px 16px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-cookie-learn:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .cookie-notice {
        bottom: 10px;
        width: calc(100% - 20px);
        padding: 12px 14px;
    }
    
    .cookie-notice-content {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .cookie-notice-content span {
        flex-basis: 100%;
        font-size: 13px;
    }
    
    .btn-cookie-accept,
    .btn-cookie-learn {
        font-size: 13px;
        padding: 7px 14px;
    }
}


/* Skin Limit Form */
.skin-limit-form {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.skin-limit-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.skin-limit-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
}

.skin-limit-info input[type="number"] {
    width: 80px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
}

.skin-limit-hint {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}


/* Chart Filters */
.chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 16px;
    flex-wrap: wrap;
}

.chart-filters {
    display: flex;
    gap: 8px;
}

.chart-filter-btn {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.chart-filter-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.chart-filter-btn.active {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #fff;
}


/* Database Management */
.db-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.db-viewer {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 20px;
    height: 600px;
}

.db-tables-list {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 16px;
    overflow-y: auto;
}

.db-tables-list h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.db-table-item {
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 13px;
}

.db-table-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.db-table-item.active {
    background: rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
    color: #3b82f6;
}

.db-table-content {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.db-table-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.db-table-header h3 {
    font-size: 16px;
    font-weight: 600;
}

.db-table-data {
    flex: 1;
    overflow: auto;
}

.db-table-actions {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.db-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.db-table th {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 12px;
    text-align: left;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1;
}

.db-table td {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: text;
    transition: background 0.2s;
}

.db-table td[contenteditable="true"]:hover {
    background: rgba(59, 130, 246, 0.05);
    outline: 1px solid rgba(59, 130, 246, 0.3);
}

.db-table td[contenteditable="true"]:focus {
    background: rgba(59, 130, 246, 0.1);
    outline: 2px solid #3b82f6;
    white-space: normal;
    max-width: none;
}

.db-table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* SQL Console */
.sql-console {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 600px;
}

.sql-editor {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sql-editor textarea {
    width: 100%;
    min-height: 150px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #fff;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    resize: vertical;
}

.sql-actions {
    display: flex;
    gap: 8px;
}

.sql-result {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 16px;
    overflow: hidden;
}

.sql-result h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.sql-result #sqlResult {
    flex: 1;
    overflow: auto;
}

.sql-error {
    padding: 12px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 6px;
    color: #ef4444;
    font-size: 13px;
}

.sql-success {
    padding: 12px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 6px;
    color: #22c55e;
    font-size: 13px;
}


/* ============ NOTIFICATIONS ============ */
.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.user-profile {
    position: relative;
}

.notification-count {
    background: #ef4444;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: auto;
}

.modal-medium {
    max-width: 700px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.modal-medium .modal-header {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.modal-medium .modal-header h2 {
    margin: 0;
    flex: 1;
}

.notifications-header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
    margin-right: 15px;
}

.btn-text {
    background: none;
    border: none;
    color: #60a5fa;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-text:hover {
    background: rgba(59, 130, 246, 0.1);
}

.notifications-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
    padding: 20px;
    flex: 1;
    min-height: 0;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.notification-item:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateX(2px);
}

.notification-item.unread {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.3);
}

.notification-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notification-icon.info {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
}

.notification-icon.success {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
}

.notification-icon.warning {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
}

.notification-icon.error {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 6px;
    color: #fff;
}

.notification-message {
    font-size: 0.9rem;
    color: #aaa;
    line-height: 1.5;
    word-wrap: break-word;
}

.notification-time {
    font-size: 0.8rem;
    color: #666;
    margin-top: 8px;
}

.notification-unread-dot {
    width: 10px;
    height: 10px;
    background: #ef4444;
    border-radius: 50%;
    position: absolute;
    top: 18px;
    right: 18px;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
}

.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #666;
    font-size: 1.1rem;
}

.empty-state::before {
    content: '';
    display: block;
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23666" stroke-width="2"><path d="M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"/><path d="M13.73 21a2 2 0 0 1-3.46 0"/></svg>') center/contain no-repeat;
    opacity: 0.3;
}

/* Scrollbar for notifications list */
.notifications-list::-webkit-scrollbar {
    width: 6px;
}

.notifications-list::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
    border-radius: 3px;
}

.notifications-list::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.5);
    border-radius: 3px;
}

.notifications-list::-webkit-scrollbar-thumb:hover {
    background: rgba(59, 130, 246, 0.7);
}


/* ============ ADMIN NOTIFICATIONS ============ */
.notifications-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.notification-type-selector {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.notification-type-option {
    cursor: pointer;
}

.notification-type-option input[type="radio"] {
    display: none;
}

.notification-type-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px;
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    background: rgba(255,255,255,0.02);
    transition: all 0.2s ease;
    cursor: pointer;
}

.notification-type-card:hover {
    background: rgba(255,255,255,0.05);
}

.notification-type-option input[type="radio"]:checked + .notification-type-card {
    border-color: currentColor;
    background: rgba(255,255,255,0.08);
}

.notification-type-card.info {
    color: #60a5fa;
}

.notification-type-card.success {
    color: #4ade80;
}

.notification-type-card.warning {
    color: #fbbf24;
}

.notification-type-card.error {
    color: #f87171;
}

.emoji-toolbar {
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.emoji-btn {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.02);
    border-radius: 6px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.emoji-btn:hover {
    background: rgba(255,255,255,0.08);
    transform: scale(1.1);
}

.image-preview {
    margin-top: 15px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    max-width: 400px;
}

.image-preview img {
    width: 100%;
    height: auto;
    display: block;
}

.btn-remove-image {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.9);
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-remove-image:hover {
    background: #ef4444;
    transform: scale(1.1);
}

.user-search-results {
    margin-top: 10px;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    background: rgba(0,0,0,0.3);
    display: none;
}

.user-search-results.active {
    display: block;
}

.user-search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.user-search-item:last-child {
    border-bottom: none;
}

.user-search-item:hover {
    background: rgba(255,255,255,0.05);
}

.user-search-item img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.user-search-item-info {
    flex: 1;
}

.user-search-item-name {
    font-weight: 600;
    color: #fff;
}

.user-search-item-id {
    font-size: 0.85rem;
    color: #888;
}

#messageCharCount {
    color: #60a5fa;
    font-weight: 600;
}


/* Dropdown menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(20, 20, 30, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 0;
    min-width: 140px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transition: all 0.25s ease;
    z-index: 1000;
    margin-top: 8px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    max-height: 200px;
    padding: 6px;
}

.dropdown-menu li {
    list-style: none;
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 8px 12px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.2s;
    border-radius: 6px;
    font-size: 0.9rem;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.dropdown-menu a.active {
    background: rgba(103, 126, 234, 0.2);
    color: #677eea;
}

.dropdown > a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown > a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 2px;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-top: 4px solid currentColor;
    transition: transform 0.25s ease;
}

.dropdown:hover > a::after {
    transform: rotate(180deg);
}


/* Event Tabs */
.event-tabs {
    display: flex;
    gap: 8px;
    margin: 10px auto 40px;
    padding: 6px;
    max-width: 600px;
    background: rgba(20, 20, 30, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.event-tab {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 8px;
    flex: 1;
}

.event-tab:hover {
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.05);
}

.event-tab.active {
    color: #fff;
    background: rgba(103, 126, 234, 0.3);
}

.event-content {
    margin-top: 40px;
}

.event-section {
    display: none;
}

.event-section.active {
    display: block;
}

.event-section h2 {
    font-size: 2rem;
    margin-bottom: 12px;
    color: #fff;
    font-weight: 600;
    text-align: center;
}

.event-section p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    text-align: center;
    margin-bottom: 0;
}


/* Compact hero for event page */
.event-tabs ~ .help-hero,
body:has(.event-tabs) .help-hero {
    padding: 30px 0 10px !important;
}

body:has(.event-tabs) .help-hero h1 {
    margin-bottom: 5px !important;
}

body:has(.event-tabs) .help-hero p {
    margin-bottom: 0 !important;
}


/* Event Animation */
.event-animation {
    margin-top: 40px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 80px;
    justify-content: center;
}

.event-circle {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.circle-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid #ef4444;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    opacity: 0.6;
}

.circle-main {
    position: absolute;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.2) 0%, rgba(239, 68, 68, 0.05) 100%);
    border: 2px solid #ef4444;
    border-radius: 50%;
    animation: appear 1s ease-out;
}

.resources {
    position: absolute;
    width: 100%;
    height: 100%;
}

.resource {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 30px;
    height: 30px;
    transform-origin: center;
    animation: resourceSpawn 1s ease-out var(--delay) both;
}

.resource img {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 30px;
    height: 30px;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(calc(-1 * var(--radius)));
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
    image-rendering: pixelated;
}

.event-text {
    display: block;
    flex: 1;
    max-width: 400px;
}

.event-step {
    padding: 0;
    margin: 0 0 20px 0;
    border: none;
    background: none;
    animation: slideIn 0.6s ease-out both;
    opacity: 0;
    text-align: left;
    width: 100%;
}

.event-step h3 {
    font-size: 1.1rem;
    margin: 0;
    padding: 0;
    color: #fff;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 6px;
}

.event-step p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    padding: 0;
    line-height: 1.5;
    text-align: left;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.3;
    }
}

@keyframes appear {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes resourceSpawn {
    from {
        transform: translate(-50%, -50%) scale(0) rotate(0deg);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%) scale(1) rotate(360deg);
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateX(-30px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}


/* RED HOUSE Event Animation */
.event-house {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.house-pulse {
    display: none;
}

.house-main {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.house-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
    animation: houseAppear 1.5s ease-out both;
}

@keyframes houseAppear {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}


/* Bots around house */
.bots {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.bot {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100px;
    height: 100px;
    transform-origin: center;
    animation: botSpawn 1s ease-out var(--delay) both;
}

.bot img {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100px;
    height: auto;
    max-height: 100px;
    object-fit: contain;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(calc(-1 * var(--radius))) rotate(calc(-1 * var(--angle)));
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
}

@keyframes botSpawn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}


/* Raid Calculator - Compact Design */
.raid-calculator {
    margin-top: 40px;
}

.raid-compact {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: start;
}

.raid-left h2,
.raid-right h2 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #fff;
    font-weight: 600;
}

.raid-select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    margin-bottom: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.raid-select:hover {
    border-color: rgba(103, 126, 234, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.raid-select:focus {
    outline: none;
    border-color: #677eea;
    background: rgba(255, 255, 255, 0.08);
}

.raid-select option {
    background: #1a1a1a;
    color: #fff;
}

.raid-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
}

.raid-input:focus {
    outline: none;
    border-color: #677eea;
    background: rgba(255, 255, 255, 0.08);
}

.raid-results-compact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.raid-result-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.raid-result-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(103, 126, 234, 0.3);
}

.raid-result-item img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    flex-shrink: 0;
}

.result-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.result-name {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.result-amount {
    font-size: 1.2rem;
    color: #677eea;
    font-weight: 700;
}

@media (max-width: 768px) {
    .raid-compact {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}


/* Custom Context Menu */
.custom-context-menu {
    position: absolute;
    background: rgba(20, 20, 30, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px;
    min-width: 200px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
    transition: all 0.2s ease;
}

.custom-context-menu.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: all;
}

.context-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.context-menu-item.navigation-item {
    gap: 8px;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 6px 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: rgba(103, 126, 234, 0.3);
    border-color: rgba(103, 126, 234, 0.5);
}

.nav-btn svg {
    color: rgba(255, 255, 255, 0.9);
}

.context-menu-item:hover {
    background: rgba(103, 126, 234, 0.2);
    color: #fff;
}

.context-menu-item.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.context-menu-item.disabled:hover {
    background: transparent;
}

.context-menu-item svg {
    flex-shrink: 0;
    opacity: 0.8;
}

.context-menu-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 6px 0;
}

.context-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(103, 126, 234, 0.95);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 4px 20px rgba(103, 126, 234, 0.4);
    z-index: 10001;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.context-notification.show {
    opacity: 1;
    transform: translateY(0);
}

/* ============ PROGRESS MODAL ============ */
.progress-modal-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.progress-status {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

.progress-stats {
    font-size: 14px;
    color: #71717a;
    font-weight: 600;
}

.progress-stats span {
    color: #60a5fa;
}

.progress-bar-container {
    display: flex;
    align-items: center;
    gap: 16px;
}

.progress-bar {
    flex: 1;
    height: 12px;
    background: rgba(39, 39, 42, 0.8);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    border-radius: 6px;
    transition: width 0.3s ease;
    position: relative;
    overflow: hidden;
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-percentage {
    font-size: 14px;
    font-weight: 700;
    color: #60a5fa;
    min-width: 45px;
    text-align: right;
}

.progress-time {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    font-size: 13px;
    color: #a1a1aa;
}

.progress-time svg {
    color: #60a5fa;
    flex-shrink: 0;
}

.progress-log {
    margin-top: 8px;
}

.progress-log-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.progress-log-header h3 {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.progress-log-content {
    max-height: 300px;
    overflow-y: auto;
    background: rgba(9, 9, 11, 0.8);
    border: 1px solid #27272a;
    border-radius: 12px;
    padding: 16px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    line-height: 1.6;
}

.progress-log-content::-webkit-scrollbar {
    width: 6px;
}

.progress-log-content::-webkit-scrollbar-track {
    background: rgba(39, 39, 42, 0.5);
    border-radius: 3px;
}

.progress-log-content::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.5);
    border-radius: 3px;
}

.progress-log-item {
    padding: 6px 0;
    border-bottom: 1px solid rgba(39, 39, 42, 0.5);
}

.progress-log-item:last-child {
    border-bottom: none;
}

.progress-log-item.success {
    color: #22c55e;
}

.progress-log-item.error {
    color: #ef4444;
}

.progress-log-item.info {
    color: #60a5fa;
}

.progress-log-item.warning {
    color: #f59e0b;
}

/* ============ CONFIRM MODAL ============ */
.confirm-modal-content {
    max-width: 500px;
    text-align: center;
}

.confirm-modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 158, 11, 0.1);
    border: 2px solid rgba(245, 158, 11, 0.3);
    border-radius: 50%;
    color: #f59e0b;
}

.confirm-modal-icon.info {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    color: #60a5fa;
}

.confirm-modal-icon.success {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.confirm-modal-icon.danger {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.confirm-modal-body {
    padding: 0 24px 24px;
}

.confirm-modal-body h2 {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px 0;
}

.confirm-modal-body p {
    font-size: 15px;
    color: #a1a1aa;
    line-height: 1.6;
    margin: 0;
}

.confirm-modal-details {
    margin-top: 16px;
    padding: 16px;
    background: rgba(39, 39, 42, 0.5);
    border-radius: 12px;
    font-size: 13px;
    color: #71717a;
    text-align: left;
}

.confirm-modal-details strong {
    color: #fff;
}

.confirm-modal-actions {
    display: flex;
    gap: 12px;
    padding: 0 24px 24px;
}

.confirm-modal-actions .btn {
    flex: 1;
}
