:root {
    --primary-color: #FFD700; /* Amarillo Comercial */
    --secondary-color: #000000; /* Negro Profundo */
    --text-white: #FFFFFF;
    --font-global: 'Poppins', sans-serif;
}

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

body, html {
    height: 100%;
    width: 100%;
    font-family: var(--font-global);
    overflow: hidden;
    background-color: var(--secondary-color);
}

/* Banners Marquee */
.banner {
    position: fixed;
    width: 100%;
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 12px 0;
    z-index: 10;
    overflow: hidden;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.top-banner { top: 0; }
.bottom-banner { bottom: 0; }

.banner-track {
    display: flex;
    white-space: nowrap;
    animation: marquee 40s linear infinite;
}

.banner-track span {
    padding-right: 60px;
}

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

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: var(--secondary-color);
}

.zoom-effect {
    animation: zoomHero 25s infinite alternate ease-in-out;
}

@keyframes zoomHero {
    from { transform: scale(1); }
    to { transform: scale(1.15); }
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.8) 0%,
        rgba(0,0,0,0.4) 50%,
        rgba(0,0,0,0.9) 100%
    );
    z-index: 2;
}

/* Content */
.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--text-white);
    max-width: 1000px;
    padding: 2rem;
}

.logo {
    font-size: clamp(4.5rem, 18vw, 10rem);
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: -4px;
    line-height: 0.85;
    opacity: 0;
    transform: scale(0.8);
    animation: logoEnter 1.2s cubic-bezier(0.2, 1, 0.3, 1) forwards;
}

@keyframes logoEnter {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.status-badge-container {
    overflow: hidden;
    margin-bottom: 2rem;
}

.status-badge {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 6px 25px;
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: 50px;
    letter-spacing: 4px;
    transform: translateY(100%);
    animation: slideUp 0.8s 0.4s cubic-bezier(0.2, 1, 0.3, 1) forwards;
}

.reveal-up {
    font-size: clamp(2rem, 7vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1;
    letter-spacing: -1px;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1s 0.7s cubic-bezier(0.2, 1, 0.3, 1) forwards;
}

.fade-in-up {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 3.5rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s 0.9s cubic-bezier(0.2, 1, 0.3, 1) forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    to { transform: translateY(0); }
}

/* Button & Effects */
.pulse-button {
    position: relative;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    padding: 22px 60px;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    animation: fadeInUp 1s 1.2s cubic-bezier(0.2, 1, 0.3, 1) forwards, pulseShadow 2s infinite;
    overflow: hidden;
}

.pulse-button:hover {
    transform: scale(1.05) translateY(-5px);
    background-color: #FFFFFF;
}

.shine-effect::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255,255,255,0.4);
    transform: rotate(30deg);
    transition: none;
    animation: shine 4s infinite;
}

@keyframes shine {
    0% { left: -60%; }
    15% { left: 130%; }
    100% { left: 130%; }
}

@keyframes pulseShadow {
    0% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.6); }
    70% { box-shadow: 0 0 0 25px rgba(255, 215, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
}

/* Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    display: flex; /* Always display flex but hidden via visibility/opacity */
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

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

.popup-content {
    background: #111;
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    border: 1px solid #333;
    transform: scale(0.9) translateY(20px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
}

.popup-overlay.active .popup-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #555;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover {
    color: var(--primary-color);
}

.popup-header {
    text-align: center;
    margin-bottom: 30px;
}

.popup-header h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.popup-header p {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 0;
    line-height: 1.5;
}

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

.form-group label {
    display: block;
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 18px;
    background: #222;
    border: 2px solid #444;
    border-radius: 8px;
    color: white;
    font-size: 1.1rem;
    font-family: var(--font-global);
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-btn {
    width: 100%;
    padding: 22px;
    background: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 8px;
    font-weight: 800;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 15px;
}

.submit-btn:hover {
    background: #fff;
    transform: translateY(-2px);
}

/* Media Queries */
@media (max-width: 768px) {
    .logo { font-size: 5rem; letter-spacing: -2px; }
    .reveal-up { font-size: 2.5rem; }
    .pulse-button { padding: 18px 40px; font-size: 1rem; }
    .popup-content { padding: 30px 20px; }
}

@media (max-width: 480px) {
    .hero-content { padding: 1rem; }
    .logo { font-size: 3rem; margin-bottom: 0.5rem; }
    .status-badge { font-size: 0.7rem; padding: 5px 15px; margin-bottom: 1.5rem; }
    .reveal-up { font-size: 1.8rem; margin-bottom: 1rem; }
    .fade-in-up { font-size: 1rem; margin-bottom: 2rem; max-width: 90%; }
    .pulse-button { padding: 15px 25px; font-size: 0.9rem; width: 100%; white-space: normal; line-height: 1.4; }
    
    /* Popup Adjustments for Mobile */
    .popup-content { width: 95%; padding: 25px 15px; max-height: 90vh; overflow-y: auto; }
    .popup-header h3 { font-size: 1.5rem; }
    .popup-header p { font-size: 1rem; }
    .form-group input { padding: 14px; font-size: 1rem; }
    .submit-btn { padding: 18px; font-size: 1rem; margin-top: 10px; }
    .close-btn { top: 10px; right: 15px; font-size: 1.5rem; }
}
