/* Base Styles */
:root {
    --primary: #FFD700;
    --secondary: #000000;
    --accent: #E83A30;
    --dark: #121212;
    --light: #f8f9fa;
}

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

section {
    padding: 64px 0 !important;
}

/* Text Gradient */
.text-gradient {
    background: linear-gradient(45deg, var(--primary), #f9d423);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

/* Button Gradient */
.btn-gradient {
    background: linear-gradient(45deg, var(--primary), #f9d423);
    border: none;
    color: var(--secondary);
    font-weight: 600;
    transition: all 0.3s;
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
    color: var(--secondary);
}

.bg-gradient-reverse {
    background: linear-gradient(135deg, var(--secondary), #2c3e50);
}

/* Navigation */
.navbar {
    background-color: transparent;
    transition: all 0.3s;
}

.navbar.scrolled {
    background-color: var(--dark);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    padding-top: 10px;
    padding-bottom: 10px;
}

.nav-link {
    position: relative;
    margin: 0 10px;
}

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

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

/* Hero Section */
.hero { position: relative; height: 100vh; overflow: hidden; padding: 0 !important; }

.hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: url('images/afrotrap-bg.jpg');
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  filter: blur(15px);
  opacity: 0.5;
  transform: scale(1.1); /* Prevents blur from causing white edges */
  z-index: 0;
}

.hero-poster {
  max-height: 90vh;
  max-width: 95%;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.8);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.75));
  z-index: 1;
}

.hero-content { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; justify-content: center; }

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0) translateX(-50%);}
    40% {transform: translateY(-20px) translateX(-50%);}
    60% {transform: translateY(-10px) translateX(-50%);}
}

/* Artist Cards */
.artist-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    background: white;
}

.artist-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.artist-card img {
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s;
}

.artist-card:hover img {
    transform: scale(1.1);
}

.rank-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: var(--secondary);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
    z-index: 2;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s;
}

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

.btn-play {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.5rem;
    transition: all 0.3s;
}

.btn-play:hover {
    transform: scale(1.1);
    animation: pulse 1s infinite;
}

/* Editions */
.edition-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.edition-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.edition-img {
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s;
}

.edition-card:hover .edition-img {
    transform: scale(1.05);
}

.edition-year {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
}

/* Partners Slider */
.partners-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.partner-logo {
    width: 150px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s;
}

.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Countdown */
.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.countdown-item {
    text-align: center;
    min-width: 100px;
}

.countdown-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.countdown-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .countdown {
        flex-wrap: wrap;
    }
    
    .countdown-item {
        min-width: 80px;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
}


/* Hero Section Premium */


.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(255,215,0,0.2) 100%);
    z-index: -1;
}

.hero-title {
    font-size: 4.5rem;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.text-gradient-animated {
    background: linear-gradient(45deg, #f9d423, #ff4e50, #f9d423);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-stats {
    margin: 2rem 0;
}

.stat-item {
    display: inline-block;
    padding: 0 1.5rem;
    position: relative;
}

.stat-item:not(:last-child):after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 40px;
    width: 1px;
    background: rgba(255,255,255,0.3);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Urban', sans-serif;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
}

/* Boutons spéciaux */
.btn-pulse {
    background: linear-gradient(45deg, var(--primary), #f9d423);
    border: none;
    color: #000;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s;
}

.btn-pulse:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #f9d423, var(--primary));
    z-index: -1;
    opacity: 0;
    transition: all 0.3s;
}

.btn-pulse:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.4);
}

.btn-pulse:hover:before {
    opacity: 1;
    animation: pulse 1.5s infinite;
}

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

.btn-holographic {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.btn-holographic:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255,255,255,0) 45%,
        rgba(255,255,255,0.1) 50%,
        rgba(255,255,255,0) 55%
    );
    transform: rotate(30deg);
    transition: all 0.3s;
}

.btn-holographic:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-3px);
}

.btn-holographic:hover:before {
    animation: holographic 3s infinite linear;
}

@keyframes holographic {
    0% { left: -100%; top: -100%; }
    100% { left: 100%; top: 100%; }
}

/* News Ticker */
.news-ticker {
    background: rgba(0,0,0,0.5);
    border-top: 1px solid var(--primary);
    border-bottom: 1px solid var(--primary);
    padding: 0.5rem 0;
    margin-top: 3rem;
    overflow: hidden;
    width: 100%;
}

.ticker-content {
    display: inline-block;
    white-space: nowrap;
    animation: ticker 30s linear infinite;
}

.ticker-news {
    margin-right: 2rem;
    display: inline-block;
    font-size: 0.9rem;
    color: var(--primary);
}

@keyframes ticker {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Compte à rebours amélioré */
.countdown-wrapper {
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 15px;
    display: inline-block;
}

.countdown-title {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
}

.countdown {
    display: flex;
    gap: 1rem;
}

.countdown-item {
    text-align: center;
    min-width: 80px;
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    font-family: 'Urban', sans-serif;
    text-shadow: 0 0 10px rgba(255,215,0,0.5);
}

.countdown-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.8);
}

/* Scroll down amélioré */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,215,0,0.2);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.scroll-down:hover {
    background: var(--primary);
    color: black;
    transform: translateX(-50%) scale(1.1);
}

/* Animation texte machine à écrire */
.typing-text {
    position: relative;
    display: inline-block;
}

.typing-text:after {
    content: "|";
    position: absolute;
    right: -8px;
    animation: blink 0.7s infinite;
}

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

/* Nouvelles corrections */
.progress {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.newsletter-section {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
}