:root {
            --primary: #2196f3;
            --secondary: #2729b0;
            --background: linear-gradient(45deg, #000428, #004e92);
            --glass: rgba(255, 255, 255, 0.1);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', sans-serif;
            transition: all 0.2s ease;
        }

        body {
            background: var(--background);
            color: white;
            min-height: 100vh;
            line-height: 1.6;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 2rem 1rem;
        }

        .header {
            text-align: center;
            margin-bottom: 3rem;
        }

        .title {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            background: #ffffff;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            font-weight: 700;
            text-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }

        .search-container {
            max-width: 754px;
            margin: 0 auto 2rem;
            position: relative;
            backdrop-filter: blur(10px);
            background: var(--glass);
            border-radius: 50px;
            padding: 5px;
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.3);
        }

        .search-input {
            width: 100%;
            padding: 1rem 1.5rem;
            border: none;
            border-radius: 33px;
            background: transparent;
            color: white;
            font-size: 1rem;
            padding-right: 120px;
        }

        .search-input::placeholder {
            color: rgba(255, 255, 255, 0.7);
        }

        .search-button {
             position: absolute;
             right: 15px;
             top: 11px;
             padding: 0.75rem 1.5rem;
             background: linear-gradient(45deg, #2196f3, #2729b0);
             color: white;
             border: none;
             border-radius: 50px;
             font-weight: 600;
             cursor: pointer;
             transition: transform 0.3s;
             display: flex;
             align-items: center;
             gap: 0.5rem;
        }

        .search-button:hover {
            transform: scale(0.98);
        }

        .results-grid {
            display: grid;
            gap: 1.5rem;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        }

        .video-card {
            background: var(--glass);
            border-radius: 1rem;
            overflow: hidden;
            backdrop-filter: blur(10px);
            transition: transform 0.3s;
            border: 1px solid rgba(255, 255, 255, 0.2);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        }

        .video-card:hover {
            transform: translateY(-5px) scale(1.02);
            box-shadow: 0 12px 40px rgba(0,0,0,0.2);
        }

        .thumbnail {
            width: 100%;
            height: 200px;
            object-fit: cover;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .video-content {
            padding: 1.5rem;
        }

        .video-title {
            font-size: 1.1rem;
            margin-bottom: 0.75rem;
            font-weight: 600;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .video-meta {
            color: rgba(255, 255, 255, 0.8);
            font-size: 0.9rem;
            margin-bottom: 1rem;
        }

        .download-section {
            display: flex;
            gap: 0.5rem;
            flex-direction: column;
            margin-top: 0.5rem;
            padding-top: 0.5rem; 
            border-top: 1px solid rgba(255, 255, 255, 0.1); 
        }

        .download-button {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.875rem 1.25rem;
            background:linear-gradient(45deg, #404040, #000000);
            color: white;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s;
            position: relative;
            overflow: hidden;
            min-width: 140px;
            justify-content: center;
        }

        .download-button:disabled {
            opacity: 0.7;
            cursor: not-allowed;
        }

        .download-button::before {
            content: "";
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: 0.5s;
        }

        .download-button:hover::before {
            left: 100%;
        }

        .loading {
            display: flex;
            justify-content: center;
            padding: 2rem;
            height: 60px;
            position: relative;
            transition: opacity 0.3s ease;
        }

        .loading.hidden {
            opacity: 0;
            pointer-events: none;
        }

        .spinner {
            width: 24px;
            height: 24px;
            border: 3px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            border-top-color: #fff;
            animation: spin 1s ease-in-out infinite;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        @media (max-width: 480px) { 
            .download-button{ font-size: 13px;}
        }

        @media (max-width: 768px) {
            .container {
                padding: 1.5rem 1rem;
            }

            .title {
                font-size: 2rem;
            }

            .search-container {
                max-width: 754px;
                margin: 0 auto 2rem;
                position: relative;
                backdrop-filter: blur(10px);
                background: rgb(0 0 0 / 10%);
                border-radius: 20px;
                padding: 5px;
                box-shadow: 0 4px 30px rgb(0 99 255 / 10%);
            }

            .search-input {
                padding: 0.875rem 1.25rem;
                font-size: 13px;
                padding-right: 1rem;
                width: 100%;
                border-radius: 25px;
                border-radius: 8px;
            }

            .search-button {
                position: static;
                width: 100%;
                justify-content: center;
                padding: 1rem;
                font-size: 1rem;
                margin-top: 0.5rem;
            }

            .search-button {
                font-size: 14px;
                padding: 1rem 2rem;
                border-radius: 25px;
                top: auto;
                right: auto;
            }

            .results-grid {
                grid-template-columns: 1fr;
            }

            .video-card {
                margin: 0 0.5rem;
            }
        }

        .contact-section {
            text-align: center;
            margin-top: 3rem;
            color: rgba(255, 255, 255, 0.8);
        }

        .whatsapp-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.75rem 1.5rem;
            background: #25D366;
            color: white;
            border-radius: 50px;
            text-decoration: none;
            margin-top: 1rem;
            transition: transform 0.3s;
        }

        .whatsapp-btn:hover {
            transform: translateY(-2px);
        }

        .how-to-section {
            margin: 3rem 0;
            padding: 2rem;
            background: var(--glass);
            border-radius: 1rem;
            backdrop-filter: blur(10px);
        }

        .section-title {
            text-align: center;
            margin-bottom: 2rem;
            font-size: 2rem;
            background: linear-gradient(45deg, #fff, #2196f3);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .steps-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
        }

        .step-card {
            background: rgba(255, 255, 255, 0.05);
            padding: 1.5rem;
            border-radius: 1rem;
            text-align: center;
            transition: transform 0.3s;
        }

        .step-card:hover {
            transform: translateY(-5px);
        }

        .step-number {
            width: 40px;
            height: 40px;
            background: var(--primary);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1rem;
            font-weight: bold;
        }

        .step-icon {
            font-size: 2rem;
            color: var(--primary);
            margin-bottom: 1rem;
        }

        .site-footer {
            margin-top: 5rem;
            padding-top: 3rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }

        .footer-section {
            padding: 1rem;
        }

        .footer-title {
            color: var(--primary);
            margin-bottom: 1rem;
            font-size: 1.1rem;
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 0.5rem;
        }

        .footer-links a {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
        }

        .footer-links a:hover {
            color: white;
            text-decoration: underline;
        }

        .social-links {
            display: flex;
            gap: 1rem;
            margin-top: 1rem;
        }

        .social-icon {
            font-size: 1.5rem;
            color: rgba(255, 255, 255, 0.8);
            transition: color 0.3s;
        }

        .social-icon:hover {
            color: var(--primary);
        }

        .footer-bottom {
            text-align: center;
            padding: 2rem 0;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: rgba(255, 255, 255, 0.7);
        }

        .legal-links {
            margin-top: 1rem;
        }

        .legal-links a {
            color: rgba(255, 255, 255, 0.7);
            margin: 0 0.5rem;
        }

        @media (max-width: 768px) {
            .steps-container {
                grid-template-columns: 1fr;
            }
            
            .footer-grid {
                grid-template-columns: 1fr;
            }
            
            .footer-section {
                text-align: center;
            }
            
            .social-links {
                justify-content: center;
            }
        }

        .video-title a,
        .video-meta a {
            color: white !important;
            text-decoration: none;
            transition: opacity 0.3s ease;
        }

        .video-title a:hover,
        .video-meta a:hover {
            opacity: 0.8;
            text-decoration: underline;
        }
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.8);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .modal-container {
            background: var(--background);
            padding: 2rem;
            border-radius: 1rem;
            max-width: 500px;
            width: 90%;
            text-align: center;
            position: relative;
            border: 1px solid rgba(255, 255, 255, 0.2);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        }

        .modal-close {
            position: absolute;
            top: 10px;
            right: 15px;
            font-size: 1.5rem;
            cursor: pointer;
            color: rgba(255, 255, 255, 0.7);
            transition: color 0.3s;
        }

        .modal-close:hover {
            color: white;
        }

        .modal-title {
            font-size: 1.8rem;
            margin-bottom: 1rem;
            background: linear-gradient(45deg, #25D366, #128C7E);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .modal-content {
            margin-bottom: 2rem;
            color: rgba(255, 255, 255, 0.9);
        }

        .modal-buttons {
            display: flex;
            gap: 1rem;
            justify-content: center;
        }

        .modal-button {
            padding: 0.75rem 1.5rem;
            border-radius: 50px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            border: none;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .modal-button.join {
            background: linear-gradient(45deg, #25D366, #128C7E);
            color: white;
        }

        .modal-button.close {
            background: rgba(255, 255, 255, 0.1);
            color: white;
        }

        .modal-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }

        .modal-icon {
            font-size: 2.5rem;
            color: #25D366;
            margin-bottom: 1rem;
        }

        .hidden {
            display: none !important;
        }

   @media (max-width: 600px) {
            .modal-container {
                padding: 1.5rem;
            }
            
            .modal-title {
                font-size: 1.3rem;
            }
            
            .modal-content {
                font-size: 0.9rem;
            }
            
         
            
 
            
            .modal-icon {
                font-size: 2rem;
                margin-bottom: 0.75rem;
            }
        }
@media (max-width: 500px) {
            .modal-container {
                padding: 1.25rem 1rem;
            }
            
              

.modal-button {
    font-size: 13px;
}
            .modal-title {
                font-size: 1.2rem;
            }
            

            .modal-content p {
                margin-bottom: 0.75rem;
            }
        }
