/*
Theme Name: Project End of Year
Author: Enguerrand Vancottem
Version: 1.0.0
Text Domain: project-end-of-year
License: GNU General Public License v2 or later
/* ----- RESET SIMPLE ----- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top center, #1d1d1f 0%, #000000 55%, #000000 100%);
    color: #ffffff;
    min-height: 100vh;
}

/* ----- HEADER ----- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7));
    backdrop-filter: blur(10px);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 40px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 32px;
}

.main-nav a {
    text-decoration: none;
    color: #f5f5f5;
    font-size: 15px;
    transition: color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
    color: #f6b623;
}

.header-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.link-login {
    color: #f5f5f5;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.link-login:hover {
    color: #f6b623;
}

.btn {
    padding: 8px 20px;
    border-radius: 999px;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #f6b623, #e88f16);
    color: #000;
    font-weight: 600;
    box-shadow: 0 0 18px rgba(246, 182, 35, 0.55);
}

/* ----- MAIN LAYOUT ----- */
.main-content,
.front-page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}



/* ----- SECTION HEADER ----- */
.section-header {
    text-align: center;
    margin-bottom: 32px;
}

.section-header h2 {
    font-size: 32px;
    margin-bottom: 8px;
}

.section-header p {
    color: #b3b3b3;
    font-size: 15px;
}

/* ----- COMMENT ÇA MARCHE ----- */
.how-it-works {
    margin-bottom: 80px;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
}

.step {
    display: flex;
    align-items: center;
    gap: 24px;
}

.step-center {
    justify-content: center;
}

.step-icon {
    height: 48px;
    width: 48px;
    border-radius: 50%;
    background: radial-gradient(circle, #ffd85a 0%, #f6b623 60%, #c1780e 100%);
    box-shadow: 0 0 30px rgba(255, 216, 90, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.step-box {
    min-width: 320px;
    max-width: 520px;
    background: radial-gradient(circle, #3a2a0f 0%, #1b1608 40%, #141414 100%);
    border-radius: 999px;
    padding: 14px 24px;
    color: #f5f5f5;
    border: 1px solid rgba(246, 182, 35, 0.4);
    box-shadow: 0 0 24px rgba(0, 0, 0, 0.8);
    font-size: 15px;
}

/* ----- PLAYLISTS POPULAIRES ----- */
.popular-playlists {
    margin-top: 40px;
}

.playlist-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.playlist-card {
    background: rgba(20, 20, 20, 0.95);
    border-radius: 24px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.playlist-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 12px;
}


.playlist-card h3 {
    font-size: 18px;
    margin-top: 4px;
}

.playlist-meta {
    font-size: 13px;
    color: #b3b3b3;
}

.playlist-btn {
    margin-top: 12px;
    align-self: flex-start;
    padding: 8px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f6b623, #e88f16);
    color: #000;
    font-size: 13px;
    text-decoration: none;
    font-weight: 600;
}

/* ===== USER STATUS (LOGIN) ===== */
.user-status {
    max-width: 420px;
    margin: 30px auto 60px;
    padding: 20px 24px;
    border-radius: 16px;
    text-align: center;
    font-size: 14px;
    background: rgba(20, 20, 20, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.user-status p {
    margin-bottom: 10px;
    color: #eaeaea;
}

.user-status strong {
    color: #f6b623;
}

.auth-links {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 12px;
}

.login-btn,
.register-btn,
.logout-btn {
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.25s;
    display: inline-block;
}

.login-btn {
    background: transparent;
    border: 1px solid #f6b623;
    color: #f6b623;
}

.login-btn:hover {
    background: #f6b623;
    color: #000;
}

.register-btn {
    background: linear-gradient(135deg, #f6b623, #e88f16);
    color: #000;
    box-shadow: 0 0 12px rgba(246, 182, 35, 0.6);
}

.register-btn:hover {
    transform: translateY(-2px);
}

.logout-btn {
    background: #d63031;
    color: #fff;
    margin-top: 10px;
}

.logout-btn:hover {
    background: #ff5b5b;
}

/* ----- FOOTER ----- */
.site-footer {
    margin-top: 80px;
    padding: 24px;
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    color: #b3b3b3;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.footer-links {
    display: flex;
    gap: 18px;
}

.footer-links a {
    color: #b3b3b3;
    text-decoration: none;
    transition: 0.2s;
}

.footer-links a:hover {
    color: #f6b623;
}

/* ----- RESPONSIVE ----- */
@media (max-width: 900px) {
    .header-inner {
        flex-wrap: wrap;
        gap: 12px;
    }

    .main-nav {
        display: none;
        /* menu caché mobile pour l'instant */
    }

    .playlist-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .step-box {
        min-width: auto;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .playlist-grid {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 28px;
    }
}

/* ===== HERO COMPLET (logo + halo + vinyles) ===== */

.hero {
    position: relative;
    padding: 80px 0 100px;
    text-align: center;
    overflow: hidden;
    /* coupe ce qui dépasse */
}

/* contenu principal (logo + titres) */
.hero-content {
    position: relative;
    z-index: 3;
    /* au-dessus des vinyles */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* logo + halo */
.hero-logo {
    position: relative;
    display: inline-block;
    z-index: 3;
}

/* halo jaune derrière le logo */
.hero-logo::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 380px;
    height: 380px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle,
            rgba(246, 182, 35, 0.45) 0%,
            rgba(246, 182, 35, 0.25) 40%,
            rgba(0, 0, 0, 0) 80%);
    filter: blur(40px);
    z-index: 1;
    /* derrière le logo */
}

/* image du logo */
.hero-logo img {
    position: relative;
    z-index: 2;
    width: 320px;
    max-width: 90%;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 25px rgba(246, 182, 35, 0.4));
}

/* texte */
.hero-text h1 {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 10px;
}

.hero-text p {
    font-size: 16px;
    color: #b3b3b3;
}

/* vinyles de fond */
.hero-vinyl {
    position: absolute;
    top: 50%;
    /* au milieu verticalement */
    transform: translateY(-50%);
    /* recentre */
    width: 420px;
    height: 420px;
    opacity: 0.35;
    filter: blur(1px);
    z-index: 1;
    /* derrière le logo, devant le fond */
}

/* image à l'intérieur du conteneur vinyle */
.hero-vinyl img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* vinyle gauche */
.hero-vinyl-left {
    left: -140px;
}

/* vinyle droit (miroir) */
.hero-vinyl-right {
    right: -140px;
    transform: translateY(-50%) scaleX(-1);
}