body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #f0f0f0;
    overflow: hidden; /* Arka plan videosunun tam ekranda görünmesi için */
}

#background-video {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: -1; /* İçeriklerin arkasında kalmasını sağlar */
}

#intro-container, #quiz-container {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.8); /* Arka planın biraz saydam olmasını sağlar */
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: 20px;
}

button {
    padding: 10px 20px;
    font-size: 16px;
    margin-top: 10px;
}

.option {
    display: block;
    margin: 10px 0;
    padding: 10px;
    background-color: #8fc9a9;  /* Yeşil ton */
    color: #fff;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.option:hover {
    background-color: #6eb287;  /* Daha koyu yeşil ton */
}

#score {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ffd700; /* Sarı renk */
    background-color: rgba(255, 255, 0, 0.2); /* Hafif sarı arka plan */
    padding: 10px;
    border-radius: 10px;
    animation: scoreIncrease 0.5s forwards;
}

#feedback-message {
    color: #28a745; /* Yeşil renk */
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    display: none;
    background-color: #000000; /* Sarı arka plan */
    padding: 10px;
    border-radius: 10px;
}

#error-message {
    color: red;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    display: none;
}

#player-name {
    padding: 10px;
    font-size: 16px;
    margin-top: 10px;
    width: calc(100% - 22px);  /* Genişliği butonlarla uyumlu yap */
}

#lifelines {
    margin-top: 20px;
}

#lifelines button {
    margin: 0 10px;
    padding: 10px;
    background-color: #f0ad4e;  /* Turuncu ton */
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#lifelines button:hover {
    background-color: #ec971f;  /* Daha koyu turuncu ton */
}

#progress-container {
    width: 100%;
    background-color: #e0e0e0;
    border-radius: 5px;
    margin-top: 20px;
}

#progress-bar {
    width: 0;
    height: 20px;
    background-color: #8fc9a9;  /* Yeşil ton */
    border-radius: 5px;
    transition: width 0.3s;
}

@keyframes correctAnimation {
    from { background-color: #8fc9a9; }
    to { background-color: #4caf50; }
}

@keyframes wrongAnimation {
    from { background-color: #8fc9a9; }
    to { background-color: #f44336; }
}

.correct-answer {
    animation: correctAnimation 0.5s forwards;
}

.wrong-answer {
    animation: wrongAnimation 0.5s forwards;
}

@keyframes countdownFlash {
    0% { color: black; }
    50% { color: red; }
    100% { color: black; }
}

#timer.flash {
    animation: countdownFlash 1s infinite;
}

@keyframes scoreIncrease {
    from { transform: scale(1); color: black; }
    to { transform: scale(1.2); color: green; }
}

.score-animation {
    animation: scoreIncrease 0.5s forwards;
}

#confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Konfeti animasyonu tıklanabilir olmamalı */
    z-index: 10; /* Diğer içeriklerin üstünde görünecek */
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #FFC700;
    opacity: 0.7;
    animation-name: confetti-fall;
    animation-timing-function: ease-in;
    animation-iteration-count: infinite;
}

@keyframes confetti-fall {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(100vh) rotate(360deg); }
}
