* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    overscroll-behavior: none;
    background: black;
}
.home{
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3)), url(img/bg/1st_bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 100vh;

}
    /*Nav*/
.navbar{
    position: sticky;
    top: 0;
    width: 100%;
    height: 60px;

    display: flex;
    justify-content: center;
    align-items: center;

    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    z-index: 999;
}
.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 2rem;
    max-width: 1440px;
        
}
.navbar-logo{
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    cursor: pointer;
}
.navbar-container img {
    height: 40px; 
    width: auto; 
    margin-right: auto;
}
.navbar-container .navbar-menu {
    display: flex;
    text-align: center;
    gap: 1.5rem;
    list-style: none;
}
.navbar-container .navbar-menu li a{
    text-decoration: none;
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    padding: 3px 20px;
    border-radius: 20px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.navbar-container .navbar-menu li a:hover{
    color: #162530;
    background-color: rgba(188, 212, 229, 0.8);
    border: 2px solid #fff;
}
.navbar-toggle {
    display: none;
    background: transparent;
    padding: 10px;
    border: none;
    cursor: pointer;
}
.bar{
    display: flex;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #fff;
    transition: all .3s ease-in-out;
}
@media (max-width: 880px) {
    .navbar{
         backdrop-filter: none;
    }
    .navbar-container .navbar-menu{
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.7rem !important;
        position: absolute;
        height: 100vh;
        width: 250px;
        top: 0;
        right: 0;
        padding: 5rem 1.5rem;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(5px);
    }
    .navbar-container .navbar-menu.active{
        display: flex;
    }
    .navbar-toggle {
        display: block;
        z-index: 999;
    }
    .navbar-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .navbar-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .navbar-toggle.active .bar:nth-child(3){
        transform: translateY(-8px) rotate(-45deg);
    }
}

.main{
    width: 80%;
    left: 50%;
    top: 45.6%;
    transform: translate(-50%, -50%);
    position: absolute;
    color: #fff;
}
.heading_1{
    font-size: 1.8rem;
}
.heading{
    font-size: 3rem;
    padding: 1.5% 0;
}
.description{
    font-size: 1rem;
    font-weight: 400;
}
.main_btn {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    padding: 15px 0;
    font-weight: 99;
}
.btn {
    padding: 12px 25px;
    font-size: 16px;
    letter-spacing: 1px;
    border: 2px solid cyan;
    background-color: cyan;
    color: #000;
    cursor: pointer;
    border-radius: 25px;
    transition: 0.3s ease;
    font-weight: 700;
}
.btn1 {
    background-color: cyan;
    border-color: cyan;
    box-shadow: 0 0 20px rgb(45, 192, 192);
}

    .btn:hover {
    background-color: transparent;
    color: cyan;
    }

    /*section 2*/
.about {
    background-image: url('img/bg/2nd_bg.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;

    color: white;
}

.big-card {
    position: relative;
    width: min(100%, 550px);
    aspect-ratio: 1 / 1;
    border-radius: 15px;
    overflow: hidden;

    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
}
.big-card {
    border: 15px solid rgba(255, 255, 255, 0.222);
    
}
.about .big-card,
.team .big-card {
    margin: 0 auto;
}

.big-card img {
    width: 100%;
    height: 100%;

    object-fit: contain; 
    background: rgba(0,0,0,0.3); 
}
.card-text {
    position: absolute;
    bottom: 0;

    width: 100%;
    height: 50%;

    background: rgba(0,0,0,0.7);
    color: white;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 20px;

    opacity: 0;
    transform: translateY(20px);
    transition: 0.4s ease;
    pointer-events: none;
    }
.card-text h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.card-text p {
    font-size: 16px;
    line-height: 1.5;
}
.games-row {
    width: 100%;
    max-width: 1200px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 40px;
    padding: 20px;
    }
@media (max-width: 900px) {
    .games-row {
        flex-direction: column;
        justify-content: center;
    }

    .big-card {
        max-width: 400px;
        width: 100%;
    }
}
@media (max-width: 768px) {
    .card-text {
        height: 55%;
        padding: 15px;
    }
    .card-text h2 {
        font-size: 18px;
    }
    .card-text p {
        font-size: 13px;
    }
}
.card-wrapper input {
    display: none;
}

.card-wrapper input:checked + .big-card .card-text {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
    .card-wrapper input {
    display: none;
}

.card-wrapper input:checked + .big-card .card-text {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    }
.team-title {
    display: inline-block;
    padding: 20px 50px;
    background: #dcdcf0;
    border-radius: 15px;
    font-size: 28px;
    letter-spacing: 3px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    margin-bottom: 60px;
}
.team-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.team-card {
    width: 250px;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}
.team-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.team-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 40%;
    backdrop-filter: blur(10px);
    background: rgba(0,0,0,0.5);
    color: white;
    padding: 20px;
    transition: 0.3s;
}
.team-overlay a {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 18px;

    font-size: 14px;
    font-weight: 600;
    text-decoration: none;

    color: white;
    border: 2px solid white;
    border-radius: 20px;
    transition: 0.3s ease;
}

.team-overlay.light {
    background: rgba(255,255,255,0.6);
    color: black;
}
.team-card:hover .team-overlay {
    height: 55%;
}
.team-overlay h3 {
    font-size: 16px;
}
.team-overlay p {
    font-size: 13px;
    margin: 5px 0 10px;
}
.team-overlay a:hover {
    background: white;
    color: black;
    transform: scale(1.05);
}
.team-section {
    padding: 100px 40px;
    text-align: center;

    /* BACKGROUND IMAGE */
    background: url("img/bg/2nd_bg.jpg") no-repeat center center/cover fixed;

    /* OPTIONAL (same effect as home if you used overlay) */
    position: relative;
}
.team-title {
    display: inline-block;
    padding: 15px 50px;
    border-radius: 50px;

    background: linear-gradient(90deg, #00eaff, #00c6ff);

    color: black;
    font-size: 22px;
    letter-spacing: 2px;
    text-transform: uppercase;

    box-shadow: 0 5px 20px rgba(0, 255, 255, 0.5);
    margin-bottom: 60px;
    cursor: default;
}

a {
    color: white;
}

.card a:hover {
    color: #c084fc;
}

.card a:visited {
    color: white;
}
footer {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 5px 0;
}
.footer-text{
    position: static;
    padding-left: 0;
    color: #b8b4b4;
}
