/* Estilos generales */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Estilos específicos para Netflix */
body.netflix-page {
    background-image: url('../img/Bg1.jpg'); /* Fondo de Netflix */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 20px;
}


/* Header & Navbar */
.navbar {
    background-color: rgba(51, 51, 51, 0.8); /* Fondo semi-transparente */
    padding: 10px 20px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar .logo-container {
    display: flex;
    align-items: center;
}

.navbar img {
    height: 60px; /* Tamaño ajustado del logotipo */
}

/* Main Content */
.main-content {
    flex: 1;
    text-align: center;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Section */
.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #fff;
}

.hero p {
    font-size: 18px;
    color: #ddd;
    margin-bottom: 30px;
}

/* Email Form */
.email-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 400px;
}

.email-form input {
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
}

.email-form button {
    padding: 12px;
    background-color: #e50914;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
}

.email-form button:hover {
    background-color: #b20710;
}

/* Notification */
.notification {
    background-color: rgba(255, 0, 0, 0.8);
    padding: 10px;
    border-radius: 8px;
    max-width: 400px;
    margin: 20px auto;
    color: #f8f7f7;
    text-align: center;
    font-size: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.notification-text {
    font-weight: bold;
}

/* Email Content Section */
.email-content {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 90%;
    margin: 20px auto;
    overflow: auto;
}

.email-header {
    background-color: #e50914;
    color: white;
    padding: 10px;
    border-radius: 8px 8px 0 0;
    text-align: center;
    font-weight: bold;
}

.email-body {
    padding: 20px;
    font-size: 14px;
    color: #333;
    word-break: break-word;
}

.email-footer {
    margin-top: 20px;
    font-size: 12px;
    color: #777;
    text-align: center;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

/* Instructions Section */
.instructions-section {
    margin-top: 40px;
    padding: 30px 20px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    width: 100%;
    margin: 30px auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.instructions-section h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #e50914;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Grid Layout for Instructions */
.instructions-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    width: 100%;
}

.instruction-step {
    background: rgba(40, 40, 40, 0.8);
    border-radius: 8px;
    padding: 20px;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.instruction-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

.step-number {
    position: absolute;
    top: -15px;
    left: calc(50% - 15px);
    width: 30px;
    height: 30px;
    background-color: #e50914;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.step-image {
    width: 100%;
    margin: 15px 0;
    display: flex;
    justify-content: center;
}

.instructions-img {
    width: 100%;
    max-width: 120px;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.step-description {
    font-size: 14px;
    margin-top: 10px;
    color: #ddd;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 992px) {
    .instructions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .instruction-step:nth-child(4),
    .instruction-step:nth-child(5) {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .instructions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .navbar {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .main-content {
        padding: 15px 10px;
    }

    .hero h1 {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .email-form input, 
    .email-form button {
        font-size: 15px;
        padding: 12px;
    }

    .notification {
        max-width: 280px;
        font-size: 13px;
        padding: 8px;
    }

    .instructions-section h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .instruction-step {
        padding: 15px;
    }

    .step-description {
        font-size: 14px;
    }
}

@media screen and (max-width: 480px) {
    .instructions-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .email-form input, 
    .email-form button {
        font-size: 13px;
        padding: 10px;
    }

    .notification {
        max-width: 220px;
        font-size: 11px;
        padding: 6px;
    }

    .instructions-section h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .instruction-step {
        padding: 12px;
        margin-bottom: 15px;
    }
    
    .instructions-img {
        max-width: 100px;
    }

    .step-description {
        font-size: 13px;
    }
}