* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

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

/* Home Page Styles */
#home-page {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    text-align: center;
}

#home-page h1 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 2rem;
}

.intro-container {
    text-align: left;
    margin-bottom: 30px;
}

.intro-section {
    margin-bottom: 25px;
}

.intro-section h2 {
    color: #3498db;
    margin-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 8px;
}

.intro-section ol {
    padding-left: 25px;
}

.intro-section li {
    margin-bottom: 8px;
}

.concept-box {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.concept-box h3 {
    color: #2c3e50;
    margin-bottom: 8px;
}

.concept-box p {
    margin-bottom: 10px;
}

.example {
    font-style: italic;
    color: #7f8c8d;
    border-left: 3px solid #ddd;
    padding-left: 10px;
    margin-top: 5px;
}

.intro-visual {
    margin: 20px 0;
}

.start-btn {
    background-color: #3498db;
    color: white;
    padding: 15px 40px;
    font-size: 1.2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 15px;
}

.start-btn:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #ddd;
}

h1 {
    color: #2c3e50;
}

.score-container {
    font-size: 1.2rem;
    font-weight: bold;
}

.game-container {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

#scenario-container {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    min-height: 120px;
}

#scenario-text {
    font-size: 1.1rem;
    line-height: 1.6;
}

.buttons-container {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-bottom: 20px;
}

button {
    padding: 12px 25px;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
}

#equality-btn {
    background-color: #3498db;
    color: white;
}

#equity-btn {
    background-color: #2ecc71;
    color: white;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

button:active {
    transform: translateY(0);
}

#feedback {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
}

#feedback.correct {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
}

#feedback.incorrect {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
}

#next-btn {
    background-color: #6c757d;
    color: white;
    margin-top: 10px;
}

.hidden {
    display: none;
}

.info-container {
    display: flex;
    gap: 20px;
}

.info-box {
    flex: 1;
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.info-box h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

#rewards-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    z-index: 100;
    max-width: 400px;
    width: 90%;
}

#rewards-container h2 {
    color: #f39c12;
    margin-bottom: 15px;
}

#reward-icon {
    font-size: 4rem;
    margin: 15px 0;
    animation: bounce 1s ease infinite;
}

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

#continue-btn {
    background-color: #f39c12;
    color: white;
    margin-top: 15px;
}

.progress-container {
    width: 100%;
    background-color: #e0e0e0;
    border-radius: 10px;
    height: 15px;
    margin-bottom: 20px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(to right, #3498db, #2ecc71);
    width: 0%;
    transition: width 0.5s ease-in-out;
    border-radius: 10px;
}

.game-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
    padding: 8px 12px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.stat-value {
    font-size: 1.2rem;
    font-weight: bold;
    color: #2c3e50;
}

.stat-label {
    font-size: 0.8rem;
    color: #7f8c8d;
}

.badges-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.badge {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background-color: #f5f5f5;
    opacity: 0.3;
    transition: all 0.3s ease;
}

.badge.earned {
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 215, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
    }
}

.score-animation {
    position: absolute;
    color: #2ecc71;
    font-weight: bold;
    font-size: 1.2rem;
    animation: float-up 1s ease-out forwards;
    opacity: 0;
}

@keyframes float-up {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(-50px);
        opacity: 0;
    }
}

.streak-counter {
    position: fixed;
    top: 10px;
    right: 10px;
    background-color: #f39c12;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.3s ease;
}

.streak-counter.active {
    opacity: 1;
    transform: scale(1);
}

.level-indicator {
    background: linear-gradient(45deg, #3498db, #2ecc71);
    color: white;
    border-radius: 5px;
    padding: 3px 8px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-left: 10px;
}

.time-bar-container {
    width: 100%;
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 5px;
    margin-bottom: 10px;
    overflow: hidden;
}

.time-bar {
    height: 100%;
    background-color: #e74c3c;
    width: 100%;
    transition: width 0.1s linear;
}

.buttons-container button {
    position: relative;
    overflow: hidden;
}

.buttons-container button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: all 0.5s;
}

.buttons-container button:active::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    transition: all 0s;
}

.swot-buttons-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.swot-buttons-container button {
    padding: 15px;
    font-size: 1.1rem;
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.swot-buttons-container button.strength {
    background-color: #3498db;
}

.swot-buttons-container button.weakness {
    background-color: #e74c3c;
}

.swot-buttons-container button.opportunity {
    background-color: #2ecc71;
}

.swot-buttons-container button.threat {
    background-color: #f39c12;
}

.swot-buttons-container button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.swot-buttons-container button:disabled {
    background-color: #95a5a6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.site-footer {
    background-color: #f5f5f5;
    padding: 15px 0;
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.footer-link {
    display: flex;
    align-items: center;
}

.footer-icon {
    width: 32px;
    height: 32px;
    margin-right: 10px;
}

.footer-text {
    color: #7f8c8d;
    font-size: 0.9rem;
}