/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    /* Replace 'background.jpg' with your dark background/arena image path */
    background: url('img/bg.jpg') no-repeat center center fixed;
    background-size: cover;
    position: relative;
    overflow-x: hidden;
}

/* Dark gradient overlay over the background image to keep contrast crisp */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 15, 25, 0.25);
    z-index: 1;
}

/* Container */
.landing-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    padding: 40px 20px;
    text-align: center;
}

/* Header Typography */
.header h1 {
    font-size: 2.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.header p {
    font-size: 1.2rem;
    color: #d1d5db;
    margin-bottom: 50px;
    font-weight: 400;
}

/* Teams Layout Grid */
.teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-content: center;
    align-items: stretch;
}

/* Team Card Item */
.team-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 30px 20px;
    text-decoration: none;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.team-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

/* Image/Logo Styling */
.logo-wrapper {
    width: 100%;
    height: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.logo-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
    transition: transform 0.3s ease;
}

.team-card:hover .logo-wrapper img {
    transform: scale(1.05);
}

.team-card h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Button UI */
.btn {
    display: inline-block;
    padding: 10px 24px;
    background-color: #ffffff;
    color: #111827;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 30px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.team-card:hover .btn {
    background-color: #00b4d8;
    color: #ffffff;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }

    .header p {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .landing-container {
        padding: 30px 15px;
    }
}
/* Login Screen */
        .login-container {
            position: relative;
            z-index: 2;
            width: 100%;
            max-width: 400px;
            padding: 20px;
        }

        .login-card {
            background: rgba(15, 23, 42, 0.75);
            border: 1px solid rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-radius: 24px;
            padding: 40px 30px;
            text-align: center;
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
        }

        .login-card h2 {
            font-size: 1.75rem;
            font-weight: 800;
            margin-bottom: 8px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .login-card p {
            font-size: 0.95rem;
            color: #94a3b8;
            margin-bottom: 25px;
        }

        .error-msg {
            background: rgba(239, 68, 68, 0.15);
            border: 1px solid rgba(239, 68, 68, 0.4);
            color: #fca5a5;
            padding: 10px 14px;
            border-radius: 10px;
            font-size: 0.85rem;
            margin-bottom: 20px;
        }

        .input-group {
            margin-bottom: 20px;
        }

        .input-group input {
            width: 100%;
            padding: 14px 18px;
            border-radius: 50px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            background: rgba(0, 0, 0, 0.3);
            color: #ffffff;
            font-size: 1rem;
            font-family: inherit;
            outline: none;
            text-align: center;
            transition: all 0.3s ease;
        }

        .input-group input:focus {
            border-color: #38bdf8;
            box-shadow: 0 0 12px rgba(56, 189, 248, 0.3);
        }

        .submit-btn {
            width: 100%;
            padding: 14px;
            border: none;
            border-radius: 50px;
            background-color: #38bdf8;
            color: #0f172a;
            font-size: 1rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .submit-btn:hover {
            background-color: #7dd3fc;
            transform: translateY(-2px);
        }

        /* Logout Link */
        .logout-wrapper {
            margin-top: 40px;
        }

        .logout-link {
            color: #64748b;
            text-decoration: none;
            font-size: 0.9rem;
            font-weight: 600;
            transition: color 0.3s ease;
        }

        .logout-link:hover {
            color: #38bdf8;
        }

        /* Responsive Tweaks */
        @media (max-width: 640px) {
            .header h1 {
                font-size: 1.8rem;
            }
            .header p {
                font-size: 1rem;
            }
        }