/* Reset defaults */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #151f1a;
    color: #f5f6fa;
    min-height: 100vh;
    line-height: 1.6;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #00ffbf;
}
.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #243b30;
    padding: 18px 32px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    position: relative;
    gap: 10px; /* Space between children */
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.nav.left,
.nav.right {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav.left {
    margin-right: 10px;
}

.nav.right {
    margin-left: 10px;
}


.logo img {
    height: 70px;
    width: auto;
    display: block;
}

/* Responsive: stack on mobile */
@media (max-width: 700px) {
    .navbar {
        flex-direction: column;
        align-items: center;
        padding: 16px;
        gap: 0;
    }
    .nav.left,
    .nav.right {
        margin: 0;
    }
    .logo {
        margin: 12px 0;
    }
}
.dropdown {
    position: relative;
}

.dropbtn {
    background: none;
    border: none;
    color: #f5f6fa;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
    outline: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropbtn:hover,
.dropbtn:focus {
    background: #233a2e;
    color: #00ff95;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: #233a2f;
    min-width: 180px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    z-index: 10;
    border-radius: 8px;
    top: 110%;
    left: 0;
    animation: dropdownFade 0.2s ease;
    overflow: hidden;
}

@keyframes dropdownFade {
    from { opacity: 0; transform: translateY(-8px);}
    to { opacity: 1; transform: translateY(0);}
}

.dropdown-content a {
    color: #f5f6fa;
    padding: 14px 22px;
    text-decoration: none;
    display: block;
    font-size: 1rem;
    transition: background 0.2s, color 0.2s;
    border-bottom: 1px solid #0e1311;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background: #00ffbf;
    color: #182720;
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
    display: block;
}

.hero {
    margin: 0 auto;
    margin-top: 0; /* Remove space above hero */
    background: rgba(24, 39, 32, 0.98);
    box-shadow: 0 2px 16px rgba(0,0,0,0.10);
    padding: 48px 32px 32px 32px;
    text-align: center;
}

.hero h1 {
    font-size: 2.7rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: #00ffbf;
}

.hero p {
    font-size: 1.2rem;
    color: #f5faf9;
    margin-bottom: 0;
}

/* Upcoming Matches & Latest News Section */
.sections-row {
    display: flex;
    gap: 32px;
    margin: 40px auto 0 auto;
    max-width: 800px;
    flex-wrap: wrap;
}

.section-card {
    flex: 1 1 320px;
    background: #182720;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 28px 22px;
    min-width: 280px;
    margin: 0;
}

/* Responsive: stack on mobile */
@media (max-width: 900px) {
    .sections-row {
        flex-direction: column;
        gap: 24px;
        max-width: 98vw;
    }
}

.section-card h2 {
    font-size: 1.3rem;
    color: #00ffbf;
    margin-bottom: 16px;
    font-weight: 600;
}

.match-card {
    padding: 16px;
    margin-bottom: 16px;
    border-radius: 8px;
    background: #182720; /* dark background */
    border: 1px solid #233a33; /* subtle border */
    text-align: center;
    color: #f5faf9; /* light text */
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    transition: transform 0.2s, box-shadow 0.2s;
}

.match-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}

.match-card .teams {
    font-weight: 600;
    color: #00ffbf; /* neon accent for teams */
}

.match-card .game {
    margin-top: 6px;
    font-style: italic;
    color: #f5faf9;
}

.match-card .location,
.match-card .date {
    margin-top: 4px;
    font-size: 0.9rem;
    color: #cfdcd8;
}

/* Flex container for side-by-side layout */
.sections-row {
    display: flex;
    gap: 32px;
    margin: 40px auto;
    max-width: 1200px;
    flex-wrap: wrap;
}

/* Each container */
.section-card {
    flex: 1 1 480px; /* grow, shrink, min width */
    background: #243b30;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
    padding: 24px;
    color: #f5faf9;
}

/* Responsive: stack on mobile */
@media (max-width: 900px) {
    .sections-row {
        flex-direction: column;
        gap: 24px;
    }
}


/* Latest News Cards */
.featured-news article {
    background: #182720;
    padding: 18px 16px;
    margin-bottom: 16px;
    border-left: 4px solid #00ffbf;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: transform 0.2s, box-shadow 0.2s;
}

.featured-news article:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,255,191,0.2);
}

.featured-news h3 {
    color: #00ffbf;
    margin-bottom: 6px;
}

.featured-news small {
    color: #ccc;
    display: block;
    margin-bottom: 8px;
}

.featured-news p {
    color: #f5f6fa;
}

.featured-news a {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 14px;
    background: #00ffbf;
    color: #243b30;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
}

.featured-news a:hover {
    background: #00c986;
    color: #f5faf9;
}

.sections-row {
    display: flex;
    gap: 32px;
    margin: 40px auto 0 auto;
    max-width: 1200px;
    flex-wrap: wrap;
}

.section-card {
    flex: 1 1 45%; /* Each card takes roughly half the row */
    background: #243b30;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 28px 22px;
    min-width: 300px;
    color: #f5faf9; /* Ensure text is light */
}

.staff-section {
    max-width: 900px;
    margin: 60px auto;
    text-align: center;
}

.staff-container {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.staff-card-wrapper {
    display: flex;
    transition: transform 0.4s ease-in-out;
}

.staff-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.staff-card-wrapper {
    display: flex;
    transition: transform 0.5s ease;
}

.staff-card {
    background-color: #243b30;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    width: 250px;
    text-align: center;
    margin: 0 10px;
    flex-shrink: 0;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.staff-card a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.staff-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.staff-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.staff-info {
    padding: 12px 10px;
}

.staff-info h3 {
    font-size: 1.2em;
    color: #00ffbf;
    margin-bottom: 4px;
}

.staff-info p {
    color: #f5faf9;
    font-size: 0.95em;
    margin: 0;
}

.staff-arrow {
    background: #00ffbf;
    border: none;
    color: #182720;
    font-size: 2rem;
    padding: 8px 14px;
    cursor: pointer;
    border-radius: 6px;
    margin: 0 8px;
    transition: background 0.2s, color 0.2s;
    z-index: 5;
}

.staff-arrow:hover {
    background: #00c986;
    color: #f5faf9;
}


.staff-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #00ffbf;
    border: none;
    color: #182720;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 6px;
    font-size: 1.5rem;
    transition: background 0.2s;
}

.staff-arrow:hover {
    background: #00c986;
}

.staff-arrow.left {
    left: 8px;
}

.staff-arrow.right {
    right: 8px;
}


/* Footer */
.footer {
    background: #243b30;
    padding: 36px 0 24px 0;
    margin-top: 48px;
}

.footer-columns {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.footer-col {
    min-width: 180px;
}

.footer-col h3 {
    font-size: 1.1rem;
    color: #00ffbf;
    margin-bottom: 14px;
    font-weight: 600;
}

.footer-col a {
    display: block;
    color: #f5faf8;
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 0.98rem;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #00ffbf;
}

/* Responsive */
@media (max-width: 900px) {
    .sections-row {
        flex-direction: column;
        gap: 24px;
        max-width: 98vw;
    }
    .hero {
        padding: 32px 10px;
        max-width: 98vw;
    }
    .section-card {
        padding: 24px 16px;
    }
    .section-card h2 {
        font-size: 1.2rem;
    }
    .match-list li, .news-list li {
        font-size: 0.9rem;
    }
}

@media (max-width: 700px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px;
    }
    .nav {
        gap: 18px;
        margin-top: 10px;
    }
    .footer-columns {
        flex-direction: column;
        gap: 24px;
        align-items: flex-start;
        padding: 0 16px;
    }
}

.form-input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 6px;
    border: none;
    background: #233a31;
    color: #f5faf9;
    font-size: 1rem;
    margin-top: 6px;
    margin-bottom: 2px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    outline: none;
    transition: background 0.2s, color 0.2s;
}

.form-input:focus {
    background: #182720;
    color: #00ffbf;
}

.form-btn {
    background: #00ffbf;
    color: #182720      ;
    border: none;
    border-radius: 6px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    margin-top: 8px;
}

.form-btn:hover {
    background: #00ffbf;
    color: #f5faf9;
}

.custom-popup {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(16, 26, 22, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.custom-popup-content {
    background: #182720;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.18);
    padding: 32px 28px;
    text-align: center;
    color: #f5faf9;
    max-width: 320px;
}

.custom-popup-content h3 {
    color: #00ffbf;
    margin-bottom: 12px;
}

.custom-popup-content p {
    margin-bottom: 8px;
    font-size: 1.08rem;
}

.contact-container {
    max-width: 600px;
    margin: 80px auto;
    padding: 32px;
    background: #182720; /* Dark background */
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    color: #f5faf9; /* Light text */
}

.contact-container h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #00ffbf;
}

.contact-container label {
    display: block;
    margin: 10px 0 5px;
    font-weight: 500;
}

.contact-container input,
.contact-container textarea {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: none;
    background: #233a31;
    color: #f5faf9;
    font-size: 1rem;
    margin-bottom: 12px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.3);
}

.contact-container input:focus,
.contact-container textarea:focus {
    outline: 2px solid #00ffbf;
    background: #182720;
}

.contact-container button {
    margin-top: 15px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    background-color: #00ffbf;
    color: #182720;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.2s, color 0.2s;
}

.contact-container button:hover {
    background-color: #00ffbf;
    color: #f5faf9;
}

.contact-links {
    text-align: center;
    margin-bottom: 20px;
}

.contact-links a {
    margin: 0 10px;
    text-decoration: none;
    color: #00ffbf;
    font-weight: bold;
    transition: color 0.2s;
}

.contact-links a:hover {
    color: #00c975;
}


.team-roster {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 40px 20px;
}

.player-card {
    background-color: #182720;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    width: 220px;
    padding: 20px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.player-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.player-card h4 {
    font-size: 1.2em;
    margin-bottom: 8px;
    color: whitesmoke;
}

.player-card p {
    margin: 4px 0;
    font-size: 0.95em;
    color: whitesmoke;
}


.page-title {
    text-align: center;
    margin: 30px 0;
    font-size: 2rem;
    color: #00ffbf;
}

.game-section {
    margin: 40px auto;
    max-width: 1200px;
}

.game-title {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: whitesmoke;
    border-left: 5px solid #00ffbf;
    padding-left: 10px;
}

.achievements-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
}

.achievements-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #00ffbf;
    font-weight: 700;
}

.achievements-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    justify-content: center;
}

.achievement-card {
    background-color: #182721;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    overflow: hidden;
    text-align: left;
    transition: transform 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
}

.achievement-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,255,191,0.25);
}

.achievement-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 3px solid #00ffbf;
}

.achievement-info {
    padding: 18px;
}

.achievement-info h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: #00ffbf;
    font-weight: 600;
}

.achievement-info p {
    font-size: 0.95rem;
    margin-bottom: 6px;
    color: #cfdcd9;
}

.achievement-info strong {
    color: #f5faf9;
}
