* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #251402;
    cursor: crosshair;
    font-family: 'Outfit', sans-serif;
}

canvas {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    touch-action: none;
}

/* ===== Overlay marca d'água + texto ===== */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 10;
    padding: 20px;
}

/* Caixa de vidro fosco */
.glass-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding: 45px 55px;
    background: rgba(37, 20, 2, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(249, 231, 164, 0.15);
    border-radius: 24px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(249, 231, 164, 0.08);
    max-width: 600px;
    width: 100%;
}

/* Logo marca d'água */
.watermark-logo {
    width: 280px;
    max-width: 50vw;
    opacity: 1;
    filter: brightness(0) invert(1) sepia(0.5) saturate(3) hue-rotate(5deg) brightness(0.95);
    animation: pulseWatermark 6s ease-in-out infinite;
    user-select: none;
    -webkit-user-drag: none;
}

@keyframes pulseWatermark {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }
}

/* Texto de desenvolvimento */
.dev-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.dev-text-line {
    color: rgba(249, 231, 164, 0.55);
    font-weight: 300;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInUp 0.8s ease forwards;
}

.dev-text-line-1 {
    font-size: 1.3rem;
    font-weight: 600;
    color: rgba(249, 231, 164, 0.7);
    animation-delay: 0.3s;
}

.dev-text-line-2 {
    animation-delay: 0.8s;
}

.dev-text-line-3 {
    animation-delay: 1.3s;
}

.dev-text-line-4 {
    font-weight: 600;
    font-size: 1.15rem;
    color: rgba(226, 138, 39, 0.6);
    animation-delay: 1.8s;
    animation-name: fadeInUp, glowPulse;
    animation-duration: 0.8s, 3s;
    animation-timing-function: ease, ease-in-out;
    animation-fill-mode: forwards, none;
    animation-iteration-count: 1, infinite;
    animation-delay: 1.8s, 2.6s;
}

.dev-text-line-5 {
    margin-top: 10px;
    font-size: 0.95rem;
    font-style: italic;
    color: rgba(249, 231, 164, 0.45);
    animation-delay: 2.8s;
}

/* Instagram CTA */
.instagram-cta {
    text-align: center;
    margin-top: 5px;
    padding-top: 20px;
    border-top: 1px solid rgba(249, 231, 164, 0.12);
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 3.3s;
}

.instagram-cta p {
    font-size: 0.9rem;
    color: rgba(249, 231, 164, 0.5);
    margin-bottom: 8px;
}

.instagram-cta a {
    display: inline-block;
    color: #e28a27;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    pointer-events: auto;
    transition: color 0.3s ease, transform 0.3s ease;
}

.instagram-cta a:hover {
    color: #f9e7a4;
    transform: scale(1.05);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glowPulse {

    0%,
    100% {
        color: rgba(226, 138, 39, 0.6);
    }

    50% {
        color: rgba(249, 231, 164, 0.8);
    }
}

/* Responsivo */
@media (max-width: 600px) {
    .glass-box {
        padding: 30px 25px;
        margin: 0 10px;
    }

    .watermark-logo {
        width: 180px;
    }

    .dev-text-line {
        font-size: 0.9rem;
    }

    .dev-text-line-1 {
        font-size: 1.05rem;
    }

    .dev-text-line-4 {
        font-size: 0.95rem;
    }

    .dev-text-line-5 {
        font-size: 0.8rem;
    }
}