/* Import Google Fonts for professional typography */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* CSS Root Variables for Navigation Colors */
:root {
    --navbar-bg-color: #131212;
    --navbar-border-color: rgba(255, 255, 255, 0.1);
    --nav-link-hover-bg: rgba(102, 192, 244, 0.2);
    --nav-link-active-bg: rgba(102, 192, 244, 0.3);
    --nav-link-active-color: #66c0f4;
    --nav-link-active-border: rgba(102, 192, 244, 0.4);
    --nav-link-active-shadow: rgba(102, 192, 244, 0.2);
    --nav-link-active-hover-bg: rgba(102, 192, 244, 0.35);
    --players-count-bg: #1e3a1e;
    --players-count-border: #2d5a2d;
    --players-count-text: #4CAF50;
    --players-count-dot: #4CAF50;
    --login-btn-bg-start: #1b2838;
    --login-btn-bg-end: #2a475e;
    --login-btn-hover-start: #66c0f4;
    --login-btn-hover-end: #1b2838;
    
    /* Content Cards Colors */
    --rank-system-bg-start: #394464; /* start color for rank system gradient */
    --rank-system-bg-end: #2c2c2c;   /* end color for rank system gradient */
    --rank-system-text: #94afff;     /* text color for rank system card */
    --punishments-bg-start: #754f36; /* start color for punishments gradient */
    --punishments-bg-end: #2c2c2c;   /* end color for punishments gradient */
    --punishments-text: #ffa76b;     /* text color for punishments card */
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-image: url('../images/bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    min-height: 100vh;
}

/* Profile Header Styles */
.profile-header-section {
    margin: 50px 0;
    padding: 0;
}

.profile-header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 20px;
    background: linear-gradient(135deg, rgba(20, 25, 35, 0.85) 0%, rgba(30, 35, 45, 0.85) 100%);
    border-radius: 20px;
    border: 1px solid rgba(255, 165, 0, 0.2);
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.profile-header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    text-align: center;
}

.profile-header-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ffa500 0%, #ff8c00 100%);
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(255, 165, 0, 0.4);
}

.profile-header-icon {
    font-size: 2.8rem;
    color: #fff;
}

.profile-header-text {
    text-align: left;
    position: relative;
}

.profile-header-title {
    color: #e0e0e0;
    font-size: 1rem;
    font-weight: 400;
    margin: 0 0 8px 0;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.9;
}

.profile-header-divider {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #ffa500 0%, #ff8c00 100%);
    margin: 10px 0 15px 0;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(255, 165, 0, 0.3);
}

.profile-header-name {
    color: #ffffff;
    font-size: 3.2rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    text-shadow: 0 4px 15px rgba(255, 165, 0, 0.4);
    letter-spacing: 2px;
    line-height: 1.1;
}

.profile-header-subtitle {
    color: #b0b0b0;
    font-size: 0.9rem;
    font-weight: 300;
    margin: 0;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

/* Responsive adjustments for profile header */
@media (max-width: 768px) {
    .profile-header-container {
        padding: 40px 20px;
    }
    
    .profile-header-content {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }
    
    .profile-header-text {
        text-align: center;
    }
    
    .profile-header-icon-wrapper {
        width: 70px;
        height: 70px;
    }
    
    .profile-header-icon {
        font-size: 2.4rem;
    }
    
    .profile-header-name {
        font-size: 2.6rem;
    }
    
    .profile-header-title {
        font-size: 0.9rem;
    }
    
    .profile-header-divider {
        width: 40px;
        margin: 8px auto 12px;
    }
}

/* Profile Stats Section */
.profile-stats-section {
    margin: 30px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Profile Rows */
.profile-row {
    display: flex;
    gap: 20px;
    width: 100%;
}

.profile-row-1 {
    gap: 20px;
}

.profile-row-2 {
    width: 100%;
}

.profile-row-3 {
    gap: 20px;
}

/* Card Base Styles */
.external-profiles-card,
.current-rank-card,
.progress-card,
.player-avatar-card,
.player-rank-card,
.last-seen-card {
    background: linear-gradient(135deg, rgba(20, 25, 35, 0.9) 0%, rgba(30, 35, 45, 0.9) 100%);
    border-radius: 15px;
    border: 1px solid rgba(255, 165, 0, 0.15);
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    padding: 25px;
}

/* Card Title */
.card-title {
    color: #ffa500;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 20px 0;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: 2px solid rgba(255, 165, 0, 0.3);
    padding-bottom: 10px;
}

/* Row 1 Cards */
.external-profiles-card {
    flex: 1;
}

.current-rank-card {
    flex: 1;
    text-align: center;
}

.profile-buttons {
    display: flex;
    gap: 15px;
    margin: 0;
}

.rank-display {
    margin: 0;
    display: flex;
    justify-content: center;
}

.profile-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.steam-btn {
    background: linear-gradient(135deg, #1b2838 0%, #2a475e 100%);
    color: #66c0f4;
    border-color: rgba(102, 192, 244, 0.3);
}

.steam-btn:hover {
    background: linear-gradient(135deg, #2a475e 0%, #1b2838 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 192, 244, 0.3);
}

.faceit-btn {
    background: linear-gradient(135deg, #ff5500 0%, #ff7700 100%);
    color: #ffffff;
    border-color: rgba(255, 85, 0, 0.3);
}

.faceit-btn:hover {
    background: linear-gradient(135deg, #ff7700 0%, #ff5500 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 85, 0, 0.4);
}

.faceit-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.rank-display {
    margin: 15px 0;
}

.rank-image {
    width: 120px;
    height: auto;
    filter: drop-shadow(0 4px 15px rgba(255, 165, 0, 0.3));
}

/* Row 2: Progress Card */
.progress-card {
    width: 100%;
    background-image: url('../images/background-profileview.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.progress-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(20, 25, 35, 0.85) 0%, rgba(30, 35, 45, 0.85) 100%);
    backdrop-filter: blur(10px);
    z-index: 1;
}

.progress-card > * {
    position: relative;
    z-index: 2;
}

.progress-info {
    margin: 0;
}

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

.progress-label {
    color: #e0e0e0;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.progress-xp {
    color: #ffa500;
    font-size: 0.9rem;
    font-weight: 500;
}

.progress-bar-wrapper {
    position: relative;
}

.progress-bar {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    height: 8px;
    overflow: hidden;
}

.progress-fill {
    background: linear-gradient(90deg, #ffa500 0%, #ff8c00 100%);
    height: 100%;
    border-radius: 8px;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 165, 0, 0.5);
}

/* Row 3: Player Info Cards */
.player-avatar-card {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.player-avatar-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid #ffa500;
    box-shadow: 0 8px 25px rgba(255, 165, 0, 0.4);
    object-fit: cover;
}

.player-rank-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 15px;
}

.trophy-icon {
    font-size: 2.5rem;
    color: #ff8300;
}

.rank-text {
    color: #ffa500;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(255, 165, 0, 0.3);
}

.last-seen-card {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
}

.calendar-icon {
    font-size: 2rem;
    flex-shrink: 0;
    color: royalblue;
}

.last-seen-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.last-seen-label {
    color: #ffa500;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.last-seen-time {
    color: #e0e0e0;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .profile-buttons {
        flex-direction: column;
    }
    
    .profile-btn {
        justify-content: center;
    }
    
    .rank-image {
        width: 100px;
    }
    
    .player-avatar-large {
        width: 80px;
        height: 80px;
    }
    
    .external-profiles-card,
    .current-rank-card,
    .progress-card,
    .player-avatar-card,
    .player-rank-card,
    .last-seen-card {
        padding: 20px;
    }
    
    .card-title {
        font-size: 0.8rem;
        margin-bottom: 15px;
    }
    
    .trophy-icon {
        font-size: 2rem;
    }
    
    .rank-text {
        font-size: 1.2rem;
    }
    
    .last-seen-card {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

/* Enhanced Player Statistics Section */
.enhanced-stats-section {
    background: transparent;
    margin: 50px 0;
    padding: 40px 0;
}

.section-title {
    color: #ffa500;
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ffa500, #ff8c00);
    border-radius: 2px;
}

.stats-main-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
}

/* Left Column: Player Showcase */
.player-showcase {
    position: sticky;
    top: 20px;
}

.showcase-card {
    background: rgba(15, 23, 35, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 165, 0, 0.2);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.player-profile {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.showcase-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #ffa500;
    box-shadow: 0 8px 25px rgba(255, 165, 0, 0.4);
    object-fit: cover;
}

.player-details {
    flex: 1;
}

.player-name {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
}

.player-rank {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.rank-badge {
    color: #ffa500;
    font-size: 0.9rem;
    font-weight: 600;
}

.rank-text {
    color: #a0a0a0;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* KPI Section */
.kpi-section {
    margin-bottom: 30px;
}

.kpi-title {
    color: #ffa500;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.kpi-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    margin-bottom: 15px;
    background: rgba(25, 35, 50, 0.6);
    border: 1px solid rgba(255, 165, 0, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.kpi-item:hover {
    border-color: rgba(255, 165, 0, 0.3);
    transform: translateX(5px);
}

.kpi-item.highlight-stat {
    border-color: rgba(255, 165, 0, 0.4);
    background: rgba(30, 40, 55, 0.8);
}

.kpi-icon {
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
    color: #ffa500;
}

.kpi-content {
    flex: 1;
}

.kpi-value {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.kpi-label {
    color: #a0a0a0;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kpi-progress {
    margin-top: 8px;
}

.progress-bar {
    background: rgba(255, 255, 255, 0.1);
    height: 4px;
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    background: linear-gradient(90deg, #ffa500, #ff8c00);
    height: 100%;
    border-radius: 2px;
    transition: width 0.3s ease;
}

/* Achievements Section */
.achievements-section {
    margin-top: 30px;
}

.achievements-title {
    color: #ffa500;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.achievement-badges {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.achievement-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: rgba(25, 35, 50, 0.4);
    border: 1px solid rgba(255, 165, 0, 0.15);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.achievement-badge:hover {
    border-color: rgba(255, 165, 0, 0.4);
    background: rgba(30, 40, 55, 0.6);
}

.badge-icon {
    font-size: 1.2rem;
}

.badge-text {
    color: #e0e0e0;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Right Column: Detailed Statistics */
.detailed-stats {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stat-category {
    background: rgba(15, 23, 35, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 165, 0, 0.15);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.category-title {
    color: #ffa500;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.category-icon {
    font-size: 1.3rem;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.stat-card {
    align-items: flex-start;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffa500, transparent);
    transition: left 0.6s ease;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    border-color: rgba(255, 165, 0, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 165, 0, 0.15);
}

.stat-card.primary {
    border-color: rgba(255, 165, 0, 0.4);
    background: rgba(30, 40, 55, 0.8);
}

.stat-card.special {
    border-color: rgba(255, 215, 0, 0.4);
    background: rgba(35, 35, 25, 0.8);
}

.stat-card.success {
    border-color: rgba(34, 197, 94, 0.4);
    background: rgba(20, 35, 25, 0.8);
}

.stat-card.danger {
    border-color: rgba(239, 68, 68, 0.4);
    background: rgba(35, 20, 25, 0.8);
}

.stat-icon {
    font-size: 1.8rem;
    width: 50px;
    text-align: left;
    margin-top: 5px;
    flex-shrink: 0;
}

.stat-info {
    flex: 1;
}

.stat-value {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1;
}

.stat-label {
    color: #a0a0a0;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.stat-percentage {
    color: #ffa500;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 2px;
}

.stat-unit {
    color: #888;
    font-size: 0.7rem;
    margin-top: 2px;
}

/* Circular Progress Chart */
.accuracy-visual {
    margin-top: 10px;
    display: flex;
    justify-content: center;
}

.circular-progress {
    width: 60px;
    height: 60px;
}

.circular-chart {
    display: block;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 2;
}

.circle {
    fill: none;
    stroke: #ffa500;
    stroke-width: 2.5;
    stroke-linecap: round;
    transition: stroke-dasharray 0.6s ease-in-out;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .stats-main-layout {
        grid-template-columns: 1fr 1.5fr;
        gap: 30px;
    }
    
    .stat-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media (max-width: 992px) {
    .stats-main-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .player-showcase {
        position: static;
    }
    
    .showcase-card {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .enhanced-stats-section {
        padding: 30px 0;
        margin: 30px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .player-profile {
        flex-direction: column;
        text-align: center;
    }
    
    .stat-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .stat-category {
        padding: 20px;
    }
    
    .stat-card {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .showcase-card,
    .stat-category {
        padding: 15px;
    }
    
    .player-name {
        font-size: 1.5rem;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
}

/* Weapons Statistics Section */
.weapons-stats-section {
    background: transparent;
    margin: 50px 0;
    padding: 40px 0;
}

.weapons-container {
    background: rgba(15, 23, 35, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 165, 0, 0.2);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.weapons-scrollable {
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 10px;
}

.weapons-scrollable::-webkit-scrollbar {
    height: 6px;
}

.weapons-scrollable::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.weapons-scrollable::-webkit-scrollbar-thumb {
    background: rgba(255, 165, 0, 0.6);
    border-radius: 3px;
}

.weapons-scrollable::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 165, 0, 0.8);
}

.weapons-grid {
    display: grid;
    grid-template-columns: repeat(10, minmax(180px, 1fr));
    gap: 20px;
    min-width: 1200px;
}

.weapon-card {
    background: rgba(25, 35, 50, 0.8);
    border: 1px solid rgba(255, 165, 0, 0.15);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.weapon-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffa500, transparent);
    transition: left 0.6s ease;
}

.weapon-card:hover::before {
    left: 100%;
}

.weapon-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 165, 0, 0.4);
    box-shadow: 0 8px 25px rgba(255, 165, 0, 0.2);
}

.weapon-image {
    width: 120px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 15px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.weapon-info {
    text-align: center;
}

.weapon-name {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.weapon-kills {
    color: #ffa500;
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.9;
}

/* Responsive Design for Weapons */
@media (max-width: 1200px) {
    .weapons-grid {
        grid-template-columns: repeat(10, minmax(160px, 1fr));
        min-width: 1000px;
    }
    
    .weapon-image {
        width: 100px;
        height: 50px;
    }
}

@media (max-width: 768px) {
    .weapons-stats-section {
        padding: 30px 0;
        margin: 30px 0;
    }
    
    .weapons-container {
        padding: 20px;
    }
    
    .weapons-grid {
        grid-template-columns: repeat(10, minmax(140px, 1fr));
        min-width: 800px;
        gap: 15px;
    }
    
    .weapon-card {
        padding: 15px;
    }
    
    .weapon-image {
        width: 80px;
        height: 40px;
    }
    
    .weapon-name {
        font-size: 0.9rem;
    }
    
    .weapon-kills {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .weapons-grid {
        grid-template-columns: repeat(10, minmax(120px, 1fr));
        min-width: 600px;
        gap: 12px;
    }
    
    .weapon-card {
        padding: 12px;
    }
    
    .weapon-image {
        width: 70px;
        height: 35px;
    }
}

/* Weapon Tooltip Styles */
.weapon-tooltip-external {
    position: fixed;
    background: rgba(15, 23, 35, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 165, 0, 0.3);
    border-radius: 12px;
    padding: 20px;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    min-width: 280px;
}

.weapon-tooltip-external.show {
    opacity: 1;
    transform: translateY(0);
}

.weapon-tooltip-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    max-width: 320px;
}

.weapon-tooltip-stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 165, 0, 0.1);
}

.weapon-tooltip-stat-item:last-child {
    border-bottom: none;
}

.weapon-tooltip-stat-item .stat-label {
    color: #cccccc;
    font-size: 0.85rem;
    font-weight: 400;
}

.weapon-tooltip-stat-item .stat-value {
    color: #ffa500;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Responsive Weapon Tooltip */
@media (max-width: 768px) {
    .weapon-tooltip-external {
        min-width: 250px;
        padding: 15px;
    }
    
    .weapon-tooltip-stats-grid {
        gap: 10px;
    }
    
    .weapon-tooltip-stat-item {
        padding: 6px 0;
    }
    
    .weapon-tooltip-stat-item .stat-label {
        font-size: 0.8rem;
    }
    
    .weapon-tooltip-stat-item .stat-value {
        font-size: 0.85rem;
    }
}

/* Maps Section */
.maps-section {
    margin: 30px 0;
    padding: 0;
}

.maps-container {
    background: linear-gradient(135deg, rgba(20, 25, 35, 0.9) 0%, rgba(30, 35, 45, 0.9) 100%);
    border-radius: 15px;
    border: 1px solid rgba(255, 165, 0, 0.15);
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    padding: 25px;
    overflow: visible;
}

.maps-title {
    color: #ffa500;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 20px 0;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: 2px solid rgba(255, 165, 0, 0.3);
    padding-bottom: 10px;
}

.maps-scrollable {
    max-height: 200px;
    overflow-y: auto;
    overflow-x: visible;
    padding-right: 10px;
}

.maps-scrollable::-webkit-scrollbar {
    width: 6px;
}

.maps-scrollable::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.maps-scrollable::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ffa500 0%, #ff8c00 100%);
    border-radius: 3px;
}

.maps-scrollable::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #ff8c00 0%, #ffa500 100%);
}

.maps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.map-card {
    position: relative;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 165, 0, 0.1);
    transition: all 0.3s ease;
}

.map-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 165, 0, 0.3);
    box-shadow: 0 8px 20px rgba(255, 165, 0, 0.2);
}

.map-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.map-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    padding: 15px 10px 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.map-name {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.map-matches {
    color: #ffa500;
    font-size: 0.75rem;
    opacity: 0.9;
}

/* Map Tooltip */
.map-tooltip-external {
    position: fixed;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid #ffa500;
    border-radius: 12px;
    padding: 16px;
    width: 280px;
    max-width: 90vw;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.map-tooltip-external.visible {
    opacity: 1;
    visibility: visible;
}

.map-tooltip-external::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: #ffa500;
}

.tooltip-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
}

.tooltip-stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 165, 0, 0.1);
}

.tooltip-stat-item:nth-child(7),
.tooltip-stat-item:nth-child(8) {
    border-bottom: none;
}

.stat-label {
    color: #e0e0e0;
    font-size: 0.85rem;
    font-weight: 400;
    opacity: 0.9;
}

.stat-value {
    color: #ffa500;
    font-size: 0.9rem;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(255, 165, 0, 0.3);
}

/* Responsive Design for Maps */
@media (max-width: 768px) {
    .maps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .map-image {
        height: 100px;
    }
    
    .maps-scrollable {
        max-height: 250px;
    }
    
    .map-info {
        padding: 12px 8px 8px;
    }
    
    .map-name {
        font-size: 0.8rem;
    }
    
    .map-matches {
        font-size: 0.7rem;
    }
}

/* Navbar Styles */
.navbar-custom {
    background: linear-gradient(135deg, rgba(20, 25, 35, 0.95), rgba(30, 35, 45, 0.95));
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(102, 192, 244, 0.2);
    padding: 0.3rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    position: relative; /* ensure navbar sits above content sections */
    z-index: 1200;      /* higher than cards so tooltips render on top */
}

.navbar-brand-custom {
    color: #ffffff !important;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1;
    padding: 0.4rem 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.navbar-brand-custom .sunset {
    display: block;
}

.navbar-brand-custom .gaming {
    display: block;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 0.8rem !important;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    margin: 0 0.1rem;
    white-space: nowrap;
}

.navbar-nav .nav-link:hover {
    background-color: var(--nav-link-hover-bg);
    border-radius: 8px;
    color: #fff;
}

.nav-link.active {
    background-color: var(--nav-link-active-bg);
    border-radius: 8px;
    color: var(--nav-link-active-color) !important;
    font-weight: 700;
    box-shadow: 0 2px 8px var(--nav-link-active-shadow);
    border: 1px solid var(--nav-link-active-border);
}

.nav-link.active:hover {
    background-color: var(--nav-link-active-hover-bg);
    color: var(--nav-link-active-color) !important;
}

/* Responsive navbar adjustments */
@media (max-width: 1400px) {
    .navbar-nav .nav-link {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem !important;
        margin: 0 0.05rem;
    }
}

@media (max-width: 1200px) {
    .navbar-nav .nav-link {
        font-size: 0.75rem;
        padding: 0.4rem 0.5rem !important;
        margin: 0;
    }
}

/* Enhanced Players Count Styling */
.players-count {
    background-color: var(--players-count-bg) !important;
    color: var(--players-count-text) !important;
    border: 1px solid var(--players-count-border);
    line-height: 1.2;
    height: auto;
}

.players-count:hover {
    background-color: var(--players-count-bg) !important;
    color: var(--players-count-text) !important;
}

/* Tooltip Styles */
.players-count {
    position: relative;
    z-index: 1200; /* raise tooltip trigger above page content */
    cursor: pointer;
}

/* Tooltip Content Styling */
.tooltip-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: linear-gradient(145deg, #1a1a1a, #2d2d2d);
    padding: 0.75rem;
    border-radius: 8px;
    min-width: 140px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
    margin-top: 8px;
}

.players-count:hover .tooltip-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.tooltip-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.tooltip-row:last-child {
    margin-bottom: 0;
}

.tooltip-label {
    color: #cccccc;
    font-size: 0.8rem;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.tooltip-label i {
    font-size: 0.75rem;
    color: #4CAF50;
}

.tooltip-value {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: #ffffff;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    min-width: 24px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(76, 175, 80, 0.3);
}

/* Green status dot */
.players-count::before {
    content: '';
    position: absolute;
    left: 0.3rem;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background-color: var(--players-count-dot);
    border-radius: 50%;
    margin-right: 0.2rem;
    z-index: 1;
}

.players-count .bi-people-fill {
    margin-left: 0.5rem;
    margin-right: 0.2rem;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 255, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 255, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 255, 0, 0);
    }
}

/* Login Button Styles */
.login-btn {
    background: linear-gradient(135deg, var(--login-btn-bg-start), var(--login-btn-bg-end));
    border: none;
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(27, 40, 56, 0.4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.login-btn:hover {
    background: linear-gradient(135deg, var(--login-btn-hover-start), var(--login-btn-hover-end));
    color: white;
    text-decoration: none;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(102, 192, 244, 0.6);
}

.steam-icon {
    font-size: 1.2rem;
}

/* User Avatar Styles */
.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(102, 192, 244, 0.5);
    object-fit: cover;
}

.user-name {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Dropdown Menu Styles */
.dropdown-menu-dark {
    background-color: rgba(20, 25, 35, 0.98);
    border: 1px solid rgba(102, 192, 244, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.dropdown-menu-dark .dropdown-item {
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.dropdown-menu-dark .dropdown-item:hover {
    background-color: rgba(102, 192, 244, 0.2);
    color: #66c0f4;
}

.dropdown-menu-dark .dropdown-item i {
    margin-right: 0.5rem;
}

.dropdown-divider {
    border-color: rgba(102, 192, 244, 0.2);
}


/* Mobile Responsive Styles */
@media (max-width: 991.98px) {
    .navbar-brand-custom {
        font-size: 1.1rem;
    }
    
    .navbar-nav {
        margin-top: 1rem;
        background-color: rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        padding: 1rem;
    }
    
    .navbar-nav .nav-link {
        margin: 0.2rem 0;
    }
    
    .login-section {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        text-align: center;
    }
    
    .players-count {
        margin: 0.2rem 0;
    }
    
    body {
        background-attachment: scroll;
    }
}

/* Navbar toggler for mobile */
.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.4rem 0.6rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

/* Content Cards Styles */
.content-card {
    display: flex;
    border-radius: 12px;
    overflow: hidden;
    height: 120px;
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    color: inherit;
    border: 4px solid rgba(255, 255, 255, 0.3);
}

.rank-system {
    background: linear-gradient(135deg, var(--rank-system-bg-start), var(--rank-system-bg-end));
    color: var(--rank-system-text);
}

.punishments {
    background: linear-gradient(135deg, var(--punishments-bg-start), var(--punishments-bg-end));
    color: var(--punishments-text);
}

.card-content {
    flex: 1;
    padding: 2rem;
    display: flex;
    align-items: center;
    z-index: 2;
}

.card-title {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    transition: padding-left 0.3s ease;
}

/* Ensure each card title follows the per-card text color from root */
.rank-system .card-title {
    color: var(--rank-system-text);
}

.punishments .card-title {
    color: var(--punishments-text);
}

.card-title::before {
    content: '↗';
    position: absolute;
    left: -2rem;
    opacity: 0;
    transition: opacity 0.3s ease, left 0.3s ease;
    font-size: 2rem;
}

.content-card:hover .card-title {
    padding-left: 1.5rem;
}

.content-card:hover .card-title::before {
    opacity: 1;
    left: -1rem;
}

.card-image {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-img {
    position: absolute;
    right: -10rem;
    top: -3rem;
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
    -webkit-user-drag: none;
    z-index: 3;
    transition: 0.2s ease;
    pointer-events: none;
}

.dots-pattern {
    position: absolute;
    top: 0;
    right: -84px;
    width: 56%;
    height: 100%;
    opacity: 0.3;
    z-index: 1;
}

/* Responsive adjustments for content cards */
@media (max-width: 767.98px) {
    .card-img {
        right: -6rem;
        top: -2rem;
        transform: scale(0.8);
    }
    
    .dots-pattern {
        right: -60px;
        width: 45%;
    }
}

@media (max-width: 575.98px) {
    .card-img {
        right: -4rem;
        top: -1.5rem;
        transform: scale(0.7);
    }
    
    .dots-pattern {
        right: -40px;
        width: 40%;
    }
}

@media (max-width: 479.98px) {
    .card-img {
        right: -14rem;
        top: -5rem;
        transform: scale(0.6);
    }
    
    .dots-pattern {
        right: 62px;
        width: 35%;
    }
}

/* =========================
   Server Banner Component
   ========================= */
.server-banner {
    margin: 1.25rem 0 1rem; /* add top gap from cards */
}

.server-banner__inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    background: #151515;
}

.server-banner__left {
    position: relative;
    padding: 1rem 1.2rem;
    min-height: 84px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    isolation: isolate;
}

/* Left side background image with dark overlay */
.server-banner__left::before {
    content: '';
    position: absolute;
    inset: 0;
    /* Background image set dynamically via inline style on parent */
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
    filter: brightness(0.65) saturate(0.9);
    z-index: -2;
}

.server-banner__left::after {
    content: '';
    position: absolute;
    inset: 0;
    /* Smoother, longer fade to the right */
    background: linear-gradient(90deg,
        rgba(0,0,0,0.6) 0%,
        rgba(0,0,0,0.55) 35%,
        rgba(0,0,0,0.5) 55%,
        rgba(27,27,27,0.4) 72%,
        rgba(27,27,27,0.7) 88%,
        #1b1b1b 100%
    );
    z-index: -1;
}

/* Add a subtle blending overlay on the right panel edge to smooth the seam */
.server-banner__right::before {
    content: none; /* remove overlay to prevent dark strip under semi-transparent pills */
    position: absolute;
    top: 0;
    left: -90px; /* extend into the left panel */
    width: 120px;
    height: 100%;
    pointer-events: none;
    background: none;
}

.server-banner__right {
    background: #1b1b1b;
    padding: 1rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* keep map label close to the buttons */
    gap: 0.5rem;
    position: relative; /* for smoothing overlay */
}

.server-meta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.server-tag {
    background: rgba(255,255,255,0.08);
    color: #e7e7e7;
    border: 1px solid rgba(255,255,255,0.12);
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

.server-name {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    text-shadow: 0 2px 6px rgba(0,0,0,0.4);
    margin: 0;
}

.server-stats {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 0.6rem 0.8rem;
    margin-top: 0.6rem;
}

.players-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: linear-gradient(135deg, #2a5c2a, #1f441f);
    color: #eaffea;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid rgba(76,175,80,0.35);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 2px 10px rgba(0,0,0,0.25);
}

.players-pill i { font-size: 0.95rem; }

.players-progress {
    width: 100%;
    height: 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 999px;
    overflow: hidden;
}

.players-progress__bar {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #6edb6e);
    box-shadow: 0 2px 8px rgba(76,175,80,0.35);
    width: 0%;
    transition: width 0.6s ease;
}

.server-map .map-label {
    /* Distinct capsule with gradient border, dark core */
    color: #e9f5ff;
    background:
        linear-gradient(#1a1a1a,#1a1a1a) padding-box,
        linear-gradient(135deg, #66c0f4, #2a475e) border-box;
    border: 1px solid transparent;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 10px rgba(102,192,244,0.18), inset 0 1px 0 rgba(255,255,255,0.06);
    text-transform: lowercase;
    white-space: nowrap;
}

.server-map .map-label:hover {
    box-shadow: 0 3px 14px rgba(102,192,244,0.25), inset 0 1px 0 rgba(255,255,255,0.08);
}

.server-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-ghost, .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.8rem;
    border-radius: 10px;
    font-weight: 700;
    border: 1px solid transparent;
    background: transparent;
    color: #eaeaea;
    transition: all 0.2s ease;
}

.btn-ghost {
    border-color: rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.05);
}

.btn-ghost:hover {
    border-color: rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.09);
}

.btn-primary {
    background: linear-gradient(135deg, var(--login-btn-bg-start), var(--login-btn-bg-end));
    border-color: rgba(102,192,244,0.4);
    box-shadow: 0 4px 14px rgba(102,192,244,0.22);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--login-btn-hover-start), var(--login-btn-hover-end));
    border-color: rgba(102,192,244,0.6);
    transform: translateY(-1px);
}

.btn-text { display: none; }

/* Responsive adjustments */
@media (min-width: 576px) {
    .btn-text { display: inline; }
}

@media (max-width: 991.98px) {
    .server-banner__inner {
        grid-template-columns: 1fr;
    }
    .server-banner__right {
        justify-content: space-between; /* on mobile, spread items */
    }
}

@media (max-width: 575.98px) {
.server-name { font-size: 1rem; }
.server-banner__left, .server-banner__right { padding: 0.9rem; }
}

/* =========================
Top Players Layout & Card
========================= */
.top-layout {
display: grid;
grid-template-columns: 30% 1fr; /* ~30% / 70% */
gap: 1rem;
}

.top-players-card {
border-radius: 14px;
border: 1px solid rgba(255,255,255,0.08);
background: rgba(21,21,21,0.85);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
padding: 0.9rem;
}

.tpc-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.5rem;
margin-bottom: 0.6rem;
}

.tpc-title {
color: #fff;
font-size: 1rem;
font-weight: 800;
margin: 0;
}

.tpc-help { color: #bdbdbd; }

.tpc-tabs {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 0.5rem;
margin-bottom: 0.7rem;
}

.tpc-tab {
border: 1px solid rgba(255,255,255,0.12);
background: rgba(255,255,255,0.05);
color: #e8e8e8;
font-weight: 700;
font-size: 0.9rem;
padding: 0.45rem 0.6rem;
border-radius: 10px;
transition: all 0.2s ease;
}

.tpc-tab:hover {
background: rgba(255,255,255,0.08);
}

.tpc-tab.is-active {
background: linear-gradient(135deg, var(--login-btn-bg-start), var(--login-btn-bg-end));
border-color: rgba(102,192,244,0.35);
box-shadow: 0 4px 12px rgba(102,192,244,0.18);
}

.tpc-list {
list-style: none;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
gap: 0.55rem;
}

.tpc-item {
display: grid;
grid-template-columns: 44px 1fr auto;
align-items: center;
gap: 0.6rem;
padding: 0.5rem 0.6rem;
border: 1px solid rgba(255,255,255,0.06);
background: rgba(255,255,255,0.03);
border-radius: 12px;
}

.tpc-avatar {
width: 44px;
height: 44px;
border-radius: 10px;
object-fit: cover;
border: 1px solid rgba(255,255,255,0.1);
}

.tpc-info { min-width: 0; }
.tpc-name { color: #fff; font-weight: 800; font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tpc-sub { color: #cbd5e1; font-size: 0.82rem; }

/* Hover effects: change rank colors when hovering each item */
.tpc-item:nth-child(1):hover .tpc-rank { color: #f3c969; }
.tpc-item:nth-child(2):hover .tpc-rank { color: #c9d6df; }
.tpc-item:nth-child(3):hover .tpc-rank { color: #c08a5b; }

.tpc-rank {
color: rgba(255,255,255,0.12);
font-weight: 900;
font-size: 1.4rem;
}

/* Responsive: stack columns */
@media (max-width: 991.98px) {
.top-layout { grid-template-columns: 1fr; }
}

/* =========================
   Slider Component
   ========================= */
.slider-component {
    position: relative;
    height: 100%;
    min-height: 280px;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
}

.slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide.active {
    opacity: 1;
}

.slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.6) 100%);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 60%;
}

.slide-title {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0 0 0.8rem 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    line-height: 1.1;
}

.slide-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0 0 1.5rem 0;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--login-btn-bg-start), var(--login-btn-bg-end));
    border: 1px solid rgba(102,192,244,0.4);
    color: #fff;
    padding: 0.7rem 1.2rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(102,192,244,0.22);
    align-self: flex-start;
    text-decoration: none;
}

.slide-btn:hover {
    background: linear-gradient(135deg, var(--login-btn-hover-start), var(--login-btn-hover-end));
    border-color: rgba(102,192,244,0.6);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102,192,244,0.35);
}

.slider-nav {
    position: absolute;
    top: 50%;
    right: 1.5rem;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 3;
}

.nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.nav-btn:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.4);
    transform: scale(1.05);
}

.slider-indicators {
    position: absolute;
    bottom: 1.5rem;
    left: 2rem;
    display: flex;
    gap: 0.5rem;
    z-index: 3;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.4);
    transition: all 0.3s ease;
}

.indicator.active {
    background: #fff;
    transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .slide-content {
        max-width: 70%;
        padding: 1.5rem;
    }
    .slide-title { font-size: 1.8rem; }
}

@media (max-width: 575.98px) {
    .slide-content {
        max-width: 85%;
        padding: 1.2rem;
    }
    .slide-title { font-size: 1.5rem; }
    .slide-subtitle { font-size: 0.9rem; }
    .slider-nav { right: 1rem; }
    .slider-indicators { left: 1.2rem; bottom: 1.2rem; }
}

/* =========================
   Hero Section
   ========================= */
.hero-section {
    margin-top: 1rem;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: center;
    padding: 1.2rem 8.5rem;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    background: linear-gradient(135deg, rgba(21,21,21,0.9) 0%, rgba(30,30,30,0.8) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
}

.hero-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(102,192,244,0.05), transparent);
    z-index: -1;
}

.hero-content {
    z-index: 2;
}

.hero-title {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 0.9;
    margin: 0 0 0.6rem 0;
    text-transform: uppercase;
    background: linear-gradient(135deg, #66c0f4 0%, #a855f7 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(102,192,244,0.3);
}

.hero-subtitle {
    color: rgba(255,255,255,0.85);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0 0 1rem 0;
    max-width: 90%;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--login-btn-bg-start), var(--login-btn-bg-end));
    border: 1px solid rgba(102,192,244,0.4);
    color: #fff;
    padding: 0.9rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(102,192,244,0.25);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-btn:hover {
    background: linear-gradient(135deg, var(--login-btn-hover-start), var(--login-btn-hover-end));
    border-color: rgba(102,192,244,0.6);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102,192,244,0.4);
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-logo {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(168,85,247,0.4));
    transition: transform 0.3s ease;
}

.hero-logo:hover {
    transform: scale(1.05);
}

/* Responsive adjustments for hero section */
@media (max-width: 991.98px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.2rem 1rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        max-width: 100%;
        margin-bottom: 0.8rem;
    }
}

@media (max-width: 767.98px) {
    .hero-container {
        padding: 1rem 0.8rem;
        gap: 0.8rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 0.4rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 575.98px) {
    .hero-container {
        padding: 0.8rem 0.6rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
        line-height: 1.1;
        margin-bottom: 0.3rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 0.6rem;
    }
    
    .hero-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

/* =========================
   Statistics Section
   ========================= */
.statistics-section {
    margin-top: 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.stat-card {
    /*! align-items: center; */
    gap: 0.8rem;
}

.stat-card:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

.stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    color: #66c0f4;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.stat-content {
    min-width: 0;
    flex: 1;
}

.stat-value {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.2rem;
}

.stat-label {
    color: rgba(255,255,255,0.7);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* VIP Card Special Styling with Pulse Animation */
.vip-card {
    border: 1px solid rgba(255,193,7,0.4);
    background: linear-gradient(135deg, rgba(255,193,7,0.08) 0%, rgba(255,193,7,0.03) 100%);
    position: relative;
    overflow: hidden;
}

.vip-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, transparent, rgba(255,193,7,0.3), transparent);
    border-radius: 12px;
    z-index: -1;
    animation: vip-pulse 2s ease-in-out infinite;
}

.vip-card .stat-icon {
    background: rgba(255,193,7,0.15);
    color: #ffc107;
    box-shadow: 0 0 20px rgba(255,193,7,0.2);
    position: relative;
    z-index: 2;
}

.vip-card .stat-icon i {
    display: block;
    font-size: 1.3rem;
    line-height: 1;
}

.vip-card .stat-value {
    color: #ffc107;
    text-shadow: 0 0 10px rgba(255,193,7,0.3);
}

.vip-card .stat-label {
    color: rgba(255,193,7,0.9);
}

@keyframes vip-pulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.02);
    }
}

/* Responsive adjustments */
@media (max-width: 1199.98px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.9rem;
    }
}

@media (max-width: 991.98px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    .stat-card {
        padding: 0.9rem 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.6rem;
    }
    .stat-icon {
        align-self: center;
        margin-bottom: 0.2rem;
    }
    .stat-value { font-size: 1.5rem; }
    .stat-label { font-size: 0.55rem; }
}

@media (max-width: 767.98px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.7rem;
    }
    .stat-card {
        padding: 0.8rem;
        min-height: 100px;
    }
    .stat-value { font-size: 1.3rem; }
    .stat-label { 
        font-size: 0.65rem;
        letter-spacing: 0.3px;
    }
}

@media (max-width: 575.98px) {
    .statistics-section {
        margin-top: 0.8rem;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    .stat-card {
        padding: 0.7rem 0.6rem;
        gap: 0.4rem;
        min-height: 90px;
    }
    .stat-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    .stat-value { 
        font-size: 1.1rem;
        margin-bottom: 0.1rem;
    }
    .stat-label { 
        font-size: 0.6rem;
        letter-spacing: 0.2px;
    }
    .vip-card .stat-icon i {
        font-size: 1rem;
    }
}

@media (max-width: 479.98px) {
    .stats-grid {
        gap: 0.4rem;
    }
    .stat-card {
        padding: 0.6rem 0.5rem;
        min-height: 80px;
    }
    .stat-icon {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }
    .stat-value { font-size: 1rem; }
    .stat-label { 
        font-size: 0.55rem;
        letter-spacing: 0.1px;
    }
}

/* =========================
   Punishment System Section
   ========================= */
.punishment-system {
    margin: 2rem 0;
}

.punishment-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.punishment-title {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0 0 0.8rem 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #66c0f4 0%, #a855f7 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(102,192,244,0.3);
}

.punishment-subtitle {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.punishment-categories {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.2rem;
    margin-top: 2rem;
}

.punishment-card {
    background: linear-gradient(135deg, rgba(21,21,21,0.9) 0%, rgba(30,30,30,0.8) 100%);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    padding: 1.8rem 1.5rem;
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    cursor: pointer;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.punishment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(255,255,255,0.02), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.punishment-card:hover::before {
    opacity: 1;
}

.punishment-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255,255,255,0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.punishment-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.punishment-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.punishment-name {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 0.8rem 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.punishment-count {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.count-number {
    color: #fff;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
}

.count-label {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* Individual punishment card styling */
.punishment-card.bans {
    border-left: 4px solid #dc3545;
}

.punishment-card.bans .punishment-icon {
    background: linear-gradient(135deg, rgba(220,53,69,0.2), rgba(220,53,69,0.1));
    color: #dc3545;
    box-shadow: 0 0 20px rgba(220,53,69,0.2);
}

.punishment-card.bans:hover {
    border-color: rgba(220,53,69,0.4);
    box-shadow: 0 20px 40px rgba(220,53,69,0.15);
}

.punishment-card.bans .count-number {
    color: #dc3545;
}


.punishment-card.mutes {
    border-left: 4px solid #fd7e14;
}

.punishment-card.mutes .punishment-icon {
    background: linear-gradient(135deg, rgba(253,126,20,0.2), rgba(253,126,20,0.1));
    color: #fd7e14;
    box-shadow: 0 0 20px rgba(253,126,20,0.2);
}

.punishment-card.mutes:hover {
    border-color: rgba(253,126,20,0.4);
    box-shadow: 0 20px 40px rgba(253,126,20,0.15);
}

.punishment-card.mutes .count-number {
    color: #fd7e14;
}


.punishment-card.gags {
    border-left: 4px solid #6f42c1;
}

.punishment-card.gags .punishment-icon {
    background: linear-gradient(135deg, rgba(111,66,193,0.2), rgba(111,66,193,0.1));
    color: #6f42c1;
    box-shadow: 0 0 20px rgba(111,66,193,0.2);
}

.punishment-card.gags:hover {
    border-color: rgba(111,66,193,0.4);
    box-shadow: 0 20px 40px rgba(111,66,193,0.15);
}

.punishment-card.gags .count-number {
    color: #6f42c1;
}


.punishment-card.kicks {
    border-left: 4px solid #ffc107;
}

.punishment-card.kicks .punishment-icon {
    background: linear-gradient(135deg, rgba(255,193,7,0.2), rgba(255,193,7,0.1));
    color: #ffc107;
    box-shadow: 0 0 20px rgba(255,193,7,0.2);
}

.punishment-card.kicks:hover {
    border-color: rgba(255,193,7,0.4);
    box-shadow: 0 20px 40px rgba(255,193,7,0.15);
}

.punishment-card.kicks .count-number {
    color: #ffc107;
}


.punishment-card.warnings {
    border-left: 4px solid #20c997;
}

.punishment-card.warnings .punishment-icon {
    background: linear-gradient(135deg, rgba(32,201,151,0.2), rgba(32,201,151,0.1));
    color: #20c997;
    box-shadow: 0 0 20px rgba(32,201,151,0.2);
}

.punishment-card.warnings:hover {
    border-color: rgba(32,201,151,0.4);
    box-shadow: 0 20px 40px rgba(32,201,151,0.15);
}

.punishment-card.warnings .count-number {
    color: #20c997;
}


/* Responsive Design */
@media (max-width: 1399.98px) {
    .punishment-categories {
        gap: 1rem;
    }
    
    .punishment-card {
        padding: 1.5rem 1.2rem;
        min-height: 200px;
    }
    
    .punishment-name {
        font-size: 1.2rem;
    }
    
    .count-number {
        font-size: 1.8rem;
    }
}

@media (max-width: 1199.98px) {
    .punishment-categories {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .punishment-title {
        font-size: 2rem;
    }
}

@media (max-width: 991.98px) {
    .punishment-categories {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .punishment-card {
        min-height: 180px;
    }
    
    .punishment-title {
        font-size: 1.8rem;
    }
    
    .punishment-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 767.98px) {
    .punishment-system {
        margin: 1.5rem 0;
    }
    
    .punishment-header {
        margin-bottom: 2rem;
    }
    
    .punishment-categories {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .punishment-card {
        padding: 1.5rem;
        min-height: 160px;
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }
    
    .punishment-icon {
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .punishment-content {
        flex: 1;
    }
    
    
    .punishment-title {
        font-size: 1.6rem;
    }
    
    .punishment-subtitle {
        font-size: 0.95rem;
    }
}

@media (max-width: 575.98px) {
    .punishment-card {
        padding: 1.2rem;
        min-height: 140px;
    }
    
    .punishment-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .punishment-name {
        font-size: 1.1rem;
    }
    
    .count-number {
        font-size: 1.6rem;
    }
    
    .count-label {
        font-size: 0.8rem;
    }
    
    
    .punishment-title {
        font-size: 1.4rem;
    }
    
    .punishment-subtitle {
        font-size: 0.9rem;
    }
}

/* =========================
   Punishment Table Section
   ========================= */
.punishment-table-section {
    margin: 2rem 0;
}

.table-header {
    text-align: center;
    margin-bottom: 2rem;
}

.table-title {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0 0 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table-subtitle {
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
}

.table-responsive {
    background: linear-gradient(135deg, rgba(21,21,21,0.9) 0%, rgba(30,30,30,0.8) 100%);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.punishment-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    background: transparent;
    table-layout: auto;
}

.punishment-table thead {
    background: linear-gradient(135deg, rgba(102,192,244,0.15) 0%, rgba(168,85,247,0.15) 100%);
    border-bottom: 2px solid rgba(102,192,244,0.2);
}

.punishment-table th {
    padding: 1.2rem 1.5rem;
    text-align: left;
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    position: relative;
}

.punishment-table th:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: rgba(255,255,255,0.1);
}

.punishment-table tbody tr {
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s ease;
}

.punishment-table tbody tr:hover {
    background: rgba(255,255,255,0.03);
    transform: scale(1.01);
}

.punishment-table tbody tr:last-child {
    border-bottom: none;
}

.punishment-table td {
    padding: 1.2rem 1.5rem;
    border: none;
    vertical-align: middle;
}

.punishment-table th:nth-child(1),
.punishment-table td:nth-child(1) {
    width: 8%;
}

.punishment-table th:nth-child(2),
.punishment-table td:nth-child(2) {
    width: 12%;
}

.punishment-table th:nth-child(3),
.punishment-table td:nth-child(3) {
    width: 12%;
}

.punishment-table th:nth-child(4),
.punishment-table td:nth-child(4) {
    width: 20%;
}

.punishment-table th:nth-child(5),
.punishment-table td:nth-child(5) {
    width: 10%;
}

.punishment-table th:nth-child(6),
.punishment-table td:nth-child(6) {
    width: 10%;
}

.punishment-table th:nth-child(7),
.punishment-table td:nth-child(7) {
    width: 12%;
}

.punishment-table th:nth-child(8),
.punishment-table td:nth-child(8) {
    width: 16%;
}

.punishment-table .badge {
    display: inline-block;
    white-space: nowrap;
    padding: 0.4rem 0.8rem;
}

.player-info, .moderator-info, .reason-info, .date-info, .expiry-info {
    display: flex;
    align-items: center;
}

.player-name {
    color: #66c0f4;
    font-weight: 700;
    font-size: 0.95rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.moderator-name {
    color: #a855f7;
    font-weight: 600;
    font-size: 0.9rem;
}

.reason-text {
    color: #ffa76b;
    font-weight: 500;
    font-size: 0.9rem;
    background: rgba(255,167,107,0.1);
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    border: 1px solid rgba(255,167,107,0.2);
}

.date-text {
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    font-size: 0.85rem;
    font-family: 'Courier New', monospace;
}

.expiry-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid;
    text-align: center;
    min-width: 120px;
}

.expiry-badge.permanent {
    background: linear-gradient(135deg, rgba(220,53,69,0.2), rgba(220,53,69,0.1));
    border-color: rgba(220,53,69,0.4);
    color: #dc3545;
    box-shadow: 0 0 10px rgba(220,53,69,0.2);
}

.expiry-badge.temporary {
    background: linear-gradient(135deg, rgba(255,193,7,0.2), rgba(255,193,7,0.1));
    border-color: rgba(255,193,7,0.4);
    color: #ffc107;
    box-shadow: 0 0 10px rgba(255,193,7,0.2);
}

/* Responsive Design for Table */
@media (max-width: 1199.98px) {
    .punishment-table th,
    .punishment-table td {
        padding: 1rem 1.2rem;
    }
    
    .table-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 991.98px) {
    .punishment-table th,
    .punishment-table td {
        padding: 0.8rem 1rem;
    }
    
    .player-name,
    .moderator-name,
    .reason-text,
    .date-text {
        font-size: 0.85rem;
    }
    
    .expiry-badge {
        min-width: 100px;
        font-size: 0.7rem;
    }
}

@media (max-width: 767.98px) {
    .table-responsive {
        border-radius: 12px;
    }
    
    .punishment-table {
        font-size: 0.8rem;
    }
    
    .punishment-table th,
    .punishment-table td {
        padding: 0.7rem 0.8rem;
    }
    
    .punishment-table th {
        font-size: 0.8rem;
    }
    
    .player-name,
    .moderator-name {
        font-size: 0.8rem;
    }
    
    .reason-text {
        font-size: 0.75rem;
        padding: 0.2rem 0.4rem;
    }
    
    .date-text {
        font-size: 0.75rem;
    }
    
    .expiry-badge {
        min-width: 80px;
        font-size: 0.65rem;
        padding: 0.3rem 0.5rem;
    }
    
    .table-title {
        font-size: 1.4rem;
    }
    
    .table-subtitle {
        font-size: 0.9rem;
    }
}

@media (max-width: 575.98px) {
    .punishment-table-section {
        margin: 1.5rem 0;
    }
    
    .table-header {
        margin-bottom: 1.5rem;
    }
    
    .punishment-table th,
    .punishment-table td {
        padding: 0.6rem 0.5rem;
    }
    
    .punishment-table th {
        font-size: 0.75rem;
    }
    
    .player-name,
    .moderator-name,
    .reason-text,
    .date-text {
        font-size: 0.75rem;
    }
    
    .expiry-badge {
        min-width: 70px;
        font-size: 0.6rem;
        padding: 0.25rem 0.4rem;
    }
    
    .table-title {
        font-size: 1.2rem;
    }
    
    .table-subtitle {
        font-size: 0.85rem;
    }
}

/* Mobile Card Layout for Small Screens */
@media (max-width: 768px) {
    .table-responsive {
        background: transparent;
        border: none;
        box-shadow: none;
    }
    
    .punishment-table,
    .punishment-table thead,
    .punishment-table tbody,
    .punishment-table th,
    .punishment-table td,
    .punishment-table tr {
        display: block;
    }
    
    .punishment-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    
    .punishment-table tbody tr {
        background: linear-gradient(135deg, rgba(21,21,21,0.95) 0%, rgba(30,30,30,0.9) 100%);
        border-radius: 16px;
        border: 1px solid rgba(102,192,244,0.2);
        margin-bottom: 1.5rem;
        padding: 1.5rem;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    }
    
    .punishment-table tbody tr:hover {
        transform: none;
        border-color: rgba(102,192,244,0.4);
    }
    
    .punishment-table td {
        border: none;
        position: relative;
        padding: 0.9rem 0 !important;
        text-align: left;
        display: grid;
        grid-template-columns: 130px 1fr;
        gap: 1rem;
        align-items: center;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    
    .punishment-table td:last-child {
        border-bottom: none;
    }
    
    .punishment-table td:before {
        content: attr(data-label);
        font-weight: 700;
        color: rgba(102,192,244,0.9);
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .punishment-table td > div,
    .punishment-table td > span {
        text-align: left;
    }
    
    .punishment-table .player-info,
    .punishment-table .moderator-info,
    .punishment-table .reason-info,
    .punishment-table .date-info,
    .punishment-table .expiry-info {
        display: block;
        width: 100%;
    }
    
    .punishment-table td:nth-child(1):before { content: "ТИП:"; }
    .punishment-table td:nth-child(2):before { content: "ИГРАЧ:"; }
    .punishment-table td:nth-child(3):before { content: "МОДЕРАТОР:"; }
    .punishment-table td:nth-child(4):before { content: "ПРИЧИНА:"; }
    .punishment-table td:nth-child(5):before { content: "ДАТА:"; }
    .punishment-table td:nth-child(6):before { content: "ВРЕМЕТРАЕНЕ:"; }
    .punishment-table td:nth-child(7):before { content: "ИЗТИЧА:"; }
    .punishment-table td:nth-child(8):before { content: "СТАТУС:"; }
    
    .punishment-table .badge {
        font-size: 0.75rem;
        padding: 0.35rem 0.7rem;
        display: inline-block;
        white-space: nowrap;
    }
    
    .punishment-table .player-name,
    .punishment-table .moderator-name {
        font-size: 0.95rem;
        font-weight: 600;
    }
    
    .punishment-table .reason-text {
        font-size: 0.85rem;
        padding: 0.3rem 0.6rem;
        display: inline-block;
    }
    
    .punishment-table .date-text {
        font-size: 0.85rem;
        font-family: 'Courier New', monospace;
    }
    
    .punishment-table .expiry-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
        min-width: auto;
    }
    
    .punishment-table td:nth-child(1) > div {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
}

/* =========================
   Statistics Section
   ========================= */
.statistics-section {
    margin: 2rem 0;
    padding: 0;
}

/* Homepage Statistics Section - Unique Classes */
.homepage-statistics-section {
    margin: 0.5rem 0;
    padding: 0;
}

.homepage-stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.3rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Homepage Statistics Cards */
.homepage-stat-card {
    background: linear-gradient(135deg, 
        rgba(30, 40, 55, 0.95) 0%, 
        rgba(20, 30, 45, 0.9) 50%, 
        rgba(25, 35, 50, 0.92) 100%);
    border-radius: 8px;
    border: 1px solid rgba(102, 192, 244, 0.15);
    padding: 0.6rem 0.8rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.6rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
    height: 60px;
    min-height: 60px;
    max-height: 60px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.homepage-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(102, 192, 244, 0.1) 0%, 
        rgba(147, 197, 253, 0.05) 50%, 
        rgba(102, 192, 244, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.homepage-stat-card:hover {
    transform: translateY(-3px);
    border-color: rgba(102, 192, 244, 0.4);
    box-shadow: 0 12px 32px rgba(102, 192, 244, 0.15);
    background: linear-gradient(135deg, 
        rgba(35, 45, 60, 0.98) 0%, 
        rgba(25, 35, 50, 0.95) 50%, 
        rgba(30, 40, 55, 0.97) 100%);
}

.homepage-stat-card:hover::before {
    opacity: 1;
}

.homepage-stat-card .stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: linear-gradient(135deg, 
        rgba(102, 192, 244, 0.25) 0%, 
        rgba(147, 197, 253, 0.15) 50%, 
        rgba(102, 192, 244, 0.2) 100%);
    color: #66c0f4;
    font-size: 1rem;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(102, 192, 244, 0.1);
    transition: all 0.3s ease;
}

.homepage-stat-card.vip-card {
    height: 60px !important;
    min-height: 60px !important;
    max-height: 60px !important;
    background: linear-gradient(135deg, 
        rgba(255, 193, 7, 0.15) 0%, 
        rgba(255, 152, 0, 0.12) 25%, 
        rgba(255, 87, 34, 0.08) 50%, 
        rgba(255, 152, 0, 0.12) 75%, 
        rgba(255, 193, 7, 0.15) 100%) !important;
    border: 1px solid rgba(255, 193, 7, 0.3) !important;
    padding: 0.6rem 0.8rem !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.6rem !important;
    position: relative !important;
    overflow: hidden !important;
}

.homepage-stat-card.vip-card::before {
    content: '' !important;
    position: absolute !important;
    top: -50% !important;
    left: -50% !important;
    width: 200% !important;
    height: 200% !important;
    background: linear-gradient(45deg, 
        transparent 40%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 60%) !important;
    animation: vip-shine 3s ease-in-out infinite !important;
    z-index: 1 !important;
}

@keyframes vip-shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    50% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
    100% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
}

.homepage-stat-card.vip-card .stat-icon {
    background: rgba(255, 193, 7, 0.25) !important;
    color: #ffc107 !important;
    width: 28px !important;
    height: 28px !important;
    font-size: 1rem !important;
    box-shadow: 0 0 8px rgba(255, 193, 7, 0.3) !important;
    z-index: 3 !important;
}

.homepage-stat-card.vip-card .stat-content {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.1rem !important;
    position: relative !important;
    z-index: 2 !important;
}

.homepage-stat-card.vip-card .stat-value {
    color: #ffffff !important;
    text-shadow: 0 0 8px rgba(255, 193, 7, 0.6) !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    position: relative !important;
    z-index: 3 !important;
    user-select: text !important;
    pointer-events: auto !important;
}

.homepage-stat-card.vip-card .stat-label {
    color: #ffffff !important;
    font-size: 0.75rem !important;
    line-height: 1 !important;
    position: relative !important;
    z-index: 3 !important;
    user-select: text !important;
    pointer-events: auto !important;
}

.homepage-stat-card .stat-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    position: relative;
    z-index: 2;
}

.homepage-stat-card .stat-value {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.homepage-stat-card .stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin: 0;
    transition: all 0.3s ease;
}

.homepage-stat-card:hover .stat-icon {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(102, 192, 244, 0.2);
    color: #93c5fd;
}

.homepage-stat-card:hover .stat-value {
    color: #93c5fd;
    text-shadow: 0 2px 6px rgba(147, 197, 253, 0.3);
}

.homepage-stat-card:hover .stat-label {
    color: rgba(147, 197, 253, 0.9);
}

/* Responsive styles for homepage stat cards */
@media (max-width: 1199.98px) {
    .homepage-stat-card {
        padding: 0.5rem 0.7rem;
        gap: 0.5rem;
        height: 55px;
        min-height: 55px;
        max-height: 55px;
    }
    
    .homepage-stat-card .stat-icon {
        width: 24px;
        height: 24px;
        font-size: 0.9rem;
    }
    
    .homepage-stat-card .stat-value {
        font-size: 1.1rem;
    }
    
    .homepage-stat-card .stat-label {
        font-size: 0.7rem;
    }
    
    .homepage-stat-card.vip-card {
        height: 55px !important;
        min-height: 55px !important;
        max-height: 55px !important;
        padding: 0.5rem 0.7rem !important;
    }
    
    .homepage-stat-card.vip-card .stat-icon {
        width: 24px !important;
        height: 24px !important;
        font-size: 0.9rem !important;
    }
    
    .homepage-stat-card.vip-card .stat-value {
        font-size: 1.1rem !important;
    }
    
    .homepage-stat-card.vip-card .stat-label {
        font-size: 0.7rem !important;
    }
}

@media (max-width: 991.98px) {
    .homepage-stat-card {
        padding: 0.4rem 0.6rem;
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
        height: 50px;
        min-height: 50px;
        max-height: 50px;
    }
    
    .homepage-stat-card .stat-icon {
        width: 20px;
        height: 20px;
        font-size: 0.8rem;
    }
    
    .homepage-stat-card .stat-value {
        font-size: 1rem;
    }
    
    .homepage-stat-card .stat-label {
        font-size: 0.65rem;
    }
    
    .homepage-stat-card.vip-card {
        height: 50px !important;
        min-height: 50px !important;
        max-height: 50px !important;
        padding: 0.4rem 0.6rem !important;
    }
    
    .homepage-stat-card.vip-card .stat-icon {
        width: 20px !important;
        height: 20px !important;
        font-size: 0.8rem !important;
    }
    
    .homepage-stat-card.vip-card .stat-value {
        font-size: 1rem !important;
    }
    
    .homepage-stat-card.vip-card .stat-label {
        font-size: 0.65rem !important;
    }
}

@media (max-width: 767.98px) {
    .homepage-stat-card {
        padding: 0.3rem 0.5rem;
        flex-direction: row;
        align-items: center;
        gap: 0.4rem;
        height: 45px;
        min-height: 45px;
        max-height: 45px;
    }
    
    .homepage-stat-card .stat-icon {
        width: 18px;
        height: 18px;
        font-size: 0.75rem;
    }
    
    .homepage-stat-card .stat-value {
        font-size: 0.9rem;
    }
    
    .homepage-stat-card .stat-label {
        font-size: 0.6rem;
    }
    
    .homepage-stat-card.vip-card {
        height: 45px !important;
        min-height: 45px !important;
        max-height: 45px !important;
        padding: 0.3rem 0.5rem !important;
    }
    
    .homepage-stat-card.vip-card .stat-icon {
        width: 18px !important;
        height: 18px !important;
        font-size: 0.75rem !important;
    }
    
    .homepage-stat-card.vip-card .stat-value {
        font-size: 0.9rem !important;
    }
    
    .homepage-stat-card.vip-card .stat-label {
        font-size: 0.6rem !important;
    }
}

@media (max-width: 575.98px) {
    .homepage-stat-card {
        padding: 0.25rem 0.4rem;
        flex-direction: row;
        align-items: center;
        gap: 0.3rem;
        height: 40px;
        min-height: 40px;
        max-height: 40px;
    }
    
    .homepage-stat-card .stat-icon {
        width: 16px;
        height: 16px;
        font-size: 0.7rem;
    }
    
    .homepage-stat-card .stat-value {
        font-size: 0.8rem;
    }
    
    .homepage-stat-card .stat-label {
        font-size: 0.55rem;
    }
    
    .homepage-stat-card.vip-card {
        height: 40px !important;
        min-height: 40px !important;
        max-height: 40px !important;
        padding: 0.25rem 0.4rem !important;
    }
    
    .homepage-stat-card.vip-card .stat-icon {
        width: 16px !important;
        height: 16px !important;
        font-size: 0.7rem !important;
    }
    
    .homepage-stat-card.vip-card .stat-value {
        font-size: 0.8rem !important;
    }
    
    .homepage-stat-card.vip-card .stat-label {
        font-size: 0.55rem !important;
    }
}

/* Responsive styles for homepage stats grid */
@media (max-width: 1199.98px) {
    .homepage-stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.4rem;
    }
}

@media (max-width: 991.98px) {
    .homepage-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.4rem;
    }
}

@media (max-width: 767.98px) {
    .homepage-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.3rem;
    }
}

@media (max-width: 575.98px) {
    .homepage-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.25rem;
    }
}

@media (max-width: 479.98px) {
    .homepage-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.2rem;
    }
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 0 1.5rem;
    margin: 0 auto;
}

.stat-card {
    background: linear-gradient(135deg, 
        rgba(15, 15, 15, 0.95) 0%, 
        rgba(25, 25, 25, 0.9) 50%, 
        rgba(15, 15, 15, 0.95) 100%);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    min-height: 140px;
    display: flex;
    flex-direction: column;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(102, 192, 244, 0.05) 0%, 
        transparent 50%, 
        rgba(102, 192, 244, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-8px);
    border-color: rgba(102, 192, 244, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-title {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 1.2rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Recent Payments Card */
.recent-payments {
    min-height: 140px;
}

.payment-avatars {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.payment-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(102, 192, 244, 0.4);
    transition: all 0.3s ease;
    position: relative;
}

.payment-avatar:hover {
    border-color: rgba(102, 192, 244, 0.8);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(102, 192, 244, 0.3);
}

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

/* Webstore Goal Card */
.webstore-goal {
    min-height: 140px;
}

.goal-progress {
    text-align: center;
    width: 100%;
    position: relative;
    z-index: 2;
}

.goal-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #007bff, #66c0f4);
    border-radius: 5px;
    transition: width 0.8s ease-out;
    position: relative;
    will-change: width;
    box-shadow: 0 2px 8px rgba(102, 192, 244, 0.3);
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.4) 50%, 
        transparent 100%);
    animation: shimmer 3s ease-in-out infinite;
    transform: translateX(-100%);
}

@keyframes shimmer {
    0% { 
        transform: translateX(-100%); 
        opacity: 0;
    }
    50% { 
        opacity: 1;
    }
    100% { 
        transform: translateX(100%); 
        opacity: 0;
    }
}

/* Top Client Card */
.top-client {
    min-height: 140px;
}

.client-profile {
    text-align: center;
    position: relative;
    z-index: 2;
}

.client-avatar {
    position: relative;
    width: 52px;
    height: 52px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 215, 0, 0.6);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

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

.crown-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

.client-name {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.client-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid rgba(255, 215, 0, 0.4);
    border-radius: 20px;
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    color: rgba(255, 215, 0, 0.95);
    font-weight: 600;
}

.client-badge i {
    color: #ffd700;
    font-size: 0.9rem;
}

/* Online Users Card */
.online-users {
    min-height: 140px;
}

.users-stats {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    position: relative;
    z-index: 2;
}

.user-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.4rem 0.6rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.user-stat:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(102, 192, 244, 0.3);
    transform: translateY(-2px);
}

.user-stat-left {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.user-stat i {
    color: #66c0f4;
    font-size: 1rem;
    width: 18px;
    text-align: center;
}

.stat-label {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8rem;
    font-weight: 500;
}

.stat-number {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    background: rgba(102, 192, 244, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    min-width: 24px;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1199.98px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
        padding: 0 1rem;
    }
    
    .stat-card {
        min-height: 120px;
    }
    
    .stat-title {
        font-size: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .payment-avatars {
        gap: 0.5rem;
    }
    
    .payment-avatar {
        width: 32px;
        height: 32px;
    }
    
    .client-avatar {
        width: 46px;
        height: 46px;
    }
    
    .goal-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 991.98px) {
    .stats-container {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    .stat-card {
        min-height: 100px;
    }
}

@media (max-width: 767.98px) {
    .statistics-section {
        margin: 1.5rem 0;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        padding: 0 0.5rem;
    }
    
    .stat-card {
        padding: 1.2rem;
        min-height: 90px;
    }
    
    .stat-title {
        font-size: 0.7rem;
        margin-bottom: 0.8rem;
    }
    
    .payment-avatars {
        gap: 0.4rem;
    }
    
    .payment-avatar {
        width: 30px;
        height: 30px;
    }
    
    .client-avatar {
        width: 42px;
        height: 42px;
        margin-bottom: 0.8rem;
    }
    
    .client-name {
        font-size: 0.95rem;
    }
    
    .client-badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }
    
    .goal-text {
        font-size: 0.75rem;
    }
    
    .users-stats {
        gap: 0.4rem;
    }
    
    .user-stat {
        padding: 0.3rem 0.5rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .stat-number {
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .stats-container {
        padding: 0 0.25rem;
        gap: 0.6rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .payment-avatar {
        width: 26px;
        height: 26px;
    }
    
    .client-avatar {
        width: 38px;
        height: 38px;
    }
}

/* =========================
   Leaderboard Section
   ========================= */
.leaderboard-section {
    margin: 2rem 0;
    padding: 0;
}

.leaderboard-header {
    margin-bottom: 2rem;
    text-align: center;
}

.leaderboard-title {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: lowercase;
    letter-spacing: 1px;
    margin: 0;
    padding: 1rem 0;
}

.leaderboard-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

.leaderboard-item {
    background: linear-gradient(135deg, 
        rgba(20, 20, 20, 0.95) 0%, 
        rgba(30, 30, 30, 0.9) 50%, 
        rgba(20, 20, 20, 0.95) 100%);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    padding: 1.2rem 1.5rem;
    display: grid;
    grid-template-columns: 3fr 2fr;
    align-items: center;
    gap: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.leaderboard-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(102, 192, 244, 0.05) 0%, 
        transparent 50%, 
        rgba(102, 192, 244, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.leaderboard-item:hover {
    transform: translateY(-2px);
    border-color: rgba(102, 192, 244, 0.3);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.leaderboard-item:hover::before {
    opacity: 1;
}

/* Player Info Section */
.player-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 2;
    justify-self: start;
    width: 100%;
}

.player-avatar {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(102, 192, 244, 0.4);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.player-avatar:hover {
    border-color: rgba(102, 192, 244, 0.8);
    transform: scale(1.05);
}

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

.player-details {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    min-width: 0;
}

.player-name {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-points {
    color: #66c0f4;
    font-size: 1.1rem;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(102, 192, 244, 0.3);
}

/* Rank Badge Section */
.rank-badge {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
    justify-self: center;
}

.rank-img {
    width: 60px;
    height: auto;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.rank-img:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Player Stats Section */
.player-stats {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    text-align: right;
    position: relative;
    z-index: 2;
    justify-self: end;
    width: 100%;
    justify-content: space-between;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.2rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .leaderboard-container {
        padding: 0 0.5rem;
    }
    
    .leaderboard-item {
        padding: 1rem 1.2rem;
        grid-template-columns: 2fr 1.8fr;
        gap: 0.8rem;
    }
    
    .player-avatar {
        width: 45px;
        height: 45px;
    }
    
    .rank-img {
        width: 50px;
    }
}

@media (max-width: 767.98px) {
    .leaderboard-title {
        font-size: 1.5rem;
    }
    
    .leaderboard-item {
        padding: 1rem;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 1rem;
        text-align: center;
    }
    
    .player-info {
        justify-self: center;
        justify-content: center;
    }
    
    .rank-badge {
        justify-self: center;
    }
    
    .player-stats {
        justify-self: center;
        text-align: center;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;
        width: 100%;
        max-width: 300px;
    }
    
    .stat-item {
        flex-direction: column;
        gap: 0.3rem;
        background: rgba(255, 255, 255, 0.05);
        padding: 0.6rem 0.8rem;
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        text-align: center;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .stat-value {
        font-size: 0.9rem;
    }
}

@media (max-width: 575.98px) {
    .leaderboard-container {
        padding: 0 0.25rem;
        gap: 0.8rem;
    }
    
    .leaderboard-item {
        padding: 0.8rem;
    }
    
    .player-info {
        gap: 0.8rem;
    }
    
    .player-avatar {
        width: 40px;
        height: 40px;
    }
    
    .player-name {
        font-size: 0.9rem;
    }
    
    .player-points {
        font-size: 1rem;
    }
    
    .rank-img {
        width: 40px;
    }
}

/* =========================
   Leaderboard Table Section
   ========================= */
.leaderboard-table-section {
    margin: 3rem 0 2rem 0;
    padding: 0;
}

.table-header {
    text-align: center;
    margin-bottom: 2rem;
}

.table-title {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.table-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    margin: 0;
    font-weight: 400;
}

.table-responsive {
    background: linear-gradient(135deg, 
        rgba(15, 15, 15, 0.95) 0%, 
        rgba(25, 25, 25, 0.9) 50%, 
        rgba(15, 15, 15, 0.95) 100%);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    position: relative;
}

.table-responsive::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(102, 192, 244, 0.02) 0%, 
        transparent 50%, 
        rgba(102, 192, 244, 0.02) 100%);
    z-index: 1;
}

.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
    position: relative;
    z-index: 2;
}

.leaderboard-table thead th {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1.2rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 3;
}

.leaderboard-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.leaderboard-table tbody tr:hover {
    background: rgba(102, 192, 244, 0.05);
    transform: scale(1.01);
}

.leaderboard-table tbody td {
    padding: 1rem;
    vertical-align: middle;
}

/* Player Info in Table */
.player-info-table {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.player-avatar-table {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 2px solid rgba(102, 192, 244, 0.4);
    object-fit: cover;
    transition: all 0.3s ease;
}

.player-avatar-table:hover {
    border-color: rgba(102, 192, 244, 0.8);
    transform: scale(1.05);
}

.player-name-table {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.95rem;
}

/* FACEIT Level */
.faceit-level {
    display: flex;
    align-items: center;
}

.faceit-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* Points */
.points-info {
    text-align: left;
}

.points-number {
    color: #66c0f4;
    font-weight: 700;
    font-size: 1.1rem;
    text-shadow: 0 0 10px rgba(102, 192, 244, 0.3);
}

.rank-img-table {
    width: 50px;
    height: auto;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.rank-img-table:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Playtime */
.playtime-info {
    text-align: left;
}

.playtime-text {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.9rem;
}

/* KDR */
.kdr-info {
    text-align: left;
}

.kdr-number {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
    font-size: 1rem;
}

/* Responsive Design for Table */
@media (max-width: 991.98px) {
    .table-title {
        font-size: 1.5rem;
    }
    
    .leaderboard-table thead th {
        padding: 1rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .leaderboard-table tbody td {
        padding: 0.8rem;
    }
    
    .player-avatar-table {
        width: 35px;
        height: 35px;
    }
    
    .faceit-img {
        width: 28px;
        height: 28px;
    }
    
    .rank-img-table {
        width: 45px;
    }
}

@media (max-width: 767.98px) {
    .leaderboard-table,
    .leaderboard-table thead,
    .leaderboard-table tbody,
    .leaderboard-table th,
    .leaderboard-table td,
    .leaderboard-table tr {
        display: block;
    }
    
    .leaderboard-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    
    .leaderboard-table tbody tr {
        background: rgba(255, 255, 255, 0.02);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        margin-bottom: 1rem;
        padding: 1rem;
        position: relative;
        transition: all 0.3s ease;
    }
    
    .leaderboard-table tbody tr:hover {
        background: rgba(102, 192, 244, 0.05);
        border-color: rgba(102, 192, 244, 0.2);
        transform: translateY(-2px);
    }
    
    .leaderboard-table tbody td {
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        position: relative;
        padding: 0.8rem 0;
        padding-left: 45%;
        text-align: left;
    }
    
    .leaderboard-table tbody td:last-child {
        border-bottom: none;
    }
    
    .leaderboard-table tbody td:before {
        content: attr(data-label);
        position: absolute;
        left: 6px;
        width: 20%;
        padding-right: 50px;
        white-space: nowrap;
        color: rgba(255, 255, 255, 0.6);
        font-weight: 600;
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .player-info-table {
        justify-content: flex-start;
    }
    
    .faceit-level {
        justify-content: flex-start;
        margin-left: 0.9rem;
    }
    
    .rank-info {
        text-align: left;
    }
}

@media (max-width: 575.98px) {
    .table-title {
        font-size: 1.3rem;
    }
    
    .table-subtitle {
        font-size: 0.9rem;
    }
    
    .leaderboard-table tbody tr {
        padding: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .leaderboard-table tbody td {
        padding: 0.6rem 0;
        padding-left: 35%;
    }
    
    .player-avatar-table {
        width: 32px;
        height: 32px;
    }
    
    .player-name-table {
        font-size: 0.9rem;
    }
    
    .faceit-img {
        width: 24px;
        height: 24px;
    }
    
    .rank-img-table {
        width: 35px;
    }
}

/* =========================
   Store Section
   ========================= */
.store-section {
    margin: 2rem 0;
    padding: 0;
}



.vip-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.vip-card {
    background: linear-gradient(135deg, 
        rgba(15, 15, 15, 0.95) 0%, 
        rgba(25, 25, 25, 0.9) 25%, 
        rgba(35, 35, 35, 0.85) 50%, 
        rgba(25, 25, 25, 0.9) 75%, 
        rgba(15, 15, 15, 0.95) 100%);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    position: relative;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 480px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.vip-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: url('../images/ranksystem.webp') right center / cover no-repeat;
    opacity: 0.6;
    z-index: 1;
    filter: brightness(0.8) saturate(1.1);
}

.vip-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.3);
}

.vip-card.basic:hover {
    box-shadow: 0 20px 60px rgba(40, 167, 69, 0.4);
    border-color: rgba(40, 167, 69, 0.5);
}

.vip-card.premium:hover {
    box-shadow: 0 20px 60px rgba(111, 66, 193, 0.4);
    border-color: rgba(111, 66, 193, 0.6);
}

.vip-card.admin:hover {
    box-shadow: 0 20px 60px rgba(0, 123, 255, 0.4);
    border-color: rgba(0, 123, 255, 0.5);
}

.vip-card.basic {
    background: linear-gradient(135deg, 
        rgba(15, 50, 25, 0.95) 0%, 
        rgba(25, 40, 30, 0.9) 25%, 
        rgba(35, 45, 35, 0.85) 50%, 
        rgba(25, 40, 30, 0.9) 75%, 
        rgba(15, 50, 25, 0.95) 100%);
    border: 1px solid rgba(40, 167, 69, 0.3);
    box-shadow: 0 8px 32px rgba(40, 167, 69, 0.2);
}

.vip-card.basic::after {
    background: linear-gradient(135deg, 
        rgba(40, 167, 69, 0.1) 0%, 
        rgba(40, 167, 69, 0.05) 40%, 
        rgba(40, 167, 69, 0.02) 70%, 
        rgba(40, 167, 69, 0.08) 100%);
}

.vip-card.premium {
    background: linear-gradient(135deg, 
        rgba(40, 15, 60, 0.95) 0%, 
        rgba(50, 25, 70, 0.9) 25%, 
        rgba(60, 35, 80, 0.85) 50%, 
        rgba(50, 25, 70, 0.9) 75%, 
        rgba(40, 15, 60, 0.95) 100%);
    border: 1px solid rgba(111, 66, 193, 0.4);
    box-shadow: 0 8px 32px rgba(111, 66, 193, 0.25);
}

.vip-card.premium::after {
    background: linear-gradient(135deg, 
        rgba(111, 66, 193, 0.15) 0%, 
        rgba(111, 66, 193, 0.08) 40%, 
        rgba(111, 66, 193, 0.03) 70%, 
        rgba(111, 66, 193, 0.12) 100%);
}

.vip-card.admin {
    background: linear-gradient(135deg, 
        rgba(15, 35, 60, 0.95) 0%, 
        rgba(25, 45, 70, 0.9) 25%, 
        rgba(35, 55, 80, 0.85) 50%, 
        rgba(25, 45, 70, 0.9) 75%, 
        rgba(15, 35, 60, 0.95) 100%);
    border: 1px solid rgba(0, 123, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 123, 255, 0.2);
}

.vip-card.admin::after {
    background: linear-gradient(135deg, 
        rgba(0, 123, 255, 0.1) 0%, 
        rgba(0, 123, 255, 0.05) 40%, 
        rgba(0, 123, 255, 0.02) 70%, 
        rgba(0, 123, 255, 0.08) 100%);
}

.vip-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 3;
}

.vip-logo {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.vip-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1.2);
}

.vip-title {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    flex: 1;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.vip-discount {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: #fff;
    padding: 0.3rem 0.6rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

.vip-badge.best {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
    padding: 0.3rem 0.6rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.vip-price {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 3;
}

.price-dropdown {
    position: relative;
}

.price-select {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    appearance: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.price-select:focus {
    outline: none;
    border-color: rgba(102, 192, 244, 0.5);
    box-shadow: 0 0 0 2px rgba(102, 192, 244, 0.2);
}

.price-select option {
    background: #1a1a1a;
    color: #fff;
}

.vip-benefits {
    flex: 1;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 3;
}

.vip-benefits h4 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.benefits-scroll {
    max-height: 200px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.benefits-scroll::-webkit-scrollbar {
    width: 4px;
}

.benefits-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
}

.benefits-scroll::-webkit-scrollbar-thumb {
    background: rgba(102, 192, 244, 0.5);
    border-radius: 2px;
}

.benefits-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(102, 192, 244, 0.7);
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.benefit-item:last-child {
    border-bottom: none;
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.02);
    padding-left: 0.5rem;
    border-radius: 6px;
}

.benefit-item i {
    color: #28a745;
    font-size: 1rem;
    flex-shrink: 0;
}

.benefit-item span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.4;
}

.vip-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 3;
}

.price-display {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.purchase-btn {
    background: linear-gradient(135deg, #28a745, #20c997);
    border: none;
    color: #fff;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.purchase-btn:hover {
    background: linear-gradient(135deg, #20c997, #28a745);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

/* Premium card special styling */
.vip-card.premium .purchase-btn {
    background: linear-gradient(135deg, #6f42c1, #a855f7);
    box-shadow: 0 4px 15px rgba(111, 66, 193, 0.3);
}

.vip-card.premium .purchase-btn:hover {
    background: linear-gradient(135deg, #a855f7, #6f42c1);
    box-shadow: 0 6px 20px rgba(111, 66, 193, 0.4);
}

.vip-card.premium .benefit-item i {
    color: #6f42c1;
}

/* Admin card special styling */
.vip-card.admin .purchase-btn {
    background: linear-gradient(135deg, #007bff, #0056b3);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.vip-card.admin .purchase-btn:hover {
    background: linear-gradient(135deg, #0056b3, #007bff);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.vip-card.admin .benefit-item i {
    color: #007bff;
}

/* Responsive Design */
@media (max-width: 1199.98px) {
    .vip-cards-container {
        gap: 1.5rem;
        padding: 2.5rem 1.5rem;
    }
    
    .vip-card {
        min-height: 450px;
    }
}

@media (max-width: 991.98px) {
    .vip-cards-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 500px;
        padding: 2rem 1rem;
    }
    
    .vip-card {
        min-height: auto;
    }
    
}

@media (max-width: 767.98px) {
    .store-section {
        margin: 1.5rem 0;
    }
    
    
    .vip-cards-container {
        padding: 1.5rem 1rem;
    }
    
    .vip-card {
        padding: 1.2rem;
    }
    
    .vip-title {
        font-size: 1.2rem;
    }
    
    .benefits-scroll {
        max-height: 150px;
    }
    
    .vip-actions {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .purchase-btn {
        width: 100%;
        padding: 0.8rem;
    }
    
}

@media (max-width: 575.98px) {
    .vip-header {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
    }
    
    .vip-logo {
        width: 40px;
        height: 40px;
    }
    
    .vip-title {
        font-size: 1.1rem;
    }
    
    .price-display {
        font-size: 1.1rem;
    }
    
    .benefit-item span {
        font-size: 0.8rem;
    }
}

/* =========================
   Footer Section
   ========================= */
.footer-section {
    margin-top: 3rem;
    background: linear-gradient(135deg, rgba(13,13,13,0.95) 0%, rgba(21,21,21,0.9) 100%);
    border-top: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    position: relative;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(102,192,244,0.02), transparent);
    z-index: -1;
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand {
    flex: 1;
}

.footer-title {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #66c0f4 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-nav {
    display: flex;
    gap: 2.5rem;
    flex: 1;
    justify-content: center;
}

.footer-link {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #66c0f4, #a855f7);
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: #66c0f4;
    transform: translateY(-2px);
}

.footer-link:hover::after {
    width: 100%;
}

.footer-socials {
    display: flex;
    gap: 1rem;
    flex: 1;
    justify-content: flex-end;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(102,192,244,0.1), rgba(168,85,247,0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link:hover {
    background: rgba(102,192,244,0.12);
    border-color: rgba(102,192,244,0.3);
    color: #66c0f4;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102,192,244,0.2);
}

.social-link:hover::before {
    opacity: 1;
}

.footer-bottom {
    padding: 2rem 0;
    text-align: center;
}

.footer-text {
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0 0 0.8rem 0;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.footer-text:last-child {
    margin-bottom: 0;
}

/* Responsive adjustments for footer */
@media (max-width: 991.98px) {
    .footer-container {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        padding: 1.8rem 0;
    }
    
    .footer-nav {
        justify-content: center;
        gap: 2rem;
    }
    
    .footer-socials {
        justify-content: center;
    }
    
    .footer-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 767.98px) {
    .footer-section {
        margin-top: 2rem;
    }
    
    .footer-container {
        padding: 1.5rem 0;
        gap: 1.5rem;
    }
    
    .footer-nav {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .footer-socials {
        gap: 0.8rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .footer-bottom {
        padding: 1.5rem 0;
    }
    
    .footer-text {
        font-size: 0.85rem;
        margin-bottom: 0.6rem;
    }
}

@media (max-width: 575.98px) {
    .footer-container {
        padding: 1.2rem 0;
        gap: 1.2rem;
    }
    
    .footer-title {
        font-size: 1rem;
    }
    
    .footer-nav {
        gap: 1rem;
    }
    
    .footer-link {
        font-size: 0.85rem;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
    
    .footer-bottom {
        padding: 1.2rem 0;
    }
    
    .footer-text {
        font-size: 0.8rem;
        line-height: 1.6;
    }
}

/* ===== News Article Styles ===== */
.news-article {
    background: rgba(20, 25, 35, 0.95);
    border: 1px solid rgba(102, 192, 244, 0.2);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(102, 192, 244, 0.15), rgba(102, 192, 244, 0.05));
    border: 1px solid rgba(102, 192, 244, 0.3);
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-back:hover {
    background: linear-gradient(135deg, rgba(102, 192, 244, 0.25), rgba(102, 192, 244, 0.15));
    border-color: rgba(102, 192, 244, 0.5);
    color: #66c0f4;
    transform: translateX(-5px);
    box-shadow: 0 4px 12px rgba(102, 192, 244, 0.2);
}

.news-header {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(102, 192, 244, 0.2);
}

.news-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(102, 192, 244, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(102, 192, 244, 0.2);
}

.news-meta i {
    color: #66c0f4;
    font-size: 1.1rem;
}

.news-image-container {
    margin: 2.5rem 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(102, 192, 244, 0.2);
    max-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
}

.news-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    display: block;
}

.news-content {
    font-size: 1.15rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.9);
    margin: 2.5rem 0;
}

.news-content p {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.85);
}

.news-content ul, .news-content ol {
    margin: 2rem 0;
    padding-left: 2.5rem;
}

.news-content li {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

.news-content li::marker {
    color: #66c0f4;
}

.news-content h2, .news-content h3 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    font-weight: 700;
}

.news-content h2 {
    font-size: 2rem;
    border-left: 4px solid #66c0f4;
    padding-left: 1rem;
}

.news-content h3 {
    font-size: 1.5rem;
}

.news-share {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(102, 192, 244, 0.2);
}

.news-share h4 {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.share-buttons {
    display: flex;
    gap: 1rem;
}

.share-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(102, 192, 244, 0.3);
    background: rgba(102, 192, 244, 0.1);
    color: #ffffff;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.share-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(102, 192, 244, 0.4);
}

.share-btn.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: white;
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.4);
}

.share-btn.twitter:hover {
    background: #1da1f2;
    border-color: #1da1f2;
    color: white;
    box-shadow: 0 6px 20px rgba(29, 161, 242, 0.4);
}

.share-btn.copy:hover {
    background: #66c0f4;
    border-color: #66c0f4;
    color: white;
    box-shadow: 0 6px 20px rgba(102, 192, 244, 0.4);
}

/* Related News */
.related-news {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    text-align: center;
    width: 100%;
    position: relative;
    border-bottom: none;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 3px;
    background: #ff9800;
}

.news-card {
    display: block;
    background: rgba(20, 25, 35, 0.95);
    border: 1px solid rgba(102, 192, 244, 0.2);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    height: 100%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(102, 192, 244, 0.3);
    border-color: #66c0f4;
}

.news-card-image {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 1px solid rgba(102, 192, 244, 0.2);
}

.news-card-content {
    padding: 1.8rem;
}

.news-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.news-card-excerpt {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

.news-card-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.news-card-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.news-card-meta i {
    color: #66c0f4;
}

.hero-btn {
    text-decoration: none;
}

.no-news-message {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(20, 25, 35, 0.95);
    border: 1px solid rgba(102, 192, 244, 0.2);
    border-radius: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
}

.no-news-message i {
    font-size: 3rem;
    color: #66c0f4;
    margin-bottom: 1rem;
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .news-article {
        padding: 1.5rem;
    }
    
    .news-title {
        font-size: 1.8rem;
    }
    
    .news-content {
        font-size: 1rem;
    }
    
    .news-meta {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .news-card {
        margin: 0;
    }
    
    .related-news .row {
        margin-left: 0;
        margin-right: 0;
    }
}