
body {
    background:#0d0d0d;
    color:#fff;
    font-family:Arial, sans-serif;
    margin:0;
    padding:15px;
    position: relative;
    font-size:16px;
}


body::after {
    position:fixed;
top:0;
left:0;
width:100vw;
height:100vh;
background:url('https://www.tbsv.de/wp-content/uploads/2025/11/MG_9949-scaled.jpg');
content:'';
z-index:-1;
background-position:center;
background-size:cover;
opacity:0.2;
filter: grayscale(100);
}

h1, h2 {
    margin:25px 0 10px;
    font-weight:700;
    text-transform:uppercase;
}

/* CARD LAYOUT */
.card {
    background:#1a1a1a;
    padding:15px;
    border-radius:12px;
    margin-bottom:18px;
    box-shadow:0 0 12px rgba(0,0,0,0.4);
}

.row {
    display:flex;
    justify-content:space-between;
    padding:8px 0;
    border-bottom:1px solid #333;
}

.row:last-child {
    border-bottom:none;
}

.label {
    color:#aaa;
    font-size:13px;
}

.value {
    color:#fff;
    font-size:15px;
    font-weight:600;
}

.score {
    color:#ffd144;
}



.group-table {width:100%; max-width:600px; padding:5px; border-collapse:collapse; box-sizing:border-box; background:black; margin:auto;}
.group-table tr > td {padding:5px;}
.group-table tr:nth-child(odd) {background:rgba(255,255,255,0.2)}

.group-table tr > td:first-child {width:60%;}
.group-table tr > td:nth-child(2) {width:15%; text-align:center;}
.group-table tr > td:nth-child(3) {width:25%; text-align:center;}
.group-table tr > th:first-child {text-align:left !important;}
thead {background: #fff000; color: #000;}

h1 {text-align:center; font-size:25px; margin-top:1em;}
h2 {text-align:center; font-size:20px;}


.gamebox {
    background: #151515ff;
    padding: 20px;
    margin: 15px auto;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #444;
    max-width:600px;
    
}

.game-header {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.game-teams {
    font-size: 22px;
    margin-bottom: 12px;
    font-weight: bold;
}

.game-teams .vs {
    padding: 0 10px;
    opacity: 0.8;
}

.game-score {
    font-size: 26px;
    font-weight: bold;
    margin-top: 10px;
    color: #fff000;
}


.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    justify-content:center;
    width:100%;
}

.tab-button {
    background: #333;
    color: #fff;
    border: 1px solid #555;
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
}


.tab-button[data-tab="bilder"] {
background:red;


}

.tab-button[data-tab="bilder"].active {
    background: rgba(255, 55, 0, 1);
    border-color: rgba(255, 55, 0, 1);
}

.tab-button.active {
    background: #fff000;
    border-color: rgba(225, 255, 0, 1);
    color:black;
}

.tab-content {
    display: none;
    padding-top:1em;
}

.tab-content.active {
    display: block;
}

.content_wrapper {border:1px solid white; padding:0; box-sizing:border-box; margin-bottom:1em; border-radius: 10px; background:black;}
.content_wrapper h2 {background: #fff000; color: black; margin:0; padding:10px; }

/* Desktop: mehrere Spalten */
@media (min-width: 900px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}






.btn-upload {
    background: #fff000;
    border: 2px solid rgba(225, 255, 0, 1);
    color: #000;
    padding: 12px 22px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: 
        background-color 0.15s ease,
        box-shadow 0.15s ease,
        transform 0.1s ease;
}

.btn-upload:hover {
    background: #fff333;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-upload:active {
    transform: scale(0.97);
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.btn-upload:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 240, 0, 0.6);
}


input[type="file"]::file-selector-button {
    background: #fff333;
    border: 1px solid #fff333;
    color: black;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
}


.success_wrapper {
    position:absolute;
    left:0;
    top:0;
    width:100vw;
    height:100vh;
    background:rgba(0,0,0,0.5);
    display:flex;
    justify-content:center;
    align-items:center;
}

.success {
    background: black;
    border: 1px solid #2ecc71;
    color: #00ff6aff;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 6px;
    font-weight: 600;
    width:300px;   
    margin:auto;
    text-align:center;
}


.success a {display:block; margin:auto; background:#fff333; color:black; margin-top:2em; padding:0.5em; width:fit-content; text-decoration:none; border-radius:5px;}




.start-wrapper { max-width:900px; margin:auto; padding:20px; line-height:1.6; }
.timeline ul, .rules ul, .flow ul { margin:10px 0 20px; padding-left:20px; }
.timeline h3 { margin-top:25px; }
