:root {
    --primary-red: #ff0000;
    --glow-shadow: 0 0 20px rgba(255, 0, 0, 0.7);
    --card-bg: rgba(0, 0, 0, 0.95); /* darker card background */
}

* { box-sizing: border-box; }

body {
    margin: 0;
    padding: 0;
    color: white;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    overflow-x: hidden;
    background: url('https://i.pinimg.com/originals/1b/8b/4f/1b8b4f3bd20f737ea9952615eb20490e.gif') no-repeat center center fixed;
    background-size: cover;
    padding-bottom: 140px; /* Space for the bottom player */
}

body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.92); /* darker overlay */
    z-index: 0;
    pointer-events: none;
}

/* --- SPLASH SCREEN --- */
/* --- SPLASH SCREEN --- */
        #splash {
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background: #000; /* pure black */
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            cursor: pointer;
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            box-shadow: inset 0 0 200px rgba(0,0,0,0.9);
            transition: opacity 0.6s ease, background 0.15s ease;
        }

        .splash-logo {
            width: 200px;
            margin-bottom: 40px;
            filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
        }

        #splash h1 {
            font-size: 3.5rem;
            letter-spacing: 15px;
            margin: 0;
            font-weight: 900;
            text-transform: uppercase;
        }

        #splash p {
            font-size: 0.7rem;
            letter-spacing: 3px;
            color: #888;
            margin-top: 15px;
            text-transform: uppercase;
        }

#splash p {
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: #888;
    margin-top: 15px;
    text-transform: uppercase;
}

/* --- MAIN CONTENT --- */
.container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 40px 20px;
    opacity: 0;
    transition: opacity 1s ease;
}

#mainContent { opacity: 1; /* moved from inline */ }

.watermark {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14vw;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05); 
    z-index: -1;
    letter-spacing: 15px;
    pointer-events: none;
    text-transform: uppercase;
}

.header-title {
    letter-spacing: 6px; font-size: 0.85rem; margin-bottom: 35px;
    text-transform: uppercase; font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.main-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 0, 0, 0.2);
    border-radius: 24px;
    padding: 50px 30px;
    backdrop-filter: blur(12px);
    max-width: 850px; width: 100%;
    box-shadow: 0 25px 50px rgba(0,0,0,0.8);
}

.member-grid {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 25px; margin-bottom: 30px;
}

.member-item, .member-link {
    position: relative; 
    display: flex; flex-direction: column; align-items: center;
    gap: 12px; transition: 0.3s; width: 100px;
    text-decoration: none; color: inherit;
}

.member-link:focus {
    outline: 3px solid rgba(255,0,0,0.15);
    border-radius: 8px;
    transform: scale(1.12);
}

.custom-popup {
    position: absolute;
    top: -40px;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 6px 14px;
    border-radius: 10px;
    font-size: 0.75rem;
    white-space: nowrap;
    border: 1px solid var(--primary-red);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(10px);
    z-index: 100;
}

.member-item:hover .custom-popup { opacity: 1; transform: translateY(0); }
.member-item:hover { transform: scale(1.15); }

.avatar {
    width: 75px; height: 75px; border-radius: 50%;
    border: 2px solid var(--primary-red);
    box-shadow: var(--glow-shadow);
    object-fit: cover;
    animation: breathe 3s infinite ease-in-out;
    cursor: pointer;
}

@keyframes breathe {
    0%, 100% { box-shadow: 0 0 10px rgba(255, 0, 0, 0.4); }
    50% { box-shadow: 0 0 25px rgba(255, 0, 0, 0.9); }
}

/* --- AFFILIATE STYLING --- */
.affiliate-container {
    margin-top: 40px;
    text-align: center;
    width: 100%;
}

.main-us-section {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-us-logo {
    width: 80px;
    filter: drop-shadow(0 0 12px var(--primary-red));
}

.us-label {
    font-size: 0.8rem;
    font-weight: 900;
    color: var(--primary-red);
    letter-spacing: 5px;
    margin-top: 8px;
    text-transform: uppercase;
}

.affiliate-header {
    font-size: 0.55rem;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    margin-bottom: 15px;
    font-weight: 800;
}

.footer-logos {
    display: flex;
    justify-content: center;
    gap: 35px;
    align-items: center;
}

.affiliate-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: 0.4s ease;
}

.affiliate-link img {
    width: 70px;
    height: auto;
    border-radius: 10px;
    filter: grayscale(1) opacity(0.5);
    transition: all 0.4s ease;
}

.affiliate-link:hover img {
    filter: grayscale(0) opacity(1) drop-shadow(0 0 8px var(--primary-red));
    transform: scale(1.1) translateY(-3px);
}

.affiliate-tag {
    font-size: 0.5rem;
    margin-top: 8px;
    color: #444;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.affiliate-link:hover .affiliate-tag { color: var(--primary-red); }

/* --- JOIN BAR --- */
.join-bar {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px; padding: 10px 25px;
    display: flex; align-items: center; gap: 15px; margin-top: 30px;
}

.join-btn {
    background: var(--primary-red); color: white; border: none;
    padding: 8px 22px; border-radius: 20px; font-weight: 800;
    font-size: 0.7rem; cursor: pointer; text-transform: uppercase;
    text-decoration: none;
    transition: 0.3s;
}

.join-btn:hover {
    box-shadow: 0 0 15px var(--primary-red);
    transform: scale(1.05);
}

/* --- STICKY PLAYER AT THE BOTTOM --- */
.music-player {
  position: fixed;
  bottom: 25px;
  z-index: 1000;
  background: #000;
  border-radius: 100px;
  padding: 12px 25px;
  display: flex;
  align-items: center;
  gap: 20px;
  width: 380px;
  border: 1px solid rgba(255, 0, 0, 0.35);
  box-shadow: 0 15px 35px rgba(0,0,0,0.95);
  backdrop-filter: blur(18px);
  opacity: 0;
  transition: opacity 0.7s ease;
} /* <-- add this */
.player-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.control-btn {
    cursor: pointer;
    font-size: 1.1rem;
    transition: 0.2s;
    color: white;
}

.control-btn:hover { color: var(--primary-red); }

.play-pause {
    background: white;
    color: black;
    border-radius: 50%;
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 0.9rem;
    font-weight: bold;
}

.music-info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex: 1;
}

.song-title {
    font-size: 0.85rem;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.artist-name {
    font-size: 0.65rem;
    color: #888;
}

.member-count { font-size: 0.75rem; font-weight: 700; color: #bbb; }

.artist-name {
    font-size: 0.65rem;
    color: #888;
}

.member-count { font-size: 0.75rem; font-weight: 700; color: #bbb; }

/* --- CROSS IMAGE DESIGN --- */
.cross-image {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: auto;
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
    filter: drop-shadow(0 0 20px rgba(255, 0, 0, 0.3));
}

.cross-background {
    background-image: url('cross.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}