@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Global Reset & Typography */
:root {
    --ct-blue: #00b4ff;
    --t-red: #ff4b4b;
    --bg-main: #0a0a0c;
    --card-surface: rgba(255, 255, 255, 0.05);
    --border-glass: rgba(255, 255, 255, 0.08);
    --shadow-premium: 0 8px 32px rgba(0, 0, 0, 0.5);
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
    background-color: var(--bg-main) !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #0f1115;
}

::-webkit-scrollbar-thumb {
    background: #2a2d35;
    border-radius: 10px;
    border: 2px solid #0f1115;
    transition: background 0.3s;
}

::-webkit-scrollbar-thumb:hover {
    background: #4dabf7;
}

/* Global Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.page, .page-container, .weapon-card, .team-card, .skin-button {
    animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Team Cards Enhancement */
.team-card {
    border-width: 1.5px !important;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.team-card.ct:hover {
    box-shadow: 0 0 30px rgba(0, 180, 255, 0.3) !important;
    border-color: var(--ct-blue) !important;
}

.team-card.t:hover {
    box-shadow: 0 0 30px rgba(255, 75, 75, 0.3) !important;
    border-color: var(--t-red) !important;
}

/* Weapon Cards Enhancement */
.weapon-card {
    background: var(--card-surface) !important;
    border: 1px solid var(--border-glass) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    transform-origin: center;
}

.weapon-card:hover {
    transform: scale(1.05) translateY(-5px) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4) !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

/* Skin Buttons & Thumbnails */
.skin-button {
    border-radius: 12px !important;
    overflow: hidden;
    transition: all 0.25s ease !important;
}

.skin-button:hover {
    background-color: rgba(77, 171, 247, 0.1) !important;
    transform: scale(1.08) !important;
}

.skin-button.selected {
    box-shadow: 0 0 15px rgba(77, 171, 247, 0.5) !important;
    outline: 2px solid var(--ct-blue) !important;
}

/* Header & Taskbar */
.header, .taskbar, .weapon-customizer-header {
    background: rgba(20, 22, 28, 0.8) !important;
    backdrop-filter: blur(12px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(180%) !important;
    border-bottom: 1px solid var(--border-glass) !important;
}

/* Buttons Styling */
button:not(.skin-button) {
    border-radius: 8px !important;
    text-transform: uppercase;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.logout-button {
    background: linear-gradient(135deg, #ff4d4f, #cf1322) !important;
}

.change-team-btn {
    background-color: #2a2d35 !important;
}

.category-button.active {
    background: linear-gradient(135deg, #007bff, #0056b3) !important;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

/* Customizer Panels */
.weapon-customizer-body .right-panel {
    background: rgba(0, 0, 0, 0.2) !important;
    border: 1px solid var(--border-glass) !important;
    backdrop-filter: blur(5px);
}

.skin-list {
    padding: 15px !important;
}

/* Input Fields */
input, select {
    background-color: rgba(0, 0, 0, 0.3) !important;
    border: 1.5px solid var(--border-glass) !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus, select:focus {
    border-color: var(--ct-blue) !important;
    box-shadow: 0 0 0 3px rgba(0, 180, 255, 0.15) !important;
}

/* Popup/Modals Glassmorphism */
.security-popup, .sticker-popup, .keychain-popup {
    background: radial-gradient(at top left, rgba(40, 44, 54, 0.95), rgba(20, 22, 28, 0.98)) !important;
    backdrop-filter: blur(25px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(150%) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 24px !important;
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.6) !important;
}

.sticker-slot-box {
    border-radius: 12px !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
    transition: all 0.2s ease !important;
}

.sticker-slot-box:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    transform: scale(1.05);
}

.close-btn, .security-close-btn {
    border-radius: 12px !important;
    transition: transform 0.2s !important;
}

.close-btn:hover {
    transform: translateY(-2px);
}
