/* =========================================
   KLEUREN & ACCENT
========================================= */
:root {
    --accent: #FFD54F; /* Premium goud */
    --dark: #001a2d;
    --mid: #004a7c;
    --light: #cce8ff;

    --glass-dark: rgba(0,0,0,0.35);
    --glass-mid: rgba(0,0,0,0.45);
    --glass-light: rgba(255,255,255,0.12);
}

/* =========================================
   ACHTERGROND (CINEMATIC)
========================================= */
body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;

    background-image: linear-gradient(
        rgba(0,0,0,0.78),
        rgba(0,0,0,0.78)
    ), url('/afbeelding/padelkooi2.jpg');

    background-size: cover;
    background-position: center;
    background-attachment: fixed;

    color: white;
}

/* =========================================
   HEADER BAR (MATCHT INDEX)
========================================= */
.header-bar {
    text-align: center;
    padding: 30px;
    font-size: 42px;
    font-weight: 900;
    color: white;

    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(14px);

    text-shadow: 0 5px 20px rgba(0,0,0,0.7);
    margin-bottom: 40px;
}

/* =========================================
   TERUGKNOP (DARK GLASS)
========================================= */
.back-wrapper {
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 50;
}

.back-btn {
    padding: 10px 20px;
    background: var(--glass-light);
    border-radius: 12px;
    font-weight: 700;
    color: white;
    text-decoration: none;
    border: 2px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(10px);
    transition: 0.25s ease;
}

.back-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 12px rgba(255,255,255,0.45);
}

/* =========================================
   PLAYER GRID
========================================= */
.player-grid {
    width: min(95%, 1400px);
    margin: 40px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

/* =========================================
   PLAYER CARD (CINEMATIC GLASS)
========================================= */
.player-card {
    background: var(--glass-dark);
    backdrop-filter: blur(14px);
    border-radius: 20px;
    padding: 30px;

    border-left: 6px solid var(--accent);

    box-shadow: 0 10px 35px rgba(0,0,0,0.55);
    transition: 0.25s ease;
}

.player-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 55px rgba(0,0,0,0.75);
}

/* =========================================
   PLAYER NAME
========================================= */
.player-name {
    font-size: 32px;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 15px;
    text-shadow: 0 3px 10px rgba(0,0,0,0.6);
}

/* =========================================
   STAT LINES
========================================= */
.stat-line {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 16px;
    color: rgba(255,255,255,0.85);
}

/* =========================================
   BADGES
========================================= */
.badges {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.badge {
    padding: 6px 12px;
    background: var(--accent);
    color: var(--dark);
    font-weight: 700;
    border-radius: 8px;
    font-size: 14px;
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 480px) {
    .player-card {
        padding: 20px;
    }

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

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