.hero-side {
    display: grid;
    gap: 16px;
    align-content: start;
}

.hero-qotd .qotd-card {
    max-width: 100%;
    padding: 18px;
    gap: 10px;
}

.hero-qotd .qotd-caption {
    margin: 0;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffd86b;
}

.site-hero .hero-qotd .qotd-card {
    border-radius: 20px;
    border: 1px solid rgba(160, 179, 255, 0.18);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.site-hero .hero-qotd .qotd-category {
    background: rgba(255, 255, 255, 0.16);
    color: #eef5ff;
}

.site-hero .hero-qotd .qotd-question {
    color: #f5f8ff;
    font-size: 1.02rem;
    line-height: 1.45;
}

.site-hero .hero-qotd .qotd-option-btn {
    background: rgba(9, 17, 44, 0.58);
    border-color: rgba(160, 179, 255, 0.2);
    color: #eef5ff;
}

.site-hero .hero-qotd .qotd-result-option {
    background: rgba(9, 17, 44, 0.58);
    border-color: rgba(160, 179, 255, 0.2);
}

.site-hero .hero-qotd .qotd-result-label {
    color: #eef5ff;
}

.site-hero .hero-qotd .qotd-result-percent {
    color: #7bc5ff;
}

.site-hero .hero-qotd .qotd-status,
.site-hero .hero-qotd .qotd-results-meta {
    color: rgba(234, 241, 255, 0.85);
}

.site-hero .hero-qotd .qotd-correct {
    color: #9ae6b4;
}

.qotd-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 24px;
    max-width: 860px;
    display: grid;
    gap: 14px;
}

.qotd-category {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin: 0;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.12);
    color: var(--accent-dark);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

[data-theme="dark"] .qotd-category {
    background: rgba(96, 165, 250, 0.2);
}

.qotd-question {
    margin: 0;
    font-size: clamp(1.05rem, 1.8vw, 1.28rem);
    line-height: 1.6;
}

.qotd-options {
    display: grid;
    gap: 10px;
}

.qotd-option-btn {
    width: 100%;
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    background: var(--color-surface-muted);
    color: var(--text-dark);
    text-align: left;
    padding: 12px 14px;
    cursor: pointer;
    transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.qotd-option-btn:hover,
.qotd-option-btn:focus-visible {
    border-color: var(--color-primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
    outline: none;
}

.qotd-option-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.qotd-result-option {
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 12px;
    background: var(--color-surface);
    display: grid;
    gap: 8px;
}

.qotd-result-option.is-selected {
    border-color: var(--color-primary);
    box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.3);
}

.qotd-result-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.qotd-result-label {
    font-size: 0.95rem;
}

.qotd-result-percent {
    font-weight: 700;
    color: var(--accent-dark);
}

.qotd-result-bar {
    height: 10px;
    width: 100%;
    border-radius: 999px;
    background: var(--color-surface-muted);
    overflow: hidden;
}

.qotd-result-bar span {
    display: block;
    height: 100%;
    width: 0%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transition: width 700ms ease;
}

.qotd-status {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.qotd-status.is-error {
    color: #dc2626;
}

.qotd-results-meta {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.qotd-correct {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 600;
    color: #059669;
}

@media (max-width: 640px) {
    .hero-side {
        gap: 12px;
    }

    .qotd-card {
        padding: 18px;
    }

    .qotd-option-btn {
        padding: 11px 12px;
    }
}
