:root {
    --primary-bg: #200431;
    --header-bg: #6C3483; /* Глибокий фіолетовий Zelle */
    --accent-color: #FF5722; /* Для "LIMITED TIME" — помаранчевий акцент */
    --button-bg: #6C3483;
    --text-color: #222222;
    --card-bg: #ffffff;
    --border-color: #e0e0e0;
    --progress-active: #6C3483;
    --progress-inactive: #d0d0d0;
    --timer-bg: #f8f8f8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background: var(--primary-bg);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 500px;
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.header {
    background: var(--header-bg);
    padding: 20px 25px;
    position: relative;
    text-align: center;
    color: white;
}

.limited-time {
    position: absolute;
    top: 0px;
    right: 0px;
    background: var(--accent-color);
    color: white;
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 10px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 4px;
}

.header h1 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
    text-transform: none;
}

.header p {
    font-size: 13px;
    opacity: 0.9;
    line-height: 1.4;
}

.progress-container {
    padding: 20px 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.progress-step {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    background: var(--progress-inactive);
    color: #888;
    transition: all 0.3s ease;
    font-size: 14px;
}

.progress-step.active {
    background: var(--progress-active);
    color: white;
}

.progress-line {
    flex-grow: 1;
    height: 2px;
    background: var(--progress-inactive);
    margin: 0 6px;
    transition: all 0.3s ease;
}

.progress-line.active {
    background: var(--progress-active);
}

.question-container {
    padding: 25px;
    display: none;
}

.question-container.active {
    display: block;
}

.question-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-color);
}

.question-subtitle {
    font-size: 13px;
    color: #777;
    margin-bottom: 20px;
    line-height: 1.4;
}

.options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 25px;
}

.option {
    background: var(--timer-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.option:hover {
    background: #f0f0f0;
    border-color: #6C3483;
}

.option.selected {
    background: #f0e6ff;
    border-color: var(--progress-active);
    color: var(--progress-active);
}

.option h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 3px;
    color: inherit;
}

.option p {
    font-size: 12px;
    color: #777;
}

.navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.btn {
    padding: 10px 16px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

.btn-back {
    background: #f5f5f5;
    color: var(--text-color);
}

.btn-back:hover {
    background: #e8e8e8;
}

.btn-main {
    background: var(--button-bg);
    color: white;
    margin-left: 8px;
}

.btn-main:hover {
    background: #5a2c6b;
}

.result-container {
    padding: 30px 25px;
    text-align: center;
    display: none;
}

.result-container.active {
    display: block;
}

.result-container h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-color);
}

.result-container p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.timer {
    background: var(--timer-bg);
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ff0000;
    font-size: 12px;
}

.timer::before {
    content: "⏳";
}

.claim-button {
    width: 100%;
    padding: 14px 20px;
    background: var(--button-bg);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 2px 6px rgba(108, 52, 131, 0.2);
}

.claim-button:hover {
    background: #5a2c6b;
    transform: translateY(-1px);
}

.claim-button::before {
    content: "🔒";
}

.footer {
    padding: 15px;
    text-align: center;
    font-size: 11px;
    color: #888;
    border-top: 1px solid var(--border-color);
    margin-top: 20px;
}

.footer a {
    color: var(--progress-active);
    text-decoration: none;
    font-weight: 600;
}

/* Мобільна версія */
@media (max-width: 600px) {
    .options-grid { grid-template-columns: 1fr; }
    .header { padding: 16px 20px; }
    .question-container, .result-container { padding: 20px; }
    .header h1 { font-size: 20px; }
    .result-container h2 { font-size: 22px; }
    .claim-button { font-size: 15px; padding: 12px; }
}