/* ================================================================
   PREGNANCY REVEAL — DESIGN SYSTEM
   Versão: 1.0.0
   Autor: Fabiano Chaves Silva
   ================================================================ */

/* ——— Google Fonts (loaded in HTML) ——— */

/* ================================================================
   TOKENS / VARIÁVEIS
   ================================================================ */
:root {
    /* Paleta — Sigiloso */
    --gold:          #c9a84c;
    --gold-light:    #e8d5a3;
    --gold-warm:     #f0d080;
    --dark:          #06080d;
    --dark2:         #0c0f18;
    --dark3:         #121622;
    --blue-dark:     #0d1b2a;
    --blue-mid:      #1b2f4a;
    --blue-accent:   #2e5077;

    /* Textos */
    --text-dim:      #5a6a7a;
    --text-mid:      #94a8bc;
    --text-light:    #d0e0ed;
    --white:         #f0f4f8;

    /* Feedback */
    --success:       #4caf7d;
    --danger:        #e04040;
    --info:          #7ec8e3;

    /* Paleta — Revelação */
    --reveal-bg1:    #0a0515;
    --reveal-bg2:    #1a0832;
    --reveal-bg3:    #0a1020;
    --rose:          #e8a0b8;
    --rose-light:    #f5c6d6;
    --lavender:      #b8a0e8;

    /* Tipografia */
    --font-serif:    'Cinzel', serif;
    --font-body:     'Crimson Text', serif;
    --font-mono:     'Source Code Pro', monospace;
    --font-display:  'Playfair Display', serif;

    /* Espaçamento */
    --radius-sm:     4px;
    --radius-md:     8px;
    --radius-lg:     16px;
    --radius-xl:     24px;
    --radius-full:   9999px;

    /* Sombras */
    --shadow-glow-gold:   0 0 30px rgba(201,168,76,0.15);
    --shadow-glow-strong: 0 0 60px rgba(201,168,76,0.25);
    --shadow-card:        0 20px 60px rgba(0,0,0,0.7);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-mono);
    background: var(--dark);
    color: var(--text-light);
    overflow: hidden;
    height: 100vh;
    height: 100dvh;
    width: 100vw;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ================================================================
   UTILITY ANIMATIONS
   ================================================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

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

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.9); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.5; }
}

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

@keyframes shimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes rotateGlow {
    0%   { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

@keyframes typewriter-blink {
    0%, 100% { border-color: var(--gold); }
    50%      { border-color: transparent; }
}

/* ================================================================
   VIDEO BACKGROUNDS
   ================================================================ */
.video-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0;
    transition: opacity 2s ease;
    will-change: opacity;
}
.video-bg.active { opacity: 0.2; }

.video-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(6,8,13,0.6) 100%);
}

/* Scanlines */
.video-overlay::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: repeating-linear-gradient(
        to bottom,
        transparent 0px,
        transparent 3px,
        rgba(0,0,0,0.08) 3px,
        rgba(0,0,0,0.08) 6px
    );
    animation: scanlines 8s linear infinite;
}

@keyframes scanlines {
    0%   { transform: translateY(0); }
    100% { transform: translateY(6px); }
}

/* CRT Flicker (subtle) */
.video-overlay::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: transparent;
    animation: flicker 0.15s infinite;
    opacity: 0.015;
}

@keyframes flicker {
    0%   { opacity: 0.02; }
    50%  { opacity: 0; }
    100% { opacity: 0.02; }
}

/* ================================================================
   PARTICLE & FIREWORKS CANVAS
   ================================================================ */
#particles-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 2s ease;
}
#particles-canvas.active { opacity: 1; }

#fireworks-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 5;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1.5s ease;
}
#fireworks-canvas.active { opacity: 1; }

/* ================================================================
   SCREENS — LAYOUT BASE
   ================================================================ */
.screen {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity;
}
.screen.active {
    opacity: 1;
    pointer-events: all;
}

/* ================================================================
   SCREEN 1 — TELA DE BLOQUEIO
   ================================================================ */
#screen-lock {
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(46,80,119,0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(201,168,76,0.06) 0%, transparent 50%),
        linear-gradient(160deg, #060a14 0%, #0d1b2a 50%, #080e18 100%);
}

/* Decorative corner lines */
#screen-lock::before,
#screen-lock::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    border: 1px solid rgba(201,168,76,0.12);
    pointer-events: none;
}
#screen-lock::before {
    top: 30px; left: 30px;
    border-right: none;
    border-bottom: none;
}
#screen-lock::after {
    bottom: 30px; right: 30px;
    border-left: none;
    border-top: none;
}

.lock-box {
    background: rgba(10, 20, 35, 0.92);
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: var(--radius-sm);
    padding: 50px 60px;
    width: 90%;
    max-width: 520px;
    text-align: center;
    position: relative;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow:
        0 0 80px rgba(0,0,0,0.9),
        0 0 40px rgba(201,168,76,0.05),
        inset 0 1px 0 rgba(201,168,76,0.1),
        inset 0 -1px 0 rgba(0,0,0,0.3);
    animation: lockBoxAppear 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Gold shimmer top edge */
.lock-box::before {
    content: '';
    position: absolute;
    top: 0; left: 10%;
    width: 80%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.5;
}

@keyframes lockBoxAppear {
    from { opacity: 0; transform: translateY(40px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.lock-seal {
    font-size: 3.5rem;
    margin-bottom: 12px;
    filter: drop-shadow(0 0 15px rgba(201,168,76,0.5));
    animation: sealPulse 4s ease-in-out infinite;
}

@keyframes sealPulse {
    0%, 100% { filter: drop-shadow(0 0 12px rgba(201,168,76,0.4)); transform: scale(1); }
    50%      { filter: drop-shadow(0 0 30px rgba(201,168,76,0.8)); transform: scale(1.05); }
}

.lock-header {
    font-family: var(--font-serif);
    color: var(--gold);
    font-size: 0.65rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 6px;
    opacity: 0;
    animation: fadeIn 1s ease 0.5s forwards;
}

.lock-title {
    font-family: var(--font-serif);
    color: var(--white);
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 25px;
    letter-spacing: 2px;
    opacity: 0;
    animation: fadeIn 1s ease 0.7s forwards;
}

.lock-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,168,76,0.5), transparent);
    margin: 18px 0;
    opacity: 0.4;
}

.doc-info {
    text-align: left;
    margin-bottom: 25px;
    font-size: 0.72rem;
    color: var(--text-dim);
    line-height: 2.2;
    opacity: 0;
    animation: fadeIn 1s ease 0.9s forwards;
}
.doc-info span {
    color: var(--gold-light);
    font-weight: 600;
}
.doc-info .classified {
    color: var(--danger);
    letter-spacing: 1px;
}

.code-label {
    font-size: 0.68rem;
    letter-spacing: 3px;
    color: var(--text-dim);
    text-transform: uppercase;
    margin-bottom: 14px;
    display: block;
    opacity: 0;
    animation: fadeIn 1s ease 1.1s forwards;
}

.code-inputs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeIn 1s ease 1.3s forwards;
}

.code-digit {
    width: 48px;
    height: 58px;
    background: rgba(255,255,255,0.02);
    border: 1.5px solid rgba(201,168,76,0.25);
    border-radius: var(--radius-sm);
    color: var(--gold);
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    caret-color: var(--gold);
}

.code-digit:focus {
    border-color: var(--gold);
    background: rgba(201,168,76,0.06);
    box-shadow:
        0 0 20px rgba(201,168,76,0.15),
        inset 0 0 10px rgba(201,168,76,0.05);
    transform: scale(1.05);
}

.code-digit.filled {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(201,168,76,0.05);
}

.code-digit.error {
    border-color: var(--danger);
    background: rgba(224,64,64,0.08);
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%      { transform: translateX(-8px); }
    40%      { transform: translateX(6px); }
    60%      { transform: translateX(-5px); }
    80%      { transform: translateX(3px); }
}

.code-hint {
    font-size: 0.68rem;
    color: rgba(201,168,76,0.4);
    margin-bottom: 22px;
    font-style: italic;
    font-family: var(--font-body);
    opacity: 0;
    animation: fadeIn 1s ease 1.5s forwards;
}

.btn-access {
    background: linear-gradient(135deg, rgba(201,168,76,0.12), rgba(201,168,76,0.04));
    border: 1px solid rgba(201,168,76,0.4);
    color: var(--gold);
    font-family: var(--font-serif);
    font-size: 0.82rem;
    letter-spacing: 4px;
    padding: 15px 40px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    border-radius: 2px;
    width: 100%;
    opacity: 0.4;
    position: relative;
    overflow: hidden;
}

/* Button shimmer effect */
.btn-access::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 200%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201,168,76,0.1), transparent);
    transition: left 0.8s ease;
}

.btn-access.ready {
    opacity: 1;
    box-shadow: 0 0 25px rgba(201,168,76,0.15);
}

.btn-access.ready:hover {
    background: linear-gradient(135deg, rgba(201,168,76,0.25), rgba(201,168,76,0.1));
    box-shadow: 0 0 40px rgba(201,168,76,0.3);
    transform: translateY(-2px);
    letter-spacing: 5px;
}

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

.btn-access.ready:active {
    transform: translateY(0);
}

.error-msg {
    color: var(--danger);
    font-size: 0.7rem;
    margin-top: 14px;
    min-height: 18px;
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
}

.lock-footer {
    font-size: 0.55rem;
    color: rgba(255,255,255,0.12);
    margin-top: 30px;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.lock-footer .dot-separator {
    display: inline-block;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(201,168,76,0.3);
}

/* ================================================================
   SCREEN 2 — LOADING / TERMINAL
   ================================================================ */
#screen-loading {
    background: 
        radial-gradient(ellipse at 50% 50%, rgba(13,27,42,0.5) 0%, transparent 70%),
        linear-gradient(160deg, #060a12 0%, #0a1520 100%);
}

.loading-box {
    width: 90%;
    max-width: 640px;
    text-align: left;
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(20,25,35,0.9);
    border: 1px solid rgba(201,168,76,0.15);
    border-bottom: none;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transition: filter 0.3s ease;
}
.terminal-dot.red    { background: #ff5f57; box-shadow: 0 0 6px rgba(255,95,87,0.5); }
.terminal-dot.yellow { background: #ffbd2e; box-shadow: 0 0 6px rgba(255,189,46,0.5); }
.terminal-dot.green  { background: #28c840; box-shadow: 0 0 6px rgba(40,200,64,0.5); }

.terminal-title {
    flex: 1;
    text-align: center;
    font-size: 0.68rem;
    color: var(--text-dim);
    letter-spacing: 1.5px;
    font-family: var(--font-mono);
}

.terminal-body {
    background: rgba(6,8,14,0.95);
    border: 1px solid rgba(201,168,76,0.15);
    border-top: none;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    padding: 28px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-mid);
    line-height: 2.1;
    min-height: 280px;
    max-height: 45vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(201,168,76,0.3) transparent;
}

.terminal-body::-webkit-scrollbar {
    width: 4px;
}
.terminal-body::-webkit-scrollbar-track {
    background: transparent;
}
.terminal-body::-webkit-scrollbar-thumb {
    background: rgba(201,168,76,0.3);
    border-radius: 4px;
}

.terminal-line {
    display: flex;
    gap: 10px;
    opacity: 0;
    transform: translateY(6px);
    animation: lineAppear 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.terminal-line .prompt   { color: var(--gold); min-width: 14px; }
.terminal-line .cmd      { color: var(--info); }
.terminal-line .ok       { color: var(--success); }
.terminal-line .info     { color: var(--text-dim); }
.terminal-line .warn     { color: #f0a030; }
.terminal-line .highlight { color: var(--gold-light); font-weight: 600; }
.terminal-line .danger   { color: var(--danger); font-weight: 600; }

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

/* Cursor piscante no terminal */
.terminal-cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background: var(--gold);
    animation: cursorBlink 1s step-end infinite;
    vertical-align: middle;
    margin-left: 6px;
}

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

/* Progress */
.progress-area {
    margin-top: 24px;
    opacity: 0;
    animation: fadeIn 1s ease 0.5s forwards;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--text-dim);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.progress-track {
    height: 6px;
    background: rgba(255,255,255,0.04);
    border-radius: var(--radius-full);
    overflow: hidden;
    border: 1px solid rgba(201,168,76,0.12);
    position: relative;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--gold), var(--gold-warm));
    border-radius: var(--radius-full);
    transition: width 0.3s ease;
    box-shadow: 0 0 12px rgba(201,168,76,0.5);
    position: relative;
}

/* Shimmer on progress bar */
.progress-fill::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
    animation: shimmer 2s linear infinite;
    background-size: 200% 100%;
}

.progress-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

.progress-pct {
    font-size: 0.85rem;
    color: var(--gold);
    font-weight: 600;
    font-family: var(--font-mono);
}

.progress-eta {
    font-size: 0.65rem;
    color: var(--text-dim);
    font-style: italic;
}

/* ================================================================
   SCREEN 3 — REVELAÇÃO
   ================================================================ */
#screen-reveal {
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(232,160,184,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(184,160,232,0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(201,168,76,0.04) 0%, transparent 70%),
        linear-gradient(160deg, var(--reveal-bg1) 0%, var(--reveal-bg2) 50%, var(--reveal-bg3) 100%);
    overflow-y: auto;
    padding: 40px 20px;
    scrollbar-width: thin;
    scrollbar-color: rgba(201,168,76,0.3) transparent;
}

#screen-reveal::-webkit-scrollbar {
    width: 6px;
}
#screen-reveal::-webkit-scrollbar-track {
    background: transparent;
}
#screen-reveal::-webkit-scrollbar-thumb {
    background: rgba(201,168,76,0.3);
    border-radius: 4px;
}

.reveal-container {
    max-width: 700px;
    width: 100%;
    text-align: center;
    padding: 20px;
}

/* Staggered reveal animations */
.reveal-container > * {
    opacity: 0;
}

.reveal-anim {
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Icon com heartbeat */
.reveal-icon {
    font-size: 3rem;
    margin-bottom: 8px;
    letter-spacing: 10px;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    15%      { transform: scale(1.18); }
    30%      { transform: scale(1); }
    45%      { transform: scale(1.12); }
    60%      { transform: scale(1); }
}

/* Selo / Stamp */
.reveal-stamp {
    display: inline-block;
    border: 3px solid rgba(192,57,43,0.8);
    color: rgba(192,57,43,0.85);
    font-family: var(--font-serif);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 5px;
    padding: 10px 30px;
    border-radius: var(--radius-sm);
    transform: rotate(-3deg);
    margin-bottom: 30px;
    text-transform: uppercase;
    position: relative;
}

/* Smudge/aged effect on stamp */
.reveal-stamp::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 60% 40%, rgba(192,57,43,0.1), transparent 60%);
    border-radius: var(--radius-sm);
}

/* Título principal */
.reveal-title {
    font-family: var(--font-display);
    color: var(--white);
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
    text-shadow: 0 0 50px rgba(201,168,76,0.3);
    background: linear-gradient(135deg, var(--white), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.reveal-subtitle {
    font-family: var(--font-body);
    color: var(--gold-light);
    font-size: 1.45rem;
    font-style: italic;
    margin-bottom: 35px;
    opacity: 0.85;
}

/* Vídeo de revelação */
.reveal-video-wrap {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow:
        0 0 0 2px rgba(201,168,76,0.25),
        0 0 80px rgba(201,168,76,0.12),
        var(--shadow-card);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.reveal-video-wrap:hover {
    transform: scale(1.01);
    box-shadow:
        0 0 0 2px rgba(201,168,76,0.4),
        0 0 100px rgba(201,168,76,0.2),
        var(--shadow-card);
}

.reveal-video {
    width: 100%;
    display: block;
    border-radius: var(--radius-lg);
}

.reveal-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10,5,21,0.1) 0%,
        transparent 30%,
        transparent 60%,
        rgba(10,5,21,0.7) 100%
    );
    border-radius: var(--radius-lg);
    pointer-events: none;
}

/* Vídeo pessoal dentro do card */
.personal-video {
    max-width: 100%;
    margin: 25px auto 10px;
    border-radius: var(--radius-md);
}

.personal-video .reveal-video {
    border-radius: var(--radius-md);
}

.personal-video .reveal-video-overlay {
    border-radius: var(--radius-md);
}

/* Card principal */
.reveal-card {
    background: linear-gradient(
        135deg,
        rgba(201,168,76,0.06),
        rgba(184,160,232,0.04),
        rgba(232,160,184,0.03)
    );
    border: 1px solid rgba(201,168,76,0.25);
    border-radius: var(--radius-xl);
    padding: 45px 40px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow:
        0 0 60px rgba(201,168,76,0.06),
        inset 0 1px 0 rgba(201,168,76,0.1);
}

/* Decorative corner accents */
.reveal-card::before,
.reveal-card::after {
    content: '';
    position: absolute;
    width: 40px; height: 40px;
    border: 1px solid rgba(201,168,76,0.2);
}
.reveal-card::before {
    top: 15px; left: 15px;
    border-right: none;
    border-bottom: none;
}
.reveal-card::after {
    bottom: 15px; right: 15px;
    border-left: none;
    border-top: none;
}

.reveal-card h2 {
    font-family: var(--font-serif);
    color: var(--gold);
    font-size: 0.9rem;
    letter-spacing: 5px;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.reveal-card .doc-label {
    color: var(--text-mid);
    font-size: 0.95rem;
    margin-bottom: 12px;
    font-family: var(--font-body);
}

.big-announcement {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--white);
    margin: 18px 0;
    animation: glowPulse 3s ease-in-out infinite;
    line-height: 1.3;
}

@keyframes glowPulse {
    0%, 100% { text-shadow: 0 0 20px rgba(201,168,76,0.3); }
    50%      { text-shadow: 0 0 60px rgba(201,168,76,0.7), 0 0 100px rgba(201,168,76,0.2); }
}

.baby-text {
    font-family: var(--font-body);
    font-size: 1.3rem;
    color: var(--rose-light);
    font-style: italic;
    margin: 10px 0 20px;
    line-height: 1.6;
}

/* Names row */
.names-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 28px 0;
    flex-wrap: wrap;
}

.name-pill {
    background: rgba(201,168,76,0.08);
    border: 1px solid rgba(201,168,76,0.25);
    border-radius: var(--radius-full);
    padding: 12px 28px;
    font-size: 0.95rem;
    color: var(--gold-light);
    font-family: var(--font-body);
    transition: all 0.3s ease;
    min-width: 120px;
}

.name-pill:hover {
    background: rgba(201,168,76,0.14);
    border-color: rgba(201,168,76,0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.name-pill strong {
    display: block;
    font-size: 0.6rem;
    letter-spacing: 2px;
    color: var(--text-dim);
    text-transform: uppercase;
    margin-bottom: 4px;
    font-family: var(--font-serif);
}

.name-pill .emoji-role {
    font-size: 1.2rem;
    display: block;
    margin-bottom: 4px;
}

/* Mensagem emocional */
.reveal-message {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.9;
    font-style: italic;
    margin: 30px 0;
    padding: 25px 28px;
    border-left: 3px solid rgba(201,168,76,0.35);
    text-align: left;
    background: linear-gradient(135deg, rgba(255,255,255,0.02), rgba(201,168,76,0.02));
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    position: relative;
}

.reveal-message::before {
    content: '"';
    position: absolute;
    top: -5px;
    left: 10px;
    font-size: 3rem;
    color: rgba(201,168,76,0.2);
    font-family: var(--font-display);
}

/* Legal footer */
.legal-footer {
    font-size: 0.65rem;
    color: var(--text-dim);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 25px;
    font-family: var(--font-mono);
}
.legal-footer span { color: rgba(201,168,76,0.6); }

/* Assinatura */
.signature-box {
    margin-top: 25px;
    padding: 30px;
    text-align: center;
    position: relative;
}

.signature-box::before {
    content: '';
    position: absolute;
    top: 0; left: 20%;
    width: 60%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,168,76,0.3), transparent);
}

.sig-hearts {
    font-size: 1.8rem;
    margin-bottom: 12px;
    animation: float 3s ease-in-out infinite;
    letter-spacing: 8px;
}

.sig-from {
    font-size: 0.7rem;
    letter-spacing: 4px;
    color: var(--text-dim);
    text-transform: uppercase;
    margin-bottom: 10px;
    font-family: var(--font-serif);
}

.sig-names {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--gold);
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sig-sub {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--rose);
    font-style: italic;
}

.sig-date {
    font-size: 0.6rem;
    color: var(--text-dim);
    letter-spacing: 2px;
    margin-top: 12px;
    font-family: var(--font-mono);
}



/* ================================================================
   SCROLL HINT
   ================================================================ */
.scroll-hint {
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    display: none;
    text-align: center;
}
.scroll-hint.visible { display: block; }

.scroll-hint-text {
    font-size: 0.6rem;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.2);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.scroll-hint-arrow {
    animation: scrollBounce 2s ease-in-out infinite;
    color: rgba(201,168,76,0.4);
    font-size: 1.2rem;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 0.4; }
    50%      { transform: translateY(8px); opacity: 0.8; }
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 600px) {
    .lock-box {
        padding: 35px 22px;
    }

    .lock-seal {
        font-size: 2.5rem;
    }

    .lock-title {
        font-size: 1.1rem;
        letter-spacing: 1px;
    }

    .code-digit {
        width: 42px;
        height: 50px;
        font-size: 1.3rem;
    }

    .code-inputs {
        gap: 7px;
    }

    .terminal-body {
        padding: 18px;
        font-size: 0.72rem;
        min-height: 220px;
    }

    .reveal-title {
        font-size: 2rem;
    }

    .big-announcement {
        font-size: 1.8rem;
    }

    .reveal-card {
        padding: 30px 22px;
    }

    .reveal-message {
        font-size: 1.05rem;
        padding: 18px 20px;
    }

    .names-row {
        gap: 12px;
    }

    .name-pill {
        padding: 10px 20px;
        font-size: 0.85rem;
        min-width: 100px;
    }

    #screen-lock::before,
    #screen-lock::after {
        width: 40px;
        height: 40px;
        top: 15px;
        left: 15px;
    }
    #screen-lock::after {
        bottom: 15px;
        right: 15px;
    }

    .reveal-video-wrap {
        max-width: 100%;
    }
}

@media (max-width: 380px) {
    .lock-box {
        padding: 28px 16px;
    }

    .code-digit {
        width: 38px;
        height: 46px;
        font-size: 1.1rem;
    }

    .btn-access {
        padding: 13px 20px;
        font-size: 0.72rem;
        letter-spacing: 2px;
    }

    .reveal-title {
        font-size: 1.7rem;
    }

    .big-announcement {
        font-size: 1.5rem;
    }
}

/* Prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
