        /* Renk değişkenleri (global) */
        :root {
            --primary-color: #d834b0;
            --secondary-color: #7b41d6;
            --bg-dark: #17152e;
            --bg-darker: #0f0d24;
            --text-light: #e0e0e6;
            --text-muted: #a5a5c9;
            /* Dinamik bildirim renk tonları */
            --notification-bg-start: <?php echo $notification_background_start; ?>;
            --notification-bg-end: <?php echo $notification_background_end; ?>;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', sans-serif;
            background: var(--bg-darker);
            color: var(--text-light);
            overflow-x: hidden;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        /* Header */
        header {
            background: linear-gradient(180deg, var(--bg-dark), transparent);
            position: sticky;
            top: 0;
            z-index: 1001;
            padding: 10px 0;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        }

        .navbar {
            padding: 0.5rem 1rem;
        }

        .navbar-brand img {
            height: 40px;
            transition: transform 0.3s ease;
        }

        .navbar-brand img:hover {
            transform: scale(1.05);
        }

        .navbar-nav .nav-link {
            color: var(--text-muted);
            font-weight: 500;
            font-size: 0.95rem;
            margin: 0 10px;
            transition: color 0.3s ease;
        }

        .navbar-nav .nav-link:hover,
        .navbar-nav .nav-link.active {
            color: var(--primary-color);
        }

        /* Arama Çubuğu Stilleri (İzole Edilmiş) */
        .search-box {
            display: flex;
            align-items: center;
            gap: 8px;
            background: #2a245c;
            padding: 5px 10px;
            border-radius: 20px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
            transition: box-shadow 0.3s ease;
        }

        .search-box:hover {
            box-shadow: 0 2px 10px rgba(216, 52, 176, 0.3);
        }

        .search-box form {
            display: flex;
            align-items: center;
            width: 100%;
        }

        .search-box .search-input {
            background: transparent;
            border: none;
            color: var(--text-light);
            padding: 5px 10px;
            border-radius: 20px;
            font-size: 0.9rem;
            width: 150px;
            outline: none;
            transition: width 0.3s ease;
        }

        .search-box .search-input:focus {
            width: 200px;
        }

        .search-box .search-input::placeholder {
            color: var(--text-muted);
        }

        .search-box .search-button {
            background: transparent;
            border: none;
            color: var(--text-light);
            padding: 5px 10px;
            border-radius: 20px;
            transition: color 0.3s ease;
        }

        .search-box .search-button:hover {
            color: var(--primary-color);
        }

        .search-box .search-button i {
            font-size: 1rem;
        }

        .login-button {
            background: transparent;
            border: 1px solid var(--primary-color);
            color: var(--primary-color);
            padding: 6px 15px;
            border-radius: 20px;
            font-size: 0.9rem;
            transition: background 0.3s ease, color 0.3s ease;
        }

        .login-button:hover {
            background: var(--primary-color);
            color: #fff;
        }

        .dropdown-menu {
            background: var(--bg-dark);
            border: 1px solid #2a245c;
            border-radius: 10px;
            padding: 0;
            overflow: hidden;
        }

        .dropdown-item {
            color: var(--text-light);
            padding: 10px 15px;
            font-size: 0.9rem;
            transition: background 0.3s ease;
        }

        .dropdown-item:hover {
            background: #2a245c;
            color: var(--primary-color);
        }

        .dropdown-divider {
            border-color: #2a245c;
            margin: 0;
        }

        /* Main Content */
        main {
            flex: 1;
            position: relative;
            padding-bottom: 80px; /* Mobile-nav yüksekliği kadar boşluk */
        }

        /* Bildirim Kutusu */
        .notification-sidebar {
            position: fixed;
            width: 280px;
            z-index: 1002; /* Mobile-nav ve footer'dan yüksek */
            <?php
            switch ($notification_position) {
                case 'bottom-left':
                    echo "bottom: 20px; left: 20px;";
                    break;
                case 'bottom-right':
                    echo "bottom: 20px; right: 20px;";
                    break;
                case 'top-center':
                    echo "top: 20px; left: 50%; transform: translateX(-50%);";
                    break;
                default:
                    echo "bottom: 20px; left: 20px;";
            }
            ?>
        }

        .notification-item {
            background: linear-gradient(135deg, var(--notification-bg-start), var(--notification-bg-end));
            padding: 12px 15px;
            margin-bottom: 8px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            gap: 10px;
            color: #fff;
            font-family: 'Inter', sans-serif;
            font-size: 14px;
            font-weight: 500;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            position: relative;
            opacity: 0;
            <?php
            switch ($notification_animation) {
                case 'fade-in':
                    echo "animation: fadeIn 0.5s ease-out forwards;";
                    break;
                case 'bounce-in':
                    echo "animation: bounceIn 0.5s ease-out forwards;";
                    break;
                case 'slide-in':
                default:
                    echo "animation: slideIn 0.5s ease-out forwards;";
                    break;
            }
            ?>
        }

        .notification-item.visible {
            display: flex;
        }

        .notification-item .icon {
            font-size: 1.2rem;
            flex-shrink: 0;
        }

        .notification-item .message {
            flex-grow: 1;
        }

        .notification-item .timestamp {
            font-size: 0.75rem;
            color: rgba(255, 255, 255, 0.7);
            margin-top: 4px;
        }

        .notification-item .close-btn {
            background: none;
            border: none;
            color: rgba(255, 255, 255, 0.7);
            font-size: 1rem;
            padding: 5px;
            cursor: pointer;
            transition: color 0.3s ease;
        }

        .notification-item .close-btn:hover {
            color: #fff;
        }

        /* Oyun Oynama Alanı (game_detail) */
        .game-container {
            position: relative;
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }

        .game-iframe {
            width: 100%;
            height: 600px;
            border: none;
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        }

        /* Animasyonlar */
        @keyframes slideIn {
            from {
                transform: translateX(-20px);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }

        @keyframes bounceIn {
            0% {
                opacity: 0;
                transform: scale(0.3);
            }
            50% {
                opacity: 1;
                transform: scale(1.05);
            }
            70% {
                transform: scale(0.95);
            }
            100% {
                transform: scale(1);
                opacity: 1;
            }
        }

        /* Footer için gerekli stiller */
        .bg-yox-dark { background-color: #17152e; }
        .text-yox-accent { color: #d834b0; }
        .hover\:text-yox-gradient:hover { color: #7b41d6; }
        .border-yox-accent { border-color: #d834b0; }
        /* Mobil navigasyonun üstünde görünmesi için footer'a z-index ve padding */
        footer {
            position: relative;
            z-index: 1001; /* Mobil navigasyonun z-index'inden yüksek */
            padding-bottom: 80px; /* Mobil navigasyon yüksekliği kadar boşluk */
        }
        @media (min-width: 768px) {
            footer {
                padding-bottom: 2rem; /* Masaüstünde boşluk azalt */
            }
        }

        footer a {
            color: var(--text-muted);
            text-decoration: none;
            font-size: 0.85rem;
            transition: color 0.3s ease;
        }

        footer a:hover {
            color: var(--primary-color);
        }

        footer .social-links {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-bottom: 15px;
        }

        footer .social-links i {
            font-size: 1.2rem;
        }

        footer .footer-links {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
            gap: 10px;
            text-align: center;
            margin-bottom: 15px;
        }

        footer .footer-links a {
            font-size: 0.8rem;
        }

        footer .footer-copyright {
            text-align: center;
            font-size: 0.75rem;
            color: var(--text-muted);
            padding-top: 10px;
            border-top: 1px solid #2a245c;
        }

        /* Mobil Navigasyon */
        .mobile-nav {
            display: none;
            position: fixed;
            bottom: 0;
            width: 100%;
            background: var(--bg-dark);
            border-top: 1px solid #2a245c;
            justify-content: space-around;
            padding: 10px 0;
            z-index: 1000;
            box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
        }

        .mobile-nav a {
            display: flex;
            flex-direction: column;
            align-items: center;
            color: var(--text-muted);
            text-decoration: none;
            font-size: 0.7rem;
            transition: color 0.3s ease;
        }

        .mobile-nav a.active,
        .mobile-nav a:hover {
            color: var(--primary-color);
        }

        .mobile-nav i {
            font-size: 1.2rem;
            margin-bottom: 4px;
        }

        /* Responsive Tasarım */
        @media (max-width: 767px) {
            .mobile-nav {
                display: flex;
            }

            .notification-sidebar {
                width: 180px;
                <?php
                switch ($notification_position) {
                    case 'bottom-left':
                        echo "bottom: 70px; left: 10px;";
                        break;
                    case 'bottom-right':
                        echo "bottom: 70px; right: 10px;";
                        break;
                    case 'top-center':
                        echo "top: 10px; left: 50%; transform: translateX(-50%);";
                        break;
                    default:
                        echo "bottom: 70px; left: 10px;";
                }
                ?>
                z-index: 1002;
            }

            .notification-item {
                padding: 6px 8px;
                font-size: 11px;
                gap: 6px;
            }

            .notification-item .icon {
                font-size: 1rem;
            }

            .notification-item .timestamp {
                font-size: 0.65rem;
            }

            .notification-item .close-btn {
                font-size: 0.9rem;
            }

            .navbar-nav {
                background: var(--bg-dark);
                padding: 15px;
                border-radius: 10px;
                margin-top: 10px;
            }

            .navbar-nav .nav-link {
                padding: 10px 0;
                font-size: 1rem;
            }

            .search-box {
                margin: 10px 0;
                width: 100%;
                padding: 5px;
            }

            .search-box .search-input {
                width: 100%;
                font-size: 0.85rem;
                padding: 4px 8px;
            }

            .search-box .search-input:focus {
                width: 100%;
            }

            .search-box .search-button {
                padding: 4px 8px;
            }

            .search-box .search-button i {
                font-size: 0.9rem;
            }

            .game-iframe {
                height: 400px; /* Mobil cihazlarda daha küçük iframe */
            }

            footer {
                padding-bottom: 80px; /* Mobile-nav yüksekliği kadar boşluk */
            }

            footer .social-links {
                gap: 10px;
                margin-bottom: 10px;
            }

            footer .social-links i {
                font-size: 1rem;
            }

            footer .footer-links {
                gap: 8px;
            }

            footer .footer-links a {
                font-size: 0.75rem;
            }

            footer .footer-copyright {
                font-size: 0.65rem;
            }
        }

        @media (min-width: 768px) {
            .navbar-nav .nav-link {
                margin: 0 15px;
            }

            footer .footer-links {
                grid-template-columns: repeat(4, 1fr);
            }
        }