/* ========================================
   SITE D'ANNIVERSAIRE MÉLISSA - 18 ANS
   Design Exceptionnel et Unique
   ======================================== */

/* Reset et Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Supprimer TOUS les carrés bleus sur mobile */
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Permettre la sélection de texte pour les éléments de contenu */
p, h1, h2, h3, h4, h5, h6, span, div {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* Supprimer outline sur TOUS les éléments interactifs */
button, a, input, textarea, select, [role="button"], .clickable {
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

button:focus, a:focus, input:focus, textarea:focus, select:focus {
    outline: none !important;
}

button:active, a:active, input:active, textarea:active, select:active {
    outline: none !important;
}

:root {
    --primary: #ff6b9d;
    --secondary: #c44569;
    --accent: #feca57;
    --dark: #1a1f3a;
    --darker: #0f1420;
    --light: #f8f9fa;
    --gold: #ffd700;
    --gold-light: #ffe55c;
    --purple: #a29bfe;
    --pink: #fd79a8;
    --blue: #74b9ff;
}

/* Fonts & Body */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #1a1f3a 0%, #2d3561 100%);
    color: var(--light);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 107, 157, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(162, 155, 254, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(254, 202, 87, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* ========================================
   SUPPRESSION CARRÉS BLEUS GLOBALE
   ======================================== */

/* Tous les éléments interactifs spécifiques du site */
.gift-card,
.gift-card-personal,
.play-pause-btn,
.repeat-btn,
.volume-btn,
.audio-progress-bar,
.audio-progress-fill,
.back-btn,
.premium-btn,
.floating-btn,
.floating-play-pause-btn,
.floating-prev-btn,
.floating-next-btn,
.floating-repeat-btn,
.track-number,
.music-track,
.video-track,
.scroll-indicator,
input[type="range"] {
    -webkit-tap-highlight-color: transparent !important;
    -webkit-touch-callout: none !important;
    outline: none !important;
    user-select: none !important;
}

.gift-card:focus,
.gift-card-personal:focus,
.play-pause-btn:focus,
.repeat-btn:focus,
.volume-btn:focus,
.audio-progress-bar:focus,
.back-btn:focus,
.premium-btn:focus,
.floating-btn:focus,
.scroll-indicator:focus {
    outline: none !important;
}

.gift-card:active,
.gift-card-personal:active,
.play-pause-btn:active,
.repeat-btn:active,
.volume-btn:active,
.audio-progress-bar:active,
.back-btn:active,
.premium-btn:active,
.floating-btn:active,
.scroll-indicator:active {
    outline: none !important;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Navigation Retour */
.back-nav {
    position: fixed;
    top: 2rem;
    left: 2rem;
    z-index: 9999;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--gold);
    transform: translateX(-5px);
    box-shadow: 0 12px 48px rgba(255, 215, 0, 0.3);
}

.back-btn i {
    transition: transform 0.3s ease;
}

.back-btn:hover i {
    transform: translateX(-3px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 4rem 2rem;
    background: 
        linear-gradient(135deg, 
            rgba(255, 107, 157, 0.1) 0%, 
            rgba(162, 155, 254, 0.1) 50%,
            rgba(254, 202, 87, 0.1) 100%
        );
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle, rgba(255, 215, 0, 0.1) 1px, transparent 1px),
        radial-gradient(circle, rgba(255, 107, 157, 0.1) 1px, transparent 1px);
    background-size: 50px 50px, 70px 70px;
    background-position: 0 0, 25px 25px;
    animation: backgroundMove 60s linear infinite;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: fadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--gold-light);
    margin-bottom: 1rem;
    opacity: 0.95;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-name {
    font-size: clamp(4rem, 12vw, 8rem);
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    font-weight: 900;
    line-height: 1.1;
    animation: shimmerGlow 4s ease-in-out infinite;
    text-shadow: 0 0 80px rgba(255, 215, 0, 0.3);
}

.hero-date {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    letter-spacing: 0.1em;
}

.scroll-indicator {
    position: absolute;
    bottom: 8rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounceArrow 2s ease-in-out infinite;
    opacity: 0.8;
    z-index: 100;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none; /* Supprimer le carré bleu au clic */
    -webkit-tap-highlight-color: transparent; /* Supprimer le highlight sur mobile */
    text-decoration: none; /* Pas de soulignement */
    display: inline-block;
}

.scroll-indicator:focus {
    outline: none; /* Supprimer le carré bleu sur focus */
}

.scroll-indicator:hover {
    opacity: 1;
    transform: translateX(-50%) scale(1.2);
}

.scroll-indicator:active {
    outline: none;
    transform: translateX(-50%) scale(1.1);
}

.scroll-indicator i {
    font-size: 3rem;
    color: var(--gold);
    filter: drop-shadow(0 4px 12px rgba(255, 215, 0, 0.6));
    pointer-events: none; /* Éviter les problèmes de clic sur l'icône */
}

/* Sections */
.section {
    position: relative;
    padding: 8rem 2rem;
    z-index: 1;
}

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

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    animation: fadeInUp 0.8s ease;
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    border-radius: 2px;
}

.section-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
    margin-top: 1.5rem;
}

/* Music Section */
.music-section {
    background: 
        linear-gradient(180deg, 
            rgba(10, 14, 39, 0.95) 0%, 
            rgba(5, 7, 20, 0.98) 100%
        );
    position: relative;
}

.music-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 20%, rgba(255, 107, 157, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 70% 80%, rgba(162, 155, 254, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.intro-text {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.intro-text p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
}

/* Music Player - DESIGN INCROYABLE */
.music-player-container {
    max-width: 800px;
    margin: 4rem auto;
    position: relative;
    z-index: 2;
}

.music-track {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.03) 0%, 
        rgba(255, 255, 255, 0.01) 100%
    );
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.music-track::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 215, 0, 0.1), 
        transparent
    );
    transition: left 0.6s ease;
}

.music-track:hover::before {
    left: 100%;
}

.music-track:hover {
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(255, 215, 0, 0.2),
        0 0 80px rgba(255, 215, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.track-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.track-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--darker);
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.4);
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.music-track:hover .track-number {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 12px 36px rgba(255, 215, 0, 0.6);
}

.track-details {
    flex: 1;
}

.track-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: var(--light);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.track-details p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* Audio Player Styling */
audio {
    display: none;
}

/* Custom Audio Player Controls */
.custom-audio-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    margin-top: 1rem;
}

/* Cacher le bouton volume sur les cartes musiques */
.custom-audio-controls .volume-control {
    display: none;
}

.play-pause-btn {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
    position: relative;
}

.play-pause-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.6);
}

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

.play-pause-btn i {
    font-size: 1.5rem;
    color: var(--darker);
    transition: all 0.3s ease;
}

/* Progress Bar */
.audio-progress-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.audio-progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    overflow: visible;
    transition: height 0.2s ease;
}

.audio-progress-bar:hover {
    height: 8px;
}

.audio-progress-bar.dragging {
    height: 10px;
}

.audio-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s linear;
    position: relative;
    pointer-events: none;
}

.audio-progress-fill.dragging {
    transition: none;
}

.audio-progress-fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.8);
    cursor: grab;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    pointer-events: auto;
    z-index: 10;
}

.audio-progress-fill::after:hover {
    transform: translateY(-50%) scale(1.2);
    box-shadow: 0 0 16px rgba(255, 215, 0, 1);
}

.audio-progress-fill.dragging::after {
    cursor: grabbing;
    transform: translateY(-50%) scale(1.3);
    box-shadow: 0 0 20px rgba(255, 215, 0, 1);
}

/* Annotations Timeline */
.annotation-marker {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background: var(--pink);
    border: 2px solid var(--light);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 0 12px rgba(253, 121, 168, 0.6);
}

.annotation-marker:hover {
    transform: translate(-50%, -50%) scale(1.3);
    box-shadow: 0 0 20px rgba(253, 121, 168, 0.9);
}

.annotation-marker::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 15px;
    background: var(--pink);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.annotation-marker:hover::before {
    opacity: 1;
}

/* Annotation Popup */
.annotation-popup {
    position: absolute;
    bottom: calc(100% + 25px);
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    background: linear-gradient(135deg, rgba(253, 121, 168, 0.95) 0%, rgba(196, 69, 105, 0.95) 100%);
    backdrop-filter: blur(20px);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    min-width: 250px;
    max-width: 350px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.annotation-marker:hover .annotation-popup {
    opacity: 1;
    transform: translateX(-50%) scale(1);
    pointer-events: auto;
}

.annotation-popup::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid rgba(253, 121, 168, 0.95);
}

.annotation-time {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.annotation-note {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--light);
}

.audio-time {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Volume Control */
.volume-control {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.volume-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.volume-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--gold);
}

.volume-btn i {
    color: var(--gold);
    font-size: 1rem;
}

.volume-slider {
    width: 80px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.volume-fill {
    height: 100%;
    background: var(--gold);
    border-radius: 2px;
    width: 100%;
    transition: width 0.1s linear;
}

/* Repeat Button */
.repeat-btn {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0.5rem auto 0;
}

.repeat-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--gold);
    transform: scale(1.1);
}

.repeat-btn i {
    color: rgba(255, 215, 0, 0.5);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.repeat-btn.active {
    background: rgba(255, 215, 0, 0.15);
    border-color: var(--gold);
}

.repeat-btn.active i {
    color: var(--gold);
    transform: scale(1.1);
}

/* Version Toggle Button pour Ma passion */
.version-toggle-btn {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: var(--gold);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.version-toggle-btn:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
    transform: translateY(-2px);
}

.version-toggle-btn:active {
    transform: translateY(0);
}

.version-toggle-btn i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.version-toggle-btn:hover i {
    transform: rotate(180deg);
}

/* Boutons Premium Ultra Stylés */
.premium-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 3rem;
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.15) 0%, 
        rgba(255, 215, 0, 0.05) 100%);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    color: var(--gold);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 10px 40px rgba(255, 215, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.premium-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 215, 0, 0.3) 50%, 
        transparent 100%);
    transition: left 0.6s ease;
}

.premium-btn:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 
        0 20px 60px rgba(255, 215, 0, 0.4),
        0 0 40px rgba(255, 215, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.25) 0%, 
        rgba(255, 215, 0, 0.1) 100%);
}

.premium-btn:hover::before {
    left: 100%;
}

.premium-btn:active {
    transform: translateY(-2px);
}

.premium-btn-text {
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.5);
}

.premium-btn-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, 
        rgba(255, 255, 255, 0.1) 0%, 
        transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.premium-btn:hover .premium-btn-shine {
    opacity: 1;
    animation: shine 1.5s ease-in-out infinite;
}

@keyframes shine {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }
    50% {
        transform: translate(10%, 10%) scale(1.2);
        opacity: 1;
    }
}

/* Lecteur Audio Flottant - Compact */
.floating-player {
    position: fixed;
    bottom: -100px;
    left: 0;
    right: 0;
    z-index: 9999;
    transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-player.active {
    bottom: 0;
}

.floating-player-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.15) 0%, 
        rgba(45, 53, 97, 0.95) 100%);
    backdrop-filter: blur(30px);
    border-top: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
    display: grid;
    grid-template-columns: 1fr auto 100px;
    gap: 2rem;
    align-items: center;
}

/* Info section - Gauche */
.floating-player-info {
    overflow: hidden;
}

.floating-track-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gold);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Controls - Centre */
.floating-player-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.floating-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    color: var(--gold);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-btn:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.floating-prev-btn,
.floating-next-btn {
    width: 45px;
    height: 45px;
}

.floating-play-pause-btn {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    border: none;
    position: relative;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.5);
}

.floating-play-pause-btn i {
    color: #1a1f3a;
    font-size: 1.3rem;
    position: relative;
    z-index: 11;
}

.floating-play-pause-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(255, 215, 0, 0.7);
}

/* Repeat section - Droite */
.floating-repeat-section {
    display: flex;
    justify-content: flex-end;
}

.floating-repeat-btn {
    width: 45px;
    height: 45px;
    position: relative;
}

.floating-repeat-btn.active-one {
    background: rgba(255, 215, 0, 0.2);
    border-color: var(--gold);
}

.floating-repeat-btn.active-one i {
    color: var(--gold);
}

.floating-repeat-btn.active-one::after {
    content: '1';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--gold);
}

/* Animation slide de la carte musicale */
.music-track.slide-out-left {
    animation: slideOutLeft 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.music-track.slide-out-right {
    animation: slideOutRight 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.music-track.slide-in-left {
    animation: slideInLeft 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.music-track.slide-in-right {
    animation: slideInRight 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes slideOutLeft {
    0% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateX(-120%) scale(0.8);
    }
}

@keyframes slideOutRight {
    0% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateX(120%) scale(0.8);
    }
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-120%) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(120%) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* IA Section */
.ia-section {
    background: linear-gradient(135deg, 
        rgba(162, 155, 254, 0.05) 0%, 
        rgba(116, 185, 255, 0.05) 100%
    );
}

.ia-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.videography-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.ia-icon {
    font-size: 5rem;
    margin-bottom: 2rem;
    animation: pulse 2s ease-in-out infinite;
}

.ia-icon i {
    background: linear-gradient(135deg, var(--purple) 0%, var(--blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px rgba(162, 155, 254, 0.5));
}

.ia-content h3 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
    color: var(--light);
}

.ia-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 3rem;
}

/* Countdown */
.countdown-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
}

.countdown-item {
    text-align: center;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    min-width: 100px;
}

.countdown-number {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--purple) 0%, var(--blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.countdown-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Vidéographie Section */
.videography-section {
    background: linear-gradient(180deg, 
        rgba(5, 7, 20, 0.98) 0%, 
        rgba(10, 14, 39, 0.95) 100%
    );
}

.concept-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.concept-intro p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.videography-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
    align-items: center;
}

.step-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.1) 0%, 
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.step-card:hover::before {
    opacity: 1;
}

.step-card:hover {
    transform: translateY(-12px);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 24px 60px rgba(255, 215, 0, 0.2);
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.step-icon i {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.4));
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--light);
}

.step-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.step-arrow {
    text-align: center;
    font-size: 2rem;
    color: var(--gold);
    animation: slideRight 1.5s ease-in-out infinite;
}

.concept-benefits {
    max-width: 800px;
    margin: 5rem auto;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
}

.concept-benefits h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--gold);
    text-align: center;
}

.concept-benefits ul {
    list-style: none;
}

.concept-benefits li {
    padding: 1rem 0;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.concept-benefits li i {
    color: var(--gold);
    font-size: 1.2rem;
}

/* CTA Container */
.cta-container {
    text-align: center;
    margin-top: 4rem;
}

.cta-text {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--darker);
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.cta-btn:hover::before {
    left: 100%;
}

.cta-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 16px 48px rgba(255, 215, 0, 0.6);
}

.cta-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cta-btn.disabled:hover {
    transform: none;
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.4);
}

/* Password Container */
.password-container {
    max-width: 500px;
    margin: 4rem auto;
    text-align: center;
}

.password-box {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3rem 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.password-box i {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    display: block;
}

.password-box h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--light);
}

.password-box p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
}

.password-box input {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--light);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    outline: none;
    transition: all 0.3s ease;
}

.password-box input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.unlock-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--darker);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.3);
}

.unlock-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(255, 215, 0, 0.5);
}

.error-message {
    color: var(--pink);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Footer */
.footer {
    background: var(--darker);
    padding: 4rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer p {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-quote {
    font-style: italic;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.95rem;
}

.footer-signature {
    color: var(--gold);
    font-weight: 600;
    margin-top: 1rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmerGlow {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 40px rgba(255, 215, 0, 0.6));
    }
}

/* Animations pour les cartes vidéo */
.video-track {
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.video-track::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(212, 165, 116, 0.15) 50%,
        transparent 70%
    );
    transition: transform 0.6s ease;
}

.video-track:hover::before {
    transform: translate(50%, 50%);
}

.video-track:hover {
    border-color: rgba(212, 165, 116, 0.8);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 25px 70px rgba(212, 165, 116, 0.3),
        0 0 100px rgba(212, 165, 116, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.video-track .track-number {
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.video-track:hover .track-number {
    transform: rotate(360deg) scale(1.15);
    box-shadow: 
        0 15px 40px rgba(212, 165, 116, 0.6),
        0 0 60px rgba(212, 165, 116, 0.4);
    filter: brightness(1.2);
}

.video-track iframe {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.video-track:hover iframe {
    transform: scale(1.02);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6);
}

@keyframes bounceArrow {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

@keyframes backgroundMove {
    from {
        transform: translate(0, 0);
    }
    to {
        transform: translate(50px, 50px);
    }
}

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

@keyframes slideRight {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(10px);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .section {
        padding: 5rem 1.5rem;
    }
    
    .back-nav {
        top: 1rem;
        left: 1rem;
    }
    
    .back-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .music-track {
        padding: 1.5rem 1rem;
    }
    
    .track-info {
        flex-direction: row;
        align-items: center;
        gap: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .track-number {
        width: 70px;
        height: 70px;
        font-size: 2rem;
        flex-shrink: 0;
    }
    
    .track-details {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
        justify-content: center;
    }
    
    .track-title {
        font-size: 1.25rem !important;
        line-height: 1.3;
        margin: 0;
    }
    
    .track-details p {
        margin: 0;
        line-height: 1.2;
    }
    
    /* Boutons Premium mobile */
    .premium-btn {
        padding: 1.5rem 2rem;
        font-size: 1.2rem;
        border-radius: 15px;
    }
    
    /* Lecteur Audio Flottant mobile */
    .floating-player-content {
        grid-template-columns: 1fr auto 60px;
        gap: 1rem;
        padding: 0.75rem 1rem;
    }
    
    .floating-track-title {
        font-size: 0.95rem;
    }
    
    .floating-player-controls {
        gap: 1rem;
    }
    
    .floating-prev-btn,
    .floating-next-btn,
    .floating-repeat-btn {
        width: 40px;
        height: 40px;
    }
    
    .floating-play-pause-btn {
        width: 52px;
        height: 52px;
        box-shadow: 0 6px 24px rgba(255, 215, 0, 0.6);
    }
    
    .floating-play-pause-btn i {
        font-size: 1.2rem;
        font-weight: 900;
    }
    
    /* Contrôles audio mobile : Flexbox wrap avec temps en bas */
    .custom-audio-controls {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
        padding: 1.5rem 1rem;
    }
    
    /* Ligne 1 : Bouton Play centré */
    .play-pause-btn {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        margin: 0 auto;
    }
    
    .play-pause-btn i {
        font-size: 1.5rem;
    }
    
    /* Ligne 2 : Barre de progression pleine largeur */
    .audio-progress-container {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }
    
    .audio-progress-bar {
        width: 100%;
        height: 6px;
    }
    
    /* Ligne 3 : Temps sous la barre */
    .audio-time {
        display: flex;
        justify-content: space-between;
        font-size: 0.8rem;
        color: rgba(255, 255, 255, 0.5);
    }
    
    /* Ligne 4 : Repeat button centré sous la barre */
    .volume-control {
        display: none; /* Cacher le volume sur mobile */
    }
    
    .repeat-btn {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        margin: 0.75rem auto 0;
        display: flex;
    }
    
    .repeat-btn i {
        font-size: 1.2rem;
    }
    
    /* Version Toggle Button mobile */
    .version-toggle-btn {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
        gap: 0.4rem;
    }
    
    .version-toggle-btn i {
        font-size: 0.7rem;
    }
    
    /* Flèche de scroll : plus haute et plus grosse sur mobile */
    .scroll-indicator {
        bottom: 12rem;
    }
    
    .scroll-indicator i {
        font-size: 3.5rem;
        filter: drop-shadow(0 6px 16px rgba(255, 215, 0, 0.8));
    }

    
    /* Masquer le slider de volume sur mobile */
    .volume-slider {
        display: none;
    }
    
    .countdown-container {
        gap: 1rem;
    }
    
    .countdown-item {
        padding: 1rem 1.5rem;
        min-width: 80px;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .videography-steps {
        grid-template-columns: 1fr;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
}

/* Signature */
.signature {
    font-style: italic;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
}

/* ========================================
   GIFTS SECTION - Page d'accueil
   ======================================== */

.gifts-section {
    background: 
        linear-gradient(180deg, 
            rgba(10, 14, 39, 0.95) 0%, 
            rgba(5, 7, 20, 0.98) 100%
        );
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.gifts-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(255, 107, 157, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(162, 155, 254, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(254, 202, 87, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.gifts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

/* Carte Large (Maman) */
.gift-card-large {
    grid-column: 1 / -1;
    min-height: 250px;
}

/* Carte Small */
.gift-card-small {
    min-height: 200px;
}

/* Style de base des cartes */
.gift-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(30px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    padding: 3rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    cursor: pointer;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Effet de lumière au survol */
.gift-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 215, 0, 0.15), 
        transparent
    );
    transition: left 0.6s ease;
}

.gift-card:hover::before {
    left: 100%;
}

/* Effet glow autour de la carte */
.gift-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, 
        var(--gold) 0%, 
        var(--pink) 50%, 
        var(--purple) 100%
    );
    border-radius: 32px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.5s ease;
    filter: blur(15px);
}

.gift-card:hover::after {
    opacity: 0.6;
}

/* Hover state */
.gift-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 
        0 24px 60px rgba(255, 215, 0, 0.3),
        0 0 80px rgba(255, 215, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Contenu de la carte */
.gift-card-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Nom de la personne */
.gift-person-name {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 900;
    color: var(--light);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: -0.02em;
    position: relative;
}

/* Effet de gradient sur le nom au hover */
.gift-card:hover .gift-person-name {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: scale(1.1);
    filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.6));
}

/* Animation d'entrée */
.gift-card {
    animation: fadeInUp 0.8s ease backwards;
}

.gift-card:nth-child(1) { animation-delay: 0.1s; }
.gift-card:nth-child(2) { animation-delay: 0.2s; }
.gift-card:nth-child(3) { animation-delay: 0.3s; }
.gift-card:nth-child(4) { animation-delay: 0.4s; }
.gift-card:nth-child(5) { animation-delay: 0.5s; }

/* Responsive */
@media (max-width: 1024px) {
    .gifts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .gift-card-large {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .gifts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gift-card-large {
        grid-column: 1;
        min-height: 200px;
    }
    
    .gift-card-small {
        min-height: 180px;
    }
    
    .gift-person-name {
        font-size: clamp(1.8rem, 6vw, 3rem);
    }
}
