/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Crimson Text', 'Lora', Georgia, serif;
    color: #F5F5DC;
    background: #0D0D0D;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ===== LANGUAGE TOGGLE ===== */
.language-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 8px;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #F5F5DC;
    padding: 8px 16px;
    cursor: pointer;
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 1px;
    transition: all 300ms ease;
    border-radius: 4px;
}

.lang-btn:hover {
    background: rgba(217, 118, 39, 0.2);
    border-color: #D97627;
}

.lang-btn.active {
    background: rgba(217, 118, 39, 0.4);
    border-color: #D97627;
    color: #F4A460;
}

/* ===== SECTIONS ===== */
.section {
    display: none;
    min-height: 100vh;
    padding: 40px 20px;
    opacity: 0;
    transition: opacity 500ms ease;
}

.section.active {
    display: flex;
    opacity: 1;
    animation: fadeIn 500ms ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== COVER SECTION ===== */
#cover {
    background: linear-gradient(180deg,
        #000000 0%,
        #1A0A0A 15%,
        #D97627 50%,
        #F4A460 55%,
        #D97627 60%,
        #1A1A1A 85%,
        #000000 100%
    );
    background-size: 100% 200%;
    background-position: center;
    animation: gradientShift 8s ease infinite alternate;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

@keyframes gradientShift {
    0% {
        background-position: center 40%;
    }
    100% {
        background-position: center 60%;
    }
}

#cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
    pointer-events: none;
}

.cover-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.brand-title {
    font-family: 'Raleway', sans-serif;
    font-size: 72px;
    font-weight: 300;
    letter-spacing: 8px;
    margin-bottom: 48px;
    text-shadow: 0 4px 20px rgba(217, 118, 39, 0.4);
}

.cta-button {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #F5F5DC;
    padding: 18px 48px;
    font-family: 'Raleway', sans-serif;
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 300ms ease;
    border-radius: 2px;
}

.cta-button:hover {
    border-color: #D97627;
    background: rgba(217, 118, 39, 0.2);
    box-shadow: 0 0 30px rgba(217, 118, 39, 0.3);
    transform: scale(1.02);
}

/* ===== QUIZ SECTION ===== */
#quiz {
    background: #0D0D0D;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.quiz-container {
    max-width: 800px;
    width: 100%;
}

.progress-container {
    margin-bottom: 60px;
}

.progress-bar {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 12px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #D97627, #F4A460);
    transition: width 400ms ease;
    width: 0%;
}

.progress-text {
    text-align: center;
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 2px;
    color: #A9A9A9;
}

.question-container {
    text-align: center;
}

.question-text {
    font-family: 'Crimson Text', serif;
    font-size: 32px;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.answers-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.answer-button {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #F5F5DC;
    padding: 20px 24px;
    font-family: 'Crimson Text', serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    text-align: left;
    cursor: pointer;
    transition: all 300ms ease;
    border-radius: 4px;
}

.answer-button:hover {
    border-color: rgba(217, 118, 39, 0.6);
    background: rgba(217, 118, 39, 0.1);
    box-shadow: 0 0 20px rgba(217, 118, 39, 0.2);
    transform: scale(1.02);
}

.answer-button:active {
    transform: scale(0.98);
}

/* ===== RESULTS SECTION ===== */
#results {
    background: linear-gradient(180deg, #000000 0%, #0D0D0D 20%, #1A1A1A 80%, #000000 100%);
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.results-container {
    max-width: 800px;
    width: 100%;
    text-align: center;
}

.tea-name {
    font-family: 'Raleway', sans-serif;
    font-size: 48px;
    font-weight: 300;
    letter-spacing: 4px;
    margin-bottom: 48px;
    color: #F4A460;
}

.tea-image-container {
    margin: 0 auto 48px;
    max-width: 400px;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tea-image {
    width: 100%;
    height: auto;
    display: block;
}

.description-container {
    margin-bottom: 48px;
}

.tea-description {
    font-size: 20px;
    line-height: 1.8;
    color: #F5F5DC;
    max-width: 700px;
    margin: 0 auto;
}

.compatibility-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.best-match, .worst-match {
    text-align: left;
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.best-match h3, .worst-match h3 {
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #D97627;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.best-match p, .worst-match p {
    font-size: 16px;
    line-height: 1.6;
    color: #F5F5DC;
}

.fun-fact-container {
    text-align: left;
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-bottom: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.fun-fact-container h3 {
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #D97627;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.fun-fact-container p {
    font-size: 16px;
    line-height: 1.6;
    color: #F5F5DC;
}

.action-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.action-button {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #F5F5DC;
    padding: 14px 32px;
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 300ms ease;
    border-radius: 4px;
}

.action-button:hover {
    border-color: #D97627;
    background: rgba(217, 118, 39, 0.2);
    box-shadow: 0 0 20px rgba(217, 118, 39, 0.2);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .brand-title {
        font-size: 48px;
        letter-spacing: 6px;
    }

    .brand-subtitle {
        font-size: 18px;
        letter-spacing: 2px;
    }

    .question-text {
        font-size: 24px;
    }

    .answer-button {
        font-size: 16px;
        padding: 16px 20px;
    }

    .tea-name {
        font-size: 32px;
        letter-spacing: 2px;
    }

    .tea-description {
        font-size: 18px;
    }

    .compatibility-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .action-buttons {
        flex-direction: column;
    }

    .action-button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .brand-title {
        font-size: 36px;
    }

    .question-text {
        font-size: 20px;
    }
}
