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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: transparent;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    color: #333;
}

.container {
    background: #F8F8F8;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #E5E5E5;
    max-width: 900px;
    width: 100%;
    overflow: hidden;
}

.header {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    text-align: center;
    padding: 20px 30px;
}

.header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.player-section {
    padding: 20px;
}

.current-module {
    text-align: center;
    margin-bottom: 25px;
}

.current-module h2 {
    font-size: 1.5rem;
    color: #333;
    font-weight: 600;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.audio-player {
    margin-bottom: 30px;
}

#audio-element {
    width: 100%;
    height: 60px;
    border-radius: 10px;
    outline: none;
}

#audio-element::-webkit-media-controls-panel {
    background-color: #f8f9fa;
    border-radius: 10px;
}

.module-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.module-btn {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    text-align: left;
    font-family: inherit;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.module-btn:hover {
    border-color: #ff6b35;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.module-btn.active {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
}

.module-number {
    background: #ff6b35;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    margin-right: 20px;
    flex-shrink: 0;
    transition: background-color 0.3s ease;
}

.module-btn.active .module-number {
    background: white;
    color: #ff6b35;
}

.module-title {
    flex: 1;
    font-weight: 500;
    line-height: 1.4;
}

.podcast-links {
    text-align: center;
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
}

.spotify-btn, .apple-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 50px;
    transition: all 0.3s ease;
    flex: 1;
    max-width: 280px;
}

.button-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.listen-on {
    font-size: 0.85rem;
    font-weight: 400;
    opacity: 0.9;
}

.platform-name {
    font-size: 1.3rem;
    font-weight: 700;
}

.spotify-btn {
    background: #1DB954;
    box-shadow: 0 8px 20px rgba(29, 185, 84, 0.3);
}

.spotify-btn:hover {
    background: #1ed760;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(29, 185, 84, 0.4);
}

.apple-btn {
    background: #000000;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.apple-btn:hover {
    background: #333333;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.spotify-icon, .apple-icon {
    width: 24px;
    height: 24px;
    margin-right: 12px;
}

@media (max-width: 768px) {
    .container {
        max-width: 600px;
    }

    .module-buttons {
        grid-template-columns: 1fr;
    }

    .podcast-links {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .header {
        padding: 25px 20px;
    }

    .header h1 {
        font-size: 1.8rem;
    }

    .player-section {
        padding: 25px 20px;
    }

    .module-btn {
        padding: 15px;
        flex-direction: column;
        text-align: center;
    }

    .module-number {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .spotify-btn, .apple-btn {
        padding: 14px 24px;
        font-size: 1rem;
    }
}

@media (max-width: 320px) {
    .header h1 {
        font-size: 1.5rem;
    }

    .current-module h2 {
        font-size: 1.2rem;
    }
}