* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Comic Sans MS', 'Arial Rounded MT Bold', 'Arial', sans-serif;
    background: linear-gradient(135deg, #0f9b0f 0%, #1a8a1a 30%, #2d6a2d 70%, #1a5c1a 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
    overflow-y: auto;
    position: relative;
}

.bg-coin {
    position: fixed;
    font-size: 35px;
    z-index: 0;
    pointer-events: none;
    animation: floatCoin 14s ease-in-out infinite;
}

.bg-coin:nth-child(1) { top: 5%; left: 5%; font-size: 45px; animation-delay: 0s; animation-duration: 12s; }
.bg-coin:nth-child(2) { top: 18%; right: 8%; font-size: 30px; animation-delay: 2s; animation-duration: 10s; }
.bg-coin:nth-child(3) { bottom: 12%; left: 10%; font-size: 40px; animation-delay: 4s; animation-duration: 13s; }
.bg-coin:nth-child(4) { bottom: 5%; right: 5%; font-size: 50px; animation-delay: 1s; animation-duration: 11s; }
.bg-coin:nth-child(5) { top: 45%; left: 3%; font-size: 28px; animation-delay: 3s; animation-duration: 15s; }
.bg-coin:nth-child(6) { top: 35%; right: 3%; font-size: 38px; animation-delay: 5s; animation-duration: 9s; }
.bg-coin:nth-child(7) { top: 70%; left: 15%; font-size: 33px; animation-delay: 2.5s; animation-duration: 12s; }
.bg-coin:nth-child(8) { top: 55%; right: 12%; font-size: 42px; animation-delay: 1.5s; animation-duration: 11s; }

@keyframes floatCoin {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.15; }
    25% { transform: translateY(-22px) rotate(15deg); opacity: 0.25; }
    50% { transform: translateY(-12px) rotate(-8deg); opacity: 0.2; }
    75% { transform: translateY(-28px) rotate(10deg); opacity: 0.28; }
}

.container {
    background: rgba(255, 255, 255, 0.93);
    backdrop-filter: blur(12px);
    border-radius: 35px;
    padding: 40px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    text-align: center;
    position: relative;
    z-index: 1;
    border: 4px solid rgba(255, 255, 255, 0.4);
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(90deg, #ffd700, #0f9b0f, #ffd700, #0f9b0f);
    border-radius: 35px 35px 0 0;
}

.screen {
    display: none;
    animation: popIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.screen.active {
    display: block;
}

@keyframes popIn {
    from { opacity: 0; transform: scale(0.8) translateY(30px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.game-icon {
    font-size: 80px;
    margin-bottom: 10px;
    animation: coinSpin 3s ease-in-out infinite;
}

@keyframes coinSpin {
    0%, 100% { transform: scale(1) rotateY(0deg); }
    25% { transform: scale(1.15) rotateY(90deg); }
    50% { transform: scale(1) rotateY(180deg); }
    75% { transform: scale(1.15) rotateY(270deg); }
}

h1 {
    background: linear-gradient(135deg, #ffd700, #0f9b0f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.2em;
    margin-bottom: 8px;
}

.subtitle {
    color: #888;
    font-size: 1.05em;
    margin-bottom: 30px;
}

.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    text-align: left;
    font-weight: bold;
    color: #555;
    margin-bottom: 8px;
    font-size: 1.1em;
}

.input-group input {
    width: 100%;
    padding: 16px 20px;
    border: 3px solid #eee;
    border-radius: 18px;
    font-size: 1.2em;
    font-family: inherit;
    transition: all 0.3s;
    outline: none;
    background: #fafafa;
}

.input-group input:focus {
    border-color: #0f9b0f;
    box-shadow: 0 0 0 5px rgba(15, 155, 15, 0.2);
    background: white;
}

.btn {
    display: inline-block;
    padding: 16px 45px;
    border: none;
    border-radius: 18px;
    font-size: 1.3em;
    font-family: inherit;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    text-decoration: none;
}

.btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.btn:active {
    transform: translateY(0) scale(0.98);
}

.btn-primary {
    background: linear-gradient(135deg, #ffd700, #0f9b0f);
    color: white;
}

.btn-back {
    background: #f0f0f0;
    color: #666;
    padding: 12px 28px;
    font-size: 1em;
    margin-top: 20px;
}

.btn-back:hover {
    background: #e0e0e0;
}

.welcome-text {
    color: #666;
    font-size: 1.2em;
    margin-bottom: 25px;
}

.modes-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.mode-card {
    background: linear-gradient(135deg, #ffd700, #0f9b0f);
    border-radius: 22px;
    padding: 28px;
    cursor: pointer;
    transition: all 0.3s;
    color: white;
    display: flex;
    align-items: center;
    gap: 20px;
}

.mode-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 40px rgba(15, 155, 15, 0.4);
}

.mode-icon {
    font-size: 45px;
}

.mode-info {
    text-align: left;
}

.mode-info h3 {
    font-size: 1.3em;
    margin-bottom: 5px;
}

.mode-info p {
    font-size: 0.95em;
    opacity: 0.9;
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.player-name {
    background: linear-gradient(135deg, #ffd700, #0f9b0f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.95em;
}

.score-display {
    display: flex;
    gap: 12px;
}

.score-correct {
    background: #d4edda;
    color: #155724;
    padding: 8px 14px;
    border-radius: 18px;
    font-weight: bold;
    font-size: 0.9em;
}

.score-wrong {
    background: #f8d7da;
    color: #721c24;
    padding: 8px 14px;
    border-radius: 18px;
    font-weight: bold;
    font-size: 0.9em;
}

.progress-container {
    margin-bottom: 20px;
}

.progress-bar-bg {
    background: #eee;
    border-radius: 15px;
    height: 18px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    border-radius: 15px;
    background: linear-gradient(90deg, #ffd700, #0f9b0f, #ffd700, #0f9b0f);
    background-size: 200% 100%;
    transition: width 0.5s ease;
    animation: shimmerBar 2s linear infinite;
}

@keyframes shimmerBar {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

.progress-text {
    margin-top: 8px;
    font-size: 0.85em;
    color: #888;
    font-weight: bold;
}

.question-container {
    background: linear-gradient(135deg, #fff8e1, #ffecb3, #ffe082);
    border-radius: 25px;
    padding: 25px 20px;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
}

.question-container::after {
    content: '💰';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 100px;
    opacity: 0.05;
    pointer-events: none;
}

.question-label {
    font-size: 1.1em;
    color: #e65100;
    margin-bottom: 15px;
    font-weight: bold;
    position: relative;
    z-index: 1;
}

#question-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

/* SVG Para Stilleri */
.para-svg {
    display: inline-block;
    margin: 5px;
}

.para-svg svg {
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s;
}

.para-svg:hover svg {
    transform: scale(1.08) rotate(-5deg);
}

/* Şıklar */
.options-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option-btn {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    border: 3px solid #e0e0e0;
    border-radius: 18px;
    padding: 16px 20px;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 15px;
}

.option-btn:hover:not(.disabled) {
    border-color: #0f9b0f;
    background: rgba(15, 155, 15, 0.08);
    transform: scale(1.03);
    box-shadow: 0 5px 20px rgba(15, 155, 15, 0.2);
}

.option-btn .option-letter {
    background: linear-gradient(135deg, #ffd700, #0f9b0f);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85em;
    flex-shrink: 0;
    font-family: 'Comic Sans MS', sans-serif;
}

.option-text {
    font-size: 1.15em;
    font-family: 'Comic Sans MS', sans-serif;
    font-weight: bold;
    color: #333;
    flex: 1;
}

.option-paralar {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.option-paralar .para-svg svg {
    width: 50px;
    height: auto;
}

.option-btn.correct {
    border-color: #43e97b;
    background: rgba(67, 233, 123, 0.15);
    animation: popCorrect 0.5s;
}

.option-btn.correct .option-letter {
    background: #43e97b;
}

.option-btn.wrong {
    border-color: #f12711;
    background: rgba(241, 39, 17, 0.1);
    animation: shake 0.5s;
}

.option-btn.wrong .option-letter {
    background: #f12711;
}

.option-btn.disabled {
    cursor: default;
    opacity: 0.7;
}

@keyframes popCorrect {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.feedback-message {
    margin-top: 15px;
    padding: 14px;
    border-radius: 15px;
    font-weight: bold;
    font-size: 1.1em;
    display: none;
}

.feedback-message.show {
    display: block;
    animation: popIn 0.3s;
}

.feedback-message.correct {
    background: #d4edda;
    color: #155724;
}

.feedback-message.wrong {
    background: #f8d7da;
    color: #721c24;
}

.result-icon {
    font-size: 90px;
    margin-bottom: 10px;
    animation: bounceResult 1s ease-in-out;
}

@keyframes bounceResult {
    0%, 100% { transform: translateY(0); }
    30% { transform: translateY(-30px); }
    60% { transform: translateY(-10px); }
}

.result-title {
    font-size: 2em;
    background: linear-gradient(135deg, #ffd700, #0f9b0f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.result-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.stat-box {
    padding: 18px 30px;
    border-radius: 18px;
    text-align: center;
}

.stat-box.correct-stat {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
    color: white;
}

.stat-box.wrong-stat {
    background: linear-gradient(135deg, #f12711, #f5af19);
    color: white;
}

.stat-box .stat-number {
    font-size: 2.5em;
    font-weight: bold;
    display: block;
}

.stat-box .stat-label {
    font-size: 0.9em;
    opacity: 0.9;
}

.wrong-answers-section {
    text-align: left;
    margin-top: 20px;
}

.wrong-answers-section h3 {
    color: #f12711;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.wrong-answer-item {
    background: #fff5f5;
    border: 2px solid #f8d7da;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 10px;
}

.wrong-answer-item .wrong-question {
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
    font-size: 1em;
}

.wrong-answer-item .your-answer {
    color: #f12711;
    font-size: 0.95em;
}

.wrong-answer-item .correct-answer {
    color: #43e97b;
    font-weight: bold;
    font-size: 0.95em;
}

.perfect-score {
    background: linear-gradient(135deg, #fff8e1, #ffecb3);
    border-radius: 18px;
    padding: 22px;
    margin-top: 20px;
}

.perfect-score p {
    font-size: 1.2em;
    color: #333;
    font-weight: bold;
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .container {
        padding: 20px 15px;
        border-radius: 25px;
        margin-top: 10px;
    }

    h1 {
        font-size: 1.5em;
    }

    .game-icon {
        font-size: 50px;
    }

    .question-container {
        padding: 20px 15px;
        margin-bottom: 15px;
    }

    .options-container {
        gap: 8px;
    }

    .option-btn {
        padding: 14px 12px;
    }

    .option-btn .option-letter {
        width: 28px;
        height: 28px;
        font-size: 0.75em;
    }

    .option-text {
        font-size: 1em;
    }

    .option-paralar .para-svg svg {
        width: 40px;
    }

    .result-stats {
        flex-direction: column;
        align-items: center;
    }

    .game-header {
        flex-direction: column;
        gap: 8px;
    }

    .progress-text {
        font-size: 0.75em;
    }

    .score-correct, .score-wrong {
        font-size: 0.8em;
        padding: 6px 10px;
    }

    .btn {
        padding: 14px 30px;
        font-size: 1.1em;
    }

    .btn-back {
        padding: 10px 22px;
        font-size: 0.95em;
    }
}
