/* ======================== MOBILE OPTIMIZED STYLES ======================== */
/* Mobil için özel stiller - Ekran görüntüsüne göre profesyonel tasarlandı */

@media (max-width: 768px) {
    /* Override desktop styles */
    * {
        -webkit-tap-highlight-color: transparent;
    }
    /* Body ve genel ayarlar */
    body {
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Top Banner Carousel - Mobil */
    .top-banner-carousel {
        height: 60px;
        position: relative;
        overflow: hidden;
    }
    
    .banner-track {
        transform: translateX(100%);
    }
    
    .banner-slide {
        min-width: 280px;
        width: 280px;
        padding: 0 12px;
        box-sizing: border-box;
    }
    
    .banner-link {
        gap: 8px;
        padding: 0 8px;
        height: 100%;
    }
    
    .banner-logo {
        max-height: 35px;
        max-width: 80px;
        flex-shrink: 0;
    }
    
    .banner-content {
        flex: 1;
        min-width: 0;
        overflow: hidden;
    }
    
    .banner-site-name {
        font-size: 13px;
        font-weight: 700;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .banner-promo-text {
        font-size: 10px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: none; /* Mobilde promosyon metnini gizle */
    }
    
    .banner-btn {
        padding: 6px 12px;
        font-size: 10px;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    /* Top Header - Üst Bar */
    .top-header {
        padding: 10px 12px;
        position: sticky;
        top: 0;
        z-index: 1000;
        background: var(--bg-secondary);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }
    
    .header-content {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
        max-width: 100%;
    }
    
    .profile-section {
        justify-content: center;
        align-items: center;
        gap: 10px;
        padding: 5px 0;
    }
    
    .profile-pic {
        width: 50px;
        height: 50px;
        border-width: 2px;
    }
    
    .profile-name {
        font-size: 18px;
        font-weight: 700;
        letter-spacing: 0.5px;
    }
    
    .social-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
        width: 100%;
    }
    
    .social-link, .channel-link {
        font-size: 11px;
        padding: 8px 12px;
        gap: 5px;
        flex: 0 0 auto;
    }
    
    .social-link .icon, .channel-link .icon {
        font-size: 16px;
    }
    
    .social-link .text, .channel-link .text {
        font-size: 11px;
        font-weight: 600;
    }
    
    /* Küçük ekranlarda sosyal medya linklerinde sadece ikon göster */
    @media (max-width: 480px) {
        .social-link .text, .channel-link .text {
            display: none;
        }
        
        .social-link, .channel-link {
            padding: 8px;
            min-width: 40px;
            justify-content: center;
        }
    }
    
    /* Main Container - Sidebar'ları gizle */
    .main-container {
        grid-template-columns: 1fr;
        padding: 15px 10px;
        gap: 15px;
        max-width: 100%;
    }
    
    .sidebar {
        display: none !important;
    }
    
    /* Hero Logo */
    .hero-logo {
        padding: 25px 0;
        margin-bottom: 25px;
        text-align: center;
    }
    
    .logo-container {
        font-size: 42px;
        gap: 8px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .logo-text {
        white-space: nowrap;
    }
    
    .logo-icon {
        font-size: 36px;
        flex-shrink: 0;
    }
    
    /* Cards Grid - 2 Sütun (Soldan Sağa Akış) */
    .cards-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        margin-bottom: 25px;
        width: 100%;
        padding: 0;
        grid-auto-flow: row;
    }
    
    .bet-card {
        padding: 15px 10px !important;
        gap: 8px !important;
        min-height: 180px;
        max-height: none;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: space-between !important;
        text-align: center !important;
        border-radius: 10px;
        position: relative;
        width: 100%;
        box-sizing: border-box;
    }
    
    .card-medal {
        position: absolute;
        top: 5px;
        right: 5px;
        font-size: 20px;
        z-index: 1;
    }
    
    .card-logo {
        font-size: 16px;
        font-weight: 800;
        margin-top: 8px;
        word-break: break-word;
        line-height: 1.2;
        color: var(--text-primary);
    }
    
    .card-logo-img {
        max-width: 80px !important;
        max-height: 40px !important;
        margin-bottom: 8px !important;
        object-fit: contain;
    }
    
    .card-bonus {
        font-size: 10px;
        font-weight: 600;
        color: var(--text-secondary);
        line-height: 1.4;
        margin: 5px 0;
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        word-break: break-word;
        hyphens: auto;
        padding: 0 5px;
    }
    
    .card-btn {
        width: 100%;
        padding: 10px 12px;
        font-size: 11px;
        font-weight: 700;
        border-radius: 6px;
        margin-top: auto;
        white-space: nowrap;
    }
    
    /* Bottom Brands */
    .bottom-brands {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 15px;
        flex-wrap: wrap;
        padding: 20px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 20px;
    }
    
    .brand-logo {
        font-size: 12px;
        padding: 8px 12px;
        border-radius: 6px;
        background: var(--bg-card);
        color: var(--text-secondary);
        text-decoration: none;
        transition: all 0.2s;
    }
    
    .brand-logo:hover {
        color: var(--text-primary);
        transform: translateY(-2px);
    }
    
    .brand-logo img {
        max-height: 30px !important;
        max-width: 100px !important;
        object-fit: contain;
    }
    
    /* Main Content */
    .main-content {
        width: 100%;
        padding: 0;
    }
}

/* Küçük mobil ekranlar (480px altı) */
@media (max-width: 480px) {
    .top-header {
        padding: 8px 10px;
    }
    
    .profile-pic {
        width: 45px;
        height: 45px;
    }
    
    .profile-name {
        font-size: 16px;
    }
    
    .social-link, .channel-link {
        font-size: 10px;
        padding: 6px 10px;
    }
    
    .social-link .text, .channel-link .text {
        display: none;
    }
    
    .social-link .icon, .channel-link .icon {
        font-size: 18px;
    }
    
    
    .logo-container {
        font-size: 36px;
    }
    
    .logo-icon {
        font-size: 32px;
    }
    
    .cards-grid {
        gap: 8px;
    }
    
    .bet-card {
        padding: 12px 8px;
        min-height: 160px;
    }
    
    .card-logo {
        font-size: 14px;
    }
    
    .card-bonus {
        font-size: 9px;
    }
    
    .card-btn {
        padding: 8px 10px;
        font-size: 10px;
    }
    
    .bottom-brands {
        gap: 10px;
        padding: 15px 0;
    }
    
    .brand-logo {
        font-size: 11px;
        padding: 6px 10px;
    }
}

/* Çok küçük ekranlar (360px altı) - Tek sütun */
@media (max-width: 360px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .bet-card {
        min-height: auto;
    }
}
