@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;700&family=Roboto:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
    --bg-main: #0d0e12;
    --bg-sidebar: #0d0e12;
    --bg-card: #12141c;
    --accent: #ff2a2a;
    --accent-hover: #e01b1b;
    --text-main: #ffffff;
    --text-muted: #9ca3af;
    --steam-color: #2a475e;
    --steam-hover: #1b2838;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg-main);
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* Layout Grid */
.app-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 250px;
    background: #0d0e12 !important;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.6) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.03) !important;
    display: flex;
    flex-direction: column;
    padding: 20px;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.online-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: transparent;
    border: none;
    padding: 10px;
    margin-bottom: 30px;
}

.online-status-dot {
    width: 10px;
    height: 10px;
    background-color: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent), 0 0 20px var(--accent);
    animation: pulseGlow 1.5s infinite alternate;
}

@keyframes pulseGlow {
    from { box-shadow: 0 0 5px var(--accent), 0 0 15px var(--accent); transform: scale(0.9); }
    to { box-shadow: 0 0 15px var(--accent), 0 0 30px var(--accent); transform: scale(1.1); }
}

.online-status span {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--text-main);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu {
    list-style: none;
    flex-grow: 1;
}

.nav-item {
    margin-bottom: 5px;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-radius: 6px;
    color: #6c727f;
    font-weight: 300;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-link svg {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    vertical-align: middle;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #6c727f;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.02);
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
    transform: translateX(3px);
}

.nav-link:hover svg {
    color: #ffffff;
    filter: drop-shadow(0 0 6px rgba(255, 42, 42, 0.6));
}

.nav-link.active {
    background-color: transparent;
    color: #ffffff;
    border-left: none;
    transform: translateX(3px);
}

.nav-link.active svg {
    color: #ff2a2a;
    filter: drop-shadow(0 0 6px rgba(255, 42, 42, 0.6));
}

.nav-link.active::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    width: 3px;
    background-color: var(--accent);
    border-radius: 0 4px 4px 0;
    box-shadow: 0 0 10px var(--accent);
}

.nav-badge {
    position: absolute;
    right: 15px;
    background-color: var(--accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}

.nav-badge--soon {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tg-banner {
    margin-top: 30px;
    background: linear-gradient(45deg, #0088cc, #005580);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    display: block;
    box-shadow: 0 0 15px rgba(0, 136, 204, 0.4);
    transition: transform 0.3s;
}

.tg-banner:hover {
    transform: translateY(-3px);
}

.tg-banner svg {
    width: 24px;
    height: 24px;
    margin-bottom: 5px;
}

.tg-banner span {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    font-weight: 700;
}

/* Main Content */
.main-content {
    flex-grow: 1;
    margin-left: 250px;
    display: flex;
    flex-direction: column;
}

.container {
    padding: 30px 40px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

/* Custom Scrollbar for Container */
.container::-webkit-scrollbar {
    width: 8px;
}
.container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}
.container::-webkit-scrollbar-thumb {
    background: rgba(255, 42, 42, 0.4);
    border-radius: 4px;
}
.container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 42, 42, 0.7);
}

/* Topbar */
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    background: #12141c;
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(10px);
}

.logo-container {
    flex: 1;
    display: flex;
    justify-content: center;
}

.logo {
    font-family: 'Oswald', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 2px;
}

.logo span {
    color: var(--accent);
}

.topbar-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.topbar-left {
    flex: 1;
} /* empty space to keep logo centered */

.topbar-right {
    display: flex;
    align-items: center;
}

.user-profile-top {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.2);
    padding: 5px 15px 5px 5px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.topbar-avatar, .topbar-avatar-placeholder {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--accent);
    object-fit: cover;
}

.topbar-avatar-placeholder {
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.topbar-username {
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    color: var(--text-main);
    letter-spacing: 1px;
}

.btn-logout {
    color: var(--text-muted);
    transition: color 0.3s;
    margin-left: 5px;
}

.btn-logout:hover {
    color: var(--accent);
}

.btn-steam {
    background-color: var(--steam-color);
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s;
}

.btn-steam:hover {
    background-color: var(--steam-hover);
}

/* Promo Banner */
.promo-section {
    margin-bottom: 40px;
}

.promo-banner {
    background: #12141c;
    border-radius: 12px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.promo-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.promo-tab {
    font-family: 'Oswald', sans-serif;
    color: var(--text-muted);
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.3s;
}

.promo-tab.active {
    color: var(--accent);
    border-bottom: 2px solid var(--accent);
    padding-bottom: 5px;
}

.promo-tab:hover {
    color: var(--text-main);
}

.glass-panel {
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 35px;
    max-width: 600px;
    width: 100%;
}

.glass-title {
    font-family: 'Inter', sans-serif;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.promo-content p {
    color: #e0e0e0;
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 30px;
    line-height: 1.6;
}

.btn-primary {
    background: linear-gradient(135deg, #ff2a2a, #e01b1b);
    color: #ffffff;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    box-shadow: 0 0 15px rgba(255, 42, 42, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Back Button */
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 8px 16px;
    color: #6c727f;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-back:hover {
    color: #ffffff;
    border-color: rgba(255, 42, 42, 0.4);
    box-shadow: 0 0 15px rgba(255, 42, 42, 0.1);
}

/* Servers Grid */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-title {
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    color: var(--accent);
}

.servers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.server-card {
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 20px;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.server-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 42, 42, 0.2);
}

.server-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, rgba(255, 42, 42, 0.05), transparent);
    z-index: 0;
}

.server-card-inner {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.server-name {
    font-size: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
    flex: 1;
    min-width: 250px;
}

.server-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 16px;
    color: var(--text-muted);
    flex: 1;
    margin: 0;
}

.server-stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.server-stat-item i {
    color: var(--accent);
}

.server-actions {
    display: flex;
    gap: 15px;
    flex: 0 0 auto;
}

.btn-icon {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-icon:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-play {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

.btn-play:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    box-shadow: 0 0 10px rgba(255, 42, 42, 0.3);
}

/* Global Stats Footer */
.global-stats {
    margin-top: 50px;
    background-color: var(--bg-card);
    border-top: 2px solid var(--accent);
    padding: 40px;
    border-radius: 8px 8px 0 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    text-align: center;
}

.g-stat-item h4 {
    font-size: 36px;
    color: var(--text-main);
    margin-bottom: 5px;
}

.g-stat-item p {
    color: var(--text-muted);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Toast */
.toast {
    position: fixed;
    bottom: -100px;
    right: 30px;
    background: var(--accent);
    color: #fff;
    padding: 15px 25px;
    border-radius: 4px;
    font-family: 'Oswald', sans-serif;
    transition: bottom 0.3s;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    gap: 10px;
}

.toast.show {
    bottom: 30px;
}
/* Shop Page */
.shop-section {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.shop-steamid {
    margin-bottom: 30px;
}

.steamid-input-wrapper {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0 20px;
    transition: border-color 0.3s;
}

.steamid-input-wrapper:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(255, 42, 42, 0.15);
}

.steamid-input-wrapper i {
    color: var(--text-muted);
    font-size: 20px;
    margin-right: 15px;
}

.steamid-input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-main);
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    padding: 16px 0;
}

.steamid-input::placeholder {
    color: var(--text-muted);
}

/* Shop Tabs */
.shop-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.shop-tab {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    padding: 12px 24px;
    border-radius: 6px;
    font-family: 'Oswald', sans-serif;
    font-size: 15px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.shop-tab:hover {
    color: var(--text-main);
    border-color: rgba(255, 255, 255, 0.15);
}

.shop-tab.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 42, 42, 0.3);
}

.shop-tab-content {
    display: none;
}

.shop-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Shop Grid */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.shop-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 30px 25px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.shop-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 42, 42, 0.2);
}

.shop-card--popular {
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(255, 42, 42, 0.15), inset 0 0 30px rgba(255, 42, 42, 0.03);
}

.shop-card--popular:hover {
    box-shadow: 0 0 40px rgba(255, 42, 42, 0.25), 0 12px 30px rgba(0, 0, 0, 0.5);
}

.shop-card-badge {
    position: absolute;
    top: 18px;
    right: -32px;
    background: var(--accent);
    color: #fff;
    padding: 4px 40px;
    transform: rotate(45deg);
    font-family: 'Oswald', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.shop-card-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.shop-card-title {
    font-size: 28px;
    color: var(--accent);
    margin-bottom: 10px;
}

.shop-card-price {
    font-family: 'Oswald', sans-serif;
    font-size: 36px;
    color: var(--text-main);
}

.shop-card-price span {
    font-size: 16px;
    color: var(--text-muted);
}

.shop-features {
    list-style: none;
    margin-bottom: 25px;
}

.shop-features li {
    padding: 8px 0;
    color: var(--text-muted);
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.shop-features li i {
    color: var(--accent);
    font-size: 12px;
    flex-shrink: 0;
}

/* Custom radio selection */
.shop-radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--text-muted);
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    transition: all 0.3s;
}

.shop-radio-label:hover {
    border-color: rgba(255, 42, 42, 0.4);
    color: var(--text-main);
}

.shop-radio-label input[type="radio"] {
    display: none;
}

.shop-radio-mark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--text-muted);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    transition: border-color 0.3s;
}

.shop-radio-label input[type="radio"]:checked ~ .shop-radio-mark {
    border-color: var(--accent);
}

.shop-radio-label input[type="radio"]:checked ~ .shop-radio-mark::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(255, 42, 42, 0.6);
}

.shop-radio-label:has(input:checked) {
    border-color: var(--accent);
    color: var(--text-main);
    background: rgba(255, 42, 42, 0.05);
}

/* SMART / Soon card */
.shop-card--soon {
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

/* PROFILE NEW LAYOUT */
.profile-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}
.profile-sidebar {
    width: 320px;
    flex-shrink: 0;
}
.profile-main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
@media (max-width: 992px) {
    .profile-layout {
        flex-direction: column;
    }
    .profile-sidebar {
        width: 100%;
    }
}

.profile-card--vertical {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
    gap: 15px;
}
.profile-card--vertical::before {
    display: none;
}
.profile-card--vertical .profile-avatar-img {
    width: 140px;
    height: 140px;
    margin: 0 auto;
    border-radius: 12px;
    object-fit: cover;
    border: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    background-size: cover;
    background-position: center;
}
.profile-status-bar {
    width: 140px;
    margin: -10px auto 15px;
    position: relative;
    z-index: 2;
    padding: 6px 0;
    text-align: center;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.profile-status-bar--online {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.2);
}
.profile-status-bar--offline {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.2);
}
.profile-card--vertical .profile-nickname {
    margin-bottom: 5px;
    font-size: 24px;
    font-weight: 800;
    color: #fff;
}
.profile-tags {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 5px;
}
.profile-tag {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
}
.profile-tag--id {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.profile-tag--role {
    background: rgba(255, 42, 42, 0.05);
    color: #ff2a2a;
    border: 1px solid rgba(255, 42, 42, 0.2);
}
.profile-tag--developer {
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
    border: 1px solid rgba(168, 85, 247, 0.3);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
    text-shadow: 0 0 8px rgba(168, 85, 247, 0.5);
}
.profile-tag--seniormod {
    background: rgba(241, 196, 15, 0.1);
    color: #f1c40f;
    border: 1px solid rgba(241, 196, 15, 0.3);
    box-shadow: 0 0 15px rgba(241, 196, 15, 0.4);
    text-shadow: 0 0 8px rgba(241, 196, 15, 0.5);
}
.profile-tag--moderator {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.4);
}
.profile-tag--vip {
    background: rgba(249, 115, 22, 0.1);
    color: #f97316;
    border: 1px solid rgba(249, 115, 22, 0.3);
    box-shadow: 0 0 15px rgba(249, 115, 22, 0.4);
}
.profile-tag--admin {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.4);
    font-weight: 700;
}
.profile-tag--sponsor {
    background: rgba(236, 72, 153, 0.1);
    color: #ec4899;
    border: 1px solid rgba(236, 72, 153, 0.3);
    box-shadow: 0 0 15px rgba(236, 72, 153, 0.4);
}
.profile-tag--smart {
    background: rgba(6, 182, 212, 0.1);
    color: #06b6d4;
    border: 1px solid rgba(6, 182, 212, 0.3);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
}
.profile-tag--banned {
    background: rgba(0, 0, 0, 0.5);
    color: #ff3e3e;
    border: 1px solid #ff3e3e;
    box-shadow: 0 0 15px rgba(255, 62, 62, 0.6);
    text-shadow: 0 0 5px #ff3e3e;
    font-weight: 800;
    letter-spacing: 1px;
}
.profile-actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 25px;
    width: 100%;
}
.profile-actions-grid .btn-primary, .profile-actions-grid .btn-secondary {
    padding: 10px;
    font-size: 13px;
    text-align: center;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    transition: all 0.3s;
}
.profile-actions-grid .btn-secondary {
    border: 1px solid rgba(255,255,255,0.1);
    background: transparent;
    color: #fff;
}
.profile-actions-grid .btn-secondary:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.2);
}

/* AVATAR BORDERS FOR STATUS */
.avatar-online {
    border-color: #2ecc71 !important;
    box-shadow: 0 0 15px rgba(46, 204, 113, 0.5) !important;
}
.avatar-offline {
    border-color: #e74c3c !important;
    box-shadow: 0 0 15px rgba(231, 76, 60, 0.5) !important;
}

/* CUSTOM PROFILE BUTTONS */
.profile-btn-friend, .profile-btn-message {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main) !important;
    box-shadow: none;
}
.profile-btn-friend i, .profile-btn-message i {
    margin-right: 8px;
}

.profile-btn-friend {
    border-color: rgba(46, 204, 113, 0.3);
}
.profile-btn-friend:hover {
    background-color: rgba(46, 204, 113, 0.1) !important;
    color: #2ecc71 !important;
    border-color: #2ecc71;
    box-shadow: 0 0 15px rgba(46, 204, 113, 0.4) !important;
}

.profile-btn-message {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #9ca3af !important;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.25s ease-in-out;
    box-shadow: none !important;
}
.profile-btn-message:hover {
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: #ffffff !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

/* PROFILE WALL */
.profile-post-form {
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 20px;
}
.profile-post-textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    color: #fff !important;
    border-radius: 6px;
    padding: 10px 14px;
    min-height: 50px;
    resize: vertical;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
}
.profile-post-textarea:focus {
    outline: none;
    border-color: rgba(255, 42, 42, 0.5) !important;
    box-shadow: 0 0 10px rgba(255,42,42,0.2);
}

.profile-posts-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.profile-post {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 20px;
}
.profile-post-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}
.profile-post-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
    object-fit: cover;
}
.profile-post-meta {
    display: flex;
    flex-direction: column;
}
.profile-post-author {
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    color: var(--text-main);
    line-height: 1.2;
}
.profile-post-date {
    font-size: 12px;
    color: var(--text-muted);
}
.profile-post-content {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
}

/* RANK BANNER */
.profile-rank-banner {
    background: #12141c;
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.profile-rank-banner .rank-icon {
    font-size: 50px;
    color: var(--accent);
    text-shadow: 0 0 15px rgba(255, 42, 42, 0.5);
}
.profile-rank-banner .rank-info {
    flex-grow: 1;
}
.profile-rank-banner .rank-title {
    color: var(--text-muted);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}
.profile-rank-banner .rank-name {
    font-family: 'Oswald', sans-serif;
    font-size: 32px;
    color: #fff;
    line-height: 1;
}
.profile-rank-banner .rank-points .points-value {
    font-size: 24px;
    font-weight: bold;
    color: var(--accent);
    background: rgba(255,42,42,0.1);
    padding: 8px 16px;
    border-radius: 6px;
    border: 1px solid rgba(255,42,42,0.3);
}

/* WALL PLACEHOLDER */
.profile-wall {
    background: #12141c;
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.wall-placeholder {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(0,0,0,0.2);
}

/* COMPACT STATS */
.profile-stats-grid--compact .profile-stat-card {
    padding: 12px 8px;
}
.profile-stats-grid--compact .profile-stat-icon {
    font-size: 1.5rem;
    margin-bottom: 6px;
}
.profile-stats-grid--compact .profile-stat-value {
    font-size: 20px;
}
.profile-stats-grid--compact .profile-stat-label {
    font-size: 11px;
}

.shop-card--soon {
    opacity: 0.7;
    cursor: default;
}

.shop-card--soon:hover {
    transform: none;
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: none;
}

.shop-card-badge-soon {
    position: absolute;
    top: 18px;
    right: -32px;
    background: #444;
    color: #fff;
    padding: 4px 40px;
    transform: rotate(45deg);
    font-family: 'Oswald', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.shop-card-title--muted {
    color: var(--text-muted);
}

.shop-card-price--muted {
    color: var(--text-muted);
}

.shop-soon-body {
    text-align: center;
    padding: 20px 0;
}

.shop-soon-icon {
    font-size: 48px;
    color: var(--text-muted);
    margin-bottom: 15px;
    opacity: 0.5;
}

.shop-soon-text {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.7;
}

.shop-soon-label {
    display: inline-block;
    margin-top: 15px;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 12px;
    border-radius: 4px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* SPONSOR Tab */
.shop-tab--sponsor {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
    border-color: rgba(255, 215, 0, 0.4);
}

.shop-tab--sponsor:hover, .shop-tab--sponsor.active {
    background: rgba(255, 215, 0, 0.1);
    border-color: #ffd700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
    text-shadow: 0 0 15px #ffd700;
}

.sponsor-panel {
    background: transparent;
    padding: 30px;
    animation: fadeIn 0.4s ease;
}

.sponsor-panel-header {
    text-align: center;
    margin-bottom: 40px;
}

.sponsor-panel-title {
    font-size: 36px;
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 800;
}

.sponsor-panel-desc {
    color: var(--text-muted);
    font-size: 16px;
}

.sponsor-panel-card {
    background: #0d0e12;
    border: 2px solid #ffd700;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3), inset 0 0 20px rgba(255, 215, 0, 0.05);
    border-radius: 16px;
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.sponsor-features {
    list-style: none;
    margin-bottom: 30px;
}

.sponsor-features li {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-main);
    display: flex;
    align-items: flex-start;
}

.sponsor-features li i {
    margin-top: 5px;
    margin-right: 15px;
    font-size: 20px;
    color: #ffd700 !important;
}

.sponsor-radio {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.1), transparent);
    border: 1px solid #ffd700;
    border-radius: 12px;
    transition: all 0.3s;
}

.sponsor-radio:hover {
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
    background: rgba(255, 215, 0, 0.15);
}

.sponsor-radio-text {
    font-size: 22px;
    font-weight: bold;
    color: #ffd700;
    margin-left: 10px;
}

/* SMART Constructor */
.shop-tab--smart {
    border: 1px solid rgba(255, 42, 42, 0.5);
    color: #ff3e3e;
    text-shadow: 0 0 10px #ff3e3e;
    animation: pulseSmartTab 2s infinite;
    position: relative;
    overflow: hidden;
}

.shop-tab--smart.active, .shop-tab--smart:hover {
    background: rgba(255, 42, 42, 0.15);
    border-color: #ff3e3e;
    box-shadow: 0 0 15px rgba(255, 42, 42, 0.4);
    text-shadow: 0 0 15px #ff3e3e;
}

@keyframes pulseSmartTab {
    0% { box-shadow: inset 0 0 0px rgba(255, 42, 42, 0); }
    50% { box-shadow: inset 0 0 10px rgba(255, 42, 42, 0.3); }
    100% { box-shadow: inset 0 0 0px rgba(255, 42, 42, 0); }
}

.smart-panel {
    background: var(--bg-card);
    border: 1px solid rgba(255, 42, 42, 0.2);
    border-radius: 12px;
    padding: 30px;
    margin-top: 40px;
    box-shadow: inset 0 0 30px rgba(255, 42, 42, 0.05);
}

.smart-panel-header {
    text-align: center;
    margin-bottom: 30px;
}

.smart-panel-title {
    font-size: 32px;
    color: var(--accent);
    margin-bottom: 10px;
}

.smart-panel-desc {
    color: var(--text-muted);
    font-size: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.smart-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.smart-category {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 20px;
}

.smart-category-title {
    font-size: 18px;
    color: var(--text-main);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 10px;
}

.smart-category-title i {
    color: var(--accent);
}

.smart-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.smart-option:hover {
    background: rgba(255, 255, 255, 0.05);
}

.smart-option:has(input:checked) {
    background: rgba(255, 42, 42, 0.05);
    border-color: rgba(255, 42, 42, 0.3);
}

.smart-checkbox {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--text-muted);
    border-radius: 4px;
    margin-right: 15px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s;
}

.smart-checkbox:checked {
    background: var(--accent);
    border-color: var(--accent);
}

.smart-checkbox:checked::after {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #fff;
    font-size: 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.smart-option-name {
    flex-grow: 1;
    font-size: 14px;
    color: var(--text-main);
}

.smart-option-price {
    font-family: 'Oswald', sans-serif;
    color: var(--accent);
    font-size: 14px;
}

.smart-select {
    background: #161820;
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 6px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
    cursor: pointer;
    appearance: none;
}

.smart-select:focus {
    border-color: rgba(255, 42, 42, 0.8);
    box-shadow: 0 0 10px rgba(255, 42, 42, 0.3);
}

.smart-select option {
    background: #161820;
    color: var(--text-main);
}

.smart-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 42, 42, 0.2);
    padding-top: 25px;
    margin-top: 20px;
}

.smart-total {
    font-size: 24px;
    color: var(--text-main);
}

#smartTotalPrice {
    font-family: 'Oswald', sans-serif;
    font-size: 36px;
    color: var(--accent);
    margin: 0 5px;
}

.smart-submit-btn {
    background: rgba(255, 42, 42, 0.1);
    color: var(--text-muted);
    border: 1px solid rgba(255, 42, 42, 0.3);
    padding: 15px 30px;
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    text-transform: uppercase;
    border-radius: 6px;
    cursor: not-allowed;
    transition: all 0.3s;
}

.smart-submit-btn.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    cursor: pointer;
    box-shadow: 0 0 20px rgba(255, 42, 42, 0.4);
}

.smart-submit-btn.active:hover {
    box-shadow: 0 0 35px rgba(255, 42, 42, 0.6);
    transform: translateY(-2px);
}

/* Checkout button */
.shop-checkout {
    text-align: center;
}

.shop-pay-btn {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 18px 60px;
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 42, 42, 0.3);
}

.shop-pay-btn:hover {
    background: var(--accent-hover);
    transform: scale(1.05);
    box-shadow: 0 0 35px rgba(255, 42, 42, 0.5);
}

/* NOTIFICATIONS TOPBAR BUTTON */
.notif-btn:hover {
    border-color: rgba(255, 42, 42, 0.4) !important;
    box-shadow: 0 0 10px rgba(255, 42, 42, 0.1);
}
.notif-btn:hover .notif-icon {
    color: #fff !important;
}

/* Profile Page */
.profile-section {
    animation: fadeIn 0.3s ease;
}

/* PROFILE FRIENDS CARD */
.profile-friends-card {
    background: #12141c;
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 16px;
    margin-top: 20px;
}
.profile-friends-header {
    font-size: 14px;
    font-weight: 300;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}
.profile-friends-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.profile-friend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.02);
    padding: 6px 10px 6px 6px;
    border-radius: 20px;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.2s ease;
}
.profile-friend-item:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.1);
}
.profile-friend-item img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}
.profile-friend-item span {
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
}

.profile-card {
    background: #12141c;
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent);
    box-shadow: 0 0 15px rgba(255, 42, 42, 0.8);
}

.profile-avatar {
    position: relative;
}

.profile-avatar-img {
    width: 100px;
    height: 100px;
    background: #111;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--text-muted);
    object-fit: cover;
}

.profile-status-badge {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255, 42, 42, 0.5);
    border: 2px solid var(--bg-card);
}

.profile-status-badge.status-online {
    background-color: #22c55e !important;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.7);
}

.profile-status-badge.status-offline {
    background: #e74c3c;
    box-shadow: 0 0 10px rgba(231, 76, 60, 0.5);
    color: #fff;
}

.profile-info {
    flex-grow: 1;
}

.profile-nickname {
    font-size: 32px;
    color: var(--text-main);
    margin-bottom: 5px;
}

.profile-steamid {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 10px;
    font-family: monospace;
}

.profile-role {
    display: inline-block;
    color: var(--accent);
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255, 42, 42, 0.5);
    border: 1px solid rgba(255, 42, 42, 0.3);
    padding: 4px 12px;
    border-radius: 4px;
    background: rgba(255, 42, 42, 0.05);
}

.profile-balance {
    text-align: right;
    padding-left: 30px;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.profile-balance-label {
    color: var(--text-muted);
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.profile-balance-amount {
    font-family: 'Oswald', sans-serif;
    font-size: 36px;
    color: var(--text-main);
    line-height: 1;
    margin-bottom: 15px;
}

.profile-balance-add {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.profile-balance-add:hover {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(255, 42, 42, 0.4);
}

.profile-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.profile-stat-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 25px 20px;
    text-align: center;
    transition: transform 0.3s;
}

.profile-stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.1);
}

.profile-stat-card--accent {
    border-color: rgba(255, 42, 42, 0.2);
    box-shadow: 0 0 20px rgba(255, 42, 42, 0.05);
}

.profile-stat-icon {
    font-size: 32px;
    color: var(--accent);
    margin-bottom: 15px;
    opacity: 0.8;
}

.profile-stat-value {
    font-family: 'Oswald', sans-serif;
    font-size: 28px;
    color: var(--text-main);
    margin-bottom: 5px;
}

.profile-stat-label {
    color: var(--text-muted);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.profile-balance-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main);
}

.profile-card input[type="text"],
.profile-card input[type="password"],
.profile-section input[type="text"],
.profile-section input[type="password"] {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    color: #fff !important;
    border-radius: 6px;
    padding: 10px 14px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
    width: 100%;
}

.profile-card input[type="text"]:focus,
.profile-card input[type="password"]:focus,
.profile-section input[type="text"]:focus,
.profile-section input[type="password"]:focus,
.profile-card input[type="text"]:hover,
.profile-card input[type="password"]:hover,
.profile-section input[type="text"]:hover,
.profile-section input[type="password"]:hover {
    border-color: rgba(255, 42, 42, 0.5) !important;
    outline: none;
    box-shadow: 0 0 10px rgba(255, 42, 42, 0.1);
}

.profile-block-title {
    font-size: 24px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-block-title i {
    color: var(--accent);
}

.profile-table-wrapper {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    overflow-x: auto;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.profile-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.profile-table th {
    background: rgba(0, 0, 0, 0.4);
    padding: 15px 20px;
    font-family: 'Inter', sans-serif;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.profile-table td {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    color: var(--text-main);
    font-size: 15px;
}

.profile-table tr:last-child td {
    border-bottom: none;
}

.profile-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.profile-service-name {
    font-weight: 700;
    color: var(--text-main);
}

.profile-service-status {
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
}

.profile-service-status--active {
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.profile-service-status--warning {
    background: rgba(241, 196, 15, 0.1);
    color: #f1c40f;
    border: 1px solid rgba(241, 196, 15, 0.3);
}

.profile-service-status--done {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-token {
    background: linear-gradient(45deg, var(--bg-card), rgba(255, 42, 42, 0.05));
    border: 1px solid rgba(255, 42, 42, 0.2);
    border-radius: 8px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.profile-token-info h4 {
    font-size: 20px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-token-info p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

.profile-token-info code {
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--accent);
    font-family: monospace;
}

.profile-token-btn {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    padding: 12px 25px;
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s;
    white-space: nowrap;
}

.profile-token-btn:hover {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 42, 42, 0.4);
}

.profile-token-result {
    background: #0a0b0e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 30px;
    border-radius: 6px;
    font-family: 'Oswald', sans-serif;
    font-size: 32px;
    color: var(--accent);
    letter-spacing: 5px;
    min-width: 150px;
    text-align: center;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.smart-panel--standalone {
    margin-top: 0;
    box-shadow: inset 0 0 50px rgba(255, 42, 42, 0.05), 0 0 30px rgba(0, 0, 0, 0.5);
    padding: 50px 40px;
    border-radius: 16px;
    animation: fadeIn 0.3s ease;
}

.smart-panel--standalone .smart-panel-title {
    font-size: 42px;
    text-shadow: 0 0 20px rgba(255, 42, 42, 0.5);
}

.smart-panel--standalone .smart-panel-desc {
    font-size: 16px;
    max-width: 700px;
}

.nav-link--smart {
    color: var(--accent);
    text-shadow: 0 0 10px rgba(255, 42, 42, 0.5);
}

.nav-link--smart:hover, .nav-link--smart.active {
    background: rgba(255, 42, 42, 0.1);
    box-shadow: inset 2px 0 0 var(--accent);
}

.nav-badge--hot {
    background: transparent;
    font-size: 16px;
    animation: pulseIcon 2s infinite;
}

@keyframes pulseIcon {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Responsive */
@media (max-width: 1024px) {
    .sidebar {
        width: 80px;
        padding: 20px 10px;
    }
    .main-content {
        margin-left: 80px;
    }
    .sidebar .nav-link span, .sidebar .online-status small, .sidebar .tg-banner span, .sidebar .nav-badge {
        display: none;
    }
    .sidebar .online-status span {
        font-size: 16px;
    }
    .sidebar .nav-link {
        justify-content: center;
        padding: 15px;
    }
    .sidebar .nav-link i {
        margin: 0;
    }
}
@media (max-width: 768px) {
    .servers-grid {
        grid-template-columns: 1fr;
    }
    .topbar {
        flex-direction: column;
        gap: 20px;
    }
    .topbar-left, .topbar-right {
        display: none;
    }
}

/* ========== BANS SECTION ========== */
.bans-section {
    animation: fadeIn 0.4s ease;
}

.bans-container {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.bans-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 800px;
}

.bans-table th {
    background: rgba(0, 0, 0, 0.4);
    padding: 15px;
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.bans-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    vertical-align: middle;
}

.ban-row:hover {
    background: rgba(255, 255, 255, 0.02);
}

.ban-player {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: bold;
    color: var(--text-main);
}

.ban-player img {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
}

.ban-row--hsac {
    background: rgba(255, 42, 42, 0.03);
}

.ban-row--hsac td:first-child {
    border-left: 4px solid var(--accent);
}

.ban-steamid {
    font-family: 'Courier New', Courier, monospace;
    color: var(--text-muted);
    font-size: 14px;
}

.ban-duration {
    color: var(--text-main);
    font-weight: bold;
}

.ban-admin {
    font-weight: bold;
    color: var(--text-main);
}

.hsac-badge {
    color: var(--accent);
    text-shadow: 0 0 10px rgba(255, 42, 42, 0.6);
    font-weight: 800;
}

.ban-date {
    color: var(--text-muted);
    font-size: 14px;
}

.ban-avatar-icon {
    font-size: 36px;
    color: var(--text-muted);
}

.bans-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.pagination-btn {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
}

.pagination-btn:hover, .pagination-btn.active {
    background: rgba(255, 42, 42, 0.1);
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 10px rgba(255, 42, 42, 0.2);
}

/* ========== RULES SECTION ========== */
.rules-section {
    animation: fadeIn 0.4s ease;
}

.rules-container {
    max-width: 900px;
    margin: 0 auto;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.rules-accordion {
    background: #161820;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.rules-accordion.active, .rules-accordion:hover {
    border-color: var(--accent);
    box-shadow: 0 0 15px rgba(255, 42, 42, 0.2);
}

.rules-accordion-header {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: background 0.3s;
}

.rules-accordion.active .rules-accordion-header {
    background: rgba(255, 42, 42, 0.05);
}

.rules-accordion-header h3 {
    margin: 0;
    font-size: 18px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 15px;
}

.accordion-arrow {
    color: var(--accent);
    transition: transform 0.3s ease;
}

.rules-accordion.active .accordion-arrow {
    transform: rotate(180deg);
}

.rules-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: rgba(0, 0, 0, 0.2);
}

.rules-list {
    list-style: none;
    padding: 20px 25px;
    margin: 0;
}

.rules-list li {
    margin-bottom: 15px;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.rules-list li:last-child {
    margin-bottom: 0;
}

.rules-list li i {
    color: var(--accent);
    margin-top: 5px;
    font-size: 16px;
}

.punishment {
    color: #ff4d4d;
    font-weight: bold;
}

/* ========== DEPOSIT SECTION ========== */
.deposit-section {
    animation: fadeIn 0.4s ease;
}

.deposit-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.deposit-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.deposit-card-title {
    color: var(--text-main);
    font-size: 20px;
    margin: 0 0 5px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.deposit-card-title i {
    color: var(--accent);
}

.deposit-desc {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 25px;
}

.deposit-result {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    padding: 15px 20px;
    border-radius: 8px;
    margin-top: 15px;
    font-weight: bold;
}

.result-amount {
    color: var(--accent);
    font-size: 20px;
    text-shadow: 0 0 10px rgba(255, 42, 42, 0.4);
}

/* Deposit Form Elements */
.deposit-input {
    background: #1a1a22;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #ffffff;
    padding: 10px 15px;
    width: 100%;
    box-sizing: border-box;
    font-size: 15px;
    transition: all 0.3s ease;
}

.deposit-input:focus {
    border-color: #ff3e3e;
    box-shadow: 0 0 8px rgba(255, 62, 62, 0.2);
    outline: none;
}

.deposit-checkbox-wrapper {
    background: rgba(255, 62, 62, 0.05);
    border: 1px solid rgba(255, 62, 62, 0.3);
    border-radius: 8px;
    padding: 12px 15px;
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    margin-top: 20px;
}

.deposit-checkbox-wrapper input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: #1a1a22;
    cursor: pointer;
    flex-shrink: 0;
    margin-right: 10px;
    margin-top: 1px;
    position: relative;
    transition: all 0.3s;
}

.deposit-checkbox-wrapper input[type="checkbox"]:hover,
.deposit-checkbox-wrapper input[type="checkbox"]:focus {
    border-color: #ff3e3e;
    box-shadow: 0 0 5px rgba(255, 62, 62, 0.4);
}

.deposit-checkbox-wrapper input[type="checkbox"]:checked {
    border-color: #ff3e3e;
    background: rgba(255, 62, 62, 0.1);
    box-shadow: 0 0 5px rgba(255, 62, 62, 0.4);
}

.deposit-checkbox-wrapper input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 4px;
    height: 9px;
    border: solid #ff3e3e;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.deposit-checkbox-text {
    font-size: 13px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.85);
}

.deposit-btn {
    background: var(--accent);
    color: #fff;
    border: 1px solid var(--accent);
    padding: 15px 30px;
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    text-transform: uppercase;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 0 20px rgba(255, 42, 42, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    width: 100%;
}

.deposit-btn:hover:not(:disabled) {
    box-shadow: 0 0 35px rgba(255, 42, 42, 0.6);
    transform: translateY(-2px);
}

.deposit-btn:disabled {
    background: #2c2f38 !important;
    border-color: #3e424d !important;
    color: var(--text-muted) !important;
    box-shadow: none !important;
    cursor: not-allowed;
    transform: none;
}

/* TOPBAR USER DROPDOWN */
.user-dropdown-menu {
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 10px;
    z-index: 1000;
    background: #18191c; /* Similar to topbar color but slightly distinct */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    min-width: 200px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    padding: 10px 0;
}

.user-dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    color: var(--text-main);
    text-decoration: none;
    font-size: 14px;
    transition: background 0.2s, color 0.2s;
}

.user-dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.user-dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin: 8px 0;
}

/* Анимация пульсации бейджа непрочитанных */
@keyframes unreadPulse {
    0%, 100% { box-shadow: 0 0 6px rgba(255, 42, 42, 0.4); }
    50% { box-shadow: 0 0 14px rgba(255, 42, 42, 0.8); }
}

/* Dropdown ссылки — flex для выравнивания бейджа */
.user-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* --- RESPONSIVE DESIGN (Mobile) --- */
@media (max-width: 768px) {
    .app-wrapper {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        height: 70px;
        position: fixed;
        bottom: 0;
        left: 0;
        flex-direction: row;
        padding: 0;
        z-index: 1000;
        overflow-x: auto;
        overflow-y: hidden;
        border-right: none;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        background: #0a0b0e;
        box-shadow: 0 -5px 20px rgba(0,0,0,0.8);
    }
    .main-content {
        margin-left: 0;
        margin-bottom: 70px;
    }
    .online-status, .tg-banner {
        display: none !important;
    }
    .nav-menu {
        display: flex;
        flex-direction: row;
        align-items: center;
        margin: 0;
        padding: 0;
        width: auto;
    }
    .nav-item {
        margin: 0;
        flex: 1;
        min-width: 80px;
    }
    .nav-link {
        flex-direction: column;
        justify-content: center;
        padding: 10px 5px;
        border-radius: 0;
        font-size: 10px;
        text-align: center;
    }
    .nav-link.active::before {
        display: none;
    }
    .nav-link.active {
        border-bottom: 2px solid var(--accent);
    }
    .nav-link svg {
        margin-right: 0;
        margin-bottom: 4px;
        width: 20px;
        height: 20px;
    }
    .nav-badge {
        position: relative;
        right: auto;
        margin-top: 2px;
        display: inline-block;
        font-size: 8px;
    }
    .glass-panel {
        padding: 20px;
        border-radius: 8px;
        width: 100%;
    }
    .glass-title {
        font-size: 28px;
    }
    .topbar {
        padding: 15px;
        flex-wrap: wrap;
        gap: 15px;
    }
    .logo {
        font-size: 24px;
    }
    .btn-primary {
        width: 100%;
        padding: 15px;
    }
}

/* CYBER SCROLLBAR FOR CHAT AND NOTIFS */
.chat-messages-box::-webkit-scrollbar,
.notif-list-box::-webkit-scrollbar {
    width: 5px !important;
}
.chat-messages-box::-webkit-scrollbar-track,
.notif-list-box::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1) !important;
}
.chat-messages-box::-webkit-scrollbar-thumb,
.notif-list-box::-webkit-scrollbar-thumb {
    background: #ff2a2a !important;
    border-radius: 10px !important;
    box-shadow: 0 0 8px rgba(255, 42, 42, 0.5) !important;
}
.chat-messages-box::-webkit-scrollbar-thumb:hover,
.notif-list-box::-webkit-scrollbar-thumb:hover {
    background: #ff5555 !important;
}

/* Tactical Premium shop final overrides */
.shop-section {
    position: relative;
    isolation: isolate;
}

.shop-section::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(135deg, rgba(255, 42, 42, 0.08), transparent 34%, rgba(31, 181, 149, 0.04));
    background-size: 56px 56px, 56px 56px, 100% 100%;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 82%);
}

.shop-command {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 18px;
    margin: 8px 0 24px;
}

.shop-command-copy,
.shop-live-widget,
.shop-main-panel,
.shop-checkout {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.018)),
        #11141b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.shop-command-copy {
    min-height: 94px;
    padding: 22px 24px;
    position: relative;
    overflow: hidden;
}

.shop-command-copy::after,
.checkout-panel-line {
    content: '';
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), rgba(31, 181, 149, 0.9), transparent);
    animation: tacticalLine 4s ease-in-out infinite;
}

.shop-kicker,
.checkout-kicker {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #1fb595;
    margin-bottom: 8px;
}

.shop-command-text {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.55;
    margin: 0;
}

.shop-live-widget {
    min-width: 286px;
    padding: 18px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
}

.shop-live-widget strong {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    letter-spacing: 0.5px;
}

.shop-live-widget small {
    display: block;
    color: var(--text-muted);
    margin-top: 4px;
}

.shop-live-signal {
    width: 38px;
    height: 32px;
    display: flex;
    align-items: end;
    gap: 4px;
}

.shop-live-signal span {
    width: 6px;
    min-height: 8px;
    border-radius: 2px;
    background: linear-gradient(to top, var(--accent), #1fb595);
    animation: signalBars 1.1s ease-in-out infinite;
}

.shop-live-signal span:nth-child(2) { animation-delay: 0.12s; }
.shop-live-signal span:nth-child(3) { animation-delay: 0.24s; }
.shop-live-signal span:nth-child(4) { animation-delay: 0.36s; }

.shop-live-pill {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(31, 181, 149, 0.12);
    border: 1px solid rgba(31, 181, 149, 0.45);
    color: #77f7ce;
    font-family: 'Oswald', sans-serif;
    font-size: 12px;
    letter-spacing: 1px;
    box-shadow: 0 0 18px rgba(31, 181, 149, 0.22);
}

.shop-market-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 318px;
    gap: 22px;
    align-items: start;
}

.shop-main-panel {
    padding: 22px;
    overflow: hidden;
}

.shop-tabs {
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 8px;
    margin-bottom: 22px;
}

.shop-tab {
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.shop-tab::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 5px;
    height: 2px;
    background: linear-gradient(90deg, transparent, currentColor, transparent);
    transform: scaleX(0);
    transition: transform 0.25s ease;
    opacity: 0.75;
}

.shop-tab:hover::after,
.shop-tab.active::after {
    transform: scaleX(1);
}

.shop-grid {
    align-items: stretch;
}

.shop-card {
    border-radius: 8px;
    min-height: 100%;
    background:
        linear-gradient(155deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015) 45%),
        #10131a;
}

.shop-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 10%, rgba(255, 255, 255, 0.12) 45%, transparent 58%);
    transform: translateX(-120%);
    transition: transform 0.65s ease;
    pointer-events: none;
}

.shop-card:hover::before,
.shop-card.is-selected::before,
.shop-card:has(input[type="radio"]:checked)::before {
    transform: translateX(120%);
}

.shop-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 42, 42, 0.32);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.48), 0 0 24px rgba(255, 42, 42, 0.12);
}

.shop-card.is-selected,
.shop-card:has(input[type="radio"]:checked) {
    border-color: rgba(255, 42, 42, 0.86);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.52), 0 0 0 1px rgba(255, 42, 42, 0.28), inset 0 0 40px rgba(255, 42, 42, 0.06);
}

.shop-card.is-selected .shop-card-title,
.shop-card:has(input[type="radio"]:checked) .shop-card-title {
    text-shadow: 0 0 20px rgba(255, 42, 42, 0.45);
}

.shop-radio-label {
    justify-content: center;
    min-height: 46px;
    background: rgba(255, 255, 255, 0.025);
}

.shop-card.is-selected .shop-radio-label,
.shop-card:has(input[type="radio"]:checked) .shop-radio-label {
    border-color: rgba(31, 181, 149, 0.8);
    color: #dffcf4;
    background: rgba(31, 181, 149, 0.09);
}

.shop-checkout {
    position: sticky;
    top: 92px;
    padding: 24px;
    text-align: left;
    overflow: hidden;
}

.checkout-panel-line {
    top: 0;
    bottom: auto;
}

.shop-checkout h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 28px;
    line-height: 1.1;
    margin: 0 0 14px;
}

.checkout-price {
    font-family: 'Oswald', sans-serif;
    font-size: 42px;
    color: var(--accent);
    margin-bottom: 18px;
    text-shadow: 0 0 24px rgba(255, 42, 42, 0.28);
    transition: transform 0.25s ease;
}

.checkout-price.is-updated {
    transform: scale(1.04);
}

.checkout-meta {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
}

.checkout-meta span {
    padding: 10px 12px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
}

.checkout-hint {
    display: flex;
    gap: 10px;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.45;
    padding: 12px 0 18px;
}

.checkout-hint i {
    color: #1fb595;
    margin-top: 2px;
}

.shop-pay-btn {
    width: 100%;
    min-height: 54px;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.shop-pay-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.22), transparent);
    transform: translateX(-120%);
    transition: transform 0.5s ease;
}

.shop-pay-btn:hover::after {
    transform: translateX(120%);
}

.smart-panel {
    border-radius: 8px;
}

.smart-category,
.smart-option,
.smart-select {
    border-radius: 6px;
}

.smart-option {
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.smart-option:hover {
    transform: translateX(3px);
}

@keyframes signalBars {
    0%, 100% { height: 9px; opacity: 0.55; }
    45% { height: 30px; opacity: 1; }
}

@keyframes tacticalLine {
    0%, 100% { opacity: 0.35; transform: scaleX(0.55); transform-origin: left; }
    50% { opacity: 1; transform: scaleX(1); transform-origin: left; }
}

@media (max-width: 1180px) {
    .shop-command,
    .shop-market-layout {
        grid-template-columns: 1fr;
    }

    .shop-live-widget {
        min-width: 0;
    }

    .shop-checkout {
        position: relative;
        top: auto;
    }
}

@media (max-width: 720px) {
    .shop-command-copy,
    .shop-live-widget,
    .shop-main-panel,
    .shop-checkout {
        padding: 16px;
    }

    .shop-live-widget {
        grid-template-columns: auto 1fr;
    }

    .shop-live-pill {
        grid-column: 1 / -1;
        width: max-content;
    }

    .shop-tabs {
        display: grid;
        grid-template-columns: 1fr;
    }

    .shop-card {
        padding: 24px 18px;
    }

    .checkout-price {
        font-size: 34px;
    }
}

/* Tactical Premium site-wide redesign */
:root {
    --bg-main: #07090d;
    --bg-sidebar: #080a0f;
    --bg-card: #10141c;
    --surface-elevated: #141923;
    --surface-soft: rgba(255, 255, 255, 0.045);
    --line-soft: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 42, 42, 0.42);
    --accent: #ff2a2a;
    --accent-hover: #ff4747;
    --accent-cool: #1fb595;
    --accent-blue: #2d8cff;
    --text-main: #ffffff;
    --text-muted: #9aa3b2;
    --text-dim: #687081;
}

html {
    background: #07090d;
}

body {
    background:
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.014) 1px, transparent 1px),
        linear-gradient(145deg, #07090d 0%, #0c1017 48%, #08090d 100%) !important;
    background-size: 64px 64px, 64px 64px, 100% 100% !important;
    color: var(--text-muted) !important;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        linear-gradient(115deg, transparent 0%, rgba(255, 42, 42, 0.09) 18%, transparent 38%),
        linear-gradient(250deg, transparent 0%, rgba(31, 181, 149, 0.075) 28%, transparent 53%);
    opacity: 0.75;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: repeating-linear-gradient(0deg, rgba(255,255,255,0.018) 0 1px, transparent 1px 7px);
    opacity: 0.28;
    mix-blend-mode: screen;
}

.app-wrapper {
    position: relative;
}

.app-wrapper::before {
    content: '';
    position: fixed;
    top: 0;
    left: 250px;
    right: 0;
    height: 2px;
    z-index: 80;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, var(--accent), var(--accent-cool), transparent);
    animation: tacticalLine 5s ease-in-out infinite;
}

.main-content {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.015), transparent 35%),
        transparent !important;
}

.container {
    max-height: none !important;
    padding: 36px 40px 26px !important;
    overflow: visible !important;
    scrollbar-color: rgba(255,42,42,0.5) rgba(0,0,0,0.2);
}

.sidebar {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.035), transparent 24%),
        #080a0f !important;
    border-right: 1px solid rgba(255,255,255,0.075) !important;
    box-shadow: 18px 0 48px rgba(0,0,0,0.52), inset -1px 0 0 rgba(255,42,42,0.08) !important;
}

.sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgba(255,42,42,0.75), rgba(31,181,149,0.45), transparent);
    opacity: 0.7;
}

.online-status {
    justify-content: flex-start !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    background: rgba(255,255,255,0.035) !important;
    border-radius: 8px !important;
    padding: 13px 14px !important;
    margin-bottom: 26px !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.online-status-dot {
    animation: tacticalPulse 1.8s ease-in-out infinite !important;
}

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-link {
    min-height: 46px;
    border: 1px solid transparent;
    border-radius: 8px !important;
    color: var(--text-dim) !important;
    overflow: hidden;
}

.nav-link::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,42,42,0.18), transparent 62%);
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255,255,255,0.04) !important;
    border-color: rgba(255,255,255,0.08);
    color: #fff !important;
    transform: translateX(4px);
}

.nav-link:hover::after,
.nav-link.active::after {
    opacity: 1;
    transform: translateX(0);
}

.nav-link.active {
    box-shadow: inset 0 0 24px rgba(255,42,42,0.07), 0 12px 28px rgba(0,0,0,0.18);
}

.nav-link.active::before {
    left: -20px !important;
    width: 4px !important;
    height: 70% !important;
    background: linear-gradient(180deg, var(--accent), var(--accent-cool)) !important;
}

.nav-link svg {
    color: currentColor !important;
    position: relative;
    z-index: 1;
}

.nav-link span {
    position: relative;
    z-index: 1;
}

.nav-badge {
    z-index: 2;
    background: rgba(31,181,149,0.12) !important;
    border: 1px solid rgba(31,181,149,0.35) !important;
    color: #8df4d3 !important;
}

.tg-banner {
    background:
        linear-gradient(135deg, rgba(45,140,255,0.35), rgba(31,181,149,0.18)),
        #10141c !important;
    border: 1px solid rgba(45,140,255,0.35);
    box-shadow: 0 16px 40px rgba(0,0,0,0.38), 0 0 28px rgba(45,140,255,0.18) !important;
}

.topbar {
    min-height: 100px;
    background: rgba(12, 15, 22, 0.88) !important;
    border-bottom: 1px solid rgba(255,255,255,0.075) !important;
    box-shadow: 0 16px 44px rgba(0,0,0,0.28);
}

.logo {
    font-size: 40px !important;
    text-shadow: 0 0 28px rgba(255,42,42,0.22);
}

.logo::after {
    content: '';
    display: block;
    height: 2px;
    margin-top: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--accent-cool), transparent);
    opacity: 0.8;
}

.notif-btn,
.user-panel-wrapper,
.btn-steam,
.user-dropdown-menu,
#notif-dropdown {
    background:
        linear-gradient(135deg, rgba(255,255,255,0.07), rgba(255,255,255,0.018)),
        #10141c !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 8px !important;
    box-shadow: 0 16px 36px rgba(0,0,0,0.32), inset 0 1px 0 rgba(255,255,255,0.05) !important;
}

.notif-btn:hover,
.user-panel-wrapper:hover,
.btn-steam:hover {
    border-color: rgba(255,42,42,0.42) !important;
    box-shadow: 0 18px 40px rgba(0,0,0,0.4), 0 0 22px rgba(255,42,42,0.12) !important;
}

.topbar-avatar,
.topbar-avatar-placeholder,
.profile-avatar-img,
.profile-post-avatar,
.profile-friend-item img {
    border-color: rgba(255,42,42,0.72) !important;
    box-shadow: 0 0 22px rgba(255,42,42,0.2);
}

.section-header {
    margin-bottom: 24px !important;
}

.section-title {
    position: relative;
    width: max-content;
    max-width: 100%;
    color: #dbe6f6 !important;
    font-size: 30px !important;
    letter-spacing: 1.5px !important;
    text-shadow: 0 0 24px rgba(255,42,42,0.16);
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: min(260px, 100%);
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-cool), transparent);
    animation: tacticalLine 4.8s ease-in-out infinite;
}

.section-title i {
    color: var(--accent) !important;
    filter: drop-shadow(0 0 10px rgba(255,42,42,0.52));
}

.section-subtitle,
.deposit-desc,
.smart-panel-desc,
.sponsor-panel-desc {
    color: rgba(219,230,246,0.62) !important;
}

.servers-section,
.global-stats-section,
.profile-section,
.bans-section,
.rules-section,
.deposit-section,
.messages-section,
.friends-section,
.shop-section {
    animation: tacticalEnter 0.45s ease both;
}

.servers-grid {
    margin-top: 12px;
}

.servers-section {
    position: relative;
    padding: 4px 0 12px;
}

.server-card {
    min-height: 96px;
    border-radius: 8px !important;
    border: 1px solid rgba(255,255,255,0.09) !important;
    background:
        linear-gradient(90deg, rgba(255,42,42,0.12), transparent 28%),
        linear-gradient(135deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02)),
        #11151f !important;
    box-shadow: 0 22px 50px rgba(0,0,0,0.38), inset 0 1px 0 rgba(255,255,255,0.05) !important;
}

.server-card::before,
.profile-card::before,
.deposit-card::before,
.rules-accordion::before,
.shop-card::after,
.bans-container::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 12%, rgba(255,255,255,0.11) 45%, transparent 58%);
    transform: translateX(-120%);
    transition: transform 0.7s ease;
}

.server-card:hover::before,
.profile-card:hover::before,
.deposit-card:hover::before,
.rules-accordion:hover::before,
.shop-card:hover::after,
.bans-container:hover::before {
    transform: translateX(120%);
}

.server-bg {
    background:
        linear-gradient(90deg, rgba(255,42,42,0.18), rgba(31,181,149,0.08), transparent) !important;
    opacity: 1 !important;
}

.server-card-inner {
    min-height: 96px;
    padding: 0 20px !important;
}

.server-card-inner::before {
    content: 'LIVE SERVER';
    position: absolute;
    top: 12px;
    left: 20px;
    color: var(--accent-cool);
    font-family: 'Oswald', sans-serif;
    font-size: 10px;
    letter-spacing: 2px;
    opacity: 0.78;
}

.server-name {
    color: #dbe6f6 !important;
    font-size: 22px !important;
    padding-top: 16px;
}

.server-stat-item {
    color: rgba(219,230,246,0.76) !important;
}

.btn-icon,
.btn-primary,
.btn-secondary,
.btn-play,
.deposit-btn,
.shop-pay-btn,
.smart-submit-btn,
.pagination-btn,
.profile-token-btn {
    border-radius: 6px !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    box-shadow: 0 10px 24px rgba(0,0,0,0.28);
}

.btn-play,
.btn-primary,
.deposit-btn,
.shop-pay-btn,
.smart-submit-btn.active,
.profile-token-btn {
    background: linear-gradient(135deg, var(--accent), #c61622) !important;
    color: #fff !important;
    border-color: rgba(255,42,42,0.6) !important;
}

.btn-icon:not(.btn-play),
.btn-secondary,
.pagination-btn,
.profile-token-btn:not(:hover) {
    background: rgba(255,255,255,0.045) !important;
    color: rgba(255,255,255,0.86) !important;
}

.btn-icon:hover,
.btn-primary:hover,
.btn-secondary:hover,
.btn-play:hover,
.deposit-btn:hover:not(:disabled),
.shop-pay-btn:hover,
.smart-submit-btn.active:hover,
.pagination-btn:hover {
    transform: translateY(-2px) !important;
    border-color: rgba(255,42,42,0.55) !important;
    box-shadow: 0 18px 36px rgba(0,0,0,0.38), 0 0 22px rgba(255,42,42,0.18) !important;
}

.global-stats {
    margin-top: 52px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255,42,42,0.32) !important;
    background:
        linear-gradient(180deg, rgba(255,42,42,0.08), transparent 30%),
        linear-gradient(135deg, rgba(255,255,255,0.065), rgba(255,255,255,0.018)),
        #10141c !important;
    box-shadow: 0 24px 52px rgba(0,0,0,0.38), inset 0 1px 0 rgba(255,255,255,0.05) !important;
    overflow: hidden;
    position: relative;
}

.global-stats::before {
    content: 'LIVE BOARD';
    position: absolute;
    top: 12px;
    left: 18px;
    font-family: 'Oswald', sans-serif;
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--accent-cool);
    opacity: 0.7;
}

.g-stat-item {
    position: relative;
    padding: 34px 18px 24px !important;
}

.g-stat-item + .g-stat-item {
    border-left: 1px solid rgba(255,255,255,0.06);
}

.g-stat-item h4 {
    color: #fff !important;
    font-size: 40px !important;
    text-shadow: 0 0 24px rgba(255,42,42,0.18);
}

.g-stat-item p {
    color: #a9bad4 !important;
    letter-spacing: 1.2px !important;
}

.profile-layout,
.deposit-container,
.rules-container,
.bans-container,
.messages-layout,
.friends-layout {
    gap: 24px !important;
}

.profile-card,
.profile-friends-card,
.profile-wall,
.profile-rank-banner,
.profile-stat-card,
.deposit-card,
.rules-accordion,
.bans-container,
.smart-panel,
.sponsor-panel,
.sponsor-panel-card,
.chat-col,
.messages-list-col,
.profile-token,
.profile-table-wrapper,
.stats-table-wrapper,
.tariff-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px !important;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.065), rgba(255,255,255,0.018)),
        #10141c !important;
    border: 1px solid rgba(255,255,255,0.085) !important;
    box-shadow: 0 20px 46px rgba(0,0,0,0.34), inset 0 1px 0 rgba(255,255,255,0.045) !important;
}

.profile-card:hover,
.profile-friends-card:hover,
.profile-wall:hover,
.profile-stat-card:hover,
.deposit-card:hover,
.rules-accordion:hover,
.smart-panel:hover,
.sponsor-panel-card:hover {
    border-color: rgba(255,42,42,0.32) !important;
    box-shadow: 0 24px 54px rgba(0,0,0,0.42), 0 0 24px rgba(255,42,42,0.09) !important;
}

.profile-card--vertical .profile-nickname,
.profile-nickname,
.profile-block-title,
.deposit-card-title,
.rules-accordion-header h3,
.smart-panel-title,
.sponsor-panel-title {
    color: #e8f0ff !important;
    text-shadow: 0 0 20px rgba(255,42,42,0.12);
}

.profile-tag,
.profile-service-status,
.hsac-badge,
.ban-row--hsac .hsac-badge {
    border-radius: 999px !important;
    background: rgba(255,255,255,0.055) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    color: rgba(255,255,255,0.82) !important;
}

.profile-tag--vip,
.profile-tag--admin,
.profile-tag--sponsor,
.profile-tag--smart,
.profile-service-status--active {
    background: rgba(31,181,149,0.11) !important;
    border-color: rgba(31,181,149,0.42) !important;
    color: #9af7da !important;
    box-shadow: 0 0 18px rgba(31,181,149,0.14) !important;
}

.profile-status-bar--online {
    background: rgba(31,181,149,0.18) !important;
    border: 1px solid rgba(31,181,149,0.5) !important;
    color: #9af7da !important;
}

.profile-status-bar--offline {
    background: rgba(255,255,255,0.07) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
}

.profile-rank-banner {
    background:
        linear-gradient(120deg, rgba(255,42,42,0.16), rgba(31,181,149,0.08)),
        #11151f !important;
}

.profile-stat-icon {
    color: var(--accent-cool) !important;
}

.profile-stat-value,
.profile-balance-amount,
.profile-balance-value,
#topbar-balance-value,
.result-amount,
.smart-option-price,
#smartTotalPrice,
.checkout-price {
    color: #49e58f !important;
    text-shadow: 0 0 18px rgba(73,229,143,0.22) !important;
}

.deposit-input,
.profile-post-textarea,
.profile-card input[type="text"],
.profile-card input[type="password"],
.profile-section input[type="text"],
.profile-section input[type="password"],
.smart-select,
#msg-input,
input[type="text"],
input[type="number"],
input[type="password"],
textarea,
select {
    background: rgba(5,8,12,0.7) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 6px !important;
    color: #fff !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.035);
}

.deposit-input:focus,
.profile-post-textarea:focus,
.smart-select:focus,
#msg-input:focus,
input[type="text"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
    border-color: rgba(31,181,149,0.65) !important;
    box-shadow: 0 0 0 3px rgba(31,181,149,0.12), inset 0 1px 0 rgba(255,255,255,0.04) !important;
}

.deposit-result {
    border-radius: 8px !important;
    background: rgba(31,181,149,0.075) !important;
    border: 1px solid rgba(31,181,149,0.25) !important;
}

.deposit-checkbox-wrapper {
    border-radius: 8px !important;
    background: rgba(255,255,255,0.035) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
}

.deposit-checkbox-wrapper input[type="checkbox"],
.smart-checkbox {
    border-color: rgba(255,255,255,0.32) !important;
}

.deposit-checkbox-wrapper input[type="checkbox"]:checked,
.smart-checkbox:checked {
    background: var(--accent-cool) !important;
    border-color: var(--accent-cool) !important;
}

.bans-table,
.profile-table,
.stats-table {
    border-collapse: separate !important;
    border-spacing: 0 8px !important;
}

.bans-table th,
.profile-table th,
.stats-table th {
    background: rgba(255,255,255,0.045) !important;
    color: #dbe6f6 !important;
    border: none !important;
}

.bans-table td,
.profile-table td,
.stats-table td {
    background: rgba(255,255,255,0.032) !important;
    border-top: 1px solid rgba(255,255,255,0.06) !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
}

.bans-table tr td:first-child,
.profile-table tr td:first-child,
.stats-table tr td:first-child {
    border-left: 1px solid rgba(255,255,255,0.06) !important;
    border-radius: 6px 0 0 6px;
}

.bans-table tr td:last-child,
.profile-table tr td:last-child,
.stats-table tr td:last-child {
    border-right: 1px solid rgba(255,255,255,0.06) !important;
    border-radius: 0 6px 6px 0;
}

.bans-table tr:hover td,
.profile-table tr:hover td,
.stats-table tr:hover td {
    background: rgba(255,42,42,0.07) !important;
}

.rules-accordion {
    margin-bottom: 12px !important;
}

.rules-accordion-header {
    min-height: 64px;
}

.rules-accordion.active {
    border-color: rgba(31,181,149,0.38) !important;
}

.rules-list li {
    background: rgba(255,255,255,0.025);
    border-radius: 6px;
    margin-bottom: 8px;
    padding: 10px 12px !important;
}

.shop-command-copy,
.shop-live-widget,
.shop-main-panel,
.shop-checkout {
    background:
        linear-gradient(135deg, rgba(255,255,255,0.07), rgba(255,255,255,0.018)),
        #10141c !important;
    border-color: rgba(255,255,255,0.09) !important;
}

.shop-card,
.smart-category,
.smart-option {
    border-radius: 8px !important;
}

.shop-tab.active {
    background: linear-gradient(135deg, rgba(255,42,42,0.92), rgba(198,22,34,0.92)) !important;
}

.sponsor-panel {
    padding: 28px !important;
}

.messages-layout {
    display: flex;
}

.messages-list-col,
.chat-col {
    min-height: 620px;
}

.chat-messages-box > div > div:first-child {
    border-radius: 12px !important;
    box-shadow: 0 10px 24px rgba(0,0,0,0.22);
}

.notif-dot,
#topbar-unread-badge,
#dropdown-unread-badge {
    animation: tacticalPulse 1.8s ease-in-out infinite !important;
}

.footer {
    margin-top: 22px !important;
    padding: 0 40px 22px !important;
    background: rgba(8,10,15,0.75) !important;
    border-top: 1px solid rgba(255,255,255,0.075) !important;
}

.toast {
    border-radius: 8px !important;
    border: 1px solid rgba(255,42,42,0.42);
    background:
        linear-gradient(135deg, rgba(255,42,42,0.18), rgba(255,255,255,0.04)),
        #10141c !important;
}

.gate {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 38px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.07), rgba(255,255,255,0.018)),
        #10141c;
    box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}

.gate-logo::after {
    content: '';
    display: block;
    height: 2px;
    margin: 8px auto 0;
    width: 70%;
    background: linear-gradient(90deg, transparent, var(--accent), var(--accent-cool), transparent);
}

@keyframes tacticalEnter {
    from {
        opacity: 0;
        transform: translateY(12px);
        filter: blur(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes tacticalPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 8px rgba(255,42,42,0.45), 0 0 20px rgba(255,42,42,0.16);
    }
    50% {
        transform: scale(1.12);
        box-shadow: 0 0 14px rgba(255,42,42,0.85), 0 0 32px rgba(31,181,149,0.24);
    }
}

@media (max-width: 1180px) {
    .global-stats {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .g-stat-item + .g-stat-item {
        border-left: 0;
    }

    .profile-layout,
    .friends-layout,
    .messages-layout {
        grid-template-columns: 1fr !important;
        flex-direction: column !important;
    }
}

@media (max-width: 768px) {
    body::after,
    .app-wrapper::before {
        display: none;
    }

    .container {
        padding: 22px 16px 92px !important;
        max-height: none !important;
    }

    .sidebar {
        background: rgba(8,10,15,0.96) !important;
        backdrop-filter: blur(14px);
    }

    .topbar {
        min-height: auto;
        padding: 14px 16px !important;
    }

    .logo {
        font-size: 28px !important;
    }

    .section-title {
        font-size: 24px !important;
    }

    .server-card-inner {
        gap: 14px;
        align-items: flex-start;
    }

    .server-stats {
        flex-direction: column;
        gap: 8px !important;
    }

    .global-stats {
        grid-template-columns: 1fr !important;
        margin-top: 32px !important;
    }

    .g-stat-item {
        border-left: 0 !important;
        border-top: 1px solid rgba(255,255,255,0.06);
    }

    .g-stat-item:first-child {
        border-top: 0;
    }
}

/* SMART constructor UX refresh */
.shop-tab-content#tab-smart .smart-panel {
    padding: 24px !important;
}

.shop-tab-content#tab-smart .smart-panel-header {
    text-align: left;
    margin-bottom: 18px !important;
    display: grid;
    gap: 8px;
}

.shop-tab-content#tab-smart .smart-panel-title {
    font-size: clamp(24px, 2vw, 34px) !important;
    line-height: 1.1;
    margin: 0 !important;
}

.shop-tab-content#tab-smart .smart-panel-desc {
    max-width: 860px !important;
    margin: 0 !important;
}

.smart-overview {
    display: grid;
    grid-template-columns: repeat(2, minmax(150px, 190px)) minmax(140px, auto);
    gap: 12px;
    align-items: stretch;
    margin: 18px 0 22px;
}

.smart-overview-item,
.smart-reset-btn {
    min-height: 72px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.09);
    background:
        linear-gradient(135deg, rgba(255,255,255,0.07), rgba(255,255,255,0.018)),
        rgba(5,8,12,0.62);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.045);
}

.smart-overview-item {
    display: grid;
    align-content: center;
    padding: 12px 16px;
}

.smart-overview-item span {
    font-family: 'Oswald', sans-serif;
    font-size: 30px;
    line-height: 1;
    color: #fff;
}

.smart-overview-item small {
    margin-top: 6px;
    color: rgba(219,230,246,0.58);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.smart-overview-item--accent span {
    color: #49e58f;
    text-shadow: 0 0 18px rgba(73,229,143,0.22);
}

.smart-reset-btn {
    color: rgba(255,255,255,0.78);
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    cursor: pointer;
    transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.smart-reset-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(255,42,42,0.5);
    color: #fff;
    box-shadow: 0 16px 34px rgba(0,0,0,0.34), 0 0 18px rgba(255,42,42,0.14);
}

.shop-tab-content#tab-smart .smart-categories {
    grid-template-columns: minmax(220px, 0.82fr) minmax(320px, 1.25fr) minmax(240px, 0.93fr) !important;
    gap: 14px !important;
    margin-bottom: 16px !important;
    align-items: start;
}

.shop-tab-content#tab-smart .smart-category {
    padding: 16px !important;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.055), rgba(255,255,255,0.014)),
        rgba(0,0,0,0.18) !important;
}

.shop-tab-content#tab-smart .smart-category-title {
    min-height: 42px;
    margin-bottom: 12px !important;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    font-size: 16px !important;
    line-height: 1.2;
}

.shop-tab-content#tab-smart .smart-option {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    min-height: 50px;
    padding: 10px 12px !important;
    margin-bottom: 8px !important;
    border: 1px solid rgba(255,255,255,0.055);
    background: rgba(5,8,12,0.35);
}

.shop-tab-content#tab-smart .smart-option:hover {
    transform: translateY(-1px) !important;
    border-color: rgba(31,181,149,0.34);
    background: rgba(31,181,149,0.055) !important;
}

.shop-tab-content#tab-smart .smart-option:has(input:checked),
.shop-tab-content#tab-smart .smart-option:has(select option:checked:not([value="0"])) {
    background: rgba(31,181,149,0.09) !important;
    border-color: rgba(31,181,149,0.42) !important;
}

.shop-tab-content#tab-smart .smart-checkbox {
    margin: 0 !important;
}

.shop-tab-content#tab-smart .smart-option-name {
    min-width: 0;
    line-height: 1.32;
}

.shop-tab-content#tab-smart .smart-option-price {
    white-space: nowrap;
    justify-self: end;
}

.shop-tab-content#tab-smart .smart-select {
    max-width: 230px;
}

.shop-tab-content#tab-smart .smart-option:has(.smart-select) {
    grid-template-columns: minmax(160px, 1fr) minmax(180px, 230px);
}

.shop-tab-content#tab-smart .smart-footer {
    position: sticky;
    bottom: 18px;
    z-index: 7;
    margin-top: 14px !important;
    padding: 16px !important;
    border: 1px solid rgba(255,42,42,0.28) !important;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255,42,42,0.13), rgba(31,181,149,0.075)),
        rgba(10,13,19,0.94) !important;
    backdrop-filter: blur(16px);
    box-shadow: 0 18px 42px rgba(0,0,0,0.45), 0 0 24px rgba(255,42,42,0.09);
}

.shop-tab-content#tab-smart .smart-total {
    font-size: 18px !important;
}

.shop-tab-content#tab-smart #smartTotalPrice {
    font-size: 34px !important;
}

@media (max-width: 1280px) {
    .shop-tab-content#tab-smart .smart-categories {
        grid-template-columns: 1fr 1fr !important;
    }
}

@media (max-width: 820px) {
    .smart-overview {
        grid-template-columns: 1fr;
    }

    .shop-tab-content#tab-smart .smart-categories {
        grid-template-columns: 1fr !important;
    }

    .shop-tab-content#tab-smart .smart-option,
    .shop-tab-content#tab-smart .smart-option:has(.smart-select) {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .shop-tab-content#tab-smart .smart-option-price,
    .shop-tab-content#tab-smart .smart-select {
        grid-column: 2;
        justify-self: stretch;
        max-width: none;
    }

    .shop-tab-content#tab-smart .smart-footer {
        position: relative;
        bottom: auto;
        flex-direction: column;
        gap: 14px;
        align-items: stretch !important;
    }
}

/* SMART action moved to checkout sidebar */
.smart-footer[hidden],
.shop-pay-btn[hidden] {
    display: none !important;
}

.shop-checkout .smart-footer--side {
    position: static !important;
    display: grid !important;
    gap: 14px;
    margin: 0 0 14px !important;
    padding: 14px !important;
    border: 1px solid rgba(31,181,149,0.28) !important;
    border-radius: 8px !important;
    background:
        linear-gradient(135deg, rgba(31,181,149,0.12), rgba(255,42,42,0.055)),
        rgba(5,8,12,0.62) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.045) !important;
}

.shop-checkout .smart-footer--side .smart-total {
    display: none !important;
}

.shop-checkout .smart-footer--side #smartTotalPrice {
    display: inline-block;
    font-size: 36px !important;
    line-height: 1;
}

.shop-checkout .smart-footer--side .smart-submit-btn {
    width: 100%;
    min-height: 54px;
    justify-content: center;
}

.shop-checkout .checkout-hint {
    display: none !important;
}

/* Mirage map art only for the public server card */
.servers-section .server-card {
    min-height: 138px;
    background: #10141c !important;
}

.servers-section .server-card .server-bg {
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 1 !important;
    background:
        linear-gradient(90deg, rgba(8, 10, 15, 0.9) 0%, rgba(17, 21, 31, 0.78) 38%, rgba(17, 21, 31, 0.58) 100%),
        linear-gradient(180deg, rgba(255, 42, 42, 0.15), rgba(0, 0, 0, 0.62)),
        url('../img/de_mirage-bg.jpg') center 44% / cover no-repeat !important;
    filter: saturate(0.95) contrast(1.08);
}

.servers-section .server-card .server-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 42px 42px;
    mix-blend-mode: screen;
    opacity: 0.28;
}

.servers-section .server-card-inner {
    min-height: 118px;
}

/* Collision fixes after Mirage card update */
.sidebar .nav-link {
    display: grid !important;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    column-gap: 12px;
    align-items: center;
    padding-right: 12px !important;
}

.sidebar .nav-link svg {
    margin: 0 !important;
}

.sidebar .nav-link > span:not(.nav-badge) {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    line-height: 1.25;
}

.sidebar .nav-badge {
    position: static !important;
    right: auto !important;
    margin: 0 0 0 6px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    white-space: nowrap;
    min-width: 48px;
    height: 22px;
    padding: 0 7px !important;
}

.servers-section .server-card {
    padding: 0 !important;
}

.servers-section .server-card-inner {
    display: grid !important;
    grid-template-columns: minmax(260px, 1fr) auto auto;
    align-items: center !important;
    gap: 18px;
    min-height: 138px;
    padding: 34px 28px 24px !important;
}

.servers-section .server-card-inner::before {
    top: 18px;
    left: 28px;
}

/* Developer server/plugin console */
.server-admin-section {
    padding-bottom: 48px;
}

.server-admin-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.8fr);
    gap: 18px;
    margin-bottom: 18px;
}

.server-admin-panel {
    background: linear-gradient(135deg, rgba(18, 22, 31, 0.96), rgba(12, 14, 20, 0.98));
    border: 1px solid rgba(255, 42, 42, 0.2);
    border-radius: 8px;
    padding: 18px;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.32);
}

.server-admin-panel--wide {
    margin-top: 18px;
}

.server-admin-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.server-admin-panel-head h3 {
    margin: 4px 0 0;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    letter-spacing: 0;
    text-transform: uppercase;
}

.server-admin-kicker {
    display: block;
    color: #12c9a8;
    font-family: 'Oswald', sans-serif;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.server-admin-status-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.server-admin-stat {
    min-height: 86px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.035);
    border-radius: 8px;
}

.server-admin-stat span {
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-size: 32px;
    font-weight: 700;
}

.server-admin-stat small {
    color: var(--text-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.server-admin-stat--accent span {
    color: #2ecc71;
}

.server-admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.server-admin-btn,
.server-admin-icon-btn,
.server-admin-mini {
    border: 0;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.server-admin-btn {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 14px;
    border: 1px solid rgba(255, 42, 42, 0.3);
    background: rgba(255, 42, 42, 0.13);
    color: #fff;
    border-radius: 7px;
    font-weight: 700;
}

.server-admin-btn:hover,
.server-admin-icon-btn:hover,
.server-admin-mini:hover {
    transform: translateY(-1px);
}

.server-admin-btn--primary {
    width: 100%;
    background: #ff2a2a;
    border-color: #ff2a2a;
}

.server-admin-btn--ghost {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
}

.server-admin-icon-btn,
.server-admin-mini {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    border-radius: 7px;
}

.server-admin-icon-btn.is-loading i {
    animation: spin 0.7s linear infinite;
}

.server-admin-mini--danger {
    color: #ff5b5b;
    border-color: rgba(255, 42, 42, 0.28);
}

.server-admin-form {
    display: grid;
    gap: 12px;
}

.server-admin-form label {
    display: grid;
    gap: 7px;
    color: var(--text-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.server-admin-form input,
.server-admin-form select {
    width: 100%;
    min-height: 42px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 7px;
    padding: 0 12px;
    outline: none;
}

.server-admin-form select option {
    color: #111;
}

.server-admin-table-wrap {
    overflow-x: auto;
}

.server-admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.server-admin-table th,
.server-admin-table td {
    padding: 13px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-align: left;
}

.server-admin-table th {
    color: var(--text-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.server-admin-table td {
    color: #fff;
}

.server-admin-table code {
    color: #a9b7cf;
}

.server-admin-chip {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 8px;
    background: rgba(18, 201, 168, 0.13);
    border: 1px solid rgba(18, 201, 168, 0.28);
    color: #51f0d3;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

@media (max-width: 1100px) {
    .server-admin-grid,
    .server-admin-status-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 720px) {
    .server-admin-grid,
    .server-admin-status-grid {
        grid-template-columns: 1fr;
    }
}

.servers-section .server-name {
    min-width: 0;
    padding-top: 0 !important;
    white-space: nowrap;
}

.servers-section .server-stats {
    min-width: max-content;
    justify-content: flex-end;
}

.servers-section .server-actions {
    min-width: max-content;
}

@media (max-width: 980px) {
    .servers-section .server-card-inner {
        grid-template-columns: 1fr;
        gap: 14px;
        align-items: start !important;
    }

    .servers-section .server-stats {
        min-width: 0;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .servers-section .server-actions {
        min-width: 0;
    }
}

@media (max-width: 768px) {
    .sidebar .nav-link {
        display: flex !important;
        gap: 4px;
        padding-right: 5px !important;
    }

    .sidebar .nav-link > span:not(.nav-badge) {
        white-space: nowrap;
        max-width: 72px;
    }
}
