   :root {
            /* Ana Renkler */
            --primary: #6366f1;
            --primary-dark: #4f46e5;
            --secondary: #8b5cf6;
            --accent: #ec4899;
            --success: #10b981;
            --warning: #f59e0b;
            --danger: #ef4444;
            
            /* Arka Planlar */
            --bg-primary: #ffffff;
            --bg-secondary: #f9fafb;
            --bg-tertiary: #f3f4f6;
            --bg-dark: #1f2937;
            
            /* Metin Renkleri */
            --text-primary: #111827;
            --text-secondary: #4b5563;
            --text-tertiary: #6b7280;
            --text-light: #f9fafb;
            
            /* Kenarlık ve Gölge */
            --border: #e5e7eb;
            --border-light: #f3f4f6;
            --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
            --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
            
            /* Geçişler */
            --transition: all 0.3s ease;
            
            /* Boyutlar */
            --radius: 12px;
            --radius-lg: 16px;
            --radius-xl: 24px;
        }
        
        /* Karanlık Tema */
        [data-theme="dark"] {
            --bg-primary: #1f2937;
            --bg-secondary: #111827;
            --bg-tertiary: #1e293b;
            --text-primary: #f9fafb;
            --text-secondary: #d1d5db;
            --text-tertiary: #9ca3af;
            --border: #374151;
            --border-light: #1f2937;
        }
        
        /* Mavi Düşler Teması */
        [data-theme="boy"] {
            --primary: #0ea5e9;
            --primary-dark: #0284c7;
            --secondary: #06b6d4;
            --accent: #8b5cf6;
            --bg-primary: #f0f9ff;
            --bg-secondary: #e0f2fe;
            --text-primary: #0c4a6e;
        }
        
        /* Pastel Rüyalar Teması */
        [data-theme="girl"] {
            --primary: #ec4899;
            --primary-dark: #db2777;
            --secondary: #f472b6;
            --accent: #c084fc;
            --bg-primary: #fdf2f8;
            --bg-secondary: #fce7f3;
            --text-primary: #831843;
        }
        
        /* Genel Sıfırlama */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        html, body {
            height: 100vh;
            overflow: hidden; /* Scrollbarı tamamen kaldır */
        }
        
        body {
            font-family: 'Inter', sans-serif;
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            display: flex;
            color: var(--text-primary);
            transition: var(--transition);
            position: relative;
        }
        
        [data-theme="dark"] body {
            background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
        }
        
        [data-theme="boy"] body {
            background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
        }
        
        [data-theme="girl"] body {
            background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
        }

        /* Ana Layout Container */
        .layout-container {
            width: 100%;
            height: 100vh;
            display: flex;
            justify-content: center;
            align-items: stretch;
            position: relative;
        }

        /* Yan Banner Alanları (1000px+) */
        .side-banner {
            width: 260px;
            background: var(--bg-primary);
            border: 1px solid var(--border);
            box-shadow: var(--shadow);
            display: none;
            align-items: center;
            justify-content: center;
            color: var(--text-secondary);
            font-size: 0.9rem;
            text-align: center;
            padding: 10px 20px;
        }

        .side-banner-left {
            border-right: none;
            border-radius: 0 var(--radius) var(--radius) 0;
        }

        .side-banner-right {
            border-left: none;
            border-radius: var(--radius) 0 0 var(--radius);
        }

        /* Ana İçerik Wrapper */
        .main-wrapper {
            flex: 1;
            max-width: 800px;
            display: flex;
            flex-direction: column;
            height: 100vh;
            padding: 10px;
        }

        /* Mobil Banner (1000px altı) */
        .mobile-banner {
            display: none;
            background: var(--bg-primary);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            padding: 2px;
            margin-bottom: 5px;
            text-align: center;
            color: var(--text-secondary);
            font-size: 0.9rem;
        }
        
        /* Arka Plan Dekorasyonları */
        .bg-decoration {
            position: absolute;
            border-radius: 50%;
            filter: blur(60px);
            z-index: -1;
            opacity: 0.4;
            pointer-events: none;
        }
        
        .bg-decoration-1 {
            width: 300px;
            height: 300px;
            background: var(--primary);
            top: -100px;
            left: -100px;
        }
        
        .bg-decoration-2 {
            width: 250px;
            height: 250px;
            background: var(--secondary);
            bottom: -50px;
            right: -50px;
        }
        
        .bg-decoration-3 {
            width: 200px;
            height: 200px;
            background: var(--accent);
            top: 50%;
            left: 70%;
        }
        
        /* Ana Konteyner */
        .container {
            background: var(--bg-primary);
            border-radius: var(--radius-xl);
            box-shadow: var(--shadow-lg);
            padding: 20px;
            position: relative;
            transition: var(--transition);
            overflow: hidden;
            z-index: 1;
            flex: 1;
            display: flex;
            flex-direction: column;
            min-height: 0; /* Flex item'ların küçülmesini sağlar */
        }
        
        /* Ayarlar Menüsü */
        .settings-menu {
            position: absolute;
            top: 15px;
            right: 15px;
            z-index: 1000;
        }
        
        .settings-toggle {
            background: var(--bg-primary);
            border: none;
            cursor: pointer;
            font-size: 1.1em;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            box-shadow: var(--shadow-md);
            transition: var(--transition);
            color: var(--text-secondary);
        }
        
        .settings-toggle:hover {
            transform: scale(1.1);
            color: var(--primary);
        }
        
        .settings-dropdown {
            position: absolute;
            top: 50px;
            right: 0;
            background: var(--bg-primary);
            border-radius: var(--radius);
            box-shadow: var(--shadow-lg);
            padding: 15px;
            min-width: 200px;
            display: none;
            flex-direction: column;
            gap: 12px;
            border: 1px solid var(--border);
        }
        
        .settings-dropdown.active {
            display: flex;
        }
        
        .settings-section {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        
        .settings-section-title {
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--text-secondary);
            margin-bottom: 3px;
        }
        
        .theme-options {
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
        }
        
        .theme-option {
            background: none;
            border: 1px solid var(--border);
            cursor: pointer;
            font-size: 0.9em;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            transition: var(--transition);
            color: var(--text-secondary);
        }
        
        .theme-option:hover {
            background: var(--bg-tertiary);
            transform: scale(1.1);
        }
        
        .theme-option.active {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
        }
        
        .sound-option, .reset-option {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        
        .sound-toggle {
            background: none;
            border: 1px solid var(--border);
            cursor: pointer;
            font-size: 0.9em;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            transition: var(--transition);
            color: var(--text-secondary);
        }
        
        .sound-toggle:hover {
            background: var(--bg-tertiary);
            transform: scale(1.1);
        }
        
        .sound-toggle.active {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
        }
        
        .reset-button {
            background: linear-gradient(135deg, var(--danger), #dc2626);
            color: white;
            border: none;
            cursor: pointer;
            font-size: 0.8em;
            padding: 5px 10px;
            border-radius: 16px;
            display: flex;
            justify-content: center;
            align-items: center;
            transition: var(--transition);
            font-weight: 500;
        }
        
        .reset-button:hover {
            transform: scale(1.05);
            box-shadow: var(--shadow);
        }
        
        /* Onay Modalı */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 2000;
            opacity: 0;
            visibility: hidden;
            transition: var(--transition);
        }
        
        .modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }
        
        .modal {
            background: var(--bg-primary);
            border-radius: var(--radius-lg);
            padding: 25px;
            max-width: 350px;
            width: 90%;
            box-shadow: var(--shadow-lg);
            transform: translateY(20px);
            transition: var(--transition);
        }
        
        .modal-overlay.active .modal {
            transform: translateY(0);
        }
        
        .modal-title {
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 12px;
            text-align: center;
        }
        
        .modal-text {
            color: var(--text-secondary);
            margin-bottom: 20px;
            text-align: center;
            line-height: 1.4;
            font-size: 0.95rem;
        }
        
        .modal-buttons {
            display: flex;
            gap: 12px;
            justify-content: center;
        }
        
        .modal-button {
            padding: 8px 16px;
            border-radius: 25px;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            border: none;
            font-size: 0.9rem;
        }
        
        .modal-button-confirm {
            background: linear-gradient(135deg, var(--danger), #dc2626);
            color: white;
        }
        
        .modal-button-cancel {
            background: var(--bg-tertiary);
            color: var(--text-primary);
            border: 1px solid var(--border);
        }
        
        .modal-button:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow);
        }
        
        /* Başlık */
        .title {
            text-align: center;
            color: var(--text-primary);
            margin-bottom: 20px;
            font-size: 1.8rem;
            font-weight: 800;
            position: relative;
            display: inline-block;
            width: 100%;
        }
        
        .title::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 50%;
            transform: translateX(-50%);
            width: 900px;
            height: 3px;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            border-radius: 2px;
        }
        
        /* Hoş Geldin Ekranı */
        .welcome-screen {
            text-align: center;
            padding: 10px 0;
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            min-height: 0;
        }
        
        .welcome-title {
            font-size: 1.6rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 15px;
        }
        
        .welcome-desc {
            color: var(--text-secondary);
            margin-bottom: 25px;
            font-size: 1rem;
            line-height: 1.5;
            max-width: 500px;
            margin-left: auto;
            margin-right: auto;
        }
        
        /* Kayıtlı Oyun Bilgisi */
        .saved-game-info {
            background: var(--bg-secondary);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 20px;
            margin: 15px auto 25px;
            max-width: 300px;
            box-shadow: var(--shadow);
            transition: var(--transition);
        }
        
        .saved-game-info h3 {
            color: var(--primary);
            margin-bottom: 12px;
            font-size: 1.1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
        }
        
        .saved-game-info p {
            color: var(--text-secondary);
            margin-bottom: 8px;
            font-size: 0.95rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .saved-game-info span {
            font-weight: 600;
            color: var(--text-primary);
        }
        
        /* Butonlar */
        .btn {
            background: linear-gradient(135deg, var(--primary), var(--primary-dark));
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 40px;
            font-size: 1rem;
            cursor: pointer;
            margin: 8px;
            transition: var(--transition);
            box-shadow: var(--shadow);
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            position: relative;
            overflow: hidden;
        }
        
        .btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.2);
            transform: translateX(-100%);
            transition: transform 0.6s ease;
        }
        
        .btn:hover::before {
            transform: translateX(0);
        }
        
        .btn:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }
        
        .btn:active {
            transform: translateY(0);
        }
        
        .btn-secondary {
            background: linear-gradient(135deg, var(--secondary), var(--accent));
        }
        
        .btn-icon {
            width: 40px;
            height: 40px;
            padding: 0;
            border-radius: 50%;
            font-size: 1.1rem;
        }
        
        /* Oyun Ekranı */
        .game-screen {
            display: none;
            flex: 1;
            flex-direction: column;
            min-height: 0;
        }
        
        .game-header {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 20px;
            flex-wrap: wrap;
            gap: 10px;
        }
        
        .score-info, .level-info {
            background: var(--bg-secondary);
            border: 1px solid var(--border);
            border-radius: 40px;
            padding: 8px 16px;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 2px;
            box-shadow: var(--shadow-sm);
            color: var(--text-primary);
            font-size: 0.9rem;
        }
        
        .score-info i, .level-info i {
            color: var(--primary);
        }
        
        /* İpucu Alanı */
        .hint-area {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            padding: 15px;
            border-radius: var(--radius-lg);
            text-align: center;
            margin-bottom: 20px;
            font-size: 1.9rem;
            font-weight: 500;
            box-shadow: var(--shadow);
            position: relative;
            overflow: hidden;
        }
        
        .hint-area::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
            transform: rotate(45deg);
        }
        
        /* Çalışma Alanı */
        .work-area {
            background: var(--bg-secondary);
            border: 2px dashed var(--border);
            border-radius: var(--radius);
            padding: 15px;
            margin-bottom: 20px;
            min-height: 80px;
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
        }
        
        .work-area.drag-over {
            background: var(--bg-tertiary);
            border-color: var(--primary);
        }
        
        .work-area-placeholder {
            color: var(--text-tertiary);
            font-style: italic;
            text-align: center;
            width: 100%;
            font-size: 0.9rem;
        }
        
        /* Kelime Havuzu */
        .word-pool {
            background: var(--bg-secondary);
            border-radius: var(--radius);
            padding: 10px;
            margin-bottom: 10px;
            box-shadow: var(--shadow-sm);
        }
        
        .word-pool h3 {
            color: var(--text-primary);
            margin-bottom: 6px;
            text-align: center;
            font-weight: 600;
            font-size: 1rem;
        }
        
        .words-container {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            justify-content: center;
        }
        
        /* Kelimeler */
        .word {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            padding: 8px 16px;
            border-radius: 40px;
            cursor: pointer;
            user-select: none;
            font-weight: 500;
            transition: var(--transition);
            box-shadow: var(--shadow);
            position: relative;
            overflow: hidden;
            font-size: 1.5rem;
        }
        
        .word::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(-100%);
            transition: transform 0.3s ease;
        }
        
        .word:hover::before {
            transform: translateY(0);
        }
        
        .word:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }
        
        .word:active {
            transform: translateY(0);
        }
        
        .word.dragging {
            opacity: 0.5;
            transform: rotate(5deg);
        }
        
        /* Geri Bildirim */
        .feedback {
            text-align: center;
            padding: 12px;
            border-radius: var(--radius);
            margin: 15px 0;
            font-weight: 600;
            font-size: 1rem;
            display: none;
            animation: fadeIn 0.5s ease;
        }
        
        .feedback.correct {
            background: linear-gradient(135deg, var(--success), #059669);
            color: white;
        }
        
        .feedback.incorrect {
            background: linear-gradient(135deg, var(--danger), #dc2626);
            color: white;
        }
        
        /* Oyun Kontrolleri */
        .game-controls {
            z-index: -1;
            text-align: center;
            margin-top: auto;
            margin-bottom: 15px;
            display: flex;
            justify-content: center;
            gap: 2px;
           
        }
        
        /* Tamamlama Ekranı */
        .completion-screen {
            display: none;
            text-align: center;
            padding: 20px 0;
            flex: 1;
            flex-direction: column;
            justify-content: center;
        }
        
        .completion-title {
            font-size: 2rem;
            color: var(--primary);
            margin-bottom: 15px;
            font-weight: 800;
        }
        
        .final-score {
            font-size: 1.3rem;
            color: var(--text-primary);
            margin-bottom: 25px;
            font-weight: 600;
        }
        
        .trophy-icon {
            font-size: 4rem;
            color: var(--warning);
            margin-bottom: 15px;
            animation: bounce 2s infinite;
        }
        
        /* Footer */
        .site-footer {
            text-align: center;
            padding: 2px 0;
            color: var(--text-tertiary);
            font-size: 0.85rem;
            width: 100%;
            background: var(--bg-primary);
            border-top: 1px solid var(--border);
            border-radius: 10px;
            box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
            z-index: -5;
            margin-top: 5px;
        }
        
        /* Animasyonlar */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        @keyframes bounce {
            0%, 20%, 60%, 100% { transform: translateY(0); }
            40% { transform: translateY(-20px); }
            80% { transform: translateY(-10px); }
        }
        
        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            25% { transform: translateX(-10px); }
            75% { transform: translateX(10px); }
        }
        
        .animate-bounce {
            animation: bounce 0.6s ease-in-out;
        }
        
        .animate-shake {
            animation: shake 0.5s ease-in-out;
        }
        
        /* Responsive Tasarım */
        @media (min-width: 1000px) {
            .side-banner {
                display: flex;
            }
            
            .main-wrapper {
                padding: 20px;
            }
            
            .container {
                padding: 30px;
            }
            
            .title {
                font-size: 2.2rem;
                margin-bottom: 25px;
            }
            
            .welcome-title {
                font-size: 1.8rem;
            }
            
            .welcome-desc {
                font-size: 1.1rem;
                max-width: 600px;
            }
            
            .btn {
                padding: 14px 28px;
                font-size: 1.1rem;
                margin: 10px;
            }
            
            .settings-toggle {
                width: 45px;
                height: 45px;
                font-size: 1.2em;
            }
            
            .settings-dropdown {
                min-width: 200px;
                padding: 20px;
                gap: 15px;
            }
        }

        @media (max-width: 999px) {
            .mobile-banner {
                display: block;
            }
        }

        @media (max-width: 768px) {
            .main-wrapper {
                padding: 5px;
            }
            
            .container {
                padding: 15px;
                border-radius: var(--radius-lg);
            }
            
            .title {
                font-size: 1.5rem;
                margin-bottom: 15px;
            }
            
            .welcome-title {
                font-size: 1.4rem;
            }
            
            .welcome-desc {
                font-size: 0.95rem;
                margin-bottom: 20px;
            }
            
            .btn {
                padding: 10px 20px;
                font-size: 0.95rem;
                margin: 6px;
            }
            
            .saved-game-info {
                padding: 15px;
                margin: 10px auto 20px;
            }
            
            .game-header {
                margin-bottom: 15px;
            }
            
            .hint-area {
                padding: 12px;
                font-size: 1.2rem;
                margin-bottom: 15px;
            }
            
            .work-area {
                padding: 12px;
                min-height: 70px;
                margin-bottom: 15px;
            }
            
            .word-pool {
                padding: 12px;
                margin-bottom: 15px;
            }
            
            .word {
                padding: 6px 14px;
                font-size: 1rem;
            }
            
            .settings-toggle {
                width: 35px;
                height: 35px;
                font-size: 1em;
                top: 10px;
                right: 10px;
            }
            
            .settings-dropdown {
                min-width: 200px;
                padding: 12px;
                gap: 10px;
                top: 45px;
            }
            
            .completion-title {
                font-size: 1.6rem;
            }
            
            .trophy-icon {
                font-size: 3rem;
            }
        }

        @media (max-width: 480px) {
            .title {
                font-size: 1.3rem;
            }
            
            .welcome-title {
                font-size: 1.2rem;
            }
            
            .welcome-desc {
                font-size: 0.9rem;
            }
            
            .btn {
                padding: 8px 16px;
                font-size: 0.9rem;
            }
            
            .game-controls {
                gap: 1px;
            }
            
            .btn-icon {
                width: 35px;
                height: 35px;
                font-size: 1rem;
            }
            
            .word {
                padding: 5px 12px;
                font-size: 0.9rem;
            }
            
            .modal {
                padding: 20px;
                max-width: 320px;
            }
        }
        
        /* Banner Stilleri */
        .banner-placeholder {
            border: 2px dashed var(--border);
            border-radius: var(--radius);
            padding: 2px;
            text-align: center;
            color: var(--text-tertiary);
            font-size: 0.9rem;
            background: rgba(255, 255, 255, 0.5);
            backdrop-filter: blur(10px);
        }
        
        .banner-placeholder i {
            font-size: 2rem;
            margin-bottom: 10px;
            display: block;
            opacity: 0.7;
        }