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

:root {
    --gold: #C9A961;
    --dark-gold: #9D7D3A;
    --light-gold: #E5D4A6;
    --burgundy: #6B1C23;
    --dark-burgundy: #3D0E14;
    --light-burgundy: #8B2530;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #1a0505 0%, #0a0000 100%);
    color: #fff;
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
}

#root {
    overflow-x: hidden;
    width: 100%;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header Premium */
header {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 25px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    border-bottom: 1px solid rgba(201, 169, 97, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    width: 100%;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 80px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.logo h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--gold) 0%, var(--light-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
    text-shadow: 0 0 30px rgba(201, 169, 97, 0.3);
}

.logo p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    margin-top: 8px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

nav ul {
    display: flex;
    gap: 35px;
    list-style: none;
    flex-wrap: wrap;
}

nav a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    letter-spacing: 0.5px;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

nav a:hover {
    color: var(--gold);
}

nav a:hover::after {
    width: 100%;
}

/* Hero Section Ultra Premium */
.hero {
    position: relative;
    text-align: center;
    padding: 250px 40px 120px;
    margin-top: 0;
    background:
        radial-gradient(ellipse at top, rgba(201, 169, 97, 0.05) 0%, transparent 70%),
        radial-gradient(ellipse at bottom, rgba(107, 28, 35, 0.08) 0%, transparent 70%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(26, 5, 5, 0.4) 100%),
        url('hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(201, 169, 97, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveBackground 60s linear infinite;
    opacity: 0.3;
}

@keyframes moveBackground {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

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

.hero h2 {
    font-family: 'Playfair Display', serif;
    font-size: 6rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--gold) 0%, var(--light-gold) 50%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
    letter-spacing: 5px;
    text-transform: uppercase;
    animation: fadeInUp 1s ease-out;
    text-shadow: 0 0 80px rgba(201, 169, 97, 0.5);
}

.hero h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 2px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 40px;
    color: var(--gold);
    font-weight: 600;
    font-style: italic;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.save-date {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold) 0%, var(--dark-gold) 100%);
    color: #000;
    padding: 25px 70px;
    font-size: 2.2rem;
    font-weight: 700;
    border-radius: 60px;
    margin-top: 30px;
    box-shadow:
        0 20px 60px rgba(201, 169, 97, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: fadeInUp 1s ease-out 0.6s both, pulse 3s ease-in-out infinite;
    letter-spacing: 2px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 20px 60px rgba(201, 169, 97, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 25px 70px rgba(201, 169, 97, 0.6);
    }
}

/* Section commune */
section {
    padding: 120px 40px;
    position: relative;
    overflow-x: hidden;
    width: 100%;
}

section:nth-child(even) {
    background: rgba(0, 0, 0, 0.3);
}

.section-title {
    font-family: 'Playfair Display', serif;
    text-align: center;
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold) 0%, var(--light-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    padding-bottom: 30px;
}

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

.section-intro {
    text-align: center;
    font-size: 1.15rem;
    max-width: 900px;
    margin: 0 auto 70px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

/* About Cards Premium */
.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

.about-card {
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.08) 0%, rgba(107, 28, 35, 0.08) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(201, 169, 97, 0.2);
    border-radius: 25px;
    padding: 50px;
    margin-bottom: 40px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.about-card:hover {
    transform: translateY(-10px);
    border-color: rgba(201, 169, 97, 0.5);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.about-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-size: 2.2rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.about-card p {
    font-size: 1.1rem;
    line-height: 2;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
}

/* Stats Grid Premium */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 35px;
    margin-top: 60px;
}

.stat-card {
    text-align: center;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.1) 0%, rgba(107, 28, 35, 0.1) 100%);
    backdrop-filter: blur(15px);
    padding: 50px 30px;
    border-radius: 20px;
    border: 1px solid rgba(201, 169, 97, 0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-card:hover {
    transform: translateY(-15px) scale(1.05);
    border-color: var(--gold);
    box-shadow: 0 20px 50px rgba(201, 169, 97, 0.3);
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    background: linear-gradient(135deg, var(--gold) 0%, var(--light-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    margin-bottom: 15px;
}

.stat-label {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    letter-spacing: 1px;
}

/* Timeline Premium */
.timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent, var(--gold), transparent);
}

.timeline-item {
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.08) 0%, rgba(107, 28, 35, 0.08) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(201, 169, 97, 0.2);
    border-radius: 25px;
    padding: 45px;
    margin-bottom: 50px;
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.timeline-item:hover {
    transform: translateX(20px);
    border-color: var(--gold);
    box-shadow: 0 20px 60px rgba(201, 169, 97, 0.3);
}

.timeline-item h3 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.timeline-time {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold) 0%, var(--dark-gold) 100%);
    color: #000;
    padding: 8px 25px;
    border-radius: 25px;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(201, 169, 97, 0.3);
    letter-spacing: 1px;
}

.timeline-content {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 2;
    font-weight: 300;
}

/* Categories Premium */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 35px;
    margin-top: 60px;
}

.category-card {
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.08) 0%, rgba(107, 28, 35, 0.08) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(201, 169, 97, 0.2);
    border-radius: 25px;
    padding: 35px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.category-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 20px 60px rgba(201, 169, 97, 0.3);
}

/* Mise en évidence de la carte ciblée par ancre */
.category-card:target {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.4), 0 20px 60px rgba(201, 169, 97, 0.5);
    animation: pulseTarget 2s ease-in-out;
}

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

.category-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-size: 1.4rem;
    margin-bottom: 30px;
    text-align: center;
    text-transform: uppercase;
    font-weight: 600;
    min-height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 1px;
}

.nominee-item {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    padding: 20px 25px;
    margin-bottom: 15px;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.nominee-item:hover {
    background: rgba(201, 169, 97, 0.1);
    border-color: rgba(201, 169, 97, 0.3);
    transform: translateX(5px);
}

/* Mise en évidence du nominé ciblé par ancre */
.nominee-item:target {
    background: rgba(201, 169, 97, 0.2);
    border-color: var(--gold);
    box-shadow: 0 0 0 2px rgba(201, 169, 97, 0.5), 0 5px 20px rgba(201, 169, 97, 0.4);
    animation: pulseNominee 2s ease-in-out;
}

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

.nominee-name {
    font-size: 1.05rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
}

.vote-btn {
    background: linear-gradient(135deg, var(--gold) 0%, var(--dark-gold) 100%);
    color: #000;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    box-shadow: 0 5px 20px rgba(201, 169, 97, 0.3);
    letter-spacing: 0.5px;
}

.vote-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.5);
}

.vote-btn:disabled {
    background: rgba(100, 100, 100, 0.3);
    color: rgba(255, 255, 255, 0.4);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.voted {
    background: rgba(34, 139, 34, 0.2);
    border-left: 4px solid #22bb22;
}

.vote-count {
    color: var(--gold);
    font-size: 0.95rem;
    margin-left: 15px;
    font-weight: 500;
}

/* Partnership Premium */
.partnership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 70px;
}

.partnership-card {
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.08) 0%, rgba(107, 28, 35, 0.08) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(201, 169, 97, 0.2);
    border-radius: 25px;
    padding: 45px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.partnership-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--gold), var(--light-gold), var(--gold));
    opacity: 0;
    transition: opacity 0.5s;
}

.partnership-card:hover {
    transform: translateY(-15px);
    border-color: var(--gold);
    box-shadow: 0 25px 70px rgba(201, 169, 97, 0.4);
}

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

.partnership-card.featured {
    border: 2px solid var(--gold);
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.15) 0%, rgba(107, 28, 35, 0.15) 100%);
    box-shadow: 0 20px 60px rgba(201, 169, 97, 0.4);
}

.partnership-card.featured::before {
    opacity: 1;
}

.partnership-title {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 1px;
}

.partnership-price {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    background: linear-gradient(135deg, var(--gold) 0%, var(--light-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    margin: 25px 0;
}

.partnership-benefits {
    text-align: left;
    margin-top: 30px;
}

.partnership-benefits li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    font-weight: 300;
}

.partnership-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
    font-size: 1.2rem;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold) 0%, var(--dark-gold) 100%);
    color: #000;
    padding: 18px 45px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    margin-top: 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.3);
    letter-spacing: 0.5px;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(201, 169, 97, 0.5);
}

/* MetGala Button */
.metgala-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold) 0%, var(--dark-gold) 100%);
    color: #000;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(201, 169, 97, 0.3);
    letter-spacing: 0.5px;
}

.metgala-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(201, 169, 97, 0.5);
    background: linear-gradient(135deg, var(--light-gold) 0%, var(--gold) 100%);
}

/* Form Premium */
.candidature-form {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.08) 0%, rgba(107, 28, 35, 0.08) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(201, 169, 97, 0.2);
    border-radius: 25px;
    padding: 60px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 18px 20px;
    border: 1px solid rgba(201, 169, 97, 0.3);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    font-size: 1.05rem;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s;
    font-weight: 300;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 20px rgba(201, 169, 97, 0.2);
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--gold) 0%, var(--dark-gold) 100%);
    color: #000;
    border: none;
    padding: 20px;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.4);
    letter-spacing: 1px;
}

.submit-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(201, 169, 97, 0.6);
}

/* Contact Premium */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 70px;
}

.contact-card {
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.08) 0%, rgba(107, 28, 35, 0.08) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(201, 169, 97, 0.2);
    border-radius: 25px;
    padding: 50px 40px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.contact-card:hover {
    transform: translateY(-15px);
    border-color: var(--gold);
    box-shadow: 0 25px 70px rgba(201, 169, 97, 0.4);
}

.contact-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.contact-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.contact-card a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 1.15rem;
    transition: color 0.3s;
    font-weight: 300;
}

.contact-card a:hover {
    color: var(--gold);
}

/* Footer Premium */
footer {
    background: rgba(0, 0, 0, 0.95);
    text-align: center;
    padding: 50px 40px;
    border-top: 1px solid rgba(201, 169, 97, 0.3);
}

footer p {
    font-family: 'Playfair Display', serif;
    color: var(--gold);
    font-size: 1.2rem;
    font-weight: 400;
}

.red-esprit-footer {
    margin-top: 25px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-weight: 300;
}

.red-esprit-footer span {
    color: #ff0000;
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 3px;
}

/* ========== ANIMATIONS AU SCROLL ========== */

/* États initiaux - éléments cachés */
.scroll-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-fade-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-fade-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-fade-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-fade-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-scale.visible {
    opacity: 1;
    transform: scale(1);
}

.scroll-fade {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-fade.visible {
    opacity: 1;
}

/* Délais en cascade pour les grilles */
.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

.stagger-5 {
    transition-delay: 0.5s;
}

.stagger-6 {
    transition-delay: 0.6s;
}

/* Animation spéciale pour les titres */
.scroll-title {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.scroll-title.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animation pour la ligne dorée sous les titres */
.scroll-title.visible::after {
    animation: expandLine 0.8s ease 0.3s forwards;
}

@keyframes expandLine {
    from {
        width: 0;
        opacity: 0;
    }

    to {
        width: 120px;
        opacity: 1;
    }
}

/* Animation spéciale pour les stats */
.scroll-stat {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.scroll-stat.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Animation pour la timeline */
.scroll-timeline {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-timeline.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Effet parallaxe léger pour le hero */
.hero-parallax {
    transition: transform 0.1s linear;
}

/* Réduire les animations si l'utilisateur préfère */
@media (prefers-reduced-motion: reduce) {

    .scroll-fade-up,
    .scroll-fade-left,
    .scroll-fade-right,
    .scroll-scale,
    .scroll-fade,
    .scroll-title,
    .scroll-stat,
    .scroll-timeline {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ========== FIN ANIMATIONS AU SCROLL ========== */

/* Bouton d'annulation de vote */
.cancel-vote-btn {
    background: linear-gradient(135deg, #dc3545 0%, #a71d2a 100%);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    margin-left: 10px;
    box-shadow: 0 3px 10px rgba(220, 53, 69, 0.3);
}

.cancel-vote-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.5);
    background: linear-gradient(135deg, #e74c5c 0%, #c82333 100%);
}

/* Modal de partenariat */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    padding: 20px;
    animation: modalFadeIn 0.3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background: linear-gradient(135deg, rgba(26, 5, 5, 0.98) 0%, rgba(10, 0, 0, 0.98) 100%);
    border: 1px solid rgba(201, 169, 97, 0.4);
    border-radius: 20px;
    padding: 30px 25px;
    width: 100%;
    max-width: 420px;
    position: relative;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), 0 0 40px rgba(201, 169, 97, 0.2);
    animation: modalSlideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin: auto;
    max-height: calc(100vh - 40px);
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    -webkit-tap-highlight-color: transparent;
}

.modal-close:hover,
.modal-close:active {
    color: var(--gold);
    background: rgba(201, 169, 97, 0.2);
}

.modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--gold);
    text-align: center;
    margin-bottom: 8px;
    margin-top: 10px;
}

.modal-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 20px;
    font-weight: 300;
    line-height: 1.5;
}

.modal-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold) 0%, var(--dark-gold) 100%);
    color: #000;
    padding: 6px 14px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.75rem;
    margin-bottom: 15px;
    max-width: 100%;
    word-wrap: break-word;
    text-align: center;
}

.modal-form .form-group {
    margin-bottom: 16px;
}

.modal-form .form-group label {
    display: block;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.85rem;
}

.modal-form .form-group input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(201, 169, 97, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
}

.modal-form .form-group input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(201, 169, 97, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.modal-form .form-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

.modal-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--dark-gold) 100%);
    color: #000;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(201, 169, 97, 0.3);
    margin-top: 5px;
    -webkit-tap-highlight-color: transparent;
}

.modal-submit:hover,
.modal-submit:active {
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.4);
}

.modal-submit:disabled {
    background: rgba(100, 100, 100, 0.5);
    cursor: not-allowed;
    box-shadow: none;
}

/* Modal Mobile Styles */
@media (max-width: 768px) {
    .modal-overlay {
        padding: 15px;
        align-items: flex-start;
        padding-top: 60px;
    }

    .modal-content {
        padding: 25px 18px;
        border-radius: 16px;
        max-width: 100%;
        width: 100%;
        max-height: calc(100vh - 80px);
        max-height: calc(100dvh - 80px);
    }

    .modal-close {
        top: 8px;
        right: 10px;
        width: 32px;
        height: 32px;
        font-size: 1.3rem;
    }

    .modal-title {
        font-size: 1.3rem;
        margin-top: 5px;
    }

    .modal-subtitle {
        font-size: 0.85rem;
        margin-bottom: 18px;
    }

    .modal-badge {
        font-size: 0.7rem;
        padding: 5px 12px;
    }

    .modal-form .form-group {
        margin-bottom: 14px;
    }

    .modal-form .form-group label {
        font-size: 0.8rem;
        margin-bottom: 5px;
    }

    .modal-form .form-group input {
        padding: 11px 12px;
        font-size: 16px;
        border-radius: 8px;
    }

    .modal-submit {
        padding: 13px;
        font-size: 0.95rem;
        border-radius: 8px;
    }
}

@media (max-width: 380px) {
    .modal-overlay {
        padding: 10px;
        padding-top: 50px;
    }

    .modal-content {
        padding: 20px 15px;
    }

    .modal-title {
        font-size: 1.2rem;
    }

    .modal-badge {
        font-size: 0.65rem;
    }
}

/* Menu hamburger mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--gold);
    margin: 4px 0;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Responsive Ultra Premium */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }

    .hero h2 {
        font-size: 4.5rem;
    }

    .section-title {
        font-size: 3rem;
    }

    .partnership-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 75vw;
        max-width: 300px;
        height: 100vh;
        height: 100dvh;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 100px 25px 30px;
        border-left: 1px solid rgba(201, 169, 97, 0.3);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
        z-index: 1000;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s;
        visibility: hidden;
    }

    nav.active {
        transform: translateX(0);
        visibility: visible;
    }

    nav ul {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    nav a {
        font-size: 1.05rem;
        display: block;
        padding: 12px 0;
        width: 100%;
        -webkit-tap-highlight-color: transparent;
    }

    .header-content {
        justify-content: space-between;
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .logo p {
        font-size: 0.65rem;
        letter-spacing: 1px;
        margin-top: 4px;
    }

    .hero h2 {
        font-size: 3rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    html {
        scroll-behavior: smooth;
    }

    body {
        -webkit-text-size-adjust: 100%;
    }

    .container {
        padding: 0 16px;
    }

    section {
        padding: 50px 16px;
    }

    header {
        padding: 15px 0;
    }

    .hero {
        padding: 140px 16px 50px;
        min-height: 60vh;
        min-height: 60dvh;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero h2 {
        font-size: 2rem;
        letter-spacing: 1px;
        line-height: 1.2;
    }

    .hero h3 {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .save-date {
        font-size: 1.1rem;
        padding: 14px 28px;
        border-radius: 40px;
    }

    .categories-grid,
    .partnership-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .section-title {
        font-size: 1.6rem;
        padding-bottom: 18px;
        margin-bottom: 20px;
    }

    .section-title::after {
        width: 80px;
        height: 3px;
    }

    .section-intro {
        font-size: 0.95rem;
        margin-bottom: 35px;
        line-height: 1.7;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .stat-label {
        font-size: 0.85rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .stat-card {
        padding: 25px 12px;
        border-radius: 15px;
    }

    .timeline::before {
        left: 12px;
        width: 2px;
    }

    .timeline-item {
        padding: 20px 16px;
        margin-bottom: 20px;
        margin-left: 25px;
        border-radius: 15px;
    }

    .timeline-item h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    .timeline-time {
        font-size: 0.8rem;
        padding: 6px 14px;
    }

    .timeline-content {
        font-size: 0.9rem;
        line-height: 1.7;
    }

    .about-card {
        padding: 25px 18px;
        border-radius: 18px;
        margin-bottom: 16px;
    }

    .about-card h3 {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }

    .about-card p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .candidature-form {
        padding: 25px 18px;
        border-radius: 18px;
    }

    .category-card {
        padding: 20px 14px;
        border-radius: 15px;
    }

    .category-card h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
        padding-bottom: 12px;
    }

    .nominee-item {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 14px;
        border-radius: 12px;
        margin-bottom: 10px;
    }

    .nominee-name {
        font-size: 0.9rem;
        font-weight: 500;
    }

    .vote-actions {
        display: flex;
        width: 100%;
        gap: 10px;
        align-items: center;
    }

    .vote-btn {
        padding: 10px 18px;
        font-size: 0.85rem;
        flex: 1;
        border-radius: 20px;
        -webkit-tap-highlight-color: transparent;
    }

    .cancel-vote-btn {
        padding: 10px 14px;
        font-size: 0.8rem;
        margin-left: 0;
        white-space: nowrap;
        -webkit-tap-highlight-color: transparent;
    }

    .vote-count {
        font-size: 0.8rem;
        margin-left: 0;
    }

    .partnership-card {
        padding: 25px 18px;
        border-radius: 18px;
    }

    .partnership-title {
        font-size: 1.15rem;
    }

    .partnership-price {
        font-size: 1.8rem;
    }

    .partnership-benefits {
        padding-left: 0;
    }

    .partnership-benefits li {
        font-size: 0.85rem;
        padding: 8px 0;
    }

    .cta-button {
        padding: 14px 28px;
        font-size: 0.9rem;
        width: 100%;
        text-align: center;
        border-radius: 25px;
        -webkit-tap-highlight-color: transparent;
    }

    .contact-card {
        padding: 30px 20px;
        border-radius: 18px;
    }

    .contact-card h3 {
        font-size: 1.3rem;
    }

    .contact-icon {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }

    .contact-card a {
        font-size: 1rem;
    }

    footer {
        padding: 30px 16px;
    }

    footer p {
        font-size: 0.95rem;
    }

    .red-esprit-footer {
        margin-top: 20px;
        font-size: 0.9rem;
    }

    .red-esprit-footer span {
        font-size: 1.1rem;
    }

    /* Form inputs mobile */
    .form-group {
        margin-bottom: 18px;
    }

    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 16px;
        /* Prevents iOS zoom */
        border-radius: 12px;
        -webkit-appearance: none;
    }

    .form-group textarea {
        min-height: 120px;
    }

    .submit-btn {
        padding: 16px 30px;
        font-size: 1rem;
        width: 100%;
        border-radius: 25px;
        -webkit-tap-highlight-color: transparent;
    }

    /* Nav overlay */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        height: 100dvh;
        background: rgba(0, 0, 0, 0.6);
        z-index: 999;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .nav-overlay.active {
        display: block;
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 1.7rem;
    }

    .hero h3 {
        font-size: 0.85rem;
    }

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

    .save-date {
        font-size: 1rem;
        padding: 12px 24px;
    }

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

    .stat-number {
        font-size: 1.8rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .stat-card {
        padding: 20px 10px;
    }

    .timeline-item h3 {
        font-size: 1.1rem;
    }

    .about-card h3 {
        font-size: 1.2rem;
    }

    .category-card h3 {
        font-size: 1rem;
    }

    .nominee-name {
        font-size: 0.85rem;
    }

    .partnership-title {
        font-size: 1.05rem;
    }

    .partnership-price {
        font-size: 1.5rem;
    }

    .contact-card h3 {
        font-size: 1.1rem;
    }

    .modal-content {
        padding: 20px 16px;
    }

    .modal-title {
        font-size: 1.2rem;
    }
}

/* Touch-friendly interactions */
@media (hover: none) and (pointer: coarse) {

    .vote-btn:active,
    .cancel-vote-btn:active,
    .cta-button:active,
    .submit-btn:active,
    .modal-submit:active {
        transform: scale(0.98);
        opacity: 0.9;
    }

    .partnership-card:hover,
    .category-card:hover,
    .about-card:hover,
    .stat-card:hover,
    .contact-card:hover,
    .timeline-item:hover {
        transform: none;
    }

    .nominee-item:hover {
        transform: none;
    }
}

/* Safe area for notched phones */
@supports (padding: max(0px)) {
    .whatsapp-float {
        bottom: max(15px, env(safe-area-inset-bottom));
        right: max(15px, env(safe-area-inset-right));
    }

    .vote-success {
        bottom: max(90px, calc(env(safe-area-inset-bottom) + 75px));
    }

    footer {
        padding-bottom: max(30px, calc(env(safe-area-inset-bottom) + 20px));
    }
}

/* Scrollbar Premium - Masqué sur mobile */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.5);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--gold), var(--dark-gold));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--light-gold), var(--gold));
}

@media (max-width: 768px) {
    ::-webkit-scrollbar {
        width: 4px;
    }
}

/* Floating WhatsApp Button - Optimisé Mobile */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    z-index: 998;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.whatsapp-float:hover,
.whatsapp-float:active {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.3);
    animation: whatsapp-ripple 2s ease-out infinite;
}

@keyframes whatsapp-ripple {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Notifications Toast - Ultra fluide */
.vote-success,
.submission-success {
    background: linear-gradient(135deg, #22bb22 0%, #1a9919 100%);
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(34, 187, 34, 0.4);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.vote-success {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    max-width: calc(100vw - 40px);
    text-align: center;
    animation: toastIn 0.4s cubic-bezier(0.21, 1.02, 0.73, 1) forwards;
}

.vote-success.hiding {
    animation: toastOut 0.3s cubic-bezier(0.06, 0.71, 0.55, 1) forwards;
}

@keyframes toastIn {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(30px) scale(0.9);
    }

    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
    }
}

@keyframes toastOut {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px) scale(0.9);
    }
}

.submission-success {
    margin-bottom: 20px;
    text-align: center;
    animation: fadeInScale 0.4s ease forwards;
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Mobile-specific toast position */
@media (max-width: 768px) {
    .vote-success {
        bottom: 90px;
        left: 15px;
        right: 15px;
        transform: translateX(0);
        max-width: none;
        padding: 14px 20px;
        font-size: 0.9rem;
    }

    @keyframes toastIn {
        0% {
            opacity: 0;
            transform: translateY(30px) scale(0.9);
        }

        100% {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }

    @keyframes toastOut {
        0% {
            opacity: 1;
            transform: translateY(0) scale(1);
        }

        100% {
            opacity: 0;
            transform: translateY(-20px) scale(0.9);
        }
    }

    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        width: 56px;
        height: 56px;
        font-size: 26px;
    }

    .logo img {
        height: 60px;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .logo p {
        font-size: 0.7rem;
    }
}
/* ========== ALERTE DE FRAUDE - Système Anti-Fraude ========== */
.fraud-alert {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    color: white;
    padding: 20px 30px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    z-index: 10000;
    animation: slideDownFraud 0.5s ease-out, shakeFraud 0.5s ease-in-out 0.5s;
    box-shadow: 0 8px 32px rgba(255, 0, 0, 0.5);
    max-width: 90%;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    letter-spacing: 0.3px;
}

/* Animation de descente pour l'alerte de fraude */
@keyframes slideDownFraud {
    from {
        top: -100px;
        opacity: 0;
    }
    to {
        top: 20px;
        opacity: 1;
    }
}

/* Animation de secousse pour attirer l'attention */
@keyframes shakeFraud {
    0%, 100% { transform: translateX(-50%) rotate(0deg); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-50%) rotate(-2deg); }
    20%, 40%, 60%, 80% { transform: translateX(-50%) rotate(2deg); }
}

/* Version mobile de l'alerte de fraude */
@media (max-width: 768px) {
    .fraud-alert {
        padding: 16px 20px;
        font-size: 0.9rem;
        max-width: 95%;
        top: 10px;
        left: 10px;
        right: 10px;
        transform: translateX(0);
    }
    
    @keyframes slideDownFraud {
        from {
            top: -100px;
            opacity: 0;
        }
        to {
            top: 10px;
            opacity: 1;
        }
    }
    
    @keyframes shakeFraud {
        0%, 100% { transform: translateX(0) rotate(0deg); }
        10%, 30%, 50%, 70%, 90% { transform: translateX(0) rotate(-2deg); }
        20%, 40%, 60%, 80% { transform: translateX(0) rotate(2deg); }
    }
}
/* ========== FIN ALERTE DE FRAUDE ========== */

/* Alerte d'erreur IP (orange/jaune pour erreur technique) */
.fraud-alert.ip-error {
    background: linear-gradient(135deg, #ff8800 0%, #cc6600 100%);
    box-shadow: 0 8px 32px rgba(255, 136, 0, 0.5);
}
