/* City Cloud Styles - Enhanced for Mobile */

/* City Cloud Container */
.city-cloud-container {
    position: relative;
    animation: slideIn 0.5s ease-out;
}

/* Search Container Enhanced */
.search-container {
    position: relative;
    margin-bottom: 1.5rem;
}

.search-input-wrapper {
    position: relative;
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
}

.search-input-wrapper i.fa-search {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
    font-size: 1rem;
    z-index: 2;
}

.search-input-wrapper input {
    width: 100%;
    padding: 1rem 3.5rem 1rem 3rem;
    border: 2px solid #e2e8f0;
    border-radius: 2rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.search-input-wrapper input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.search-input-wrapper button {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: #e53e3e;
    color: white;
    border: none;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.search-input-wrapper button:hover {
    background: #c53030;
    transform: translateY(-50%) scale(1.1);
}

/* City Cloud Grid */
.city-cloud {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    padding: 1rem 0;
    scroll-behavior: smooth;
}

/* Enhanced City Button - Cyrillic only display */
.city-button {
    background: linear-gradient(230deg, #f9f9f9 0%, #ffffff 100%);
    border: 2px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.city-button:hover {
    border-color: #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
    transform: translateY(-3px);
}

.city-button.selected {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #5a67d8;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    transform: translateY(-3px);
}

.city-button i {
    font-size: 1.2rem;
    color: #667eea;
    margin-bottom: 0.25rem;
}

.city-button.selected i {
    color: white;
}

.city-button span {
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.2;
}

/* YouTube Related Styles */
.youtube-link {
    background: #ff0000;
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.youtube-link:hover {
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}

.live-info {
    margin-top: 1rem;
    text-align: center;
}

.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ff0000, #ff4444);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    animation: pulse 2s infinite;
}

.live-dot {
    font-size: 0.5rem;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.btn-youtube {
    background: #ff0000;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-youtube:hover {
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}

.youtube-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    border-radius: 1rem;
    border: 2px solid #e2e8f0;
    text-align: center;
}

.youtube-section h4 {
    color: #ff0000;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Animations */
.fade-in {
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Selected City Display */
.selected-city-display {
    margin-top: 2rem;
    padding: 1.5rem;
    text-align: center;
}

.city-selection-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    animation: slideIn 0.5s ease-out;
}

.city-selection-card i {
    font-size: 2rem;
    opacity: 0.9;
}

.city-info {
    text-align: center;
}

.city-label {
    font-size: 0.9rem;
    opacity: 0.8;
    display: block;
}

.city-name {
    font-size: 1.5rem;
    font-weight: 600;
}

.continue-hint {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
    animation: pulse 2s infinite;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .city-cloud {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 0.75rem;
    }
    
    .city-button {
        padding: 0.75rem 0.5rem;
        min-height: 70px;
    }
    
    .city-button span {
        font-size: 0.8rem;
    }
    
    .city-button i {
        font-size: 1rem;
    }
    
    .search-input-wrapper input {
        padding: 0.875rem 3rem 0.875rem 2.5rem;
        font-size: 0.9rem;
    }
    
    .youtube-link {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .live-indicator {
        padding: 0.375rem 0.75rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .city-cloud {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
        gap: 0.5rem;
    }
    
    .city-button {
        padding: 0.5rem;
        min-height: 60px;
    }
    
    .city-button span {
        font-size: 0.75rem;
    }
    
    .city-button i {
        font-size: 1rem;
    }
} 