:root {
    --bg: #050505;
    --panel: #0c0c0c;
    --panel2: #0f0f0f;
    --line: #1f1f1f;
    --green: #2cff5f;
    --green-dark: #1fdf50;
    --text: #ffffff;
    --muted: #9a9a9a;
    --border-radius: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background: var(--bg);
    color: var(--text);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: center;
    align-items: center;
}

/* Container Principal */
.container {
    width: 100%;
    max-width: 480px;
    padding: 16px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Card Principal */
.card {
    background: linear-gradient(180deg, #0b0b0b, #030303);
    border: 1px solid var(--line);
    border-radius: var(--border-radius);
    padding: 24px;
    width: 100%;
}

/* Header de Status */
.status-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1.5px;
    color: var(--muted);
    font-weight: 500;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--green);
    animation: pulse 2s infinite;
}

/* Vídeo Responsivo */
.video-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
    margin-bottom: 24px;
    border: 1px solid #222;
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Área do Botão e Instrução */
.interaction-area {
    width: 100%;
}

.instruction-text {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 16px;
    font-weight: 400;
    line-height: 1.5;
}

/* Botão Segurar */
.hold-btn-container {
    position: relative;
    width: 100%;
    height: 64px;
    background: linear-gradient(180deg, #151515, #0a0a0a);
    border-radius: 16px;
    border: 1px solid #333;
    cursor: pointer;
    overflow: hidden;
    user-select: none;
    transition: all 0.3s ease;
    touch-action: manipulation;
}

.hold-btn-container:hover {
    border-color: var(--green);
    box-shadow: 0 0 20px rgba(44,255,95,.15);
}

.hold-btn-container:active {
    transform: scale(0.98);
}

.hold-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--green-dark), var(--green));
    opacity: 0.85;
    transition: width 0.1s linear;
    z-index: 1;
    border-radius: 14px;
}

.hold-text {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
}

.feedback-msg {
    margin-top: 16px;
    font-size: 13px;
    color: var(--muted);
    height: 20px;
}

/* Security Badge */
.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(44,255,95,.08), rgba(44,255,95,.03));
    border: 1px solid rgba(44,255,95,.2);
    border-radius: 999px;
    padding: 10px 18px;
    margin-top: 20px;
    font-size: 12px;
    color: #b7ffd0;
    font-weight: 500;
}

.security-badge svg {
    width: 14px;
    height: 14px;
    fill: var(--green);
}

/* Rodapé */
footer {
    width: 100%;
    padding: 20px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,.1);
    background: var(--bg);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--green);
    text-decoration: underline;
}

.copyright {
    font-size: 11px;
    color: #555;
}

/* Animações */
@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
    100% { opacity: 1; transform: scale(1); }
}

/* Mobile Adjustments */
@media (max-width: 400px) {
    .container {
        padding: 12px;
    }
    .card {
        padding: 20px;
        border-radius: 20px;
    }
    .video-wrapper {
        border-radius: 12px;
    }
    .hold-btn-container {
        height: 60px;
    }
}