/**
 * Korkmaz Abi - Main Stylesheet
 * Uzay Temalı Slot Casino Platform
 */

/* ========================================
   1. CSS Variables & Color Palette - Champagne Gold & Charcoal Black
   ======================================== */
:root {
    /* Renk Paleti - Obsidyen Siyahı & Som Altın Tema */
    --color-space-black: #000000;
    --color-space-gray: #0B0C10;
    --color-dark-bg: #050505;
    --color-darker-bg: #000000;
    --color-gold: #FFD700;
    --color-gold-light: #FFED4E;
    --color-gold-dark: #FFC700;
    --color-amber: #FFD700;
    --color-light-gray: #c5cdd6;
    --color-medium-gray: #9aa3b0;
    --color-white: #ffffff;
    --color-accent: #FFD700;
    
    /* Tipografi */
    --font-heading: Arial, sans-serif;
    --font-body: Arial, sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    
    /* Shadows - Som Altın Effects */
    --shadow-gold: 0 4px 12px rgba(255, 215, 0, 0.4);
    --shadow-gold-intense: 0 8px 24px rgba(255, 215, 0, 0.5);
    --shadow-dark: 0 4px 12px rgba(0, 0, 0, 0.9);
    --shadow-deep: 0 8px 24px rgba(0, 0, 0, 0.95);
}

/* ========================================
   2. Reset & Base Styles
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: linear-gradient(135deg, #000000 0%, #0B0C10 50%, #000000 100%);
    background-attachment: fixed;
    color: var(--color-light-gray);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    padding-bottom: 50px; /* Space for sticky slider */
}

/* Temiz Arkaplan - Şerit Dokusuz */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: -1;
    pointer-events: none;
}

/* Som Altın Accent Particles */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.8;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 215, 0, 0.7);
    border-radius: 50%;
    box-shadow: 0 0 4px rgba(255, 215, 0, 0.9),
                0 0 8px rgba(255, 215, 0, 0.5);
    animation: starTwinkle 3s ease-in-out infinite;
}

@keyframes starTwinkle {
    0%, 100% {
        opacity: 0.7;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* ========================================
   3. Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-white);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3),
                 0 2px 4px rgba(0, 0, 0, 0.8);
}

h1 {
    font-size: 2rem;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.4),
                 0 0 30px rgba(255, 215, 0, 0.2),
                 0 2px 4px rgba(0, 0, 0, 0.9);
}

h2 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

h3 {
    font-size: 1.3rem;
}

p {
    margin-bottom: var(--spacing-sm);
}

a {
    color: var(--color-gold);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--color-gold-light);
    text-shadow: none;
}

/* ========================================
   4. Global Search Bar
   ======================================== */
.global-search-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10002;
    background: linear-gradient(135deg, #0B0C10 0%, #1F2833 100%);
    padding: 5px 20px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
}

/* Mobile Solid Effect for Search Bar */
@media (max-width: 1024px) {
    .global-search-container {
        background: #0B0C10;
        border-bottom: 2px solid rgba(255, 215, 0, 0.4);
    }
}

.global-search-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.search-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 14px;
    color: var(--color-gold);
    font-size: 1rem;
    pointer-events: none;
    z-index: 2;
}

.global-search-input {
    width: 100%;
    padding: 7px 45px 7px 45px;
    background: #0B0C10;
    border: 2px solid rgba(255, 215, 0, 0.4);
    border-radius: var(--radius-lg);
    color: var(--color-white);
    font-size: 0.95rem;
    font-family: var(--font-body);
    transition: all 0.3s ease;
    outline: none;
}

.global-search-input::placeholder {
    color: var(--color-medium-gray);
}

.global-search-input:focus {
    border-color: var(--color-gold);
    background: #0B0C10;
}

/* Mobile Solid Effect for Search Input */
@media (max-width: 1024px) {
    .global-search-input {
        background: #0B0C10;
        border: 2px solid rgba(255, 215, 0, 0.4);
    }
    
    .global-search-input:focus {
        background: #0B0C10;
        border-color: var(--color-gold);
    }
}

.clear-search-btn {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    color: var(--color-medium-gray);
    cursor: pointer;
    font-size: 1rem;
    padding: 4px 8px;
    transition: all 0.2s ease;
    z-index: 2;
}

.clear-search-btn:hover {
    color: var(--color-gold);
    transform: scale(1.1);
}

.search-results {
    position: fixed;
    top: calc(55px + 16px);
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 800px;
    background: #0B0C10;
    border: 2px solid rgba(255, 215, 0, 0.4);
    border-radius: var(--radius-lg);
    max-height: calc(100vh - 150px);
    overflow-y: auto;
    z-index: 10001;
}

/* Mobile Solid Effect for Search Results */
@media (max-width: 1024px) {
    .search-results {
        background: #0B0C10;
        border: 2px solid rgba(255, 215, 0, 0.4);
    }
    
    .search-result-item {
        background: #0B0C10;
        border: 1px solid rgba(255, 215, 0, 0.3);
    }
    
    .search-result-item:hover {
        background: #141820;
        border-color: var(--color-gold);
    }
    
    .search-result-icon {
        background: rgba(255, 215, 0, 0.2);
    }
}

/* Search Overlay - Arka planı karartma */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 10000;
    display: none;
}

.search-overlay.active {
    display: block;
}

/* Mobile Solid Effect for Overlay */
@media (max-width: 1024px) {
    .search-overlay.active {
        background: rgba(0, 0, 0, 0.8);
    }
    
    /* Header açıkken body overlay */
    body::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        pointer-events: none;
    }
    
    body.menu-open::after {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
}

.search-results::-webkit-scrollbar {
    width: 8px;
}

.search-results::-webkit-scrollbar-track {
    background: #0B0C10;
    border-radius: 10px;
}

.search-results::-webkit-scrollbar-thumb {
    background: var(--color-gold);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.search-results::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold-light);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
}

.search-category {
    padding: 12px 20px;
}

.search-category-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 8px;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.search-category-title i {
    font-size: 1rem;
}

.search-result-item {
    padding: 12px 16px;
    margin: 4px 0;
    background: #0B0C10;
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-result-item:hover {
    background: #141820;
    border-color: var(--color-gold);
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.search-result-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 215, 0, 0.1);
    border-radius: var(--radius-md);
    color: var(--color-gold);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.search-result-content {
    flex: 1;
}

.search-result-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 2px;
}

.search-result-description {
    font-size: 0.85rem;
    color: var(--color-medium-gray);
}

.search-no-results {
    padding: 40px 20px;
    text-align: center;
    color: var(--color-medium-gray);
}

.search-no-results i {
    font-size: 3rem;
    color: var(--color-dark-bg);
    margin-bottom: 16px;
}

.search-no-results p {
    font-size: 1rem;
    margin: 8px 0;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .global-search-container {
        padding: 10px 16px;
        padding-right: 75px; /* Hamburger menü için yer aç */
    }
    
    .global-search-wrapper {
        max-width: 100%;
    }
    
    .global-search-input {
        padding: 12px 45px 12px 45px;
        font-size: 16px;
    }
    
    .search-icon {
        left: 14px;
        font-size: 1rem;
    }
    
    .clear-search-btn {
        right: 14px;
        font-size: 1rem;
    }
    
    .search-results {
        top: calc(55px + 12px);
        width: calc(100% - 24px);
        max-width: none;
        max-height: calc(100vh - 120px);
    }
    
    .search-result-item {
        padding: 10px 12px;
    }
    
    .search-result-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .search-result-title {
        font-size: 0.95rem;
    }
    
    .search-result-description {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .global-search-container {
        padding: 8px 12px;
        padding-right: 65px; /* Hamburger menü için yer aç */
    }
    
    .global-search-input {
        padding: 10px 40px 10px 40px;
        font-size: 16px;
    }
    
    .search-icon {
        left: 12px;
        font-size: 0.95rem;
    }
    
    .clear-search-btn {
        right: 12px;
        font-size: 0.95rem;
    }
    
    .search-results {
        top: calc(55px + 10px);
        width: calc(100% - 20px);
        max-height: calc(100vh - 100px);
    }
    
    .hamburger {
        top: 8px;
        right: 12px;
        padding: 8px 10px;
    }
    
    .hamburger span {
        width: 24px;
        height: 2px;
    }
}

/* ========================================
   5. Header & Navigation - Vertical Sidebar (Modern)
   ======================================== */
.header {
    position: fixed;
    top: 55px;
    left: 0;
    width: 200px;
    height: calc(100vh - 55px);
    background: #0B0C10;
    border-right: 3px solid rgba(255, 215, 0, 0.4);
    padding: var(--spacing-md) var(--spacing-sm) 0 var(--spacing-sm);
    z-index: 1001;
    overflow-y: auto;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

/* Header Daraltma Butonu */
.header-collapse-btn {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    background: var(--color-gold);
    border: 2px solid var(--color-gold-dark);
    border-radius: 50%;
    color: var(--color-space-black);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: var(--shadow-gold);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-collapse-btn:hover {
    background: var(--color-gold-light);
    transform: translateX(-50%) scale(1.1);
    box-shadow: var(--shadow-gold-intense);
}

.header-collapse-btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.header-collapse-btn:active {
    transform: translateX(-50%) scale(0.95);
}

/* Daraltılmış Header Durumu */
.header.collapsed {
    width: 70px;
    padding: var(--spacing-md) 8px;
}

.header.collapsed .header-collapse-btn i {
    transform: rotate(180deg);
}

.header.collapsed .logo-text,
.header.collapsed .nav-link span,
.header.collapsed .balance-label span,
.header.collapsed .balance-subtext {
    display: none;
}

.header.collapsed .logo {
    padding: var(--spacing-sm) 4px;
    margin-top: 32px;
}

.header.collapsed .logo-img {
    height: 45px;
}

.header.collapsed .nav-link {
    justify-content: center;
    padding: 12px 8px;
}

.header.collapsed .nav-link i {
    width: auto;
    margin: 0;
}

.header.collapsed .nav-balance-card {
    padding: 10px 4px;
}

.header.collapsed .balance-label {
    margin-bottom: 4px;
}

.header.collapsed .balance-amount {
    font-size: 0.95rem;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    pointer-events: none;
    z-index: -1;
}

/* Custom Scrollbar */
.header::-webkit-scrollbar {
    width: 6px;
}

.header::-webkit-scrollbar-track {
    background: #0B0C10;
    border-radius: 10px;
}

.header::-webkit-scrollbar-thumb {
    background: var(--color-gold);
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.header::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold-light);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
}

.nav-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    flex: 1;
    overflow-y: auto;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    padding: 1.2rem var(--spacing-sm);
    margin-top: 32px;
    margin-bottom: var(--spacing-xs);
    border-radius: 0;
    background: transparent;
    border: none;
    position: relative;
    overflow: visible;
    transition: all 0.3s ease;
    width: 100%;
}

.logo:hover {
    border-color: transparent;
    background: transparent;
}

.logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.logo-img {
    height: 65px;
    width: auto;
    filter: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 0;
}

.logo-img:hover {
    transform: scale(1.05);
    filter: brightness(1.2) drop-shadow(0 0 8px rgba(255, 215, 0, 0.3));
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--color-gold);
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.6),
                 0 0 30px rgba(255, 215, 0, 0.3);
    text-align: center;
    letter-spacing: 1.8px;
    position: relative;
    z-index: 1;
    font-weight: 700;
    white-space: nowrap;
    overflow: visible;
}

.nav-menu {
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 4px;
    flex: 1;
}

.nav-menu li {
    width: 100%;
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--color-light-gray);
    font-weight: 500;
    font-size: 0.82rem;
    padding: 10px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
    width: 100%;
    position: relative;
    border: 1px solid transparent;
}

.nav-link::before {
    display: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: width 0.2s ease;
}

.nav-link i {
    font-size: 1rem;
    width: 22px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.nav-link:hover {
    color: var(--color-white);
    background: rgba(255, 215, 0, 0.12);
    transform: translateX(4px);
    border-color: rgba(255, 215, 0, 0.3);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover i {
    transform: scale(1.1);
    color: var(--color-gold);
}

.nav-link.active {
    color: #0B0C10 !important;
    background: #FFD700 !important;
    border-color: #FFD700 !important;
    font-weight: 700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.nav-link.active::after {
    width: 100%;
    background: #0B0C10;
}

.nav-link.active i {
    color: #0B0C10 !important;
}

/* ========================================
   Auth Butonları - Modern Tasarım ve Alta Hizalı
   ======================================== */

/* Auth butonları grubu */
.nav-auth-item:first-of-type {
    margin-top: 0;
    padding-top: var(--spacing-sm);
}

.nav-auth-item {
    margin-top: 8px !important;
}

/* Profil Linki - Elite Gold Tasarım */
.nav-link-profile {
    background: rgba(255, 215, 0, 0.1) !important;
    border: 2px solid rgba(255, 215, 0, 0.4) !important;
    color: var(--color-white) !important;
    font-weight: 600;
    padding: 8px 12px !important;
}

.nav-link-profile i {
    color: var(--color-gold);
    font-size: 1rem !important;
}

.nav-link-profile:hover {
    background: rgba(255, 215, 0, 0.18) !important;
    border-color: var(--color-gold) !important;
    transform: translateX(5px);
}

/* Giriş Yap Butonu - Gold Outline */
.nav-link-login {
    background: transparent !important;
    border: 2px solid rgba(255, 215, 0, 0.5) !important;
    color: var(--color-gold) !important;
    font-weight: 600;
    padding: 7px 12px !important;
    font-size: 0.78rem !important;
    justify-content: center;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link-login:hover {
    background: rgba(255, 215, 0, 0.12) !important;
    border-color: var(--color-gold) !important;
    color: var(--color-white) !important;
    transform: translateX(0) scale(1.03);
}

.nav-link-login i {
    color: inherit;
}

/* Kayıt Ol Butonu - Elite Gold Filled */
.nav-link-register {
    background: #FFD700 !important;
    border: 2px solid #FFD700 !important;
    color: #0B0C10 !important;
    font-weight: 700;
    padding: 7px 12px !important;
    font-size: 0.78rem !important;
    justify-content: center;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.nav-link-register::before {
    display: none;
}

.nav-link-register:hover {
    background: #FFED4E !important;
    border-color: #FFED4E !important;
    transform: translateX(0) scale(1.05);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.7);
}

.nav-link-register i {
    position: relative;
    z-index: 1;
    color: #0B0C10 !important;
}

/* Çıkış Yap Butonu - Subtle Gray Outline */
.nav-link-logout {
    background: transparent !important;
    border: 2px solid rgba(184, 192, 204, 0.3) !important;
    color: var(--color-light-gray) !important;
    font-weight: 600;
    padding: 7px 12px !important;
    font-size: 0.78rem !important;
    justify-content: center;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link-logout:hover {
    background: rgba(184, 192, 204, 0.08) !important;
    border-color: rgba(184, 192, 204, 0.5) !important;
    color: var(--color-white) !important;
    transform: translateX(0) scale(1.03);
}

.nav-link-logout i {
    color: inherit;
}

/* ========================================
   Bakiye Kartı - Modern & Kompakt Tasarım
   ======================================== */
.nav-balance-item {
    margin-top: auto !important;
    padding: var(--spacing-sm) 8px;
    padding-bottom: 8px;
    position: sticky;
    bottom: 0;
    background: #0B0C10;
    z-index: 10;
}

.nav-balance-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 8px;
    position: relative;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.3s ease;
}

.nav-balance-card::before {
    display: none;
}

.nav-balance-card:hover {
    transform: none;
    border-color: transparent;
    box-shadow: none;
    background: transparent;
}

.balance-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.72rem;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-bottom: 5px;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.balance-label i {
    font-size: 0.85rem;
    color: #FFED4E;
    filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.8));
    animation: coinPulse 1.5s ease-in-out infinite;
}

@keyframes coinPulse {
    0%, 100% { 
        transform: scale(1); 
        filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.8));
    }
    50% { 
        transform: scale(1.15); 
        filter: drop-shadow(0 0 12px rgba(255, 215, 0, 1));
    }
}

.balance-amount {
    font-family: Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: #FFD700;
    text-align: center;
    text-shadow: 
        0 0 20px rgba(255, 215, 0, 0.7),
        0 0 40px rgba(255, 215, 0, 0.5),
        0 2px 4px rgba(0, 0, 0, 0.4);
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
    line-height: 1;
    background: linear-gradient(180deg, #FFED4E 0%, #FFD700 50%, #FFC700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.balance-subtext {
    font-size: 0.68rem;
    text-align: center;
    color: rgba(255, 215, 0, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-top: 4px;
    position: relative;
    z-index: 1;
}

/* Hamburger Menu - Mobile (Modern) */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    position: fixed;
    top: 10px;
    right: 16px;
    z-index: 10003;
    background: #0B0C10;
    padding: 10px 12px;
    border-radius: 10px;
    border: 2px solid rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
}

.hamburger:hover {
    background: rgba(255, 136, 0, 0.1);
    border-color: var(--color-gold);
    transform: scale(1.05);
}

.hamburger span {
    width: 26px;
    height: 2.5px;
    background: var(--color-gold);
    transition: all 0.3s ease;
    border-radius: 3px;
}

.hamburger:hover span {
    background: var(--color-gold-light);
}

/* ========================================
   5. Buttons & CTAs
   ======================================== */
.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-lg);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-sm {
    padding: 8px 12px;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.btn-primary {
    background: var(--color-gold);
    color: var(--color-space-black);
    box-shadow: var(--shadow-gold);
    font-weight: 600;
}

.btn-primary:hover {
    background: var(--color-gold-light);
    box-shadow: var(--shadow-gold-intense);
    transform: translateY(-1px);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-secondary {
    background: transparent;
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
}

.btn-secondary:hover {
    background: var(--color-gold);
    color: var(--color-white);
}

/* ========================================
   6. Container & Layout
   ======================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

@media (min-width: 1600px) {
    .container {
        max-width: 1200px;
        padding: 0 var(--spacing-md);
    }
}

@media (min-width: 1800px) {
    .container {
        max-width: 1300px;
    }
}

@media (min-width: 2000px) {
    .container {
        max-width: 1400px;
    }
}

/* Mobil görünümde başlıklar için container padding ayarı */
@media (max-width: 768px) {
    .casino-partners-section .container,
    .events-section .container,
    .bonuses-section .container,
    .section .container,
    .leaderboard-section .container,
    .bonuses-grid .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

.section {
    padding: 1.5rem 0;
    position: relative;
    z-index: 1;
}

/* Events Section - Kompakt */
.events-section {
    padding: 1.5rem 0;
}

/* Section Title - Kompakt Margin */
.section-title {
    margin-bottom: 0.2rem;
    margin-top: 0;
    padding: 3px 20px !important;
}

/* Mobil için daha kompakt spacing */
@media (max-width: 768px) {
    .section {
        padding: 1rem 0 !important;
    }
    
    .events-section {
        padding: 1rem 0 !important;
    }
    
    .section-title {
        margin-bottom: 0.1rem !important;
        padding: 2px 16px !important;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 0.8rem 0 !important;
    }
    
    .events-section {
        padding: 0.8rem 0 !important;
    }
    
    .section-title {
        margin-bottom: 0.05rem !important;
        padding: 1px 12px !important;
    }
}

/* Main Content - Sol sidebar için padding */
.main-content {
    margin-left: 200px;
    margin-top: 55px;
    min-height: calc(100vh - 55px);
    position: relative;
    transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Daraltılmış Header için Main Content */
.header.collapsed ~ .main-content {
    margin-left: 70px;
}

/* Adjust content for banners on large screens */
@media (min-width: 1600px) {
    .main-content {
        margin-left: calc(200px + 170px);
        margin-right: 160px;
        max-width: calc(100vw - 200px - 330px);
        transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .header.collapsed ~ .main-content {
        margin-left: calc(70px + 170px);
        max-width: calc(100vw - 70px - 330px);
    }
}

@media (min-width: 1800px) {
    .main-content {
        margin-left: calc(200px + 190px);
        margin-right: 180px;
        max-width: calc(100vw - 200px - 370px);
    }
    
    .header.collapsed ~ .main-content {
        margin-left: calc(70px + 190px);
        max-width: calc(100vw - 70px - 370px);
    }
}

/* ========================================
   7. Utility Classes
   ======================================== */
.text-center {
    text-align: center;
}

.text-red {
    color: var(--color-gold);
}

.glow-text {
    text-shadow: var(--shadow-red-glow);
}

.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }

/* ========================================
   7. Sticky Banners - Desktop
   ======================================== */
.sticky-banner {
    position: fixed;
    top: 120px;
    width: 130px;
    height: 620px;
    z-index: 999;
    display: none;
    will-change: transform;
    transition: transform 0.1s ease-out;
}

.sticky-banner-left {
    left: 225px;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Daraltılmış Header için Banner */
.header.collapsed ~ .sticky-banner-left {
    left: 95px;
}

.sticky-banner-right {
    right: 10px;
}

.banner-content {
    width: 100%;
    height: 100%;
    background: #0B0C10;
    border: 2px solid rgba(255, 215, 0, 0.4);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
}

.banner-link {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.banner-content:hover {
    border-color: var(--color-gold);
    box-shadow: var(--shadow-gold-intense);
    transform: scale(1.02);
}

.banner-placeholder {
    text-align: center;
    color: var(--color-light-gray);
    padding: var(--spacing-sm);
}

.banner-placeholder i {
    font-size: 2rem;
    color: var(--color-gold);
    margin-bottom: var(--spacing-sm);
    opacity: 0.5;
}

.banner-placeholder p {
    font-size: 0.7rem;
    margin-bottom: var(--spacing-xs);
    color: var(--color-white);
    font-weight: 600;
}

.banner-placeholder span {
    font-size: 0.65rem;
    color: var(--color-light-gray);
    opacity: 0.7;
}

/* Show banners only on large screens */
@media (min-width: 1600px) {
    .sticky-banner {
        display: block;
    }
    
    .sticky-banner-left {
        left: 230px;
    }
    
    .header.collapsed ~ .sticky-banner-left {
        left: 100px;
    }
    
    .sticky-banner-right {
        right: 10px;
    }
    
    .banner-size::after {
        content: '130 x 620';
    }
    
    .banner-size {
        font-size: 0;
    }
}

@media (min-width: 1800px) {
    .sticky-banner {
        width: 150px;
        height: 720px;
        top: 70px;
    }
    
    .sticky-banner-left {
        left: 230px;
    }
    
    .header.collapsed ~ .sticky-banner-left {
        left: 100px;
    }
    
    .sticky-banner-right {
        right: 15px;
    }
    
    .banner-placeholder i {
        font-size: 2.5rem;
    }
    
    .banner-placeholder p {
        font-size: 0.85rem;
    }
    
    .banner-size::after {
        content: '150 x 720';
    }
    
    .banner-size {
        font-size: 0;
    }
}

@media (min-width: 2000px) {
    .sticky-banner-left {
        left: calc(200px + 35px);
    }
    
    .sticky-banner-right {
        right: 20px;
    }
}

/* ========================================
   8. Modern Mobile Header Top Bar
   ======================================== */

/* Mobile Header Bar - Modern Design */
.mobile-header-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #0B0C10;
    border-bottom: 2px solid rgba(255, 215, 0, 0.4);
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    z-index: 10003;
}

/* Mobile Hamburger Button */
.mobile-hamburger {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.mobile-hamburger span {
    width: 22px;
    height: 2.5px;
    background: rgba(255, 215, 0, 0.8);
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.mobile-hamburger:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.mobile-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.mobile-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Logo */
.mobile-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    justify-content: center;
    margin: 0 10px;
}

.mobile-logo-img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.15));
    animation: mobileLogoPulse 3s ease-in-out infinite;
}

@keyframes mobileLogoPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.15));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.25));
    }
}

.mobile-logo-text {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-gold);
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.6),
                 0 0 30px rgba(255, 215, 0, 0.3);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Mobile Search Toggle Button */
.mobile-search-toggle {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    color: var(--color-gold);
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

.mobile-search-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.1) rotate(90deg);
}

.mobile-search-toggle i {
    position: relative;
    z-index: 1;
}

/* Expandable Search Container */
.mobile-search-container {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: #0B0C10;
    border-bottom: 2px solid rgba(255, 215, 0, 0.4);
    padding: 15px;
    z-index: 10002;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
}

.mobile-search-container.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.mobile-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-search-icon {
    position: absolute;
    left: 15px;
    color: rgba(255, 215, 0, 0.7);
    font-size: 1rem;
    pointer-events: none;
    z-index: 2;
    animation: searchIconPulse 2s ease-in-out infinite;
}

@keyframes searchIconPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

.mobile-search-input {
    flex: 1;
    padding: 12px 50px 12px 45px;
    background: #0B0C10;
    border: 2px solid rgba(255, 215, 0, 0.4);
    border-radius: 12px;
    color: var(--color-white);
    font-size: 16px;
    font-family: var(--font-body);
    transition: all 0.3s ease;
    outline: none;
}

.mobile-search-input::placeholder {
    color: var(--color-medium-gray);
}

.mobile-search-input:focus {
    background: #0B0C10;
    border-color: var(--color-gold);
    transform: scale(1.02);
}

.mobile-search-clear,
.mobile-search-close {
    position: absolute;
    background: none;
    border: none;
    color: var(--color-medium-gray);
    cursor: pointer;
    font-size: 1rem;
    padding: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-search-clear {
    right: 45px;
}

.mobile-search-close {
    right: 10px;
}

.mobile-search-clear:hover,
.mobile-search-close:hover {
    color: rgba(255, 215, 0, 0.8);
    transform: scale(1.2) rotate(90deg);
}

/* Desktop search only */
.desktop-search-only {
    display: block;
}

/* Show mobile header on mobile */
@media (max-width: 1024px) {
    .mobile-header-bar {
        display: flex;
    }
    
    .desktop-search-only {
        display: none;
    }
}

/* Small mobile screens */
@media (max-width: 480px) {
    .mobile-header-bar {
        height: 55px;
        padding: 0 10px;
    }
    
    .mobile-hamburger,
    .mobile-search-toggle {
        width: 42px;
        height: 42px;
    }
    
    .mobile-hamburger span {
        width: 20px;
    }
    
    .mobile-logo-img {
        height: 35px;
    }
    
    .mobile-logo-text {
        font-size: 0.95rem;
        display: none; /* Hide on very small screens */
    }
    
    .mobile-search-container {
        top: 55px;
        padding: 12px;
    }
    
    .mobile-search-input {
        padding: 10px 45px 10px 40px;
        font-size: 16px;
    }
    
    .header {
        top: 55px;
        height: calc(100vh - 55px);
    }
    
    .main-content {
        margin-top: 55px;
        min-height: calc(100vh - 55px);
    }
    
    .search-results {
        top: calc(55px + 80px);
        max-height: calc(100vh - 165px);
    }
}

/* Medium screens - show logo text */
@media (min-width: 481px) and (max-width: 768px) {
    .mobile-logo-text {
        display: block;
    }
}

/* ========================================
   9. Responsive Design - Mobile Modern Interactive Header
   ======================================== */
@media (max-width: 1024px) {
    .header {
        transform: translateX(-100%);
        transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        z-index: 1001;
        top: 60px;
        height: calc(100vh - 60px);
        
        /* Modern Solid Effect */
        background: #0B0C10 !important;
        border-right: 2px solid rgba(255, 215, 0, 0.4);
        overflow-y: auto;
        overflow-x: hidden;
    }
    
    /* Animated Gradient Background */
    .header::before {
        background: linear-gradient(180deg, 
            rgba(255, 215, 0, 0.03) 0%,
            transparent 50%,
            rgba(255, 215, 0, 0.015) 100%);
        pointer-events: none;
        animation: headerGradientFlow 8s ease-in-out infinite;
    }
    
    @keyframes headerGradientFlow {
        0%, 100% { 
            opacity: 0.5;
            transform: translateY(0);
        }
        50% { 
            opacity: 1;
            transform: translateY(-10px);
        }
    }
    
    /* Active State with Bounce Animation */
    .header.active {
        transform: translateX(0);
        animation: headerSlideIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }
    
    @keyframes headerSlideIn {
        0% {
            transform: translateX(-100%);
            opacity: 0.5;
        }
        70% {
            transform: translateX(10px);
        }
        100% {
            transform: translateX(0);
            opacity: 1;
        }
    }
    
    /* Logo Solid Effect with Pulse Animation */
    .header .logo {
        background: rgba(255, 215, 0, 0.08);
        border: 2px solid rgba(255, 215, 0, 0.2);
        border-radius: 16px;
        padding: 1.2rem 1rem;
        margin-bottom: 1rem;
        position: relative;
        overflow: hidden;
    }
    
    /* Logo hover effect */
    .header .logo:hover {
        background: rgba(255, 215, 0, 0.15);
        border-color: var(--color-gold);
        transform: scale(1.02);
    }
    
    /* Logo shine effect */
    .header .logo::after {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(45deg,
            transparent 30%,
            rgba(255, 255, 255, 0.1) 50%,
            transparent 70%);
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
        transition: transform 0.6s;
    }
    
    .header.active .logo::after {
        animation: logoShine 3s ease-in-out 0.5s infinite;
    }
    
    @keyframes logoShine {
        0% {
            transform: translateX(-100%) translateY(-100%) rotate(45deg);
        }
        50% {
            transform: translateX(100%) translateY(100%) rotate(45deg);
        }
        100% {
            transform: translateX(-100%) translateY(-100%) rotate(45deg);
        }
    }
    
    /* Logo image pulse */
    .header.active .logo-img {
        animation: logoPulse 2s ease-in-out infinite;
    }
    
    @keyframes logoPulse {
        0%, 100% {
            transform: scale(1);
            filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.3));
        }
        50% {
            transform: scale(1.05);
            filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6));
        }
    }
    
    /* Logo text glow animation */
    .header.active .logo-text {
        animation: textGlow 2s ease-in-out infinite;
    }
    
    @keyframes textGlow {
        0%, 100% {
            text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
        }
        50% {
            text-shadow: 0 0 15px rgba(255, 215, 0, 0.8),
                         0 0 25px rgba(255, 215, 0, 0.5);
        }
    }
    
    /* Nav Links Solid Effect with Ripple */
    .header .nav-link {
        background: rgba(255, 215, 0, 0.05);
        border: 1px solid rgba(255, 215, 0, 0.15);
        position: relative;
        overflow: hidden;
        transform-origin: left center;
    }
    
    /* Ripple effect on click */
    .header .nav-link::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: rgba(255, 215, 0, 0.1);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        transition: width 0.6s, height 0.6s;
        pointer-events: none;
    }
    
    .header .nav-link:active::before {
        width: 300px;
        height: 300px;
        transition: width 0s, height 0s;
    }
    
    /* Hover animation */
    .header .nav-link:hover {
        background: rgba(255, 215, 0, 0.15);
        border-color: var(--color-gold);
        transform: translateX(6px) scale(1.02);
    }
    
    /* Icon animation on hover */
    .header .nav-link:hover i {
        animation: iconBounce 0.5s ease;
    }
    
    @keyframes iconBounce {
        0%, 100% { transform: translateY(0); }
        25% { transform: translateY(-4px); }
        50% { transform: translateY(-2px); }
        75% { transform: translateY(-3px); }
    }
    
    /* Active state */
    .header .nav-link.active {
        background: #FFD700 !important;
        border-color: #FFD700 !important;
        color: #0B0C10 !important;
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
    }
    
    .header .nav-link.active i {
        color: #0B0C10 !important;
    }
    
    /* Stagger animation when menu opens */
    .header.active .nav-menu li {
        animation: menuItemSlideIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) both;
    }
    
    .header.active .nav-menu li:nth-child(1) { animation-delay: 0.1s; }
    .header.active .nav-menu li:nth-child(2) { animation-delay: 0.15s; }
    .header.active .nav-menu li:nth-child(3) { animation-delay: 0.2s; }
    .header.active .nav-menu li:nth-child(4) { animation-delay: 0.25s; }
    .header.active .nav-menu li:nth-child(5) { animation-delay: 0.3s; }
    .header.active .nav-menu li:nth-child(6) { animation-delay: 0.35s; }
    .header.active .nav-menu li:nth-child(7) { animation-delay: 0.4s; }
    .header.active .nav-menu li:nth-child(8) { animation-delay: 0.45s; }
    .header.active .nav-menu li:nth-child(9) { animation-delay: 0.5s; }
    .header.active .nav-menu li:nth-child(10) { animation-delay: 0.55s; }
    
    @keyframes menuItemSlideIn {
        0% {
            opacity: 0;
            transform: translateX(-30px);
        }
        60% {
            transform: translateX(5px);
        }
        100% {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    /* Auth Buttons Solid Effect with Animations */
    .header .nav-link-profile {
        background: rgba(255, 215, 0, 0.12) !important;
        border: 2px solid rgba(255, 215, 0, 0.3) !important;
        position: relative;
        overflow: hidden;
    }
    
    .header .nav-link-profile:hover {
        background: rgba(255, 215, 0, 0.2) !important;
        border-color: var(--color-gold) !important;
        transform: translateX(0) scale(1.03) !important;
    }
    
    .header .nav-link-login {
        background: rgba(255, 215, 0, 0.05) !important;
        border: 2px solid rgba(255, 215, 0, 0.25) !important;
        position: relative;
    }
    
    .header .nav-link-login:hover {
        background: rgba(255, 215, 0, 0.15) !important;
        border-color: var(--color-gold) !important;
        transform: translateX(0) scale(1.05) !important;
    }
    
    /* Register button with gradient shimmer */
    .header .nav-link-register {
        background: #FFD700 !important;
        border: 2px solid #FFD700 !important;
        color: #0B0C10 !important;
        position: relative;
        overflow: hidden;
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    }
    
    .header .nav-link-register i {
        color: #0B0C10 !important;
    }
    
    .header .nav-link-register::after {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(
            45deg,
            transparent 30%,
            rgba(255, 255, 255, 0.3) 50%,
            transparent 70%
        );
        animation: registerShimmer 3s linear infinite;
    }
    
    @keyframes registerShimmer {
        0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
        100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
    }
    
    .header .nav-link-register:hover {
        background: #FFED4E !important;
        border-color: #FFED4E !important;
        transform: translateX(0) scale(1.08) !important;
        box-shadow: 0 0 25px rgba(255, 215, 0, 0.7);
    }
    
    .header .nav-link-logout {
        background: rgba(184, 192, 204, 0.08) !important;
        border: 2px solid rgba(184, 192, 204, 0.3) !important;
    }
    
    .header .nav-link-logout:hover {
        background: rgba(255, 100, 100, 0.15) !important;
        border-color: rgba(255, 100, 100, 0.5) !important;
        transform: translateX(0) scale(1.03) !important;
    }
    
    /* Balance Card Solid Effect with Shine Animation */
    .header .nav-balance-card {
        background: rgba(255, 215, 0, 0.1);
        border: 2px solid rgba(255, 215, 0, 0.3);
        border-radius: 12px;
        padding: 12px 8px;
        position: relative;
        overflow: hidden;
    }
    
    /* Animated border gradient */
    .header .nav-balance-card::before {
        content: '';
        position: absolute;
        inset: -2px;
        background: linear-gradient(
            45deg,
            rgba(255, 215, 0, 0.5),
            rgba(255, 237, 78, 0.5),
            rgba(255, 199, 0, 0.5),
            rgba(255, 237, 78, 0.5),
            rgba(255, 215, 0, 0.5)
        );
        background-size: 300% 300%;
        border-radius: inherit;
        animation: balanceBorderFlow 4s ease-in-out infinite;
        opacity: 0.6;
        pointer-events: none;
        z-index: -1;
    }
    
    @keyframes balanceBorderFlow {
        0%, 100% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
    }
    
    /* Hover effect */
    .header .nav-balance-card:hover {
        background: rgba(255, 215, 0, 0.15);
        border-color: var(--color-gold);
        transform: scale(1.02);
    }
    
    /* Balance amount pulse */
    .header.active .balance-amount {
        animation: balanceAmountPulse 2s ease-in-out infinite;
    }
    
    @keyframes balanceAmountPulse {
        0%, 100% {
            transform: scale(1);
            text-shadow: 
                0 0 20px rgba(255, 215, 0, 0.7),
                0 0 40px rgba(255, 215, 0, 0.5),
                0 2px 4px rgba(0, 0, 0, 0.4);
        }
        50% {
            transform: scale(1.05);
            text-shadow: 
                0 0 30px rgba(255, 215, 0, 0.9),
                0 0 60px rgba(255, 215, 0, 0.7),
                0 4px 8px rgba(0, 0, 0, 0.5),
                0 0 80px rgba(255, 215, 0, 0.5);
        }
    }
    
    /* Coin icon rotation */
    .header.active .balance-label i {
        animation: coinRotate 3s linear infinite;
    }
    
    @keyframes coinRotate {
        0% { transform: rotateY(0deg); }
        50% { transform: rotateY(180deg); }
        100% { transform: rotateY(360deg); }
    }
    
    /* Modern Scrollbar for Mobile Header */
    .header::-webkit-scrollbar {
        width: 6px;
    }
    
    .header::-webkit-scrollbar-track {
        background: rgba(11, 12, 16, 0.5);
        border-radius: 10px;
    }
    
    .header::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, 
            rgba(255, 215, 0, 0.7),
            rgba(255, 237, 78, 0.9));
        border-radius: 10px;
    }
    
    .header::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(180deg, 
            rgba(255, 215, 0, 0.9),
            rgba(255, 237, 78, 1));
    }
    
    .main-content {
        margin-left: 0;
        margin-top: 60px;
        min-height: calc(100vh - 60px);
    }
    
    /* Adjust search results position for mobile */
    .search-results {
        top: calc(60px + 90px);
        max-height: calc(100vh - 180px);
    }
    
    .mobile-search-container.active ~ .search-results {
        top: calc(60px + 90px);
    }
    
    /* Hide old hamburger (we use mobile-hamburger now) */
    .hamburger {
        display: none !important;
    }
    
    .sticky-banner {
        display: none !important;
    }
    
    /* Mobilde daraltma butonunu gizle */
    .header-collapse-btn {
        display: none;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .header {
        width: 100%;
        max-width: 280px;
    }
    
    .logo {
        padding: var(--spacing-md) var(--spacing-sm);
    }
    
    .logo-img {
        height: 65px;
    }
    
    .logo-text {
        font-size: 0.95rem;
        letter-spacing: 1.5px;
        white-space: nowrap;
    }
    
    .nav-link {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
    
    .nav-link i {
        font-size: 1rem;
        width: 20px;
    }
    
    /* Auth Butonları - Mobil */
    .nav-auth-item:first-of-type {
        padding-top: var(--spacing-sm);
    }
    
    .nav-link-profile,
    .nav-link-login,
    .nav-link-register,
    .nav-link-logout {
        padding: 8px 12px !important;
        font-size: 0.8rem !important;
    }
    
    .nav-link-profile i,
    .nav-link-login i,
    .nav-link-register i,
    .nav-link-logout i {
        font-size: 0.95rem !important;
        width: 18px;
    }
    
    /* Bakiye Kartı - Mobil */
    .nav-balance-item {
        margin-top: 10px !important;
        padding: 0 6px;
    }
    
    .nav-balance-card {
        padding: 10px;
    }
    
    .balance-label {
        font-size: 0.65rem;
        gap: 5px;
        margin-bottom: 5px;
    }
    
    .balance-label i {
        font-size: 0.8rem;
    }
    
    .balance-amount {
        font-size: 1.25rem;
    }
    
    .balance-subtext {
        font-size: 0.6rem;
        margin-top: 3px;
    }
}

/* ========================================
   9. Footer Styles - Kompakt Mobil Tasarım
   ======================================== */
.footer {
    background: linear-gradient(180deg, #000000 0%, #0B0C10 100%);
    border-top: 2px solid rgba(255, 215, 0, 0.3);
    padding: 1.5rem 0;
    margin-top: 2rem;
    margin-bottom: 50px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #FFD700 50%, transparent 100%);
    opacity: 0.6;
}

/* Footer İçerik Grid */
.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

/* Footer Başlıklar */
.footer-title {
    font-size: 0.85rem;
    color: #FFD700;
    margin-bottom: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-title i:first-child {
    font-size: 0.9rem;
}

/* Footer Linkler */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.footer-links li a:hover {
    color: #FFD700;
}

/* Sosyal Medya - Kompakt */
.social-links-compact {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 0.8rem;
}

.social-links-compact .social-link {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    color: #FFD700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.social-links-compact .social-link:hover {
    background: #FFD700;
    color: #000;
    transform: scale(1.1);
}

/* Online Kullanıcılar - Kompakt */
.online-users-compact {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

.online-users-compact i {
    color: #00c853;
    font-size: 0.5rem;
    animation: pulse 2s ease-in-out infinite;
}

/* İletişim */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-contact li {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
}

/* Copyright - Kompakt */
.footer-copyright {
    text-align: center;
    padding: 0.8rem 0;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    margin: 1rem 0;
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
    margin: 0.2rem 0;
}

.footer-note {
    color: rgba(255, 215, 0, 0.7);
    font-size: 0.7rem;
}

/* Footer Branding - En Alt Logo Bölümü */
.footer-branding {
    text-align: center;
    padding: 1.5rem 0 0.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}

.footer-logo-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.footer-logo-bottom img {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.4));
}

.footer-logo-bottom h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 900;
    color: #FFD700;
    margin: 0;
    letter-spacing: 3px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

.footer-slogan {
    font-size: 0.95rem;
    color: #FFD700;
    font-style: italic;
    margin: 0.3rem 0;
    font-weight: 600;
}

.footer-tagline {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Footer Toggle/Accordion - Desktop'ta Gizli */
.footer-toggle {
    cursor: default;
    position: relative;
    user-select: none;
}

.toggle-icon {
    display: none;
    font-size: 0.7rem;
    margin-left: auto;
    transition: transform 0.3s ease;
}

.footer-collapsible-content {
    max-height: none;
    overflow: visible;
    opacity: 1;
    transition: none;
}

/* Footer Responsive - Ultra Kompakt Mobil */
@media (max-width: 768px) {
    .footer {
        padding: 1rem 0 0.5rem;
        margin-top: 1.5rem;
    }
    
    .footer-content {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.4rem !important;
        margin-bottom: 0.8rem;
    }
    
    .footer-section {
        background: rgba(11, 12, 16, 0.8);
        border: 1px solid rgba(255, 215, 0, 0.2);
        border-radius: 6px;
        overflow: hidden;
        display: block !important;
        min-height: auto !important;
        height: auto !important;
    }
    
    /* Accordion Toggle */
    .footer-toggle {
        cursor: pointer;
        padding: 0.3rem 0.4rem;
        margin-bottom: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        transition: background 0.3s ease;
        flex-direction: column;
        text-align: center;
        gap: 0.1rem;
    }
    
    .footer-toggle:active {
        background: rgba(255, 215, 0, 0.1);
    }
    
    .footer-title {
        font-size: 0.6rem;
        margin-bottom: 0;
        flex-direction: column;
        gap: 0.1rem;
        width: 100%;
    }
    
    .footer-title i:first-child {
        font-size: 0.85rem;
        display: block;
    }
    
    .footer-title span {
        display: block;
        font-size: 0.6rem;
    }
    
    .toggle-icon {
        display: block;
        color: #FFD700;
        font-size: 0.5rem;
        position: absolute;
        top: 0.2rem;
        right: 0.2rem;
    }
    
    .footer-toggle {
        position: relative;
    }
    
    .footer-toggle.active .toggle-icon {
        transform: rotate(180deg);
    }
    
    /* Collapsible Content */
    .footer-collapsible-content {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
        padding: 0 0.3rem;
    }
    
    .footer-collapsible-content.active {
        max-height: 400px;
        opacity: 1;
        padding: 0.3rem 0.3rem 0.35rem 0.3rem;
    }
    
    /* Links - Kompakt */
    .footer-links {
        gap: 0.2rem;
        align-items: flex-start;
    }
    
    .footer-links li a {
        font-size: 0.7rem;
    }
    
    /* Sosyal - Kompakt */
    .social-links-compact {
        justify-content: flex-start;
        margin-bottom: 0.3rem;
    }
    
    .social-links-compact .social-link {
        width: 26px;
        height: 26px;
        font-size: 0.8rem;
    }
    
    .online-users-compact {
        font-size: 0.7rem;
    }
    
    /* İletişim - Kompakt */
    .footer-contact {
        gap: 0.2rem;
    }
    
    .footer-contact li {
        font-size: 0.7rem;
    }
    
    /* Copyright - Kompakt */
    .footer-copyright {
        padding: 0.6rem 0;
        margin: 0.8rem 0;
    }
    
    .footer-copyright p {
        font-size: 0.65rem;
        margin: 0.15rem 0;
    }
    
    /* Branding - Mobil */
    .footer-branding {
        padding: 1rem 0 0.5rem;
    }
    
    .footer-logo-bottom img {
        height: 50px;
    }
    
    .footer-logo-bottom h3 {
        font-size: 1rem;
        letter-spacing: 2px;
    }
    
    .footer-slogan {
        font-size: 0.85rem;
    }
    
    .footer-tagline {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 0.8rem 0 0.4rem;
    }
    
    .footer-content {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.3rem !important;
        margin-bottom: 0.6rem;
    }
    
    .footer-section {
        border-radius: 4px;
        display: block !important;
        min-height: auto !important;
        height: auto !important;
    }
    
    .footer-toggle {
        padding: 0.25rem 0.3rem;
        gap: 0.08rem;
    }
    
    .footer-title {
        font-size: 0.55rem;
    }
    
    .footer-title i:first-child {
        font-size: 0.75rem;
    }
    
    .footer-title span {
        font-size: 0.55rem;
    }
    
    .toggle-icon {
        font-size: 0.45rem;
        top: 0.15rem;
        right: 0.15rem;
    }
    
    .footer-collapsible-content.active {
        padding: 0.25rem 0.3rem 0.3rem 0.3rem;
    }
    
    .footer-links {
        gap: 0.18rem;
    }
    
    .footer-links li a {
        font-size: 0.65rem;
    }
    
    .social-links-compact {
        margin-bottom: 0.2rem;
    }
    
    .social-links-compact .social-link {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }
    
    .online-users-compact {
        font-size: 0.65rem;
    }
    
    .footer-contact {
        gap: 0.18rem;
    }
    
    .footer-contact li {
        font-size: 0.65rem;
    }
    
    .footer-copyright {
        padding: 0.5rem 0;
        margin: 0.6rem 0;
    }
    
    .footer-copyright p {
        font-size: 0.6rem;
    }
    
    .footer-branding {
        padding: 0.8rem 0 0.4rem;
    }
    
    .footer-logo-bottom img {
        height: 40px;
    }
    
    .footer-logo-bottom h3 {
        font-size: 0.9rem;
        letter-spacing: 1.5px;
    }
    
    .footer-slogan {
        font-size: 0.75rem;
    }
    
    .footer-tagline {
        font-size: 0.65rem;
    }
}

/* ========================================
   Pop-up Görsel Stili
   ======================================== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-container {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    animation: popupSlideIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes popupSlideIn {
    0% {
        transform: scale(0.5) translateY(-50px);
        opacity: 0;
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.popup-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.3),
                0 0 0 2px var(--color-gold);
}

.popup-image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 600px;
    max-height: 600px;
    object-fit: cover;
    aspect-ratio: 1/1;
}

.popup-close-btn {
    position: absolute;
    top: 5px;
    right: 15px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    border: 3px solid var(--color-space-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 32px;
    color: var(--color-space-black);
    font-weight: bold;
    transition: all 0.3s ease;
    z-index: 1000000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.popup-close-btn:hover {
    transform: rotate(90deg) scale(1.1);
    background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold) 100%);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
}

.popup-close-btn:active {
    transform: rotate(90deg) scale(0.95);
}

/* Mobil Responsive */
@media (max-width: 768px) {
    .popup-container {
        max-width: 85vw;
        max-height: 85vh;
    }
    
    .popup-image {
        max-width: 450px;
        max-height: 450px;
    }
    
    .popup-close-btn {
        top: 10px;
        right: 10px;
        width: 53px;
        height: 53px;
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .popup-container {
        max-width: 90vw;
        max-height: 90vh;
    }
    
    .popup-image {
        max-width: 350px;
        max-height: 350px;
    }
    
    .popup-close-btn {
        top: 12px;
        right: 10px;
        width: 47px;
        height: 47px;
        font-size: 26px;
        border-width: 2px;
    }
}

/* ========================================
   Sticky Site Slider - Bottom Fixed (Optimized)
   ======================================== */
.sticky-site-slider {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(180deg, rgba(11, 12, 16, 0.95) 0%, rgba(31, 40, 51, 0.98) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 215, 0, 0.5);
    box-shadow: 0 -2px 12px rgba(255, 215, 0, 0.2);
    z-index: 999;
    overflow: hidden;
    height: 45px;
    display: flex;
    align-items: center;
    will-change: transform;
}

.site-slider-track {
    display: flex;
    width: fit-content;
    animation: slideLeft 30s linear infinite;
    will-change: transform;
    transform: translateZ(0); /* GPU acceleration */
    backface-visibility: hidden;
}

.site-slider-track:hover {
    animation-play-state: paused;
}

.site-slider-content {
    display: flex;
    gap: 15px;
    padding: 0 15px;
    white-space: nowrap;
}

.site-slider-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(255, 215, 0, 0.08);
    border: 1.5px solid rgba(255, 215, 0, 0.35);
    border-radius: 20px;
    font-family: 'Orbitron', Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-gold);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    transform: translateZ(0); /* GPU acceleration */
    backface-visibility: hidden;
}

.site-slider-item:hover {
    background: rgba(255, 215, 0, 0.18);
    border-color: rgba(255, 215, 0, 0.7);
    transform: translateY(-2px) translateZ(0);
    box-shadow: 0 3px 15px rgba(255, 215, 0, 0.4);
}

.site-slider-item i {
    font-size: 15px;
    color: var(--color-gold);
    filter: drop-shadow(0 0 3px rgba(255, 215, 0, 0.6));
}

/* Optimized Animation - GPU Accelerated */
@keyframes slideLeft {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Mobile Responsive - Optimized */
@media (max-width: 768px) {
    .sticky-site-slider {
        height: 38px;
    }
    
    .site-slider-content {
        gap: 12px;
        padding: 0 12px;
    }
    
    .site-slider-item {
        font-size: 12px;
        padding: 5px 14px;
        gap: 6px;
        border-width: 1px;
    }
    
    .site-slider-item i {
        font-size: 13px;
    }
    
    .site-slider-track {
        animation: slideLeft 25s linear infinite;
    }
}

@media (max-width: 480px) {
    .sticky-site-slider {
        height: 35px;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
    
    .site-slider-content {
        gap: 10px;
        padding: 0 10px;
    }
    
    .site-slider-item {
        font-size: 11px;
        padding: 4px 12px;
        gap: 5px;
        border-radius: 15px;
    }
    
    .site-slider-item i {
        font-size: 12px;
    }
    
    .site-slider-track {
        animation: slideLeft 20s linear infinite;
    }
}

