/* style.css */

/* Global variables */ :root {
    --primary: #1a73e8;
    --secondary: #0d47a1;
    --light: #f5f7fa;
    --dark: #222;
    --accent: #ffb300;
    --song-bg: #eef3f9;
}

/* Base styles */ body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.7;
}

header {
    width: 100%;
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Navigation */ nav {
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

    nav ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        justify-content: center;
    }

    nav li {
        margin: 0 20px;
    }

    nav a {
        text-decoration: none;
        color: var(--dark);
        font-weight: 600;
        padding: 20px 0;
        display: block;
        transition: color 0.3s ease;
    }

        nav a:hover {
            color: var(--primary);
        }

/* Main content */ main {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

h2 {
    font-family: 'Merriweather', serif;
    font-size: 2em;
    color: var(--secondary);
    margin-bottom: 20px;
    text-align: center;
}

/* Audio/Video player */ .audio-player, .video-player {
    text-align: center;
    margin-bottom: 40px;
}

audio {
    width: 100%;
    max-width: 800px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

video {
    width: 100%;
    max-width: 800px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Larger main video */
.main-video {
    width: 100%;
    max-width: 1200px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Clusters */
.clusters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.cluster {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    flex: 1 1 100%;
    max-width: 100%;
}

    .cluster h3 {
        font-family: 'Merriweather', serif;
        color: var(--primary);
        margin-bottom: 15px;
        text-align: center;
    }

.subclusters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start;
}

.subcluster {
    flex: 1 1 200px;
    min-width: 190px;
    max-width: 260px;
    background: #f9f9f9;
    padding: 8px;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    text-align: left;
    box-sizing: border-box;
}

    .subcluster h4 {
        font-family: 'Merriweather', serif;
        color: var(--secondary);
        margin-bottom: 10px;
        font-size: 1.1em;
        text-align: center;
    }

/* Song/Video blocks */
.song-block, .video-block {
    background: var(--song-bg);
    padding: 5px 8px;
    border-radius: 6px;
    margin-bottom: 4px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.video-block-alt {
    background: #dce8f7;
}

.video-block:hover, .video-block-alt:hover {
    background: #c8d8ed;
    transition: background 0.15s ease;
}

.song-title, .video-title {
    font-weight: 600;
    margin-bottom: 0;
    font-size: 0.85em;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    cursor: default;
    flex: 1;
    color: var(--dark);
    line-height: 1.3;
}

/* Titles are fully visible, no tooltip needed */

.song-links, .video-links {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    align-items: center;
    flex-shrink: 0;
}

    .song-links a, .video-links a {
        text-decoration: none;
        color: var(--secondary);
        font-weight: 600;
        white-space: nowrap;
        font-size: 0.8em;
        padding: 2px 4px;
        transition: color 0.2s ease;
        display: flex;
        align-items: center;
    }

        .song-links a:hover, .video-links a:hover {
            color: var(--accent);
        }

.icon-btn {
    width: 26px;
    height: 26px;
    object-fit: contain;
    display: block;
    transition: transform 0.15s ease, opacity 0.15s ease;
    opacity: 0.82;
}

.video-links a:hover .icon-btn {
    transform: scale(1.15);
    opacity: 1;
}

/* Footer */ footer {
    background-color: var(--secondary);
    color: #fff;
    text-align: center;
    padding: 30px 20px;
    font-size: 0.95em;
    margin-top: 60px;
}

    footer a {
        color: var(--accent);
        text-decoration: none;
    }


.main-video {
    text-align: center;
    margin-bottom: 10px;
}

    .main-video iframe {
        width: 100%;
        max-width: 1200px;
        height: 675px;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    }

/* Section styling */
section {
    margin: 40px auto;
    max-width: 900px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    text-align: center;
}

    section h2 {
        font-family: 'Merriweather', serif;
        color: var(--primary);
        margin-bottom: 15px;
        text-align: center;
    }

    section p {
        font-size: 1.1em;
        margin-bottom: 15px;
        text-align: center;
    }

/* Button styling */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

    .btn:hover {
        background-color: var(--secondary);
    }

.viewed {
    color: #27ae60;
    font-weight: bold;
    margin-left: 4px;
    font-size: 0.95em;
}

.reset-btn {
    display: inline-block;
    margin: 0;
    padding: 8px 18px;
    background-color: #5cb85c;
    color: #ffffff;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
    transition: background-color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}

    .reset-btn:hover {
        background-color: #4cae4c;
        transform: translateY(-1px);
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
    }

    .reset-btn:active {
        transform: translateY(0);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    }

main {
    text-align: center;
}

.reset-row {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 10px auto;
}

.reset-note {
    font-size: 0.9rem;
    color: #555;
    font-family: 'Montserrat', sans-serif;
}

/* Privacy Policy Styles */
.privacy-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.privacy-intro {
    text-align: center;
    margin-bottom: 40px;
}

    .privacy-intro p {
        max-width: 700px;
        margin: 10px auto;
        font-size: 1.05em;
        line-height: 1.6;
    }

    .privacy-intro strong {
        color: #2c3e50;
    }

.credits-section {
    background: #f8f9fa;
    border-left: 4px solid #3498db;
    padding: 25px 30px;
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

    .credits-section h3 {
        font-family: 'Merriweather', serif;
        color: #2c3e50;
        margin-top: 0;
        margin-bottom: 15px;
        font-size: 1.4em;
    }

    .credits-section p {
        line-height: 1.7;
        margin-bottom: 12px;
        color: #34495e;
    }

        .credits-section p:last-child {
            margin-bottom: 0;
        }

    .credits-section ul {
        margin: 15px 0;
        padding-left: 0;
        list-style: none;
    }

    .credits-section li {
        line-height: 1.7;
        margin-bottom: 8px;
        color: #34495e;
        padding-left: 20px;
        position: relative;
    }

        .credits-section li:before {
            content: "✓";
            position: absolute;
            left: 0;
            color: #27ae60;
            font-weight: bold;
        }

    .credits-section a {
        color: #3498db;
        text-decoration: none;
        font-weight: 500;
    }

        .credits-section a:hover {
            text-decoration: underline;
            color: #2980b9;
        }

    .credits-section strong {
        color: #2c3e50;
    }

    .credits-section:first-of-type {
        border-left-color: #27ae60;
    }

.privacy-summary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 30px;
}

    .privacy-summary h3 {
        color: white;
    }

    .privacy-summary p {
        color: white;
        opacity: 0.95;
    }

    .privacy-summary strong {
        color: white;
        font-weight: 700;
    }

/* Responsive adjustments */
@media (max-width: 1100px) {
    .subcluster {
        flex: 1 1 180px;
        min-width: 170px;
    }
    
    .song-title, .video-title {
        font-size: 0.82em;
    }
}

@media (max-width: 900px) {
    .subclusters {
        justify-content: center;
    }
    
    .subcluster {
        flex: 1 1 180px;
        max-width: none;
    }
}

@media (max-width: 768px) {
    .credits-section {
        padding: 20px 18px;
    }

    .privacy-intro p {
        font-size: 1em;
    }

    .credits-section h3 {
        font-size: 1.2em;
    }
    
    .subclusters {
        justify-content: center;
    }
    
    .subcluster {
        flex: 1 1 180px;
        max-width: none;
    }
}