﻿.ntmglcontainer {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.ntmglheader {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
    padding: 30px;
    text-align: center;
    position: relative;
}

    .ntmglheader::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="30" cy="30" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="70" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="50" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
    }

    .ntmglheader h1 {
        font-size: 2.5rem;
        margin-bottom: 10px;
        position: relative;
        z-index: 1;
    }

.news-section {
    background-color: white;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.game-info {
    font-size: 1.1rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
    color: white;
}

.nav-btn {
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.3);
    color: blue;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    backdrop-filter: blur(10px);
}

    .nav-btn:hover {
        background: rgba(255,255,255,0.3);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 30px;
    background: #f8f9fa;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .stat-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    }

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.available .stat-number {
    color: #27ae60;
}

.unavailable .stat-number {
    color: #e74c3c;
}

.pending .stat-number {
    color: #f39c12;
}

.content {
    padding: 30px;
}

.section {
    margin-bottom: 40px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.section-header {
    padding: 20px 25px;
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

.available-section .section-header {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
}

.unavailable-section .section-header {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.pending-section .section-header {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.player-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
    padding: 25px;
    background: white;
}

.player-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

    .player-card:hover {
        background: #e9ecef;
        transform: translateX(5px);
    }

.available-section .player-card {
    border-left-color: #27ae60;
}

.unavailable-section .player-card {
    border-left-color: #e74c3c;
}

.pending-section .player-card {
    border-left-color: #f39c12;
}

.player-name {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #2c3e50;
}

.player-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 0.9rem;
    color: #666;
}

.player-position {
    background: #007bff;
    color: white;
    padding: 3px 8px;
    border-radius: 15px;
    font-size: 0.8rem;
    align-self: flex-start;
    margin-top: 5px;
}

.response-time {
    font-size: 0.8rem;
    opacity: 0.7;
}

.status-icon {
    font-size: 1.2rem;
    margin-right: 5px;
}

.empty-state {
    text-align: center;
    padding: 40px 25px;
    color: #666;
    background: white;
}

.empty-state-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.refresh-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

    .refresh-btn:hover {
        transform: scale(1.1) rotate(180deg);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    }
.sidebar {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.news-item {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

    .news-item:last-child {
        border-bottom: none;
    }

.news-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.news-title {
    color: blue;
    margin-top: 0;
}

.team-standings {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

    .team-standings th, .team-standings td {
        padding: 8px;
        text-align: left;
        border-bottom: 1px solid #ddd;
    }

    .team-standings th {
        background-color: #f2f2f2;
    }

    .team-standings tr:hover {
        background-color: #f9f9f9;
    }

.upcoming-match {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.cta-button {
    display: inline-block;
    background-color: blue;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

    .cta-button:hover {
        background-color: blue;
    }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scroll {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Responsive adjustments for about section */
@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .join-section {
        position: relative;
        top: auto;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 2rem 1.5rem;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .feature-icon {
        min-width: auto;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tabs {
        justify-content: flex-start;
    }
}

/* Animation for scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }