/* =========================
   ALICEBGMI GAMING WEBSITE
   STYLE.CSS PART 1
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Segoe UI',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:
    linear-gradient(
        rgba(0,0,0,0.75),
        rgba(0,0,0,0.85)
    ),
    url("images/backgrounds/main-bg.png");

    background-size:cover;
    background-position:center;
    background-attachment:fixed;
    background-repeat:no-repeat;

    color:white;
    overflow-x:hidden;
}

/* =========================
   SCROLLBAR
========================= */

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#111;
}

::-webkit-scrollbar-thumb{
    background:#00f7ff;
    border-radius:20px;
}

/* =========================
   HEADER
========================= */

header{
    position:sticky;
    top:0;
    z-index:1000;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:18px 6%;

    background:rgba(0,0,0,0.95);

    border-bottom:1px solid rgba(0,247,255,0.3);
}

/* =========================
   LOGO
========================= */

.logo{
    font-size:32px;
    font-weight:900;
    letter-spacing:2px;
    cursor:pointer;
}

.logo span{
    color:#00f7ff;
    text-shadow:
    0 0 10px #00f7ff,
    0 0 20px #00f7ff,
    0 0 40px #00f7ff;
}

/* =========================
   NAVBAR
========================= */

nav{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
}

nav a{
    color:white;
    text-decoration:none;
    font-weight:600;
    transition:0.3s;
}

nav a:hover{
    color:#00f7ff;
}

/* =========================
   MENU BUTTON
========================= */

.menu-btn{
    display:none;

    background:none;
    border:none;

    color:white;

    font-size:28px;
    cursor:pointer;
}

/* =========================
   HERO SECTION
========================= */

.hero{
    min-height:85vh;

    display:flex;
    justify-content:center;
    align-items:center;

    text-align:center;

    padding:40px;
}

.hero-content{
    max-width:900px;
}

.tagline{
    color:#00f7ff;
    font-weight:bold;
    letter-spacing:3px;

    margin-bottom:20px;
}

.hero h1{
    font-size:70px;
    margin-bottom:20px;
}

.hero h1 span{
    color:#00f7ff;

    text-shadow:
    0 0 15px #00f7ff,
    0 0 30px #00f7ff;
}

.hero p{
    font-size:20px;
    line-height:1.8;
    color:#cccccc;
}

/* =========================
   BUTTONS
========================= */

.hero-buttons{
    margin-top:35px;

    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}

.btn{
    text-decoration:none;

    padding:14px 32px;

    border-radius:8px;

    color:white;

    border:2px solid #00f7ff;

    transition:0.3s;
}

.btn:hover{
    background:#00f7ff;
    color:black;

    box-shadow:
    0 0 15px #00f7ff,
    0 0 30px #00f7ff;
}

.primary{
    background:#00f7ff;
    color:black;
}

/* =========================
   PAGE BANNER
========================= */

.page-banner{
    text-align:center;

    padding:100px 20px 60px;
}

.page-banner h1{
    font-size:60px;
    margin-bottom:15px;
}

.page-banner p{
    color:#bbbbbb;
    font-size:18px;
}

/* =========================
   CONTENT SECTIONS
========================= */

.content-section,
.cards {
    width: 90%;
    max-width: 1200px;
    margin: 40px auto 80px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* =========================
   CARDS
========================= */

.card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(0, 247, 255, 0.25);
    border-radius: 18px;

    padding: 30px;

    backdrop-filter: blur(12px);

    transition: 0.35s;
}

.card:hover {
    transform: translateY(-10px);
    border-color: #00f7ff;

    box-shadow:
        0 0 18px rgba(0, 247, 255, 0.45),
        inset 0 0 18px rgba(0, 247, 255, 0.08);
}

.card h2 {
    color: #00f7ff;
    margin-bottom: 14px;
    font-size: 24px;
}

.card p,
.card li {
    color: #d4d4d4;
    line-height: 1.7;
}

.card ul {
    padding-left: 20px;
}

/* =========================
   VIDEO GRID
========================= */

.video-grid {
    grid-column: 1 / -1;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.video-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(0, 247, 255, 0.25);
    border-radius: 18px;
    overflow: hidden;

    transition: 0.35s;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 25px rgba(0, 247, 255, 0.35);
}

.video-card iframe {
    width: 100%;
    height: 280px;
    border: none;
}

.video-card h3 {
    padding: 18px 18px 6px;
    color: #00f7ff;
}

.video-card p {
    padding: 0 18px 20px;
    color: #cccccc;
}

/* =========================
   GALLERY
========================= */

.gallery-grid {
    width: 90%;
    max-width: 1200px;
    margin: 40px auto 80px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}



.gallery-item {
    position: relative;
    overflow: hidden;

    height: 260px;

    border-radius: 18px;
    border: 1px solid rgba(0, 247, 255, 0.25);

    background: rgba(255, 255, 255, 0.06);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: 0.4s;
}

.gallery-item:hover img {
    transform: scale(1.12);
}

.overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: end;
    justify-content: center;

    padding: 22px;

    background: linear-gradient(
        transparent,
        rgba(0, 0, 0, 0.85)
    );

    color: #00f7ff;
    font-weight: 800;
    font-size: 20px;
}

/* =========================
   SQUAD / TEAM
========================= */

.team-container {
    width: 90%;
    max-width: 1200px;
    margin: 40px auto 80px;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.team-card {
    text-align: center;

    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(0, 247, 255, 0.25);
    border-radius: 18px;

    padding: 25px;

    transition: 0.35s;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 25px rgba(0, 247, 255, 0.35);
}

.team-card img {
    width: 120px;
    height: 120px;

    border-radius: 50%;
    object-fit: cover;

    margin-bottom: 18px;

    border: 3px solid #00f7ff;
}

.team-card h2 {
    color: #00f7ff;
    margin-bottom: 6px;
}

.team-card h4 {
    color: white;
    margin-bottom: 12px;
}

.team-card p {
    color: #cccccc;
    line-height: 1.6;
}

/* =========================
   TOURNAMENT FORM
========================= */

form{
    display:flex;
    flex-direction:column;
    gap:15px;
    margin-top:15px;
}

form input{
    width:100%;
    padding:15px;

    background:#111;
    color:white;

    border:1px solid rgba(0,247,255,0.3);
    border-radius:10px;

    outline:none;
}

form input:focus{
    border-color:#00f7ff;

    box-shadow:
    0 0 10px rgba(0,247,255,0.4);
}

form button{
    cursor:pointer;
}

/* =========================
   CONTACT PAGE
========================= */

.social-container{
    width:90%;
    max-width:1000px;

    margin:50px auto;

    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:30px;
}

.social-card{
    background:rgba(255,255,255,0.05);

    border:1px solid rgba(0,247,255,0.25);

    border-radius:18px;

    padding:40px;

    text-align:center;

    transition:0.3s;
}

.social-card:hover{
    transform:translateY(-8px);

    box-shadow:
    0 0 25px rgba(0,247,255,0.35);
}

.social-card h2{
    color:#00f7ff;
    margin-bottom:15px;
}

.social-card p{
    margin-bottom:25px;
    color:#d0d0d0;
}

/* =========================
   FOOTER
========================= */

footer{
    margin-top:80px;

    text-align:center;

    padding:30px;

    border-top:1px solid rgba(0,247,255,0.2);

    color:#999;
}

/* =========================
   ANIMATIONS
========================= */

@keyframes glowPulse{

    0%{
        text-shadow:
        0 0 10px #00f7ff;
    }

    50%{
        text-shadow:
        0 0 20px #00f7ff,
        0 0 40px #00f7ff;
    }

    100%{
        text-shadow:
        0 0 10px #00f7ff;
    }
}

.logo span{
    color:#00f7ff;
    text-shadow:
    0 0 4px rgba(0,247,255,0.5);
}

/* =========================
   RESPONSIVE TABLET
========================= */

@media(max-width:1024px){

    .content-section,
    .cards{
        grid-template-columns:repeat(2,1fr);
    }

    .gallery-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .team-container{
        grid-template-columns:repeat(2,1fr);
    }

    .video-grid{
        grid-template-columns:1fr;
    }

    .hero h1{
        font-size:55px;
    }
}

/* =========================
   RESPONSIVE MOBILE
========================= */

@media(max-width:768px){

    .menu-btn{
        display:block;
    }

    nav{
        display:none;

        position:absolute;

        top:80px;
        left:0;

        width:100%;

        background:#0b0b0b;

        flex-direction:column;

        text-align:center;

        padding:20px;
    }

    nav.active{
        display:flex;
    }

    nav a{
        padding:12px;
    }

    .hero{
        min-height:70vh;
        padding:20px;
    }

    .hero h1{
        font-size:40px;
    }

    .hero p{
        font-size:17px;
    }

    .page-banner h1{
        font-size:38px;
    }

    .content-section,
    .cards,
    .gallery-grid,
    .team-container,
    .social-container{
        grid-template-columns:1fr;
    }

    .video-grid{
        grid-template-columns:1fr;
    }

    .card{
        padding:22px;
    }

    .team-card img{
        width:100px;
        height:100px;
    }
}

/* =========================
   SMALL PHONES
========================= */

@media(max-width:480px){

    .logo{
        font-size:24px;
    }

    .hero h1{
        font-size:32px;
    }

    .hero-buttons{
        flex-direction:column;
    }

    .btn{
        width:100%;
        text-align:center;
    }

    .page-banner{
        padding:80px 15px 40px;
    }

    .page-banner h1{
        font-size:30px;
    }
}

/* =========================
   BGMI GAMER EFFECTS
========================= */

.card,
.team-card,
.video-card,
.gallery-item,
.social-card{

    position:relative;
    overflow:hidden;
}

.card::before,
.team-card::before,
.video-card::before,
.social-card::before{

    content:"";

    position:absolute;

    top:-100%;
    left:-100%;

    width:200%;
    height:200%;

    background:linear-gradient(
    45deg,
    transparent,
    rgba(0,247,255,0.08),
    transparent);

    transform:rotate(45deg);

    transition:0.7s;
}

.card:hover::before,
.team-card:hover::before,
.video-card:hover::before,
.social-card:hover::before{

    top:100%;
    left:100%;
}

body {
    animation: pageFade 0.6s ease;
}

@keyframes pageFade {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

nav a {
    position: relative;
}

nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: #00f7ff;
    transition: 0.3s;
    transform: translateX(-50%);
}

nav a:hover::after {
    width: 80%;
}

.card,
.video-card,
.team-card,
.gallery-item,
.social-card {
    animation: cardPop 0.7s ease;
}

@keyframes cardPop {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* =========================
   FULL GAMER ANIMATION PACK
========================= */

/* Page load animation */
body {
    opacity: 0;
    transform: scale(0.98);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

body.loaded {
    opacity: 1;
    transform: scale(1);
}

/* Page transition overlay */
.page-transition {
    position: fixed;
    inset: 0;
    z-index: 99999;

    background:
        radial-gradient(circle, rgba(0, 247, 255, 0.35), transparent 35%),
        #020208;

    animation: transitionBlast 0.7s ease forwards;
}

@keyframes transitionBlast {
    0% {
        transform: scaleX(0);
        transform-origin: left;
        opacity: 1;
    }

    50% {
        transform: scaleX(1);
        transform-origin: left;
        opacity: 1;
    }

    100% {
        transform: scaleX(1);
        transform-origin: right;
        opacity: 1;
    }
}

/* Animated header */
header {
    animation: navDrop 0.8s ease forwards;
}

@keyframes navDrop {
    from {
        transform: translateY(-90px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Logo animation */
.logo {
    animation: logoEntrance 1s ease forwards;
}

@keyframes logoEntrance {
    from {
        transform: translateX(-40px) scale(0.8);
        opacity: 0;
    }

    to {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

/* Navbar options animation */
nav a {
    position: relative;
    overflow: hidden;
    animation: navItemPop 0.8s ease forwards;
}

nav a:nth-child(1) { animation-delay: 0.1s; }
nav a:nth-child(2) { animation-delay: 0.15s; }
nav a:nth-child(3) { animation-delay: 0.2s; }
nav a:nth-child(4) { animation-delay: 0.25s; }
nav a:nth-child(5) { animation-delay: 0.3s; }
nav a:nth-child(6) { animation-delay: 0.35s; }
nav a:nth-child(7) { animation-delay: 0.4s; }
nav a:nth-child(8) { animation-delay: 0.45s; }
nav a:nth-child(9) { animation-delay: 0.5s; }
nav a:nth-child(10) { animation-delay: 0.55s; }
nav a:nth-child(11) { animation-delay: 0.6s; }

@keyframes navItemPop {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

nav a::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 247, 255, 0.45),
        transparent
    );

    transform: translateX(-120%);
    transition: 0.45s;
}

nav a:hover::before {
    transform: translateX(120%);
}

/* Hero animation */
.hero-content {
    animation: heroZoom 1s ease forwards;
}

@keyframes heroZoom {
    from {
        opacity: 0;
        transform: scale(0.85) translateY(40px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}




/* Button animation */
.btn {
    position: relative;
    overflow: hidden;
    animation: buttonFloat 2.5s ease-in-out infinite;
}

@keyframes buttonFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

.btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;

    width: 70%;
    height: 100%;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.65),
        transparent
    );

    transform: skewX(-25deg);
    transition: 0.5s;
}

.btn:hover::after {
    left: 140%;
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(60px) scale(0.94);
    transition: 0.75s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Cards animated hover */
.card,
.video-card,
.team-card,
.gallery-item,
.social-card {
    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease,
        border-color 0.4s ease;
}

.card:hover,
.video-card:hover,
.team-card:hover,
.gallery-item:hover,
.social-card:hover {
    transform: translateY(-14px) scale(1.03);
}

/* Gallery animated overlay */
.gallery-item .overlay {
    transform: translateY(100%);
    transition: 0.4s ease;
}

.gallery-item:hover .overlay {
    transform: translateY(0);
}

/* Team image animation */
.team-card img {
    transition: 0.45s ease;
}

.team-card:hover img {
    transform: rotate(5deg) scale(1.12);
    box-shadow:
        0 0 18px #00f7ff,
        0 0 35px #00f7ff;
}

/* Page banner animation */
.page-banner h1 {
    animation: titleSlide 0.9s ease forwards;
}

.page-banner p {
    animation: subtitleSlide 1.1s ease forwards;
}

@keyframes titleSlide {
    from {
        opacity: 0;
        transform: translateX(-80px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes subtitleSlide {
    from {
        opacity: 0;
        transform: translateX(80px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}






/* Mobile menu animation */
@media(max-width:768px){

    .menu-btn{
        display:block;
    }

    nav{
        display:none;
        position:fixed;
        top:78px;
        left:0;
        width:100%;
        height:calc(100vh - 78px);
        overflow-y:auto;
        background:#050505;
        flex-direction:column;
        text-align:center;
        padding:25px 20px 60px;
        z-index:9999;
    }

    nav.active{
        display:flex;
    }

    nav a{
        padding:18px;
        font-size:22px;
    }

    body.menu-open{
        overflow:hidden;
    }
}

.card .btn{
    display:inline-block;
    margin-top:20px;
}

.theme-btn{
    margin-left:10px;
    background:#00f7ff;
    color:black;
    border:none;
    padding:10px 14px;
    border-radius:8px;
    cursor:pointer;
    font-size:16px;
    font-weight:bold;
}

body.light-mode{
    background:#f5f5f5;
    color:#111;
}

body.light-mode header{
    background:white;
}

body.light-mode nav a{
    color:#111;
}

body.light-mode .card,
body.light-mode .team-card,
body.light-mode .video-card,
body.light-mode .social-card{
    background:white;
    color:#111;
}

body.light-mode .card p,
body.light-mode .team-card p,
body.light-mode .video-card p,
body.light-mode .social-card p{
    color:#333;
}

body.light-mode footer{
    color:#444;
}

/* PREMIUM DARK + LIGHT THEME FIX */

.logo span{
    color:#00dce8;
    text-shadow:0 0 3px rgba(0,220,232,0.35);
}

.hero h1 span{
    color:#00dce8;
    text-shadow:0 0 6px rgba(0,220,232,0.35);
}

body.light-mode{
    background:
    linear-gradient(
        rgba(255,255,255,0.35),
        rgba(255,255,255,0.45)
    ),
    url("images/backgrounds/main-bg.png");

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    background-attachment:fixed;

    color:#111;
}



body.light-mode header{
    background:rgba(255,255,255,0.96);
    border-bottom:1px solid rgba(0,0,0,0.08);
}

body.light-mode .logo{
    color:#101010;
}

body.light-mode .logo span,
body.light-mode .hero h1 span{
    color:#008c99;
    text-shadow:none;
}

body.light-mode .tagline{
    color:#555;
}

body.light-mode .hero p,
body.light-mode .page-banner p{
    color:#555;

}



body.light-mode .card,
body.light-mode .team-card,
body.light-mode .video-card,
body.light-mode .social-card{
    background:#ffffff;
    color:#111;
    border:1px solid rgba(0,0,0,0.08);
    box-shadow:0 10px 30px rgba(0,0,0,0.06);
}

body.light-mode .card h2,
body.light-mode .team-card h2,
body.light-mode .video-card h3,
body.light-mode .social-card h2{
    color:#007c89;
}

body.light-mode .card p,
body.light-mode .card li,
body.light-mode .team-card p,
body.light-mode .video-card p,
body.light-mode .social-card p{
    color:#444;
}

body.light-mode .btn{
    color:#007c89;
    border-color:#00b8c8;
}

body.light-mode .btn.primary{
    background:#00cfe3;
    color:#061014;
}

body.light-mode footer{
    border-top:1px solid rgba(0,0,0,0.08);
    color:#555;
}

body.light-mode nav a{
    color:#111;
}

body.light-mode nav a:hover{
    color:#008c99;
}

.theme-btn{
    min-width:54px;
    height:44px;
    border-radius:10px;
    border:none;
    background:#00dce8;
    color:#081014;
    cursor:pointer;
    font-size:18px;
    box-shadow:0 0 8px rgba(0,220,232,0.35);
}

body.light-mode .theme-btn{
    background:#101010;
    color:white;
    box-shadow:none;
}

.gallery-item img{
    cursor:pointer;
}

.future-upgrades-container{
    width:90%;
    max-width:1000px;
    margin:40px auto 80px;

    display:flex;
    flex-direction:column;
    gap:25px;
}

.future-upgrades-container .card{
    width:100%;
}

body{
    background:
    linear-gradient(
        rgba(0,0,0,0.82),
        rgba(0,0,0,0.88)
    ),
    url("images/backgrounds/main-bg.png");

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    background-attachment:fixed;

    color:white;
    overflow-x:hidden;
}

.page-banner,
.content-section,
.gallery-grid,
.future-upgrades-container{
    position:relative;
    z-index:2;
}

.card,
.video-card,
.team-card,
.social-card{
    background:rgba(15,15,15,0.75);
    backdrop-filter:blur(8px);

    border:1px solid rgba(0,247,255,0.15);
}


/* =========================
   END OF CSS
========================= */