:root {
    --primary-color: #DD777D;
    --primary-light: #e59498;
    --primary-dark: #c56267;
    --text-color: #2c3e50;
    --background-color: #f5f5f5;
    --success-color: #2ecc71;
    --error-color: #e74c3c;
    --border-radius: 8px;
    --transition-speed: 0.3s;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Oxygen', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.header-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.title-text {
    text-align: left;
}

header {
    text-align: center;
    margin-bottom: 2rem;
}

h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.progress-container {
    width: 100%;
    height: 30px;
    background-color: #e0e0e0;
    border-radius: var(--border-radius);
    margin: 1rem 0;
    position: relative;
    overflow: visible;
}

.progress-bar {
    height: 100%;
    background-color: var(--primary-color);
    transition: width var(--transition-speed) ease-in-out;
    border-radius: var(--border-radius);
}

.progress-rocket {
    position: absolute;
    top: -15px;
    left: 0;
    font-size: 1.5rem;
    transform: translateX(-50%);
    transition: left var(--transition-speed) ease-in-out;
    z-index: 2;
}

.progress-steps {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
}

.step-marker {
    width: 20px;
    height: 20px;
    background-color: white;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
    color: var(--primary-color);
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.step-marker.completed {
    background-color: var(--primary-color);
    color: white;
}

.total-years {
    color: var(--primary-color);
    font-weight: 700;
    margin-top: 1rem;
    text-align: center;
}

.step-container {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.step-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.step-title {
    color: var(--primary-color);
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.feasibility-badge {
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 500;
}

.feasible {
    background-color: var(--primary-light);
    color: white;
}

.fiction {
    background-color: var(--primary-dark);
    color: white;
}

.step-description {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: var(--text-color);
}

.options-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.option-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 2px solid #e0e0e0;
    cursor: pointer;
    transition: all var(--transition-speed);
    position: relative;
}

.option-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.option-card.selected {
    border-width: 2px;
}

.option-card.correct {
    border-color: var(--success-color);
    background-color: #f0fff4;
}

.option-card.incorrect {
    border-color: var(--error-color);
    background-color: #fff5f5;
}

.option-card.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.option-title {
    color: var(--primary-color);
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
    font-weight: 700;
}

.intelligence-types {
    color: var(--text-color);
    margin: 0;
    font-size: 0.9rem;
}

.feedback {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
}

.option-card.correct .feedback {
    color: var(--success-color);
}

.option-card.incorrect .feedback {
    color: var(--error-color);
}

.next-button {
    display: block;
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color var(--transition-speed);
}

.next-button:hover {
    background-color: var(--primary-dark);
}

.final-screen {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.final-screen h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.final-stats {
    margin-bottom: 2rem;
}

.final-stats p {
    font-size: 1.2rem;
    color: var(--text-color);
    margin: 0.5rem 0;
}

.final-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color var(--transition-speed);
}

.btn:hover {
    background-color: var(--primary-dark);
}

.hidden {
    display: none;
}

.intelligence-summary {
    margin-bottom: 2rem;
    background-color: var(--background-color);
    padding: 1rem;
    border-radius: var(--border-radius);
}

.intelligence-summary h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 700;
}

.intelligence-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.intelligence-table th,
.intelligence-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.intelligence-table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
}

.intelligence-table tr:last-child td {
    border-bottom: none;
}

.intelligence-table tr:hover {
    background-color: var(--background-color);
}

.intelligence-table td:last-child {
    text-align: center;
    font-weight: 600;
    color: var(--primary-color);
}

.intelligence-summary h3,
.wasted-years h3 {
    color: var(--primary-color);
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
}

.wasted-years {
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-top: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.wasted-years p {
    color: var(--text-color);
    font-size: 1.1rem;
    margin: 0;
}

.wasted-years-value {
    font-weight: 700;
    font-size: 1.1em;
}

.subtitle {
    color: var(--text-color);
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    text-align: center;
}

.site-footer {
    background-color: var(--primary-dark);
    color: white;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-text {
    text-align: left;
}

.footer-text p {
    margin: 0.5rem 0;
    font-weight: 300;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: color var(--transition-speed);
}

.social-links a:hover {
    color: var(--primary-light);
}

.welcome-screen {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
    animation: fadeIn var(--transition-speed) ease-out;
}

.welcome-content {
    max-width: 800px;
    margin: 0 auto;
}

.welcome-screen h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 700;
}

.welcome-text {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
}

.welcome-text p {
    margin-bottom: 1.5rem;
}

.game-rules {
    background-color: var(--background-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

.game-rules h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.game-rules ul {
    list-style-type: none;
    padding: 0;
}

.game-rules li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.game-rules li:before {
    content: "•";
    color: var(--primary-color);
    font-size: 1.2em;
    position: absolute;
    left: 0;
}

.cta-button {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 2rem auto;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.2rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-speed);
    text-align: center;
}

.cta-button i {
    margin-left: 0.5rem;
    transition: transform var(--transition-speed);
}

.cta-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.cta-button:hover i {
    transform: translateX(5px);
}

.logo-container {
    text-align: center;
    margin-bottom: 1rem;
}

.logo-header {
    height: 60px;
    width: auto;
}

.logo-footer {
    height: 40px;
    width: auto;
    margin-bottom: 1rem;
}

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

.step-container {
    animation: fadeIn var(--transition-speed) ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .options-container {
        grid-template-columns: 1fr;
    }

    .step-header {
        flex-direction: column;
        text-align: center;
    }

    .feasibility-badge {
        margin-top: 1rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-text {
        text-align: center;
    }
}
