/* Hueterin Quiz Styles */

@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,600;0,700;1,400&family=Lato:wght@300;400;700&display=swap');

.hq-container {
    max-width: 720px;
    margin: 2rem auto;
    padding: 2rem;
    font-family: 'Lato', sans-serif;
    color: #2c2c2c;
}

/* Intro */
.hq-intro {
    text-align: center;
    padding: 3rem 1.5rem;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 16px;
    color: #f0e6d3;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.hq-intro::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(196, 163, 90, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hq-title {
    font-family: 'Crimson Text', serif;
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 1rem;
    color: #f0e6d3;
    position: relative;
}

.hq-subtitle {
    font-size: 1.05rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: #c4a35a;
    position: relative;
}

/* Buttons */
.hq-btn {
    display: inline-block;
    padding: 14px 40px;
    border: none;
    border-radius: 8px;
    font-family: 'Lato', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.hq-btn-start {
    background: linear-gradient(135deg, #c4a35a, #d4b96a);
    color: #1a1a2e;
    box-shadow: 0 4px 15px rgba(196, 163, 90, 0.4);
}

.hq-btn-start:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 163, 90, 0.6);
}

.hq-btn-restart {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #f0e6d3;
    margin-top: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hq-btn-restart:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Progress bar */
.hq-progress {
    width: 100%;
    height: 6px;
    background: #e8e0d4;
    border-radius: 3px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.hq-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #c4a35a, #d4b96a);
    border-radius: 3px;
    transition: width 0.5s ease;
    width: 0%;
}

/* Question area */
.hq-question-area {
    background: #faf8f4;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e0d4;
}

.hq-question-counter {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #c4a35a;
    margin-bottom: 0.5rem;
}

.hq-question-text {
    font-family: 'Crimson Text', serif;
    font-size: 1.45rem;
    font-weight: 600;
    line-height: 1.4;
    color: #1a1a2e;
    margin-bottom: 1.8rem;
}

/* Answers */
.hq-answers {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hq-answer {
    display: block;
    width: 100%;
    padding: 16px 20px;
    background: #ffffff;
    border: 2px solid #e8e0d4;
    border-radius: 10px;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    color: #2c2c2c;
    text-align: left;
    cursor: pointer;
    transition: all 0.25s ease;
    line-height: 1.45;
}

.hq-answer:hover {
    border-color: #c4a35a;
    background: #fdf9f0;
    transform: translateX(4px);
}

.hq-answer:active,
.hq-answer.hq-selected {
    border-color: #c4a35a;
    background: linear-gradient(135deg, #fdf9f0, #f8f0e0);
    box-shadow: 0 2px 8px rgba(196, 163, 90, 0.2);
}

/* Result */
.hq-result {
    text-align: center;
}

.hq-result-title {
    font-family: 'Crimson Text', serif;
    font-size: 1.3rem;
    color: #8a8070;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hq-result-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    color: #f0e6d3;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}

.hq-result-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(196, 163, 90, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.hq-result-emoji {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.hq-result-name {
    font-family: 'Crimson Text', serif;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    position: relative;
}

.hq-result-type {
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    position: relative;
}

.hq-result-type-badge {
    display: inline-block;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.hq-result-description {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    text-align: left;
    position: relative;
}

.hq-result-quote {
    font-family: 'Crimson Text', serif;
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.5;
    padding: 1rem 1.5rem;
    border-left: 3px solid;
    text-align: left;
    margin: 1.5rem 0;
    position: relative;
}

/* Newsletter CTA */
.hq-newsletter {
    margin-top: 2rem;
    padding: 2rem 1.5rem;
    background: #faf8f4;
    border-radius: 12px;
    border: 1px solid #e8e0d4;
    text-align: left;
}

.hq-newsletter-title {
    font-family: 'Crimson Text', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 0.5rem 0;
    text-align: center;
}

.hq-newsletter-text {
    font-size: 0.95rem;
    color: #6a6a6a;
    margin: 0 0 1.5rem 0;
    text-align: center;
}

.hq-cr-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hq-cr-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

@media (max-width: 500px) {
    .hq-cr-fields {
        grid-template-columns: 1fr;
    }
}

.hq-cr-field {
    display: flex;
    flex-direction: column;
}

.hq-cr-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 4px;
}

.hq-cr-required {
    color: #c4a35a;
}

.hq-cr-input {
    padding: 10px 12px;
    border: 2px solid #e8e0d4;
    border-radius: 8px;
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    color: #2c2c2c;
    background: #fff;
    transition: border-color 0.25s ease;
    box-sizing: border-box;
}

.hq-cr-input:focus {
    outline: none;
    border-color: #c4a35a;
}

.hq-cr-consent {
    margin-top: 0.25rem;
}

.hq-cr-consent-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.78rem;
    line-height: 1.5;
    color: #6a6a6a;
    cursor: pointer;
}

.hq-cr-consent-label input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: #c4a35a;
}

.hq-btn-newsletter {
    align-self: center;
    margin-top: 0.5rem;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #f0e6d3;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hq-btn-newsletter:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Scores breakdown */
.hq-scores-bar-container {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(240, 230, 211, 0.2);
    position: relative;
}

.hq-scores-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #c4a35a;
    margin-bottom: 1rem;
    text-align: left;
}

.hq-score-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    font-size: 0.85rem;
}

.hq-score-label {
    width: 110px;
    text-align: right;
    flex-shrink: 0;
    color: #c0b8a8;
}

.hq-score-bar-bg {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
}

.hq-score-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1s ease;
}

.hq-score-pct {
    width: 40px;
    text-align: left;
    color: #c0b8a8;
    font-size: 0.8rem;
}

/* Animation */
@keyframes hq-fadeIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.hq-fade-in {
    animation: hq-fadeIn 0.5s ease forwards;
}

/* Responsive */
@media (max-width: 600px) {
    .hq-container {
        padding: 1rem;
        margin: 1rem auto;
    }

    .hq-intro {
        padding: 2rem 1rem;
    }

    .hq-title {
        font-size: 1.5rem;
    }

    .hq-question-area {
        padding: 1.5rem 1rem;
    }

    .hq-question-text {
        font-size: 1.2rem;
    }

    .hq-result-card {
        padding: 2rem 1.2rem;
    }

    .hq-result-name {
        font-size: 1.7rem;
    }

    .hq-score-label {
        width: 80px;
        font-size: 0.75rem;
    }
}
