:root {
    --primary-color: #4CAF50;
    --secondary-color: #8BC34A;
    --accent-color: #2E7D32;
    --text-color: #212121;
    --background-color: #F5F5F5;
    --team1-color: #2196F3;
    --team2-color: #FF5722;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    background-color: #ecf9ec;
    background-image: url('../images/leaf-pattern.png');
    background-repeat: repeat;
    background-size: 300px;
    background-blend-mode: overlay;
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background-color: var(--primary-color);
}

.logo {
    margin-bottom: 20px;
}

.logo-img {
    width: 150px;
    height: auto;
}

h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.intro {
    margin-bottom: 30px;
    font-size: 1.2rem;
}

.intro ol {
    display: inline-block;
    text-align: left;
    margin-top: 10px;
}

.environmental-icon {
    width: 50px;
    height: 50px;
    margin: 0 10px;
}

.leaf-decoration {
    position: absolute;
    opacity: 0.2;
    z-index: 0;
}

.leaf-1 {
    top: 50px;
    left: 50px;
    transform: rotate(30deg);
}

.leaf-2 {
    bottom: 70px;
    right: 70px;
    transform: rotate(-20deg);
}

.leaf-3 {
    top: 70px;
    right: 100px;
    transform: rotate(15deg);
}

.leaf-4 {
    bottom: 100px;
    left: 80px;
    transform: rotate(-30deg);
}

.teams {
    display: flex;
    justify-content: space-around;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.team {
    padding: 20px;
    border-radius: 10px;
    width: 40%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.team-1 {
    background-color: rgba(33, 150, 243, 0.1);
    border: 2px solid var(--team1-color);
}

.team-2 {
    background-color: rgba(255, 87, 34, 0.1);
    border: 2px solid var(--team2-color);
}

.team h2 {
    color: var(--accent-color);
    margin-bottom: 10px;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1rem;
    transition: background-color 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.footer {
    margin-top: 40px;
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: bold;
    padding: 15px;
    border-top: 1px solid #e0e0e0;
    position: relative;
    z-index: 1;
}

/* Quiz section styles */
.quiz-container {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}

.question {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.options-container {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.option {
    padding: 10px 15px;
    background-color: #f5f5f5;
    border-radius: 5px;
    font-size: 1.1rem;
    text-align: left;
}

.option:hover {
    background-color: #f5f5f5;
}

.option.selected {
    background-color: var(--secondary-color);
    color: white;
}

.timer {
    font-size: 2rem;
    margin: 20px 0;
    font-weight: bold;
    color: var(--accent-color);
}

.controls {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.team-controls {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.team-btn {
    padding: 10px 20px;
    font-size: 1.2rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.team-btn:hover {
    background-color: var(--accent-color);
}

.team1-btn {
    background-color: var(--team1-color);
}

.team2-btn {
    background-color: var(--team2-color);
}

.result {
    margin-top: 20px;
    font-size: 1.3rem;
    font-weight: bold;
}

.correct {
    color: var(--primary-color);
}

.incorrect {
    color: #F44336;
}

.game-rules {
    text-align: left;
    margin: 20px 0;
    line-height: 1.8;
}

.game-rules h2 {
    color: var(--primary-color);
    margin: 20px 0 10px 0;
}

.game-rules ol {
    margin-left: 20px;
} 