/* Color Palette - Darker version */
:root {
    --bright-blue: #2db8d1;
    --blue-green: #5dc9b8;
    --dusty-white: #b8d4d1;
    --pink-sand: #e67a8a;
    --dark-sand: #6d4f57;
    --darker-bg: #1a2a2e;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, var(--darker-bg) 0%, #2a3a3e 30%, #1a2a2e 70%, var(--darker-bg) 100%);
    min-height: 100vh;
    color: var(--dusty-white);
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

.background-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

/* Header Styles */
header {
    text-align: center;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.header-bar-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0.5rem 0;
}

.header-bar {
    max-width: 800px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.header-bar:hover {
    transform: scale(1.02);
}

.motto-container {
    position: relative;
    display: inline-block;
    max-width: 600px;
    width: 100%;
}

.motto {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: filter 0.3s ease;
}

.motto:hover {
    filter: drop-shadow(0 6px 12px rgba(81, 226, 245, 0.4));
}

.sparkle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Pulse Animation */
.pulse-animation {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

/* Enhanced pulse with glow effect */
.motto.pulse-animation {
    animation: pulseGlow 2.5s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3)) 
                drop-shadow(0 0 15px rgba(45, 184, 209, 0.5));
    }
    50% {
        transform: scale(1.03);
        filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4)) 
                drop-shadow(0 0 25px rgba(45, 184, 209, 0.8))
                drop-shadow(0 0 20px rgba(230, 122, 138, 0.6));
    }
}

.logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dusty-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--dark-sand);
    font-weight: 500;
    background: rgba(237, 247, 246, 0.8);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    display: inline-block;
    backdrop-filter: blur(10px);
}

/* Main Content */
main {
    background: rgba(26, 42, 46, 0.85);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(45, 184, 209, 0.3);
}

h2 {
    font-size: 1.5rem;
    color: var(--bright-blue);
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(45, 184, 209, 0.5);
}

/* Episode List */
.episode-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.episode {
    width: 100%;
}

.episode-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, rgba(45, 184, 209, 0.2) 0%, rgba(93, 201, 184, 0.15) 100%);
    border: 2px solid var(--bright-blue);
    border-radius: 8px;
    text-decoration: none;
    color: var(--dusty-white);
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.episode-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(45, 184, 209, 0.4);
    border-color: var(--pink-sand);
    background: linear-gradient(135deg, rgba(45, 184, 209, 0.3) 0%, rgba(230, 122, 138, 0.2) 100%);
}

.episode-link.coming-soon {
    opacity: 0.9;
    cursor: pointer;
}

.episode-link.coming-soon:hover {
    opacity: 1;
}

.episode-title {
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.episode-area {
    font-size: 1rem;
    font-weight: 500;
    color: var(--bright-blue);
    margin-left: 0.5rem;
    white-space: nowrap;
}

.coming-soon-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: var(--pink-sand);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Footer */
footer {
    text-align: center;
    margin-top: 2rem;
    padding: 1rem;
    color: var(--dusty-white);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }

    main {
        padding: 1.5rem;
    }

    .episode-link {
        padding: 1.25rem 1.5rem;
    }

    .episode-title {
        font-size: 1.1rem;
    }

    .logo {
        max-width: 300px;
    }

    .header-bar {
        max-width: 100%;
    }

    .motto-container {
        max-width: 100%;
    }
}
