/* ============================================
   RESET ET VARIABLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0066cc;
    --primary-dark: #004999;
    --primary-light: #4da3ff;
    --secondary: #00aaff;
    --bg-dark: #0a0a0a;
    --bg-darker: #000000;
    --bg-card: #111111;
    --bg-card-hover: #1a1a1a;
    --text-light: #ffffff;
    --text-gray: #a0a0a0;
    --text-dark: #666666;
    --border-color: #222222;
    --success: #00cc66;
    --danger: #ff4444;
    --warning: #ffaa00;
    --gradient-1: linear-gradient(135deg, #0066cc, #00aaff);
    --gradient-2: linear-gradient(135deg, #00aaff, #0066cc);
    --shadow: 0 10px 30px rgba(0, 102, 204, 0.2);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ============================================
   HEADER STYLES COMPLETS
   ============================================ */
.site-header {
    background: var(--bg-darker);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
    animation: slideDown 0.8s ease-out;
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* ============================================
   LOGO - VERSION STANDARD ET SMALL
   ============================================ */
.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    position: relative;
}

/* Cercle du logo - version standard */
.logo-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0066cc, #00aaff);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 102, 204, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

/* Cercle du logo - version small (pour mobile et menu) */
.logo-circle.small {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0066cc, #00aaff);
    overflow: hidden;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

/* Image dans le cercle - commun aux deux versions */
.logo-circle img,
.logo-circle.small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 50%;
}

.logo-wrapper:hover .logo-circle {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 0 30px rgba(0, 102, 204, 0.8);
}

.logo-wrapper:hover .logo-circle.small {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 102, 204, 0.8);
}

/* Nom du site */
.site-name {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff, #0066cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.site-name.white {
    -webkit-text-fill-color: #ffffff;
    background: none;
    color: #ffffff;
}

/* Version texte du logo (alternatif) */
.logo-text {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
}

.logo-text.white {
    -webkit-text-fill-color: #ffffff;
    background: none;
    color: #ffffff;
}

.logo-kor {
    background: linear-gradient(135deg, #ffffff, #cccccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: slideKor 0.8s ease-out forwards;
    transform-origin: left;
}

.logo-oo {
    background: linear-gradient(135deg, #0066cc, #00aaff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: slideOo 0.8s ease-out 0.3s forwards;
    opacity: 0;
    position: relative;
}

@keyframes slideKor {
    0% { transform: translateX(-100%) skewX(-15deg); opacity: 0; }
    70% { transform: translateX(5%) skewX(5deg); }
    100% { transform: translateX(0) skewX(0); opacity: 1; }
}

@keyframes slideOo {
    0% { transform: translateX(100%) skewX(15deg); opacity: 0; }
    70% { transform: translateX(-5%) skewX(-5deg); }
    100% { transform: translateX(0) skewX(0); opacity: 1; }
}

.logo-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, #0066cc, #00aaff);
    border-radius: 3px;
    animation: underlineExpand 1s ease-out 0.8s forwards;
}

@keyframes underlineExpand {
    from { width: 0; }
    to { width: 100%; }
}

/* ============================================
   BURGER MENU
   ============================================ */
.burger-menu {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 24px;
    cursor: pointer;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.burger-menu:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

/* ============================================
   BARRE DE RECHERCHE
   ============================================ */
.header-search {
    flex: 1;
    max-width: 500px;
    margin: 0 20px;
}

.search-form {
    position: relative;
    width: 100%;
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray);
    font-size: 16px;
}

.search-input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    color: var(--text-light);
    font-size: 14px;
    transition: all 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--bg-darker);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

/* ============================================
   HEADER ACTIONS
   ============================================ */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn {
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.5);
}

.btn-outline-light {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* ============================================
   USER DROPDOWN
   ============================================ */
.user-dropdown-container {
    position: relative;
}

.user-btn {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px 5px 5px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--text-light);
}

.user-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.user-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
    transition: border-color 0.3s;
}

.user-btn:hover .user-avatar {
    border-color: var(--primary-light);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    color: white;
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
}

.user-name {
    font-size: 14px;
    font-weight: 500;
}

.dropdown-menu {
    position: absolute;
    top: 50px;
    right: 0;
    width: 280px;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.user-dropdown-container:hover .dropdown-menu,
.dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
}

.dropdown-user-info {
    display: flex;
    flex-direction: column;
}

.dropdown-user-info strong {
    color: var(--text-light);
    font-size: 16px;
}

.dropdown-user-info span {
    color: var(--text-gray);
    font-size: 13px;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.dropdown-menu a.active {
    background: var(--primary);
    color: white;
}

.dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 5px 0;
}

.logout-link {
    color: var(--danger) !important;
}

.icon-btn {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 20px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s;
}

.icon-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--primary);
    color: white;
    font-size: 10px;
    font-weight: 600;
    min-width: 18px;
    height: 18px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid var(--bg-darker);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-darker);
    z-index: 1002;
    overflow-y: auto;
    transition: left 0.3s;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.8);
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.close-menu {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-menu:hover {
    background: rgba(255, 255, 255, 0.1);
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   BOTTOM NAVIGATION
   ============================================ */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding: 10px 0;
    z-index: 999;
}

.bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 12px;
    gap: 5px;
    transition: color 0.3s;
}

.bottom-nav-item i {
    font-size: 20px;
}

.bottom-nav-item.active {
    color: var(--primary);
}

/* ============================================
   SECTION HÉROS
   ============================================ */
.hero-section {
    background: linear-gradient(135deg, var(--bg-darker), var(--bg-card));
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0,102,204,0.1) 0%, transparent 50%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-section p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
    color: var(--text-gray);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-search {
    max-width: 600px;
    margin: 0 auto 40px;
    animation: fadeInUp 1s ease 0.4s both;
}

.search-form-large {
    display: flex;
    gap: 10px;
}

.search-form-large input {
    flex: 1;
    padding: 15px 25px;
    border: none;
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 1rem;
    border: 1px solid var(--border-color);
}

.search-form-large input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
}

.search-form-large button {
    padding: 15px 30px;
    border: none;
    border-radius: 40px;
    background: var(--gradient-1);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.search-form-large button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 102, 204, 0.4);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease 0.6s both;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   CARROUSELS
   ============================================ */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2rem;
    position: relative;
    padding-bottom: 10px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-1);
    border-radius: 2px;
}

.view-all {
    color: var(--primary);
    font-weight: 600;
    transition: all 0.3s;
    padding: 8px 16px;
    border-radius: 30px;
    background: rgba(0, 102, 204, 0.1);
}

.view-all:hover {
    background: rgba(0, 102, 204, 0.2);
    transform: translateX(5px);
}

.carousel-container {
    position: relative;
    margin: 40px 0;
    padding: 0 60px;
}

.carousel-wrapper {
    overflow: hidden;
    border-radius: 15px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 25px;
}

.carousel-slide {
    flex: 0 0 calc(20% - 20px);
    min-width: 200px;
}

/* Boutons de défilement */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0066cc, #004999);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.carousel-btn:hover {
    background: linear-gradient(135deg, #004999, #003366);
    transform: translateY(-50%) scale(1.1);
    border-color: white;
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.5);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

/* Points de navigation */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.carousel-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-gray);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dots .dot.active {
    background: var(--primary);
    transform: scale(1.2);
    box-shadow: 0 0 10px var(--primary);
}

/* Cartes musique */
.music-card {
    background: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s;
    height: 100%;
    border: 1px solid var(--border-color);
}

.music-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    background: var(--bg-card-hover);
}

.music-card-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    display: flex;
    align-items: center;
    justify-content: center;
}

.music-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s;
    display: block;
}

/* Style pour les images par défaut */
.music-card-image img[src*="default-album.jpg"] {
    object-fit: contain;
    padding: 20px;
    opacity: 0.7;
}

.music-card:hover .music-card-image img {
    transform: scale(1.1);
}

.music-card:hover .music-card-image img[src*="default-album.jpg"] {
    transform: scale(1.05);
}

.play-preview {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--gradient-1);
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 5;
}

.music-card:hover .play-preview {
    opacity: 1;
    transform: translateY(0);
}

.play-preview:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, #004999, #0066cc);
}

.new-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gradient-1);
    color: white;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(0, 102, 204, 0.3);
}

.music-card-info {
    padding: 20px;
}

.music-card-info h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.music-card-info h3 a {
    color: white;
    text-decoration: none;
}

.music-card-info h3 a:hover {
    color: var(--primary);
}

.artist-name {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.artist-name a {
    color: var(--text-gray);
    text-decoration: none;
}

.artist-name a:hover {
    color: var(--primary);
}

.music-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.2rem;
}

.btn-buy-small {
    background: var(--gradient-1);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-buy-small:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

/* ============================================
   ARTISTES À LA UNE
   ============================================ */
.trending-artists {
    padding: 80px 0;
    background: var(--bg-card);
}

.artists-carousel .carousel-container {
    padding: 0 60px;
}

.artist-card {
    text-align: center;
    background: var(--bg-darker);
    border-radius: 20px;
    padding: 30px 20px;
    transition: all 0.3s;
    height: 100%;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.artist-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    background: linear-gradient(135deg, var(--bg-darker), #0a1a2a);
}

.artist-card a {
    text-decoration: none;
    color: inherit;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Image d'artiste circulaire */
.artist-image {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    padding: 4px;
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.3);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.artist-card:hover .artist-image {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 102, 204, 0.5);
}

.artist-image::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-1);
    border-radius: 50%;
    z-index: -1;
    animation: rotate 10s linear infinite;
}

.artist-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    display: block;
}

/* Style pour l'image par défaut des artistes */
.artist-image img[src*="default-artist.jpg"] {
    object-fit: contain;
    padding: 30px;
    opacity: 0.7;
}

.verified-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    border: 2px solid var(--bg-darker);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.artist-card h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: white;
}

.artist-card p {
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 600;
    background: rgba(0, 102, 204, 0.1);
    padding: 5px 15px;
    border-radius: 30px;
    display: inline-block;
}

/* ============================================
   GENRES
   ============================================ */
.genres-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-darker), #0a0f1a);
    position: relative;
    overflow: hidden;
}

.genres-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><circle cx="30" cy="30" r="1" fill="%230066cc" opacity="0.1"/></svg>');
    opacity: 0.3;
}

.genre-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

.genre-item {
    aspect-ratio: 1;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 600;
    font-size: 1.3rem;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: white;
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.genre-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,102,204,0.3));
    z-index: 1;
    transition: all 0.3s;
}

.genre-item:hover::before {
    background: linear-gradient(135deg, rgba(0,102,204,0.8), rgba(0,0,0,0.8));
}

.genre-item span {
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    transform: scale(1);
    transition: transform 0.3s;
}

.genre-item:hover span {
    transform: scale(1.1);
}

.genre-item::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.genre-item:hover::after {
    opacity: 1;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary));
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.cta-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.feature {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature span:first-child {
    font-size: 3rem;
}

.feature span:last-child {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

.btn-cta {
    background: white;
    color: var(--primary);
    padding: 15px 50px;
    font-size: 1.2rem;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* ============================================
   FOOTER STYLES COMPLETS AVEC CORRECTIONS
   ============================================ */
.site-footer {
    background: var(--bg-darker);
    padding: 80px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

/* Logo footer - CORRECTION IMPORTANTE */
.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


.footer-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0066cc, #00aaff);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 102, 204, 0.3);
    flex-shrink: 0;
}

/* CORRECTION: Centrage parfait de l'image dans le cercle */
.footer-logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 50%;
}

.footer-logo-text {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, #0066cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.8;
    max-width: 300px;
}

/* Sections footer */
.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-section h4 {
    color: white;
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-1);
    border-radius: 2px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: var(--text-gray);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-section ul li a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-section ul li a i {
    font-size: 14px;
    color: var(--primary);
}

/* Paiements */
.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.payment-item {
    width: 80px;
    height: 50px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.payment-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 5px 20px rgba(0, 102, 204, 0.2);
}

.payment-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: none;
    opacity: 1;
    transition: all 0.3s;
}

.payment-item:hover img {
    transform: scale(1.1);
}

/* Social icons */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.social-link:hover {
    background: var(--gradient-1);
    transform: translateY(-5px) rotate(360deg);
}

.social-link i {
    font-size: 20px;
}

/* Footer bottom */
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-gray);
    font-size: 14px;
}

.footer-bottom strong {
    color: var(--primary);
}

.cortexal-link {
    color: white !important;
    text-decoration: none !important;
    font-weight: bold !important;
}

.cortexal-link:hover {
    color: #0066cc !important;
    text-decoration: underline !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
    .carousel-slide {
        flex: 0 0 calc(25% - 19px);
    }
    
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .carousel-slide {
        flex: 0 0 calc(33.333% - 17px);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .burger-menu {
        display: flex;
    }
    
    .header-search {
        display: none;
    }
    
    .user-name {
        display: none;
    }
    
    .bottom-nav {
        display: flex;
    }
    
    body {
        padding-bottom: 70px;
    }
    
    .header-container {
        padding: 8px 15px;
    }
    
    .logo-circle {
        width: 40px;
        height: 40px;
    }
    
    .logo-circle.small {
        width: 35px;
        height: 35px;
    }
    
    .site-name {
        font-size: 20px;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .carousel-slide {
        flex: 0 0 calc(50% - 13px);
    }
    
    .carousel-container {
        padding: 0 40px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .artist-image {
        width: 120px;
        height: 120px;
    }
    
    .cta-features {
        grid-template-columns: 1fr;
    }
    
    /* Footer responsive */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-logo {
        align-items: center;
        text-align: center;
    }
    
    .footer-logo-wrapper {
        justify-content: center;
    }
    
    .footer-logo p {
        text-align: center;
        max-width: 100%;
    }
    
    .footer-logo-circle {
        width: 55px;
        height: 55px;
    }
    
    .footer-logo-text {
        font-size: 26px;
    }
    
    .footer-section {
        align-items: center;
        text-align: center;
    }
    
    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .payment-methods {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 5px 10px;
    }
    
    .logo-circle {
        width: 35px;
        height: 35px;
    }
    
    .logo-circle.small {
        width: 30px;
        height: 30px;
    }
    
    .site-name {
        font-size: 18px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .carousel-slide {
        flex: 0 0 100%;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .carousel-container {
        padding: 0 35px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    /* Footer responsive small */
    .footer-logo-circle {
        width: 50px;
        height: 50px;
    }
    
    .footer-logo-text {
        font-size: 24px;
    }
}

/* ============================================
   LECTEUR FLOTTANT
   ============================================ */
.floating-player {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 400px;
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 60px;
    padding: 12px 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s;
}

.floating-player.hidden {
    transform: translateX(450px);
}

.player-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.player-content img {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    object-fit: cover;
    object-position: center;
    background: var(--bg-darker);
}

.player-info {
    flex: 1;
}

#player-title {
    font-size: 14px;
    font-weight: bold;
    color: white;
    display: block;
}

#player-artist {
    font-size: 12px;
    color: var(--text-gray);
}

#global-player {
    width: 120px;
    height: 40px;
}

.close-player {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-player:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ============================================
   ANIMATIONS ET UTILITAIRES
   ============================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

.music-card {
    animation: fadeIn 0.8s ease;
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary);
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.hidden {
    display: none !important;
}