/* ==========================================
   MOBILE NAVIGATION
========================================== */

@media (max-width: 992px) {

    #menuBtn {
        display: block;
    }

    nav {
        display: none;
    }

    nav.active {

        display: flex;

        flex-direction: column;

        position: fixed;

        top: 68px;
        left: 0;

        width: 100%;

        max-height: calc(100vh - 68px);

        overflow-y: auto;

        background: #111;

        padding: 0;

        gap: 0;

        z-index: 9999;

        box-sizing: border-box;

        box-shadow:
            0 12px 30px rgba(0, 0, 0, 0.25);
    }

    nav.active a {

        display: flex;

        align-items: center;
        justify-content: center;

        min-height: 62px;

        padding: 15px 20px;

        box-sizing: border-box;

        font-size: 17px;

        line-height: 1.2;

        color: #fff;

        border-bottom:
            1px solid rgba(255,255,255,.1);
    }

    nav.active a:last-child {
        border-bottom: none;
    }

}



nav.active{

display:flex;

flex-direction:column;

position:absolute;

top:82px;

left:0;

width:100%;

background:#111;

padding:20px 0;

gap:0;

z-index:999;

box-shadow:0 12px 30px rgba(0,0,0,.2);

}

nav.active a{

display:block;

padding:18px 30px;

font-size:17px;

color:#fff;

}






@media(max-width:768px){


.logo i{
    font-size:24px;
}



.coming h1{

font-size:34px;

}

.coming h2{

font-size:22px;

}

.container{

width:95%;

}

.desktop-logo{
    display:none;
}

.mobile-logo{
    display:inline;
    font-size:16px;
    font-weight:700;
}

.logo i{
    font-size:24px;
}

.navbar .container{
    height:68px;
}

}

@media(max-width:480px){

.btn{

width:100%;

text-align:center;

}

}
@media(max-width:992px){

.highlight-grid,
.timeline-box,
.stats-grid,
.committee-grid,
.preview-grid{

grid-template-columns:1fr 1fr;

}

.hero-container{

grid-template-columns:1fr;

text-align:center;

}

.hero-buttons{

justify-content:center;

}

.donation-box{

flex-direction:column;

gap:30px;

}

}

@media(max-width:768px){

.highlight-grid,
.timeline-box,
.stats-grid,
.committee-grid,
.preview-grid{

grid-template-columns:1fr;

}

.timer{

grid-template-columns:repeat(2,1fr);

}

.hero-left h1{

font-size:42px;

}

.hero-right img{

width:280px;

}

}
@media(max-width:768px){

.event{

flex-direction:column;

text-align:center;

gap:10px;

}

.games-grid{

grid-template-columns:1fr;

}

.page-header h1{

font-size:38px;

}

}
@media(max-width:768px){

.gallery-grid{

grid-template-columns:1fr;

}

.gallery-item img{

height:250px;

}

}
@media(max-width:768px){

.video-grid{

grid-template-columns:1fr;

}

.video-item iframe{

height:220px;

}

}
@media(max-width:768px){

.donate-grid{

grid-template-columns:1fr;

}

.contact-grid{

grid-template-columns:1fr;

}

.qr-box img{

width:260px;

}

}
@media(max-width:768px){

.committee-grid{

grid-template-columns:1fr;

}

}
@media(max-width:768px){

.contact-layout{

grid-template-columns:1fr;

}

.map-card iframe{

min-height:300px;

}

}
.scroll-indicator{
    bottom:20px;
}
.map-box iframe{

    height:300px;

}

@media(max-width:768px){

.hero-buttons{

flex-direction:column;

align-items:center;

gap:15px;

}

.hero-buttons .btn{

width:90%;

}

}

@media(max-width:768px){

.hero-left h1{

font-size:38px;

line-height:1.2;

}

.hero-left h2{

font-size:20px;

}

}

@media(max-width:768px){

.notice-bar{

font-size:13px;

padding:8px 10px;

}

}

/* =========================================
   GALLERY - MOBILE RESPONSIVE
========================================= */

@media (max-width: 768px) {

    /* Gallery main heading */
    .gallery-event h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    /* Gallery year */
    .gallery-year h2 {
        font-size: 24px;
    }

    /* Gallery grid */
    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    /* Gallery card */
    .gallery-item {
        width: 100%;
        margin: 0;
    }

    /* Gallery image */
    .gallery-image {
        width: 100%;
        height: 160px;
        object-fit: cover;
        display: block;
        border-radius: 10px;
    }

    /* Delete button in admin gallery */
    .gallery-item .admin-btn {
        width: 100%;
        font-size: 13px;
        padding: 8px 10px;
    }

}


/* =========================================
   SMALL PHONES
========================================= */

@media (max-width: 480px) {

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .gallery-image {
        height: 135px;
        border-radius: 8px;
    }

    .gallery-event h3 {
        font-size: 18px;
    }

    .gallery-year h2 {
        font-size: 21px;
    }

}



@media (max-width: 768px) {

    .youtube-home-play {

        width: 64px;
        height: 46px;

        font-size: 24px;

        border-radius: 12px;
    }


    .youtube-home-wrapper iframe {

        width: 100%;
        height: auto;

        aspect-ratio: 16 / 9;

        display: block;
    }

}


/* ==========================================
   VIDEOS PAGE - RESPONSIVE
========================================== */

.public-video-grid {
    width: 100%;
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}


/* VIDEO CARD */

.public-video-card {
    width: 100%;
    overflow: hidden;

    background: #fff;

    border-radius: 18px;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.10);
}


/* THUMBNAIL */

.youtube-wrapper {
    width: 100%;
}

.youtube-thumbnail {
    position: relative;

    width: 100%;
    aspect-ratio: 16 / 9;

    overflow: hidden;

    cursor: pointer;

    background: #111;
}

.youtube-thumbnail img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}


/* PLAY BUTTON */

.youtube-play {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 68px;
    height: 48px;

    border: 0;
    border-radius: 12px;

    background: #ff0000;

    color: #fff;

    font-size: 25px;

    cursor: pointer;
}


/* VIDEO INFORMATION */

.public-video-info {
    padding: 20px;
}

.public-video-info h2 {
    margin: 0 0 12px;

    font-size: 22px;
}

.video-meta {
    display: flex;

    flex-wrap: wrap;

    gap: 15px;

    font-size: 15px;
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 900px) {

    .public-video-grid {
        grid-template-columns: 1fr;

        max-width: 700px;
    }

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 600px) {

    .public-video-grid {
        width: 100%;

        padding: 0 12px;

        margin-top: 20px;

        grid-template-columns: 1fr;

        gap: 20px;
    }


    .public-video-card {
        border-radius: 12px;
    }


    .public-video-info {
        padding: 15px;
    }


    .public-video-info h2 {
        font-size: 19px;

        margin-bottom: 10px;
    }


    .video-meta {
        gap: 8px;

        font-size: 14px;
    }


    .youtube-play {
        width: 58px;
        height: 42px;

        font-size: 22px;

        border-radius: 9px;
    }

}



/* ==========================================
   ADMIN VIDEO MANAGER - RESPONSIVE
========================================== */

.admin-video-grid {
    width: 100%;
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 25px;

    margin-top: 25px;
}


.admin-video-card {
    width: 100%;
    overflow: hidden;

    background: #fff;

    border-radius: 16px;

    border: 1px solid #eee;

    box-shadow:
        0 7px 22px rgba(0, 0, 0, 0.08);
}


/* VIDEO PREVIEW */

.admin-video-preview {
    width: 100%;

    aspect-ratio: 16 / 9;

    background: #111;

    overflow: hidden;
}


.admin-video-preview iframe {
    width: 100%;
    height: 100%;

    border: 0;

    display: block;
}


/* VIDEO INFORMATION */

.admin-video-info {
    padding: 18px;
}


.admin-video-info h3 {
    margin: 0 0 12px;

    font-size: 21px;

    line-height: 1.3;
}


.admin-video-info p {
    margin: 7px 0;

    font-size: 15px;
}


/* DELETE BUTTON */

.admin-video-delete {
    width: 100%;

    border: none;

    border-radius: 9px;

    padding: 12px;

    margin-top: 15px;

    background: #c62828;

    color: #fff;

    font-size: 15px;

    font-weight: 600;

    cursor: pointer;
}


.admin-video-delete:hover {
    background: #a91f1f;
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 900px) {

    .admin-video-grid {
        grid-template-columns: 1fr;
    }

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 600px) {

    .admin-video-grid {
        grid-template-columns: 1fr;

        gap: 18px;

        margin-top: 20px;
    }


    .admin-video-card {
        border-radius: 12px;
    }


    .admin-video-info {
        padding: 15px;
    }


    .admin-video-info h3 {
        font-size: 19px;
    }


    .admin-video-info p {
        font-size: 14px;
    }


    .admin-video-delete {
        padding: 11px;
    }

}


/* ==========================================
   VERY SMALL PHONE
========================================== */

@media (max-width: 380px) {

    .admin-video-info {
        padding: 13px;
    }


    .admin-video-info h3 {
        font-size: 18px;
    }

}


/* =========================================================
   HALL OF FAME — PREVIOUS CHAMPIONS RESPONSIVE
========================================================= */


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 850px) {

    .hof-previous-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .hof-previous-card {
        padding: 25px 18px;
    }

    .hof-previous-photo {
        width: 95px;
        height: 95px;
    }

    .hof-previous-name {
        font-size: 22px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .hof-previous-section {
        margin-top: 45px;
        padding-top: 35px;
    }

    .hof-previous-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .hof-previous-card {
        padding: 25px 18px;
        border-radius: 20px;
    }

    .hof-previous-photo {
        width: 95px;
        height: 95px;
        margin-bottom: 15px;
    }

    .hof-previous-name {
        font-size: 23px;
    }

    .hof-previous-wins {
        font-size: 16px;
    }

    .hof-previous-label {
        font-size: 10px;
        padding: 6px 12px;
    }

}
