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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px 20px 120px 20px;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header avec logo */
.header {
    margin-bottom: 32px;
    margin-top: 32px;
}

.logo-container {
    margin-top: 20px;
}

.logo-box {
    position: relative;
    min-height: 200px;
    min-width: 400px;
}

.logo-cover {
    background: rgba(255, 255, 255, 0.95);
    transform: skewY(-2deg);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    z-index: -1;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.logo-text {
    padding: 40px;
    position: relative;
    z-index: 1;
    text-align: center;
    align-items: center;
}

.logo-svg {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin: 15px auto 15px auto;
    transform: skewY(-2deg);
    display: block;
}

.tagline {
    font-size: 1.3rem;
    color: #2a1f36;
    font-weight: 500;
    letter-spacing: 2px;
    transform: skewY(-2deg);
    margin-top: 32px;
}

/* Contenu principal */
.main-content {
    margin-bottom: 30px;
    position: relative;
}

.content-box {
    position: relative;
    min-height: 200px;
}

.content-cover {
    background: rgba(255, 255, 255, 0.95);
    transform: skewY(-2deg);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    z-index: -1;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.content-text {
    padding: 32px 64px 64px 64px;
    position: relative;
    z-index: 1;
}

.contact-section {
    margin-top: 0;
}

.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-text {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.contact-item strong {
    display: block;
    margin-bottom: 10px;
    color: #333;
    font-size: 1.1rem;
}

.contact-item a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-item a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    margin-bottom: 16px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    width: 260px;
    justify-content: center;

    text-decoration: none;
    font-weight: 600;
    font-size: 16px;

    border-radius: 50px;
    color: white;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-link i {
    font-size: 18px;
}

/* Bouton Mail */
.social-link.mail {
    background: #333;
}

/* Bouton Instagram */
.social-link.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

/* Hover */
.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.section-title {
    font-size: 2rem;
    margin-bottom: 42px;
    color: #333;
    text-align: center;
    transform: skewY(-2deg);
}

/* Grille des mixes */
.mixes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.loading {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 1.1rem;
    grid-column: 1 / -1;
}

/* Carte de mix */
.mix-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.mix-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.mix-artwork {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    background: #f0f0f0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mix-artwork-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mix-artwork-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    font-weight: bold;
}

.mix-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
}

.mix-card:hover .mix-overlay {
    opacity: 1;
}

.play-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #667eea;
    border: none;
    cursor: pointer;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.1s;
}

.play-btn:hover {
    background: #764ba2;
    transform: scale(1.1);
}

.play-btn:active {
    transform: scale(0.95);
}

.play-btn svg {
    width: 30px;
    height: 30px;
}

.mix-info {
    padding: 15px;
}

.mix-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mix-description {
    font-size: 0.9rem;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

.mix-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 8px;
}

.mix-tag {
    display: inline-block;
    padding: 4px 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Lecteur audio global en bas de page */
.global-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(50, 50, 50, 0.98);
    border-top: 1px solid #667eea;
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.player-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.player-info {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 300px;
}

.player-play-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #667eea;
    border: none;
    cursor: pointer;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s, transform 0.1s;
}

.player-play-btn:hover {
    background: #764ba2;
    transform: scale(1.05);
}

.player-play-btn:active {
    transform: scale(0.95);
}

.player-play-btn svg {
    width: 24px;
    height: 24px;
}

.player-title-section {
    flex: 1;
    min-width: 0;
}

.player-title {
    display: block;
    color: white;
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-controls {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.player-time {
    color: #999;
    font-size: 0.85rem;
    min-width: 40px;
    text-align: center;
}

.player-seek-bar {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.2);
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.player-seek-bar::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #667eea;
    cursor: pointer;
    transition: background 0.2s;
}

.player-seek-bar::-webkit-slider-thumb:hover {
    background: #764ba2;
}

.player-seek-bar::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #667eea;
    cursor: pointer;
    border: none;
    transition: background 0.2s;
}

.player-seek-bar::-moz-range-thumb:hover {
    background: #764ba2;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding: 20px 20px 140px 20px;
    }

    .logo-svg {
        max-width: 300px;
    }

    .mixes-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    .main-content {
        margin-bottom: 20px;
    }
    
    .content-text {
        padding: 20px;
    }

    .contact-info {
        gap: 15px;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
    }

    .player-content {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    .player-info {
        width: 100%;
        min-width: auto;
    }

    .player-controls {
        width: 100%;
    }

    .player-title {
        font-size: 0.9rem;
    }

    .player-seek-bar {
        height: 4px;
    }

    .player-seek-bar::-webkit-slider-thumb {
        width: 12px;
        height: 12px;
    }

    .player-seek-bar::-moz-range-thumb {
        width: 12px;
        height: 12px;
    }
}
