/* TUS KOMET ARSTEN - RED & WHITE THEME */
:root {
    /* BRAND COLORS */
    --club-red: #D32F2F;       /* Official Club Red */
    --club-red-dark: #b71c1c;  /* Darker Red for gradients/hover */
    --white: #ffffff;
    --dark-grey: #1a1a1a;      /* For main text (easier to read than black) */
    --light-grey: #f3f4f6;     /* Background color */
    
    /* ACCENTS */
    --gold: #fbbf24;           /* Trophy Gold */
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Segoe UI', system-ui, sans-serif; background-color: var(--light-grey); color: var(--dark-grey); line-height: 1.6; }

/* --- NAVIGATION (BREADCRUMB) --- */
.breadcrumb { background: var(--white); border-bottom: 1px solid #e5e5e5; padding: 12px 0; }
.breadcrumb a { color: var(--club-red); text-decoration: none; font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px; }
.breadcrumb a:hover { color: var(--club-red-dark); text-decoration: underline; }

/* --- HEADER (THE BIG RED BANNER) --- */
header { 
    text-align: center; 
    padding: 50px 20px; 
    /* The Red Gradient Background */
    background: linear-gradient(135deg, var(--club-red) 0%, var(--club-red-dark) 100%); 
    color: var(--white); 
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}
header h1 { font-size: 2.8rem; font-weight: 800; margin-bottom: 10px; text-transform: uppercase; letter-spacing: -1px; text-shadow: 2px 2px 4px rgba(0,0,0,0.2); }
header p { opacity: 0.95; font-size: 1.1rem; font-weight: 500; }

/* --- CONTAINERS --- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* --- CARD GRID (HOME PAGE) --- */
.grid-layout { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; padding-bottom: 40px; }

.event-card { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); transition: transform 0.2s ease; text-decoration: none; color: inherit; border-top: 5px solid var(--club-red); }
.event-card:hover { transform: translateY(-5px); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }
.card-banner { height: 180px; background-color: #ddd; background-size: cover; background-position: center; position: relative; }
.status-tag { position: absolute; top: 15px; right: 15px; background: var(--white); color: var(--club-red); padding: 5px 15px; border-radius: 20px; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; box-shadow: 0 2px 4px rgba(0,0,0,0.2); }
.card-content { padding: 25px; }
.card-content h3 { font-size: 1.4rem; color: var(--club-red); margin-bottom: 8px; font-weight: 700; }
.card-content p { font-size: 0.95rem; color: #555; }
.btn-link { display: inline-block; margin-top: 15px; color: var(--club-red); font-weight: bold; font-size: 0.9rem; text-transform: uppercase; }

/* --- MATCH CENTER TABLES --- */
.table-wrapper { overflow-x: auto; background: var(--white); border-radius: 8px; box-shadow: var(--shadow); border-top: 4px solid var(--club-red); }
.points-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.points-table th { background: var(--club-red); color: var(--white); padding: 15px; text-align: left; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.5px; }
.points-table td { padding: 12px 15px; border-bottom: 1px solid #f0f0f0; color: #333; }
.top-team td { background-color: #fff1f2; font-weight: bold; color: var(--club-red-dark); }

/* --- MATCH SCHEDULE LIST --- */
.match-card { display: flex; align-items: center; background: var(--white); padding: 20px; margin-bottom: 15px; border-radius: 8px; border-left: 6px solid #ddd; box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
.match-card.live { border-left-color: var(--club-red); background: #fffafa; }
.match-status { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; color: #999; width: 90px; }
.live .match-status { color: var(--club-red); animation: pulse 1.5s infinite; }
.match-info { font-weight: 700; margin-right: 20px; color: #444; }
.match-teams { flex-grow: 1; font-size: 1.1rem; }
.match-teams span { font-weight: 800; color: var(--dark-grey); }

/* --- TEAM SQUADS / AUCTION --- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 30px; }
.team-card { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); border-top: 4px solid var(--club-red); }
.team-img-box img { width: 100%; height: 500px; object-fit: cover; }
.card-body { padding: 20px; }
.card-body h3 { color: var(--club-red); margin-bottom: 5px; font-size: 1.5rem; }
.player-list { list-style: none; padding: 0; margin-top: 15px; }
.player-list li { padding: 8px 0; border-bottom: 1px solid #f0f0f0; font-size: 0.95rem; display: flex; justify-content: space-between; }
.player-list li strong { color: var(--club-red); }

/* --- UTILITIES --- */
.section-title { font-size: 1.6rem; color: var(--dark-grey); margin: 40px 0 20px 0; padding-left: 15px; border-left: 5px solid var(--club-red); text-transform: uppercase; font-weight: 800; }
.image-container-wide img { width: 100%; border-radius: 12px; margin-bottom: 20px; border: 1px solid #eee; }
footer { text-align: center; padding: 40px; color: #888; font-size: 0.9rem; margin-top: 60px; border-top: 1px solid #e5e5e5; background: var(--white); }

/* Mobile Responsive */
@media (max-width: 600px) {
    header { padding: 30px 15px; }
    header h1 { font-size: 1.8rem; }
    .match-card { flex-direction: column; align-items: flex-start; gap: 8px; }
    .match-status { margin-bottom: 5px; }
}

@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.6; } 100% { opacity: 1; } }