:root {
    --primary-color: #80badf;
    --white-color: #ffffff;
    --off-white-color: #fdfdfd;
    --text-color: #343a40;
    --dark-text-color: #e9ecef;
    --outline-color: #1a181b;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --hover-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--primary-color);
    color: var(--white-color);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* ===========================
   Animated Background Shapes
   =========================== */
.background-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.background-shapes span {
    position: absolute;
    display: block;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.15);
    animation: animate-shapes 45s linear infinite;
    bottom: -200px;
}

.background-shapes span:nth-child(1) { left: 25%; width: 80px; height: 80px; animation-delay: 0s; }
.background-shapes span:nth-child(2) { left: 10%; width: 20px; height: 20px; animation-delay: 2s; animation-duration: 35s; }
.background-shapes span:nth-child(3) { left: 70%; width: 20px; height: 20px; animation-delay: 4s; animation-duration: 28s; }
.background-shapes span:nth-child(4) { left: 40%; width: 60px; height: 60px; animation-delay: 0s; animation-duration: 40s; }
.background-shapes span:nth-child(5) { left: 65%; width: 20px; height: 20px; animation-delay: 0s; animation-duration: 25s; }
.background-shapes span:nth-child(6) { left: 75%; width: 110px; height: 110px; animation-delay: 3s; }
.background-shapes span:nth-child(7) { left: 35%; width: 150px; height: 150px; animation-delay: 7s; animation-duration: 55s; }
.background-shapes span:nth-child(8) { left: 50%; width: 25px; height: 25px; animation-delay: 15s; animation-duration: 60s; }
.background-shapes span:nth-child(9) { left: 20%; width: 15px; height: 15px; animation-delay: 2s; animation-duration: 50s; }
.background-shapes span:nth-child(10) { left: 85%; width: 150px; height: 150px; animation-delay: 0s; animation-duration: 30s; }

@keyframes animate-shapes {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; border-radius: 0; }
    100% { transform: translateY(-150vh) rotate(720deg); opacity: 0; border-radius: 50%; }
}

/* ===========================
   Layout
   =========================== */
.container {
    width: 100%;
    max-width: 900px;
    padding: 20px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

header {
    padding: 4rem 0 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s ease-out forwards;

    background-color: var(--off-white-color);
    background-image: repeating-linear-gradient(
            45deg,
            transparent,
            transparent 8px,
            rgba(0, 0, 0, 0.02) 8px,
            rgba(0, 0, 0, 0.02) 16px
    );
    border: 2px solid var(--outline-color);
    border-radius: 12px;
    padding: 1.5rem;
}

main {
    width: 100%;
}

/* ===========================
   Fade-in Section
   =========================== */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    transition-delay: 0.3s;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--white-color);
}

#listen-on {
    padding: 2rem 0;
}

/* ===========================
   Platform Grid (9 buttons)
   =========================== */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* desktop: 3 per row */
    gap: 1.5rem;
    list-style: none;
}

.platform-grid a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text-color);
    text-decoration: none;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--off-white-color);
    background-image: repeating-linear-gradient(
            45deg,
            transparent,
            transparent 8px,
            rgba(0, 0, 0, 0.02) 8px,
            rgba(0, 0, 0, 0.02) 16px
    );
    border: 2px solid var(--outline-color);
}

.platform-grid a:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.platform-logo {
    width: 28px;
    height: auto;
    display: inline-block;
}

/* ===========================
   Footer
   =========================== */
footer {
    text-align: center;
    padding: 2rem 1rem;
    margin-top: auto;
    color: var(--dark-text-color);
    font-size: 0.9rem;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 768px) {
    .platform-grid {
        grid-template-columns: 1fr; 
    }
    header {
        padding: 2rem 1rem;
    }
}