/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.7;
    color: #2c3e50;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}









.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Screen Management */
.screen {
    display: none;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
}

.screen.active {
    display: flex;
}

/* Start Screen */
#start-screen {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
    position: relative;
}





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

@keyframes colorShift {
    0%, 100% { filter: drop-shadow(0 4px 8px rgba(75, 79, 183, 0.3)) hue-rotate(0deg); }
    50% { filter: drop-shadow(0 6px 12px rgba(0, 206, 209, 0.4)) hue-rotate(15deg); }
}

@keyframes titleShimmer {
    0% { 
        left: -100%;
        opacity: 0;
    }
    50% {
        left: 50%;
        opacity: 1;
    }
    100% { 
        left: 100%;
        opacity: 0;
    }
}

@keyframes lineShimmer {
    0% { 
        left: -100%;
        opacity: 0;
    }
    50% {
        left: 50%;
        opacity: 1;
    }
    100% { 
        left: 100%;
        opacity: 0;
    }
}





.hero-section {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.98) 25%, rgba(241, 245, 249, 0.96) 50%, rgba(248, 250, 252, 0.98) 75%, rgba(255, 255, 255, 0.95) 100%),
        radial-gradient(ellipse at 30% 20%, rgba(65, 105, 225, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 80%, rgba(64, 224, 208, 0.06) 0%, transparent 50%);
    border-radius: 30px;
    padding: 80px 50px;
    text-align: center;
    box-shadow: 
        0 35px 90px rgba(65, 105, 225, 0.15),
        0 20px 50px rgba(30, 144, 255, 0.12),
        0 8px 25px rgba(0, 191, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(65, 105, 225, 0.05);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(65, 105, 225, 0.15);
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(75, 79, 183, 0.05), transparent);
    pointer-events: none;
}



.icon-wrapper {
    margin-bottom: 40px;
    position: relative;
}





.icon-wrapper i {
    font-size: 5rem;
    background: linear-gradient(135deg, #4b4fb7 0%, #4682b4 25%, #00ced1 75%, #40e0d0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: float 3s ease-in-out infinite, colorShift 4s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(75, 79, 183, 0.3));
}







.main-title {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #4b4fb7 0%, #4682b4 25%, #00ced1 75%, #40e0d0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 40px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 8px rgba(75, 79, 183, 0.2);
    position: relative;
}

.title-line {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #4b4fb7, #4682b4, #00ced1, #40e0d0, transparent);
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(75, 79, 183, 0.3);
    z-index: 1;
    overflow: hidden;
    display: block;
}

.title-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    animation: lineShimmer 2.5s ease-in-out infinite 1s;
}

.main-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: titleShimmer 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.subtitle {
    font-size: 1.8rem;
    color: #a0ccce;
    margin-top: 40px;
    margin-bottom: 30px;
    font-weight: 800;
    font-style: italic;
    letter-spacing: 0.02em;
    position: relative;
}

.subtitle::before {
    content: '〜';
    color: #b1c5c6;
    margin-right: 8px;
}

.subtitle::after {
    content: '〜';
    color: #b1c5c6;
    margin-left: 8px;
}

.description {
    margin-bottom: 40px;
}

.description p {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #555;
}

.highlight-text {
    color: #2c3e50;
    font-size: 1.3em;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(44, 62, 80, 0.2);
    position: relative;
    display: inline-block;
}

.description p strong {
    color: #4a4a4a;
    font-weight: 600;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
    padding: 0 20px;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: #2c3e50;
    font-weight: 600;
    padding: 25px 20px;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(65, 105, 225, 0.1), transparent);
    transition: left 0.6s ease;
}

.feature:hover::before {
    left: 100%;
}

.feature:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 15px 35px rgba(65, 105, 225, 0.2);
    border-color: rgba(65, 105, 225, 0.3);
}

.feature i {
    font-size: 2rem;
    margin-bottom: 5px;
    color: #718096;
}

.feature span {
    font-size: 0.95rem;
    text-align: center;
    color: #2c3e50;
}

.start-btn {
    background: linear-gradient(135deg, #667eea 0%, #4facfe 25%, #00f2fe 50%, #4facfe 75%, #43e97b 100%);
    color: white;
    border: none;
    padding: 22px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 60px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 25px rgba(102, 126, 234, 0.4),
        0 4px 12px rgba(79, 172, 254, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    min-width: 280px;
    height: 66px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.start-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.start-btn:hover::before {
    left: 100%;
}

.start-btn:hover {
    transform: translateY(-4px) scale(1.02);
    background: linear-gradient(135deg, #7e8ef0 0%, #5fb5fe 25%, #1ff5fe 50%, #5fb5fe 75%, #54ea87 100%);
    box-shadow: 
        0 12px 35px rgba(102, 126, 234, 0.6),
        0 6px 18px rgba(79, 172, 254, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.start-btn:active {
    transform: translateY(-2px) scale(1.01);
    transition: all 0.1s ease;
}

.list-btn {
    background: linear-gradient(135deg, #e0e0e0 0%, #d0d0d0 50%, #c0c0c0 100%);
    color: #666;
    margin-top: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.0rem;
    font-weight: 700;
    min-width: 280px;
    text-align: center;
    letter-spacing: 0.5px;
    padding: 22px 40px;
    border-radius: 60px;
    box-shadow: 
        0 8px 25px rgba(224, 224, 224, 0.3),
        0 4px 12px rgba(208, 208, 208, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.list-btn:hover {
    background: linear-gradient(135deg, #f0f0f0 0%, #e5e5e5 50%, #d5d5d5 100%);
    color: #555;
    box-shadow: 
        0 12px 35px rgba(224, 224, 224, 0.4),
        0 6px 18px rgba(208, 208, 208, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.list-btn::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.credit-text {
    margin-top: 30px;
    font-size: 0.8rem;
    color: #555;
    text-align: center;
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1.5;
}

.credit-text a {
    color: #4169e1;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(65, 105, 225, 0.3);
}

.credit-text a:hover {
    color: #1e90ff;
    border-bottom-color: #1e90ff;
    transform: translateY(-1px);
}

.copyright-text {
    margin-top: 20px;
    font-size: 0.7rem;
    color: #888;
    text-align: center;
    font-weight: 300;
    letter-spacing: 0.02em;
    opacity: 0.8;
}

.start-btn i {
    margin-right: 10px;
}

.start-btn-inline {
    margin-top: 25px;
    margin-bottom: 15px;
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* Question Screen */
#question-screen {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}











#question-screen .container {
    max-width: 700px;
}

.progress-bar {
    background: rgba(255, 255, 255, 0.3);
    height: 8px;
    border-radius: 10px;
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.progress {
    background: linear-gradient(90deg, #4169e1 0%, #1e90ff 25%, #00bfff 50%, #00ced1 75%, #40e0d0 100%);
    height: 100%;
    border-radius: 10px;
    transition: width 0.5s ease;
    width: 20%;
    box-shadow: 0 2px 6px rgba(65, 105, 225, 0.3);
}

.question-counter {
    text-align: center;
    color: #2c3e50;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.95);
    padding: 16px 32px;
    border-radius: 30px;
    display: inline-block;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(65, 105, 225, 0.2);
    box-shadow: 
        0 8px 25px rgba(65, 105, 225, 0.15),
        0 4px 15px rgba(30, 144, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    letter-spacing: 0.5px;
}

.question-content {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.98) 25%, rgba(241, 245, 249, 0.96) 50%, rgba(248, 250, 252, 0.98) 75%, rgba(255, 255, 255, 0.95) 100%),
        radial-gradient(ellipse at 30% 20%, rgba(65, 105, 225, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 80%, rgba(64, 224, 208, 0.06) 0%, transparent 50%);
    border-radius: 30px;
    padding: 50px;
    margin-bottom: 40px;
    box-shadow: 
        0 35px 90px rgba(65, 105, 225, 0.15),
        0 20px 50px rgba(30, 144, 255, 0.12),
        0 8px 25px rgba(0, 191, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(65, 105, 225, 0.05);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(65, 105, 225, 0.15);
    position: relative;
    overflow: hidden;
}



.question-content::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(65, 105, 225, 0.05), transparent);

    pointer-events: none;
}

#question-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.4;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.option {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 25px 30px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #2c3e50;
    font-weight: 500;
    line-height: 1.6;
}

.option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(65, 105, 225, 0.1), transparent);
    transition: left 0.5s ease;
}

.option:hover::before {
    left: 100%;
}

.option:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(65, 105, 225, 0.3);
    color: #2c3e50;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(65, 105, 225, 0.2);
}

.option.selected {
    background: linear-gradient(135deg, #4169e1 0%, #1e90ff 50%, #00bfff 100%);
    color: white;
    border-color: #4169e1;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 12px 30px rgba(65, 105, 225, 0.4),
        0 6px 15px rgba(30, 144, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}




.navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.85);
    color: #2c3e50;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 15px 25px;
    border-radius: 15px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.nav-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(65, 105, 225, 0.15);
    border-color: rgba(65, 105, 225, 0.3);
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Result Screen */
#result-screen {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
    position: relative;
}



.result-content {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.98) 25%, rgba(241, 245, 249, 0.96) 50%, rgba(248, 250, 252, 0.98) 75%, rgba(255, 255, 255, 0.95) 100%),
        radial-gradient(ellipse at 30% 20%, rgba(65, 105, 225, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 80%, rgba(64, 224, 208, 0.06) 0%, transparent 50%);
    border-radius: 35px;
    padding: 70px 50px;
    text-align: center;
    box-shadow: 
        0 35px 90px rgba(65, 105, 225, 0.15),
        0 20px 50px rgba(30, 144, 255, 0.12),
        0 8px 25px rgba(0, 191, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(65, 105, 225, 0.05);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(65, 105, 225, 0.15);
    max-width: 900px;
    position: relative;
    overflow: hidden;
}





.result-icon i {
    font-size: 4rem;
    color: #ffd700;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

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

.result-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
}

.result-type {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #4169e1 0%, #1e90ff 25%, #00bfff 50%, #00ced1 75%, #40e0d0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
    padding: 15px 25px;
    text-align: center;
    filter: drop-shadow(0 2px 4px rgba(65, 105, 225, 0.3));
    position: relative;
}

.result-type::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #4169e1, #1e90ff, #00bfff, #00ced1, #40e0d0, transparent);
    border-radius: 2px;
}

.result-description {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 40px;
    line-height: 1.7;
}

.roadmap-section, .cta-section {
    margin-bottom: 40px;
    text-align: left;
}

.roadmap-section h3, .cta-section h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
    text-align: center;
}

.roadmap-section h3 i, .cta-section h3 i {
    color: #718096;
    margin-right: 10px;
}

.roadmap {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.roadmap-step {
    background: rgba(255, 255, 255, 0.9);
    border-left: 4px solid;
    border-image: linear-gradient(180deg, #4169e1 0%, #1e90ff 25%, #00bfff 50%, #00ced1 75%, #40e0d0 100%) 1;
    border-radius: 10px;
    padding: 20px;
    position: relative;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(65, 105, 225, 0.1);
}

.roadmap-step .step-number {
    background: linear-gradient(135deg, #4169e1 0%, #1e90ff 50%, #00bfff 100%);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    position: absolute;
    left: -17px;
    top: 20px;
    box-shadow: 0 4px 12px rgba(65, 105, 225, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.roadmap-step .step-content {
    margin-left: 25px;
}

.roadmap-step h4 {
    font-size: 1.2rem;
    font-weight: 600;
    background: linear-gradient(135deg, #4169e1 0%, #1e90ff 25%, #00bfff 50%, #00ced1 75%, #40e0d0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    filter: drop-shadow(0 1px 2px rgba(65, 105, 225, 0.2));
}

.roadmap-step p {
    color: #555;
    font-size: 1rem;
    font-weight: 500;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.cta-btn {
    background: linear-gradient(135deg, #667eea 0%, #4facfe 25%, #00f2fe 50%, #4facfe 75%, #43e97b 100%);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 250px;
    justify-content: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    box-shadow: 
        0 8px 25px rgba(102, 126, 234, 0.4),
        0 4px 12px rgba(79, 172, 254, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.cta-btn:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, #7e8ef0 0%, #5fb5fe 25%, #1ff5fe 50%, #5fb5fe 75%, #54ea87 100%);
    box-shadow: 
        0 12px 35px rgba(102, 126, 234, 0.6),
        0 6px 18px rgba(79, 172, 254, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.cta-btn.list-btn {
    background: linear-gradient(135deg, #e0e0e0 0%, #d0d0d0 50%, #c0c0c0 100%);
    color: #666;
    box-shadow: 0 4px 12px rgba(224, 224, 224, 0.3);
}

.cta-btn.list-btn:hover {
    background: linear-gradient(135deg, #f0f0f0 0%, #e5e5e5 50%, #d5d5d5 100%);
    color: #555;
    box-shadow: 0 8px 20px rgba(224, 224, 224, 0.4);
}

.restart-btn {
    background: rgba(177, 197, 198, 0.1);
    color: #b1c5c6;
    border: 2px solid #b1c5c6;
    padding: 12px 25px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 30px;
}

.restart-btn:hover {
    background: #b1c5c6;
    color: white;
}

.restart-btn i {
    margin-right: 8px;
}

/* Animations and Transitions */
.option {
    animation: slideUp 0.3s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.option:nth-child(1) { animation-delay: 0.1s; }
.option:nth-child(2) { animation-delay: 0.2s; }
.option:nth-child(3) { animation-delay: 0.3s; }

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.roadmap-step {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.roadmap-step:nth-child(1) { animation-delay: 0.2s; }
.roadmap-step:nth-child(2) { animation-delay: 0.4s; }
.roadmap-step:nth-child(3) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Accessibility Improvements */
.option:focus {
    outline: 3px solid #b1c5c6;
    outline-offset: 2px;
}

.nav-btn:focus,
.start-btn:focus,
.restart-btn:focus,
.cta-btn:focus {
    outline: 3px solid #b1c5c6;
    outline-offset: 2px;
}

/* Loading State */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #b1c5c6;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



/* Success Message */
.success-message {
    background: linear-gradient(135deg, #4caf50, #45a049);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideDown 0.5s ease;
}

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

/* Enhanced Progress Bar */
.progress {
    background: linear-gradient(90deg, #b1c5c6, #c7d5d6);
    position: relative;
    overflow: hidden;
}

.progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .hero-section {
        padding: 40px 25px;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .features {
        flex-direction: column;
        gap: 15px;
    }
    
    .question-content {
        padding: 25px;
    }
    
    #question-title {
        font-size: 1.5rem;
    }
    
    .option {
        padding: 15px;
        font-size: 1rem;
    }
    
    .navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .nav-btn {
        width: 100%;
        justify-content: center;
    }
    
    .result-content {
        padding: 30px 20px;
    }
    
    .result-title {
        font-size: 1.8rem;
    }
    
    .roadmap-step {
        padding: 15px;
    }
    
    .roadmap-step .step-content {
        margin-left: 20px;
    }
    
    .cta-btn {
        min-width: auto;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 1.7rem;
    }
    
    .start-btn {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
    
    #question-title {
        font-size: 1.3rem;
    }
    
    .result-title {
        font-size: 1.6rem;
    }
    
    .roadmap-step .step-number {
        width: 25px;
        height: 25px;
        font-size: 0.9rem;
        left: -12px;
    }
    
    .roadmap-step .step-content {
        margin-left: 15px;
    }
}