/* Gatooos.fun - Custom CSS con Bootstrap 5 */

/* Variables personalizadas */
:root {
    --tiktok-gradient: linear-gradient(135deg, #000000, #EE1D52);
    --instagram-gradient: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    --facebook-gradient: linear-gradient(135deg, #1877f2, #0a66c2);
    --primary-gradient: linear-gradient(135deg, #667eea, #764ba2);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Hero Sections */
.hero-tiktok {
    background: var(--primary-gradient);
    color: white;
    padding: 30px 0;
}

.hero-instagram {
    background: var(--instagram-gradient);
    color: white;
    padding: 30px 0;
}

.hero-facebook {
    background: var(--facebook-gradient);
    color: white;
    padding: 30px 0;
}

/* Cards y Contenedores */
.download-card {
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: none;
    height: 100%;
}

.ad-box {
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    border-radius: 12px;
    padding: 20px 15px;
    text-align: center;
    color: white;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

.ad-box:hover {
    transform: translateY(-5px);
}

.ad-banner {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    border-radius: 10px;
    padding: 15px 20px;
    text-align: center;
    font-weight: bold;
    color: #333;
    box-shadow: 0 3px 10px rgba(255,215,0,0.3);
    font-size: 0.9rem;
}

/* Video Info Card */
.video-info-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 15px;
    margin-top: 15px;
}

.video-thumbnail {
    width: 100%;
    max-width: 300px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Botones Personalizados */
.btn-download {
    background: #28a745;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-download:hover {
    background: #218838;
    transform: scale(1.05);
    color: white;
}

.btn-primary-gradient {
    background: var(--primary-gradient);
    border: none;
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary-gradient:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
    color: white;
}

/* Loading Spinner */
.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Alert Messages */
.alert-custom {
    border-radius: 15px;
    border: none;
    padding: 15px 20px;
    font-weight: 500;
}

/* Interstitial Ad Modal */
.interstitial-modal .modal-content {
    border-radius: 20px;
    border: none;
}

.ad-timer {
    font-size: 1.3rem;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 20px;
}

.countdown-number {
    font-size: 2rem;
    color: #e74c3c;
}

/* Instructions Box */
.instructions-box {
    background: #e3f2fd;
    border-left: 3px solid #2196f3;
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 15px;
}

.instructions-box h3 {
    color: #1976d2;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.instructions-box ol {
    margin-bottom: 0;
    padding-left: 18px;
    font-size: 0.9rem;
}

.instructions-box li {
    margin: 4px 0;
    color: #555;
    line-height: 1.4;
}

/* Responsive ajustes */
@media (max-width: 768px) {
    .hero-tiktok,
    .hero-instagram,
    .hero-facebook {
        padding: 20px 0;
    }
    
    .hero-tiktok h1,
    .hero-instagram h1,
    .hero-facebook h1 {
        font-size: 1.75rem;
    }
    
    .ad-box {
        min-height: 180px;
        margin-bottom: 15px;
    }
    
    .video-thumbnail {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .btn-primary-gradient,
    .btn-download {
        width: 100%;
        margin-bottom: 10px;
    }
}

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

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* Mejoras de accesibilidad */
.btn:focus,
.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25);
    border-color: #667eea;
}

/* Enlaces en footer */
footer a:hover {
    opacity: 1 !important;
    color: white !important;
}

/* Navbar personalizada */
.navbar-custom {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-custom .nav-link {
    color: #333;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 50px;
    transition: all 0.3s;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    background: var(--primary-gradient);
    color: white !important;
}
