/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #D4AF37;
    --gold-light: #F4E4BC;
    --gold-dark: #B8860B;
    --black: #0a0a0a;
    --black-light: #1a1a1a;
    --white: #f5f5f5;
    --brown: #8B4513;
    --leopard: #C4A35A;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--black);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.gold {
    color: var(--gold);
    font-weight: 700;
}

/* ===== PARTICULES DORÉES ===== */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    animation: float 6s infinite;
}

@keyframes float {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1200 50%, #0a0a0a 100%);
    overflow: hidden;
}

.leopard-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D4AF37' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.6;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
}

.badge-18 {
    display: inline-block;
    border: 2px solid var(--gold);
    color: var(--gold);
    padding: 8px 24px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 30px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 10px rgba(212, 175, 55, 0.3); }
    50% { box-shadow: 0 0 25px rgba(212, 175, 55, 0.6); }
}

.guest-name {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 400;
    font-style: italic;
    color: var(--gold-light);
    margin-bottom: 10px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.3s;
}

.title-main {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 8px;
    text-transform: uppercase;
    margin-bottom: 15px;
    text-shadow: 0 0 40px rgba(212, 175, 55, 0.4);
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.6s;
}

.subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--gold-light);
    opacity: 0.8;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.9s;
}

.date-block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 1.2s;
}

.separator {
    color: var(--gold);
    font-size: 1.5rem;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 1.5s;
}

.countdown div {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 70px;
}

.countdown span:first-child {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gold);
    font-family: 'Playfair Display', serif;
}

.countdown small {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-light);
    opacity: 0.7;
}

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

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

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

/* ===== SECTIONS COMMUNES ===== */
section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--gold);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 15px auto 0;
}

/* ===== INFO SECTION ===== */
.info-section {
    background: var(--black-light);
}

.info-card {
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.info-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--white);
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== DRESS CODE ===== */
.dresscode-section {
    background: var(--black);
}

.color-options {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.color-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease;
}

.color-card:hover {
    transform: translateY(-10px);
}

.color-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.color-card.black .color-circle { background: #1a1a1a; }
.color-card.white .color-circle { background: #f5f5f5; }
.color-card.brown .color-circle { background: var(--brown); }

.color-card span {
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.dresscode-note {
    text-align: center;
    font-size: 1.1rem;
    font-style: italic;
    color: #aaa;
    margin-top: 20px;
}

/* ===== RÈGLES ===== */
.rules-section {
    background: linear-gradient(180deg, var(--black) 0%, #0f0f0f 100%);
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.rule-item {
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.rule-item:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.1);
}

.rule-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.rule-item h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--gold);
    margin-bottom: 15px;
}

.rule-item p {
    color: #aaa;
    font-size: 0.95rem;
}

/* ===== PROGRAMME ===== */
.program-section {
    background: var(--black-light);
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.program-item {
    text-align: center;
    padding: 40px 30px;
    background: linear-gradient(145deg, rgba(212,175,55,0.08), rgba(0,0,0,0.3));
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.3s ease;
}

.program-item:hover {
    border-color: var(--gold);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.15);
}

.program-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.program-item h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--gold);
    margin-bottom: 10px;
}

.program-item p {
    color: #bbb;
    font-size: 0.95rem;
}

/* ===== PLAYLIST ===== */
.playlist-section {
    background: var(--black);
    text-align: center;
}

.playlist-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.genre-tag {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: default;
}

.genre-tag:hover {
    background: var(--gold);
    color: var(--black);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.genre-tag.slow {
    background: rgba(255, 100, 100, 0.1);
    border-color: #ff6464;
    color: #ff6464;
    animation: pulse-slow 2s infinite;
}

.genre-tag.slow:hover {
    background: #ff6464;
    color: white;
}

@keyframes pulse-slow {
    0%, 100% { box-shadow: 0 0 5px rgba(255, 100, 100, 0.3); }
    50% { box-shadow: 0 0 20px rgba(255, 100, 100, 0.6); }
}

.playlist-joke {
    font-style: italic;
    color: #888;
    font-size: 1rem;
    line-height: 1.8;
}

/* ===== AMBIANCE ===== */
.ambiance-section {
    background: linear-gradient(180deg, #0f0f0f 0%, var(--black-light) 100%);
}

.ambiance-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 600px;
    margin: 0 auto;
}

.ambiance-item {
    display: flex;
    align-items: center;
    gap: 25px;
    background: rgba(212, 175, 55, 0.03);
    padding: 25px 30px;
    border-radius: 15px;
    border-left: 3px solid var(--gold);
}

.ambiance-emoji {
    font-size: 2rem;
    flex-shrink: 0;
}

.ambiance-item p {
    color: #ccc;
    font-size: 1rem;
}

/* ===== RSVP ===== */
.rsvp-section {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1200 50%, #0a0a0a 100%);
    text-align: center;
    padding: 100px 0;
}

.rsvp-subtitle {
    color: #aaa;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.rsvp-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.rsvp-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 50px;
    border: none;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.rsvp-btn.yes {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--black);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.rsvp-btn.yes:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.5);
}

.rsvp-btn.no {
    background: transparent;
    color: #888;
    border: 2px solid #444;
}

.rsvp-btn.no:hover {
    border-color: #666;
    color: #aaa;
    transform: translateY(-3px);
}

.btn-icon {
    font-size: 1.3rem;
}

.rsvp-result {
    font-size: 1.3rem;
    font-weight: 600;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rsvp-result.success {
    color: var(--gold);
    animation: fadeInUp 0.5s ease;
}

.rsvp-result.danger {
    color: #ff6464;
    animation: fadeInUp 0.5s ease;
}

.reminder-box {
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 15px;
    padding: 30px;
    max-width: 500px;
    margin: 30px auto 0;
    animation: fadeInUp 0.6s ease;
}

.reminder-box h4 {
    color: var(--gold);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.reminder-box p {
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== FOOTER ===== */
.footer {
    background: #050505;
    padding: 60px 0 40px;
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--gold);
    letter-spacing: 8px;
    margin-bottom: 15px;
}

.footer-text {
    color: #666;
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-leopard {
    color: var(--gold);
    font-size: 1.2rem;
    letter-spacing: 10px;
    margin-bottom: 20px;
    opacity: 0.6;
}

.footer-credit {
    color: #444;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .title-main {
        letter-spacing: 4px;
    }

    .guest-name {
        font-size: 1.5rem;
    }

    .countdown {
        gap: 15px;
    }

    .countdown span:first-child {
        font-size: 1.8rem;
    }

    .countdown small {
        font-size: 0.6rem;
    }

    .date-block {
        flex-direction: column;
        gap: 10px;
    }

    .rsvp-buttons {
        flex-direction: column;
        align-items: center;
    }

    .rsvp-btn {
        width: 250px;
        justify-content: center;
    }

    .color-options {
        gap: 25px;
    }

    .color-circle {
        width: 60px;
        height: 60px;
    }

    section {
        padding: 60px 0;
    }

    .info-card {
        padding: 35px 25px;
    }

    .ambiance-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .title-main {
        font-size: 2.5rem;
        letter-spacing: 3px;
    }

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

    .countdown div {
        min-width: 55px;
    }
}
