:root {
    --primary-red: #e63946;
    --dark-red: #c41e29;
    --secondary-black: #0a0a0a;
    --accent-white: #ffffff;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #1a1a1a;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background: var(--light-gray);
    color: var(--secondary-black);
    overflow-x: hidden;
}

/* Animated Background */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, var(--light-gray) 0%, #fff 100%);
}

.animated-bg::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(230,57,70,0.1) 0%, transparent 70%);
    border-radius: 50%;
    top: -200px;
    right: -200px;
    animation: float 20s ease-in-out infinite;
}

.animated-bg::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(10,10,10,0.05) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -100px;
    left: -100px;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -50px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

/* Loader */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--secondary-black) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.loader-container {
    text-align: center;
}

.loader-logo {
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary-red);
    margin-bottom: 2rem;
    animation: pulse 1.5s ease-in-out infinite;
}

.loader-bar {
    width: 200px;
    height: 3px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
}

.loader-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-red), var(--dark-red));
    width: 0%;
    transition: width 0.3s ease;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

/* Header Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.main-header.scrolled {
    background: rgba(255,255,255,0.98);
    box-shadow: 0 5px 40px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 0;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transform: rotate(-5deg);
    transition: transform 0.3s ease;
}

.logo-icon:hover {
    transform: rotate(0deg) scale(1.1);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text h1 {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--secondary-black);
    margin: 0;
    line-height: 1;
}

.logo-text span {
    font-size: 0.7rem;
    color: var(--primary-red);
    font-weight: 600;
    letter-spacing: 2px;
}

.main-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-item {
    color: var(--secondary-black);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-red);
    transition: width 0.3s ease;
}

.nav-item:hover {
    color: var(--primary-red);
}

.nav-item:hover::after {
    width: 100%;
}

.nav-item.active {
    color: var(--primary-red);
}

.nav-item.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.search-btn, .live-indicator {
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn {
    background: var(--secondary-black);
    color: white;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.live-indicator {
    background: var(--primary-red);
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: pulse-live 2s ease-in-out infinite;
}

@keyframes pulse-live {
    0%, 100% { box-shadow: 0 0 0 0 rgba(230,57,70,0.7); }
    50% { box-shadow: 0 0 0 10px rgba(230,57,70,0); }
}

.live-dot {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: blink 1s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Hero Section */
.hero-section {
    margin-top: 80px;
    padding: 4rem 0 2rem;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-content {
    padding: 2rem;
}

.hero-badge {
    display: inline-block;
    background: var(--secondary-black);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--secondary-black);
}

.hero-title .highlight {
    color: var(--primary-red);
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 15px;
    background: rgba(230,57,70,0.2);
    z-index: -1;
    transform: skewX(-10deg);
}

.hero-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(230,57,70,0.3);
}

.btn-secondary-custom {
    background: transparent;
    color: var(--secondary-black);
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-weight: 600;
    border: 2px solid var(--secondary-black);
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.hero-visual {
    position: relative;
    height: 500px;
}

.floating-player {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: white;
    border-radius: 30px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.15);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.player-header {
    text-align: center;
}

.player-album {
    width: 250px;
    height: 250px;
    margin: 0 auto 1.5rem;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    animation: rotate-album 20s linear infinite;
}

@keyframes rotate-album {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.player-info {
    text-align: center;
    margin-bottom: 1.5rem;
}

.player-track {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.player-artist {
    color: #666;
    font-size: 0.9rem;
}

.player-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.control-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background: var(--light-gray);
    color: var(--secondary-black);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.control-btn.play-pause {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: white;
    box-shadow: 0 5px 20px rgba(230,57,70,0.3);
}

.control-btn:hover {
    transform: scale(1.1);
}

.floating-card {
    position: absolute;
    background: white;
    border-radius: 15px;
    padding: 1rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    animation: float-card 4s ease-in-out infinite;
}

.floating-card-1 {
    top: 10%;
    left: -10%;
    width: 150px;
}

.floating-card-2 {
    bottom: 15%;
    right: -15%;
    width: 180px;
}

@keyframes float-card {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Content Grid */
.content-section {
    padding: 4rem 0;
}

.section-header-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.section-title-modern {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-black);
    position: relative;
}

.section-title-modern::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 50px;
    background: var(--primary-red);
    border-radius: 10px;
}

.view-all-btn {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.view-all-btn:hover {
    gap: 1rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.content-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
}

.content-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    position: relative;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.card-category {
    background: var(--primary-red);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
}

.card-content {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--secondary-black);
    line-height: 1.4;
}

.card-excerpt {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #999;
}

/* Sidebar Widgets */
.sidebar-modern {
    position: sticky;
    top: 100px;
}

.widget-modern {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
}

.widget-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light-gray);
}

.widget-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.widget-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary-black);
}

.trending-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--light-gray);
    transition: all 0.3s ease;
}

.trending-item:last-child {
    border-bottom: none;
}

.trending-item:hover {
    background: var(--light-gray);
    padding-left: 1rem;
    margin-left: -1rem;
    margin-right: -1rem;
    padding-right: 1rem;
    border-radius: 10px;
}

.trending-number {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-red);
    width: 30px;
}

.trending-content h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.trending-meta {
    font-size: 0.8rem;
    color: #999;
}

/* Footer */
.modern-footer {
    background: var(--secondary-black);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-red);
}

.footer-description {
    color: #999;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-red);
    transform: translateY(-5px);
}

.footer-section h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-red);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #999;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--secondary-black);
    cursor: pointer;
}

/* Logo Image Responsive */
.logo-image-custom {
    width: 150px;
    height: 60px;
    object-fit: contain;
    max-width: 100%;
    transition: all 0.3s ease;
}

/* Ajustements responsifs pour le logo */
@media (max-width: 992px) {
    .logo-image-custom {
        width: 120px;
        height: 50px;
    }
}

@media (max-width: 768px) {
    .logo-image-custom {
        width: 100px;
        height: 45px;
    }
    
    .logo-section {
        flex-shrink: 0; /* Empêche le logo de se compresser */
    }
}

@media (max-width: 480px) {
    .logo-image-custom {
        width: 80px;
        height: 40px;
    }
}

/* Correction du header pour éviter le débordement */
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 0;
    gap: 1rem; /* Ajoute un espace entre les éléments */
}

.header-actions {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    flex-shrink: 0; /* Empêche les boutons de se compresser */
}

/* Responsive pour très petits écrans */
@media (max-width: 380px) {
    .logo-image-custom {
        width: 70px;
        height: 35px;
    }
    
    .header-content {
        padding: 0.8rem 0;
        gap: 0.5rem;
    }
    
    .header-actions {
        gap: 0.5rem;
    }
    
    .search-btn {
        width: 35px;
        height: 35px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .search-btn i {
        margin: 0;
    }
    
    .live-indicator {
        font-size: 0.65rem;
        padding: 0.5rem 0.7rem;
    }
    
    .live-dot {
        width: 6px;
        height: 6px;
    }
}

/* Menu Mobile Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Menu Mobile Container */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100%;
    background: white;
    z-index: 9999;
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow-y: auto;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
}

.mobile-menu.active {
    right: 0;
}

/* Menu Mobile Header */
.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: white;
}

.mobile-menu-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.mobile-menu-logo-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.mobile-menu-logo-text h2 {
    font-size: 1.4rem;
    font-weight: 900;
    margin: 0;
    line-height: 1;
}

.mobile-menu-logo-text span {
    font-size: 0.6rem;
    opacity: 0.9;
    letter-spacing: 1px;
}

.mobile-menu-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Menu Mobile Content */
.mobile-menu-content {
    padding: 1.5rem;
}

.mobile-menu-nav {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.mobile-menu-nav li {
    margin-bottom: 0.5rem;
}

.mobile-menu-nav a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    color: var(--secondary-black);
    text-decoration: none;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-menu-nav a i {
    width: 24px;
    font-size: 1.1rem;
    color: var(--primary-red);
}

.mobile-menu-nav a:hover,
.mobile-menu-nav a.active {
    background: var(--light-gray);
    padding-left: 1.5rem;
}

.mobile-menu-nav a.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background: var(--primary-red);
    border-radius: 0 10px 10px 0;
}

/* Mobile Menu Actions */
.mobile-menu-actions {
    padding: 1.5rem;
    border-top: 1px solid var(--light-gray);
}

.mobile-menu-actions .btn-primary-custom {
    width: 100%;
    justify-content: center;
    margin-bottom: 1rem;
    padding: 1rem;
}

.mobile-menu-actions .live-indicator {
    width: 100%;
    justify-content: center;
    padding: 1rem;
}

/* Mobile Menu Social */
.mobile-menu-social {
    padding: 1.5rem;
    border-top: 1px solid var(--light-gray);
}

.mobile-menu-social h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--secondary-black);
    margin-bottom: 1rem;
}

.mobile-menu-social-links {
    display: flex;
    gap: 0.8rem;
}

.mobile-menu-social-links a {
    width: 45px;
    height: 45px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-black);
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-menu-social-links a:hover {
    background: var(--primary-red);
    color: white;
    transform: translateY(-3px);
}

/* Animation des éléments du menu */
.mobile-menu.active .mobile-menu-nav li {
    animation: slideInRight 0.4s ease forwards;
    opacity: 0;
}

.mobile-menu.active .mobile-menu-nav li:nth-child(1) { animation-delay: 0.1s; }
.mobile-menu.active .mobile-menu-nav li:nth-child(2) { animation-delay: 0.15s; }
.mobile-menu.active .mobile-menu-nav li:nth-child(3) { animation-delay: 0.2s; }
.mobile-menu.active .mobile-menu-nav li:nth-child(4) { animation-delay: 0.25s; }
.mobile-menu.active .mobile-menu-nav li:nth-child(5) { animation-delay: 0.3s; }

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .mobile-menu {
        width: 90%;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .main-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        height: 400px;
    }

    .floating-player {
        width: 350px;
        height: 350px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
    }

    .floating-player {
        width: 300px;
        height: 300px;
    }

    .player-album {
        width: 200px;
        height: 200px;
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .section-title-modern {
        font-size: 2rem;
    }

    .cards-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .main-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-content {
        padding: 1rem 0;
        text-align: center;
    }

    .hero-visual {
        height: 450px;
        margin-top: 2rem;
    }

    .floating-player {
        width: 90%;
        max-width: 380px;
        height: auto;
        aspect-ratio: 1;
    }

    .floating-card-1,
    .floating-card-2 {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .section-header-modern {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .player-album {
        width: 220px;
        height: 220px;
    }
}

@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .header-content {
        padding: 1rem 0;
    }

    .logo-text h1 {
        font-size: 1.4rem;
    }

    .logo-text span {
        font-size: 0.6rem;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .search-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    .live-indicator {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    .hero-section {
        padding: 2rem 0 1rem;
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 0.4rem 1rem;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary-custom,
    .btn-secondary-custom {
        width: 100%;
        justify-content: center;
        padding: 0.9rem 2rem;
    }

    .floating-player {
        width: 95%;
        max-width: 320px;
        padding: 1.5rem;
    }

    .player-album {
        width: 180px;
        height: 180px;
        font-size: 3rem;
        margin-bottom: 1rem;
    }

    .player-track {
        font-size: 1rem;
    }

    .player-artist {
        font-size: 0.85rem;
    }

    .control-btn {
        width: 40px;
        height: 40px;
    }

    .control-btn.play-pause {
        width: 55px;
        height: 55px;
    }

    .content-section {
        padding: 2rem 0;
    }

    .section-title-modern {
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
    }

    .section-title-modern::before {
        left: -10px;
        height: 40px;
        width: 4px;
    }

    .section-header-modern {
        margin-bottom: 2rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .card-title {
        font-size: 1.1rem;
    }

    .card-excerpt {
        font-size: 0.85rem;
    }

    .sidebar-modern {
        position: static;
        margin-top: 3rem;
    }

    .widget-modern {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .widget-title {
        font-size: 1.1rem;
    }

    .trending-number {
        font-size: 1.2rem;
    }

    .trending-content h4 {
        font-size: 0.9rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-logo {
        font-size: 1.6rem;
    }

    .footer-description {
        font-size: 0.9rem;
    }

    .modern-footer {
        padding: 3rem 0 1.5rem;
        margin-top: 3rem;
    }

    /* Fixed social buttons on mobile */
    div[style*="position: fixed"][style*="right: 30px"] {
        right: 15px !important;
        bottom: 15px !important;
        gap: 10px !important;
    }

    div[style*="position: fixed"] a[style*="width: 60px"] {
        width: 50px !important;
        height: 50px !important;
    }

    div[style*="position: fixed"] i[style*="font-size: 1.8rem"] {
        font-size: 1.5rem !important;
    }
}

@media (max-width: 480px) {
    .logo-section {
        gap: 0.6rem;
    }

    .logo-text h1 {
        font-size: 1.2rem;
    }

    .logo-text span {
        font-size: 0.55rem;
        letter-spacing: 1px;
    }

    .header-actions {
        gap: 0.5rem;
    }

    .search-btn {
        padding: 0.6rem;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .live-indicator {
        font-size: 0.7rem;
        padding: 0.5rem 0.8rem;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .btn-primary-custom,
    .btn-secondary-custom {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .floating-player {
        width: 100%;
        padding: 1rem;
    }

    .player-album {
        width: 150px;
        height: 150px;
        font-size: 2.5rem;
    }

    .section-title-modern {
        font-size: 1.4rem;
    }

    .card-content {
        padding: 1rem;
    }

    .widget-modern {
        padding: 1rem;
    }

    .footer-section h3 {
        font-size: 1rem;
    }

    .footer-bottom {
        font-size: 0.85rem;
    }
}

/* Styles pour les publicités */
.ad-section {
    margin: 3rem 0;
    padding: 2rem 0;
}

.ad-container {
    background: linear-gradient(135deg, var(--secondary-black), #222);
    border-radius: 20px;
    padding: 2rem;
    overflow: hidden;
    position: relative;
    color: white;
}

.ad-premium {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #333;
}

.ad-premium .ad-tag {
    background: #333;
    color: #FFD700;
}

.ad-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.ad-tag {
    background: var(--primary-red);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.ad-sponsor {
    font-size: 0.9rem;
    opacity: 0.8;
}

.ad-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.ad-text h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.ad-text p {
    opacity: 0.9;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.ad-btn {
    background: white;
    color: var(--secondary-black);
    padding: 0.8rem 2rem;
    border-radius: 30px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.ad-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255,255,255,0.2);
}

.ad-btn.ad-premium-btn {
    background: #333;
    color: #FFD700;
}

.ad-btn.ad-premium-btn:hover {
    background: #444;
}

.ad-visual {
    text-align: center;
    position: relative;
}

.ad-visual img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.ad-logo {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    transform: rotate(10deg);
}

.ad-logo img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

/* Bannière horizontale */
.ad-banner-horizontal {
    background: linear-gradient(90deg, var(--primary-red), var(--dark-red));
    border-radius: 15px;
    padding: 2rem 3rem;
    margin: 2rem 0;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.ad-banner-horizontal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255,255,255,0.1) 10px,
        rgba(255,255,255,0.1) 20px
    );
}

.banner-content {
    position: relative;
    z-index: 1;
    flex: 1;
}

.banner-content h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.banner-content p {
    opacity: 0.9;
    margin-bottom: 0;
}

.banner-btn {
    position: relative;
    z-index: 1;
    background: white;
    color: var(--primary-red);
    padding: 0.8rem 2rem;
    border-radius: 30px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-btn:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(255,255,255,0.3);
}

/* Sidebar ads */
.sidebar-ad {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid var(--medium-gray);
    text-align: center;
    transition: all 0.3s ease;
}

.sidebar-ad:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.sidebar-ad img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.sidebar-ad h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--secondary-black);
}

.sidebar-ad p {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 1rem;
}

.sidebar-ad .ad-btn-small {
    background: var(--primary-red);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    border: none;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sidebar-ad .ad-btn-small:hover {
    background: var(--dark-red);
}