/* ----------------------------------------------
 * GENERAL STYLES
 * ---------------------------------------------- */
:root {
    --primary-color: #8a5c2e;
    --primary-dark: #6d4923;
    --primary-light: #b7894f;
    --accent-color: #d4af37;
    --accent-light: #ffd700;
    --dark-bg: #1e1915;
    --light-bg: #f0ebe1;
    --card-bg: #2a241f;
    --text-light: #f0ebe1;
    --text-dark: #232323;
    
    --active-color: #2ecc71;
    --upcoming-color: #3498db;
    --ending-color: #e74c3c;
    --completed-color: #95a5a6;
}

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

body {
    font-family: 'Merriweather', serif;
    background-color: var(--dark-bg);
    background-image: url('../images/bg-pattern.png');
    color: var(--text-light);
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: var(--accent-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ----------------------------------------------
 * HERO SECTION
 * ---------------------------------------------- */
.hero-section {
    height: 80vh;
    min-height: 500px;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 3rem;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    max-width: 800px;
}

.logo {
    max-width: 180px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.8));
}

.game-title {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.game-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-light);
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 0.8rem 2rem;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    border: 2px solid var(--accent-color);
    transition: all 0.3s ease;
    z-index: 1;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--text-light);
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* ----------------------------------------------
 * STATS CARD
 * ---------------------------------------------- */
.stats-card {
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--dark-bg) 100%);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    margin-bottom: 3rem;
    border: 1px solid var(--primary-color);
}

.stats-header {
    background-color: var(--primary-color);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stats-header i {
    font-size: 1.8rem;
    color: var(--accent-color);
}

.stats-header h2 {
    margin: 0;
    font-size: 1.8rem;
    color: var(--text-light);
}

.stats-body {
    display: flex;
    flex-wrap: wrap;
    padding: 1.5rem;
}

.stat-item {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
    border-right: none;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    font-size: 1.8rem;
    color: var(--accent-color);
}

.stat-info h3 {
    font-size: 2rem;
    margin: 0;
    color: var(--accent-color);
}

.stat-info p {
    margin: 0;
    color: var(--text-light);
    opacity: 0.8;
}

/* ----------------------------------------------
 * SERVER SECTIONS
 * ---------------------------------------------- */
.server-section {
    margin-bottom: 4rem;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    padding: 1rem;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.section-title:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/pattern.png');
    opacity: 0.1;
    z-index: 0;
}

.title-icon {
    width: 60px;
    height: 60px;
    background-color: var(--dark-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--accent-color);
    overflow: hidden;
    z-index: 1;
}

.title-icon img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.section-title h2 {
    margin: 0;
    color: var(--text-light);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.empty-servers {
    text-align: center;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 3rem;
    border-radius: 10px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
}

.empty-servers i {
    font-size: 3rem;
    color: var(--accent-color);
    opacity: 0.5;
    margin-bottom: 1rem;
    display: block;
}

.empty-servers p {
    color: var(--text-light);
    opacity: 0.7;
    font-size: 1.2rem;
}

/* ----------------------------------------------
 * SERVER CARDS
 * ---------------------------------------------- */
.server-card {
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--dark-bg) 100%);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transform: translateY(0);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.server-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
}

/* Card status styles */
.server-card.active {
    border-color: var(--active-color);
}

.server-card.upcoming {
    border-color: var(--upcoming-color);
}

.server-card.ending {
    border-color: var(--ending-color);
}

.server-card.completed {
    border-color: var(--completed-color);
    opacity: 0.9;
}

.server-banner {
    height: 140px;
    position: relative;
    overflow: hidden;
}

.server-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.server-card:hover .server-banner img {
    transform: scale(1.1);
}

.server-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.8));
    display: flex;
    align-items: flex-end;
}

.banner-content {
    padding: 1rem;
    width: 100%;
    position: relative;
}

.version-badge {
    position: absolute;
    top: -120px;
    right: 10px;
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 0.25rem 0.7rem;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: bold;
    border: 1px solid var(--accent-color);
}

.server-title {
    margin: 0;
    color: var(--text-light);
    font-size: 1.2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.server-status {
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.active .server-status {
    background-color: rgba(46, 204, 113, 0.1);
    color: var(--active-color);
}

.upcoming .server-status {
    background-color: rgba(52, 152, 219, 0.1);
    color: var(--upcoming-color);
}

.ending .server-status {
    background-color: rgba(231, 76, 60, 0.1);
    color: var(--ending-color);
}

.completed .server-status {
    background-color: rgba(149, 165, 166, 0.1);
    color: var(--completed-color);
}

.server-info {
    padding: 1rem;
}

.server-detail {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.server-detail:last-child {
    margin-bottom: 0;
}

.server-detail i {
    width: 24px;
    color: var(--accent-color);
}

.server-detail span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.online-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--active-color);
    margin: 0 5px;
}

.server-action {
    padding: 1rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-join {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-light);
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--accent-color);
    transition: all 0.3s ease;
}

.btn-join:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-join::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.5s ease;
}

.btn-join:hover::before {
    left: 100%;
}

/* ----------------------------------------------
 * FOOTER
 * ---------------------------------------------- */
.footer {
    background-color: var(--dark-bg);
    color: var(--text-light);
    padding: 3rem 0 1rem;
    border-top: 3px solid var(--primary-color);
    position: relative;
    background-image: url('../images/footer-bg.png');
    background-position: center;
    background-size: cover;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 0;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer h5 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer ul li a {
    color: var(--text-light);
    opacity: 0.8;
    transition: all 0.2s ease;
}

.footer ul li a:hover {
    color: var(--accent-color);
    opacity: 1;
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-3px);
}

hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

/* ----------------------------------------------
 * RESPONSIVE STYLES
 * ---------------------------------------------- */
@media (max-width: 991.98px) {
    .game-title {
        font-size: 3rem;
    }
    
    .stat-item {
        min-width: 150px;
        padding: 0.8rem;
    }
    
    .server-banner {
        height: 120px;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        height: 60vh;
    }
    
    .game-title {
        font-size: 2.5rem;
    }
    
    .game-subtitle {
        font-size: 1.2rem;
    }
    
    .stats-body {
        flex-direction: column;
    }
    
    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 1rem 0;
    }
    
    .stat-item:last-child {
        border-bottom: none;
    }
    
    .footer [class*="col-"] {
        margin-bottom: 2rem;
    }
}

@media (max-width: 575.98px) {
    .hero-content {
        padding: 1rem;
    }
    
    .game-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-btn {
        width: 100%;
    }
    
    .section-title {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem 1rem;
    }
    
    .title-icon {
        margin-bottom: 0.5rem;
    }
}

/* ----------------------------------------------
 * ANIMATIONS
 * ---------------------------------------------- */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Logo Container */
.logo-container {
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.8));
    animation: float 6s ease-in-out infinite;
}

/* Server Banner için düzenleme */
.server-banner {
    height: 140px;
    position: relative;
    overflow: hidden;
}

.server-banner svg {
    width: 100%;
    height: 100%;
    transition: all 0.5s ease;
}

.server-card:hover .server-banner svg {
    transform: scale(1.05);
}

/* Boş sunucu listesi için gösterilen yer tutucu */
.empty-servers {
    text-align: center;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 3rem;
    border-radius: 10px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
}

/* ----------------------------------------------
 * WINNERS TABLE STYLES
 * ---------------------------------------------- */

/* Winners Card */
.winners-card {
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--dark-bg) 100%);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    margin-bottom: 3rem;
    border: 2px solid var(--primary-color);
    position: relative;
}

.winners-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/pattern.png');
    opacity: 0.03;
    pointer-events: none;
}

.winners-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.winners-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 100px;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(25deg);
    animation: shimmer 3s ease-in-out infinite;
}

.winners-header i {
    font-size: 2rem;
    color: var(--accent-color);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.winners-header h3 {
    margin: 0;
    color: var(--text-light);
    font-size: 1.8rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-family: 'Cinzel', serif;
}

/* Table Container */
.winners-table-container {
    padding: 0;
    position: relative;
    z-index: 1;
}

.table-responsive {
    border-radius: 0;
    box-shadow: none;
}

/* Winners Table */
.winners-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 0;
    background: transparent;
    font-family: 'Merriweather', serif;
}

.winners-table thead {
    background: linear-gradient(135deg, rgba(138, 92, 46, 0.8), rgba(109, 73, 35, 0.8));
    position: relative;
}

.winners-table th {
    padding: 1.2rem 1rem;
    text-align: center;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    font-family: 'Cinzel', serif;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    position: relative;
}

.winners-table th:last-child {
    border-right: none;
}

.winners-table th i {
    margin-right: 0.5rem;
    font-size: 1rem;
    color: var(--accent-light);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

/* Table Body */
.winners-table tbody tr {
    background: linear-gradient(135deg, rgba(42, 36, 31, 0.6), rgba(30, 25, 21, 0.6));
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.winners-table tbody tr:hover {
    background: linear-gradient(135deg, rgba(138, 92, 46, 0.15), rgba(109, 73, 35, 0.15));
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.winners-table tbody tr:nth-child(even) {
    background: linear-gradient(135deg, rgba(42, 36, 31, 0.4), rgba(30, 25, 21, 0.4));
}

.winners-table tbody tr:nth-child(even):hover {
    background: linear-gradient(135deg, rgba(138, 92, 46, 0.2), rgba(109, 73, 35, 0.2));
}

.winners-table td {
    padding: 1rem;
    text-align: center;
    color: var(--text-light);
    border: none;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    position: relative;
}

.winners-table td:last-child {
    border-right: none;
}

/* Special Cell Styles */
.date-cell {
    font-weight: 600;
    color: var(--accent-color);
    font-family: 'Cinzel', serif;
}

.server-cell {
    font-weight: bold;
}

.server-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-light);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid var(--accent-color);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    display: inline-block;
    min-width: 50px;
}

/* Winner Username Styles */
.username {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(255, 215, 0, 0.1));
    color: var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    border: 1px solid rgba(212, 175, 55, 0.3);
    display: inline-block;
    min-width: 80px;
    font-family: 'Cinzel', serif;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.username::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.5s ease;
}

.username:hover::before {
    left: 100%;
}

/* Champion (Alliance Winner) Style */
.username.champion {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.15), rgba(192, 57, 43, 0.15));
    color: #e74c3c;
    border-color: rgba(231, 76, 60, 0.5);
    font-weight: 700;
    text-transform: uppercase;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(231, 76, 60, 0.3);
}

/* Category Specific Styles */
.winner-wow .username {
    border-color: rgba(155, 89, 182, 0.5);
    color: #9b59b6;
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.1), rgba(142, 68, 173, 0.1));
}

.winner-attacker .username {
    border-color: rgba(52, 152, 219, 0.5);
    color: #3498db;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(41, 128, 185, 0.1));
}

.winner-defender .username {
    border-color: rgba(46, 204, 113, 0.5);
    color: #2ecc71;
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.1), rgba(39, 174, 96, 0.1));
}

.winner-population .username {
    border-color: rgba(243, 156, 18, 0.5);
    color: #f39c12;
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.1), rgba(230, 126, 34, 0.1));
}

/* No Winner Style */
.no-winner {
    color: rgba(255, 255, 255, 0.3);
    font-style: italic;
    font-size: 1.2rem;
    font-weight: 300;
}

/* Error and No Data Messages */
.error-message,
.no-data {
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
    font-style: italic;
    background: rgba(231, 76, 60, 0.1);
    border-radius: 10px;
    margin: 1rem;
}

.no-data {
    background: rgba(149, 165, 166, 0.1);
    color: var(--completed-color);
}

/* Responsive Design for Winners Table */
@media (max-width: 1199.98px) {
    .winners-table th,
    .winners-table td {
        padding: 0.8rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .username {
        padding: 0.3rem 0.8rem;
        min-width: 60px;
        font-size: 0.8rem;
    }
}

@media (max-width: 991.98px) {
    .winners-table th,
    .winners-table td {
        padding: 0.6rem 0.4rem;
        font-size: 0.75rem;
    }
    
    .winners-header {
        padding: 1rem 1.5rem;
    }
    
    .winners-header h3 {
        font-size: 1.5rem;
    }
    
    .username {
        padding: 0.2rem 0.6rem;
        min-width: 50px;
        font-size: 0.75rem;
    }
    
    .server-badge {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
        min-width: 40px;
    }
}

@media (max-width: 767.98px) {
    .winners-table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .winners-table {
        min-width: 800px;
    }
    
    .winners-table th,
    .winners-table td {
        white-space: nowrap;
        padding: 0.5rem 0.3rem;
    }
    
    .winners-header {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .winners-header i {
        font-size: 1.5rem;
    }
    
    .winners-header h3 {
        font-size: 1.3rem;
    }
    
    .username {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }
}

@media (max-width: 575.98px) {
    .winners-card {
        margin: 0 -15px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    
    .winners-table {
        min-width: 700px;
    }
    
    .winners-table th i {
        display: none;
    }
}

/* Custom Scrollbar for Table */
.winners-table-container::-webkit-scrollbar {
    height: 8px;
}

.winners-table-container::-webkit-scrollbar-track {
    background: var(--dark-bg);
    border-radius: 4px;
}

.winners-table-container::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.winners-table-container::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Loading Animation for Table */
@keyframes tableLoad {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.winners-table tbody tr {
    animation: tableLoad 0.5s ease-out forwards;
}

.winners-table tbody tr:nth-child(1) { animation-delay: 0.1s; }
.winners-table tbody tr:nth-child(2) { animation-delay: 0.2s; }
.winners-table tbody tr:nth-child(3) { animation-delay: 0.3s; }
.winners-table tbody tr:nth-child(4) { animation-delay: 0.4s; }
.winners-table tbody tr:nth-child(5) { animation-delay: 0.5s; }
.winners-table tbody tr:nth-child(6) { animation-delay: 0.6s; }
.winners-table tbody tr:nth-child(7) { animation-delay: 0.7s; }
.winners-table tbody tr:nth-child(8) { animation-delay: 0.8s; }
.winners-table tbody tr:nth-child(9) { animation-delay: 0.9s; }
.winners-table tbody tr:nth-child(10) { animation-delay: 1s; }