/* Ultra Modern Design */
:root {
    --primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --success: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --glass: rgba(255, 255, 255, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 30px 90px rgba(0, 0, 0, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Desktop Block Screen */
.desktop-block {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 2rem;
}

.desktop-block-content {
    max-width: 500px;
}

.desktop-block-icon {
    font-size: 5rem;
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

.desktop-block h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.desktop-block p {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.8;
}

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

/* PWA Install Modal */
.pwa-install-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99998;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    backdrop-filter: blur(10px);
}

.pwa-install-content {
    background: white;
    border-radius: 30px;
    padding: 3rem 2rem;
    max-width: 400px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow-xl);
    animation: slideUp 0.5s ease;
}

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

.pwa-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    background: var(--primary);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    box-shadow: var(--shadow-lg);
}

.pwa-install-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #333;
    font-weight: 700;
}

.pwa-install-content p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

.pwa-install-steps {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: right;
}

.pwa-step {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
}

.pwa-step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 35px;
    height: 35px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    flex-shrink: 0;
}

.step-text {
    flex: 1;
    color: #333;
    font-size: 0.95rem;
    text-align: right;
}

.pwa-install-btn {
    width: 100%;
    padding: 1.2rem;
    background: var(--primary);
    border: none;
    border-radius: 15px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.pwa-install-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
}

.pwa-skip-btn {
    margin-top: 1rem;
    background: none;
    border: none;
    color: #999;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: underline;
}



/* Modern Onboarding */
.onboarding-overlay {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.onboarding-slide {
    padding: 2rem;
}

.onboarding-image i {
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.onboarding-slide h2 {
    font-size: 2.2rem;
    text-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.dot {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dot.active {
    width: 30px;
    border-radius: 6px;
}

/* Modern Cards */
.card, .directory-card, .news-post, .event-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover, .directory-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

/* Modern Buttons */
.btn-primary {
    background: var(--primary);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.btn-success {
    background: var(--success);
    border: none;
    box-shadow: 0 10px 30px rgba(79, 172, 254, 0.3);
}

/* Glass Morphism Effect */
.hero-section {
    background: transparent;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Bottom Navigation Modern */
.bottom-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1);
}

.bottom-nav .nav-item {
    position: relative;
    transition: all 0.3s ease;
}

.bottom-nav .nav-item.active::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: var(--primary);
    border-radius: 0 0 10px 10px;
}

.bottom-nav .nav-item.active {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
}

/* Navbar Modern */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Search Modern */
.search-container .input-group {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(102, 126, 234, 0.2);
    transition: all 0.3s ease;
}

.search-container .input-group:focus-within {
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.2);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Responsive */
@media (max-width: 768px) {
    .pwa-install-content {
        padding: 2rem 1.5rem;
    }
    
    .pwa-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }
    
    .pwa-install-content h2 {
        font-size: 1.5rem;
    }
}
