/* ============================================
   METIKOUT ZOOM PAGE - Pessah Event
   ============================================ */

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

:root {
    --primary: #7C3AED;
    --primary-light: #A78BFA;
    --primary-dark: #5B21B6;
    --accent: #F59E0B;
    --accent-light: #FCD34D;
    --sky: #0EA5E9;
    --sky-light: #7DD3FC;
    --gold: #D4A017;
    --gold-light: #F5D76E;
    --bg: #FAFAFA;
    --text: #1F2937;
    --text-light: #6B7280;
    --white: #FFFFFF;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #E0F2FE 0%, #F0F9FF 25%, #FEF9C3 50%, #FFF7ED 75%, #F0F9FF 100%);
    background-attachment: fixed;
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(14, 165, 233, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(212, 160, 23, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

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

/* Header */
.header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.back-btn {
    color: white;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.9;
    transition: opacity 0.2s;
    font-size: 0.95rem;
}

.back-btn:hover {
    opacity: 1;
}

.back-btn .arrow {
    font-size: 1.2rem;
}

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

.logo img {
    height: 36px;
    width: auto;
}

.logo span {
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.spacer {
    width: 80px;
}

/* Hero */
.hero {
    text-align: center;
    padding: 1.8rem 0 1rem;
    border-bottom: 2px solid rgba(212, 160, 23, 0.15);
}

.hero-tag {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--gold);
    margin-bottom: 0.3rem;
}

.hero h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1.3;
    margin-bottom: 0.3rem;
}

.hero-date {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
}

/* Poster */
.poster-section {
    padding: 1.5rem 0 2.5rem;
    text-align: center;
}

.poster-wrapper {
    max-width: 500px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 3px solid rgba(212, 160, 23, 0.2);
}

.poster-image {
    width: 100%;
    height: auto;
    display: block;
}

.download-poster-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
}

.download-poster-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(124, 58, 237, 0.35);
}

/* ============================================
   Join Section — Festive Editorial Card
   ============================================ */

.join-section {
    padding: 2rem 0 2.5rem;
}

.join-card {
    position: relative;
    background:
        radial-gradient(circle at 100% 0%, rgba(245, 158, 11, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 0% 100%, rgba(124, 58, 237, 0.06) 0%, transparent 50%),
        #FFFDF7;
    border-radius: 28px;
    padding: 2.2rem 2rem 1.8rem;
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.04),
        0 12px 40px -8px rgba(120, 53, 15, 0.15),
        0 0 0 1px rgba(212, 160, 23, 0.08) inset;
    overflow: hidden;
}

.join-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--gold) 15%,
        var(--accent) 35%,
        var(--primary-light) 50%,
        var(--accent) 65%,
        var(--gold) 85%,
        transparent 100%);
    opacity: 0.85;
}

/* ===== Zoom CTA ===== */
.join-zoom {
    text-align: center;
    padding: 0.4rem 0 1.3rem;
}

.btn-join {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 40%, #3B82F6 100%);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.3px;
    padding: 17px 34px 16px;
    border-radius: 14px;
    box-shadow:
        0 1px 2px rgba(30, 58, 138, 0.3),
        0 8px 24px -4px rgba(37, 99, 235, 0.45),
        0 2px 0 rgba(255, 255, 255, 0.15) inset;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
    position: relative;
}

.btn-join::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 40%);
    pointer-events: none;
}

.btn-join:hover {
    transform: translateY(-3px) scale(1.015);
    box-shadow:
        0 2px 4px rgba(30, 58, 138, 0.35),
        0 14px 32px -4px rgba(37, 99, 235, 0.55),
        0 2px 0 rgba(255, 255, 255, 0.2) inset;
}

.btn-join:active {
    transform: translateY(-1px) scale(1);
}

.btn-icon {
    font-size: 1.25rem;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}

.btn-text {
    line-height: 1;
}

/* ===== Credentials strip (ticket style) ===== */
.creds-strip {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin: 0.4rem auto 0;
    max-width: 480px;
    background: linear-gradient(180deg, #FFFBEB 0%, #FEF3C7 100%);
    border: 1.5px dashed rgba(180, 120, 20, 0.35);
    border-radius: 16px;
    padding: 0.6rem 0.3rem;
    position: relative;
}

.creds-strip::before,
.creds-strip::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 14px;
    height: 14px;
    background: var(--bg, #FAFAFA);
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 0 1.5px rgba(180, 120, 20, 0.35) inset;
}

.creds-strip::before { left: -7px; }
.creds-strip::after { right: -7px; }

.cred-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.5rem;
    gap: 0.25rem;
}

.cred-divider {
    width: 1px;
    background: repeating-linear-gradient(
        to bottom,
        rgba(180, 120, 20, 0.35) 0,
        rgba(180, 120, 20, 0.35) 4px,
        transparent 4px,
        transparent 8px
    );
}

.cred-tag {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: #92400E;
    opacity: 0.85;
}

.cred-num {
    font-family: 'Courier New', 'Consolas', monospace;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #451A03;
    line-height: 1;
}

.code-block {
    background: linear-gradient(135deg, #FCD34D 0%, #F59E0B 100%);
    border-radius: 10px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.5) inset,
        0 3px 8px -2px rgba(180, 120, 20, 0.35);
    padding: 0.55rem 0.6rem;
}

.code-block .cred-tag {
    color: #78350F;
    opacity: 1;
}

.code-num {
    font-size: 2rem !important;
    font-weight: 800 !important;
    letter-spacing: 3px !important;
    color: #451A03 !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* ===== Divider "ou par téléphone" ===== */
.section-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.8rem 0 1.3rem;
    text-align: center;
}

.section-divider::before,
.section-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(120, 53, 15, 0.18), transparent);
}

.section-divider span {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #92400E;
    opacity: 0.7;
    white-space: nowrap;
}

/* ===== Phone section ===== */
.join-phone {
    padding: 0 0.2rem;
}

.phone-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 1.2rem;
}

.phone-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #FFFFFF;
    border: 1.5px solid rgba(16, 185, 129, 0.18);
    border-radius: 14px;
    padding: 13px 14px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.22s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.phone-btn:hover {
    border-color: rgba(16, 185, 129, 0.45);
    background: linear-gradient(135deg, #ECFDF5, #FFFFFF);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -6px rgba(16, 185, 129, 0.2);
}

.phone-btn .flag-emoji {
    font-family: 'Noto Color Emoji', 'Segoe UI Emoji', sans-serif;
    font-size: 1.7rem;
    line-height: 1;
}

.phone-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.phone-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #059669;
}

.phone-num {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.3px;
    white-space: nowrap;
}

/* ===== Dial steps ===== */
.dial-steps {
    background: rgba(255, 251, 235, 0.5);
    border-left: 3px solid var(--gold);
    border-radius: 0 12px 12px 0;
    padding: 0.9rem 1rem 0.9rem 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.step {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: #451A03;
    line-height: 1.35;
}

.step-num {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, #F59E0B, #D4A017);
    color: white;
    font-weight: 800;
    font-size: 0.78rem;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(180, 120, 20, 0.3);
}

.step code {
    display: inline-block;
    font-family: 'Courier New', 'Consolas', monospace;
    font-size: 0.82rem;
    font-weight: 700;
    background: #FFFFFF;
    color: #451A03;
    padding: 2px 8px;
    border-radius: 5px;
    border: 1px solid rgba(180, 120, 20, 0.2);
    margin: 0 2px;
    letter-spacing: 0.5px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

/* ===== Responsive ===== */
@media (max-width: 600px) {
    .join-card {
        padding: 1.8rem 1.2rem 1.5rem;
        border-radius: 22px;
    }

    .btn-join {
        font-size: 1rem;
        padding: 15px 26px 14px;
    }

    .creds-strip {
        max-width: 100%;
    }

    .cred-num {
        font-size: 1.05rem;
        letter-spacing: 1px;
    }

    .code-num {
        font-size: 1.65rem !important;
        letter-spacing: 2.5px !important;
    }

    .phone-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .phone-btn {
        padding: 14px 16px;
    }

    .step {
        font-size: 0.85rem;
    }
}

.coming-soon-card {
    background: linear-gradient(135deg, #FFFDF7 0%, #FEF9C3 100%);
    border-radius: 20px;
    padding: 2.5rem 1.8rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 2px dashed rgba(212, 160, 23, 0.35);
}

.coming-soon-icon {
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 0.8rem;
    filter: drop-shadow(0 4px 8px rgba(180, 120, 20, 0.2));
}

.coming-soon-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    letter-spacing: 0.3px;
}

.coming-soon-text {
    font-size: 1.05rem;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 0.8rem;
}

.coming-soon-text strong {
    color: var(--gold);
    font-weight: 700;
}

.coming-soon-event {
    display: inline-block;
    margin-top: 0.4rem;
    font-size: 0.95rem;
    color: var(--primary-dark);
    font-weight: 600;
}

.coming-soon-hint {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

.hero-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 0.6rem;
    padding: 6px 16px;
    background: linear-gradient(135deg, #991B1B, #DC2626);
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
    animation: liveBlink 1.6s infinite;
}

@keyframes liveBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.75; }
}

.hero-prelude {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light);
    margin-top: 0.25rem;
    letter-spacing: 0.2px;
}

.phone-grid-single {
    grid-template-columns: 1fr !important;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

.connection-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.connection-card {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    text-align: center;
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 0.3rem;
}

.connection-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

/* Zoom card */
.zoom-card {
    border: 2px solid rgba(14, 165, 233, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.zoom-placeholder {
    background: linear-gradient(135deg, #E0F2FE, #F0F9FF);
    padding: 12px 16px;
    border-radius: 10px;
    color: var(--sky);
    font-weight: 600;
    font-size: 0.9rem;
}

.zoom-btn {
    display: inline-block;
    background: linear-gradient(135deg, #2563EB, #3B82F6);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    padding: 12px 28px;
    border-radius: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.zoom-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.zoom-id {
    margin-top: 0.4rem;
    font-size: 0.85rem;
}

.zoom-id .label {
    color: var(--text-light);
}

.zoom-id .value {
    font-weight: 700;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

/* Phone card */
.phone-card {
    border: 2px solid rgba(16, 185, 129, 0.15);
}

.phone-numbers {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.phone-line {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #ECFDF5, #F0FDF4);
    padding: 10px 14px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text);
    transition: transform 0.2s;
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.phone-line:hover {
    transform: translateY(-1px);
}

.flag-emoji {
    font-family: 'Noto Color Emoji', 'Segoe UI Emoji', sans-serif;
    font-size: 1.3rem;
}

.number {
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1F2937 0%, #374151 100%);
    color: var(--white);
    padding: 3rem 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 2rem;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent, #F59E0B), var(--primary));
}

.footer-copy {
    margin-bottom: 1rem;
    opacity: 0.9;
    font-size: 1rem;
}

.footer-message {
    font-weight: 700;
    font-size: 1.2rem;
    background: linear-gradient(90deg, #FCD34D, #F59E0B, #FCD34D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

    .poster-wrapper {
        max-width: 100%;
        border-radius: 16px;
    }

    .connection-row {
        grid-template-columns: 1fr;
    }

    .spacer {
        width: 40px;
    }
}
