* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: white;
    text-align: center;
    margin: 0;
    padding: 0 15px 40px;

    background:
        radial-gradient(circle at 50% 20%, rgba(80,0,120,0.25), transparent 60%),
        radial-gradient(circle at 80% 80%, rgba(0,80,120,0.15), transparent 60%),
        radial-gradient(circle at 20% 70%, rgba(120,0,40,0.15), transparent 60%),
        #0b0b0f;

    background-attachment: fixed;
    animation: voidPulse 20s ease-in-out infinite;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at center, transparent 60%, rgba(0,0,0,0.75) 100%);
    z-index: 0;
}

body > * {
    position: relative;
    z-index: 1;
}

.container {
    max-width: 760px;
    margin: 0 auto;
    padding-top: 50px;
}

.card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    padding: 34px 24px 30px;
    box-shadow: 0 0 28px rgba(255,255,255,0.05);
}

.eyebrow {
    color: #bbb;
    font-size: 14px;
    margin-bottom: 10px;
    font-style: italic;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

h1 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: clamp(2rem, 5vw, 3.3rem);
}

.subtext {
    color: #bbb;
    font-size: 14px;
    margin-bottom: 24px;
    font-style: italic;
    line-height: 1.6;
}

button {
    padding: 12px 20px;
    margin: 10px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    border-radius: 8px;
    background: #2a2a2a;
    color: white;
    transition: background 0.2s ease, transform 0.2s ease;
}

button:hover {
    background: #3a3a3a;
    transform: translateY(-1px);
}

.result {
    margin-top: 32px;
    padding-top: 18px;
    border-top: 1px solid #555;
    animation: textReveal 0.45s ease forwards;
}

.hidden {
    display: none;
}

.curse-text {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    font-size: 20px;
    color: #fffa90;
    font-style: italic;
    line-height: 1.7;
    min-height: 60px;
}

footer {
    margin-top: 60px;
    padding-top: 22px;
    border-top: 1px solid #333;
    text-align: center;
}

.footer-line {
    font-size: 12px;
    color: #7d7d7d;
    font-style: italic;
    margin-bottom: 6px;
}

.footer-warning {
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #9a9a9a;
    margin-bottom: 8px;
}

.footer-copy {
    font-size: 13px;
    color: #666;
}

@keyframes textReveal {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes voidPulse {
    0% {
        background-position: 50% 20%, 80% 80%, 20% 70%;
    }
    50% {
        background-position: 52% 22%, 78% 78%, 22% 68%;
    }
    100% {
        background-position: 50% 20%, 80% 80%, 20% 70%;
    }
}