:root {
    --background-light: #FFFFFF;
    --background-dark: #474041;
    --magenta: #C572B6;
    --blue: #77B9D1;
    --orange: #DE8548;
    --green: #68D07E;
    --yellow: #BFB692;
    --indigo: #5265de;
    --text-primary: #000000;
    --text-secondary: #EDEDED;
}

@keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
#bubbleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: auto;
    width: 100%;
    height: 100%;
    z-index: -1; /* Behind everything */
}

body {
    font-family: "Fira Sans", sans-serif;
    background: linear-gradient(135deg,#5967c2,#7c51d8,#9054e7);
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
    color: var(--text-primary);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

header {
    background: rgba(82, 101, 222, 0.85);
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: 25px;
    width: fit-content;
    margin: 2rem auto 1rem auto; /* center it horizontally */
    display: flex;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-radius: 25px;
}

nav a {
    margin: 0 10px;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: bold;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.15); /* soft translucent background */
    border-radius: 15px;
    transition: background 0.3s ease, transform 0.2s ease;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

section {
    padding: 2rem;
    margin: 1rem;
    border-radius: 20px;
    background: var(--indigo);
    color: var(--text-secondary);
}

#home {
    padding: 2rem;
    margin: 1rem auto;
    border-radius: 20px;
    background: rgba(82, 101, 222, 0.85);
    backdrop-filter: blur(8px);
    max-width: 1100px;
}

#about, #videos,#music-s {
padding: 2rem;
margin: 1rem auto;
border-radius: 20px;
background: rgba(82, 101, 222, 0.85);
text-align: center;
backdrop-filter: blur(8px);
max-width: 1100px;
}

.home-layout {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.home-video {
    flex: 1 1 50%;
    min-width: 300px;
}

.home-text {
    flex: 1 1 45%;
    color: var(--text-secondary);
    text-align: right;
}

#video {
    padding: 2rem;
    margin: 1rem auto;
    border-radius: 20px;
    background: rgba(82, 101, 222, 0.85);
    backdrop-filter: blur(8px);
    max-width: 1100px;
}

.video-grid {
    display: flex;
    flex-wrap: wrap;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    justify-content: center;
    place-items: center;
    width: 100%;
    box-sizing: border-box;
}

.video-card {
    display: flex;
    flex: 1;
    width: fit-content;
    min-width: 200px;
    background: var(--indigo);
    border-radius: 15px;
    padding: 1rem;
    color: var(--text-secondary):
    text-align: center;
    max-width: 280px;
    margin: 0 auto;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-card img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 0.5rem;
}
.video-card p {
    font-size: 0.95rem;
    font-weight: bold;
    color: var(--text-secondary);
}
.video-card a {
    text-decoration: none;
    color: var(--text-secondary):
}


.team-grid {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.member-card {
    background-color: var(--indigo);
    color: var(--text-secondary);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    width: 250px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.member-card:hover {
    transform: translateY(-5px);
}

.member-card img {
    width: 100%;
    max-width: 160px;
    height: auto;
    border-radius: 15px;
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 15px;
    margin: 0.5rem;
    text-decoration: none;
    backdrop-filter: blur(4px);
    transition: background 0.3s ease;
}

.btn:hover {
    background: var(--indigo);
}


.load-more-wrapper {
    text-align: center;
    margin-top: 1.5rem;
}

#loadMoreBtn {
padding: 0.75rem 1.5rem;
background: rgba(255, 255, 255, 0.1);
color: white;
border: none;
border-radius: 12px;
cursor: pointer;
font-size: 1rem;
transition: background 0.3s ease;
}

#loadMoreBtn:hover {
background-color: var(--blue-hover, #4575e2);
}

#music {
    padding: 2rem;
    margin: 1rem auto;
    border-radius: 20px;
    background: rgba(82, 101, 222, 0.85);
    text-align: center;
    backdrop-filter: blur(8px);
    max-width: 1100px;
}

.music-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box;
}

.music-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.music-card:hover {
    transform: scale(1.03);
}

.music-card img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px 12px 0 0;
}

.music-card p {
    padding: 1rem;
    font-weight: 500;
    color: #fff;
}

.music-card a {
    text-decoration: none;
    color: inherit;
}


footer {
    text-align: center;
    padding: 1rem 0;
    background: none;
    border: none;
    border-radius: 0;
    color: var(--text-secondary); /* or use a solid color like #fff if needed */
    margin-top: 1rem;
}

.footer-pill {
    display: inline-block;
    padding: 0.2rem 1rem;
    font-size: 0.9rem;
    background-color: var(--indigo, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px; /* 🟣 pill shape */
    backdrop-filter: blur(5px);
    line-height: 1;
}

/* === MOBILE LAYOUT OVERRIDES (<= 768px) === */
@media (max-width: 768px) {
    header {
        background: rgba(82, 101, 222, 0.85);
        flex-direction: column;
        align-items: center;
        box-sizing: border-box;
        border-radius: 20px;
        margin: 2rem auto;
        padding: 2rem 1rem;
        width: 95%;
    }

    nav {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }

    nav a {
        display: block;
        width: 100%;
        text-align: center;
    }

    #bubbleCanvas {
    width: 100vw;
    height: 100vh;
    pointer-events: auto;
    z-index: -1;
    }

    /* Let background bubbles show through by making sections semi-transparent */
    section,
    #home,
    #about,
    #videos,
    #video,
    #music-s {
    background: rgba(82, 101, 222, 0.85); /* semi-transparent indigo */
    margin: 2rem auto; /* extra vertical space between sections */
    padding: 2rem 1rem; /* tighter horizontal padding for side-space */
    }

    /* Add horizontal spacing so bubbles can float beside content */
    body {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .home-layout {
        flex-direction: column;
        align-items: center;
    }

    .home-text {
        text-align: center;
        width: 90%;
    }

    .home-video video {
        width: 100%;
        border-radius: 12px;
    }

    .video-grid {
        flex-direction: column;
        align-items: center;
    }

    .video-card {
        width: 90%;
        max-width: 300px;
    }

    .music-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
        gap: 2rem;
    }

    .member-card {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    .music-card {
        max-width: 90%;
        margin: 0 auto;
    .footer-pill {
        font-size: 0.8rem;
        padding: 0.3rem 1rem;
    }
}
