/* Mobile Scroll CSS for Analyze Number Page */
@media (max-width: 768px) {
    /* Container for suggested numbers */
    div[style*="display: flex; flex-wrap: wrap; gap: 1rem;"] {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        gap: 1rem !important;
        padding: 1rem 0 !important;
        scroll-behavior: smooth !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-snap-type: x mandatory !important;
    }
    
    /* Individual number cards */
    div[style*="width: calc(50% - 0.5rem)"] {
        width: 280px !important;
        flex: 0 0 280px !important;
        margin-bottom: 0 !important;
        scroll-snap-align: start !important;
    }
    
    /* Number card styling */
    .number-card-glass {
        height: auto !important;
        min-height: 320px !important;
        padding: 1rem !important;
        border-radius: 15px !important;
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(20px) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
        transition: all 0.3s ease !important;
    }
    
    /* VIP and Special badges positioning */
    .number-card-glass .position-absolute {
        position: absolute !important;
    }
    
    /* Operator badge */
    .number-card-glass .position-absolute.top-0.end-0 {
        top: 0.75rem !important;
        right: 0.75rem !important;
    }
    
    /* VIP badge */
    .number-card-glass .position-absolute.top-0.start-0 {
        top: 0.75rem !important;
        left: 0.75rem !important;
    }
    
    /* Number display */
    .number-display-enhanced {
        font-size: 1.5rem !important;
        font-weight: 700 !important;
        color: #2D3748 !important;
        margin: 2.5rem 0 1rem 0 !important;
        text-align: center !important;
    }
    
    /* Price display */
    .price-display-enhanced {
        font-size: 1.25rem !important;
        font-weight: 600 !important;
        color: #E53E3E !important;
        margin-bottom: 1rem !important;
        text-align: center !important;
    }
    
    /* Badges container */
    .number-card-glass .mb-3 {
        margin-bottom: 1rem !important;
        text-align: center !important;
    }
    
    /* Action buttons */
    .number-card-glass .d-grid {
        margin-top: auto !important;
    }
    
    .number-card-glass .btn {
        padding: 0.5rem 1rem !important;
        font-size: 0.9rem !important;
        border-radius: 8px !important;
        font-weight: 600 !important;
    }
    
    /* Premium border for VIP */
    .number-card-glass.premium-border {
        background: linear-gradient(135deg, #FFFBF0 0%, #FFF8E1 100%) !important;
        border: 2px solid rgba(251, 191, 36, 0.3) !important;
    }
    
    .number-card-glass.premium-border::before {
        content: '' !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: 6px !important;
        background: linear-gradient(135deg, #F59E0B 0%, #FCD34D 50%, #F59E0B 100%) !important;
        border-radius: 15px 15px 0 0 !important;
    }
    
    /* Sold ribbon */
    .sold-ribbon {
        position: absolute !important;
        top: 1rem !important;
        right: -0.5rem !important;
        background: #E53E3E !important;
        color: white !important;
        padding: 0.25rem 1rem !important;
        font-size: 0.8rem !important;
        font-weight: 600 !important;
        transform: rotate(15deg) !important;
        z-index: 10 !important;
        border-radius: 4px !important;
    }
    
    /* Sold card styling */
    .number-card-glass.sold {
        opacity: 0.7 !important;
        background: rgba(0, 0, 0, 0.05) !important;
    }
}

/* Scroll hint styling */
.analyze-scroll-hint {
    display: none;
    text-align: center;
    padding: 1rem;
    color: #667eea;
    font-size: 0.9rem;
    font-weight: 500;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 10px;
    margin-top: 1rem;
    animation: pulseHint 2s infinite;
}

@media (max-width: 768px) {
    .analyze-scroll-hint {
        display: block;
    }
}

@keyframes pulseHint {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* Smooth scrolling for all containers */
@media (max-width: 768px) {
    * {
        scroll-behavior: smooth;
    }
}