* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #f4f6f9;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.app-container {
    background: #ffffff;
    width: 100%;
    max-width: 400px;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    text-align: center;
}

.screen {
    display: none;
}

.screen.active {
    display: block;
}

.app-title {
    color: #ff4757;
    font-size: 24px;
    margin-bottom: 10px;
}

.screen-title {
    color: #2f3542;
    font-size: 20px;
    margin-bottom: 10px;
}

.subtitle {
    color: #747d8c;
    font-size: 14px;
    margin-bottom: 20px;
}

.question-title {
    font-size: 18px;
    color: #2f3542;
    margin-bottom: 25px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 12px;
    transition: all 0.2s ease;
}

.btn:active {
    transform: scale(0.98);
}

.primary-btn {
    background-color: #ff4757;
    color: white;
}

.secondary-btn {
    background-color: #2ed573;
    color: white;
}

.telegram-btn {
    background-color: #0088cc;
    color: white;
}

.back-btn {
    background-color: #e4e7eb;
    color: #57606f;
}

.opt-btn {
    background-color: #f1f2f6;
    color: #2f3542;
    border: 1px solid #dfe4ea;
}

.opt-btn:hover {
    background-color: #e4e7eb;
}

.share-btn {
    background-color: #000000;
    color: white;
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #e4e7eb;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
}

#progress {
    height: 100%;
    width: 0%;
    background-color: #ff4757;
    transition: width 0.3s ease;
}

/* Result Box */
.result-box {
    background-color: #f1f2f6;
    padding: 20px;
    border-radius: 15px;
    margin: 20px 0;
}

#result-score {
    font-size: 48px;
    color: #ff4757;
    margin-bottom: 10px;
}

#result-description {
    font-size: 15px;
    color: #2f3542;
    line-height: 1.5;
}

/* Spinner Animation */
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #ff4757;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 30px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-sub {
    font-size: 12px;
    color: #a4b0be;
    margin-top: 10px;
}

.disclaimer-text {
    font-size: 11px;
    color: #a4b0be;
    margin-top: 20px;
    line-height: 1.4;
}