/* =============================
   LOCKED: DO NOT EDIT
   This file has been approved by the user (Feb 14).
   Main updates should go into a new file or specific overrides.
   ============================= */
/* =============================
   RESET & VARIABLES
   ============================= */
:root {
    --primary-color: #1abc9c;
    --primary-dark: #16a085;
    --secondary-color: #f1c40f;
    --dark-bg: #121212;
    --card-bg: rgba(30, 30, 30, 0.85);
    /* Glassmorphism base */
    --text-color: #ffffff;
    --text-muted: #bdc3c7;
    --overlay-color: rgba(0, 0, 0, 0.75);
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    min-height: 100vh;
    background:
        linear-gradient(var(--overlay-color), var(--overlay-color)),
        url("/static/images/stadium.jpg") no-repeat center center fixed;
    background-size: cover;
    color: var(--text-color);
    line-height: 1.6;
}

/* =============================
   NAVIGATION BAR
   ============================= */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 40px;
    background: rgba(0, 0, 0, 0.9);
    border-bottom: 3px solid var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-left img {
    height: 45px;
}

.nav-left span {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-center a {
    margin: 0 20px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color var(--transition-speed);
}

.nav-center a:hover {
    color: var(--primary-color);
}

.nav-right {
    font-size: 14px;
    color: var(--text-muted);
}

/* =============================
   HERO SECTION
   ============================= */
.hero-section {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(to bottom, transparent, #000);
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 800;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    color: var(--text-muted);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* =============================
   SECTIONS & LAYOUT
   ============================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 10px;
}

.no-data {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    font-size: 1.2rem;
}

/* =============================
   GRID SYSTEMS
   ============================= */
/* =============================
   GRID SYSTEMS
   ============================= */
.matches-grid,
.merch-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Force 4 columns */
    gap: 20px;
}

/* =============================
   MATCH CARDS
   ============================= */
.match-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 25px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.match-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    border-color: var(--primary-color);
}

.match-teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.team img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.logo-placeholder {
    width: 60px;
    height: 60px;
    background: #333;
    border-radius: 50%;
}

.team span {
    font-weight: bold;
    font-size: 0.9rem;
    text-align: center;
}

.vs {
    font-weight: 800;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.match-info p {
    margin: 8px 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.match-info i {
    width: 20px;
    color: var(--primary-color);
}

.match-action {
    margin-top: 20px;
}

/* =============================
   MERCH CARDS
   ============================= */
.merch-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    /* Contains image */
    transition: transform var(--transition-speed);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.merch-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.merch-image {
    height: 250px;
    background: #2c3e50;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.merch-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.merch-card:hover .merch-image img {
    transform: scale(1.1);
}

.img-placeholder {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.2);
}

.merch-info {
    padding: 20px;
    text-align: center;
}

.merch-info h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.price {
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* =============================
   BUTTONS & FORMS
   ============================= */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    transition: all var(--transition-speed);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(26, 188, 156, 0.4);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #000;
}

.btn-block {
    display: block;
    width: 100%;
    background: var(--primary-color);
    color: #fff;
    text-align: center;
}

.btn-block:hover {
    background: var(--primary-dark);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
}

input,
button {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    border-radius: 8px;
    border: 1px solid #444;
    background: #222;
    color: #fff;
}

button[type="submit"] {
    background: var(--primary-color);
    border: none;
    font-weight: bold;
}

/* =============================
   SCROLLING BANNER (MARQUEE)
   ============================= */
.marquee-container {
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    border-bottom: 2px solid var(--primary-color);
    overflow: hidden;
    white-space: nowrap;
    padding: 10px 0;
}

.marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
    padding-left: 100%;
    /* Start off-screen */
}

.marquee-item {
    display: inline-block;
    margin-right: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--text-color);
}

.marquee-item span {
    color: var(--primary-color);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}


/* =============================
   RESPONSIVE
   ============================= */
@media (max-width: 1200px) {

    .matches-grid,
    .merch-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {

    .matches-grid,
    .merch-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .matches-grid,
    .merch-grid {
        grid-template-columns: 1fr;
    }
}