* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: linear-gradient(135deg, #fcf8e3 0%, #fff8e7 50%, #fef9ed 100%);
    min-height: 100vh;
    color: #5a4b3d;
}

.app-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.app-content {
    width: 100%;
    max-width: 600px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.screen {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Welcome Screen */
.welcome-screen {
    text-align: center;
    justify-content: center;
    position: relative;
}

.welcome-glow {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 167, 98, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.welcome-title {
    font-family: 'Crimson Pro', serif;
    font-size: 2.8rem;
    font-weight: 600;
    color: #5a4b3d;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.welcome-subtitle {
    font-size: 1.1rem;
    color: #9b8a4c;
    margin-bottom: 30px;
    font-weight: 500;
}

.welcome-description {
    font-size: 1rem;
    color: #7b6f5d;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 400px;
}

.discover-button {
    background: linear-gradient(135deg, #d4a762 0%, #c9a85c 100%);
    color: white;
    border: none;
    padding: 18px 36px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(212, 167, 98, 0.4);
    transition: all 0.3s ease;
    font-family: 'Space Grotesk', sans-serif;
}

.discover-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(212, 167, 98, 0.5);
}

.privacy-note {
    font-size: 0.85rem;
    color: #9b8a4c;
    margin-top: 30px;
}

/* Compass */
.compass-container {
    margin: 30px 0;
}

.compass-outer {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(145deg, #f5edd8 0%, #e8dfc5 100%);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.1),
        inset 0 2px 10px rgba(255, 255, 255, 0.8);
    padding: 8px;
}

.compass-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(145deg, #fffef5 0%, #f8f4e3 100%);
    border: 3px solid #d4a762;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.compass-marks {
    position: absolute;
    width: 100%;
    height: 100%;
}

.compass-direction {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 10px;
    font-weight: 700;
    color: #9b8a4c;
}

.compass-needle {
    width: 4px;
    height: 60px;
    position: relative;
    transition: transform 0.3s ease-out;
}

.needle-north {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 30px solid #c9a85c;
}

.needle-south {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 30px solid #8b5a5a;
}

.compass-center {
    position: absolute;
    width: 12px;
    height: 12px;
    background: linear-gradient(145deg, #d4a762, #b8944f);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Progress Bar */
.progress-container {
    width: 100%;
    margin-bottom: 20px;
}

.progress-text {
    font-size: 0.9rem;
    color: #9b8a4c;
    margin-bottom: 8px;
    font-weight: 500;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: #e8dfc5;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #d4a762, #c9a85c);
    border-radius: 3px;
    transition: width 0.5s ease;
}

/* Question Screen */
.question-screen {
    text-align: center;
}

.compass-hint {
    font-family: 'Crimson Pro', serif;
    font-style: italic;
    font-size: 1rem;
    color: #9b8a4c;
    margin-bottom: 20px;
    animation: fadeIn 0.5s ease;
}

.question-title {
    font-family: 'Crimson Pro', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: #5a4b3d;
    margin-bottom: 10px;
    line-height: 1.4;
}

.question-hint {
    font-size: 0.9rem;
    color: #9b8a4c;
    margin-bottom: 25px;
}

.text-input-container {
    width: 100%;
    max-width: 450px;
}

.text-input {
    width: 100%;
    padding: 16px 20px;
    font-size: 1rem;
    font-family: 'Space Grotesk', sans-serif;
    border: 2px solid #e8dfc5;
    border-radius: 12px;
    background: white;
    color: #5a4b3d;
    resize: none;
    transition: border-color 0.3s ease;
}

.text-input:focus {
    outline: none;
    border-color: #d4a762;
}

.text-input::placeholder {
    color: #b5a88a;
}

.submit-button {
    margin-top: 20px;
    background: linear-gradient(135deg, #d4a762 0%, #c9a85c 100%);
    color: white;
    border: none;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    font-family: 'Space Grotesk', sans-serif;
    transition: all 0.3s ease;
}

.submit-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 167, 98, 0.4);
}

.submit-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.options-grid {
    display: grid;
    gap: 12px;
    width: 100%;
    max-width: 450px;
    margin-top: 10px;
}

.visual-grid {
    grid-template-columns: repeat(2, 1fr);
}

.option-card {
    background: white;
    border: 2px solid #e8dfc5;
    border-radius: 12px;
    padding: 20px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-family: 'Space Grotesk', sans-serif;
}

.option-card:hover {
    border-color: #d4a762;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 167, 98, 0.2);
}

.option-card.selected {
    border-color: #d4a762;
    background: linear-gradient(135deg, #fff8e7 0%, #fef5dc 100%);
    box-shadow: 0 4px 20px rgba(212, 167, 98, 0.3);
}

.option-icon {
    font-size: 2rem;
}

.option-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #5a4b3d;
    text-align: center;
}

.option-description {
    font-size: 0.8rem;
    color: #9b8a4c;
    text-align: center;
}

/* Loading Screen */
.loading-screen {
    justify-content: center;
}

.loading-text {
    font-family: 'Crimson Pro', serif;
    font-size: 1.3rem;
    font-style: italic;
    color: #5a4b3d;
    margin-top: 20px;
}

.loading-dots {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}

.loading-dot {
    width: 10px;
    height: 10px;
    background: #d4a762;
    border-radius: 50%;
    animation: bounce 1s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Results Screen */
.results-screen {
    text-align: center;
    position: relative;
}

.result-badge {
    font-size: 3rem;
    margin-bottom: 10px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.result-label {
    font-size: 0.9rem;
    color: #9b8a4c;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 8px;
}

.result-title {
    font-family: 'Crimson Pro', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #5a4b3d;
    margin-bottom: 16px;
}

.result-description {
    font-size: 1.05rem;
    color: #7b6f5d;
    line-height: 1.7;
    max-width: 400px;
    margin-bottom: 30px;
}

.career-paths {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    width: 100%;
    max-width: 400px;
}

.paths-label {
    font-size: 0.85rem;
    color: #9b8a4c;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 16px;
}

.paths-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.path-tag {
    background: linear-gradient(135deg, #fff8e7 0%, #fef5dc 100%);
    border: 1px solid #d4a762;
    color: #5a4b3d;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.result-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.share-button, .restart-button {
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    font-family: 'Space Grotesk', sans-serif;
    transition: all 0.3s ease;
}

.share-button {
    background: linear-gradient(135deg, #d4a762 0%, #c9a85c 100%);
    color: white;
    border: none;
}

.share-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 167, 98, 0.4);
}

.restart-button {
    background: white;
    color: #5a4b3d;
    border: 2px solid #e8dfc5;
}

.restart-button:hover {
    border-color: #d4a762;
}

/* Category Pills */
.category-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
    padding: 0 20px;
}

.category-pill {
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    font-family: 'Space Grotesk', sans-serif;
    color: white;
}

.category-gold { background: #9b8a4c; }
.category-burgundy { background: #8b5a5a; }
.category-green { background: #4a7c59; }
.category-charcoal { background: #3d4a4f; }

.category-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.category-pill.active {
    border-color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Confetti */
.confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 100;
}

.confetti-particle {
    position: absolute;
    top: -20px;
    border-radius: 2px;
    animation: fall linear forwards;
}

@keyframes fall {
    0% { 
        transform: translateY(0) rotate(0deg); 
        opacity: 1;
    }
    100% { 
        transform: translateY(100vh) rotate(720deg); 
        opacity: 0;
    }
}

/* Footer */
.app-footer {
    padding: 20px;
    text-align: center;
}

.app-footer a {
    color: #9b8a4c;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.app-footer a:hover {
    color: #d4a762;
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
    .welcome-title {
        font-size: 2.2rem;
    }
    
    .question-title {
        font-size: 1.4rem;
    }
    
    .visual-grid {
        grid-template-columns: 1fr;
    }
    
    .option-card {
        flex-direction: row;
        text-align: left;
        gap: 16px;
    }
    
    .option-icon {
        font-size: 1.8rem;
    }
    
    .discover-button {
        padding: 16px 28px;
        font-size: 1rem;
    }
    
    .result-title {
        font-size: 1.8rem;
    }
    
    .category-pills {
        gap: 8px;
    }
    
    .category-pill {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
}