body, html {
    height: 100%;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
}

.hero {
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
    position: relative;
    transition: background 0.5s ease;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

.logo {
    position: absolute;
    max-width: 150px;
    z-index: 10;
}

.top-left { top: 20px; left: 20px; }
.top-center { top: 20px; left: 50%; transform: translateX(-50%); }
.top-right { top: 20px; right: 20px; }
.bottom-left { bottom: 60px; left: 20px; }
.bottom-right { bottom: 60px; right: 20px; }

h1.display-4 {
    font-size: 3.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-top: 80px;
    position: relative;
    z-index: 1;
}

p.lead {
    font-size: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: nowrap;
    max-width: 100%;
    padding: 0 10px;
    position: relative;
    z-index: 1;
}

.time {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0.2));
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3), inset 0 2px 4px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    min-width: 90px;
    flex: 0 0 auto;
    text-align: center;
    transition: transform 0.3s ease;
}

.time:hover {
    transform: scale(1.05);
}

.time span {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.time small {
    font-size: 1rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}

.flip { animation: flip 0.5s ease; }
.fade { animation: fade 0.5s ease; }
.bounce { animation: bounce 0.5s ease; }

@keyframes flip {
    0% { transform: rotateX(0deg); }
    100% { transform: rotateX(360deg); }
}

@keyframes fade {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.bg-fade { animation: bgFade 1s ease; }
.bg-slide { animation: bgSlide 1s ease; }

@keyframes bgFade {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes bgSlide {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(0); }
}

.social-media {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.social-media a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-media a:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.social-media .facebook { background: #1877F2; color: #fff; }
.social-media .twitter { background: #000000; color: #fff; }
.social-media .instagram { background: #E4405F; color: #fff; }

.x-logo {
    font-weight: bold;
    font-size: 20px;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    background: #25D366;
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    margin-top: 20px;
    transition: background 0.3s ease;
    position: relative;
    z-index: 1;
}

.whatsapp-btn:hover {
    background: #1ebe52;
    color: #fff;
}

.whatsapp-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.settings-btn {
    position: fixed;
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 1000;
    animation: pulse 2s infinite;
    display: none;
}

.top-left-btn { top: 10px; left: 10px; }
.top-right-btn { top: 10px; right: 10px; }
.bottom-left-btn { bottom: 10px; left: 10px; }
.bottom-right-btn { bottom: 10px; right: 10px; }

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

.footer {
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    padding: 10px 0;
    text-align: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
}

.modal-content {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: #f8f9fa;
}

.modal-header, .modal-footer {
    border: none;
}

.form-group {
    margin-bottom: 15px;
}

.form-control, .form-control-file {
    border-radius: 5px;
}

@media (max-width: 768px) {
    h1.display-4 {
        font-size: 2.5rem;
    }
    p.lead {
        font-size: 1.2rem;
    }
    .logo {
        max-width: 120px;
    }
    .countdown {
        gap: 10px;
        padding: 0 5px;
    }
    .time {
        min-width: 70px;
        padding: 10px;
    }
    .time span {
        font-size: 2rem;
    }
    .time small {
        font-size: 0.9rem;
    }
    .social-media {
        gap: 15px;
    }
    .social-media a {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    h1.display-4 {
        font-size: 2rem;
    }
    p.lead {
        font-size: 1rem;
    }
    .logo {
        max-width: 100px;
    }
    .countdown {
        gap: 8px;
        padding: 0 5px;
    }
    .time {
        min-width: 60px;
        padding: 8px;
    }
    .time span {
        font-size: 1.6rem;
    }
    .time small {
        font-size: 0.8rem;
    }
    .social-media {
        gap: 10px;
    }
    .social-media a {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    .whatsapp-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    .modal-dialog {
        margin: 0;
        width: 100%;
        max-width: 100%;
    }
}