@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #000000;
    color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Fondo con efecto de partículas */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #7c79ed;
    border-radius: 50%;
    animation: float 20s linear infinite;
}

@keyframes float {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) scale(1);
        opacity: 0;
    }
}

/* Hero Section - Alternativa 6 */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 30px;
    padding: 50px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, rgba(124, 121, 237, 0.1) 1px, transparent 1px) 0 0 / 100px 100px,
        linear-gradient(0deg, rgba(124, 121, 237, 0.1) 1px, transparent 1px) 0 0 / 100px 100px;
    animation: grid-slide 20s linear infinite;
    transform: perspective(1000px) rotateX(60deg);
    transform-origin: top;
    opacity: 0.3;
}

.hero-text {
    grid-column: 2 / 7;
    align-self: center;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 600px;
}

.hero-text h1 {
    font-size: 8rem;
    font-weight: 800;
    color: #7c79ed;
    line-height: 0.9;
    margin-bottom: 40px;
    position: relative;
    mix-blend-mode: difference;
}

.hero-text .subtitle {
    font-size: 1.8rem;
    margin-bottom: 40px;
    position: relative;
}

.presenta-section {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.logo-presenta {
    height: 200px;
    width: auto;
    transition: all 0.3s ease;
}

.presenta-text {
    font-size: 1.6rem;
    font-weight: 400;
    color: #FFFFFF;
    text-transform: lowercase;
    opacity: 0.8;
}

.hero-text .collaboration {
    font-size: 1.2rem;
    margin-bottom: 0;
    opacity: 0.8;
    margin-right: 20px;
}

.logo-sapos {
    margin: auto 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
}

.logo-sapos img {
    width: 230px;
    height: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.hero-poster {
    grid-column: 8 / 12;
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-poster img {
    width: 85%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    transform: rotateY(20deg) rotateX(10deg);
    transition: transform 0.5s ease;
    box-shadow: 
        20px 20px 60px rgba(124, 121, 237, 0.3),
        -20px -20px 60px rgba(124, 121, 237, 0.3);
}

/* Ajuste responsive para el cartel */
@media (min-width: 1400px) {
    .hero-poster img {
        max-width: 600px;
    }
}

/* Responsive */
@media (max-width: 1600px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 30px;
    }

    .hero-text,
    .hero-poster {
        grid-column: 1 / -1;
    }

    .hero-text {
        min-height: auto;
        padding: 30px 0;
    }

    .hero-text h1 {
        font-size: 5rem;
    }

    .logo-sapos {
        justify-content: center;
    }

    .presenta-section {
        justify-content: center;
    }

    .hero-poster img {
        max-width: 400px;
        margin: 0 auto;
        transform: none;
    }

    .sorteo-flex {
        flex-direction: column;
        position: relative;
    }

    .material-preview,
    .form-container {
        flex: 0 1 auto;
        width: 100%;
        max-width: 600px;
    }

    .thank-you-message {
        margin-top: 30px;
        padding: 40px 10px;
    }

    h2 {
        font-size: 4rem !important;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 20px;
    }

    .hero-text h1 {
        font-size: 3.5rem;
    }

    .hero-text .subtitle {
        font-size: 1.4rem;
        padding: 0 10px;
    }

    .logo-sapos {
        flex-direction: column;
    }

    .logo-sapos img {
        width: 180px;
        height: auto;
    }

    .hero-poster img {
        max-width: 300px;
    }

    .sorteo h2,
    .mission h2,
    .trailer h2 {
        font-size: 3rem !important;
    }

    .form-grid {
        grid-template-columns: 1fr !important;
    }

    .form-container {
        padding: 30px 10px;
    }

    .mission-card {
        min-width: 100%;
    }

    .social-links {
        gap: 20px;
        padding: 0 10px;
    }

    .legal-links a {
        display: block;
        margin: 10px 0;
    }

    .thank-you-message {
        padding: 30px 10px;
        margin-top: 20px;
    }
    
    .thank-you-message h3 {
        font-size: 2rem;
    }
    
    .thank-you-message p {
        font-size: 1.1rem;
    }

    .download-link {
        padding: 15px 30px;
        font-size: 1rem;
    }

    .logo-sapos {
        flex-direction: column;
    }

    .presenta-section {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 20px;
    }

    .logo-presenta {
        height: 130px;
    }

    .presenta-text {
        font-size: 1.2rem;
    }

    .logo-sapos img {
        width: 180px;
        height: auto;
    }
}

/* Sorteo Section - Alternativa 3 */
.sorteo {
    padding: 150px 0 50px;
    background: linear-gradient(180deg, #000 0%, #111 100%);
    position: relative;
    overflow: hidden;
}

.sorteo-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5px;
    position: relative;
}

.sorteo-header {
    text-align: center;
    margin-bottom: 100px;
}

.sorteo h2 {
    font-size: 5rem;
    color: #7c79ed;
    margin-bottom: 30px;
    font-weight: 800;
    letter-spacing: -2px;
}

.sorteo .subtitle {
    font-size: 1.5rem;
    margin-bottom: 60px;
}

.sorteo-flex {
    display: flex;
    gap: 80px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.material-preview {
    flex: 0 1 400px;
    position: relative;
}

.material-preview img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 40px 80px rgba(124, 121, 237, 0.4);
    transition: transform 0.5s ease;
}

/* Mission Section - Alternativa 3 */
.mission {
    padding: 100px 0;
    background: #000;
    position: relative;
    overflow: hidden;
}

.mission-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
}

.mission h2 {
    text-align: center;
    font-size: 5rem;
    color: #7c79ed;
    margin-bottom: 30px;
    font-weight: 800;
    letter-spacing: -2px;
}

.mission .subtitle {
    font-size: 1.5rem;
    margin-bottom: 60px;
    text-align: center;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.mission-steps {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
    perspective: 1000px;
}

.mission-card {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    background: rgba(124, 121, 237, 0.05);
    padding: 60px 40px;
    border-radius: 30px;
    border: 1px solid rgba(124, 121, 237, 0.2);
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
    transform-style: preserve-3d;
    cursor: pointer;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(124, 121, 237, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.mission-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(124, 121, 237, 0.1),
        transparent
    );
    transform: rotate(45deg);
    animation: shine 6s linear infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.mission-card:hover {
    transform: translateY(-20px) scale(1.05);
    background: rgba(124, 121, 237, 0.1);
    box-shadow: 
        0 20px 40px rgba(124, 121, 237, 0.3),
        0 0 30px rgba(124, 121, 237, 0.2) inset;
    border-color: rgba(124, 121, 237, 0.4);
}

.mission-card:hover::before {
    opacity: 1;
}

.mission-card:hover::after {
    opacity: 1;
}

.mission-card:hover .card-number {
    color: rgba(124, 121, 237, 0.4);
    transform: translateZ(20px);
}

.mission-card:hover .card-content {
    transform: translateZ(30px);
}

.card-number {
    font-size: 8rem;
    font-weight: 800;
    color: rgba(124, 121, 237, 0.2);
    position: absolute;
    top: 20px;
    right: 30px;
    line-height: 1;
    transition: all 0.4s ease;
    transform-style: preserve-3d;
}

.card-content {
    position: relative;
    z-index: 1;
    font-size: 1.2rem;
    line-height: 1.6;
    transition: transform 0.4s ease;
    transform-style: preserve-3d;
}

.note {
    font-size: 0.9rem;
    color: #ffffff;
    opacity: 0.7;
    margin-top: 15px;
}

/* Trailer Section - Alternativa 3 con modificaciones */
.trailer {
    padding: 150px 0;
    background: linear-gradient(0deg, #000 0%, #111 100%);
    position: relative;
    overflow: hidden;
}

.trailer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    text-align: center;
}

.trailer h2 {
    font-size: 5rem;
    color: #7c79ed;
    margin-bottom: 80px;
    font-weight: 800;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.2;
    letter-spacing: -2px;
}

.video-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 
        0 40px 80px rgba(124, 121, 237, 0.3),
        0 0 20px rgba(124, 121, 237, 0.5);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Footer - Alternativa 5 con modificaciones */
footer {
    padding: 100px 0 50px;
    background: #000;
    position: relative;
    overflow: hidden;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    padding: 0 20px;
}

.social-links a {
    color: #7c79ed;
    font-size: 28px;
    transition: all 0.3s ease;
    position: relative;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    background: rgba(124, 121, 237, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.3s ease;
}

.social-links a:hover {
    color: #ffffff;
    transform: translateY(-5px);
}

.social-links a:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.footer-info {
    text-align: center;
    padding: 0 20px;
}

.legal-links {
    margin-bottom: 30px;
}

.legal-links a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.9rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.legal-links a:hover {
    opacity: 1;
}

.copyright {
    color: #ffffff;
    font-size: 0.8rem;
    opacity: 0.5;
}

/* Formulario */
.form-container {
    flex: 0 1 600px;
    background: rgba(124, 121, 237, 0.05);
    padding: 60px 10px;
    border-radius: 30px;
    border: 1px solid rgba(124, 121, 237, 0.2);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
    width: 100%;
}

.form-container::before {
    content: none;
}

.form-container::after {
    content: none;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group.full {
    grid-column: 1 / -1;
}

.custom-form {
    position: relative;
    z-index: 2;
    background: transparent;
}

.custom-form input {
    width: 100%;
    padding: 20px 25px;
    background: rgba(255,255,255,0.03);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 15px;
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.custom-form input:focus {
    outline: none;
    background: rgba(124, 121, 237, 0.1);
    border-color: #7c79ed;
    transform: translateY(-2px);
}

.custom-form input.valid {
    border-color: #4CAF50;
    background-color: rgba(76, 175, 80, 0.1);
}

.custom-form input.invalid {
    border-color: #f44336;
    background-color: rgba(244, 67, 54, 0.1);
}

.custom-form input::placeholder {
    color: rgba(255,255,255,0.4);
}

.error-message {
    position: absolute;
    left: 0;
    bottom: -20px;
    font-size: 0.8rem;
    color: #f44336;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.privacy-check {
    grid-column: 1 / -1;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin: 20px 0;
    position: relative;
    padding-bottom: 1.5rem;
}

.privacy-check input[type="checkbox"] {
    width: 24px;
    height: 24px;
    accent-color: #7c79ed;
    margin-top: 2px;
}

.privacy-label {
    color: #ffffff;
    font-size: 0.9rem;
    line-height: 1.4;
}

.privacy-label a {
    color: #7c79ed;
    text-decoration: none;
}

.privacy-label a:hover {
    text-decoration: underline;
}

.download-btn {
    grid-column: 1 / -1;
    background: #7c79ed;
    color: white;
    border: none;
    padding: 20px;
    font-size: 1.2rem;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
    margin-top: 1rem;
}

.download-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    background: #6b68d4;
    box-shadow: 0 20px 40px rgba(124, 121, 237, 0.3);
}

.download-btn:disabled {
    background: #444;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Estilos para el mensaje de agradecimiento */
.thank-you-message {
    text-align: center;
    padding: 60px 40px;
    background: rgba(124, 121, 237, 0.1);
    border-radius: 30px;
    border: 2px solid rgba(124, 121, 237, 0.3);
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.thank-you-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(124, 121, 237, 0.1), transparent);
    animation: shine 3s ease-in-out infinite;
    pointer-events: none;
}

.thank-you-message h3 {
    font-size: 2.5rem;
    color: #7c79ed;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.thank-you-message p {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 40px;
    opacity: 0.9;
}

.download-link {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: #7c79ed;
    color: white;
    text-decoration: none;
    padding: 20px 40px;
    border-radius: 15px;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(124, 121, 237, 0.3);
    position: relative;
    z-index: 1;
}

.download-link:hover {
    background: #6b68d4;
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(124, 121, 237, 0.4);
}

.download-link i {
    font-size: 1.4rem;
    animation: bounce 2s infinite;
}

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