body {
    background: rgb(146, 147, 147);
    color: #000000;
    font-family: 'Roboto Mono', monospace;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-y: auto; /* Kaydırma için */
}

.navbar {
    background: #929393;
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #650a0a;
    animation: slideIn 0.5s ease-out;
}

.nav-logo {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    color: #650a0a;
    text-decoration: none;
    text-shadow: 0 0 5px rgba(101, 10, 10, 0.5);
}

.nav-logo:hover {
    color: #650a0a;
}

.container {
    text-align: center;
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    flex-grow: 1;
}

header {
    margin-bottom: 40px;
}

.logo {
    font-family: 'Cinzel', serif;
    font-size: 48px;
    color: #650a0a;
    text-shadow: 0 0 10px rgba(101, 10, 10, 0.5);
    margin: 0;
    animation: pulse 2s infinite;
}

.slogan {
    font-size: 20px;
    color: #000000;
    margin: 10px 0;
}

.intro {
    font-size: 16px;
    line-height: 1.5;
    color: #000000;
    margin-bottom: 40px;
}

.games h2 {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    color: #650a0a;
    margin-bottom: 20px;
}

.game-snippet {
    background: #929393;
    padding: 15px;
    margin: 15px 0;
    border-radius: 4px;
    border: 1px solid #650a0a;
    animation: fadeInLeft 0.5s ease-out;
}

.game-snippet h3 {
    font-size: 20px;
    color: #000000;
    margin: 0 0 10px 0;
}

.game-snippet p {
    font-size: 14px;
    color: #000000;
    margin: 0;
    line-height: 1.4;
}

.social-buttons {
    margin: 40px 0;
}

.social-btn {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    margin: 0 15px;
    font-size: 20px;
    text-align: center;
    text-decoration: none;
    color: #e0e0e0;
    background: transparent;
    border: 2px solid;
    border-radius: 50%;
    transition: transform 0.3s, opacity 0.3s;
}

.social-btn:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

.x {
    border-color: #650a0a;
}

.instagram {
    border-color: #650a0a;
}

.end-bar {
    background: #929393;
    padding: 15px;
    text-align: center;
    font-size: 14px;
    color: #000000;
    border-top: 1px solid #650a0a;
}

.end-bar p {
    margin: 0;
}

.mail-link {
    color: #650a0a;
    text-decoration: none;
    transition: color 0.3s;
}

.mail-link:hover {
    color: #650a0a;
}

.input-box {
    margin: 20px 0;
    animation: slideUp 0.5s ease-out;
}

label {
    font-size: 18px;
    color: #000000;
    margin-right: 10px;
}

input {
    padding: 8px;
    font-size: 16px;
    background: #929393;
    color: #000000;
    border: 1px solid #650a0a;
    border-radius: 4px;
    width: 200px;
}

button {
    padding: 8px 16px;
    font-size: 16px;
    background: #650a0a;
    color: #0f1419;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background: #650a0a;
}

.result {
    font-size: 18px;
    color: #ff4444;
    margin-top: 20px;
    min-height: 20px;
    opacity: 0;
    animation: fadeIn 0.3s ease-out forwards;
}

.answer-box {
    margin: 20px 0;
    padding: 15px;
    background: #929393;
    border: 1px solid #650a0a;
    border-radius: 4px;
    animation: slideUp 0.5s ease-out;
    position: relative;
    overflow: hidden; /* Konfetiler kutu içinde kalsın */
}

.show-btn {
    padding: 6px 12px;
    font-size: 14px;
    background: #ff4444;
    color: #000000;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s;
}

.show-btn:hover {
    background: #cc3333;
}

.congrats {
    font-size: 24px;
    color: #00ff00;
    animation: celebrate 2s ease-out;
    position: relative;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    animation: fall 2s ease-out forwards;
}

.confetti:nth-child(odd) {
    background: #ff4444;
}

.confetti:nth-child(even) {
    background: #650a0a;
}

/* Animasyonlar */
@keyframes slideIn {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { text-shadow: 0 0 10px rgba(101, 10, 10, 0.5); }
    50% { text-shadow: 0 0 20px rgba(101, 10, 10, 0.8); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes celebrate {
    0% { transform: scale(1); color: #00ff00; }
    20% { transform: scale(1.2); color: #ff4444; }
    40% { transform: scale(1); color: #650a0a; }
    60% { transform: scale(1.2); color: #ffcc00; }
    80% { transform: scale(1); color: #00ff00; }
    100% { transform: scale(1); color: #00ff00; }
}

@keyframes fall {
    0% { transform: translateY(-50px); opacity: 1; }
    100% { transform: translateY(50px) translateX(var(--random-x)); opacity: 0; }
}

