:root {
    --primary-color: #CD821C;
    --primary-dark: #A0600C;
    --text-color: #1a1a1a;
    --bg-color: #f4f4f4;
    --comic-border: 3px solid #000;
    --comic-shadow: 5px 5px 0px #000;
}

body {
    font-family: 'Bangers', cursive, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    background-image: radial-gradient(#e0e0e0 15%, transparent 16%), radial-gradient(#e0e0e0 15%, transparent 16%);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    color: var(--text-color);
}

.comic-box {
    background: #fff;
    background-image: radial-gradient(#ddd 15%, transparent 16%), radial-gradient(#ddd 15%, transparent 16%);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    border: var(--comic-border);
    box-shadow: var(--comic-shadow);
    padding: 20px;
    margin-bottom: 20px;
}

.comic-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border: var(--comic-border);
    box-shadow: var(--comic-shadow);
}

.match-win {
    color: #2ecc71;
    font-weight: bold;
}

.match-loss {
    color: #e74c3c;
    font-weight: bold;
}

.match-draw {
    color: #95a5a6;
    font-weight: bold;
}

.high-val {
    color: #2ecc71;
    font-weight: bold;
}

.mid-val {
    color: #f1c40f;
    font-weight: bold;
}

.low-val {
    color: #e74c3c;
    font-weight: bold;
}

.text-green {
    color: #2ecc71;
}

.text-red {
    color: #e74c3c;
}

.text-orange {
    color: #e67e22;
}

.text-gray {
    color: #95a5a6;
}

footer {
    background: #111;
    color: #fff;
    padding: 30px 0;
    text-align: center;
    border-top: var(--comic-border);
    margin-top: 50px;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 10;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-socials {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
}

.social-icon {
    font-size: 2rem;
    color: #fff;
    transition: all 0.2s;
    filter: drop-shadow(2px 2px 0 #000);
}

.social-icon:hover {
    color: var(--primary-color);
    transform: scale(1.2) rotate(-5deg);
    filter: drop-shadow(3px 3px 0 #000);
}

.footer-text {
    font-family: 'Bangers', cursive;
    font-size: 1.3rem;
    letter-spacing: 1px;
    text-shadow: 2px 2px 0 #000;
    line-height: 1.4;
}

.comic-table th {
    background: #222;
    color: var(--primary-color);
    padding: 15px;
    text-align: center;
    font-family: 'Bangers', cursive;
    font-size: 1.3rem;
    letter-spacing: 1px;
    border-bottom: 4px solid var(--primary-color);
    text-shadow: 2px 2px 0 #000;
    white-space: nowrap;
}

.comic-table td {
    padding: 12px 10px;
    text-align: center;
    border-bottom: 2px solid #000;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    font-size: 1rem;
    white-space: nowrap;
}

.comic-table tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}

.comic-table tbody tr:hover {
    background-color: rgba(205, 130, 28, 0.1);
}

.ban-reason-col {
    color: #c0392b;
    font-weight: bold;
}

.ban-admin-col {
    color: #2980b9;
}

.ban-server-col {
    color: #8e44ad;
    font-weight: bold;
}

.ban-date-col {
    color: #f39c12;
    font-weight: bold;
}

.ban-expires-col {
    color: #d35400;
    font-weight: bold;
}

.server-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.85rem;
    border: 2px solid #000;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.3);
}

.server-badge-pug {
    background-color: #e67e22;
    color: #fff;
}

.server-badge-scrim {
    background-color: #8e44ad;
    color: #fff;
}

.comic-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 10px 20px;
    border: var(--comic-border);
    box-shadow: 3px 3px 0px #000;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    font-family: 'Bangers', cursive;
    font-size: 1.2rem;
    transition: all 0.1s;
}

.comic-btn:hover {
    background-color: var(--primary-dark);
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0px #000;
}

header {
    background-color: #222;
    border-bottom: var(--comic-border);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 200px 1fr 200px;
    align-items: center;
    padding: 0 15px;
}

.logo {
    color: var(--primary-color);
    font-size: 1.8rem;
    text-shadow: 2px 2px 0 #000;
    text-transform: uppercase;
    letter-spacing: 1px;
    flex-shrink: 0;
    justify-self: start;
}

.main-banner {
    width: 100%;
    height: auto; /* Allow height to adjust to image */
    background-color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: var(--comic-border);
    overflow: hidden;
    position: relative;
    padding: 0;
}

.main-banner img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Ensures it covers if we ever set a height, but with auto it fits naturally */
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 2rem;
    color: #fff;
    margin-left: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
    gap: 5px;
    justify-self: center;
    align-items: center;
}

.nav-menu li {
    margin-left: 0;
    position: relative;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    padding: 8px 12px;
    margin: 0 2px;
    font-family: 'Bangers', cursive;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
    transition: all 0.2s;
    position: relative;
    display: inline-block;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: #000;
    background-color: #CD821C;
    border: 2px solid #000;
    box-shadow: 3px 3px 0 #fff;
    transform: skew(-2deg);
}

.container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background: white;
    position: relative;
}

.news-image {
    width: 100%;
    height: 200px;
    background: #ccc;
    border-bottom: var(--comic-border);
    object-fit: cover;
}

.news-content {
    padding: 15px;
}

.news-title {
    margin-top: 0;
    color: var(--primary-color);
    text-shadow: 1px 1px 0 #000;
}

.news-date {
    background: #000;
    color: #fff;
    padding: 2px 8px;
    font-size: 0.8rem;
    position: absolute;
    top: -10px;
    right: -10px;
    border: 2px solid #fff;
    transform: rotate(5deg);
}

.comic-select-wrapper {
    position: relative;
}

.comic-select {
    appearance: none;
    -webkit-appearance: none;
    background-color: #fff;
    border: 2px solid #000;
    font-family: 'Bangers', cursive;
    font-size: 1.2rem;
    padding: 8px 35px 8px 15px;
    cursor: pointer;
    box-shadow: 3px 3px 0 #000;
    transition: all 0.2s;
    outline: none;
    text-align: center;
    color: #000;
    border-radius: 0;
    min-width: 120px;
}

.comic-select:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 #000;
    background-color: #f0f0f0;
}

.comic-select:focus {
    background-color: #fff;
    box-shadow: 5px 5px 0 var(--primary-color);
    border-color: #000;
}

.comic-select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 15px;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        right: -100%;
        top: 60px;
        flex-direction: column;
        background: #222;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        border-bottom: var(--comic-border);
        padding: 20px 0;
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
    }
}

.comic-section-title {
    background: #CD821C;
    color: #fff;
    border: 3px solid #000;
    box-shadow: 5px 5px 0 #000;
    display: block;
    width: calc(100% + 40px);
    margin-left: -20px;
    margin-top: -20px;
    margin-bottom: 30px;
    padding: 15px 0;
    font-size: 3rem;
    text-transform: uppercase;
    text-align: center;
    position: relative;
    text-shadow: 2px 2px 0px #000;
    font-family: 'Bangers', cursive;
}

.comic-section-title::after {
    display: none;
}

.stats-controls {
    background: #222;
    padding: 15px;
    border: var(--comic-border);
    margin-bottom: 25px;
    box-shadow: 3px 3px 0 #000;
    color: #fff;
}

.search-container {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
}

.comic-input {
    width: 100%;
    max-width: 400px;
    padding: 12px;
    font-size: 1.1rem;
    border: 3px solid #000;
}

.comic-table {
    margin-top: 10px;
}

.comic-table tbody tr:hover {
    background-color: #f0f0f0;
    cursor: default;
    box-shadow: inset 0 0 0 2px #CD821C;
    position: relative;
    z-index: 5;
}

.player-cell .player-info {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: flex-start;
    padding-left: 20px;
}

.player-cell img {
    width: 50px;
    height: 50px;
    border: 3px solid #000;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
}

.player-cell span {
    font-family: 'Bangers', cursive;
    font-size: 1.2rem;
    text-transform: uppercase;
    color: #444;
}

.comic-table tbody tr.rank-1 .player-cell span {
    color: #CD821C;
    font-size: 1.4rem;
}

.comic-table tbody tr.rank-2 .player-cell span {
    color: #555;
}

.comic-table tbody tr.rank-3 .player-cell span {
    color: #8d6e63;
}

.top-rank td {
    font-size: 1.1rem;
    font-weight: bold;
}

.comic-table tbody tr.rank-1 {
    background: #fff;
    position: relative;
    z-index: 10;
}

.comic-table tbody tr.rank-1 td {
    border-bottom: 3px solid #FFD700;
}

.comic-table tbody tr.rank-1 td.rank-cell {
    color: #FFD700;
    font-size: 1.5rem;
    text-shadow: 1px 1px 0 #000;
}

.comic-table tbody tr.rank-2 td {
    border-bottom: 3px solid #C0C0C0;
}

.comic-table tbody tr.rank-2 td.rank-cell {
    color: #7f8c8d;
    font-size: 1.4rem;
}

.comic-table tbody tr.rank-3 td {
    border-bottom: 3px solid #CD7F32;
}

.comic-table tbody tr.rank-3 td.rank-cell {
    color: #a0522d;
    font-size: 1.3rem;
}

.pagination-container {
    background: #222;
    padding: 10px;
    border: var(--comic-border);
    margin-top: 30px;
    display: inline-flex;
    gap: 20px;
}

.page-info {
    color: #CD821C;
    font-size: 1.4rem;
    text-shadow: 1px 1px 0 #000;
}

.user-section {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.user-profile-container {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
    height: auto;
    padding-bottom: 20px;
    margin-bottom: -20px;
    justify-self: end;
}

.user-profile-trigger {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 5px 15px;
    border: 2px solid transparent;
    border-radius: 50px;
    transition: all 0.2s;
}

.user-profile-trigger:hover {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #fff;
    box-shadow: 2px 2px 0 #000;
}

.user-avatar {
    width: 45px;
    height: 45px;
    border: 2px solid #fff;
    box-shadow: 2px 2px 0 #000;
    border-radius: 50%;
    object-fit: cover;
}

.user-name {
    color: #CD821C !important;
    font-size: 1.2rem;
    text-transform: uppercase;
    text-shadow: 2px 2px 0 #000 !important;
    font-family: 'Bangers', cursive;
    display: inline-block;
    margin-top: 3px;
}

ul.dropdown-menu {
    display: none !important;
    position: absolute;
    top: 60%;
    right: 0;
    min-width: 220px;
    background-color: #fff;
    border: 3px solid #000;
    box-shadow: 5px 5px 0 #000;
    z-index: 99999;
    padding: 0;
    margin: 0;
    margin-top: 15px;
    list-style: none;
}

ul.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
}

.user-profile-container:hover .dropdown-menu {
    display: block !important;
    animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

ul.dropdown-menu li {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

ul.dropdown-menu li a.dropdown-item {
    display: block;
    padding: 15px 20px;
    color: #000 !important;
    text-decoration: none;
    font-size: 1.1rem;
    border-bottom: 2px solid #000;
    background: #fff;
    font-family: 'Bangers', cursive;
    text-transform: uppercase;
    text-align: left;
    white-space: nowrap;
}

ul.dropdown-menu li:last-child a.dropdown-item {
    border-bottom: none;
}

ul.dropdown-menu li a.dropdown-item:hover {
    background-color: var(--primary-color);
    color: #fff !important;
}

ul.dropdown-menu li a.admin-link {
    background-color: #eee;
}

ul.dropdown-menu li a.admin-link:hover {
    background-color: #ffeb3b;
    color: #000 !important;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 0;
    border: var(--comic-border);
    width: 80%;
    max-width: 600px;
    box-shadow: 10px 10px 0 #000;
    position: relative;
    animation: modalPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPop {
    from {
        transform: scale(0.5);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-header {
    background: var(--primary-color);
    padding: 15px;
    border-bottom: var(--comic-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    color: white;
    text-shadow: 2px 2px 0 #000;
    font-size: 2rem;
}

.close-modal {
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    text-shadow: 2px 2px 0 #000;
}

.close-modal:hover {
    color: #000;
    text-shadow: none;
}

.modal-body {
    padding: 20px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.modal-footer {
    padding: 15px;
    border-top: var(--comic-border);
    text-align: right;
    background: #f9f9f9;
}

.comic-btn.sm {
    padding: 5px 15px;
    font-size: 1rem;
}

.loader-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.comic-loader {
    font-family: 'Bangers', cursive;
    font-size: 2rem;
    animation: blink 1s infinite;
}

@keyframes blink {
    0% {
        opacity: 0.2;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.2;
    }
}

.text-gold {
    color: #d4af37 !important;
    font-weight: bold;
    text-shadow: 1px 1px 0 #000;
}

.text-green {
    color: #2e7d32 !important;
    font-weight: bold;
}

.text-red {
    color: #c62828 !important;
    font-weight: bold;
}

.text-gray {
    color: #999 !important;
}

@media (max-width: 768px) {
    .stats-controls {
        flex-direction: column;
    }

    .search-container {
        width: 100%;
    }

    .comic-input {
        flex-grow: 1;
    }
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #222;
    border-left: 1px solid #000;
}

::-webkit-scrollbar-thumb {
    background: #CD821C;
    border: 2px solid #000;
}

::-webkit-scrollbar-thumb:hover {
    background: #e69526;
}

.server-badge {
    display: inline-block;
    padding: 5px 10px;
    color: #fff;
    font-weight: bold;
    border: 2px solid #000;
    font-size: 0.9rem;
    box-shadow: 2px 2px 0 #000;
}

.badge-pug {
    background-color: #e67e22;
    color: #fff;
}

.badge-scrim {
    background-color: #8e44ad;
    color: #fff;
}

.badge-default {
    background-color: #7f8c8d;
}

.mini-map-icon {
    width: 40px;
    height: 25px;
    border: 1px solid #000;
    margin-right: 8px;
    vertical-align: middle;
}

.map-cell {
    font-weight: bold;
    text-transform: uppercase;
}

.score-cell {
    font-family: 'Bangers', cursive;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.score-ct {
    color: #3498db;
    text-shadow: 1px 1px 0 #000;
}

.score-tt {
    color: #e74c3c;
    text-shadow: 1px 1px 0 #000;
}

.hash-cell {
    font-family: monospace;
    color: #666;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 3px solid #000;
    padding: 5px 10px;
}

.page-indicator {
    font-family: 'Bangers', cursive;
    font-size: 1.2rem;
    min-width: 80px;
    text-align: center;
}

.comic-btn-small {
    background: #FFD700;
    border: 2px solid #000;
    font-weight: bold;
    cursor: pointer;
    font-family: 'Bangers', cursive;
    text-transform: uppercase;
    transition: all 0.2s;
    padding: 5px 15px;
}

.comic-btn-small:hover:not(:disabled) {
    background: #CD821C;
    color: #fff;
}

.comic-btn-small:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

@media (max-width: 768px) {
    .mini-map-icon {
        display: none;
    }

    .hash-cell {
        font-size: 0.8rem;
    }
}

.stats-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
    padding: 10px;
    background: transparent;
}

.pagination-btn {
    background: #FFD700;
    border: 2px solid #000;
    color: #000;
    font-family: 'Bangers', cursive;
    font-size: 1.2rem;
    padding: 5px 15px;
    cursor: pointer;
    box-shadow: 2px 2px 0 #000;
    transition: all 0.1s;
}

.pagination-btn:hover {
    background: #CD821C;
    transform: translateY(-2px);
    box-shadow: 4px 4px 0 #000;
}

.pagination-btn:active {
    transform: translateY(0);
    box-shadow: 1px 1px 0 #000;
}

.page-display {
    font-family: 'Bangers', cursive;
    font-size: 1.5rem;
    color: #000;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.1);
}

.badge-container {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    margin-top: 10px;
}

.stats-header-badge {
    background: #222;
    color: #CD821C;
    font-family: 'Bangers', cursive;
    font-size: 3.5rem;
    padding: 10px 40px;
    border: 6px solid #000;
    box-shadow: 8px 8px 0 #000;
    transform: rotate(-2deg);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.text-blue {
    color: #3498db !important;
    font-weight: bold;
    text-shadow: 1px 1px 0 #000;
}

.highlight-5k {
    animation: pulseGold 2s infinite;
}

@keyframes pulseGold {
    0% {
        text-shadow: 0 0 5px #FFD700;
        opacity: 1;
    }

    50% {
        text-shadow: 0 0 20px #FFD700;
        opacity: 0.8;
    }

    50% {
        text-shadow: 0 0 20px #FFD700;
        opacity: 0.8;
    }

    100% {
        text-shadow: 0 0 5px #FFD700;
        opacity: 1;
    }
}

.stat-btn {
    background: #555;
    color: #fff;
    border: 2px solid #000;
    padding: 8px 25px;
    font-family: 'Bangers', cursive;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 3px 3px 0 #000;
    transition: all 0.2s;
    text-transform: uppercase;
}

.stat-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 #000;
    opacity: 0.9;
    background: #666;
}

.stat-btn.active {
    background: #CD821C;
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 4px 4px 0 #000;
}

.home-section-title {
    font-family: 'Bangers', cursive;
    font-size: 2.5rem;
    color: #fff;
    text-shadow: 3px 3px 0 #000;
    margin-top: 50px;
    margin-bottom: 30px;
    text-align: center;
    transform: rotate(-1deg);
    background: #000;
    display: inline-block;
    padding: 10px 30px;
    border: 3px solid #fff;
    box-shadow: 5px 5px 0 #CD821C;
}

#server-list-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-bottom: 50px;
}

.server-card {
    background: #fff;
    width: 280px;
    text-align: center;
    padding: 20px;
    border: 3px solid #000;
    box-shadow: 8px 8px 0 #000;
    transition: transform 0.2s;
    position: relative;
    overflow: hidden;
}

.server-card:hover {
    transform: translate(-3px, -3px) rotate(1deg);
    box-shadow: 12px 12px 0 #000;
}

.server-title {
    font-family: 'Bangers';
    font-size: 2rem;
    margin: 0;
    color: #333;
    text-transform: uppercase;
}

.server-ip {
    font-size: 1.2rem;
    margin: 15px 0;
    font-weight: bold;
    color: #555;
    background: #eee;
    padding: 5px;
    border: 1px dashed #999;
}

.server-actions {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 15px;
}

.btn-green {
    background: #2ecc71 !important;
    color: white !important;
    border: 2px solid black;
}

.btn-green:hover {
    background: #27ae60 !important;
}

.btn-blue {
    background: #3498db !important;
    color: white !important;
    border: 2px solid black;
}

.btn-blue:hover {
    background: #2980b9 !important;
}

.stats-counters {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat-box {
    background: #222;
    border: 3px solid #fff;
    color: #fff;
    padding: 20px;
    text-align: center;
    box-shadow: 6px 6px 0 #CD821C;
    min-width: 180px;
    transition: transform 0.2s;
}

.stat-box:hover {
    transform: scale(1.05);
}

.stat-value {
    font-family: 'Bangers';
    font-size: 3.5rem;
    line-height: 1;
    display: block;
    color: #FFD700;
    text-shadow: 2px 2px 0 #000;
}

.stat-label {
    font-size: 1.1rem;
    text-transform: uppercase;
    color: #aaa;
    margin-top: 5px;
    display: block;
}

.news-card-special {
    border: 4px solid #FFD700 !important;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3), 6px 6px 0 #000 !important;
    position: relative;
}

.top3-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    padding: 5px 12px;
    border-radius: 20px;
    font-family: 'Bangers', cursive;
    font-size: 0.9rem;
    border: 2px solid #000;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.news-card-v2 {
    background: #fff;
    border: 6px solid #000;
    box-shadow: 5px 5px 0 #000;
    padding: 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card-v2:hover {
    transform: translate(-3px, -3px);
    box-shadow: 5px 5px 0 #000;
}

.server-badge {
    position: absolute;
    top: -12px;
    right: -8px;
    padding: 8px 18px;
    border: 3px solid #000;
    font-family: 'Bangers', cursive;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.4);
    z-index: 100;
    transform: rotate(5deg);
    transform-origin: top right;
}

.pug-badge {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
}

.scrim-badge {
    background: linear-gradient(135deg, #C0C0C0, #A8A8A8);
    color: #000;
}

.news-image-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-bottom: 6px solid #000;
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
}

.news-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card-v2:hover .news-image-container img {
    transform: scale(1.05);
}

.news-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    pointer-events: none;
}

.news-header {
    padding: 25px 20px 15px;
    background: linear-gradient(180deg, #fff 0%, #f9f9f9 100%);
    border-bottom: 4px dashed #ddd;
}

.news-title-v2 {
    font-family: 'Bangers', cursive;
    font-size: 1.8rem;
    color: #000;
    margin: 0 0 12px 0;
    line-height: 1.2;
    text-shadow: 2px 2px 0 rgba(205, 130, 28, 0.1);
    min-height: 60px;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-date-v2 {
    font-size: 0.85rem;
    color: #666;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-date-v2::before {
    content: "📅";
    font-size: 1rem;
}

.news-body {
    padding: 20px;
    flex: 1;
    background: #fff;
}

.news-preview {
    color: #444;
    line-height: 1.7;
    margin: 0;
    font-size: 0.95rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.news-footer {
    padding: 0 20px 20px;
    background: #fff;
}

.news-read-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #CD821C, #FFA500);
    color: #000;
    border: 4px solid #000;
    font-family: 'Bangers', cursive;
    font-size: 1.2rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.3);
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
}

.news-read-btn:hover {
    background: linear-gradient(135deg, #FFA500, #FFD700);
    transform: translateY(-2px);
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.4);
}

.news-read-btn:active {
    transform: translateY(0);
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3);
}

.empty-state-message {
    grid-column: 1/-1;
    text-align: center;
    padding: 60px 20px;
    background: rgba(0, 0, 0, 0.8);
    border: 4px solid #CD821C;
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.3);
    margin: 20px 0;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    filter: drop-shadow(3px 3px 0 rgba(0, 0, 0, 0.3));
}

.empty-state-message p {
    font-family: 'Bangers', cursive;
    font-size: 1.8rem;
    color: #FFD700;
    text-shadow: 2px 2px 0 #000;
    margin: 0;
    letter-spacing: 2px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #fff;
    padding: 30px;
    border: 4px solid #000;
    box-shadow: 8px 8px 0 #000;
    position: relative;
}

.modal-content img {
    max-width: 100%;
    height: auto;
    border: 3px solid #000;
    margin: 15px 0;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    color: #000;
    line-height: 1;
    transition: all 0.2s;
    font-family: Arial, sans-serif;
}

.close-modal:hover {
    color: #CD821C;
    transform: scale(1.2);
}

.home-chart-container {
    background: #222;
    border: 4px solid #000;
    padding: 20px;
    height: 450px;
    position: relative;
    box-shadow: 8px 8px 0 #000;
    margin-bottom: 50px;
}

.status-indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
    border: 2px solid #000;
}

.status-indicator.online {
    background: #2ecc71;
    box-shadow: 0 0 5px #2ecc71;
}

.status-indicator.offline {
    background: #e74c3c;
}

@media (max-width: 768px) {
    .stat-box {
        min-width: 100%;
        margin-bottom: 15px;
    }

    .home-chart-container {
        height: 300px;
    }

    .server-card {
        width: 100%;
    }
}