        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            background: radial-gradient(circle at top left, #20b2aa, #1a1a2e, #4b0082);
            overflow: hidden;
        }

        .main-panel {
            position: relative;
            width: 90%;
            max-width: 900px;
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(15px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 30px;
            padding: 40px;
            text-align: center;
            box-shadow: 0 25px 45px rgba(0,0,0,0.3);
            transition: all 0.3s ease;
        }

        .hidden {
            display: none !important;
        }

        h1 {
            font-size: 3.5rem;
            color: #ffcc33;
            text-transform: uppercase;
            text-shadow: 2px 4px 0px #8b4513, 0 0 20px rgba(255, 204, 51, 0.5);
            margin-bottom: 10px;
            letter-spacing: 2px;
        }

        .character-container {
            margin: 10px 0;
        }

        .character-img {
            max-width: 200px;
            filter: drop-shadow(0 0 15px rgba(255,255,255,0.5));
        }
		
		.hero-wrapper {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 15px;
        }
        .permanent-stars-col {
            display: flex;
            flex-direction: column;
            gap: 8px;
            color: #ffcc33;
            font-size: 1.8rem;
            text-shadow: 0 0 10px rgba(255, 204, 51, 0.5);
        }

        /* Ayar Kutuları (Sınır ve Zorluk) */
        .settings-container {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-bottom: 25px;
            flex-wrap: wrap;
        }

        .setting-box {
            background: rgba(0, 0, 0, 0.3);
            padding: 15px 20px;
            border-radius: 15px;
            border: 1px solid rgba(255,255,255,0.2);
        }

        .setting-box label {
            display: block;
            color: white;
            font-size: 1.1rem;
            margin-bottom: 8px;
            font-weight: 500;
        }

        .custom-input, .custom-select {
            width: 100%;
            padding: 10px;
            border-radius: 10px;
            border: 2px solid rgba(255, 255, 255, 0.4);
            background: rgba(255, 255, 255, 0.9);
            color: #1a1a2e;
            font-size: 1.2rem;
            font-weight: bold;
            outline: none;
            text-align: center;
        }

        .custom-input {
            max-width: 100px;
        }

        .subtitle {
            color: white;
            font-size: 1.3rem;
            margin-bottom: 15px;
            font-weight: 500;
        }

        .button-group {
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
        }

        .btn {
            padding: 15px 25px;
            border: none;
            border-radius: 15px;
            color: white;
            font-size: 1.1rem;
            font-weight: bold;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            transition: transform 0.2s, box-shadow 0.2s;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }

        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.4);
        }

        .btn-blue { background: linear-gradient(to bottom, #4facfe, #00f2fe); border-bottom: 4px solid #0056b3; }
        .btn-red { background: linear-gradient(to bottom, #ff5f6d, #ffc371); border-bottom: 4px solid #b33030; }
        .btn-purple { background: linear-gradient(to bottom, #a18cd1, #fbc2eb); border-bottom: 4px solid #6a1b9a; }
        .btn-green { background: linear-gradient(to bottom, #43e97b, #38f9d7); border-bottom: 4px solid #28a745; color: #1a1a2e; }

        .btn i {
            background: white;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 0.9rem;
        }
        .btn-blue i { color: #4facfe; }
        .btn-red i { color: #ff5f6d; }
        .btn-purple i { color: #a18cd1; }
        .btn-green i { color: #28a745; }

        /* Oyun Ekranı */
        .progress {
            color: #ffcc33;
            font-size: 1.2rem;
            font-weight: bold;
            margin-bottom: 10px;
            text-align: right;
        }

        .question-box {
            font-size: 5rem;
            color: white;
            font-weight: bold;
            text-shadow: 3px 5px 0px rgba(0,0,0,0.5);
            margin: 40px 0;
            letter-spacing: 5px;
        }

        .answers-container {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 20px;
        }

        .answer-btn {
            font-size: 2.5rem;
            width: 120px;
            height: 120px;
            border-radius: 20px;
            background: linear-gradient(to bottom, #ffffff, #e6e6e6);
            border: none;
            border-bottom: 6px solid #b3b3b3;
            color: #1a1a2e;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.2s;
            box-shadow: 0 10px 20px rgba(0,0,0,0.3);
        }

        .answer-btn:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 25px rgba(0,0,0,0.5);
        }
        .answer-btn:active {
            transform: translateY(2px);
            border-bottom: 2px solid #b3b3b3;
        }

        /* Sonuç Ekranı */
        .stats-box {
            background: rgba(0, 0, 0, 0.4);
            padding: 30px;
            border-radius: 20px;
            margin: 20px auto;
            width: 60%;
            color: white;
            font-size: 1.5rem;
            line-height: 2;
        }
        .correct-stat { color: #43e97b; font-weight: bold; font-size: 2rem;}
        .wrong-stat { color: #ff5f6d; font-weight: bold; font-size: 2rem;}

        /* Ödül Sistemi */
        .reward-container {
            margin: 20px 0;
            min-height: 80px;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
            gap: 10px;
        }
        .reward-star { color: #ffcc33; font-size: 2.5rem; animation: starPop 0.5s ease-out forwards; opacity: 0; }
        .reward-cup { color: #ffd700; font-size: 6rem; text-shadow: 0 0 30px rgba(255, 215, 0, 0.8); animation: pulse 1s infinite; }

        /* Efekt / Bildirim Ekranı */
        .feedback-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: rgba(26, 26, 46, 0.95);
            z-index: 1000;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
        }

        .feedback-overlay.show {
            opacity: 1;
            pointer-events: all;
        }

        /* Resim Stilleri */
        .feedback-img {
            max-width: 80%;
            max-height: 50vh;
            object-fit: contain;
            margin-top: 10px;
            filter: drop-shadow(0 0 20px rgba(255,255,255,0.3));
        }

        /* Animasyonlar */
        .stars-container {
            position: relative;
            width: 100%;
            height: 100px;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 20px;
            margin-bottom: 10px;
        }
        .star {
            color: #ffcc33;
            font-size: 4rem;
            opacity: 0;
        }
        .show .star { animation: starPop 1s ease-in-out forwards; }
        .show .star:nth-child(1) { animation-delay: 0s; }
        .show .star:nth-child(2) { animation-delay: 0.2s; font-size: 6rem; transform: translateY(-20px); }
        .show .star:nth-child(3) { animation-delay: 0.4s; }

        @keyframes starPop {
            0% { transform: scale(0) rotate(-180deg); opacity: 0; }
            50% { transform: scale(1.2) rotate(20deg); opacity: 1; }
            100% { transform: scale(1) rotate(0deg); opacity: 1; }
        }

        .img-harika { animation: pulse 1s infinite; }
        .img-olamaz { animation: shake 0.5s ease-in-out; }

        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            20%, 60% { transform: translateX(-15px) rotate(-5deg); }
            40%, 80% { transform: translateX(15px) rotate(5deg); }
        }

        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }
        
        /* Sağ Üst Çıkış İkonu */
        .logout-icon {
            position: fixed;
            top: 20px;
            right: 25px;
            color: rgba(255, 255, 255, 0.4); /* Göze batmaması için yarı saydam beyaz */
            font-size: 1.8rem;
            text-decoration: none;
            transition: color 0.3s ease, transform 0.3s ease;
            z-index: 2000; /* Her şeyin üstünde durması için */
        }
        
        .logout-icon:hover {
            color: #ff5f6d; /* Üzerine gelince belirgin kırmızı olur */
            transform: scale(1.2); /* Üzerine gelince hafifçe büyür */
        }
        
                /* Sol Üst Ana Sayfa İkonu */
        .home-icon {
            position: fixed;
            top: 20px;
            left: 25px;
            color: rgba(255, 255, 255, 0.4); /* Göze batmaması için yarı saydam */
            font-size: 1.6rem;
            text-decoration: none;
            transition: color 0.3s ease, transform 0.3s ease;
            z-index: 2000;
        }
        
        .home-icon:hover {
            color: #4facfe; /* Üzerine gelince oyunun temasına uygun mavi olur */
            transform: scale(1.2);
        }
        
        /* Mobil Ekranlar İçin Uyumluluk (Responsive) */
        @media (max-width: 768px) {
            body {
                height: auto;
                min-height: 100vh;
                overflow-y: auto; /* Mobilde aşağı kaydırmayı açar */
                align-items: flex-start; /* Ortalamak yerine en üstten başlatır */
                padding: 40px 0; /* Üstten ve alttan biraz boşluk bırakır */
            }
            
            .main-panel {
                padding: 25px 15px; 
                width: 95%;
                margin: 0 auto; /* Kutuyu ortalar */
                max-height: none; /* Boyut sınırını kaldırır, içeriğe göre uzar */
            }
            
            h1 {
                font-size: 2.2rem; /* Ana başlığı telefona uygun küçült */
                margin-top: 10px;
            }
            
            .hero-wrapper {
                gap: 10px;
                margin: 15px 0;
            }
            
            .character-img {
                max-width: 140px; /* Karakteri ekrana sığacak ama net görünecek boyuta getir */
            }
            
            .permanent-stars-col {
                font-size: 1.3rem; 
            }
            
            .question-box {
                font-size: 3.5rem; 
                margin: 25px 0;
            }
            
            .answer-btn {
                width: 90px; 
                height: 90px;
                font-size: 2rem;
            }
            
            .btn {
                padding: 12px 15px; 
                font-size: 1rem;
            }
            
            .home-icon, .logout-icon {
                top: 15px; 
                font-size: 1.5rem;
            }
            
            .home-icon { left: 15px; }
            .logout-icon { right: 15px; }
        }



        


