@import url('https://fonts.googleapis.com/css2?family=Allura&family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    background: linear-gradient(135deg, #0b2e24, #17543f, #2f8068, #5aa8a0);
    background-size: 200% 200%;
    animation: gradientShift 10s ease infinite;
    color: #ffffff;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

/* Soft forest-light bokeh */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 15% 20%, rgba(220, 255, 250, 0.35) 0, rgba(220, 255, 250, 0) 14%),
        radial-gradient(circle at 80% 12%, rgba(200, 245, 255, 0.30) 0, rgba(200, 245, 255, 0) 18%),
        radial-gradient(circle at 65% 55%, rgba(210, 255, 235, 0.22) 0, rgba(210, 255, 235, 0) 16%),
        radial-gradient(circle at 25% 75%, rgba(230, 255, 245, 0.28) 0, rgba(230, 255, 245, 0) 20%),
        radial-gradient(circle at 90% 88%, rgba(210, 250, 255, 0.30) 0, rgba(210, 250, 255, 0) 15%);
    animation: bokehDrift 18s ease-in-out infinite alternate;
}

@keyframes bokehDrift {
    from { transform: translate3d(0, 0, 0) scale(1); opacity: 0.8; }
    to   { transform: translate3d(2%, -2%, 0) scale(1.08); opacity: 1; }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.page-content {
    padding: 2rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    margin-top: 6rem;
    font-family: 'Allura', cursive;
    font-size: 4.5rem;
    font-weight: 400;
    text-shadow: 0 0 18px rgba(200, 255, 245, 0.7), 0 0 40px rgba(150, 240, 220, 0.4);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

h2 {
    font-size: 1.4rem;
    font-weight: 300;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), 0 0 32px rgba(180, 255, 240, 0.45);
    margin: 1rem 0 2rem;
    transition: transform 0.3s ease;
}

img:hover {
    transform: scale(1.05) rotate(2deg);
}

h4 {
    font-size: 1rem;
    font-weight: 400;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    backdrop-filter: blur(6px);
}

/* ===== Navbar (top bar + slide-out drawer) ===== */
.navbar {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(4, 28, 20, 0.65), rgba(20, 80, 60, 0.4), rgba(4, 28, 20, 0.65));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    margin: 0;
    z-index: 100;
}

.nav-logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.35em;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: transform 0.2s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

/* Hamburger button */
.nav-toggle {
    width: 42px;
    height: 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.2s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Dim background behind the drawer */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 101;
}

.nav-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* The drawer itself */
.nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: min(280px, 80vw);
    padding: 4.5rem 1.75rem 2rem;
    background: linear-gradient(160deg, rgba(5, 30, 23, 0.96), rgba(18, 74, 55, 0.96));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.3);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.35s ease, visibility 0.35s;
    z-index: 102;
    overflow-y: auto;
    text-align: left;
}

.nav-drawer.open {
    transform: translateX(0);
    visibility: visible;
}

.nav-close {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    width: 42px;
    height: 42px;
    background: transparent;
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease;
}

.nav-close:hover {
    background: rgba(255, 255, 255, 0.15);
}

.nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.nav-links a {
    position: relative;
    display: block;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: opacity 0.2s ease, padding-left 0.2s ease;
}

.nav-links a:hover {
    opacity: 0.85;
    padding-left: 1rem;
}

.nav-links a.active {
    font-weight: 700;
    padding-left: 1rem;
    border-left: 3px solid #b8f2e6;
}

/* Stop the page scrolling behind an open drawer */
body.nav-locked {
    overflow: hidden;
}

/* ===== Minigame ===== */
.minigame-section {
    margin-top: 3rem;
    margin-bottom: 3rem;
    width: 100%;
    max-width: 500px;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    border-radius: 20px;
}

.minigame-section h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.minigame-section p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.game-scoreboard {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

#game-area {
    position: relative;
    width: 100%;
    height: 300px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#start-btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #2f7d5f;
    background: #fff;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

#start-btn:hover {
    transform: scale(1.05);
}

#mm-start-btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #2f7d5f;
    background: #fff;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

#mm-start-btn:hover {
    transform: scale(1.05);
}

.falling-star {
    position: absolute;
    top: -2rem;
    font-size: 2rem;
    cursor: pointer;
    user-select: none;
    animation: fall linear forwards;
}

@keyframes fall {
    from { top: -2rem; }
    to { top: 300px; }
}

/* ===== Memory Match minigame ===== */
#mm-game-area {
    position: relative;
    width: 100%;
    min-height: 300px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
}

#mm-board {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.6rem;
    width: 100%;
    max-width: 360px;
}

.mm-card {
    aspect-ratio: 1 / 1;
    cursor: pointer;
    perspective: 600px;
}

.mm-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.4s;
    transform-style: preserve-3d;
}

.mm-card.mm-flipped .mm-card-inner,
.mm-card.mm-matched .mm-card-inner {
    transform: rotateY(180deg);
}

.mm-card-front,
.mm-card-back {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    border-radius: 10px;
    backface-visibility: hidden;
}

.mm-card-front {
    background: rgba(255, 255, 255, 0.25);
}

.mm-card-back {
    background: #fff;
    color: #2f7d5f;
    transform: rotateY(180deg);
}

.mm-card.mm-matched .mm-card-back {
    background: #d1fae5;
    color: #0a8a3f;
}

/* ===== Logo / vinyl / Spotify hover ===== */
.logo-container {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 1rem auto 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vinyl {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: repeating-radial-gradient(circle, #111 0px, #111 2px, #292929 3px, #111 4px);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
    transform: translate(-50%, -50%) scale(0.85);
    opacity: 0;
    z-index: 1;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.vinyl::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 36px;
    height: 36px;
    background: #b8f2e6;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.logo-img {
    position: relative;
    z-index: 2;
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease;
    background: rgba(255, 255, 255, 0.2);
}

.spotify-embed {
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 3;
}

.logo-container:hover .logo-img {
    transform: translateX(-35px) rotate(-6deg);
}

.logo-container:hover .vinyl {
    opacity: 1;
    transform: translate(-20%, -50%) scale(1);
    animation: spin 4s linear infinite;
}

.logo-container:hover .spotify-embed {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-50%) translateX(40px);
}

@keyframes spin {
    from { transform: translate(-20%, -50%) rotate(0deg); }
    to   { transform: translate(-20%, -50%) rotate(360deg); }
}

/* ===== About Us / Channel banner ===== */
.channel-banner {
    width: 100%;
    height: 250px;
    overflow: hidden;
    margin-top: 0;
}

.channel-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    border: none;
    box-shadow: none;
    margin: 0;
}

.channel-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    max-width: 800px;
    width: 100%;
    margin: -50px auto 2rem;
    padding: 0 2rem;
    position: relative;
    z-index: 5;
    text-align: left;
}

.channel-avatar {
    width: 110px;
    height: 110px;
    border: 4px solid #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    margin: 0;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.3);
}

.channel-text {
    padding-top: 3rem;
}

.channel-title {
    font-size: 2.2rem;
    margin: 0;
    text-align: left;
}

.channel-subtitle {
    font-size: 1rem;
    opacity: 0.85;
    margin-top: 0.25rem;
}

.about-us-wrap {
    max-width: 700px;
    width: 100%;
    margin: 0 auto 2rem;
    padding: 2rem 2.5rem;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
}

.about-us-wrap p {
    font-size: 1.05rem;
    line-height: 1.7;
    text-align: left;
}

.about-us-wrap p + p {
    margin-top: 1rem;
}

/* ===== Admins grid ===== */
.admins-wrap {
    max-width: 900px;
    width: 100%;
    margin: 0 auto 3rem;
    padding: 1.5rem 2rem;
}

.admins-wrap h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.admin-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    border-radius: 14px;
    overflow: hidden;
    padding-bottom: 0.75rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}

.admin-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.admin-thumb-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    border-radius: 0;
    border: none;
    box-shadow: none;
    margin: 0;
}

.admin-role {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.75;
    margin: 0.75rem 1rem 0.15rem;
    text-align: left;
}

.admin-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 1rem;
    text-align: left;
}

.head-admin .admin-thumb-img {
    border-bottom: 3px solid #facc15;
}

/* ===== Admin modal ===== */
.admin-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.admin-modal-overlay.active {
    display: flex;
}

.admin-modal {
    position: relative;
    background: linear-gradient(135deg, #4fa68a, #9fe3e6);
    border-radius: 20px;
    padding: 2rem;
    max-width: 380px;
    width: 90%;
    text-align: center;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    animation: modalPop 0.25s ease;
}

@keyframes modalPop {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.admin-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #fff;
    cursor: pointer;
    line-height: 1;
}

.admin-modal-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #fff;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.admin-modal-role {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.85;
    margin-bottom: 0.25rem;
}

.admin-modal-name {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.admin-modal-desc {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== Members grid (video-style cards) ===== */
.members-wrap {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto 3rem;
    padding: 1.5rem 2rem;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
}

.member-card {
    display: block;
    text-decoration: none;
    color: #fff;
    background: transparent;
    transition: transform 0.25s ease;
}

.member-card:hover {
    transform: translateY(-6px);
}

.member-thumb-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    border: none;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    margin: 0;
    transition: transform 0.3s ease;
}

.member-card:hover .member-thumb-img {
    transform: none;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.member-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 0.75rem;
    text-align: left;
}

.member-avatar-sm {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.6);
    box-shadow: none;
    margin: 0;
}

.member-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.member-role {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* ===== Watch page (member detail) ===== */
.watch-wrap {
    width: 100%;
    max-width: 1300px;
    margin: 6rem auto 3rem;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 2rem;
    align-items: start;
    text-align: left;
}

.watch-main {
    max-width: 700px;
}

.watch-main-img {
    width: 100%;
    height: auto;
    aspect-ratio: 8 / 4;
    object-fit: cover;
    border-radius: 14px;
    border: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    margin: 0 0 1rem;
}

.watch-title {
    margin: 0 0 0.75rem;
    font-size: 1.6rem;
    text-align: left;
}

.watch-channel-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.watch-avatar {
    width: 48px;
    height: 48px;
    border: 3px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    line-height: 1;
    flex-shrink: 0;
    margin: 0;
}

.watch-role {
    font-weight: 600;
    font-size: 0.95rem;
}

.watch-socials {
    font-size: 0.8rem;
    opacity: 0.8;
}

.watch-desc-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    border-radius: 14px;
    padding: 1.1rem 1.4rem;
}

.watch-desc-box p {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Sidebar */
.watch-sidebar {
    display: flex;
    flex-direction: column;
}

.watch-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.85;
    margin-bottom: 1rem;
    transition: opacity 0.2s ease;
}

.watch-back:hover {
    opacity: 1;
    text-decoration: underline;
}

.sidebar-heading {
    font-size: 1.05rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.sidebar-card {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: #fff;
    padding: 0.35rem;
    border-radius: 10px;
    transition: background 0.2s ease;
}

.sidebar-card:hover {
    background: rgba(255, 255, 255, 0.12);
}

.sidebar-thumb-wrap {
    width: 200px;
    height: 113px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.sidebar-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    border: none;
    box-shadow: none;
    margin: 0;
}

.sidebar-card-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.sidebar-name {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-role {
    font-size: 0.72rem;
    opacity: 0.75;
}

/* ===== Mobile responsive ===== */
@media (max-width: 600px) {
    h1 {
        margin-top: 5rem;
        font-size: 3.2rem;
    }

    h2 {
        font-size: 1.1rem;
        padding: 0 0.5rem;
    }

    .page-content {
        padding: 1.5rem 1rem;
    }

    .minigame-section {
        padding: 1rem;
        max-width: 100%;
    }

    .game-scoreboard {
        gap: 1rem;
        font-size: 0.9rem;
    }

    #game-area {
        height: 220px;
    }

    .logo-container {
        flex-direction: column;
        height: auto;
    }

    .spotify-embed {
        position: static;
        transform: none;
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        margin-top: 1rem;
        transition: opacity 0.4s ease, max-height 0.4s ease;
    }

    .spotify-embed.active {
        opacity: 1;
        max-height: 100px;
        pointer-events: auto;
    }

    .logo-container.tapped .logo-img {
        transform: scale(0.95);
    }

    .logo-container.tapped .vinyl {
        opacity: 1;
        transform: translate(-50%, -60%) scale(0.9);
        animation: spin 4s linear infinite;
    }

    .channel-banner {
        height: 130px;
    }

    .channel-info {
        flex-direction: column;
        align-items: flex-start;
        margin-top: -40px;
        padding: 0 1.5rem;
    }

    .channel-avatar {
        width: 80px;
        height: 80px;
    }

    .channel-text {
        padding-top: 0;
    }

    .admin-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

    .about-us-wrap {
        margin: 1rem 1rem 2rem;
        padding: 1.5rem;
        width: calc(100% - 2rem);
    }

    .admin-modal {
        padding: 1.5rem;
    }

    .members-wrap {
        padding: 1rem;
    }

    .members-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .watch-wrap {
        grid-template-columns: 1fr;
        padding: 0 1.25rem;
        margin-top: 2rem;
    }

    .sidebar-thumb-wrap {
        width: 120px;
        height: 68px;
    }
}
/* ===== Songs to Stream page ===== */
.songs-intro {
    max-width: 700px;
    margin: 0 auto 2rem;
    padding: 0 1.5rem;
}

.songs-intro p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.songs-wrap {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto 3rem;
    padding: 0 2rem;
}

.albums-grid {
    display: flex;
    width: 100%;
    height: 560px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.album-card {
    position: relative;
    cursor: pointer;
    background: var(--album-color, #4fa68a);
    flex: 1 1 0;
    min-width: 50px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    outline: none;
    overflow: hidden;
    transition: flex 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.album-card:hover,
.album-card:focus-visible {
    flex: 2.4 1 0;
}

.album-cover-wrap {
    position: relative;
    width: 130px;
    height: 130px;
    z-index: 2;
}

.album-cover-back {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.35);
    background-size: cover;
    background-position: center;
    border: 3px dashed rgba(255, 255, 255, 0.7);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    transform: translate(-50%, -50%) scale(0.85);
    opacity: 0;
    z-index: 1;
    transition: transform 0.4s ease, opacity 0.4s ease;
    /* This circle sits behind the CD icon — swap in the real album art here:
       background-image: url('albumcovers/neon-dreams.jpg');
       background-size: cover;
       background-position: center; */
}

.album-card:hover .album-cover-back,
.album-card:focus-visible .album-cover-back {
    opacity: 1;
    transform: translate(-70%, -50%) scale(1);
}

.album-cover {
    position: relative;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    background: rgba(255, 255, 255, 0.25);
    border: 4px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    z-index: 2;
    transition: transform 0.4s ease;
    /* Or swap the art in here instead, and drop .album-cover-back entirely:
       background-image: url('albumcovers/neon-dreams.jpg');
       background-size: cover;
       background-position: center; */
}

.album-card:hover .album-cover,
.album-card:focus-visible .album-cover {
    transform: translateX(12%) scale(1.05);
}

.album-title {
    position: absolute;
    bottom: 1.75rem;
    left: 50%;
    transform: translate(-50%, 10px);
    width: 85%;
    text-align: center;
    font-size: 1.05rem;
    font-weight: 600;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    opacity: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.album-card:hover .album-title,
.album-card:focus-visible .album-title {
    opacity: 1;
    transform: translate(-50%, 0);
}

.album-hint {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.68rem;
    opacity: 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
    transition: opacity 0.3s ease 0.05s;
}

.album-card:hover .album-hint,
.album-card:focus-visible .album-hint {
    opacity: 0.8;
}

.album-songs {
    display: none;
}

/* Expanded album overlay */
.album-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
}

.album-overlay-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: albumFadeIn 0.3s ease;
}

.album-expanded {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: albumPopIn 0.35s ease;
}

.album-close {
    position: absolute;
    top: -3rem;
    right: -0.5rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    font-size: 1.8rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    line-height: 1;
}

.album-close:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: scale(1.08);
}

.stem-wrap {
    position: relative;
    width: 460px;
    max-width: 90vw;
    height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.album-cover-big-wrap {
    position: relative;
    width: 170px;
    height: 170px;
    z-index: 3;
}

.album-cover-back-big {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.35);
    background-size: cover;
    background-position: center;
    border: 3px dashed rgba(255, 255, 255, 0.7);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    transform: translate(-70%, -50%);
    z-index: 1;
    /* Swap in the real album art here, same as .album-cover-back */
}

.album-cover-big {
    position: relative;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 5px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 0 40px var(--album-color, #4fa68a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    z-index: 2;
    /* Or swap the art in here instead, and drop .album-cover-back-big entirely */
}

.stem-line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 150px;
    background: rgba(255, 255, 255, 0.5);
    transform-origin: top center;
    transform: translate(-50%, 0) rotate(calc(360deg / var(--total) * var(--i)));
    z-index: 1;
    opacity: 0;
    animation: growStem 0.4s ease forwards;
    animation-delay: calc(var(--i) * 0.07s);
}

.stem-node {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    transform: rotate(calc(360deg / var(--total) * var(--i))) translate(0, 190px);
    z-index: 2;
    opacity: 0;
    animation: popStem 0.4s ease forwards;
    animation-delay: calc(var(--i) * 0.07s + 0.1s);
}

.stem-node a {
    display: inline-block;
    transform: translate(-50%, -50%) rotate(calc(-360deg / var(--total) * var(--i)));
    background: rgba(255, 255, 255, 0.92);
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    transition: transform 0.2s ease, background 0.2s ease;
}

.stem-node a:hover {
    background: #fff;
    transform: translate(-50%, -50%) rotate(calc(-360deg / var(--total) * var(--i))) scale(1.1);
}

.expanded-title {
    margin-top: 1.5rem;
    font-size: 1.5rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

@keyframes albumFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes albumPopIn {
    from { opacity: 0; transform: scale(0.85); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes growStem {
    from { opacity: 0; height: 0; }
    to { opacity: 1; height: 150px; }
}

@keyframes popStem {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 700px) {
    .songs-wrap {
        padding: 0 1rem;
    }

    .albums-grid {
        flex-direction: column;
        height: auto;
    }

    .album-card {
        flex: none;
        width: 100%;
        height: 110px;
        transition: height 0.4s ease;
    }

    .album-card:hover,
    .album-card:focus-visible {
        flex: none;
        height: 170px;
    }

    .album-cover-wrap {
        width: 80px;
        height: 80px;
    }

    .album-cover-back {
        width: 80px;
        height: 80px;
    }

    .album-cover {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .album-cover-big-wrap {
        width: 130px;
        height: 130px;
    }

    .album-cover-back-big {
        width: 130px;
        height: 130px;
    }

    .album-title {
        bottom: 1rem;
        font-size: 0.95rem;
    }

    .album-hint {
        bottom: 0.5rem;
    }

    .stem-wrap {
        width: 100%;
        height: auto;
        flex-direction: column;
        gap: 0.75rem;
    }

    .stem-line {
        display: none;
    }

    .stem-node {
        position: static;
        width: auto;
        height: auto;
        transform: none;
        opacity: 1;
        animation: none;
    }

    .stem-node a {
        display: block;
        transform: none;
        white-space: normal;
        text-align: center;
        max-width: 260px;
        margin: 0 auto;
    }

    .stem-node a:hover {
        transform: scale(1.05);
    }

    .album-cover-big {
        width: 130px;
        height: 130px;
        margin-bottom: 0.5rem;
    }

    .album-overlay {
        padding: 1.5rem 1rem;
        align-items: center;
        overflow-y: auto;
    }

    .album-expanded {
        max-width: 100%;
    }

    .album-close {
        top: -1rem;
        right: 0;
    }
}

/* ===== Extra-small phones ===== */
@media (max-width: 420px) {
    h1 {
        font-size: 1.8rem;
    }

    .songs-intro p {
        font-size: 0.9rem;
    }

    .album-card {
        height: 90px;
    }

    .album-card:hover,
    .album-card:focus-visible {
        height: 140px;
    }

    .album-cover-wrap,
    .album-cover-back,
    .album-cover {
        width: 64px;
        height: 64px;
    }

    .album-cover {
        font-size: 1.6rem;
    }

    .album-title {
        font-size: 0.85rem;
        bottom: 0.75rem;
    }

    .album-hint {
        font-size: 0.6rem;
        bottom: 0.4rem;
    }

    .album-cover-big-wrap,
    .album-cover-back-big,
    .album-cover-big {
        width: 110px;
        height: 110px;
    }

    .album-cover-big {
        font-size: 2.4rem;
    }

    .expanded-title {
        font-size: 1.25rem;
    }

    .stem-node a {
        font-size: 0.75rem;
        padding: 0.45rem 0.8rem;
    }
}
/* ===== Pertinent Links page ===== */
.links-wrap {
    max-width: 700px;
    width: 100%;
    margin: 0 auto 3rem;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.link-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    border-radius: 20px;
    padding: 2rem 2.25rem;
    text-align: left;
}

.link-card-eyebrow {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.75;
    margin-bottom: 0.35rem;
}

.link-card-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.link-card-copy {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 1.25rem;
}

/* Socials list */
.social-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-pill {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 0.6rem 1.1rem;
    transition: transform 0.2s ease, background 0.2s ease;
}

.social-pill:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.22);
}

.social-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.social-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.social-platform {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.75;
}

.social-handle {
    font-size: 0.95rem;
    font-weight: 600;
}

/* CTA pill button (reuses #start-btn's visual language) */
.pill-btn {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2f7d5f;
    background: #fff;
    border: none;
    border-radius: 999px;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease;
    margin-bottom: 1.5rem;
}

.pill-btn:hover {
    transform: scale(1.05);
}

/* QR / payment details grid */
.qr-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    max-width: 360px;
}

.qr-card {
    text-align: center;
}

.qr-frame {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.25);
    border: 3px dashed rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* Swap in the real QR code image here, e.g.:
       <img src="assets/gcash-qr.png" alt="GCash QR code"> */
}

.qr-frame img,
.qr-frame image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    border: none;
    box-shadow: none;
    margin: 0;
}

.qr-label {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    opacity: 0.85;
}

/* Reuses the same pill-notice look as the homepage's h4 */
.callout {
    font-size: 1rem;
    font-weight: 400;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.9rem 1.5rem;
    border-radius: 999px;
    backdrop-filter: blur(6px);
    text-align: center;
    max-width: 600px;
    margin: 0.5rem auto 0;
}

@media (max-width: 600px) {
    .links-wrap {
        padding: 0 1rem;
        gap: 1.25rem;
    }

    .link-card {
        padding: 1.5rem;
    }

    .qr-grid {
        max-width: 100%;
    }

    .callout {
        margin: 0.5rem 1rem 0;
        padding: 0.85rem 1.25rem;
    }
}

/* ===== Contact form ===== */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    text-align: left;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-row .form-group {
    flex: 1;
    min-width: 0;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.form-input,
.form-textarea {
    width: 100%;
    font-family: inherit;
    font-size: 0.95rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    border-radius: 12px;
    padding: 0.7rem 0.9rem;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.65);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.22);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    align-self: flex-start;
    margin-bottom: 0;
}

.form-status {
    font-size: 0.85rem;
    opacity: 0.9;
    min-height: 1.2em;
}

.form-status.success {
    color: #d1fae5;
}

.form-status.error {
    color: #fecaca;
}

@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 1.1rem;
    }
}

/* ===== Contact page — YouTube-comments-style widget ===== */
.yt-widget {
    max-width: 700px;
    width: 100%;
    margin: 0 auto 3rem;
    background: #fff;
    color: #0f0f0f;
    border-radius: 16px;
    padding: 1.75rem 2rem 2.25rem;
    text-align: left;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.18);
    font-family: 'Roboto', Arial, sans-serif;
}

.yt-comments-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.yt-sort {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #606060;
    cursor: default;
}

/* Composer */
.yt-composer {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.25rem;
}

.yt-avatar {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
}

.yt-avatar--you {
    background: #909090;
}

.yt-avatar--brand {
    background: linear-gradient(135deg, #2f8068, #7fd6c8, #b8f2e6);
}

.yt-avatar--fan {
    background: #4c8bf5;
}

.yt-avatar--sm {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
}

.yt-composer-body {
    flex: 1;
    min-width: 0;
}

.yt-composer-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.6rem;
}

.yt-meta-input {
    flex: 1;
    min-width: 0;
    font-family: inherit;
    font-size: 0.82rem;
    color: #0f0f0f;
    background: transparent;
    border: none;
    border-bottom: 1px solid #e0e0e0;
    padding: 0.3rem 0.1rem;
    transition: border-color 0.15s ease;
}

.yt-meta-input::placeholder {
    color: #909090;
}

.yt-meta-input:focus {
    outline: none;
    border-bottom: 1.5px solid #0f0f0f;
}

.yt-composer-input {
    width: 100%;
    font-family: inherit;
    font-size: 0.95rem;
    color: #0f0f0f;
    background: transparent;
    border: none;
    border-bottom: 1px solid #e0e0e0;
    padding: 0.4rem 0.1rem 0.6rem;
    resize: none;
    min-height: 24px;
    transition: border-color 0.15s ease;
}

.yt-composer-input::placeholder {
    color: #606060;
}

.yt-composer-input:focus {
    outline: none;
    border-bottom: 1.5px solid #065fd4;
}

.yt-composer-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 0.6rem;
}

.yt-btn {
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    border-radius: 18px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: background 0.15s ease, opacity 0.15s ease;
}

.yt-btn--cancel {
    background: transparent;
    color: #606060;
}

.yt-btn--cancel:hover {
    background: #f2f2f2;
}

.yt-btn--submit {
    background: #065fd4;
    color: #fff;
}

.yt-btn--submit:disabled {
    background: #e0e0e0;
    color: #a8a8a8;
    cursor: default;
}

.yt-btn--submit:not(:disabled):hover {
    background: #0b57d0;
}

.yt-form-note {
    font-size: 0.8rem;
    margin-top: 0.5rem;
    min-height: 1.1em;
}

.yt-form-note.success {
    color: #0a8a3f;
}

.yt-form-note.error {
    color: #d93025;
}

/* Comment list */
.yt-comment-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.yt-comment-row {
    display: flex;
    gap: 1rem;
}

.yt-pinned-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #606060;
    margin: 0 0 0.4rem 3.25rem;
}

.yt-comment-body {
    flex: 1;
    min-width: 0;
}

.yt-comment-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.15rem;
}

.yt-comment-author {
    font-size: 0.85rem;
    font-weight: 500;
    color: #0f0f0f;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.yt-verified {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #4fa68a;
    color: #fff;
    font-size: 0.65rem;
    line-height: 1;
}

.yt-comment-time {
    font-size: 0.78rem;
    color: #606060;
}

.yt-comment-text {
    font-size: 0.9rem;
    color: #0f0f0f;
    line-height: 1.45;
    margin-bottom: 0.5rem;
    word-break: break-word;
}

.yt-comment-text a {
    color: #065fd4;
    text-decoration: none;
}

.yt-comment-text a:hover {
    text-decoration: underline;
}

.yt-comment-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-size: 0.8rem;
    color: #606060;
}

.yt-action {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    cursor: default;
}

.yt-action svg {
    opacity: 0.75;
}

.yt-comment--reply {
    margin-top: 1rem;
}

@media (max-width: 600px) {
    .yt-widget {
        padding: 1.25rem 1.25rem 1.75rem;
        border-radius: 14px;
    }

    .yt-composer-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .yt-pinned-label {
        margin-left: 2.75rem;
    }

    .yt-avatar {
        width: 34px;
        height: 34px;
    }
}

/* ===== Leaderboard ===== */
.postgame {
    margin-top: 1rem;
}

.score-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    align-items: center;
}

.score-form .form-input {
    max-width: 220px;
}

.score-saved {
    font-weight: 600;
}

.leaderboard-wrap {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.leaderboard-heading {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.leaderboard-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    text-align: left;
    max-width: 340px;
    margin: 0 auto;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    font-size: 0.9rem;
}

.leaderboard-rank {
    width: 1.6rem;
    text-align: center;
    font-weight: 700;
}

.leaderboard-name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.leaderboard-score {
    font-weight: 600;
    opacity: 0.9;
    white-space: nowrap;
}

.leaderboard-empty {
    font-size: 0.85rem;
    opacity: 0.85;
}


/* ===== Dynamic-content loading state (songs/members/admins) ===== */
.songs-loading {
    opacity: 0.85;
    font-size: 0.95rem;
    padding: 2rem 0;
}

/* ===== Admin panel ===== */
.admin-wrap {
    max-width: 960px;
    width: 100%;
    margin: 6rem auto 4rem;
    padding: 0 1.5rem;
    text-align: left;
    color: #0f0f0f;
}

.admin-login-box {
    max-width: 380px;
    margin: 6rem auto;
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.18);
    text-align: left;
    color: #0f0f0f;
}

.admin-login-box h1 {
    margin-top: 0;
    font-size: 1.6rem;
    color: #0f0f0f;
    text-shadow: none;
}

.admin-panel {
    background: #fff;
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.18);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.admin-header h1 {
    margin: 0;
    font-size: 1.5rem;
    color: #0f0f0f;
    text-shadow: none;
}

.admin-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 0.75rem;
}

.admin-tab-btn {
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 999px;
    background: #f2f2f2;
    color: #333;
    cursor: pointer;
}

.admin-tab-btn.active {
    background: #2f7d5f;
    color: #fff;
}

.admin-section {
    display: none;
}

.admin-section.active {
    display: block;
}

.admin-row-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.admin-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.9rem 1rem;
    background: #f8f8f8;
    border-radius: 12px;
}

.admin-row img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    margin: 0;
    border: none;
    box-shadow: none;
    flex-shrink: 0;
}

.admin-row-info {
    flex: 1;
    min-width: 0;
}

.admin-row-title {
    font-weight: 700;
    font-size: 0.95rem;
}

.admin-row-sub {
    font-size: 0.82rem;
    color: #555;
    margin-top: 0.1rem;
}

.admin-row-desc {
    font-size: 0.8rem;
    color: #777;
    margin-top: 0.3rem;
    max-height: 2.6em;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-row-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.admin-btn {
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.4rem 0.85rem;
    border: none;
    border-radius: 999px;
    cursor: pointer;
}

.admin-btn.primary { background: #2f7d5f; color: #fff; }
.admin-btn.primary:hover { background: #6b2fd6; }
.admin-btn.ghost { background: #ececec; color: #333; }
.admin-btn.ghost:hover { background: #e0e0e0; }
.admin-btn.danger { background: #fde8e8; color: #c0392b; }
.admin-btn.danger:hover { background: #f9d3d3; }
.admin-btn:disabled { opacity: 0.6; cursor: default; }

.admin-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
    background: #f8f8f8;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.admin-form.hidden { display: none; }

.admin-form .full-width { grid-column: 1 / -1; }

.admin-field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.admin-field label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.admin-field input,
.admin-field textarea {
    font-family: inherit;
    font-size: 0.9rem;
    color: #0f0f0f;
    background: #fff;
    border: 1.5px solid #ddd;
    border-radius: 8px;
    padding: 0.55rem 0.7rem;
}

.admin-field textarea {
    min-height: 90px;
    resize: vertical;
}

.admin-field.checkbox {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.admin-form-actions {
    grid-column: 1 / -1;
    display: flex;
    gap: 0.6rem;
    justify-content: flex-end;
}

.admin-track-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0.75rem 0;
}

.admin-track-row {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 0.5rem;
    align-items: center;
}

.admin-track-row input {
    font-family: inherit;
    font-size: 0.85rem;
    padding: 0.4rem 0.6rem;
    border: 1.5px solid #ddd;
    border-radius: 8px;
}

.admin-comment-row.pending { border-left: 4px solid #f0ad4e; }
.admin-comment-row.approved { border-left: 4px solid #2ecc71; }

.admin-empty {
    padding: 1rem;
    font-size: 0.9rem;
    color: #777;
}

.admin-error {
    color: #c0392b;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

@media (max-width: 640px) {
    .admin-form {
        grid-template-columns: 1fr;
    }
    .admin-track-row {
        grid-template-columns: 1fr;
    }
}

/* ===== Stats page ===== */
.stats-wrap {
    max-width: 720px;
    width: 100%;
    margin: 1.5rem auto 3rem;
    padding: 0 1rem;
}

.stats-summary {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.stats-box {
    flex: 1 1 220px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    border-radius: 16px;
    padding: 1.1rem 1rem;
}

.stats-box-num {
    font-size: 1.8rem;
    font-weight: 700;
}

.stats-box-label {
    font-size: 0.85rem;
    opacity: 0.85;
    margin-top: 0.2rem;
}

.stats-list {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.stats-title {
    font-weight: 600;
}

.stats-nums {
    font-size: 0.88rem;
    opacity: 0.9;
    margin-top: 0.15rem;
}

.stats-bar {
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    margin-top: 0.6rem;
    overflow: hidden;
}

.stats-bar-fill {
    height: 100%;
    border-radius: 999px;
    background: #b8f2e6;
}

.stats-goal {
    font-size: 0.78rem;
    opacity: 0.8;
    margin-top: 0.3rem;
}

.stats-updated {
    margin-top: 1.25rem;
    font-size: 0.8rem;
    opacity: 0.75;
}

.admin-modal-socials {
    font-size: 0.85rem;
    line-height: 1.7;
    margin-top: 0.9rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    white-space: pre-line;
    opacity: 0.95;
}
/* ===== Home page sections ===== */
.home-section {
    width: 100%;
    max-width: 900px;
    margin: 3rem auto 0;
    padding: 0 1.5rem;
    text-align: center;
}

.home-card {
    padding: 2rem 2.25rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    border-radius: 20px;
}

.home-title {
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.home-text {
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.95;
    max-width: 640px;
    margin: 0 auto;
}

.home-text + .home-text {
    margin-top: 0.8rem;
}

.home-chips {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1.25rem;
}

.home-chips li {
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    padding: 0.4rem 0.9rem;
}

.home-link {
    display: inline-block;
    margin-top: 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2f7d5f;
    background: #fff;
    text-decoration: none;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    transition: transform 0.2s ease;
}

.home-link:hover {
    transform: scale(1.05);
}

/* ===== Coverflow carousel ===== */
.carousel {
    width: 100%;
    max-width: 760px;
    margin: 0 auto 1.25rem;
}

.carousel-track {
    position: relative;
    aspect-ratio: 2 / 1;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 28%;
    width: 44%;
    margin: 0;
    overflow: hidden;
    border-radius: 14px;
    border: 3px solid rgba(255, 255, 255, 0.85);
    background: linear-gradient(135deg, #17543f, #2f8068);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    opacity: 0;
    pointer-events: none;
    cursor: pointer;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.carousel-slide[data-pos="0"] {
    opacity: 1;
    pointer-events: auto;
    cursor: default;
    transform: translateX(calc(var(--o, 0) * 62%)) scale(1);
}

.carousel-slide[data-pos="1"] {
    opacity: 0.8;
    pointer-events: auto;
    transform: translateX(calc(var(--o, 0) * 62%)) scale(0.82);
}

.carousel-slide[data-pos="2"] {
    opacity: 0.5;
    pointer-events: auto;
    transform: translateX(calc(var(--o, 0) * 46.5%)) scale(0.66);
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    border-radius: 0;
    border: none;
    box-shadow: none;
    margin: 0;
    display: block;
}

.carousel-slide img:hover {
    transform: none;
}

/* the caption text is shown under the slider instead */
.carousel-slide figcaption {
    display: none;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    z-index: 20;
    transition: background 0.2s ease;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.65);
}

.carousel-btn.prev { left: 0.3rem; }
.carousel-btn.next { right: 0.3rem; }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 0.9rem;
}

.carousel-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.carousel-dot.active {
    background: #fff;
    transform: scale(1.25);
}

.carousel-caption {
    margin-top: 0.8rem;
    min-height: 2.8em;
    font-size: 1rem;
    line-height: 1.5;
}

.carousel-caption strong {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #b8f2e6;
}

/* ===== Game icons ===== */
.home-games {
    margin-bottom: 3rem;
}

.game-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2.5rem;
}

.game-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: #fff;
}

.game-icon-circle {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.game-icon:hover .game-icon-circle,
.game-icon:focus-visible .game-icon-circle {
    transform: translateY(-4px) scale(1.08);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3), 0 0 24px rgba(184, 242, 230, 0.5);
}

.game-icon-label {
    font-size: 0.85rem;
    font-weight: 500;
}

/* Land below the fixed navbar when jumping to a game */
#catch,
#memory {
    scroll-margin-top: 5rem;
}

@media (max-width: 700px) {
    .home-section {
        margin-top: 2.25rem;
        padding: 0 1rem;
    }

    .home-card {
        width: calc(100% - 2rem);
        padding: 1.5rem;
    }

    .home-title {
        font-size: 1.35rem;
    }

    .carousel-track {
        aspect-ratio: 16 / 11;
    }

    .carousel-slide {
        left: 25%;
        width: 50%;
    }
}

/* ===== Admin pop-up: scroll long bios ===== */
.admin-modal {
    display: flex;
    flex-direction: column;
    max-height: 85vh;
}

.admin-modal-img,
.admin-modal-role,
.admin-modal-name,
.admin-modal-socials {
    flex-shrink: 0;
}

.admin-modal-desc {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.6) transparent;
}

.admin-modal-desc::-webkit-scrollbar {
    width: 6px;
}

.admin-modal-desc::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 999px;
}

/* ===== Member profile facts ===== */
.watch-facts-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    border-radius: 14px;
    padding: 1.1rem 1.4rem;
    margin-bottom: 1.25rem;
}

.facts-list {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 0.5rem 1.1rem;
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: left;
}

.facts-list dt {
    font-weight: 600;
    color: #b8f2e6;
}

.facts-list dd {
    margin: 0;
    word-break: break-word;
}

@media (max-width: 600px) {
    .facts-list {
        grid-template-columns: 1fr;
        gap: 0.1rem;
    }

    .facts-list dd {
        margin-bottom: 0.6rem;
    }
}

/* ===== Member "Follow" card ===== */
.watch-follow-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    border-radius: 14px;
    padding: 1.1rem 1.4rem;
    margin-bottom: 1.25rem;
}

.follow-heading {
    font-size: 1rem;
    margin-bottom: 0.9rem;
    text-align: left;
}

.watch-follow-box .social-list {
    flex-direction: row;
    flex-wrap: wrap;
}

.watch-follow-box .social-pill {
    padding: 0.5rem 1rem;
}

/* ===== Stats: YouTube-style video cards ===== */
.vid-wrap {
    max-width: 1200px;
    width: 100%;
    margin: 1.5rem auto 3rem;
    padding: 0 1rem;
}

.vid-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.75rem 1rem;
    margin-top: 1.5rem;
}

.vid-card {
    display: block;
    text-decoration: none;
    color: #fff;
    text-align: left;
}

.vid-thumb,
.vid-player {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, #17543f, #2f8068);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.vid-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    opacity: 0.6;
}

.vid-thumb img,
.vid-player img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    border-radius: 0;
    border: none;
    box-shadow: none;
    margin: 0;
    display: block;
}

.vid-thumb img:hover,
.vid-player img:hover {
    transform: none;
}

.vid-card:hover .vid-thumb img {
    transform: scale(1.04);
}

.vid-badge {
    position: absolute;
    right: 6px;
    bottom: 6px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 5px;
}

.vid-meta {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.7rem;
}

.vid-ch-avatar {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    margin: 0;
    border: 2px solid rgba(255, 255, 255, 0.6);
    box-shadow: none;
}

.vid-ch-avatar.lg {
    width: 48px;
    height: 48px;
}

.vid-meta-text {
    min-width: 0;
}

.vid-card-title {
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vid-card-sub {
    font-size: 0.8rem;
    opacity: 0.75;
    margin-top: 0.15rem;
}

/* ===== Stats: watch page ===== */
.vid-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    text-decoration: none;
    font-size: 1.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.vid-play:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translate(-50%, -50%) scale(1.08);
}

.vid-player {
    margin-bottom: 1rem;
}

.vid-yt-btn {
    margin-left: auto;
    font-size: 0.85rem;
    font-weight: 600;
    color: #2f7d5f;
    background: #fff;
    text-decoration: none;
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    white-space: nowrap;
    transition: transform 0.2s ease;
}

.vid-yt-btn:hover {
    transform: scale(1.05);
}

.vid-box-title {
    font-weight: 600;
    margin-bottom: 0.9rem;
}

.vid-box-note {
    font-size: 0.85rem;
    opacity: 0.85;
    margin-top: 0.75rem;
}

.watch-main .stats-summary {
    margin-bottom: 1rem;
}

.vid-month-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.vid-month-card {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 0.8rem 1rem;
    text-align: left;
}

.vid-month-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.vid-month-gain {
    color: #b8f2e6;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 0.2rem;
}

.vid-month-line {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: 0.1rem;
}

@media (max-width: 600px) {
    .vid-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Admin: stats toolbar + monthly snapshot rows ===== */
.admin-toolbar {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 0.6rem;
}

.admin-toolbar-spacer {
    flex: 1;
}

.admin-month-input {
    font-family: inherit;
    font-size: 0.9rem;
    color: #0f0f0f;
    background: #fff;
    padding: 0.4rem 0.6rem;
    border: 1.5px solid #ddd;
    border-radius: 8px;
}

.admin-track-row.st-month-row {
    grid-template-columns: 1fr 1fr 1fr auto;
}

/* ===== Admin: mobile ===== */
@media (max-width: 640px) {
    .admin-wrap {
        margin: 1rem auto 2rem;
        padding: 0 0.75rem;
    }

    .admin-login-box {
        width: calc(100% - 1.5rem);
        margin: 2rem auto;
        padding: 1.5rem;
    }

    .admin-panel {
        padding: 1rem;
        border-radius: 14px;
    }

    .admin-header h1 {
        font-size: 1.25rem;
    }
    .admin-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin-bottom: 1.25rem;
        padding-bottom: 0.75rem;
    }

    .admin-tabs::-webkit-scrollbar {
        display: none;
    }

    .admin-tab-btn {
        flex-shrink: 0;
        white-space: nowrap;
        min-height: 40px;
    }

    /* list rows: info on top, big tappable buttons underneath */
    .admin-row {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .admin-row-info {
        flex: 1 1 0;
        overflow-wrap: anywhere;
    }

    .admin-row-actions {
        flex: 1 1 100%;
    }

    .admin-row-actions .admin-btn {
        flex: 1;
    }

    .admin-btn {
        min-height: 40px;
    }

    .admin-toolbar > * {
        flex: 1 1 100%;
    }

    .admin-toolbar-spacer {
        display: none;
    }

    .admin-toolbar .admin-btn,
    .admin-month-input {
        width: 100%;
    }

    .admin-form {
        padding: 1rem;
        gap: 0.75rem;
    }

    .admin-form-actions .admin-btn {
        flex: 1;
    }

    .admin-field input,
    .admin-field textarea,
    .admin-field select,
    .admin-track-row input,
    .admin-month-input {
        font-size: 16px;
    }

    .admin-track-row,
    .admin-track-row.st-month-row {
        grid-template-columns: 1fr;
        background: #fff;
        border-radius: 10px;
        padding: 0.6rem;
    }

    .admin-track-row .admin-btn {
        width: 100%;
    }
}