/* Google Fonts - Rajdhani */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700&display=swap');

/* Root Variables */
:root {
    --primary-color: #5b53d2;
    --secondary-color: #ff69b4;
    --dark-blue: #1a237e;
    --dark: #121212;
    --gradient-bg: linear-gradient(135deg, #121212 0%, #1a237e 100%);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Rajdhani', sans-serif;
}

/* Global overflow prevention for mobile */
html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    background: var(--gradient-bg);
    font-family: 'Rajdhani', sans-serif;
    margin: 0;
    padding: 0;
    color: #fff;
    width: 100%;
    max-width: 100vw;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
}

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.logo {
    position: relative;
    display: inline-block;
}

.logo img {
    max-width: 180px;
    height: auto;
    padding: 5px;
    filter: drop-shadow(0 0 10px rgba(91, 83, 210, 0.5));
    border-radius: 50%;
    animation: logoGlow 3s infinite;
}
/* =============================================
   NORMAL CARDS DESKTOP & ALL SCREEN SIZES - SQUARE DESIGN
   (Tüm Ekran Boyutları için Normal Design Kartları Kare Tasarım)
   ============================================= */

/* All screen sizes - Normal cards square design */
.normal-card {
    aspect-ratio: 1/1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    padding: 15px 12px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-radius: 15px !important;
    box-sizing: border-box !important;
    margin: 0 auto !important;
}

/* Normal card text elements - all sizes */
.normal-card .casino-name,
.normal-card .card-text,
.normal-card .card-title,
.normal-card .casino-display-name {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    -webkit-line-clamp: unset !important;
    display: block !important;
    -webkit-box-orient: unset !important;
    max-height: none !important;
    min-height: auto !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
    text-align: center !important;
}

/* Normal card grid - SPECIFIC TARGET ONLY */
.casino-grid:has(.normal-card) {
    display: grid !important;
    gap: 3px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    justify-content: center !important;
    align-items: start !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
}

/* Desktop (1200px+) - Large squares */
@media (min-width: 1200px) {
    .casino-grid:has(.normal-card) {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
        gap: 3px !important;
    }
}

/* Large Desktop/Laptop (1024px - 1199px) */
@media (max-width: 1199px) and (min-width: 1024px) {
    .casino-grid:has(.normal-card) {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
        gap: 3px !important;
    }
}

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) and (min-width: 768px) {
    .casino-grid:has(.normal-card) {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
        gap: 3px !important;
    }
}

/* Small Tablet (601px - 767px) */
@media (max-width: 767px) and (min-width: 601px) {
    .casino-grid:has(.normal-card) {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
        gap: 3px !important;
    }
}

@keyframes logoGlow {
    0% {
        filter: drop-shadow(0 0 10px rgba(91, 83, 210, 0.5))
                drop-shadow(0 0 15px rgba(255, 105, 180, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(91, 83, 210, 0.8))
                drop-shadow(0 0 30px rgba(255, 105, 180, 0.6));
    }
    100% {
        filter: drop-shadow(0 0 10px rgba(91, 83, 210, 0.5))
                drop-shadow(0 0 15px rgba(255, 105, 180, 0.3));
    }
}

/* Ek olarak hover efekti */
.logo img:hover {
    animation: logoGlowHover 1.5s infinite;
}

@keyframes logoGlowHover {
    0% {
        filter: drop-shadow(0 0 15px rgba(91, 83, 210, 0.7))
                drop-shadow(0 0 20px rgba(255, 105, 180, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 25px rgba(91, 83, 210, 1))
                drop-shadow(0 0 35px rgba(255, 105, 180, 0.8));
    }
    100% {
        filter: drop-shadow(0 0 15px rgba(91, 83, 210, 0.7))
                drop-shadow(0 0 20px rgba(255, 105, 180, 0.5));
    }
}


.site-description {
    color: #e0e0e0;
    margin: 10px 0;
    font-size: 1.1em;
}

/* Favicon Style */
link[rel="shortcut icon"] {
    border-radius: 50%;
}

/* VIP Casino Section */
.casino-section:first-of-type .casino-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    justify-content: center;
}

.casino-section:first-of-type .casino-card {
    position: relative;
    padding: 15px;
    background: rgba(255, 255, 255, 0.15);
}

/* VIP Casino Card Footer */
.casino-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding: 0 10px;
}

/* Dönen kral tacı animasyonu - Güncellenmiş Y ekseni dönüşü */
.crown-icon {
    position: relative;
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #ffd700, #ffeb3b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rotateCrown 3s infinite linear;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.crown-icon i {
    font-size: 22px;
    color: #000;
    text-shadow: 2px 2px 2px rgba(0,0,0,0.2);
}

@keyframes rotateCrown {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

/* Hover efekti için ek stil */
.crown-icon:hover {
    animation-duration: 1.5s;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

/* Global Icon */
.global-icon {
    position: relative;
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #00bcd4, #4caf50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rotateGlobe 4s infinite linear;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.global-icon i {
    font-size: 22px;
    color: #fff;
    text-shadow: 2px 2px 2px rgba(0,0,0,0.2);
    animation: pulseGlobe 2s infinite;
}

@keyframes rotateGlobe {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

@keyframes pulseGlobe {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Hover efekti için ek stil */
.global-icon:hover {
    animation-duration: 2s;
    box-shadow: 0 0 15px rgba(0, 188, 212, 0.5);
}

/* Normal Design Casino Cards - SABİT BOYUT (Yazı Uzunluğu Sorunu Çözümü) */
.normal-card {
    padding: 15px 12px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    height: 220px !important; /* SABİT YÜKSEKLİK */
    max-width: 300px !important;
    margin: 0 auto !important;
    border-radius: 15px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
}

/* Normal Design Container - Website Layout */
.casino-grid:has(.normal-card) {
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)) !important;
    gap: 4px !important;
    max-width: 1200px !important;
    justify-content: center !important;
    align-items: start !important;
}

/* Normal Design - Promotion gizle */
.normal-card .casino-promotion,
.normal-card .stars {
    display: none !important;
}

/* Normal Design Logo - Sabit Boyut */
.normal-card .casino-logo {
    width: 120px !important;
    height: 70px !important;
    margin-bottom: 10px !important;
    object-fit: contain !important;
    flex-shrink: 0 !important;
}

/* Normal Design İsim - DESKTOP SABİT UZUNLUK */
.normal-card .casino-name {
    font-size: 1em !important;
    margin-bottom: 6px !important;
    line-height: 1.1 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    max-height: 2.2em !important;
    word-break: break-word !important;
    flex-shrink: 0 !important;
    white-space: normal !important;
    min-height: 2.2em !important; /* SABİT ALAN */
}

/* Normal Design Display Name - DESKTOP SABİT UZUNLUK */
.normal-card .casino-display-name {
    font-size: 0.9em !important;
    margin-bottom: 4px !important;
    line-height: 1.1 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important;
    -webkit-box-orient: vertical !important;
    max-height: 1.1em !important;
    word-break: break-word !important;
    flex-shrink: 0 !important;
    white-space: normal !important;
    min-height: 1.1em !important; /* SABİT ALAN */
}

/* Normal Design Buton - Alt Tarafta Sabit */
.normal-card .casino-button {
    padding: 8px 16px !important;
    font-size: 0.9em !important;
    margin-top: auto !important;
    border-radius: 15px !important;
    flex-shrink: 0 !important;
    min-height: 36px !important;
}

/* Normal Design Content Area */
.normal-card .casino-content {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    overflow: hidden !important;
}

/* Normal Design Footer - Alt Sabit */
.normal-card .casino-card-footer,
.normal-card .casino-card-footer-simple {
    margin-top: auto !important;
    flex-shrink: 0 !important;
}

/* Common Casino Styles */
.casino-section {
    margin-bottom: 30px;
}

.section-title {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 2em;
    text-shadow: 0 0 15px rgba(255, 105, 180, 0.5);
}

.casino-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    padding: 20px 0;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.casino-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
}

.casino-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.3s ease;
    opacity: 0;
}

.casino-card:hover::before {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

.casino-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(91, 83, 210, 0.3);
}

.casino-logo {
    width: 200px;
    height: 130px;
    object-fit: contain;
    margin: 0 auto 20px;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.casino-card:hover .casino-logo {
    transform: scale(1.05);
}

/* VIP Casino Logo */
.casino-section:first-of-type .casino-logo {
    width: 200px;
    height: 140px;
    border-radius: 18px;
}

.casino-name {
    font-size: 1.4em;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.casino-promotion {
    font-weight: 600;
    color: #FFD700;
    margin-bottom: 20px;
    font-size: 1.1em;
    line-height: 1.4;
    padding: 0 10px;
}

.stars {
    color: #ffd700;
    margin-bottom: 12px;
    font-size: 1.1em;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.casino-button {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.9em;
    margin: 0;
    position: relative; /* Eklendi */
    overflow: hidden; /* Eklendi */
    animation: glowPulse 2s infinite; /* Eklendi */
}

/* Yeni eklenen glow animasyonu */
@keyframes glowPulse {
    0% {
        box-shadow: 0 0 5px var(--primary-color),
                    0 0 10px var(--primary-color),
                    0 0 15px var(--secondary-color);
    }
    50% {
        box-shadow: 0 0 10px var(--primary-color),
                    0 0 20px var(--primary-color),
                    0 0 25px var(--secondary-color);
    }
    100% {
        box-shadow: 0 0 5px var(--primary-color),
                    0 0 10px var(--primary-color),
                    0 0 15px var(--secondary-color);
    }
}

.casino-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(91, 83, 210, 0.1),
        transparent,
        rgba(255, 105, 180, 0.2),
        transparent
    );
    animation: glowRotate 3s linear infinite;
    z-index: 1;
}

@keyframes glowRotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.casino-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px var(--primary-color),
                0 0 30px var(--secondary-color),
                0 0 45px var(--secondary-color);
    animation: none; /* Hover durumunda ana animasyonu durdur */
}

.casino-button:hover::before {
    animation-duration: 1.5s; /* Hover durumunda dönen efekti hızlandır */
}


/* Footer Styles */
.footer {
    text-align: center;
    padding: 30px 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    margin-top: 30px;
}

.footer-logo img {
    max-width: 120px;
    margin-bottom: 15px;
    border-radius: 50%;
}

.footer-text {
    color: #e0e0e0;
    font-size: 1em;
    margin-bottom: 15px;
}

.license img {
    max-width: 80px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.license img:hover {
    opacity: 1;
}

/* Social Media Buttons */
.social-media-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    text-decoration: none;
    transition: all 0.4s ease;
    overflow: hidden;
    animation: socialGlow 3s infinite;
}

.social-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

.social-button::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--dark-blue), var(--dark));
    z-index: 1;
}

.social-button i {
    font-size: 22px;
    position: relative;
    z-index: 2;
    background: linear-gradient(45deg, #fff, #e0e0e0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

@keyframes socialGlow {
    0%, 100% {
        box-shadow: 
            0 0 5px var(--primary-color),
            0 0 10px var(--primary-color),
            0 0 20px var(--secondary-color);
    }
    50% {
        box-shadow: 
            0 0 10px var(--primary-color),
            0 0 20px var(--primary-color),
            0 0 30px var(--secondary-color);
    }
}

@keyframes shine {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.social-button:hover {
    transform: translateY(-5px) scale(1.1);
    animation: socialGlowHover 1.5s infinite;
}

@keyframes socialGlowHover {
    0%, 100% {
        box-shadow: 
            0 0 15px var(--primary-color),
            0 0 30px var(--primary-color),
            0 0 45px var(--secondary-color);
    }
    50% {
        box-shadow: 
            0 0 20px var(--primary-color),
            0 0 40px var(--primary-color),
            0 0 60px var(--secondary-color);
    }
}

.social-button:hover i {
    transform: scale(1.2);
    background: linear-gradient(45deg, #ffffff, var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Responsive tasarım için medya sorguları */
@media (max-width: 768px) {
    .social-button {
        width: 45px;
        height: 45px;
    }
    
    .social-button i {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .social-button {
        width: 40px;
        height: 40px;
    }
    
    .social-button i {
        font-size: 18px;
    }
}


/* ==========================================
   ENHANCED RESPONSIVE DESIGN + MOBILE UX
   ========================================== */

/* Global Mobile-First Variables */
@media (max-width: 1024px) {
    :root {
        --container-padding: 15px;
        --card-padding: 18px;
        --section-spacing: 25px;
    }
}

@media (max-width: 768px) {
    /* Mobil Body Ayarları - Başlangıçta margin yok */
    body {
        margin-left: 0 !important;
        padding-top: 70px !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        transition: margin-left 0.3s ease !important;
    }
    
    /* Mobil Sidebar Açık Durumu */
    body.mobile-sidebar-open {
        margin-left: 70px !important;
    }
    
    /* Normal sidebar'ı mobilde tamamen gizle */
    .sidebar {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        transform: translateX(-100%) !important;
        position: fixed !important;
        left: -300px !important;
        z-index: -1 !important;
        pointer-events: none !important;
    }
    
    /* Normal sidebar'ın tüm durumlarını gizle */
    .sidebar.mini-mode,
    .sidebar.mobile-open,
    .sidebar.collapsed,
    .sidebar.active {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        transform: translateX(-100%) !important;
        position: fixed !important;
        left: -300px !important;
        z-index: -1 !important;
        pointer-events: none !important;
    }
    
    /* Eski mini sidebar'ı da gizle */
    .mini-sidebar {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        transform: translateX(-100%) !important;
        position: fixed !important;
        left: -300px !important;
        z-index: -1 !important;
        pointer-events: none !important;
    }
    
    /* YENİ MOBİL SIDEBAR - Başlangıçta gizli */
    .mobile-sidebar {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 70px !important;
        height: 100vh !important;
        background: linear-gradient(135deg, rgba(18, 18, 18, 0.98), rgba(26, 35, 126, 0.15)) !important;
        backdrop-filter: blur(20px) !important;
        border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
        z-index: 1001 !important;
        transform: translateX(-100%) !important; /* Başlangıçta gizli */
        transition: transform 0.3s ease !important;
        flex-direction: column !important;
        align-items: center !important;
        padding: 20px 0 !important;
        gap: 15px !important;
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.3) !important;
        overflow-y: auto !important;
    }
    
    /* Mobil sidebar açık durumu */
    .mobile-sidebar.active {
        transform: translateX(0) !important;
    }
    
    
    /* Mobil sidebar navigation items */
    .mobile-nav-item {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 45px !important;
        height: 45px !important;
        color: rgba(255, 255, 255, 0.8) !important;
        text-decoration: none !important;
        border-radius: 12px !important;
        transition: all 0.3s ease !important;
        position: relative !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    .mobile-nav-item:hover {
        background: rgba(255, 255, 255, 0.15) !important;
        color: white !important;
        transform: scale(1.05) !important;
        border-color: var(--primary-color) !important;
    }

    .mobile-nav-item.active {
        background: rgba(91, 83, 210, 0.3) !important;
        color: white !important;
        border-color: var(--primary-color) !important;
        box-shadow: 0 0 15px rgba(91, 83, 210, 0.4) !important;
    }

    .mobile-nav-item i {
        font-size: 18px !important;
    }
    
    /* Container mobile adjustment */
    .container {
        margin-left: 0 !important;
        max-width: 100vw !important;
        width: 100% !important;
        padding: 8px !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
        transition: none !important;
    }
    
    /* Header container mobile */
    .header-container {
        padding: 0 10px !important;
        margin-left: 0 !important;
        max-width: 100vw !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }
    
    /* Main header mobile */
    .main-header {
        left: 0 !important;
        right: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        overflow: hidden !important;
    }
    
    /* Header left section */
    .header-left {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        flex-shrink: 0 !important;
    }
    
    /* Sidebar toggle header mobile */
    .sidebar-toggle-header {
        display: flex !important;
        width: 40px !important;
        height: 40px !important;
        font-size: 18px !important;
        padding: 8px !important;
    }
    
    /* Header right section - responsive layout */
    .header-right {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        flex-shrink: 1 !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }
    
    /* Coin display mobile */
    .coin-section {
        margin-right: 8px !important;
        flex-shrink: 0 !important;
    }
    
    .coin-display {
        padding: 6px 10px !important;
        min-width: 70px !important;
        max-width: 100px !important;
        border-radius: 20px !important;
    }
    
    .coin-amount {
        font-size: 0.9rem !important;
    }
    
    .coin-label {
        font-size: 0.6rem !important;
    }
    
    .spinning-coin {
        font-size: 1.1rem !important;
    }
    
    /* Message/notification section mobile */
    .message-notification-section {
        margin-right: 8px !important;
        display: flex !important;
        gap: 8px !important;
        flex-shrink: 0 !important;
    }
    
    .message-icon,
    .notification-icon {
        width: 35px !important;
        height: 35px !important;
    }
    
    .message-icon i,
    .notification-icon i {
        font-size: 14px !important;
    }
    
    .notification-badge {
        width: 18px !important;
        height: 18px !important;
        font-size: 10px !important;
        top: -3px !important;
        right: -3px !important;
    }
    
    /* Auth section mobile */
    .auth-section {
        margin-right: 0 !important;
        flex-shrink: 1 !important;
        min-width: 0 !important;
    }
    
    /* User profile mobile */
    .user-profile {
        padding: 6px 12px !important;
        min-width: 0 !important;
        max-width: 120px !important;
        border-radius: 20px !important;
    }
    
    .user-avatar {
        width: 28px !important;
        height: 28px !important;
    }
    
    .user-name {
        font-size: 12px !important;
        max-width: 60px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }
    
    /* Login button mobile */
    .login-btn {
        padding: 8px 16px !important;
        font-size: 14px !important;
        min-height: 36px !important;
        border-radius: 18px !important;
    }
    
    .login-btn span {
        display: none !important; /* Sadece icon göster */
    }
    
    /* User dropdown mobile position - FIXED */
    .user-dropdown {
        position: fixed !important;
        top: 65px !important;
        right: 10px !important;
        left: auto !important;
        min-width: 150px !important;
        max-width: 180px !important;
        border-radius: 12px !important;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8) !important;
        z-index: 99999 !important;
        transform: none !important;
        margin-top: 0 !important;
    }

    .user-dropdown a {
        padding: 14px 16px !important;
        font-size: 14px !important;
        min-height: 44px !important;
        border-radius: 8px !important;
    }
    /* User dropdown mobile position */
    .user-dropdown {
        right: -5px !important;
        min-width: 150px !important;
        max-width: 180px !important;
        border-radius: 12px !important;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8) !important;
        z-index: 99999 !important;
    }

    .user-dropdown a {
        padding: 14px 16px !important;
        font-size: 14px !important;
        min-height: 44px !important;
        border-radius: 8px !important;
    }
    
    /* Mobile sidebar bottom container */
    .mobile-sidebar-bottom-container {
        margin-top: auto !important;
        padding: 15px 0 25px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
    }
    
    /* Mobile sidebar social */
    .mobile-sidebar-social {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        align-items: center !important;
    }

    .mobile-social-item {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 32px !important;
        height: 32px !important;
        background: rgba(255, 255, 255, 0.1) !important;
        color: rgba(255, 255, 255, 0.8) !important;
        text-decoration: none !important;
        border-radius: 50% !important;
        transition: all 0.3s ease !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    .mobile-social-item:hover {
        background: var(--primary-color) !important;
        color: white !important;
        transform: scale(1.1) !important;
        border-color: var(--primary-color) !important;
    }

    .mobile-social-item i {
        font-size: 12px !important;
    }
    
    /* Mobile sidebar promo button */
    .mobile-sidebar-promo {
        margin-bottom: 8px !important;
        padding: 0 !important;
    }

    .mobile-promo-btn {
        width: 32px !important;
        height: 32px !important;
        border: none !important;
        border-radius: 50% !important;
        background: linear-gradient(135deg, #ff6b6b, #ffa500) !important;
        color: white !important;
        font-size: 0.9rem !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative !important;
        overflow: hidden !important;
    }

    .mobile-promo-btn:hover {
        transform: scale(1.1) !important;
        box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4) !important;
    }
}

/* Global Mobile-First Variables */
@media (max-width: 1024px) {
    :root {
        --container-padding: 15px;
        --card-padding: 18px;
        --section-spacing: 25px;
    }
    
    /* Better Social Media Buttons */
    .social-button {
        width: 50px;
        height: 50px;
        min-width: 50px;
        min-height: 50px;
    }
}

/* Tablet Portrait (768px and below) */
@media (max-width: 768px) {
    /* Enhanced Grid Layout */
    .casino-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 18px;
        padding: var(--section-spacing) 0;
        justify-content: center;
    }
    
    /* Normal Design Cards - Tablet Responsive SABİT BOYUT */
    .casino-grid:has(.normal-card) {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
        gap: 15px !important;
        max-width: 1000px !important;
    }
    
    .normal-card {
        height: 200px !important; /* SABİT YÜKSEKLİK */
        max-width: 260px !important;
        padding: 12px 10px !important;
    }
    
    .normal-card .casino-logo {
        width: 100px !important;
        height: 60px !important;
        margin-bottom: 8px !important;
    }
    
    .normal-card .casino-name {
        font-size: 1em !important;
        margin-bottom: 6px !important;
        max-height: 2.4em !important;
        -webkit-line-clamp: 2 !important;
    }
    
    .normal-card .casino-display-name {
        font-size: 0.9em !important;
        max-height: 1.2em !important;
        -webkit-line-clamp: 1 !important;
    }
    
    .normal-card .casino-button {
        padding: 6px 12px !important;
        font-size: 0.8em !important;
        min-height: 32px !important;
    }
    
    .casino-card {
        min-height: 300px;
        padding: var(--card-padding);
        border-radius: 16px;
        /* Prevent content overflow */
        overflow: hidden;
        word-wrap: break-word;
        hyphens: auto;
    }

    .casino-logo {
        width: 150px;
        height: 90px;
        margin-bottom: 12px;
        object-fit: contain;
    }

    .casino-section:first-of-type .casino-logo {
        width: 170px;
        height: 110px;
    }

    /* Typography Adjustments */
    .casino-name {
        font-size: 1.2em;
        line-height: 1.3;
        margin-bottom: 10px;
        word-break: break-word;
    }
    
    .casino-promotion {
        font-size: 1em;
        line-height: 1.4;
        margin-bottom: 15px;
        padding: 0 8px;
    }

    .section-title {
        font-size: 1.8em;
        margin-bottom: 18px;
        line-height: 1.2;
    }

    /* Enhanced Button Design */
    .casino-button {
        min-height: var(--touch-target-size);
        padding: 12px 20px;
        font-size: 0.9em;
        font-weight: 600;
        border-radius: 22px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }
    
    .casino-button:active {
        transform: scale(0.98);
    }

    /* Header Improvements */
    .header {
        margin-bottom: var(--section-spacing);
        padding: 18px var(--container-padding);
        border-radius: 12px;
    }

    .logo img {
        max-width: 160px;
        height: auto;
    }

    .site-description {
        font-size: 1em;
        line-height: 1.5;
        margin: 8px 0;
    }

    /* Footer Enhancements */
    .footer {
        padding: 25px var(--container-padding);
        margin-top: var(--section-spacing);
        border-radius: 12px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-left {
        flex-direction: column;
        gap: 12px;
    }

    .footer-right {
        align-items: center;
    }

    /* Social Media Grid */
    .social-media-buttons {
        gap: 15px;
        margin-top: 15px;
        justify-content: center;
    }

    .social-button {
        width: 46px;
        height: 46px;
        min-width: 46px;
        min-height: 46px;
    }

    .social-button i {
        font-size: 20px;
    }

    /* Navigation Improvements */
    .main-navigation {
        margin-bottom: 18px;
        border-radius: 12px;
        padding: 0;
        overflow: hidden;
    }

    .nav-container {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    .nav-buttons {
        justify-content: center;
        flex-wrap: wrap;
        order: 2;
        gap: 12px;
        width: 100%;
    }

    .nav-btn {
        min-height: var(--touch-target-size);
        padding: 12px 18px;
        font-size: 14px;
        border-radius: 12px;
        transition: all 0.3s ease;
        white-space: nowrap;
    }

    .auth-section {
        order: 1;
        margin-left: 0;
        justify-content: center;
    }

    .login-btn {
        min-height: var(--touch-target-size);
        padding: 12px 24px;
        font-size: 15px;
        border-radius: 22px;
    }

    /* User Profile Mobile */
    .user-profile {
        min-height: var(--touch-target-size);
        padding: 8px 16px;
        border-radius: 22px;
    }

    .user-avatar {
        width: 30px;
        height: 30px;
    }

    .user-name {
        font-size: 13px;
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* Dropdown Adjustments */
    .user-dropdown {
        right: -10px !important;
        min-width: 180px !important;
        border-radius: 12px !important;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.8) !important;
    }

    .user-dropdown a {
        padding: 16px 20px !important;
        font-size: 15px !important;
        min-height: var(--touch-target-size);
        border-radius: 8px !important;
    }

    /* Ads Mobile Adjustments */
    .left-ads,
    .right-ads {
        display: none;
    }

    .bottom-ads {
        left: 0;
        right: 0;
        padding: 8px 0;
    }

    .bottom-ad-container {
        flex-direction: column;
        gap: 12px;
        padding: 0 var(--container-padding);
    }

    .bottom-ad-container .ad-item {
        width: 100%;
        max-width: 100%;
        padding: 15px 20px;
        border-radius: 12px;
        min-height: 80px;
        gap: 15px;
    }

    .bottom-ad-container .ad-logo {
        width: 100px;
        height: 50px;
    }

    .bottom-ad-container .ad-name {
        font-size: 15px;
    }

    .bottom-ad-container .ad-description {
        font-size: 18px;
    }

    .bottom-ad-container .casino-button {
        padding: 10px 18px;
        font-size: 13px;
        min-height: 40px;
    }
}

/* Large Mobile / Small Tablet (600px and below) */
@media (max-width: 600px) {
    .casino-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 15px;
        padding: var(--section-spacing) 0;
    }
    
    /* Normal Design Cards - Large Mobile (2 Kart Yan Yana KARE TASARIM) */
    .casino-grid:has(.normal-card) {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        max-width: 100% !important;
    }
    
    .normal-card {
        aspect-ratio: 1 / 1 !important; /* KARE TASARIM */
        height: auto !important;
        padding: 12px 10px !important;
        max-width: none !important;
        border-radius: 12px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important; /* Değiştirildi: space-between -> flex-start */
    }
    
    .normal-card .casino-logo {
        width: 80px !important;
        height: 50px !important;
        margin-bottom: 8px !important;
        flex-shrink: 0 !important;
    }
    
    .normal-card .casino-name {
        font-size: 0.8em !important; /* Font size biraz küçültüldü */
        margin-bottom: 4px !important;
        line-height: 1.1 !important;
        text-align: center !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
        overflow: visible !important; /* DEĞIŞIKLIK: gizleme kaldırıldı */
        text-overflow: clip !important; /* DEĞIŞIKLIK: ellipsis kaldırıldı */
        display: block !important; /* DEĞIŞIKLIK: webkit-box kaldırıldı */
        -webkit-line-clamp: none !important; /* DEĞIŞIKLIK: satır sınırı kaldırıldı */
        -webkit-box-orient: initial !important;
        max-height: none !important; /* DEĞIŞIKLIK: yükseklik sınırı kaldırıldı */
        min-height: auto !important;
        white-space: normal !important;
        flex-grow: 1 !important;
        flex-shrink: 1 !important;
    }
    
    .normal-card .casino-display-name {
        font-size: 0.75em !important;
        margin-bottom: 6px !important;
        text-align: center !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
        overflow: visible !important; /* DEĞIŞIKLIK: gizleme kaldırıldı */
        text-overflow: clip !important; /* DEĞIŞIKLIK: ellipsis kaldırıldı */
        display: block !important; /* DEĞIŞIKLIK: webkit-box kaldırıldı */
        -webkit-line-clamp: none !important; /* DEĞIŞIKLIK: satır sınırı kaldırıldı */
        -webkit-box-orient: initial !important;
        max-height: none !important; /* DEĞIŞIKLIK: yükseklik sınırı kaldırıldı */
        min-height: auto !important;
        white-space: normal !important;
        flex-shrink: 1 !important;
    }
    
    .normal-card .casino-button {
        padding: 6px 10px !important;
        font-size: 0.7em !important;
        min-height: 28px !important;
        border-radius: 10px !important;
        margin-top: auto !important;
        flex-shrink: 0 !important;
    }
    
    .casino-card {
        min-height: 280px;
        padding: var(--card-padding);
        border-radius: 14px;
    }

    .casino-logo {
        width: 140px;
        height: 85px;
    }

    .casino-section:first-of-type .casino-logo {
        width: 160px;
        height: 105px;
    }

    /* Typography */
    .section-title {
        font-size: 1.7em;
        margin-bottom: 16px;
    }

    .casino-name {
        font-size: 1.15em;
    }

    .casino-promotion {
        font-size: 0.95em;
    }

    /* Button Adjustments */
    .casino-button {
        padding: 10px 18px;
        font-size: 0.85em;
        min-height: 42px;
    }

    /* Navigation */
    .nav-btn {
        padding: 10px 16px;
        font-size: 13px;
        min-height: 42px;
    }

    /* Header */
    .header {
        padding: 16px var(--container-padding);
    }

    .logo img {
        max-width: 150px;
    }
}

/* Mobile Portrait (480px and below) */
@media (max-width: 480px) {
    /* Enhanced Container */
    .container {
        padding: var(--container-padding);
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    /* Single Column Layout */
    .casino-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: var(--section-spacing) 0;
        width: 100%;
    }
    
    .casino-card {
        min-height: 280px;
        padding: var(--card-padding);
        margin: 0;
        width: 100%;
        max-width: 100%;
        border-radius: 12px;
        box-sizing: border-box;
    }

    /* Logo Sizing */
    .casino-logo {
        width: 130px;
        height: 75px;
        margin-bottom: 10px;
        object-fit: contain;
    }
    
    .casino-section:first-of-type .casino-logo {
        width: 150px;
        height: 95px;
    }

    /* Typography Mobile */
    .casino-name {
        font-size: 1.1em;
        line-height: 1.2;
        margin-bottom: 8px;
        word-break: break-word;
        overflow-wrap: break-word;
    }
    
    .casino-promotion {
        font-size: 0.9em;
        line-height: 1.3;
        margin-bottom: 12px;
        padding: 0 5px;
    }

    .section-title {
        font-size: 1.5em;
        margin-bottom: 15px;
        line-height: 1.1;
        text-align: center;
        padding: 0 10px;
        word-break: break-word;
    }

    /* Enhanced Buttons */
    .casino-button {
        padding: 12px 20px;
        font-size: 0.8em;
        min-height: var(--touch-target-size);
        border-radius: 24px;
        font-weight: 600;
        width: auto;
        max-width: 200px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Enhanced Header */
    .header {
        margin-bottom: var(--section-spacing);
        padding: 15px var(--container-padding);
        border-radius: 10px;
        text-align: center;
    }

    .logo img {
        max-width: 140px;
        height: auto;
    }

    .site-description {
        font-size: 0.9em;
        line-height: 1.4;
        margin: 8px 0;
        padding: 0 10px;
    }

    /* Enhanced Navigation */
    .nav-container {
        padding: 12px;
        gap: 12px;
    }

    .nav-buttons {
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }

    .nav-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 16px;
        font-size: 14px;
        min-height: var(--touch-target-size);
        border-radius: 12px;
        font-weight: 500;
    }

    .nav-btn span {
        display: inline-block;
    }

    /* Auth Section */
    .login-btn {
        min-height: var(--touch-target-size);
        padding: 12px 24px;
        font-size: 14px;
        border-radius: 24px;
        font-weight: 600;
    }

    .user-profile {
        min-height: var(--touch-target-size);
        padding: 8px 16px;
        border-radius: 24px;
    }

    .user-name {
        display: none; /* Hide on very small screens */
    }

    /* Normal Design Cards - Mobile 480px (2 Kart Yan Yana KARE TASARIM) */
    .casino-grid:has(.normal-card) {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px !important;
        padding: var(--section-spacing) 0 !important;
    }
    
    .normal-card {
        aspect-ratio: 1 / 1 !important; /* KARE TASARIM */
        height: auto !important;
        padding: 10px 8px !important;
        border-radius: 10px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important; /* Değiştirildi: space-between -> flex-start */
    }
    
    .normal-card .casino-logo {
        width: 70px !important;
        height: 40px !important;
        margin-bottom: 6px !important;
        flex-shrink: 0 !important;
    }
    
    .normal-card .casino-name {
        font-size: 0.75em !important; /* Font size biraz küçültüldü */
        margin-bottom: 4px !important;
        line-height: 1.1 !important;
        text-align: center !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
        overflow: visible !important; /* DEĞIŞIKLIK: gizleme kaldırıldı */
        text-overflow: clip !important; /* DEĞIŞIKLIK: ellipsis kaldırıldı */
        display: block !important; /* DEĞIŞIKLIK: webkit-box kaldırıldı */
        -webkit-line-clamp: none !important; /* DEĞIŞIKLIK: satır sınırı kaldırıldı */
        -webkit-box-orient: initial !important;
        max-height: none !important; /* DEĞIŞIKLIK: yükseklik sınırı kaldırıldı */
        min-height: auto !important;
        white-space: normal !important;
        flex-grow: 1 !important;
        flex-shrink: 1 !important;
    }
    
    .normal-card .casino-display-name {
        font-size: 0.65em !important;
        margin-bottom: 5px !important;
        text-align: center !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
        overflow: visible !important; /* DEĞIŞIKLIK: gizleme kaldırıldı */
        text-overflow: clip !important; /* DEĞIŞIKLIK: ellipsis kaldırıldı */
        display: block !important; /* DEĞIŞIKLIK: webkit-box kaldırıldı */
        -webkit-line-clamp: none !important; /* DEĞIŞIKLIK: satır sınırı kaldırıldı */
        -webkit-box-orient: initial !important;
        max-height: none !important; /* DEĞIŞIKLIK: yükseklik sınırı kaldırıldı */
        min-height: auto !important;
        white-space: normal !important;
        flex-shrink: 1 !important;
    }
    
    .normal-card .casino-button {
        padding: 5px 8px !important;
        font-size: 0.6em !important;
        min-height: 26px !important;
        border-radius: 8px !important;
        margin-top: auto !important;
        flex-shrink: 0 !important;
    }

    /* Enhanced Footer */
    .footer {
        padding: 20px var(--container-padding);
        margin-top: var(--section-spacing);
        border-radius: 10px;
    }

    .footer-content {
        gap: 15px;
    }

    .footer-logo img {
        width: 50px;
        height: 50px;
    }

    .brand-name {
        font-size: 18px;
    }

    .footer-text {
        font-size: 14px;
        line-height: 1.4;
        padding: 0 10px;
    }

    .copyright {
        font-size: 12px;
    }

    /* Social Media Mobile */
    .social-media-buttons {
        gap: 12px;
        margin-top: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .social-button {
        width: 42px;
        height: 42px;
        min-width: 42px;
        min-height: 42px;
    }

    .social-button i {
        font-size: 18px;
    }

    /* Bottom Ads Mobile */
    .bottom-ad-container .ad-item {
        padding: 12px 15px;
        gap: 10px;
        min-height: 70px;
        border-radius: 10px;
    }

    .bottom-ad-container .ad-logo {
        width: 80px;
        height: 40px;
    }

    .bottom-ad-container .ad-content {
        max-width: 200px;
    }

    .bottom-ad-container .ad-name {
        font-size: 13px;
    }

    .bottom-ad-container .ad-description {
        font-size: 16px;
    }

    .bottom-ad-container .casino-button {
        padding: 8px 14px;
        font-size: 12px;
        min-height: 36px;
        border-radius: 18px;
    }
}

/* Extra Small Mobile (360px and below) */
@media (max-width: 360px) {
    .container {
        padding: 8px;
    }

    .casino-card {
        padding: 10px;
        min-height: 260px;
    }

    .casino-logo {
        width: 120px;
        height: 70px;
    }

    .casino-section:first-of-type .casino-logo {
        width: 140px;
        height: 85px;
    }

    .casino-name {
        font-size: 1em;
    }

    .casino-promotion {
        font-size: 0.85em;
    }

    .section-title {
        font-size: 1.4em;
    }

    .casino-button {
        padding: 10px 16px;
        font-size: 0.75em;
        min-height: 44px;
    }

    /* Normal Design Cards - Ultra Compact 360px altı KARE TASARIM */
    .normal-card {
        aspect-ratio: 1 / 1 !important; /* KARE TASARIM */
        height: auto !important;
        padding: 8px 6px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important; /* Değiştirildi: space-between -> flex-start */
    }
    
    .normal-card .casino-logo {
        width: 60px !important;
        height: 35px !important;
        margin-bottom: 5px !important;
        flex-shrink: 0 !important;
    }

    .normal-card .casino-name {
        font-size: 0.7em !important;
        margin-bottom: 4px !important;
        line-height: 1.2 !important;
        text-align: center !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
        overflow: visible !important; /* DEĞIŞIKLIK: gizleme kaldırıldı */
        text-overflow: clip !important; /* DEĞIŞIKLIK: ellipsis kaldırıldı */
        display: block !important; /* DEĞIŞIKLIK: webkit-box kaldırıldı */
        -webkit-line-clamp: none !important; /* DEĞIŞIKLIK: satır sınırı kaldırıldı */
        -webkit-box-orient: initial !important;
        max-height: none !important; /* DEĞIŞIKLIK: yükseklik sınırı kaldırıldı */
        min-height: auto !important;
        white-space: normal !important;
        flex-grow: 1 !important;
        flex-shrink: 1 !important;
    }
    
    .normal-card .casino-display-name {
        font-size: 0.6em !important;
        margin-bottom: 5px !important;
        text-align: center !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
        overflow: visible !important; /* DEĞIŞIKLIK: gizleme kaldırıldı */
        text-overflow: clip !important; /* DEĞIŞIKLIK: ellipsis kaldırıldı */
        display: block !important; /* DEĞIŞIKLIK: webkit-box kaldırıldı */
        -webkit-line-clamp: none !important; /* DEĞIŞIKLIK: satır sınırı kaldırıldı */
        -webkit-box-orient: initial !important;
        max-height: none !important; /* DEĞIŞIKLIK: yükseklik sınırı kaldırıldı */
        min-height: auto !important;
        white-space: normal !important;
        flex-shrink: 1 !important;
    }

    .normal-card .casino-button {
        padding: 5px 8px !important;
        font-size: 0.6em !important;
        min-height: 24px !important;
        border-radius: 8px !important;
        margin-top: auto !important;
        flex-shrink: 0 !important;
    }

    /* Normal Casino Ultra Compact */
    .casino-section:nth-of-type(2) .casino-logo {
        width: 60px;
        height: 40px;
    }

    .casino-section:nth-of-type(2) .casino-name {
        font-size: 0.7em;
    }

    .casino-section:nth-of-type(2) .casino-button {
        padding: 5px 8px;
        font-size: 0.65em;
        min-height: 28px;
    }
}

/* Landscape Phone Support */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .header {
        padding: 10px var(--container-padding);
        margin-bottom: 15px;
    }

    .logo img {
        max-width: 120px;
    }

    .section-title {
        font-size: 1.3em;
        margin-bottom: 12px;
    }

    .casino-card {
        min-height: 240px;
        padding: 12px;
    }

    .casino-logo {
        width: 110px;
        height: 65px;
    }

    .nav-container {
        padding: 10px;
    }

    .nav-btn {
        padding: 8px 12px;
        font-size: 13px;
        min-height: 36px;
    }
}

/* High DPI / Retina Display Support */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .casino-logo,
    .logo img,
    .footer-logo img,
    .sidebar-designer-logo img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Accessibility Enhancements for Mobile */
@media (max-width: 768px) {
    /* Enhanced focus states for mobile */
    .casino-button:focus,
    .nav-btn:focus,
    .login-btn:focus,
    .social-button:focus {
        outline: 3px solid var(--secondary-color);
        outline-offset: 2px;
    }

    /* Remove focus styles for touch users */
    .casino-button:focus:not(:focus-visible),
    .nav-btn:focus:not(:focus-visible),
    .login-btn:focus:not(:focus-visible),
    .social-button:focus:not(:focus-visible) {
        outline: none;
    }

    /* Improved tap targets */
    .casino-button,
    .nav-btn,
    .login-btn,
    .social-button {
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0.1);
        tap-highlight-color: rgba(255, 255, 255, 0.1);
    }
}

/* Navigation Ripple Effect Animation */
@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.nav-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple 0.6s ease-out;
    pointer-events: none;
    z-index: 1;
}

/* Enhanced Mobile Device Support */
.mobile-device .casino-card,
.mobile-device .nav-btn,
.mobile-device .casino-button {
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.1);
    tap-highlight-color: rgba(255, 255, 255, 0.1);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Tablet Device Optimizations */
.tablet-device .casino-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.tablet-device .casino-card {
    min-height: 320px;
    padding: 20px;
}


/* Enhanced Global Mobile Fixes */
@media (max-width: 768px) {
    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
    
    /* Prevent content overflow */
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Enhanced container mobile behavior */
    .container {
        width: 100%;
        max-width: 100%;
        margin: 0;
        overflow-x: hidden;
    }
    
    /* Improved image responsiveness */
    img {
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }
    
    /* Better text wrapping */
    h1, h2, h3, h4, h5, h6, p, span, div {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
}

/* Mobile Navigation Enhancements */
@media (max-width: 768px) {
    .main-navigation {
        position: sticky;
        top: 0;
        z-index: 1000;
        margin-bottom: var(--section-spacing);
        border-radius: 0 0 15px 15px;
    }
    
    .nav-container {
        padding: 12px 15px;
        gap: 12px;
    }
    
    .nav-buttons {
        width: 100%;
        justify-content: center;
        order: 2;
    }
    
    .nav-btn {
        min-height: 44px;
        padding: 12px 16px;
        font-size: 14px;
        border-radius: 12px;
        font-weight: 500;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .auth-section {
        order: 1;
        margin-left: 0;
        justify-content: center;
    }
    
    .login-btn {
        min-height: 44px;
        padding: 12px 20px;
        font-size: 15px;
        border-radius: 22px;
        font-weight: 600;
    }
    
    .user-profile {
        min-height: 44px;
        padding: 8px 16px;
        border-radius: 22px;
    }
}

/* Enhanced Mobile Casino Grid */
@media (max-width: 768px) {
    .casino-grid {
        padding: 0;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    .casino-card {
        margin: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    /* VIP Section mobile optimization */
    .casino-section:first-of-type .casino-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0;
    }
    
    .casino-section:first-of-type .casino-card {
        min-height: 300px;
        padding: 20px 15px;
    }
    
    /* Normal Section mobile optimization */
    .casino-section:nth-of-type(2) .casino-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0;
    }
    
    .casino-section:nth-of-type(2) .casino-card {
        min-height: auto;
        padding: 10px 8px;
        border-radius: 12px;
    }
    
    .casino-section:nth-of-type(2) .casino-logo {
        width: 80px;
        height: 50px;
        margin-bottom: 8px;
    }
    
    .casino-section:nth-of-type(2) .casino-name {
        font-size: 0.8em;
        margin-bottom: 6px;
        line-height: 1.2;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    
    .casino-section:nth-of-type(2) .casino-button {
        padding: 8px 12px;
        font-size: 0.75em;
        min-height: 36px;
        border-radius: 18px;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* Mobile Content Overflow Prevention */
@media (max-width: 480px) {
    /* Ultra-strict overflow prevention */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }
    
    .container {
        padding: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        overflow: hidden !important;
    }
    
    /* Force all elements to respect container bounds */
    * {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Enhanced text handling */
    .casino-name,
    .casino-promotion,
    .section-title {
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
        max-width: 100% !important;
    }
    
    /* Prevent button overflow */
    .casino-button,
    .nav-btn,
    .login-btn {
        max-width: 100% !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        box-sizing: border-box !important;
    }
    
    /* Enhanced casino cards for very small screens */
    .casino-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 12px 10px !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }
    
    /* Grid adjustments for ultra-small screens */
    .casino-grid {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }
    
    /* Normal casino section ultra-compact - 480px altı */
    .casino-section:nth-of-type(2) .casino-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 4px !important;
    }
    
    .casino-section:nth-of-type(2) .casino-card {
        padding: 4px 3px !important;
        min-height: auto !important;
        border-radius: 8px !important;
    }
    
    .casino-section:nth-of-type(2) .casino-logo {
        width: 60px !important;
        height: 35px !important;
        margin-bottom: 4px !important;
    }
    
    .casino-section:nth-of-type(2) .casino-name {
        font-size: 0.7em !important;
        line-height: 1.1 !important;
        margin-bottom: 4px !important;
        max-height: 2.2em !important;
        overflow: hidden !important;
    }
    
    .casino-section:nth-of-type(2) .casino-button {
        padding: 4px 8px !important;
        font-size: 0.65em !important;
        min-height: 28px !important;
        border-radius: 14px !important;
        margin: 0 !important;
    }
}

/* iOS Safari Specific Enhancements */
@supports (-webkit-touch-callout: none) {
    /* iOS viewport height fix */
    body {
        min-height: -webkit-fill-available;
    }
    
    .container {
        min-height: -webkit-fill-available;
    }
    
    /* iOS input zoom prevention */
    input, select, textarea {
        font-size: 16px !important;
        transform-origin: left top;
        transform: scale(1);
    }
    
    /* iOS scroll momentum */
    .casino-grid,
    .nav-container,
    .message-list,
    .notification-list {
        -webkit-overflow-scrolling: touch;
    }
    
    /* iOS Safari bottom padding for home indicator */
    .footer {
        padding-bottom: max(30px, env(safe-area-inset-bottom)) !important;
    }
    
    /* iOS keyboard handling */
    .modal-content,
    .auth-container {
        max-height: calc(100vh - env(keyboard-inset-height, 0px)) !important;
    }
}

/* Android Chrome Optimizations */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    /* Android viewport fixes */
    .container {
        width: 100vw;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    /* Android scroll performance */
    .casino-grid {
        transform: translateZ(0);
        will-change: scroll-position;
    }
    
    /* Android keyboard handling */
    @media (max-height: 500px) {
        .modal-content {
            max-height: 90vh;
            overflow-y: auto;
        }
        
        .auth-container {
            padding: 20px 15px;
        }
    }
}

/* Enhanced Touch Target Optimization */
@media (max-width: 768px) {
    /* Minimum touch target sizes */
    .casino-button,
    .nav-btn,
    .login-btn,
    .social-button,
    .close,
    .modal-close,
    .copy-btn {
        min-height: 44px !important;
        min-width: 44px !important;
        padding: 12px 16px !important;
        touch-action: manipulation !important;
    }
    
    /* Enhanced button feedback */
    .casino-button:active,
    .nav-btn:active,
    .login-btn:active {
        transform: scale(0.97) !important;
        transition: transform 0.1s ease !important;
    }
    
    /* Better spacing for touch */
    .social-media-buttons {
        gap: 12px !important;
        justify-content: center !important;
    }
    
    .social-button {
        width: 48px !important;
        height: 48px !important;
        margin: 4px !important;
    }
}

/* Ultra-wide Screen Prevention on Mobile */
@media (max-width: 768px) and (min-width: 1024px) {
    /* This shouldn't happen but just in case */
    body {
        max-width: 768px !important;
        margin: 0 auto !important;
    }
}

/* High DPI Mobile Displays */
@media (max-width: 768px) and (-webkit-min-device-pixel-ratio: 2) {
    .casino-logo,
    .logo img,
    .footer-logo img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
    
    /* Enhanced font rendering */
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Mobile Performance Optimizations */
@media (max-width: 768px) {
    /* GPU acceleration for animations */
    .casino-card,
    .nav-btn,
    .casino-button,
    .social-button {
        transform: translateZ(0);
        will-change: transform, opacity;
        backface-visibility: hidden;
    }
    
    /* Reduce animation complexity on mobile */
    @media (prefers-reduced-motion: no-preference) {
        .casino-card:hover {
            transform: translateZ(0) translateY(-4px);
        }
        
        .casino-button:hover {
            transform: translateZ(0) scale(1.02);
        }
    }
    
    /* Disable complex animations on low-end devices */
    @media (max-width: 480px) {
        .casino-button,
        .social-button,
        .logo img {
            animation: none !important;
        }
        
        .casino-card::before,
        .casino-button::before {
            display: none !important;
        }
    }
}

/* Enhanced Sidebar Mobile Support */
.sidebar-mobile-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.6) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    z-index: 998 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease !important;
    pointer-events: none !important;
}

.sidebar-mobile-overlay.show {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: all !important;
}

/* Enhanced Sidebar Mobile States */
.sidebar-open {
    overflow: hidden !important;
}

.sidebar-opening .sidebar {
    animation: sidebarSlideIn 0.3s ease-out;
}

.sidebar-closing .sidebar {
    animation: sidebarSlideOut 0.3s ease-out;
}

@keyframes sidebarSlideIn {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes sidebarSlideOut {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

.sidebar.mobile-open {
    transform: translateX(0) !important;
    z-index: 999 !important;
}

/* Enhanced Mobile Touch Optimization */
@media (max-width: 768px) {
    /* Prevent text selection during touch interactions */
    .casino-card,
    .nav-btn,
    .sidebar-nav-item,
    .mini-nav-item {
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
    
    /* Larger touch targets for critical elements */
    .casino-button,
    .nav-btn,
    .login-btn,
    .social-button {
        min-height: 48px;
        min-width: 48px;
    }
    
    /* Improved scroll performance */
    .casino-grid,
    .message-list,
    .notification-list {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
    
    /* Enhanced form elements */
    input, select, textarea {
        font-size: 16px !important; /* Prevent zoom on focus */
        border-radius: 8px;
        padding: 12px 16px;
    }
    
    /* Better button feedback */
    .casino-button:active,
    .nav-btn:active,
    .login-btn:active {
        transform: scale(0.97);
        transition: transform 0.1s ease;
    }
}

/* =============================================
   SIDEBAR SYSTEM STYLES - PC & MOBILE
   ============================================= */

/* Main Header Styles */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    height: 70px;
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 100%;
    max-width: 100%;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sidebar-toggle-header {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 20px;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
}

.sidebar-toggle-header:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: scale(1.05);
}

/* Toggle Button Icon Animation - Enhanced */
.sidebar-toggle-header i {
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Enhanced Toggle Button Animations */
.sidebar-toggle-header {
    transition: all 0.3s ease, transform 0.3s ease !important;
    transform-origin: center !important;
}

/* Icon transformation animations */
.sidebar-toggle-header i.fas {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    transform-origin: center !important;
}

/* Smooth icon transition on change */
.sidebar-toggle-header i.fas.fa-bars {
    transform: rotate(0deg) scale(1) !important;
}

.sidebar-toggle-header i.fas.fa-times {
    transform: rotate(180deg) scale(1.1) !important;
}

/* Button movement animation for mobile */
@media (max-width: 768px) {
    .sidebar-toggle-header {
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        will-change: transform !important;
        transform-origin: center !important;
    }
}

/* Additional smooth transitions for mobile sidebar */
.mobile-sidebar {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    will-change: transform !important;
}

.mobile-sidebar.active {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* When sidebar is active, show close icon */
.mobile-sidebar-active .sidebar-toggle-header i:before {
    content: "\f00d"; /* FontAwesome close icon */
}

/* Alternative: Transform hamburger to X */
.sidebar-toggle-header.active i {
    transform: rotate(90deg);
}

.sidebar-toggle-header.active i:before {
    content: "\f00d"; /* FontAwesome X icon */
}

/* CSS-only hamburger to X animation */
.hamburger-icon {
    position: relative;
    width: 20px;
    height: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hamburger-icon span {
    display: block;
    height: 2px;
    width: 100%;
    background: currentColor;
    border-radius: 1px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger-icon.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-icon.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger-icon.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
}

.header-logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.header-logo-text {
    font-size: 18px;
    font-weight: 600;
    color: white;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Sidebar Styles - NORMAL STATE */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.98), rgba(26, 35, 126, 0.15));
    backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 999;
    transform: translateX(0);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* PC'de kaydırma yok */
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.3);
}

/* Mini Sidebar Styles - NORMAL STATE */
.mini-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 80px;
    height: 100vh;
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.98), rgba(26, 35, 126, 0.15));
    backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 998;
    transform: translateX(-100%);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    gap: 15px;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.3);
    overflow: hidden; /* PC'de kaydırma yok */
}

/* Mini sidebar scroll stilleri */
.mini-sidebar::-webkit-scrollbar {
    width: 4px;
}

.mini-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.mini-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    transition: background 0.3s ease;
}

.mini-sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Sidebar Header */
.sidebar-header {
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.sidebar-logo-text {
    font-size: 20px;
    font-weight: 600;
    color: white;
}

/* Sidebar Navigation */
.sidebar-nav {
    flex: 1;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    overflow: hidden;
    height: calc(100vh - 180px); /* Sabit yükseklik: header ve footer alanı hariç */
}

.sidebar-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-radius: 12px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.sidebar-nav-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
    border-radius: 12px 0 0 12px;
}

.sidebar-nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateX(5px);
}

.sidebar-nav-item:hover::before {
    width: 4px;
}

.sidebar-nav-item.active {
    background: rgba(91, 83, 210, 0.2);
    color: white;
    border: 1px solid rgba(91, 83, 210, 0.3);
}

.sidebar-nav-item.active::before {
    width: 4px;
}

.sidebar-nav-item i {
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.sidebar-nav-item span {
    font-size: 16px;
}

/* Mini Sidebar Navigation */
.mini-nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mini-nav-item:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    transform: scale(1.05);
    border-color: var(--primary-color);
}

.mini-nav-item.active {
    background: rgba(91, 83, 210, 0.3);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(91, 83, 210, 0.4);
}

.mini-nav-item i {
    font-size: 20px;
}

/* Sidebar Bottom Container */
.sidebar-bottom-container {
    margin-top: auto;
    padding: 20px 15px 30px;
}

.mini-sidebar-bottom-container {
    margin-top: auto;
    padding: 20px 0 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/* Sidebar Footer */
.sidebar-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0 0;
}

.sidebar-footer-content {
    text-align: center;
}

.sidebar-footer-title {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
}

.sidebar-social-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.sidebar-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
    border-color: var(--primary-color);
}

.sidebar-social-link i {
    font-size: 16px;
}

/* Mini Sidebar Social */
.mini-sidebar-social {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.mini-social-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mini-social-item:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
    border-color: var(--primary-color);
}

.mini-social-item i {
    font-size: 16px;
}

/* Content Area Adjustments */
body {
    padding-top: 70px; /* Header height */
    margin-left: 280px; /* Sidebar width */
    transition: margin-left 0.3s ease;
}

/* PC Sidebar States */
.mini-sidebar-active .sidebar {
    transform: translateX(-100%);
}

.mini-sidebar-active .mini-sidebar {
    transform: translateX(0);
}

.mini-sidebar-active body {
    margin-left: 80px; /* Mini sidebar width */
}

/* =============================================
   MOBILE SIDEBAR SYSTEM (768px and below)
   ============================================= */

@media (max-width: 768px) {
    /* Reset body margins for mobile - Başlangıçta sidebar KAPALI */
    body {
        margin-left: 0 !important; /* Başlangıçta margin yok */
        padding-top: 70px;
        transition: margin-left 0.3s ease !important;
    }
    
    /* Body sidebar açık durumu */
    body.mobile-sidebar-open {
        margin-left: 70px !important; /* Sidebar açıldığında margin */
    }
    
    /* Hide normal sidebar completely on mobile */
    .sidebar {
        display: none !important;
    }
    
    /* Hide existing mini sidebar on mobile */
    .mini-sidebar {
        display: none !important;
    }
    
    /* NEW MOBILE SIDEBAR - Başlangıçta gizli */
    .mobile-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 70px;
        height: 100vh;
        background: linear-gradient(135deg, rgba(18, 18, 18, 0.98), rgba(26, 35, 126, 0.15));
        backdrop-filter: blur(20px);
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 1001;
        transform: translateX(-100%); /* Başlangıçta gizli */
        transition: transform 0.3s ease;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        gap: 15px;
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.3);
        overflow-y: auto;
    }
    
    /* Mobile sidebar açık durumu */
    .mobile-sidebar.active {
        transform: translateX(0); /* Görünür */
    }
    
    /* Mobile sidebar scroll stilleri */
    .mobile-sidebar::-webkit-scrollbar {
        width: 4px;
    }

    .mobile-sidebar::-webkit-scrollbar-track {
        background: transparent;
    }

    .mobile-sidebar::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.3);
        border-radius: 2px;
        transition: background 0.3s ease;
    }

    .mobile-sidebar::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 255, 255, 0.5);
    }
    
    /* Container mobile adjustment */
    .container {
        margin-left: 0 !important;
        transition: none;
        max-width: 100vw;
        width: 100%;
    }
    
    /* Header adjustments for mobile */
    .header-container {
        padding: 0 15px;
        margin-left: 0; /* Header normal pozisyonda */
    }
    
    .sidebar-toggle-header {
        display: flex !important; /* Mobilde toggle butonunu göster */
    }
    
    /* Main header mobile adjustment */
    .main-header {
        left: 0 !important;
        right: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
    }
}

/* Mobile Sidebar Navigation Items */
@media (max-width: 768px) {

    /* Mobile sidebar social */
    .mobile-sidebar-social {
        display: flex;
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }

    .mobile-social-item {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 35px;
        height: 35px;
        background: rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        border-radius: 50%;
        transition: all 0.3s ease;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mobile-social-item:hover {
        background: var(--primary-color);
        color: white;
        transform: scale(1.1);
        border-color: var(--primary-color);
    }

    .mobile-social-item i {
        font-size: 14px;
    }
    
    /* Mobile sidebar social */
    .mobile-sidebar-social {
        display: flex;
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }

    .mobile-social-item {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 35px;
        height: 35px;
        background: rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        border-radius: 50%;
        transition: all 0.3s ease;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mobile-social-item:hover {
        background: var(--primary-color);
        color: white;
        transform: scale(1.1);
        border-color: var(--primary-color);
    }

    .mobile-social-item i {
        font-size: 14px;
    }
    
    /* Mobile sidebar bottom container */
    .mobile-sidebar-bottom-container {
        margin-top: auto;
        padding: 20px 0 30px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    /* Mobile sidebar promokod */
    .mobile-sidebar-promo {
        margin: 0 0 5px 0;
        padding: 0 5px;
    }

    .mobile-promo-btn {
        width: 35px;
        height: 35px;
        border: none;
        border-radius: 50%;
        background: linear-gradient(135deg, #ff6b6b, #ffa500);
        color: white;
        font-size: 1rem;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        overflow: hidden;
    }

    .mobile-promo-btn::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: conic-gradient(from 0deg, transparent, rgba(255,255,255,0.3), transparent);
        animation: promoSpin 2s linear infinite;
    }

    .mobile-promo-btn:hover {
        transform: scale(1.1);
        box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    }
}

/* Very small mobile adjustments */
@media (max-width: 480px) {
    .mini-sidebar {
        width: 60px;
    }
    
    .mobile-mini-sidebar-active body {
        margin-left: 60px !important;
    }
    
    .mobile-mini-sidebar-active .container {
        transform: translateX(60px);
    }
    
    .mini-nav-item {
        width: 40px;
        height: 40px;
    }
    
    .mini-nav-item i {
        font-size: 16px;
    }
    
    .mini-social-item {
        width: 30px;
        height: 30px;
    }
    
    .mini-social-item i {
        font-size: 12px;
    }
}

/* Enhanced Performance Optimizations */
.casino-card,
.nav-btn,
.casino-button,
.social-button {
    will-change: transform;
    transform: translateZ(0); /* Force hardware acceleration */
    backface-visibility: hidden;
}

/* Smooth Scrolling Enhancement */
html {
    scroll-behavior: smooth;
}

/* Focus Management for Mobile */
@media (max-width: 768px) {
    /* Remove outline for touch users but keep for keyboard users */
    .casino-button:focus:not(:focus-visible),
    .nav-btn:focus:not(:focus-visible),
    .login-btn:focus:not(:focus-visible) {
        outline: none;
    }
    
    .casino-button:focus-visible,
    .nav-btn:focus-visible,
    .login-btn:focus-visible {
        outline: 2px solid var(--secondary-color);
        outline-offset: 2px;
    }
}

/* Enhanced Loading States */
.loading-state {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.loading-state::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Safe Area Support for iOS */
@supports (padding: max(0px)) {
    .container {
        padding-left: max(var(--container-padding), env(safe-area-inset-left));
        padding-right: max(var(--container-padding), env(safe-area-inset-right));
    }
    
    .header {
        padding-top: max(20px, env(safe-area-inset-top));
    }
    
    .footer {
        padding-bottom: max(30px, env(safe-area-inset-bottom));
    }
}

/* Dark Mode Optimizations */
@media (prefers-color-scheme: dark) {
    .casino-card {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
        border-color: rgba(255, 255, 255, 0.15);
    }
    
    .nav-btn {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.1);
    }
}

/* Print Optimizations - Enhanced */
@media print {
    .social-media-buttons,
    .nav-container,
    .bottom-ads,
    .left-ads,
    .right-ads,
    .message-dropdown,
    .notification-dropdown,
    .sidebar,
    .preloader {
        display: none !important;
    }

    .casino-card {
        break-inside: avoid;
        background: white !important;
        color: black !important;
        border: 1px solid #000 !important;
        margin-bottom: 20px;
    }

    .casino-name,
    .section-title {
        color: black !important;
    }
    
    .container {
        max-width: 100% !important;
        padding: 0 !important;
    }
}

/* Reduced Motion Support - Enhanced */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .casino-card:hover,
    .nav-btn:hover,
    .casino-button:hover {
        transform: none !important;
    }

    .casino-button,
    .social-button,
    .nav-btn {
        animation: none !important;
    }
    
    .preloader {
        display: none !important;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .casino-card {
        border: 2px solid #fff;
        background: rgba(0, 0, 0, 0.8);
    }
    
    .casino-button {
        border: 2px solid #fff;
        background: #000;
        color: #fff;
    }
    
    .nav-btn {
        border: 1px solid #fff;
        background: rgba(0, 0, 0, 0.8);
    }
}

/* Ultra-wide Screen Support */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }
    
    .casino-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 30px;
    }
}

/* Mobile Landscape Optimization */
@media screen and (max-height: 500px) and (orientation: landscape) and (max-width: 900px) {
    .header {
        padding: 10px var(--container-padding);
        margin-bottom: 15px;
    }

    .logo img {
        max-width: 120px;
    }

    .section-title {
        font-size: 1.4em;
        margin-bottom: 15px;
    }

    .casino-card {
        min-height: 220px;
        padding: 15px;
    }

    .casino-logo {
        width: 120px;
        height: 70px;
    }

    .nav-container {
        padding: 10px;
    }

    .nav-btn {
        padding: 8px 12px;
        font-size: 13px;
        min-height: 40px;
    }
    
    /* Compact layout for landscape phones */
    .casino-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 15px;
    }
}

/* Dark Mode Preference */
@media (prefers-color-scheme: dark) {
    body:not([data-theme]) {
        --primary-color: #6366f1;
        --secondary-color: #8b5cf6;
    }
}

/* Print Optimizations */
@media print {
    .social-media-buttons,
    .nav-container,
    .bottom-ads,
    .left-ads,
    .right-ads {
        display: none !important;
    }

    .casino-card {
        break-inside: avoid;
        background: white !important;
        color: black !important;
        border: 1px solid #000 !important;
    }

    .casino-name,
    .section-title {
        color: black !important;
    }
}
/* Reklam Alanları - Ana Stiller */
.left-ads,
.right-ads {
    position: fixed;
    top: 0;
    width: 220px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    height: 100vh;
    padding: 15px;
}

.left-ads {
    left: 0;
}

.right-ads {
    right: 0;
}

/* Reklam Kartı Stili */
.ad-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 20px 15px; /* Padding arttırıldı */
    border-radius: 15px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    text-align: center;
    height: calc(100vh - 30px);
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Değiştirildi: flex-start -> center */
    align-items: center; /* Eklendi */
    gap: 25px; /* Eklendi: İçerikler arası boşluk */
}

.ad-item:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    box-shadow: 0 8px 40px rgba(91, 83, 210, 0.2);
}

/* Logo ve İçerik Stilleri */
.ad-logo {
    width: 160px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 10px;
}

.ad-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #fff;
    animation: blink 1s infinite;
}

.ad-description {
    font-size: 20px;
    font-weight: bold;
    color: #FFD700;
    margin: 5px 0;
    animation: blink 1s infinite;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Alt Reklam Alanı */
.bottom-ads {
    position: fixed;
    bottom: 0;
    left: 220px;
    right: 220px;
    background: transparent;
    z-index: 999;
    padding: 10px 0;
}

.bottom-ad-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* Değiştirildi: stretch -> center */
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Alt Kart Tasarımı */
.bottom-ad-container .ad-item {
    height: auto;
    width: 100%;
    max-width: 800px; /* Eklendi: Maksimum genişlik */
    margin: 0 auto; /* Eklendi: Yatayda ortalama */
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center; /* Değiştirildi: space-between -> center */
    padding: 20px 30px;
    min-height: 80px;
    gap: 20px;
}

/* Logo Alanı */
.bottom-ad-container .ad-logo {
    width: 120px;
    height: 60px;
    object-fit: contain;
    margin: 0;
    flex-shrink: 0;
}

/* İçerik Alanı */
.bottom-ad-container .ad-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* Eklendi: İçeriği ortala */
    gap: 5px;
    flex: 1;
    max-width: 300px;
    text-align: center; /* Eklendi: Metinleri ortala */
}

.bottom-ad-container .ad-name {
    margin: 0;
    font-size: 16px;
    text-align: center; /* Değiştirildi: left -> center */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.bottom-ad-container .ad-description {
    margin: 0;
    font-size: 20px;
    text-align: center; /* Değiştirildi: left -> center */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}


/* Buton Stili */
.casino-button {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    margin: 0;
    white-space: nowrap;
    flex-shrink: 0;
}

.casino-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(var(--primary-color-rgb), 0.5);
}

/* Kapatma Butonu */
.ad-close {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(255, 68, 68, 0.9);
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.ad-close:hover {
    background: #ff4444;
    transform: scale(1.1);
}

/* Responsive Tasarım */
@media (max-width: 1200px) {
    .left-ads,
    .right-ads {
        width: 180px;
    }
    
    .bottom-ads {
        left: 180px;
        right: 180px;
    }
    
    .bottom-ad-container .ad-logo {
        width: 100px;
    }
}

@media (max-width: 992px) {
    .left-ads,
    .right-ads {
        display: none;
    }
    
    .bottom-ads {
        left: 0;
        right: 0;
    }
    
    .bottom-ad-container {
        flex-direction: column;
    }
    
    .bottom-ad-container .ad-item {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .bottom-ad-container .ad-item {
        padding: 8px 12px;
    }
    
    .bottom-ad-container .casino-button {
        padding: 6px 16px;
        font-size: 0.8em;
    }
    
    .bottom-ad-container .ad-logo {
        width: 80px;
        height: 40px;
    }
    
    .bottom-ad-container .ad-name {
        font-size: 14px;
    }
    
    .bottom-ad-container .ad-description {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .bottom-ad-container {
        padding: 5px;
    }
    
    .bottom-ad-container .ad-item {
        padding: 8px;
        gap: 8px;
    }
    
    .bottom-ad-container .ad-logo {
        width: 60px;
        height: 30px;
    }
    
    .bottom-ad-container .casino-button {
        padding: 5px 12px;
        font-size: 0.75em;
    }
}

@keyframes dividerGlow {
    0% {
        box-shadow: 0 0 5px gold,
                   0 0 10px gold;
        opacity: 0.5;
    }
    50% {
        box-shadow: 0 0 15px gold,
                   0 0 25px gold;
        opacity: 1;
    }
    100% {
        box-shadow: 0 0 5px gold,
                   0 0 10px gold;
        opacity: 0.5;
    }
}

.section-divider {
    width: 100%;
    max-width: 1100px;
    margin: 30px auto;
    height: 2px;
    background: linear-gradient(
        to right,
        transparent,
        gold,
        transparent
    );
    position: relative;
    animation: dividerGlow 2s infinite;
}

footer {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px 0;
    margin-top: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    animation: logoGlow 3s infinite;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 20px;
    font-weight: 600;
    background: linear-gradient(45deg, #fff, var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-middle {
    flex: 1;
    text-align: center;
    max-width: 500px;
}

.footer-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    line-height: 1.5;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.designer-credit {
    display: flex;
    align-items: center;
    gap: 5px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.designer-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.designer-link:hover {
    text-shadow: 0 0 10px var(--secondary-color);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-left {
        flex-direction: column;
    }

    .footer-right {
        align-items: center;
    }

    .footer-middle {
        margin: 15px 0;
    }
}
/* Professional Preloader with Heartbeat Animation */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-bg);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 500px;
    padding: 40px;
    animation: preloaderFadeIn 1s ease-out;
}

@keyframes preloaderFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo Section with Heartbeat */
.preloader-logo {
    margin-bottom: 40px;
    position: relative;
}

.heartbeat-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 50%;
    animation: heartbeat 1.5s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(91, 83, 210, 0.6))
            drop-shadow(0 0 60px rgba(255, 105, 180, 0.4));
    position: relative;
    z-index: 2;
}

.default-logo {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    animation: heartbeat 1.5s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(91, 83, 210, 0.6))
            drop-shadow(0 0 60px rgba(255, 105, 180, 0.4));
    position: relative;
    z-index: 2;
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 30px rgba(91, 83, 210, 0.6))
                drop-shadow(0 0 60px rgba(255, 105, 180, 0.4));
    }
    14% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 40px rgba(91, 83, 210, 0.8))
                drop-shadow(0 0 80px rgba(255, 105, 180, 0.6));
    }
    28% {
        transform: scale(1);
        filter: drop-shadow(0 0 30px rgba(91, 83, 210, 0.6))
                drop-shadow(0 0 60px rgba(255, 105, 180, 0.4));
    }
    42% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 40px rgba(91, 83, 210, 0.8))
                drop-shadow(0 0 80px rgba(255, 105, 180, 0.6));
    }
    70% {
        transform: scale(1);
        filter: drop-shadow(0 0 30px rgba(91, 83, 210, 0.6))
                drop-shadow(0 0 60px rgba(255, 105, 180, 0.4));
    }
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 30px rgba(91, 83, 210, 0.6))
                drop-shadow(0 0 60px rgba(255, 105, 180, 0.4));
    }
}

/* Title Section */
.preloader-title {
    margin-bottom: 40px;
    animation: titleSlideIn 1.2s ease-out 0.3s both;
}

@keyframes titleSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.preloader-title h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    background: linear-gradient(45deg, #fff, var(--secondary-color), #fff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShimmer 3s ease-in-out infinite;
    text-shadow: none;
}

.preloader-title p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-weight: 500;
    letter-spacing: 1px;
}

@keyframes textShimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Pulse Ring Animation */
.preloader-spinner {
    position: relative;
    margin-bottom: 40px;
    animation: spinnerAppear 1.5s ease-out 0.6s both;
}

@keyframes spinnerAppear {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border: 3px solid transparent;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: pulseRotate 2s linear infinite;
}

.pulse-ring-delay-1 {
    width: 160px;
    height: 160px;
    border-top: 3px solid var(--secondary-color);
    animation: pulseRotate 1.5s linear infinite reverse;
    animation-delay: 0.2s;
}

.pulse-ring-delay-2 {
    width: 120px;
    height: 120px;
    border-top: 3px solid #FFD700;
    animation: pulseRotate 1s linear infinite;
    animation-delay: 0.4s;
}

@keyframes pulseRotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) rotate(180deg) scale(1.1);
        opacity: 0.7;
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg) scale(1);
        opacity: 1;
    }
}

/* Progress Bar */
.preloader-progress {
    width: 300px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: progressAppear 2s ease-out 0.8s both;
}

@keyframes progressAppear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, 
        var(--primary-color) 0%, 
        var(--secondary-color) 50%, 
        #FFD700 100%);
    background-size: 200% 100%;
    border-radius: 10px;
    animation: progressFill 3s ease-in-out infinite, gradientShift 2s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(91, 83, 210, 0.5);
}

@keyframes progressFill {
    0% {
        width: 0%;
    }
    50% {
        width: 70%;
    }
    100% {
        width: 100%;
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Footer Text */
.preloader-footer {
    animation: footerSlideIn 2.5s ease-out 1s both;
}

@keyframes footerSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.preloader-footer span {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: textPulse 2s ease-in-out infinite;
}

@keyframes textPulse {
    0%, 100% {
        opacity: 0.7;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

/* Responsive Design for Preloader */
@media (max-width: 768px) {
    .preloader-content {
        padding: 30px 20px;
        max-width: 400px;
    }
    
    .heartbeat-logo,
    .default-logo {
        width: 100px;
        height: 100px;
    }
    
    .default-logo {
        font-size: 2.5rem;
    }
    
    .preloader-title h1 {
        font-size: 2rem;
    }
    
    .preloader-title p {
        font-size: 1rem;
    }
    
    .pulse-ring {
        width: 160px;
        height: 160px;
    }
    
    .pulse-ring-delay-1 {
        width: 130px;
        height: 130px;
    }
    
    .pulse-ring-delay-2 {
        width: 100px;
        height: 100px;
    }
    
    .preloader-progress {
        width: 250px;
        height: 5px;
    }
    
    .preloader-footer span {
        font-size: 1rem;
        letter-spacing: 1.5px;
    }
}

@media (max-width: 480px) {
    .preloader-content {
        padding: 20px 15px;
        max-width: 320px;
    }
    
    .heartbeat-logo,
    .default-logo {
        width: 80px;
        height: 80px;
    }
    
    .default-logo {
        font-size: 2rem;
    }
    
    .preloader-title h1 {
        font-size: 1.8rem;
    }
    
    .preloader-title p {
        font-size: 0.9rem;
    }
    
    .pulse-ring {
        width: 140px;
        height: 140px;
    }
    
    .pulse-ring-delay-1 {
        width: 110px;
        height: 110px;
    }
    
    .pulse-ring-delay-2 {
        width: 80px;
        height: 80px;
    }
    
    .preloader-progress {
        width: 200px;
        height: 4px;
    }
    
    .preloader-footer span {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
}

/* Preloader Hide Animation */
#preloader.hide {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
}

#preloader.hide .preloader-content {
    transform: scale(0.9) translateY(-20px);
    transition: transform 0.8s ease-out;
}

/* Navigation Styles */
.main-navigation {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    position: relative !important;
    overflow: visible !important;
    z-index: 1000 !important;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    max-width: 100%;
    overflow: visible !important;
    position: relative !important;
}

.nav-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    flex: 1;
    min-width: 0;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
    border: 1px solid transparent;
    flex-shrink: 1;
    min-width: 0;
    white-space: nowrap;
}

.nav-btn span {
    display: inline-block;
}

.nav-btn:hover,
.nav-btn.active {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(91, 83, 210, 0.3);
}

.nav-btn i {
    font-size: 16px;
}

/* Auth Buttons */
.auth-section {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
    margin-left: auto;
}

.login-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    animation: glowPulse 2s infinite;
}

.login-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--secondary-color);
}

/* User Profile */
.user-profile {
    position: relative !important;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px 15px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.user-profile:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--secondary-color);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--secondary-color);
}

.user-name {
    font-weight: 600;
    color: #fff;
    font-size: 14px;
}

.user-dropdown {
    position: absolute !important;
    top: calc(100% + 5px) !important;
    right: 0 !important;
    background: rgba(30, 30, 30, 0.98) !important;
    backdrop-filter: blur(15px) !important;
    border-radius: 12px !important;
    padding: 12px 0 !important;
    min-width: 180px !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    z-index: 99999 !important;
    display: none !important;
    overflow: visible !important;
    white-space: nowrap !important;
    margin-top: 5px;
}

.user-dropdown.show,
.user-dropdown[style*="block"] {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.user-dropdown a {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 15px 20px !important;
    color: rgba(255, 255, 255, 0.95) !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    border-radius: 8px !important;
    margin: 2px 8px !important;
}

.user-dropdown a:hover {
    background: rgba(255, 68, 68, 0.3) !important;
    color: #ff4444 !important;
    transform: translateX(3px) !important;
}

.user-dropdown a i {
    font-size: 14px !important;
    width: 16px !important;
    text-align: center !important;
}

/* Standart Auth Modal Styles - Tüm Sayfalar İçin */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    position: relative;
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.95), rgba(26, 35, 126, 0.15));
    backdrop-filter: blur(20px);
    margin: 0;
    padding: 0;
    border-radius: 25px;
    width: 95%;
    max-width: 500px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: modalSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    
    /* Perfect Center Alignment */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    /* Max height with scroll */
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.modal-header {
    text-align: center;
    padding: 40px 35px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(255, 105, 180, 0.05), transparent);
    border-radius: 25px 25px 0 0;
}

.modal-header h2 {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 15px;
    background: linear-gradient(45deg, #fff, var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    position: relative;
    z-index: 1;
}

.modal-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    margin: 0;
    position: relative;
    z-index: 1;
}

.close {
    position: absolute;
    top: 20px;
    right: 25px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 2;
}

.close:hover {
    color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.auth-container {
    padding: 35px;
    text-align: center;
}

.auth-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding: 50px 20px;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-top: 5px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.auth-loading p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    font-weight: 600;
    background: linear-gradient(45deg, #fff, var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-code-display {
    max-width: 100%;
    margin: 0 auto;
}

.auth-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    text-align: left;
    background: rgba(255, 255, 255, 0.08);
    padding: 25px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.auth-step::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(91, 83, 210, 0.05), transparent);
    transform: rotate(45deg);
    animation: shimmer 4s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.auth-step:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(91, 83, 210, 0.25);
}

.step-number {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    font-size: 20px;
    box-shadow: 0 8px 20px rgba(91, 83, 210, 0.4);
    animation: glowPulse 2.5s infinite;
    position: relative;
    z-index: 1;
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 8px 20px rgba(91, 83, 210, 0.4);
    }
    50% {
        box-shadow: 0 8px 30px rgba(91, 83, 210, 0.7);
    }
}

.step-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.step-content h3 {
    margin: 0 0 15px 0;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(45deg, #fff, var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.step-content p {
    margin: 10px 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    line-height: 1.6;
}

.auth-code {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.4);
    border: 3px solid var(--primary-color);
    border-radius: 18px;
    padding: 22px;
    margin: 18px 0;
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(91, 83, 210, 0.3);
}

.auth-code::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(91, 83, 210, 0.1), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

.auth-code span {
    font-family: 'Courier New', monospace;
    font-size: 32px;
    font-weight: bold;
    color: var(--secondary-color);
    letter-spacing: 5px;
    flex: 1;
    text-shadow: 0 0 15px var(--secondary-color);
    position: relative;
    z-index: 1;
    text-align: center;
}

.copy-btn {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    position: relative;
    z-index: 1;
    animation: glowPulse 2.5s infinite;
    box-shadow: 0 5px 15px rgba(91, 83, 210, 0.4);
}

.copy-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 0 25px var(--secondary-color);
    animation: none;
}

.copy-btn.copied {
    background: linear-gradient(45deg, #4CAF50, #8BC34A);
    animation: none;
}

.copy-btn i {
    font-size: 18px;
}

.telegram-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(45deg, #0088cc, #00acc1);
    color: white;
    text-decoration: none;
    padding: 18px 30px;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-weight: 700;
    font-size: 18px;
    margin-top: 18px;
    box-shadow: 0 8px 20px rgba(0, 136, 204, 0.4);
    animation: glowPulse 2.5s infinite;
    position: relative;
    overflow: hidden;
}

.telegram-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.3s ease;
    opacity: 0;
}

.telegram-btn:hover::before {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

.telegram-btn:hover {
    background: linear-gradient(45deg, #006699, #00838f);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 136, 204, 0.6);
    color: white;
    animation: none;
}

.telegram-btn i {
    font-size: 20px;
}

.auth-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 22px;
    margin-top: 30px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
}

.countdown {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ff4444;
    font-weight: 700;
    font-size: 20px;
    text-shadow: 0 0 15px #ff4444;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.countdown i {
    font-size: 22px;
}

.new-code-btn {
    background: linear-gradient(45deg, #6c757d, #495057);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 12px 22px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
}

.new-code-btn:hover {
    background: linear-gradient(45deg, #495057, #343a40);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(108, 117, 125, 0.4);
}

.auth-error {
    background: rgba(255, 68, 68, 0.15);
    color: #ff4444;
    border: 2px solid #ff4444;
    border-radius: 18px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 25px 0;
    backdrop-filter: blur(15px);
    animation: shake 0.6s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-8px); }
    75% { transform: translateX(8px); }
}

.auth-success {
    background: rgba(76, 175, 80, 0.15);
    color: #4CAF50;
    border: 2px solid #4CAF50;
    border-radius: 18px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 25px 0;
    backdrop-filter: blur(15px);
    animation: bounceIn 0.6s ease-out;
}

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); }
}

.auth-error i,
.auth-success i {
    font-size: 26px;
    flex-shrink: 0;
}

.auth-error span,
.auth-success span {
    font-weight: 600;
    font-size: 18px;
}

/* Navigation Responsive - Düzeltme */
@media (max-width: 1200px) {
    .nav-btn span {
        display: none;
    }
    
    .nav-btn {
        min-width: 40px;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
        overflow: visible !important;
    }
    
    .nav-buttons {
        justify-content: center;
        flex-wrap: wrap;
        order: 2;
    }
    
    .nav-btn span {
        display: inline-block;
    }
    
    .auth-section {
        margin-left: 0;
        align-self: center;
        order: 1;
    }
    
    .user-dropdown {
        right: -10px !important;
        min-width: 160px !important;
    }
}

@media (max-width: 480px) {
    .nav-buttons {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    
    .nav-btn {
        justify-content: center;
        width: 100%;
    }
    
    .modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .modal-header {
        padding: 25px 20px 20px;
    }
    
    .modal-header h2 {
        font-size: 24px;
    }
    
    .auth-container {
        padding: 20px;
    }
    
    .auth-step {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 15px;
    }
    
    .step-number {
        align-self: center;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .step-content h3 {
        font-size: 20px;
    }
    
    .auth-code {
        padding: 18px;
        gap: 12px;
    }
    
    .auth-code span {
        font-size: 24px;
        letter-spacing: 3px;
    }
    
    .copy-btn {
        width: 50px;
        height: 50px;
    }
    
    .auth-status {
        flex-direction: column;
        gap: 15px;
        padding: 18px;
    }
    
    .countdown {
        font-size: 18px;
    }
    
    .telegram-btn {
        padding: 15px 25px;
        font-size: 16px;
    }
}

/* Sidebar Designer Credit Styles */
.sidebar-designer-credit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
    padding: 15px 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.sidebar-designer-logo {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.sidebar-designer-logo:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.sidebar-designer-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-designer-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.sidebar-designer-text span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1;
}

.sidebar-designer-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    line-height: 1;
}

.sidebar-designer-link:hover {
    color: var(--secondary-color);
    text-decoration: none;
    transform: translateY(-1px);
}

.sidebar-designer-link::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.sidebar-designer-link:hover::after {
    width: 100%;
}

/* Mobile responsive for sidebar designer credit */
@media (max-width: 768px) {
    .sidebar-designer-credit {
        gap: 10px;
        padding: 12px 8px;
        margin-top: 15px;
    }
    
    .sidebar-designer-logo {
        width: 30px;
        height: 30px;
    }
    
    .sidebar-designer-text span {
        font-size: 0.75rem;
    }
    
    .sidebar-designer-link {
        font-size: 0.85rem;
    }
}

/* Mesaj & Bildirim Sistemi Stilleri */
.message-notification-section {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-right: 20px;
}

.message-icon,
.notification-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.8);
}

.message-icon:hover,
.notification-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary-color);
    transform: scale(1.1);
    color: white;
}

.message-icon i,
.notification-icon i {
    font-size: 16px;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 68, 68, 0.7);
    }
    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(255, 68, 68, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 68, 68, 0);
    }
}

/* Mesaj & Bildirim Dropdown */
.message-dropdown,
.notification-dropdown {
    position: fixed;
    top: 70px;
    right: 20px;
    width: 350px;
    max-height: 400px;
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.95), rgba(26, 35, 126, 0.15));
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: none;
    overflow: hidden;
    animation: dropdownSlideIn 0.3s ease-out;
}

@keyframes dropdownSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.message-dropdown.show,
.notification-dropdown.show {
    display: block;
}

.dropdown-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown-header h3 {
    margin: 0;
    color: white;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dropdown-header .count {
    background: var(--primary-color);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.mark-all-read-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.mark-all-read-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.mark-all-read-btn:active {
    transform: scale(0.95);
}

.message-list,
.notification-list {
    max-height: 280px;
    overflow-y: auto;
    padding: 0;
    flex: 1;
}

.message-dropdown,
.notification-dropdown {
    position: fixed;
    top: 70px;
    right: 20px;
    width: 350px;
    max-height: 400px;
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.95), rgba(26, 35, 126, 0.15));
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: none;
    overflow: hidden;
    animation: dropdownSlideIn 0.3s ease-out;
    /* Flex layout için */
    flex-direction: column;
}

.dropdown-footer {
    padding: 15px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    text-align: center;
    flex-shrink: 0;
}

.message-item,
.notification-item {
    display: flex;
    flex-direction: column;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.message-item:hover,
.notification-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.message-item.unread,
.notification-item.unread {
    background: rgba(var(--primary-color-rgb, 91, 83, 210), 0.1);
    border-left: 3px solid var(--primary-color);
}

.message-item.unread::before,
.notification-item.unread::before {
    content: '';
    position: absolute;
    top: 15px;
    right: 15px;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.item-title {
    font-size: 14px;
    font-weight: 600;
    color: white;
    line-height: 1.4;
    max-width: 250px;
}

.item-time {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
}

.item-content {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
    margin-bottom: 8px;
    max-height: 40px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.item-sender {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 5px;
}

.item-priority {
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
}

.item-priority.low {
    background: rgba(76, 175, 80, 0.3);
    color: #4CAF50;
}

.item-priority.normal {
    background: rgba(255, 193, 7, 0.3);
    color: #FFC107;
}

.item-priority.high {
    background: rgba(255, 152, 0, 0.3);
    color: #FF9800;
}

.item-priority.urgent {
    background: rgba(244, 67, 54, 0.3);
    color: #F44336;
}

.dropdown-footer {
    padding: 15px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.view-all-btn {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.view-all-btn:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.delete-all-btn {
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid rgba(255, 68, 68, 0.3);
    color: #ff4444;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.delete-all-btn:hover {
    background: rgba(255, 68, 68, 0.2);
    color: #ff2222;
    border-color: rgba(255, 68, 68, 0.5);
    transform: scale(1.05);
}

.delete-all-btn:active {
    transform: scale(0.95);
}

.delete-all-btn i {
    font-size: 10px;
}

/* Mesaj Modal Stilleri */
.message-modal {
    display: none;
    position: fixed;
    z-index: 20000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    animation: modalFadeIn 0.3s ease-out;
}

.message-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.95), rgba(26, 35, 126, 0.15));
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8);
    animation: modalSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.message-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.message-modal-header h2 {
    margin: 0;
    color: white;
    font-size: 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 28px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.message-modal-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-tab {
    flex: 1;
    padding: 15px 20px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.modal-tab.active {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.modal-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.message-modal-body {
    padding: 0;
    max-height: 60vh;
    overflow-y: auto;
}

.modal-message-list {
    padding: 0;
}

.modal-message-item {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.modal-message-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.modal-message-item.unread {
    background: rgba(var(--primary-color-rgb, 91, 83, 210), 0.1);
    border-left: 4px solid var(--primary-color);
}

.modal-item-main {
    flex: 1;
    padding: 20px 30px;
    cursor: pointer;
}

.modal-item-actions {
    display: flex;
    align-items: center;
    padding: 20px 15px;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.delete-message-btn {
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid rgba(255, 68, 68, 0.3);
    color: #ff4444;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.delete-message-btn:hover {
    background: #ff4444;
    color: white;
    border-color: #ff4444;
    transform: scale(1.1);
}

.delete-message-btn:active {
    transform: scale(0.95);
}

.modal-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.modal-item-title {
    font-size: 18px;
    font-weight: 600;
    color: white;
    line-height: 1.4;
    max-width: 500px;
}

.modal-item-time {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
}

.modal-item-content {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 15px;
    max-height: none;
    white-space: pre-wrap;
}

.modal-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-item-sender {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-item-priority {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.modal-no-messages {
    padding: 60px 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.modal-no-messages i {
    font-size: 60px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.modal-no-messages p {
    margin: 0;
    font-size: 18px;
}

/* Anlık Bildirim Sistemi */
.instant-notification {
    position: fixed;
    top: 80px;
    right: 20px;
    width: 350px;
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.95), rgba(26, 35, 126, 0.15));
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
    z-index: 15000;
    padding: 20px;
    transform: translateX(400px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.instant-notification.show {
    transform: translateX(0);
}

.instant-notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.instant-notification-title {
    font-size: 16px;
    font-weight: 600;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
}

.instant-notification-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 20px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.instant-notification-close:hover {
    color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.1);
}

.instant-notification-content {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin-bottom: 15px;
}

.instant-notification-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

/* Mobile Responsive für Modal */
@media (max-width: 768px) {
    .message-modal-content {
        width: 95%;
        max-height: 85vh;
    }
    
    .message-modal-header {
        padding: 15px 20px;
    }
    
    .message-modal-header h2 {
        font-size: 20px;
    }
    
    .modal-message-item {
        padding: 15px 20px;
    }
    
    .modal-item-title {
        font-size: 16px;
        max-width: 250px;
    }
    
    .instant-notification {
        width: 300px;
        right: 10px;
    }
}

@media (max-width: 480px) {
    .message-modal-content {
        width: 98%;
    }
    
    .message-modal-header {
        padding: 15px;
    }
    
    .modal-message-item {
        padding: 15px;
    }
    
    .instant-notification {
        width: 280px;
        right: 5px;
    }
}

/* Tek Mesaj Modal Stilleri */
.single-message-modal .message-modal-content {
    max-width: 900px;
    width: 95%;
}

.single-message-modal .message-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.modal-header-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.modal-back-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.modal-back-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.single-message-delete-btn {
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid rgba(255, 68, 68, 0.3);
    color: #ff4444;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.single-message-delete-btn:hover {
    background: #ff4444;
    color: white;
    border-color: #ff4444;
    transform: scale(1.1);
}

.single-message-delete-btn:active {
    transform: scale(0.95);
}

/* Custom Modal Sistemi */
.custom-modal {
    display: none;
    position: fixed;
    z-index: 25000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: customModalFadeIn 0.3s ease-out;
}

@keyframes customModalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.custom-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.95), rgba(26, 35, 126, 0.15));
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    min-width: 400px;
    max-width: 500px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8);
    animation: customModalSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

@keyframes customModalSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.custom-modal-header {
    padding: 25px 30px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.custom-modal-header h3 {
    margin: 0;
    color: white;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-modal-body {
    padding: 30px;
    text-align: center;
}

.custom-modal-body p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.6;
}

.custom-modal-footer {
    padding: 20px 30px 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.custom-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 100px;
    justify-content: center;
}

.custom-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.custom-btn:active {
    transform: translateY(0);
}

.cancel-btn {
    background: rgba(108, 117, 125, 0.2);
    color: #6c757d;
    border: 1px solid rgba(108, 117, 125, 0.3);
}

.cancel-btn:hover {
    background: rgba(108, 117, 125, 0.3);
    color: #ffffff;
    border-color: rgba(108, 117, 125, 0.5);
}

.confirm-btn {
    background: linear-gradient(45deg, #dc3545, #c82333);
    color: white;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.confirm-btn:hover {
    background: linear-gradient(45deg, #c82333, #a71e2a);
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.4);
}

.primary-btn {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.primary-btn:hover {
    box-shadow: 0 8px 20px rgba(91, 83, 210, 0.4);
}

/* Modal Types */
.confirm-modal .custom-modal-header h3 {
    color: #ffc107;
}

.alert-modal.success .custom-modal-header h3 {
    color: #28a745;
}

.alert-modal.error .custom-modal-header h3 {
    color: #dc3545;
}

.alert-modal.warning .custom-modal-header h3 {
    color: #ffc107;
}

.alert-modal.info .custom-modal-header h3 {
    color: #17a2b8;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .custom-modal-content {
        min-width: 320px;
        max-width: 90%;
        margin: 20px;
    }
    
    .custom-modal-header {
        padding: 20px 25px 15px;
    }
    
    .custom-modal-header h3 {
        font-size: 18px;
    }
    
    .custom-modal-body {
        padding: 25px;
    }
    
    .custom-modal-body p {
        font-size: 15px;
    }
    
    .custom-modal-footer {
        padding: 15px 25px 25px;
        flex-direction: column;
    }
    
    .custom-btn {
        width: 100%;
        padding: 15px 25px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .custom-modal-content {
        min-width: 280px;
    }
    
    .custom-modal-header h3 {
        font-size: 16px;
    }
    
    .custom-modal-body p {
        font-size: 14px;
    }
}

.single-message-content {
    padding: 0;
    max-height: 70vh;
    overflow-y: auto;
}

.single-message-header {
    padding: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
}

.message-title-section h3 {
    margin: 0 0 15px 0;
    color: white;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.4;
}

.message-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.message-sender,
.message-time {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.message-sender i,
.message-time i {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.message-priority {
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.message-priority.low {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.message-priority.normal {
    background: rgba(255, 193, 7, 0.2);
    color: #FFC107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.message-priority.high {
    background: rgba(255, 152, 0, 0.2);
    color: #FF9800;
    border: 1px solid rgba(255, 152, 0, 0.3);
}

.message-priority.urgent {
    background: rgba(244, 67, 54, 0.2);
    color: #F44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.single-message-body {
    padding: 30px;
}

.message-content {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.7;
    white-space: pre-wrap;
    word-wrap: break-word;
    background: rgba(255, 255, 255, 0.02);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    min-height: 100px;
}

/* Tek Mesaj Modal Mobile Responsive */
@media (max-width: 768px) {
    .single-message-modal .message-modal-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .single-message-modal .message-modal-header {
        padding: 20px;
    }
    
    .single-message-modal .message-modal-header h2 {
        font-size: 20px;
    }
    
    .modal-back-btn {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }
    
    .single-message-header {
        padding: 20px;
    }
    
    .message-title-section h3 {
        font-size: 20px;
    }
    
    .message-meta {
        gap: 15px;
    }
    
    .single-message-body {
        padding: 20px;
    }
    
    .message-content {
        padding: 20px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .single-message-modal .message-modal-header {
        padding: 15px;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .modal-header-buttons {
        order: -1;
        width: 100%;
        justify-content: space-between;
    }
    
    .single-message-header {
        padding: 15px;
    }
    
    .message-title-section h3 {
        font-size: 18px;
    }
    
    .message-meta {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .single-message-body {
        padding: 15px;
    }
    
    .message-content {
        padding: 15px;
        font-size: 14px;
    }
}

.no-messages,
.no-notifications {
    padding: 40px 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.no-messages i,
.no-notifications i {
    font-size: 40px;
    margin-bottom: 15px;
    opacity: 0.5;
}

.no-messages p,
.no-notifications p {
    margin: 0;
    font-size: 14px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .message-notification-section {
        gap: 10px;
        margin-right: 15px;
    }
    
    .message-icon,
    .notification-icon {
        width: 35px;
        height: 35px;
    }
    
    .message-icon i,
    .notification-icon i {
        font-size: 14px;
    }
    
    .notification-badge {
        width: 18px;
        height: 18px;
        font-size: 10px;
        top: -3px;
        right: -3px;
    }
    
    .message-dropdown,
    .notification-dropdown {
        width: 300px;
        right: 10px;
    }
    
    .item-title {
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .message-dropdown,
    .notification-dropdown {
        width: 280px;
        right: 5px;
    }
    
    .dropdown-header {
        padding: 15px;
    }
    
    .message-item,
    .notification-item {
        padding: 12px 15px;
    }
    
    .item-title {
        max-width: 180px;
    }
}

/* Arama ve Filtreleme Stilleri */
.search-filter-section {
    margin: 30px 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 25px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.search-container {
    flex: 2;
    min-width: 300px;
}

.search-input-wrapper {
    position: relative;
}

.search-input-wrapper input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: white;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.search-input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-input-wrapper input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(91, 83, 210, 0.3);
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 18px;
    pointer-events: none;
}

.filter-container {
    flex: 1;
    min-width: 200px;
}

.filter-container select {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: white;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.6)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 20px;
    padding-right: 50px;
}

.filter-container select:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(255, 105, 180, 0.3);
}

.filter-container select option {
    background: #1a237e;
    color: white;
    padding: 10px;
}

/* Sonuç Bulunamadı Stilleri */
.no-results {
    text-align: center;
    padding: 60px 20px;
    margin: 40px 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.no-results-content {
    max-width: 400px;
    margin: 0 auto;
}

.no-results i {
    font-size: 4em;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 20px;
    animation: searchPulse 2s infinite;
}

@keyframes searchPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.no-results h3 {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.8em;
    margin-bottom: 15px;
    font-weight: 600;
}

.no-results p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Display Name Stilleri */
.casino-display-name {
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 8px;
    text-align: center;
    animation: displayNameGlow 2s infinite;
}

.global-card .casino-display-name {
    color: #00d4ff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.vip-card .casino-display-name {
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.normal-card .casino-display-name {
    color: #fff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
    font-size: 0.9em;
}

@keyframes displayNameGlow {
    0%, 100% {
        opacity: 0.9;
    }
    50% {
        opacity: 1;
        filter: brightness(1.2);
    }
}

/* Responsive Arama Stilleri */
@media (max-width: 768px) {
    .search-filter-section {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }
    
    .search-container,
    .filter-container {
        width: 100%;
        min-width: auto;
    }
    
    .search-input-wrapper input,
    .filter-container select {
        padding: 12px 45px 12px 15px;
        font-size: 14px;
    }
    
    .search-icon {
        right: 15px;
        font-size: 16px;
    }
    
    .filter-container select {
        background-position: right 15px center;
        background-size: 18px;
        padding-right: 40px;
    }
    
    .no-results {
        padding: 40px 15px;
    }
    
    .no-results i {
        font-size: 3em;
    }
    
    .no-results h3 {
        font-size: 1.5em;
    }
    
    .no-results p {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .search-filter-section {
        padding: 15px;
        margin: 20px 0;
    }
    
    .search-input-wrapper input,
    .filter-container select {
        padding: 10px 40px 10px 12px;
        font-size: 13px;
    }
    
    .search-icon {
        right: 12px;
        font-size: 14px;
    }
    
    .filter-container select {
        background-position: right 12px center;
        background-size: 16px;
        padding-right: 35px;
    }
    
    .casino-display-name {
        font-size: 1em;
    }
    
    .normal-card .casino-display-name {
        font-size: 0.8em;
    }
}

/* =============================================
   NORMAL CARDS MOBILE RESPONSIVE - FINAL OVERRIDES
   (Sadece Normal Design Kartları için Kare Tasarım)
   ============================================= */

/* Mobile responsive styles for NORMAL CARDS ONLY */
@media (max-width: 600px) {
    .normal-card {
        aspect-ratio: 1/1 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
    }
    
    .normal-card .casino-name,
    .normal-card .card-text,
    .normal-card .card-title,
    .normal-card .casino-display-name {
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        -webkit-line-clamp: unset !important;
        display: block !important;
        -webkit-box-orient: unset !important;
        max-height: none !important;
        min-height: auto !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
    }
}

@media (max-width: 480px) {
    .normal-card {
        aspect-ratio: 1/1 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
    }
    
    .normal-card .casino-name,
    .normal-card .card-text,
    .normal-card .card-title,
    .normal-card .casino-display-name {
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        -webkit-line-clamp: unset !important;
        display: block !important;
        -webkit-box-orient: unset !important;
        max-height: none !important;
        min-height: auto !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
    }
}

@media (max-width: 360px) {
    .normal-card {
        aspect-ratio: 1/1 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
    }
    
    .normal-card .casino-name,
    .normal-card .card-text,
    .normal-card .card-title,
    .normal-card .casino-display-name {
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        -webkit-line-clamp: unset !important;
        display: block !important;
        -webkit-box-orient: unset !important;
        max-height: none !important;
        min-height: auto !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
    }
}
