@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

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

body {
    font-family: 'Press Start 2P', cursive;
    background: url('../images/Achtergrond.png') repeat;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}
.header .winner {
	width: 150px;
	margin-bottom: 10px;
	border: 5px solid #000;
}

.header {
	text-align: center;
    background: #c6c6c6;
    border: 4px solid #000;
    box-shadow: 
        inset -4px -4px 0 rgba(0,0,0,0.5),
        inset 4px 4px 0 rgba(255,255,255,0.5),
        4px 4px 0 rgba(0,0,0,0.3);
    padding: 20px;
    margin-bottom: 20px;
}

.logo-container {
    text-align: center;
    margin-bottom: 20px;
}

.logo {
    margin-top: 50px!important;
    width: 120px;
    height: 120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

h1 {
    text-align: center;
    color: #fff;
    font-size: 16px;
    text-shadow: 3px 3px 0 #000;
    margin-bottom: 20px;
    line-height: 1.6;
}

.stats-bar {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.stat-box {
    background: #5a5a5a;
    border: 3px solid #000;
    box-shadow: 
        inset -2px -2px 0 rgba(0,0,0,0.7),
        inset 2px 2px 0 rgba(255,255,255,0.2),
        2px 2px 0 rgba(0,0,0,0.3);
    padding: 10px 15px;
    color: #fff;
    text-shadow: 2px 2px 0 #000;
    font-size: 10px;
    text-align: center;
}

.stat-number {
    font-size: 16px;
    color: #4a9d2e;
    display: block;
    margin-top: 5px;
}

.stat-box.alive .stat-number {
    color: #4a9d2e;
}

.stat-box.dead .stat-number {
    color: #c23030;
}

.search-box {
    background: #fff;
    border: 3px solid #000;
    box-shadow: inset 2px 2px 0 rgba(0,0,0,0.3);
    padding: 10px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: block;
    font-family: 'Press Start 2P', cursive;
    font-size: 10px;
}

.search-box:focus {
    outline: none;
    background: #ffffcc;
}

.player-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.player-card {
    background: #c6c6c6;
    border: 4px solid #000;
    box-shadow: 
        inset -4px -4px 0 rgba(0,0,0,0.5),
        inset 4px 4px 0 rgba(255,255,255,0.5),
        4px 4px 0 rgba(0,0,0,0.3);
    padding: 15px;
    transition: transform 0.1s ease;
    cursor: pointer;
}

.player-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 
        inset -4px -4px 0 rgba(0,0,0,0.5),
        inset 4px 4px 0 rgba(255,255,255,0.5),
        6px 6px 0 rgba(0,0,0,0.3);
}

.player-card:active {
    transform: translate(1px, 1px);
}

.player-card.dead {
    opacity: 0.6;
    background: #8a8a8a;
}

.player-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.player-avatar {
    width: 64px;
    height: 64px;
    border: 3px solid #000;
    box-shadow: 
        inset -2px -2px 0 rgba(0,0,0,0.5),
        inset 2px 2px 0 rgba(255,255,255,0.5),
        2px 2px 0 rgba(0,0,0,0.3);
    object-fit: cover;
    image-rendering: pixelated;
}

.player-info {
    flex: 1;
}

.player-name {
    font-size: 12px;
    color: #fff;
    text-shadow: 2px 2px 0 #000;
    margin-bottom: 5px;
    word-break: break-word;
}

.player-minecraft {
    font-size: 8px;
    color: #aaa;
    text-shadow: 1px 1px 0 #000;
}

.status-badge {
    display: inline-block;
    padding: 5px 10px;
    border: 2px solid #000;
    font-size: 8px;
    margin-top: 10px;
    box-shadow: 
        inset -1px -1px 0 rgba(0,0,0,0.5),
        inset 1px 1px 0 rgba(255,255,255,0.3),
        2px 2px 0 rgba(0,0,0,0.3);
}

.status-badge.alive {
    background: #4a9d2e;
    color: #fff;
    text-shadow: 1px 1px 0 #000;
}

.status-badge.dead {
    background: #c23030;
    color: #fff;
    text-shadow: 1px 1px 0 #000;
}

.status-badge.live-now, .status-badge.alive.live {
    background: #e60000 !important;
    border-color: #000;
    color: #fff;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 4px #ff0000; }
    50% { box-shadow: 0 0 12px #ff0000; }
    100% { box-shadow: 0 0 4px #ff0000; }
}

.no-results {
    text-align: center;
    padding: 40px;
    background: #c6c6c6;
    border: 4px solid #000;
    box-shadow: 
        inset -4px -4px 0 rgba(0,0,0,0.5),
        inset 4px 4px 0 rgba(255,255,255,0.5),
        4px 4px 0 rgba(0,0,0,0.3);
    color: #fff;
    text-shadow: 2px 2px 0 #000;
    font-size: 10px;
    line-height: 1.8;
}

.filter-bar {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.filter-button {
    padding: 8px 12px;
    border: 2px solid #000;
    font-size: 10px;
    cursor: pointer;
    text-shadow: 1px 1px 0 #000;
    box-shadow:
        inset -2px -2px 0 rgba(0,0,0,0.5),
        inset 2px 2px 0 rgba(255,255,255,0.3),
        2px 2px 0 rgba(0,0,0,0.3);
    user-select: none;
    background: #777;
    color: #fff;
}

.filter-button.alive {
    background: #4a9d2e;
}

.filter-button.dead {
    background: #c23030;
}

.filter-button.active {
    outline: 3px solid #ffff66;
}

.filter-info {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #fff;
    font-size: 9px;
    text-shadow: 2px 2px 0 #000;
    line-height: 1.6;
}

.filter-text {
    margin-bottom: 15px;
}

.discord-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 3px solid #000;
    background: #5865F2;
    color: #fff;
    font-size: 10px;
    cursor: pointer;
    text-shadow: 1px 1px 0 #000;
    box-shadow:
        inset -2px -2px 0 rgba(0,0,0,0.5),
        inset 2px 2px 0 rgba(255,255,255,0.3),
        2px 2px 0 rgba(0,0,0,0.3);
    border-radius: 4px;
    text-decoration: none;
}

.discord-button:hover {
    transform: translate(-2px, -2px);
    box-shadow:
        inset -2px -2px 0 rgba(0,0,0,0.5),
        inset 2px 2px 0 rgba(255,255,255,0.3),
        4px 4px 0 rgba(0,0,0,0.3);
}

.discord-icon {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    h1 {
        font-size: 10px;
    }

    .logo {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }

    .stats-bar {
        gap: 8px;
    }

    .stat-box {
        padding: 8px 12px;
        font-size: 8px;
    }

    .stat-number {
        font-size: 14px;
    }

    .search-box {
        font-size: 8px;
        padding: 8px;
    }
    
    .player-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .player-name {
        font-size: 10px;
    }

    .player-minecraft {
        font-size: 7px;
    }

    .player-avatar {
        width: 48px;
        height: 48px;
    }

    .status-badge {
        font-size: 7px;
        padding: 4px 8px;
    }
}

@media (max-width: 480px) {
    .logo img {
        max-width: 100%
    }
    
    .header {
        padding: 15px;
    }

    h1 {
        font-size: 8px;
    }

    .logo {
        width: 250px;
        height: 64px;
        font-size: 24px;
    }

    .stat-box {
        font-size: 7px;
        padding: 6px 10px;
    }

    .stat-number {
        font-size: 12px;
    }
    
    body {
        padding-bottom: 50px;
    }
}
/* Voeg dit toe aan het einde van je style.css bestand */

/* Action buttons container */
.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Compare button - identiek aan back-button */
.compare-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border: 3px solid #000;
    background: #777;
    color: #fff;
    font-size: 10px;
    cursor: pointer;
    text-shadow: 1px 1px 0 #000;
    box-shadow:
        inset -2px -2px 0 rgba(0,0,0,0.5),
        inset 2px 2px 0 rgba(255,255,255,0.3),
        2px 2px 0 rgba(0,0,0,0.3);
    text-decoration: none;
    font-family: 'Press Start 2P', cursive;
}

.compare-button:hover {
    background: #888;
    transform: translate(-2px, -2px);
    box-shadow:
        inset -2px -2px 0 rgba(0,0,0,0.5),
        inset 2px 2px 0 rgba(255,255,255,0.3),
        4px 4px 0 rgba(0,0,0,0.3);
}

.compare-button:active {
    transform: translate(1px, 1px);
}

/* Modal CSS - als je dit nog niet hebt toegevoegd */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    animation: fadeIn 0.2s ease;
}

.modal-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal {
    background: #c6c6c6;
    border: 4px solid #000;
    box-shadow: 
        inset -4px -4px 0 rgba(0,0,0,0.5),
        inset 4px 4px 0 rgba(255,255,255,0.5),
        8px 8px 0 rgba(0,0,0,0.5);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { 
        transform: translateY(-50px);
        opacity: 0;
    }
    to { 
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    background: #5a5a5a;
    border-bottom: 4px solid #000;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.modal-avatar {
    width: 80px;
    height: 80px;
    border: 3px solid #000;
    box-shadow: 
        inset -2px -2px 0 rgba(0,0,0,0.5),
        inset 2px 2px 0 rgba(255,255,255,0.5),
        2px 2px 0 rgba(0,0,0,0.3);
    object-fit: cover;
    image-rendering: pixelated;
}

.modal-title {
    flex: 1;
}

.modal-player-name {
    font-size: 14px;
    color: #fff;
    text-shadow: 2px 2px 0 #000;
    margin-bottom: 5px;
}

.modal-minecraft-name {
    font-size: 9px;
    color: #ccc;
    text-shadow: 1px 1px 0 #000;
}

.modal-status-badges {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.modal-status-badges .status-badge {
    margin-top: 0;
}

.modal-close {
    background: #c23030;
    border: 3px solid #000;
    color: #fff;
    font-size: 16px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-family: 'Press Start 2P', cursive;
    box-shadow:
        inset -2px -2px 0 rgba(0,0,0,0.5),
        inset 2px 2px 0 rgba(255,255,255,0.3),
        2px 2px 0 rgba(0,0,0,0.3);
    text-shadow: 1px 1px 0 #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: #d04040;
}

.modal-close:active {
    transform: translate(1px, 1px);
}

.modal-body {
    padding: 20px;
}

.modal-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.modal-stat {
    background: #5a5a5a;
    border: 3px solid #000;
    box-shadow: 
        inset -2px -2px 0 rgba(0,0,0,0.7),
        inset 2px 2px 0 rgba(255,255,255,0.2),
        2px 2px 0 rgba(0,0,0,0.3);
    padding: 12px;
    text-align: center;
}

.modal-stat-label {
    font-size: 8px;
    color: #ccc;
    text-shadow: 1px 1px 0 #000;
    margin-bottom: 8px;
}

.modal-stat-value {
    font-size: 18px;
    color: #fff;
    text-shadow: 2px 2px 0 #000;
}

.modal-stat-value.positive {
    color: #4a9d2e;
}

.modal-stat-value.negative {
    color: #c23030;
}

.modal-section {
    margin-bottom: 20px;
}

.modal-section-title {
    font-size: 10px;
    color: #fff;
    text-shadow: 2px 2px 0 #000;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 3px solid #000;
}

.modal-death-message {
    background: #8a8a8a;
    border: 3px solid #000;
    box-shadow: inset 2px 2px 0 rgba(0,0,0,0.3);
    padding: 12px;
    font-size: 9px;
    color: #fff;
    text-shadow: 1px 1px 0 #000;
    line-height: 1.6;
}

.modal-twitch-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: 3px solid #000;
    background: #9146FF;
    color: #fff;
    font-size: 10px;
    cursor: pointer;
    text-shadow: 1px 1px 0 #000;
    box-shadow:
        inset -2px -2px 0 rgba(0,0,0,0.5),
        inset 2px 2px 0 rgba(255,255,255,0.3),
        2px 2px 0 rgba(0,0,0,0.3);
    text-decoration: none;
    font-family: 'Press Start 2P', cursive;
    width: 100%;
    justify-content: center;
}

.modal-twitch-button:hover {
    background: #a158ff;
    transform: translate(-2px, -2px);
    box-shadow:
        inset -2px -2px 0 rgba(0,0,0,0.5),
        inset 2px 2px 0 rgba(255,255,255,0.3),
        4px 4px 0 rgba(0,0,0,0.3);
}

.modal-twitch-button:active {
    transform: translate(1px, 1px);
}

.modal-twitch-icon {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
}

@media (max-width: 768px) {
    .modal-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .modal-player-name {
        font-size: 11px;
    }

    .modal-stat-value {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .modal-avatar {
        width: 64px;
        height: 64px;
    }
}
}

@media (max-width: 480px) {
    .modal-avatar {
        width: 64px;
        height: 64px;
    }
}
.main-site-button {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 15px;
            border: 3px solid #000;
            background: #4a9d2e;
            color: #fff;
            font-size: 10px;
            cursor: pointer;
            text-shadow: 1px 1px 0 #000;
            box-shadow:
                inset -2px -2px 0 rgba(0,0,0,0.5),
                inset 2px 2px 0 rgba(255,255,255,0.3),
                2px 2px 0 rgba(0,0,0,0.3);
            text-decoration: none;
            font-family: 'Press Start 2P', cursive;
        }
        
        .main-site-button:hover {
            background: #5ab038;
            transform: translate(-2px, -2px);
            box-shadow:
                inset -2px -2px 0 rgba(0,0,0,0.5),
                inset 2px 2px 0 rgba(255,255,255,0.3),
                4px 4px 0 rgba(0,0,0,0.3);
        }
        
        .main-site-button:active {
            transform: translate(1px, 1px);
        }
        
        .main-site-icon {
            width: 12px;
            height: 12px;
            filter: brightness(0) invert(1);
        }
#deathclip .status-badge { 
	width: 100%;
	text-align: center;
	padding: 10px;
}