﻿:root {
    /* Base colors */
    --black-dark: #000000;
    --black-medium: #1a1a1a;
    --black-light: rgba(255, 255, 255, 0.2);
    --gray-light: #b8b8b8;
    --white: #ffffff;
    /* Blue accent colors */
    --blue-accent: #00aaff;
    --blue-glow: #0099ff;
    --blue-deep: #0066cc;
    /* Glass effect */
    --glass: rgba(255, 255, 255, 0.05);
    --red-accent: #ff0000;
    --green-accent: #00ff00;
    --blue-accent: #007bff;
    --yellow-accent: #ffff00;
    --orange-accent: #ffa500;
    --purple-accent: #800080;
    --pink-accent: #ff69b4;
    --cyan-accent: #00ffff;
    --teal-accent: #008080;
    /* Transparent variants */
    --red-transparent: rgba(255, 0, 0, 0.5);
    --green-transparent: rgba(0, 255, 0, 0.5);
    --blue-transparent: rgba(0, 123, 255, 0.5);
    --yellow-transparent: rgba(255, 255, 0, 0.5);
    --orange-transparent: rgba(255, 165, 0, 0.5);
    --purple-transparent: rgba(128, 0, 128, 0.5);
    --pink-transparent: rgba(255, 105, 180, 0.5);
    --gray-transparent: rgba(184, 184, 184, 0.3);
    /* Optional UI tones */
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --info: #17a2b8;
}

/* General layout */
body {
    background-color: var(--black-dark);
    color: var(--white);
    font-family: "Arial", sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Background wallpaper */
#video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: blur(2px) brightness(0.6);
}

.members, .gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

    .member, .gallery img {
        background-color: #1a0a3b;
        border: 2px solid #6a0dad;
        padding: 10px;
        border-radius: 10px;
        min-width: 100px;
        text-align: center;
        transition: transform 0.3s, box-shadow 0.3s;
    }

        .member:hover {
            transform: scale(1.05);
            box-shadow: 0 0 10px #6a0dad;
        }

    .gallery img {
        width: 150px;
        height: 100px;
        object-fit: cover;
    }

/* Intro popup */
#intro {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    opacity: 1;
    transition: opacity 1s ease;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.85);
}

.intro-content {
    text-align: center;
    background: var(--glass);
    border: 2px solid var(--orange-accent);
    border-radius: 1rem;
    padding: 3rem 6rem;
    box-shadow: 0 0 180px var(--red-accent);
    backdrop-filter: blur(20px);
    transition: transform 0.3s ease, opacity 0.5s ease;
}

.intro-text {
    font-size: 5rem;
    font-weight: bold;
    background: linear-gradient(45deg, var(--red-accent), var(--blue-accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 45px var(--blue-glow);
    animation: glow 2s ease-in-out infinite alternate;
}

.subtext {
    font-size: 1.5rem;
    color: var(--gray-light);
    margin-top: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

/* Animations */
@keyframes glow {
    from {
        text-shadow: 0 0 45px var(--blue-glow);
    }

    to {
        text-shadow: 0 0 45px var(--red-accent);
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Main content transitions */
#intro.fade-out {
    opacity: 0;
    pointer-events: none;
}

#main-content {
    opacity: 0;
    transition: opacity 1.5s ease;
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    #main-content.hidden {
        display: none;
    }

    #main-content.show {
        opacity: 1;
    }

/* Profile cards layout */
.profiles {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Main rectangular profile box */
.profile {
    width: 1250px;
    height: 590px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem 3rem;
    background: var(--glass);
    border: 1px solid var(--orange-accent);
    border-radius: 20px;
    box-shadow: 0 0 85px var(--red-accent);
    backdrop-filter: blur(70px);
    color: var(--white);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: all 0.5s ease;
    
}

    .profile:hover {
        box-shadow: 0 0 40px var(--red-accent);
        transform: scale(1.02);
    }

    /* Profile left section */
    .profile img {
        width: 180px;
        height: 180px;
        border-radius: 50%;
        object-fit: cover;
        border: 4px solid var(--orange-accent);
        box-shadow: 0 0 25px var(--orange-accent);
        transition: all 0.4s ease;
    }

    .profile:hover img {
        transform: scale(1.05);
        box-shadow: 0 0 35px var(--yellow-accent);
    }

/* Right content inside the rectangle */
.profile-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.profile h2 {
    margin: 0.5rem 0;
    font-size: 2.2rem;
    text-shadow: 0 0 10px var(--red-glow);
}

.profile p {
    color: var(--gray-light);
    margin: 0.5rem 0 1rem 0;
    font-size: 1.1rem;
}

/* Badges section */
.badges {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

    .badges img {
        width: 30px;
        height: 30px;
        transition: all 0.3s;
        filter: drop-shadow(0 0 5px var(--orange-accent));
    }

        .badges img:hover {
            transform: scale(1.2);
            filter: drop-shadow(0 0 10px var(--orange-accent));
        }

/* Social buttons section (bottom-centered) */
.social-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--black-medium);
    color: var(--white);
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 153, 255, 0.3);
    border: 1px solid var(--orange-accent);
}

    .social-button:hover {
        transform: scale(1.1) translateY(-5px);
        background: var(--orange-deep);
        box-shadow: 0 0 25px var(--orange-accent);
    }

    .social-button i {
        filter: drop-shadow(0 0 5px var(--orange-accent));
    }

/* Tooltip */
.tooltip {
    position: absolute;
    top: -40px;
    background: var(--black-dark);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
    color: var(--white);
    border: 1px solid var(--orange-accent);
}

.social-button:hover .tooltip {
    opacity: 1;
    transform: translateY(-5px);
}
.panel-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.panel-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 95px;
    height: 95px;
    border-radius: 50%;
    background: var(--black-medium);
    color: var(--white);
    font-size: 2.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 153, 255, 0.3);
    border: 1px solid var(--orange-accent);
}

    .panel-button:hover {
        transform: scale(1.1) translateY(-5px);
        background: var(--orange-deep);
        box-shadow: 0 0 25px var(--orange-accent);
    }

    .panel-button i {
        filter: drop-shadow(0 0 5px var(--orange-accent));
    }



    .panel-button:hover .tooltip {
        opacity: 1;
        transform: translateY(-5px);
    }
/* Volume control */
#volume-container {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

#volume-icon {
    color: var(--orange-accent);
    font-size: 1.5rem;
    margin-right: 10px;
    cursor: pointer;
    transition: transform 0.3s, color 0.3s;
}

#volume-container:hover #volume-icon {
    transform: scale(1.1);
    color: var(--orange-glow);
}

#volume-control {
    width: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

#volume-container:hover #volume-control {
    width: 120px;
    opacity: 1;
}

#volume-slider {
    width: 100%;
    cursor: pointer;
    accent-color: var(--orange-accent);
}

/* Card interactive tilt */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform-style: preserve-3d;
    will-change: transform;
}
@media (max-width: 768px) {
    /* Center all main elements vertically */
    .profile {
        display: flex;
        justify-content: space-between;
        gap: 2rem;
        padding: 2rem 3rem;
        background: var(--glass);
        border: 1px solid var(--red-accent);
        border-radius: 20px;
        box-shadow: 0 0 40px var(--orange-accent);
        backdrop-filter: blur(70px);
        color: var(--white);
        position: relative;
        overflow: hidden;
        transform-style: preserve-3d;
        transition: all 0.5s ease;
        filter: drop-shadow(var(--cyan-accent));
    }
    .profiles {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 1.5rem;
        min-height: 100vh;
    }

    .profile {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 90%;
        height: auto;
        padding: 1.5rem;
        border-radius: 15px;
        text-align: center;
        backdrop-filter: blur(70px);
        box-shadow: 0 0 35px var(--orange-accent);
    }

        .profile img {
            width: 140px;
            height: 140px;
            border: 3px solid var(--orange-accent);
            box-shadow: 0 0 20px var(--red-accent);
            margin-bottom: 1rem;
        }

    .profile-info {
        width: 100%;
        text-align: center;
    }

    .profile h2 {
        font-size: 1.6rem;
        margin: 0.5rem 0;
        text-shadow: 0 0 10px var(--black-dark);
    }

    .profile h5 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
        color: var(--gray-light);
    }

    .profile p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    /* Social buttons centered and resized */
    .social-buttons {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
        margin-top: 1rem;
    }

    .social-button {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
        border-radius: 50%;
        border: 1px solid var(--orange-accent);
        box-shadow: 0 0 10px var(--red-accent);
        background: var(--black-medium);
    }

    .tooltip {
        font-size: 0.8rem;
        top: -35px;
        background: var(--black-medium);
    }
    .panel-buttons {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
        margin-top: 1rem;
    }

    .panel-button {
        width: 85px;
        height: 85px;
        font-size: 2.1rem;
        border-radius: 50%;
        border: 1px solid var(--orange-accent);
        box-shadow: 0 0 10px var(--purple-accent);
        background: var(--black-medium);
    }
}

/* 📱 Extra-small screens (phones under 480px) */
@media (max-width: 480px) {
    .profile {
        width: 95%;
        padding: 1rem;
    }

        .profile img {
            width: 120px;
            height: 120px;
        }

        .profile h2 {
            font-size: 1.4rem;
        }

    .social-buttons {
        gap: 1rem;
    }

    .social-button {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    .panel-buttons {
        gap: 1rem;
    }

    .panel-button {
        width: 75px;
        height: 75px;
        font-size: 1rem;
    }
}
/* 📱 Fix badge scaling on mobile */
@media (max-width: 768px) {
    .badges {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        flex-wrap: wrap;
        margin-top: 0.5rem;
    }

        .badges img {
            width: 20px; /* normal small badge size */
            height: 20px;
            object-fit: contain;
            border-radius: 50px;
            filter: drop-shadow(0 0 5px var(--yellow-accent));
            transition: transform 0.3s ease, filter 0.3s ease;
        }

            .badges img:hover {
                transform: scale(2);
                filter: drop-shadow(0 0 8px var(--black-dark));
            }

    #intro {
        height: 200vh;
        display: flex;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 999;
        opacity: 1;
        transition: opacity 1s ease;
        cursor: pointer;
        background: #ff0000;
    }

    .intro-content {
        text-align: center;
        background: var(--glass);
        border: 2px solid var(--red-accent);
        border-radius: 1rem;
        padding: 3rem 6rem;
        box-shadow: 0 0 40px #ff0000;
        transition: transform 0.3s ease, opacity 0.5s ease;
    }

    .intro-text {
        font-size: 3rem;
        font-weight: bold;
        background: linear-gradient(45deg, var(--orange-accent), var(--red-accent));
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        text-shadow: 0 0 25px var(--warning);
        animation: glow 2s ease-in-out infinite alternate;
    }

    .subtext {
        font-size: 1.5rem;
        color: var(--gray-light);
        margin-top: 1rem;
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 1s ease-out 0.5s forwards;
    }

    /* Animations */
    @keyframes glow {
        from {
            text-shadow: 0 0 35px var(--orange-glow);
        }

        to {
            text-shadow: 0 0 35px var(--orange-accent);
        }
    }

    @keyframes fadeInUp {
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* 📱 Even smaller screens */
@media (max-width: 480px) {
    .badges img {
        width: 12px;
        height: 12px;
    }
}
/* ===== Gallery Popup Effect (Improved) ===== */
.gallery img {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px var(--orange-accent);
}

/* Popup overlay */
#image-popup {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    justify-content: center;
    align-items: center;
    z-index: 99999; /* make sure it's always on top */
    cursor: zoom-out;
}

#image-popup.active {
    display: flex;
    animation: fadeIn 0.3s ease forwards;
}

/* Popup image */
#image-popup img {
    max-width: 95vw;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 0 40px var(--orange-accent);
    animation: popIn 0.3s ease forwards;
    object-fit: contain;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes popIn {
    from { transform: scale(0.85); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

