* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #06141f;
    color: white;
}
/* Hamburger Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

    .menu-toggle span {
        width: 25px;
        height: 3px;
        background: #00e38c;
        border-radius: 2px;
        transition: 0.3s;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }
/* NAVBAR */
.navbar {
    position: fixed;
    width: 100%;
    padding: 18px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to right, #06141f, #0a2a3a);
    z-index: 1000;
}

.logo {
    font-weight: 700;
    font-size: 20px;
    color: #00e38c;
    display: flex;
    gap: 10px;
}

nav {
    display: flex;
    gap: 28px;
}

nav a {
    color: #cfd8dc;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

nav a:hover, .active {
    color: #00e38c;
}

.login {
    border: 1px solid #00e38c;
    padding: 6px 12px;
    border-radius: 6px;
}

/* HERO */
 .hero {
    height: 100vh;
    /*background: url('assets/stadium.png') center/cover no-repeat;*/
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.pnlm-container{
    contain:style !important;
}
.overlay {
    z-index: 1;
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(80, 80, 80, .6));
}

/* TEXT */
.hero-content {
    text-align: center;
    z-index: 2;
}

.hero h1 {
    font-size: 52px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.2;
}

.hero p {
    margin-top: 15px;
    color: #00e38c;
    font-weight: 500;
    font-size: 16px;
}

/* CAPTAINS ROW (five transparent images side-by-side) */
.captains {
    position: relative;
    z-index: 2; /* above overlay */
    display: flex;
    justify-content: center;
    align-items: flex-end; /* align bottoms */
    gap: 8px; /* small gap between images when not overlapping */
    width: 100%;
    padding: 10px 8px 6px;
}

.captain {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-left: -12px; /* reduce overlap so wrapped rows center better */
}

.captain img {
    display: block;
    max-height: 36vh; /* slightly larger */
    width: auto;
    filter: drop-shadow(0 12px 26px rgba(0,0,0,0.55));
    transform-origin: bottom center;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.captains-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

/* Carousel container for slides (.captains-wrap) */
.captains-carousel {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto 6px;
    overflow: hidden; /* hide adjacent slides */
    z-index: 3;
    padding: 18px; /* outer padding for visual breathing room */
    box-sizing: border-box;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(6,20,31,0.72) 0%, rgba(6,20,31,0.6) 60%, rgba(6,20,31,0.45) 100%);
    border: 1px solid rgba(0,227,140,0.06);
    box-shadow: 0 18px 50px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.02);
}

.captains-track {
    display: flex;
    transition: transform 520ms cubic-bezier(.22,.9,.32,1);
    will-change: transform;
    align-items: center;
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

.carousel-btn {
    position: absolute;
    top: 38%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.45);
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0,0,0,0.6);
}

.carousel-btn.prev { left: 8px; }
.carousel-btn.next { right: 8px; }

.carousel-btn:hover { transform: translateY(-50%) scale(1.04); }

/* Each slide (.captains-wrap) should not be visible outside track width */
.captains-track > .captains-wrap { flex: 0 0 100%; display: flex; justify-content: center; box-sizing: border-box; padding: 6px 80px; overflow: hidden; }

/* ensure slide inner content doesn't allow overflow to peek */
.captains-track > .captains-wrap .captains { max-width: 100%; overflow: hidden; }

/* decorative overlay for a more elegant background */
.captains-carousel::before{
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: 18px;
    background: radial-gradient(800px 160px at 50% 30%, rgba(0,227,140,0.06), transparent 18%),
                linear-gradient(180deg, rgba(255,255,255,0.02), transparent 40%);
}

.captain:first-child { margin-left: 0; }

/* Utility to center wrapped captain rows and avoid right-side cutoff */
.center-wrap { justify-content: center !important; }
.center-wrap .captain { margin-left: 0 !important; }

.captain:hover img { transform: translateY(-8px) scale(1.03); filter: drop-shadow(0 18px 30px rgba(0,0,0,0.6)); }

.captains-title {
    text-align: center;
    color: #ffffff;
    font-weight: 800;
    font-size: 34px;
    margin-top: 6px;
    z-index: 2;
    text-shadow: 0 6px 20px rgba(0,0,0,0.7);
    letter-spacing: 1px;
    background: linear-gradient(90deg, rgba(0,227,140,0.12), rgba(255,255,255,0.02));
    padding: 6px 18px;
    border-radius: 8px;
    border: 1px solid rgba(0,227,140,0.08);
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .captain img { max-height: 26vh; }
    .captains { gap: 0; padding: 10px 12px 6px; }
    .captains-title { font-size: 22px; }
}

@media (max-width: 480px) {
    .captains { gap: 6px; padding: 6px 8px 6px; }
    .captain img { max-height: 16vh; }
    .captains-title { font-size: 18px; }
    .captain { margin-left: -18px; }
}

/* Tablet adjustments: fit all five images by reducing overlap and scaling */
@media (max-width: 768px) and (min-width: 481px) {
    .captains-track > .captains-wrap { padding: 6px 24px; }
    .captains { padding: 8px 6px; justify-content: space-between; }
    .captain { margin-left: 0; flex: 0 0 16%; }
    .captain img { max-height: 20vh; width: 100%; height: auto; object-fit: contain; }
}

/* Small phones: reduce overlap to zero and scale images so all five fit */
@media (max-width: 480px) {
    .captains-track > .captains-wrap { padding: 6px 17px; }
    .captains { justify-content: space-between; }
    .captain {  flex: 0 0 22%; }
    .captain img { max-height: none; width: 100%; height: auto; object-fit: contain; }
}

/* PLAYERS */
.player {
    position: absolute;
    bottom: 0;
    z-index: 2;
    max-height: 90%;
}
.left2{
    max-height: 75%;
}
.left1 { left: 5%; }
.left2 { left: 10%; }
.right1 { right: 10%; }
.right2 { right: 5%; }

/* CARDS */
.cards {
    display: flex;
    justify-content: center;
    gap: 25px;
    padding: 40px;
    margin-top: -120px;
    z-index: 10;
    position: relative;
    flex-wrap: wrap;
}

.card {
    width: 260px;
    padding: 25px;
    border-radius: 16px;
    background: rgba(10, 42, 58, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 227, 140, 0.3);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-10px) scale(1.03);
    border-color: #00e38c;
    box-shadow: 0 0 20px rgba(0, 227, 140, 0.3);
}

.card h3 {
    color: #00e38c;
    margin-bottom: 10px;
}

.card p {
    font-size: 13px;
    opacity: 0.8;
}
.card.large {
    width: 280px;
    height: 340px;

    display: flex;
    flex-direction: column;
}
.card.large {
    width: 280px;
    height: 340px;

    display: flex;
    flex-direction: column;
}

.card.large .carousel {
    margin-top: 10px;
    flex-grow: 1;   /* IMPORTANT: allows space */
}
.card.large .carousel {
    margin-top: 10px;
    flex-grow: 1;   /* IMPORTANT: allows space */
}

.carousel {
    display: flex;
    flex-direction: row;   /* FORCE horizontal */
    gap: 12px;

    overflow-x: auto;
    overflow-y: hidden;

    padding: 10px 5px;
    scroll-behavior: smooth;
}

/* IMPORTANT: prevent shrinking */
.carousel > * {
    flex: 0 0 auto;
}
/* hide scrollbar */
.carousel::-webkit-scrollbar {
    display: none;
}
.mini-card {
    min-width: 120px;
    height: 100px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0e3b4f, #08222e);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 500;
    color: #fff;

    border: 1px solid rgba(0, 227, 140, 0.3);
    transition: 0.3s;
}

.mini-card:hover {
    transform: scale(1.05);
    border-color: #00e38c;
}
.player-mini-card {
    min-width: 140px;   /* REQUIRED for carousel */
    height: 100px;

    border-radius: 14px;
    background: linear-gradient(145deg, #0c2f3f, #081f2b);
    padding: 12px;
    text-align: center;

    border: 1px solid rgba(0, 227, 140, 0.25);
}

.player-mini-card img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 8px;
}

.player-mini-card h4 {
    font-size: 13px;
    margin-bottom: 5px;
}

.player-mini-card p {
    font-size: 12px;
    color: #00e38c;
}

.player-mini-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 15px rgba(0, 227, 140, 0.3);
}
.player-mini-card p {
    background: rgba(0, 227, 140, 0.15);
    padding: 2px 6px;
    border-radius: 6px;
}
.tournament-mini-card {
    min-width: 120px;
    height: 120px;
    border-radius: 12px;
    background: linear-gradient(145deg, #0c2f3f, #081f2b);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(0, 227, 140, 0.25);
    transition: 0.3s;
}

/* Live tournament emphasis */
.tournament-mini-card.live {
    background: linear-gradient(135deg, rgba(0,227,140,0.12), rgba(6,20,31,0.6));
    border: 1px solid rgba(0,227,140,0.6);
    box-shadow: 0 12px 30px rgba(0,227,140,0.12), 0 6px 18px rgba(0,0,0,0.45);
    transform: translateY(-6px) scale(1.02);
}

.tournament-mini-card .live-badge {
    position: absolute;
    margin-top: -8px;
}

.tournament-mini-card {
    position: relative;
}

.live-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: linear-gradient(90deg, #ff3b3b, #ff7a3b);
    color: white;
    padding: 6px 8px;
    font-weight: 700;
    font-size: 12px;
    border-radius: 6px;
    box-shadow: 0 8px 20px rgba(255,67,67,0.14);
    letter-spacing: 0.6px;
}

.tournament-mini-card img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 8px;
}

.tournament-mini-card span {
    font-size: 12px;
}

.tournament-mini-card:hover {
    transform: scale(1.05);
    border-color: #00e38c;
}
.video-section {
    padding: 60px 40px;
    background: linear-gradient(to bottom, #06141f, #020c12);
    text-align: center;
}

.video-section h2 {
    margin-bottom: 20px;
    color: #00e38c;
}

/* RESPONSIVE VIDEO */
.video-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: auto;

    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;

    border-radius: 16px;
    overflow: hidden;

    box-shadow: 0 0 25px rgba(0, 227, 140, 0.2);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;
}
.navbar {
    padding: 15px 25px;
}

.logo {
    font-size: 18px;
}

nav {
    gap: 20px;
}

    nav a {
        font-size: 13px;
    }
.pnlm-fullscreen-toggle-button, .pnlm-orientation-button {
    display: none !important
}
/* RESPONSIVE */
@media (max-width: 900px) {
    .hero h1 {
        font-size: 42px;
    }
    .card.large {
        width: 240px;
        height: 320px;
    }
    .hero {
        height: 40vh;
    }

    .player {
        display: none;
    }

    .navbar {
        padding: 15px 20px;
    }

    nav {
        display: none;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }

    .logo {
        font-size: 16px;
        gap: 8px;
    }

    .logo-icon {
        font-size: 20px;
    }

    /* Show hamburger menu */
    .menu-toggle {
        display: flex;
    }

    /* Hide desktop nav (desktop hidden on small screens) but show mobile nav layout */
    nav {
        position: absolute;
        top: 60px;
        left: 0;
        display: flex;
        width: 100%;
        flex-direction: column;
        gap: 0;
        padding: 20px;
        background: linear-gradient(to bottom, #06141f, #0a2a3a);
        border-top: 1px solid rgba(0, 227, 140, 0.2);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

        nav.active {
            max-height: 500px;
        }

        nav a {
            padding: 15px 0;
            border-bottom: 1px solid rgba(0, 227, 140, 0.1);
            font-size: 14px;
        }

            nav a:last-child {
                border-bottom: none;
            }

    .login {
        border: 1px solid #00e38c;
        padding: 8px 15px;
        border-radius: 6px;
        display: inline-block;
    }

    .hero {
        height: 60vh;
    }

        .hero h1 {
            font-size: 28px;
            font-weight: 700;
        }

        .hero p {
            font-size: 14px;
            margin-top: 10px;
        }

    .player {
        display: none;
    }

    .cards {
        flex-direction: column;
        align-items: center;
        padding: 20px;
        margin-top: -60px;
        gap: 15px;
    }

    .card.large {
        width: 100%;
        max-width: 350px;
        height: auto;
        min-height: 280px;
    }

    .carousel {
        gap: 10px;
        padding: 8px 5px;
    }

    .player-mini-card {
        min-width: 120px;
        height: 90px;
        padding: 10px;
    }

    .tournament-mini-card {
        min-width: 110px;
        height: 110px;
    }

    .video-section {
        padding: 40px 20px;
    }

        .video-section h2 {
            font-size: 20px;
            margin-bottom: 15px;
        }

    .video-container {
        max-width: 100%;
        padding-bottom: 56.25%;
    }
}
@media (max-width: 480px) {
    .navbar {
        padding: 12px 15px;
    }

    .logo {
        font-size: 14px;
        gap: 6px;
    }

    .logo-icon {
        font-size: 18px;
    }

    nav {
        top: 50px;
    }

    .hero {
        height: 50vh;
    }

        .hero h1 {
            font-size: 22px;
            letter-spacing: 0px;
            word-spacing: 100vw;
        }

        .hero p {
            font-size: 13px;
            margin-top: 8px;
        }

    .cards {
        padding: 15px;
        margin-top: -40px;
        gap: 12px;
    }

    .card {
        width: 100% !important;
        max-width: 100%;
        padding: 20px;
    }

        .card h3 {
            font-size: 16px;
            margin-bottom: 8px;
        }

        .card p {
            font-size: 12px;
        }

/* Desktop: increase typography for wide screens so about page looks prominent */
@media (min-width: 1200px) {
    .about-title, .hero-content h1 {
        font-size: 56px !important;
        line-height: 1.04 !important;
    }
    .about-desc, .hero-content p {
        font-size: 20px !important;
        line-height: 1.75 !important;
        max-width: 1100px !important;
    }
    .card h3 { font-size: 22px !important; }
    .card p { font-size: 17px !important; line-height: 1.75 !important; }
}

/* Mobile: reduce typography to fit content and avoid wrapping issues */
@media (max-width: 420px) {
    .about-title, .hero-content h1 { font-size: 14px !important; line-height: 1.25 !important; }
    .about-desc, .hero-content p { font-size: 12px !important; line-height: 1.45 !important; }
    .card h3 { font-size: 14px !important; }
    .card p { font-size: 12px !important; line-height: 1.45 !important; }
}

    .carousel {
        gap: 8px;
        padding: 8px 3px;
    }

    .player-mini-card {
        min-width: 100px;
        height: 80px;
        padding: 8px;
    }

        .player-mini-card h4 {
            font-size: 12px;
            margin-bottom: 3px;
        }

        .player-mini-card p {
            font-size: 11px;
        }

    .tournament-mini-card {
        min-width: 100px;
        height: 100px;
    }

        .tournament-mini-card img {
            width: 45px;
            height: 45px;
            margin-bottom: 5px;
        }

        .tournament-mini-card span {
            font-size: 11px;
        }

    .mini-card {
        min-width: 100px;
        height: 80px;
        font-size: 12px;
    }

    .video-section {
        padding: 30px 15px;
    }

        .video-section h2 {
            font-size: 18px;
            margin-bottom: 12px
        }

    ;

    nav {
        display: none;
    }
}