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

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    color: #e5ecff;
    background: radial-gradient(circle at top, #020617 0%, #020617 55%, #020617 100%);
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: #93c5fd;
}

a:hover {
    text-decoration: underline;
}

/* Layout */
.xe-main {
    min-height: 100vh;
    padding: 24px 16px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.xe-shell {
    width: 100%;
    max-width: 820px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.xe-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.xe-logo {
    height: 48px;
}

/* Hero */
.xe-hero {
    text-align: center;
    padding: 8px 8px 0;
}

.xe-title-h1 {
    font-size: 1.9rem;
    line-height: 1.3;
    letter-spacing: 0.02em;
    background: linear-gradient(130deg, #e5e7eb 0%, #bfdbfe 40%, #c4b5fd 75%, #fbbf24 100%);
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 8px;
}

.xe-text {
    font-size: 0.98rem;
    color: rgba(226, 232, 240, 0.9);
}

/* Card */
.xe-card {
    background:
        radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.06), transparent 60%),
        radial-gradient(circle at 110% 120%, rgba(129, 140, 248, 0.12), transparent 60%),
        rgba(15, 23, 42, 0.96);
    border-radius: 24px;
    padding: 20px 18px 22px;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.6);
    backdrop-filter: blur(16px);
}

.xe-card-glow {
    border-color: rgba(59, 130, 246, 0.75);
}

/* Progress */
.xe-progress-bar {
    position: relative;
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    overflow: hidden;
    margin-bottom: 10px;
}

.xe-progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    border-radius: inherit;
    background: linear-gradient(90deg, #22c55e 0%, #a3e635 45%, #facc15 100%);
    box-shadow: 0 0 18px rgba(250, 204, 21, 0.6);
    transition: width 0.4s ease-out;
}

.progress-text {
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.95);
    margin-bottom: 14px;
}

/* Questions & options */
.xe-question-section {
    margin-top: 8px;
}

.xe-question-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 14px;
    color: #f9fafb;
}

.xe-options-list {
    list-style: none;
}

.xe-option-item {
    display: flex;
    align-items: center;
    padding: 12px 14px;
    background: rgba(15, 23, 42, 0.88);
    border: 1px solid rgba(148, 163, 184, 0.5);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    font-weight: 500;
    font-size: 0.98rem;
    color: #e2e8f0;
    margin-bottom: 10px;
}

.xe-option-item:hover {
    background: rgba(30, 64, 175, 0.65);
    border-color: #60a5fa;
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.8);
}

.xe-option-item label input {
    margin-right: 10px;
}

.xe-radio {
    accent-color: #60a5fa;
}

/* Completion block */
.xe-completion-section {
    text-align: center;
    margin-top: 10px;
}

.xe-completion-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #fefce8;
}

.xe-completion-text {
    font-size: 0.95rem;
    color: rgba(226, 232, 240, 0.9);
    margin-bottom: 18px;
}

/* Button */
.btn,
.xe-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    padding: 0.9rem 1.6rem;
    border-radius: 999px;
    border: 1px solid rgba(250, 204, 21, 0.65);
    background: radial-gradient(circle at 0% 0%, #facc15 0%, #f97316 40%, #7c3aed 100%);
    color: #0f172a;
    font-weight: 600;
    letter-spacing: 0.03em;
    font-size: 0.96rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.95);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn::after {
    content: "";
    position: absolute;
    left: -40%;
    top: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.2) 0%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 255, 255, 0.2) 100%
    );
    transform: skewX(-25deg);
    transition: left 0.6s ease;
}

.btn:hover::after {
    left: 130%;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.98);
}

/* Visual section */
.xe-visual {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.45);
    box-shadow: 0 20px 55px rgba(15, 23, 42, 0.9);
}

.xe-hero-photo {
    width: 100%;
    display: block;
}

/* Risk disclosure */
.xe-warning-card {
    margin-top: 4px;
}

.xe-warning-title {
    font-size: 1rem;
    font-weight: 600;
    color: #facc15;
    margin-bottom: 10px;
    text-align: center;
}

.xe-warning-text {
    font-size: 0.86rem;
    color: rgba(226, 232, 240, 0.88);
    line-height: 1.6;
}

.xe-warning-text p + p {
    margin-top: 4px;
}

/* Footer links */
.xe-links {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    font-size: 0.8rem;
}

.xe-links a {
    color: rgba(148, 163, 184, 0.98);
}

.xe-links a:hover {
    color: #e5e7eb;
}

/* Responsive */
@media (min-width: 768px) {
    .xe-shell {
        gap: 28px;
    }

    .xe-card {
        padding: 22px 22px 24px;
    }

    .xe-title-h1 {
        font-size: 2.1rem;
    }

    .xe-text {
        font-size: 1.02rem;
    }
}