/* ==========================================================================
   CONVITE INTERATIVO DE ANIVERSÁRIO - TEMA TERROR / BAR COM JASON
   Estilização 100% Vanilla CSS (Sem bibliotecas externas)
   ========================================================================== */

:root {
    --bg-dark: #080708;
    --bg-card: rgba(20, 16, 19, 0.85);
    --border-blood: #800f2f;
    --red-neon: #ff4d6d;
    --red-blood: #a71d2a;
    --amber-beer: #ffb703;
    --amber-glow: #fb8500;
    --text-light: #f8f9fa;
    --text-muted: #adb5bd;

    /* Fontes Temáticas de Terror & Suspense (Google Fonts) */
    --font-horror: 'Creepster', cursive, sans-serif;
    --font-slasher: 'Butcherman', cursive, sans-serif;
    --font-gothic: 'Metal Mania', 'Creepster', cursive, serif;
    --font-suspense: 'Special Elite', monospace, cursive, sans-serif;
    --font-heading: 'Creepster', cursive, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    /* Cursor Personalizado de Faca Macabra */
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" style="font-size: 26px;"><text y="26">🔪</text></svg>'), auto;
}

/* Os botões também devem ter o cursor customizado de ponteiro ou faca ensanguentada */
a,
button,
input[type="radio"],
input[type="checkbox"] {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" style="font-size: 26px;"><text y="26">🩸</text></svg>'), pointer;
}

/* Canvas para Partículas de Sangue no Cursor */
#bloodCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
}

/* Fundo com Névoa Flutuante (Aceleração por GPU) */
.fog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(167, 29, 42, 0.08) 0%, rgba(8, 7, 8, 0.95) 70%),
        radial-gradient(circle at 80% 20%, rgba(255, 183, 3, 0.05) 0%, transparent 50%);
    animation: fogMove 25s linear infinite alternate;
    pointer-events: none;
    z-index: -1;
    will-change: transform;
    transform: translate3d(0, 0, 0);
}

@keyframes fogMove {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-10%, -10%, 0);
    }
}

/* Camada de Clarão de Relâmpagos (Disparados via JS em Intervalos Aleatórios entre 5s e 10s) */
.lightning-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 50% 30%, rgba(220, 235, 255, 0.7) 0%, rgba(255, 77, 109, 0.3) 55%, transparent 90%);
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 9998;
    opacity: 0;
    will-change: opacity, transform;
}

.lightning-overlay.flash {
    animation: lightningStrike 0.6s linear forwards;
}

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

    15% {
        opacity: 0.9;
        transform: scale(1.02);
    }

    30% {
        opacity: 0.1;
        transform: scale(1);
    }

    45% {
        opacity: 1;
        transform: scale(1.04);
    }

    60% {
        opacity: 0.15;
        transform: scale(1.01);
    }

    75% {
        opacity: 0.8;
        transform: scale(1.03);
    }

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

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

/* Hero Header */
.hero {
    text-align: center;
    padding: 40px 20px 20px;
    position: relative;
}

.badge-age {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #a71d2a 0%, #800f2f 45%, #2a050e 100%);
    color: #fff;
    padding: 10px 32px;
    border-radius: 40px;
    font-family: var(--font-horror);
    font-size: 1.65rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    box-shadow: 0 0 25px rgba(255, 77, 109, 0.7), 0 0 50px rgba(167, 29, 42, 0.4), inset 0 0 15px rgba(255, 77, 109, 0.4);
    margin-bottom: 20px;
    border: 2px solid var(--red-neon);
    animation: bloodPulseBadge 3s infinite alternate ease-in-out;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.9), 0 0 25px var(--red-neon);
    position: relative;
    overflow: hidden;
}

.badge-age::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    animation: badgeShine 3.5s infinite;
}

.badge-age i {
    color: var(--amber-beer);
    font-size: 1.3rem;
    filter: drop-shadow(0 0 8px rgba(255, 183, 3, 0.9));
    animation: skullBob 2.5s infinite ease-in-out;
}

@keyframes bloodPulseBadge {
    0% {
        box-shadow: 0 0 20px rgba(255, 77, 109, 0.6), 0 0 40px rgba(167, 29, 42, 0.3), inset 0 0 10px rgba(255, 77, 109, 0.3);
        transform: scale(1);
    }

    100% {
        box-shadow: 0 0 35px rgba(255, 77, 109, 0.95), 0 0 60px rgba(255, 0, 50, 0.6), inset 0 0 20px rgba(255, 77, 109, 0.6);
        transform: scale(1.04);
        border-color: #ff758f;
    }
}

@keyframes badgeShine {

    0%,
    40% {
        left: -100%;
    }

    70%,
    100% {
        left: 150%;
    }
}

@keyframes skullBob {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-3px) rotate(-10deg);
    }

    75% {
        transform: translateY(-3px) rotate(10deg);
    }
}

.main-title {
    font-family: var(--font-horror);
    font-size: 4rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 10px;
    text-shadow: 0 0 15px var(--red-blood), 0 0 30px var(--red-neon);
    animation: neonFlicker 3s infinite alternate;
}

@keyframes neonFlicker {

    0%,
    19%,
    21%,
    23%,
    25%,
    54%,
    56%,
    100% {
        text-shadow: 0 0 15px var(--red-neon), 0 0 30px var(--red-blood), 0 0 45px var(--red-blood);
        opacity: 1;
    }

    20%,
    24%,
    55% {
        text-shadow: none;
        opacity: 0.6;
    }
}

.sub-title {
    font-family: var(--font-suspense);
    font-size: 1.45rem;
    color: var(--amber-beer);
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 12px rgba(255, 183, 3, 0.7), 0 0 25px rgba(251, 133, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.sub-title i {
    filter: drop-shadow(0 0 6px rgba(255, 183, 3, 0.6));
}

.hero-invitation {
    max-width: 720px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, rgba(28, 12, 20, 0.85) 0%, rgba(12, 8, 14, 0.95) 100%);
    border: 1px solid rgba(255, 77, 109, 0.3);
    border-left: 4px solid var(--amber-beer);
    border-right: 4px solid var(--red-blood);
    border-radius: 12px;
    padding: 18px 24px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6), inset 0 0 15px rgba(167, 29, 42, 0.2);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    position: relative;
}

.hero-invitation p {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

.hero-invitation strong {
    color: var(--amber-beer);
    font-weight: 600;
}

/* Arte do Convite (Aniversariante & Jason no Bar) */
.art-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9), 0 0 20px rgba(167, 29, 42, 0.3);
    border: 2px solid var(--border-blood);
    margin-bottom: 40px;
    background: #000;
}

.art-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease, filter 0.3s ease;
}

.art-card:hover .art-image {
    transform: scale(1.02);
    animation: glitchImage 0.4s cubic-bezier(.25, .46, .45, .94) both infinite;
}

@keyframes glitchImage {
    0% {
        filter: invert(0) drop-shadow(0 0 0 transparent);
        transform: translate(0) scale(1.02);
    }

    20% {
        filter: invert(10%) drop-shadow(3px 0 0 var(--red-neon));
        transform: translate(-2px, 1px) scale(1.02);
    }

    40% {
        filter: invert(0) drop-shadow(-3px 0 0 var(--amber-beer));
        transform: translate(2px, -1px) scale(1.02);
    }

    60% {
        filter: invert(20%) sepia(1) hue-rotate(-50deg) saturate(3);
        transform: translate(-1px, 2px) scale(1.02);
    }

    80% {
        filter: invert(0);
        transform: translate(1px, -2px) scale(1.02);
    }

    100% {
        filter: invert(0);
        transform: translate(0) scale(1.02);
    }
}

.art-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent);
    padding: 20px;
    text-align: center;
    font-family: var(--font-suspense);
    font-size: 1.15rem;
    color: var(--amber-beer);
    letter-spacing: 1px;
}

/* Cards Estilizados */
.card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 35px;
    border: 1px solid rgba(255, 77, 109, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.7);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    position: relative;
}

.tilt-card {
    transform-style: preserve-3d;
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.2s ease;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--red-blood), var(--amber-beer), transparent);
}

.card-title {
    font-family: var(--font-horror);
    font-size: 2.2rem;
    color: var(--red-neon);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 14px;
    border-bottom: 1px solid rgba(255, 77, 109, 0.25);
    padding-bottom: 14px;
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(255, 77, 109, 0.5), 0 0 25px rgba(167, 29, 42, 0.7);
}

.card-title i {
    filter: drop-shadow(0 0 8px currentColor);
}

/* Grid e Cards Elaborados de Informações do Evento em 2 Níveis */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-bottom: 25px;
    align-items: stretch;
}

.info-item {
    background: linear-gradient(145deg, rgba(30, 14, 22, 0.85) 0%, rgba(12, 10, 14, 0.95) 100%);
    border: 1px solid rgba(255, 77, 109, 0.3);
    border-radius: 14px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), inset 0 0 15px rgba(167, 29, 42, 0.15);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--red-blood), var(--amber-beer), var(--red-neon));
    opacity: 0.8;
}

.info-item:hover {
    transform: translateY(-5px) scale(1.015);
    border-color: var(--red-neon);
    box-shadow: 0 15px 35px rgba(167, 29, 42, 0.4), 0 0 25px rgba(255, 77, 109, 0.3), inset 0 0 20px rgba(255, 77, 109, 0.2);
}

/* Nível 1: Cabeçalho com Ícone e Título centralizados ocupando 100% da largura */
.info-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    border-bottom: 1px solid rgba(255, 77, 109, 0.18);
    padding-bottom: 12px;
    text-align: center;
}

.info-icon-wrapper {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    background: radial-gradient(circle, rgba(167, 29, 42, 0.35) 0%, rgba(20, 10, 15, 0.9) 100%);
    border: 1px solid var(--border-blood);
    box-shadow: 0 0 15px rgba(255, 77, 109, 0.25);
    transition: all 0.35s ease;
}

.info-item:hover .info-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 25px rgba(255, 77, 109, 0.6);
}

.info-label {
    font-family: var(--font-suspense);
    font-size: 0.95rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    text-align: center;
}

/* Nível 2: Corpo com Informações e Balão Complementar centralizados ocupando 100% da largura */
.info-body {
    display: flex;
    flex-direction: column;
    width: 100%;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    gap: 12px;
}

.info-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-light);
    line-height: 1.4;
    text-align: center;
    width: 100%;
}

.info-value-location {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.location-street {
    white-space: nowrap;
    font-size: 1rem;
    color: var(--text-light);
    display: block;
}

.location-neighborhood {
    font-size: 0.95rem;
    color: #e0d0d5;
    font-weight: 500;
    display: block;
}

.info-highlight-terror {
    color: var(--red-neon);
    font-family: var(--font-horror);
    font-size: 1.45rem;
    letter-spacing: 2px;
    text-shadow: 0 0 12px rgba(255, 77, 109, 0.6);
    text-align: center;
    width: 100%;
}

.info-sub-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    gap: 8px;
    margin-top: auto;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-family: var(--font-suspense);
    font-weight: 600;
    text-align: center;
}

/* Variações de Cores dos Cards */
.info-item-datetime {
    border-left: 4px solid var(--amber-beer);
}

.info-item-datetime .info-icon-wrapper {
    color: var(--amber-beer);
    border-color: rgba(255, 183, 3, 0.4);
    box-shadow: 0 0 15px rgba(255, 183, 3, 0.25);
}

.info-item-datetime .info-header {
    border-bottom-color: rgba(255, 183, 3, 0.2);
}

.info-item-location {
    border-left: 4px solid var(--red-neon);
}

.info-item-location .info-icon-wrapper {
    color: var(--red-neon);
    border-color: rgba(255, 77, 109, 0.4);
}

.info-item-location .info-header {
    border-bottom-color: rgba(255, 77, 109, 0.2);
}

.info-item-dresscode {
    border-left: 4px solid #ff0055;
    background: linear-gradient(145deg, rgba(45, 12, 25, 0.9) 0%, rgba(15, 8, 14, 0.95) 100%);
}

.info-item-dresscode .info-icon-wrapper {
    color: #ff4d6d;
    border-color: rgba(255, 0, 85, 0.5);
    box-shadow: 0 0 18px rgba(255, 77, 109, 0.4);
}

.info-item-dresscode .info-header {
    border-bottom-color: rgba(255, 0, 85, 0.25);
}

.info-sub-badge-amber {
    background: rgba(255, 183, 3, 0.15);
    color: var(--amber-beer);
    border: 1px solid rgba(255, 183, 3, 0.35);
    box-shadow: 0 0 8px rgba(255, 183, 3, 0.15);
}

.info-sub-badge-muted {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.info-sub-badge-blood {
    background: rgba(255, 77, 109, 0.2);
    color: #ff758f;
    border: 1px solid rgba(255, 77, 109, 0.45);
    box-shadow: 0 0 10px rgba(255, 77, 109, 0.25);
    animation: terrorPulse 2s infinite alternate;
}

@keyframes terrorPulse {
    0% {
        box-shadow: 0 0 8px rgba(255, 77, 109, 0.2);
    }

    100% {
        box-shadow: 0 0 16px rgba(255, 77, 109, 0.5);
    }
}


/* Container e Placeholder do Mapa (Carregamento Otimizado) */
.map-container {
    margin-top: 20px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--border-blood);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    background: #0c080b;
    min-height: 250px;
    position: relative;
}

.map-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    padding: 30px 20px;
    text-align: center;
    background: radial-gradient(circle, rgba(35, 12, 22, 0.9) 0%, rgba(10, 8, 12, 0.98) 100%);
}

.map-placeholder-icon {
    font-size: 2.8rem;
    color: var(--red-neon);
    margin-bottom: 12px;
    filter: drop-shadow(0 0 15px rgba(255, 77, 109, 0.6));
    animation: iconPulse 2s infinite alternate ease-in-out;
}

.map-placeholder-title {
    font-family: var(--font-suspense);
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.btn-load-map {
    background: linear-gradient(135deg, var(--red-blood), #4a0e17);
    color: #fff;
    border: 1px solid var(--red-neon);
    padding: 10px 22px;
    border-radius: 8px;
    font-family: var(--font-suspense);
    font-size: 0.95rem;
    font-weight: bold;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(167, 29, 42, 0.4);
    transition: all 0.3s ease;
}

.btn-load-map:hover {
    background: linear-gradient(135deg, #a71d2a, var(--red-neon));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 77, 109, 0.6);
}

@keyframes iconPulse {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.map-container iframe {
    width: 100%;
    height: 350px;
    display: block;
    border: 0;
}

/* Botões GPS */
.gps-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.btn-gps {
    flex: 1;
    min-width: 200px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-family: var(--font-suspense);
    font-weight: bold;
    font-size: 1rem;
    color: #fff;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-gmaps {
    background: linear-gradient(135deg, #4a0e17, #800f2f);
    border: 1px solid var(--red-neon);
    box-shadow: 0 4px 15px rgba(167, 29, 42, 0.4);
    color: #fff;
}

.btn-gmaps:hover {
    background: linear-gradient(135deg, #a71d2a, #ff4d6d);
    box-shadow: 0 6px 20px rgba(255, 77, 109, 0.6);
    transform: translateY(-2px);
}

.btn-waze {
    background: linear-gradient(135deg, #78350f, #b45309);
    border: 1px solid var(--amber-beer);
    box-shadow: 0 4px 15px rgba(255, 183, 3, 0.3);
    color: #fff;
}

.btn-waze:hover {
    background: linear-gradient(135deg, #d97706, #ffb703);
    box-shadow: 0 6px 20px rgba(255, 183, 3, 0.6);
    color: #000;
    transform: translateY(-2px);
}

/* Contador Regressivo (Desktop & Geral: Destaque Dias + Bloco Único HH:MM:SS) */
.countdown-container {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 18px;
    align-items: stretch;
    margin: 20px 0;
}

.count-box-days {
    background: linear-gradient(145deg, rgba(45, 16, 26, 0.85) 0%, rgba(14, 8, 14, 0.95) 100%);
    border: 2px solid var(--amber-beer);
    border-radius: 14px;
    padding: 18px 15px;
    box-shadow: 0 0 25px rgba(255, 183, 3, 0.25), inset 0 0 20px rgba(167, 29, 42, 0.25);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.count-box-days .count-num {
    font-family: var(--font-horror);
    font-size: 3.8rem;
    color: var(--amber-beer);
    line-height: 1;
    text-shadow: 0 0 20px rgba(255, 183, 3, 0.8), 0 0 35px rgba(251, 133, 0, 0.5);
}

.count-box-days .count-label {
    font-family: var(--font-suspense);
    font-size: 0.9rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: bold;
    margin-top: 6px;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

/* Bloco Único HH:MM:SS */
.count-time-group {
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid var(--border-blood);
    border-radius: 14px;
    padding: 18px 12px;
    box-shadow: inset 0 0 20px rgba(167, 29, 42, 0.35), 0 8px 25px rgba(0, 0, 0, 0.7);
}

.count-box-time {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 8px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.count-box-time .count-num {
    font-family: var(--font-horror);
    font-size: 3rem;
    color: var(--red-neon);
    line-height: 1;
    text-shadow: 0 0 16px rgba(255, 77, 109, 0.7);
}

.count-box-time .count-label {
    font-family: var(--font-suspense);
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 6px;
}

.count-time-separator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-horror);
    font-size: 2.6rem;
    color: var(--amber-beer);
    line-height: 1;
    opacity: 0.9;
    text-shadow: 0 0 10px rgba(255, 183, 3, 0.7);
    animation: timeBlink 1s infinite;
    user-select: none;
    margin-bottom: 18px;
}

@keyframes timeBlink {

    0%,
    49% {
        opacity: 0.9;
    }

    50%,
    100% {
        opacity: 0.25;
    }
}

.deadline-notice {
    text-align: center;
    background: rgba(167, 29, 42, 0.2);
    border: 1px dashed var(--red-neon);
    padding: 12px 15px;
    border-radius: 8px;
    font-family: var(--font-suspense);
    font-size: 0.95rem;
    color: var(--red-neon);
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Formulário RSVP */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--text-light);
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--red-neon);
    box-shadow: 0 0 10px rgba(255, 77, 109, 0.4);
}

textarea.form-control {
    resize: vertical;
    min-height: 90px;
}

/* Radio Cards (Status) */
.status-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.status-option {
    position: relative;
}

.status-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.status-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
}

.status-option input[value="confirmado"]:checked+.status-card {
    border-color: var(--red-neon);
    background: rgba(167, 29, 42, 0.35);
    box-shadow: 0 0 15px rgba(255, 77, 109, 0.4);
    color: #fff;
}

.status-option input[value="ausente"]:checked+.status-card {
    border-color: #f3e5ab;
    background: rgba(243, 229, 171, 0.16);
    box-shadow: 0 0 18px rgba(243, 229, 171, 0.4), inset 0 0 10px rgba(243, 229, 171, 0.1);
    color: #fff8dc;
}

.status-option input[value="ausente"]:checked+.status-card i {
    color: #f3e5ab !important;
}

/* Grid de Contadores de Acompanhantes */
.guest-counts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Seletor de Quantidade com Botões + e - (Number Stepper) */
.number-stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 77, 109, 0.35);
    border-radius: 10px;
    padding: 6px;
    box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.8);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.number-stepper:focus-within {
    border-color: var(--red-neon);
    box-shadow: 0 0 15px rgba(255, 77, 109, 0.35);
}

.btn-step {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: linear-gradient(135deg, rgba(50, 15, 28, 0.95) 0%, rgba(20, 10, 16, 0.98) 100%);
    border: 1px solid rgba(255, 77, 109, 0.45);
    border-radius: 8px;
    color: var(--amber-beer);
    font-size: 1.25rem;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.btn-step:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--red-blood), var(--red-neon));
    color: #fff;
    border-color: var(--red-neon);
    transform: scale(1.08);
    box-shadow: 0 0 15px rgba(255, 77, 109, 0.6);
}

.btn-step:active:not(:disabled) {
    transform: scale(0.94);
}

.btn-step:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    border-color: rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    background: rgba(25, 25, 25, 0.4);
    transform: none;
    box-shadow: none;
}

.stepper-input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-family: var(--font-horror);
    font-size: 2.2rem;
    text-align: center;
    font-weight: bold;
    padding: 0 5px;
    line-height: 1;
    pointer-events: none;
    text-shadow: 0 0 10px rgba(255, 183, 3, 0.6);
}

.stepper-input::-webkit-outer-spin-button,
.stepper-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.stepper-input[type=number] {
    -moz-appearance: textfield;
}

/* Botão Submit */
.btn-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--red-blood), #590d22);
    color: #fff;
    border: 2px solid var(--red-neon);
    border-radius: 10px;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    box-shadow: 0 6px 20px rgba(167, 29, 42, 0.5);
    margin-top: 10px;
    position: relative;
    overflow: hidden;
    animation: heartPulse 2s infinite;
}

@keyframes heartPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 6px 20px rgba(167, 29, 42, 0.5);
    }

    15% {
        transform: scale(1.03);
        box-shadow: 0 6px 30px rgba(255, 77, 109, 0.8);
    }

    30% {
        transform: scale(1);
        box-shadow: 0 6px 20px rgba(167, 29, 42, 0.5);
    }

    45% {
        transform: scale(1.03);
        box-shadow: 0 6px 30px rgba(255, 77, 109, 0.8);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 6px 20px rgba(167, 29, 42, 0.5);
    }
}

.btn-submit:hover {
    background: linear-gradient(135deg, var(--red-neon), var(--red-blood));
    animation: shake 0.5s cubic-bezier(.36, .07, .19, .97) both;
}

@keyframes shake {

    10%,
    90% {
        transform: translate3d(-1px, 0, 0);
    }

    20%,
    80% {
        transform: translate3d(2px, 0, 0);
    }

    30%,
    50%,
    70% {
        transform: translate3d(-4px, 0, 0);
    }

    40%,
    60% {
        transform: translate3d(4px, 0, 0);
    }
}

.btn-submit:disabled {
    background: #333;
    border-color: #555;
    color: #888;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* Modal Geral */
.modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-backdrop.active {
    display: flex;
}

.modal-content {
    background: #141013;
    border: 2px solid var(--red-neon);
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    padding: 30px;
    position: relative;
    box-shadow: 0 0 30px rgba(255, 77, 109, 0.4);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

.modal-close:hover {
    color: var(--red-neon);
    transform: scale(1.15);
}

/* Tipografia dos Modais de Alerta e Painel de Controle */
.modal-title {
    font-family: var(--font-horror);
    font-size: 2.2rem;
    letter-spacing: 2px;
    color: var(--red-neon);
    text-align: center;
    margin-bottom: 15px;
    text-shadow: 0 0 15px rgba(255, 77, 109, 0.5);
}

.modal-title-admin {
    color: var(--amber-beer);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 2rem;
    text-shadow: 0 0 15px rgba(255, 183, 3, 0.5);
}

/* Sucesso RSVP Modal */
.success-icon {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 15px;
}

.success-message {
    font-family: var(--font-suspense);
    font-size: 1.15rem;
    line-height: 1.6;
    text-align: center;
    color: var(--amber-beer);
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

/* Formulário de Login do Painel Admin */
.admin-login-desc {
    font-family: var(--font-suspense);
    margin-bottom: 15px;
    color: var(--text-muted);
    font-size: 1rem;
    text-align: center;
}

.admin-login-error {
    font-family: var(--font-suspense);
    color: var(--red-neon);
    margin-top: 12px;
    text-align: center;
    font-weight: bold;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    display: none;
}

/* Tabela e Métricas do Admin */
.admin-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.metric-card {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 77, 109, 0.25);
    padding: 14px 10px;
    border-radius: 10px;
    text-align: center;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.7);
}

.metric-num {
    font-family: var(--font-horror);
    font-size: 2.3rem;
    font-weight: bold;
    color: var(--amber-beer);
    line-height: 1;
    text-shadow: 0 0 10px rgba(255, 183, 3, 0.5);
}

.metric-label {
    font-family: var(--font-suspense);
    font-size: 0.82rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 6px;
}

.admin-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-section-title {
    color: var(--text-light);
    font-family: var(--font-suspense);
    font-size: 1.25rem;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}

.btn-whatsapp {
    padding: 9px 18px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-suspense);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
    transition: all 0.25s ease;
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #2ee672, #1ebea5);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.55);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 0.92rem;
}

.admin-table th,
.admin-table td {
    padding: 12px 10px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-table th {
    background: rgba(167, 29, 42, 0.35);
    color: var(--red-neon);
    font-family: var(--font-suspense);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.admin-table td {
    font-family: var(--font-body);
}

.badge-status {
    padding: 4px 10px;
    border-radius: 6px;
    font-family: var(--font-suspense);
    font-weight: bold;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.status-sim {
    background: rgba(46, 125, 50, 0.35);
    border: 1px solid rgba(129, 199, 132, 0.4);
    color: #81c784;
}

.status-nao {
    background: rgba(243, 229, 171, 0.15);
    border: 1px solid rgba(243, 229, 171, 0.35);
    color: #fff8dc;
}

/* Rodapé */
.footer {
    text-align: center;
    padding: 30px 20px;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-link {
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    cursor: pointer;
    font-size: 0.8rem;
    margin-top: 10px;
    display: inline-block;
}

.admin-link:hover {
    color: var(--red-neon);
}

/* Splash Screen CSS */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: opacity 1.5s ease, visibility 1.5s ease;
}

.splash-content {
    max-width: 700px;
    padding: 20px;
}

.splash-mask {
    width: 320px;
    height: auto;
    max-width: 100%;
    margin-bottom: 25px;
    filter: drop-shadow(0 0 30px rgba(255, 77, 109, 0.75)) drop-shadow(0 0 60px rgba(167, 29, 42, 0.55));
    animation: maskFloat 3s infinite ease-in-out alternate;
    display: inline-block;
}

@keyframes maskFloat {
    0% {
        transform: translateY(0) rotate(-2deg) scale(1);
        filter: drop-shadow(0 0 20px rgba(255, 77, 109, 0.6)) drop-shadow(0 0 40px rgba(167, 29, 42, 0.4));
    }

    100% {
        transform: translateY(-12px) rotate(2deg) scale(1.05);
        filter: drop-shadow(0 0 35px rgba(255, 77, 109, 0.95)) drop-shadow(0 0 60px rgba(255, 0, 50, 0.6));
    }
}

.splash-title {
    font-family: var(--font-horror);
    font-size: 4.2rem;
    color: var(--red-blood);
    text-transform: uppercase;
    margin-bottom: 12px;
    text-shadow: 0 0 20px var(--red-blood), 0 0 40px var(--red-neon);
    animation: neonFlicker 2s infinite alternate;
    letter-spacing: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.splash-subtitle {
    font-family: var(--font-suspense);
    color: var(--text-muted);
    font-size: 1.25rem;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.btn-splash {
    background: transparent;
    border: 2px solid var(--red-neon);
    color: var(--red-neon);
    padding: 15px 30px;
    font-size: 1.6rem;
    font-family: var(--font-horror);
    letter-spacing: 2px;
    border-radius: 10px;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" style="font-size: 26px;"><text y="26">🩸</text></svg>'), pointer;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px var(--red-neon);
    box-shadow: 0 0 15px rgba(255, 77, 109, 0.2) inset;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-splash:hover {
    background: var(--red-blood);
    color: #fff;
    box-shadow: 0 0 30px var(--red-neon);
    transform: scale(1.05);
}

/* Reveal on Scroll com Névoa de Revelação (Transição Mais Lenta e Suave com Aceleração GPU) */
.reveal-on-scroll {
    opacity: 0;
    filter: blur(15px) contrast(140%);
    transform: translate3d(0, 50px, 0) scale(0.96);
    transition: opacity 2.4s cubic-bezier(0.22, 1, 0.36, 1),
        filter 2.4s cubic-bezier(0.22, 1, 0.36, 1),
        transform 2.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    will-change: opacity, transform, filter;
}

.reveal-on-scroll::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(circle, rgba(167, 29, 42, 0.35) 0%, rgba(8, 7, 8, 0.95) 75%);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    pointer-events: none;
    border-radius: 16px;
    opacity: 1;
    transition: opacity 2.5s ease-out, transform 2.5s ease-out;
    z-index: 10;
    will-change: opacity, transform;
}

.reveal-on-scroll.visible {
    opacity: 1;
    filter: blur(0px) contrast(100%);
    transform: translate3d(0, 0, 0) scale(1);
}

.reveal-on-scroll.visible::after {
    opacity: 0;
    transform: scale(1.08);
}

/* ==========================================================================
   RESPONSIVIDADE (Telas Menores / Celulares)
   ========================================================================== */
@media (max-width: 600px) {
    /* Desativa reprocessamento contínuo de névoa no celular para garantir 60 FPS cravados */
    .fog-overlay {
        width: 100vw;
        height: 100vh;
        animation: none;
        transform: none;
        will-change: auto;
    }

    /* Suaviza transição de revelação no mobile sem travar a GPU com blur(15px) */
    .reveal-on-scroll {
        filter: none;
        transform: translate3d(0, 20px, 0) scale(1);
        transition: opacity 0.7s ease-out, transform 0.7s ease-out;
        will-change: opacity, transform;
    }

    .reveal-on-scroll::after {
        display: none;
    }

    .reveal-on-scroll.visible {
        filter: none;
        transform: translate3d(0, 0, 0) scale(1);
    }

    .container {
        padding: 12px;
    }

    .badge-age {
        font-size: 1.25rem;
        padding: 8px 22px;
        letter-spacing: 3px;
    }

    .main-title {
        font-size: 2.7rem;
        letter-spacing: 2px;
    }

    .sub-title {
        font-size: 1.15rem;
        letter-spacing: 1px;
    }

    .hero-invitation {
        padding: 14px 16px;
        margin-bottom: 20px;
    }

    .hero-invitation p {
        font-size: 0.95rem;
        line-height: 1.55;
    }

    .card {
        padding: 20px 15px;
    }

    .card-title {
        font-size: 1.75rem;
        gap: 10px;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .info-item {
        padding: 16px 14px;
        gap: 12px;
    }

    .info-icon-wrapper {
        width: 46px;
        height: 46px;
        min-width: 46px;
        font-size: 1.3rem;
    }

    .info-value {
        font-size: 1.1rem;
    }

    .info-highlight-terror {
        font-size: 1.35rem;
    }

    /* Contador Regressivo Mobile: Destaque Máximo aos Dias e Bloco Único HH:MM:SS */
    .countdown-container {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin: 15px 0;
    }

    .count-box-days {
        padding: 22px 15px;
        border: 2px solid var(--amber-beer);
        background: linear-gradient(145deg, rgba(45, 16, 26, 0.9) 0%, rgba(14, 8, 14, 0.95) 100%);
        box-shadow: 0 0 25px rgba(255, 183, 3, 0.35), inset 0 0 20px rgba(255, 183, 3, 0.15);
        border-radius: 14px;
    }

    .count-box-days .count-num {
        font-size: 4.8rem;
        color: var(--amber-beer);
        line-height: 0.95;
        text-shadow: 0 0 25px rgba(255, 183, 3, 0.9), 0 0 45px rgba(251, 133, 0, 0.6);
    }

    .count-box-days .count-label {
        font-size: 1.05rem;
        color: #fff;
        letter-spacing: 4px;
        font-weight: bold;
        margin-top: 8px;
        text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
    }

    /* Bloco único HH:MM:SS */
    .count-time-group {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        background: rgba(0, 0, 0, 0.75);
        border: 1px solid var(--border-blood);
        border-radius: 12px;
        padding: 14px 10px;
        box-shadow: inset 0 0 15px rgba(167, 29, 42, 0.35), 0 4px 15px rgba(0, 0, 0, 0.5);
    }

    .count-box-time {
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0 4px;
        flex: 1;
    }

    .count-box-time .count-num {
        font-size: 2.3rem;
        color: var(--red-neon);
        text-shadow: 0 0 12px rgba(255, 77, 109, 0.7);
        font-family: var(--font-horror);
        line-height: 1;
    }

    .count-box-time .count-label {
        font-size: 0.68rem;
        color: var(--text-muted);
        letter-spacing: 1px;
        margin-top: 4px;
    }

    .count-time-separator {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-family: var(--font-horror);
        font-size: 2rem;
        color: var(--amber-beer);
        line-height: 1;
        opacity: 0.9;
        text-shadow: 0 0 8px rgba(255, 183, 3, 0.7);
        animation: timeBlink 1s infinite;
        user-select: none;
        margin-bottom: 12px;
    }

    @keyframes timeBlink {

        0%,
        49% {
            opacity: 0.9;
        }

        50%,
        100% {
            opacity: 0.25;
        }
    }

    .status-options,
    .guest-counts {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .gps-buttons {
        flex-direction: column;
    }

    .btn-gps {
        width: 100%;
    }

    .splash-mask {
        width: 220px;
        margin-bottom: 20px;
    }

    .splash-title {
        font-size: 2.7rem;
    }

    .btn-splash {
        font-size: 1.25rem;
        padding: 12px 20px;
    }
}