/**
 * KORYA - Style principal
 * Plateforme musicale congolaise
 * Développé par Cortexal Technology
 * Couleurs: Bleu (#0066cc), Noir (#0a0a0a), Blanc (#ffffff)
 */

/* ============================================
   RESET ET BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

a:hover {
    color: #0066cc;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   TYPOGRAPHIE
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #0066cc;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
    color: #b0b0b0;
}

/* ============================================
   BOUTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: #0066cc;
    color: #ffffff;
}

.btn-primary:hover {
    background: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
    color: #ffffff;
}

.btn-outline-light {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
}

.btn-outline-light:hover {
    background: #ffffff;
    color: #0a0a0a;
    transform: translateY(-2px);
}

.btn-cta {
    background: linear-gradient(135deg, #0066cc, #00aaff);
    color: #ffffff;
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.4);
    color: #ffffff;
}

.btn-buy-small {
    background: #0066cc;
    color: #ffffff;
    border: none;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-buy-small:hover {
    background: #0052a3;
    transform: scale(1.05);
}

/* ============================================
   HEADER
   ============================================ */
.main-header {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo img {
    height: 40px;
    width: auto;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-weight: 500;
    position: relative;
}

.main-nav a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0066cc;
    transition: width 0.3s ease;
}

.main-nav a:hover:after,
.main-nav a.active:after {
    width: 100%;
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-login {
    color: #ffffff;
    font-weight: 500;
}

.btn-login:hover {
    color: #0066cc;
}

.btn-register {
    background: #0066cc;
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 500;
}

.btn-register:hover {
    background: #0052a3;
    color: #ffffff;
}

.user-menu {
    position: relative;
    cursor: pointer;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #0066cc;
}

.user-dropdown {
    position: absolute;
    top: 50px;
    right: 0;
    background: #1a1a1a;
    border-radius: 10px;
    padding: 10px 0;
    min-width: 200px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.user-menu:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown a {
    display: block;
    padding: 10px 20px;
    color: #ffffff;
}

.user-dropdown a:hover {
    background: #0066cc;
}

/* ============================================
   SECTION HÉROS (ACCUEIL)
   ============================================ */
.hero-section {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    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;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-section p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
    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 20px;
    border: none;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.search-form-large input:focus {
    outline: none;
    border-color: #0066cc;
    background: rgba(255, 255, 255, 0.15);
}

.search-form-large button {
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    background: #0066cc;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-form-large button:hover {
    background: #0052a3;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease 0.6s both;
}

/* ============================================
   SECTIONS MUSIQUE
   ============================================ */
.popular-section,
.new-releases,
.trending-artists {
    padding: 80px 0;
}

.popular-section {
    background: #0f0f0f;
}

.new-releases {
    background: #0a0a0a;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-header h2 {
    margin-bottom: 0;
}

.view-all {
    color: #0066cc;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.view-all:hover {
    transform: translateX(5px);
}

.music-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
}

.music-card {
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.music-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.2);
}

.music-card-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.music-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.music-card:hover .music-card-image img {
    transform: scale(1.1);
}

.play-preview {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #0066cc;
    border: none;
    color: #ffffff;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.music-card:hover .play-preview {
    opacity: 1;
    transform: translateY(0);
}

.play-preview:hover {
    background: #0052a3;
    transform: scale(1.1);
}

.new-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #0066cc;
    color: #ffffff;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
}

.music-card-info {
    padding: 15px;
}

.music-card-info h3 {
    font-size: 1rem;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.music-card-info h3 a:hover {
    color: #0066cc;
}

.artist-name {
    font-size: 0.9rem;
    color: #b0b0b0;
    margin-bottom: 10px;
}

.artist-name a:hover {
    color: #0066cc;
}

.music-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-weight: 700;
    color: #0066cc;
}

/* ============================================
   ARTISTES
   ============================================ */
.artist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
}

.artist-card {
    text-align: center;
    background: #1a1a1a;
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.3s ease;
}

.artist-card:hover {
    transform: translateY(-10px);
}

.artist-image {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
}

.artist-image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #0066cc;
}

.verified-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 25px;
    height: 25px;
    background: #0066cc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border: 2px solid #ffffff;
}

.artist-card h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.artist-card p {
    font-size: 0.9rem;
    color: #b0b0b0;
}

/* ============================================
   GENRES
   ============================================ */
.genres-section {
    padding: 60px 0;
    background: #0f0f0f;
}

.genre-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.genre-item {
    aspect-ratio: 1;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.genre-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.genre-item span {
    position: relative;
    z-index: 2;
}

.genre-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0066cc, #00aaff);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    color: #ffffff;
}

.cta-content h2:after {
    background: #ffffff;
    left: 50%;
    transform: translateX(-50%);
}

.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: 10px;
}

.feature span:first-child {
    font-size: 2.5rem;
}

.feature span:last-child {
    color: #ffffff;
    font-weight: 600;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: #0a0a0a;
    color: #ffffff;
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    max-width: 120px;
    margin-bottom: 0px;
}

.footer-logo p {
    color: #999;
    font-size: 14px;
    line-height: 1.6;
}

.footer-links h4,
.footer-legal h4,
.footer-payments h4 {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4:after,
.footer-legal h4:after,
.footer-payments h4:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: #0066cc;
}

.footer-links ul,
.footer-legal ul {
    list-style: none;
    padding: 0;
}

.footer-links li,
.footer-legal li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-legal a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-legal a:hover {
    color: #0066cc;
}

.payment-icons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.payment-icons img {
    height: 30px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.payment-icons img:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #666;
    font-size: 14px;
}

.footer-bottom strong {
    color: #0066cc;
}

/* ============================================
   PAGE MUSIQUE (DÉTAIL)
   ============================================ */
.music-page {
    padding: 60px 0;
}

.music-player-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    background: #1a1a1a;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 40px;
}

.music-cover img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.music-info h1 {
    margin-bottom: 5px;
}

.music-info h2 {
    font-size: 1.2rem;
    color: #b0b0b0;
    margin-bottom: 20px;
}

.music-info h2:after {
    display: none;
}

.audio-player {
    margin-bottom: 30px;
}

#preview-player {
    width: 100%;
}

.purchase-box {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: #0066cc;
}

.btn-buy {
    background: #0066cc;
    color: #ffffff;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-buy:hover {
    background: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

.social-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.btn-like,
.btn-favorite,
.btn-share {
    background: #2a2a2a;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-like:hover,
.btn-favorite:hover,
.btn-share:hover {
    background: #0066cc;
}

.rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stars {
    color: #ffc107;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.lyrics-section {
    background: #1a1a1a;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 40px;
}

.lyrics-content {
    color: #b0b0b0;
    line-height: 1.8;
    white-space: pre-line;
}

/* ============================================
   PAGE ARTISTE
   ============================================ */
.artist-page {
    position: relative;
}

.artist-cover {
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.artist-cover .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, #0a0a0a);
}

.artist-profile {
    display: flex;
    gap: 30px;
    align-items: flex-end;
    margin-top: -100px;
    position: relative;
    z-index: 2;
}

.artist-photo {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 5px solid #0a0a0a;
    overflow: hidden;
}

.artist-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.artist-header-info {
    flex: 1;
}

.artist-header-info h1 {
    margin-bottom: 5px;
}

.artist-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0066cc;
}

.stat-label {
    color: #b0b0b0;
}

.artist-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #0066cc;
    transform: translateY(-3px);
}

.artist-bio {
    background: #1a1a1a;
    border-radius: 10px;
    padding: 30px;
    margin: 40px 0;
}

.artist-tabs {
    display: flex;
    gap: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
}

.tab-btn {
    background: none;
    border: none;
    color: #b0b0b0;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
}

.tab-btn:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0066cc;
    transition: width 0.3s ease;
}

.tab-btn:hover,
.tab-btn.active {
    color: #ffffff;
}

.tab-btn.active:after {
    width: 100%;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* ============================================
   PAGES D'AUTHENTIFICATION
   ============================================ */
.auth-page {
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
    background: #1a1a1a;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.auth-left {
    background: linear-gradient(135deg, #0066cc, #00aaff);
    padding: 60px;
    display: flex;
    align-items: center;
}

.auth-content {
    color: #ffffff;
}

.auth-logo {
    max-width: 150px;
    margin-bottom: 30px;
}

.auth-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.auth-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.auth-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature span:first-child {
    font-size: 2rem;
}

.auth-right {
    padding: 60px;
    display: flex;
    align-items: center;
}

.auth-form-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.auth-form-container h2 {
    margin-bottom: 30px;
}

.auth-form-container h2:after {
    left: 0;
    transform: none;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #b0b0b0;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: #2a2a2a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0066cc;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #b0b0b0;
    cursor: pointer;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.remember {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #b0b0b0;
}

.forgot-link {
    color: #0066cc;
}

.btn-auth {
    width: 100%;
    padding: 15px;
    background: #0066cc;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-auth:hover {
    background: #0052a3;
    transform: translateY(-2px);
}

.auth-separator {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.auth-separator:before,
.auth-separator:after {
    content: '';
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.auth-separator:before {
    left: 0;
}

.auth-separator:after {
    right: 0;
}

.auth-separator span {
    background: #1a1a1a;
    padding: 0 10px;
    color: #b0b0b0;
    font-size: 0.9rem;
}

.auth-redirect {
    text-align: center;
    margin-top: 20px;
    color: #b0b0b0;
}

.auth-redirect a {
    color: #0066cc;
    font-weight: 600;
}

/* ============================================
   ALERTES ET NOTIFICATIONS
   ============================================ */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert-success {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid #28a745;
    color: #28a745;
}

.alert-error {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid #dc3545;
    color: #dc3545;
}

.alert-warning {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid #ffc107;
    color: #ffc107;
}

.alert-info {
    background: rgba(0, 123, 255, 0.1);
    border: 1px solid #007bff;
    color: #007bff;
}

/* ============================================
   MINI LECTEUR FLOTTANT
   ============================================ */
.floating-player {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 400px;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 10px 20px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.floating-player.hidden {
    transform: translateX(450px);
}

.player-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.player-content img {
    width: 40px;
    height: 40px;
    border-radius: 5px;
    object-fit: cover;
}

.player-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

#player-title {
    font-size: 14px;
    font-weight: bold;
    color: #ffffff;
}

#player-artist {
    font-size: 12px;
    color: #b0b0b0;
}

#global-player {
    width: 120px;
    height: 40px;
}

.close-player {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    padding: 0 5px;
}

.close-player:hover {
    color: #0066cc;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-content {
        height: auto;
        padding: 15px 0;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-search .search-form-large {
        flex-direction: column;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .music-grid,
    .artist-grid,
    .genre-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-features {
        grid-template-columns: 1fr;
    }
    
    .music-player-card {
        grid-template-columns: 1fr;
    }
    
    .artist-profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .artist-stats {
        justify-content: center;
    }
    
    .auth-container {
        grid-template-columns: 1fr;
    }
    
    .auth-left {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .floating-player {
        width: calc(100% - 40px);
        bottom: 10px;
        right: 20px;
    }
    
    .player-content {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .music-grid,
    .artist-grid,
    .genre-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   UTILITAIRES
   ============================================ */
.text-center {
    text-align: center;
}

.text-primary {
    color: #0066cc;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.hidden {
    display: none !important;
}

.no-results {
    text-align: center;
    padding: 60px;
    color: #b0b0b0;
    font-size: 1.2rem;
}