* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #fefefe;
    color: #19202E;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}

.quiz-container, .result-container {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(25, 32, 46, 0.1);
    transition: all 0.3s ease;
}

.header {
    text-align: center;
    margin-bottom: 40px;
}

.home-link {
    display: inline-block;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 20px;
    transition: all 0.2s ease;
    text-align: left;
}

.home-link:hover {
    color: #764ba2;
    transform: translateX(-3px);
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #19202E;
}

.subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    font-weight: 400;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
    width: 20%;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.question-container {
    margin-bottom: 30px;
}

.question-text {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.4;
}

.options-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.option-btn {
    padding: 20px 25px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: #19202E;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    min-height: 60px;
    display: flex;
    align-items: center;
}

.option-btn:hover {
    border-color: #667eea;
    background: #f8f9ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.option-btn.selected {
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.next-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.next-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.next-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.hidden {
    display: none;
}

.result-container {
    text-align: center;
}

.result-container .home-link {
    text-align: center;
    display: block;
    margin-bottom: 25px;
}

.result-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.result-image-container {
    margin: 30px 0;
}

.result-image {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(25, 32, 46, 0.1);
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: none;
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

.result-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 40px;
    font-weight: 400;
}

.social-share-section {
    margin-bottom: 40px;
}

.share-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #19202E;
}

.social-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 25px;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    justify-content: center;
    min-height: 50px;
}

.x-btn {
    background: #000000;
    color: white;
}

.x-btn:hover {
    background: #333333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.linkedin-btn {
    background: #0077b5;
    color: white;
}

.linkedin-btn:hover {
    background: #005885;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 119, 181, 0.3);
}

.bluesky-btn {
    background: #0085ff;
    color: white;
}

.bluesky-btn:hover {
    background: #0066cc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 133, 255, 0.3);
}

.reddit-btn {
    background: #ff4500;
    color: white;
}

.reddit-btn:hover {
    background: #cc3600;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 69, 0, 0.3);
}

.download-section {
    display: flex;
    justify-content: center;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    justify-content: center;
}

.download-btn:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.retake-btn {
    padding: 15px 30px;
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.retake-btn:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

@media (max-width: 768px) {
    .quiz-container, .result-container {
        padding: 30px 25px;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .question-text {
        font-size: 1.2rem;
    }
    
    .option-btn {
        padding: 18px 20px;
        font-size: 0.95rem;
    }
    
    .social-buttons {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .share-btn {
        min-height: 45px;
        font-size: 0.9rem;
    }
    
    .result-title {
        font-size: 1.8rem;
    }
    
    .result-image {
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 15px;
    }
    
    .quiz-container, .result-container {
        padding: 25px 20px;
    }
    
    .header h1 {
        font-size: 1.8rem;
    }
    
    .question-text {
        font-size: 1.1rem;
    }
    
    .option-btn {
        padding: 16px 18px;
        font-size: 0.9rem;
        min-height: 55px;
    }
    
    .next-btn {
        padding: 16px;
        font-size: 1rem;
    }
    
    .result-image {
        max-width: 200px;
    }
}