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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.4;
    color: #ffb800;

}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    padding: 0.5rem 0;

    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: #ededed;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 2rem;
}

.nav-link {
    color: #ededed;
    display: inline-block;
    padding: 0.6rem 1.5rem;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-family: inherit;
}

.nav-link:hover, .nav-link.active {
    background-color: #ffb800;
    color: black;
}

/* Menú Hamburguesa */
.nav-toggle {
    display: none; /* Oculto por defecto en escritorio */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 1001; /* Asegura que esté por encima del menú */
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: #ededed;
    border-radius: 10px;
    transition: all 0.3s linear;
    transform-origin: 1px;
}

/* Estado del menú abierto */
.nav-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg);
}

.nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.nav-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg);
}



/* Main Content */
.main-content {
    min-height: calc(100vh - 140px);
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('/img/login.jpg') center/cover no-repeat;
}

.main-content-courses {
    min-height: calc(107.3vh - 140px);
    padding-top: 120px;

    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('/img/login.jpg') center/cover no-repeat;
}

/* Hero Section */
/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('/img/bitcoin-pag-final.jpg') center/cover no-repeat;
    color: white;
    padding: 12rem 3rem 15rem 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.heroo {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('/img/bitcoin-pag-final.jpg') center/cover no-repeat;
    color: white;
    padding: 12rem 0 15rem 0;

    align-items: center;
    justify-content: flex-end;
}

.hero-content {
    max-width: 600px;

    margin-left: 10%;
    text-align: center;
}



.hero-content h1 {
    color: #ffb800;
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        justify-content: center;
    }
    
    .hero-content {
        margin-right: 0;
        padding: 0 20px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {

    /* 1. MOSTRAR el botón hamburguesa */
    .nav-toggle {
        display: flex; /* Muestra el botón hamburguesa */
    }

    /* 2. OCULTAR el menú de navegación por defecto */
    .nav-menu {
        display: none; /* Oculta la lista de enlaces por defecto */
        flex-direction: column;
        position: absolute;
        top: 0; /* Empieza desde la parte superior */
        right: 0;
        width: 70%; /* Ocupa un 70% del ancho de la pantalla */
        height: 100vh; /* Ocupa toda la altura de la vista */
        background-color: #1a1a1a; /* Fondo para el menú lateral */
        padding-top: 5rem; /* Deja espacio para el logo y el toggle */
        box-shadow: -2px 0 5px rgba(0,0,0,0.5);
        border-radius: 10px;
    }
    
    /* 3. Mostrar el menú cuando tenga la clase 'active' (Controlada por JS) */
    .nav-menu.active {
        display: flex; /* Muestra la lista de enlaces */
    }
    
    /* Ajustar los ítems del menú */
    .nav-item {
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-link {
        display: block; /* Ocupa todo el ancho del ítem */
        padding: 1rem 1.5rem; /* Más espacio en móvil */
        width: 100%;
        text-align: left;
    }
    
    /* Centrar el contenido para que el menú lateral se vea mejor */
    .nav-container {
        padding: 0 20px;
        height: 60px; /* Fija una altura para la barra de navegación */
    }

    .hero {
        justify-content: center;
    }
    
    .hero-content {
        margin-right: 0;
        padding: 0 20px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    font-size: 17px;
    background: linear-gradient(135deg, #ffd900, #ffaa00ec);
    color: rgb(0, 0, 0);

}


.btn-primary:hover {
    background-color: #2980b9;
}

.btn-secondary {
    background-color: transparent;
    color: #ffb800;
    border: 2px solid #ffb800;
}

.btn-secondary:hover {
    background-color: white;
    color: #333;
}

.btn-volver {
    background-color: transparent;
    color: rgb(0, 0, 0);
    border: 2px solid rgb(0, 0, 0);
}

.btn-volver:hover {
    background-color: rgb(50, 50, 50);
    color: #efefef;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: linear-gradient(565deg, #0d0d0f 24%, #2b353e 100%);
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: #232528;
    padding: 2rem;

    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(255, 213, 0, 0.313);
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: #d1d6db;
}

/* Video Trailer Section */
.video-trailer {
    padding: 5rem 0;
    background: linear-gradient(15deg, #edb924 0%, #171613 100%);
}

.video-trailer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.video-text h2 {
    font-size: 2.5rem;
    color: #f9f9f9;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.video-text p {
    font-size: 1.1rem;
    color: #f9f9f9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.trailer-features {
    display: grid;
    gap: 1rem;
}

.trailer-feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
    color: #f9f9f9;
}

.feature-check {
    color: #00ff6a;
    font-weight: bold;
    font-size: 1.2rem;
}

.video-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.video-wrapper {
    position: relative;
    aspect-ratio: 16/9;
    background: #000;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.play-overlay {
    box-shadow: inset 0px -10px 5px 0px #ffc107;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    opacity: 1;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.video-wrapper.playing .play-overlay {
    opacity: 0;
    pointer-events: none;
}

.play-button {
    transition: transform 0.3s ease;
}

.play-button:hover {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 968px) {
    .video-trailer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .video-text h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .video-trailer {
        padding: 3rem 0;
    }
    
    .trailer-features {
        grid-template-columns: 1fr;
    }
}

/* Auth Container */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 91vh;
    padding: 4rem 0;
}

.auth-form {
    background-color: rgb(24, 24, 24);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
    margin-top: 3rem;
}

.auth-form h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #ffb800;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ffb800;
    border-radius: 4px;
    font-size: 1rem;
    background-color: transparent;
    color: #ededed;
}

.form-group textarea {
    resize: vertical;
}

/* Message Styles */
.message {
    margin-top: 1rem;
    padding: 0.8rem;
    border-radius: 4px;
    text-align: center;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Courses Grid */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 5rem;
    margin-top: 2rem;

    justify-content: center;
}

.course-card {
    background-color: rgb(24, 24, 24);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    cursor: pointer;
}

.course-card:hover {
    transform: translateY(-5px);
}

.course-image {
    height: 200px;
    background-color: #3498db;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.course-content {
    padding: 1.5rem;
}

.course-content h3 {
    margin-bottom: 1rem;
    color: #ededed;
}

/* Contact Container */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 3rem 0;
}

.contact-info h2 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.contact-details {
    margin-top: 2rem;
}

.contact-details p {
    margin-bottom: 0.5rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
}

.modal-content {
    background-color: #191a1c;
    margin: 2% auto;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 1000px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.close {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #aaa;
}

.close:hover {
    color: #000;
}

/* Video Player */
.video-player {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

#course-video {
    width: 100%;
    height: 400px;
    background-color: #000;
}

.video-info {
    margin-bottom: 1rem;
}

.video-playlist {
    grid-column: 1 / -1;
}

.video-playlist h4 {
    margin-bottom: 1rem;
}

#video-list {
    list-style: none;
}

#video-list li {
    padding: 0.8rem;
    border-bottom: 1px solid #ffb800;
    cursor: pointer;
}

#video-list li:hover {
    background-color: #f5f5f5;
    color: #111111;
}

#video-list li.active {
    background-color: #c4900f;
    font-weight: bold;
}

/* Footer */
.footer {

    background-color: rgb(24, 24, 24);
    color: #b4b4b4;
    text-align: center;
    padding: 2rem 0;
}

.footer-principal {
    background-color: rgb(24, 24, 24);
    backdrop-filter: blur(5px);
    color: #ffffff;
    text-align: center;
    padding: 2rem 0;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        width: 60%;
    }
    
    .nav-item {
        margin: 0.5rem 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .video-player {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Estilos adicionales para el sistema completo */
.role-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

.role-badge.admin {
    background-color: #e74c3c;
    color: white;
}

.role-badge.student {
    background-color: #3498db;
    color: white;
}

.contact-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.contact-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

.contact-date {
    color: #6c757d;
    font-size: 0.9rem;
}

.contact-message {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 4px;
    margin-top: 0.5rem;
}

.courses-assignment {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1rem;
}

.course-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border: 1px solid #eee;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.course-info h5 {
    margin: 0;
    color: #ededed;
}

.course-info p {
    margin: 0.25rem 0;
    color: #9ea6ac;
    font-size: 0.9rem;
}

/* Mejoras para los modales */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {

    margin: 2% auto;
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.large-modal {
    max-width: 900px;
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6c757d;
}

.close:hover {
    color: #2c3e50;
}

/* Estilos para el panel de estudiantes */
.no-courses-message {
    text-align: center;
    padding: 3rem;
    background: rgb(24, 24, 24);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.message-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.no-courses-message h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.no-courses-message p {
    color: #6c757d;
    margin-bottom: 2rem;
}

.message-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    margin: 1rem 0;
    font-size: 0.9rem;
}

.price {
    color: #27ae60;
    font-weight: bold;
}

.videos {
    color: #969fa6;
}

.course-progress {
    margin-top: 1rem;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background-color: #ecf0f1;
    border-radius: 3px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background-color: #3498db;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 0.25rem;
    display: block;
}

/* Mejoras para el reproductor de video */
.video-item-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.video-number {
    background: #3498db;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.video-details {
    flex: 1;
}

.video-duration {
    font-size: 0.8rem;
    color: #6c757d;
}

/* Botones de navegación de video */
.video-navigation {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: center;
}

/* Búsqueda y filtros */
.courses-controls {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.search-box {
    flex: 1;
    min-width: 250px;
}

.filter-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-outline {
    background: transparent;
    border: 1px solid #3498db;
    color: #3498db;
}

.btn-outline:hover {
    background: #3498db;
    color: white;
}

.btn-outline.active {
    background: #3498db;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .courses-controls {
        flex-direction: column;
    }
    
    .search-box {
        min-width: 100%;
    }
    
    .message-actions {
        flex-direction: column;
    }
    
    .video-item-info {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

/* Estilos para la página de login */
.auth-subtitle {
    text-align: center;
    color: #dfe3e7;
    margin-bottom: 2rem;
}

.login-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.login-info h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
    font-size: 1.1rem;
}

.credentials {
    display: grid;
    gap: 1rem;
}

.credential-item {
    padding: 1rem;
    background: white;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.credential-item strong {
    color: #2c3e50;
    display: block;
    margin-bottom: 0.5rem;
}

.credential-item p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
}

.credential-item code {
    background: #e9ecef;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: monospace;
}

.auth-links {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.auth-links a {
    color: #3498db;
    text-decoration: none;
}

.auth-links a:hover {
    text-decoration: underline;
}

/* Mejoras responsive para login */
@media (max-width: 768px) {
    .auth-form {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .credentials {
        grid-template-columns: 1fr;
    }
}

/* Animaciones para el login */
.auth-form {
    animation: fadeInUp 0.6s ease;
}

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

/* Estilos específicos para el panel de estudiante */
.student-hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('/img/frontend-estudiantes.png') center/cover no-repeat;
}



.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    color: #ffb800;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: #ededed;
    font-size: 1.1rem;
}

.feature-icon, .action-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.action-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.action-card {
    background: rgb(24, 24, 24);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.quick-actions {
    
    padding: 4rem 0;
}


.contact-method {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.contact-method h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.common-issues {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #fff3cd;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
}

.common-issues h3 {
    color: #856404;
    margin-bottom: 1rem;
}

.common-issues ul {
    list-style: none;
    padding: 0;
}

.common-issues li {
    padding: 0.5rem 0;
    color: #856404;
}

.contact-note {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #e8f4fd;
    border-radius: 6px;
    border-left: 4px solid #3498db;
}

.contact-note p {
    margin: 0;
    color: #2c3e50;
    font-size: 0.9rem;
}

/* Mejoras para el reproductor de video */
.video-player-container {
    display: grid;
    gap: 2rem;
}

.video-main {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#course-video {
    width: 100%;
    height: 400px;
    background: #000;
    border-radius: 8px;
}

/* Búsqueda y filtros */
.courses-controls {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.search-box {
    flex: 1;
    min-width: 300px;
}

.search-box input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.filter-buttons {
    display: flex;
    gap: 0.5rem;
}

/* Botones de estado */
.btn-loading {
    display: none;
}

.btn:disabled .btn-text {
    display: none;
}

.btn:disabled .btn-loading {
    display: inline;
}

/* Responsive */
@media (max-width: 768px) {
    .video-player-container {
        grid-template-columns: 1fr;
    }
    
    .courses-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        min-width: 100%;
    }
    
    .action-cards {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}

/* Estilos para la página principal pública */
.text-center {
    text-align: center;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.courses-preview {
    padding: 5rem ;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('/img/tether.png') center/cover no-repeat;
}

.course-preview-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.course-preview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(246, 204, 36, 0.262);
}

.course-preview-image-1 {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(/img/binance.png) center / cover no-repeat;
}

.course-preview-image-2 {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(/img/invertir-en-criptomonedas.jpg) center / cover no-repeat;
}


.course-preview-content {
    padding: 1.5rem;
    background-color: #222;
    color: #ffffff;
    
}

.course-preview-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.text-white {
    color: #ffffff;
    font-size: 35px;
    max-width: 100%;
    
}

.price {
    color: #17d333;
    font-weight: bold;
    font-size: 1.1rem;
}

.duration {
    color: #a8b1b9;
    font-size: 0.9rem;
}

.contact-preview {
    padding: 4rem 0;
    background: linear-gradient(565deg, #0d0d0f 24%, #2b353e 100%);
    color: white;
    text-align: center;
}

.contact-preview-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.contact-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Footer mejorado */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ffffff;
    text-decoration: none;
}

.footer-section ul li a:hover {
    color: #141414;
    background: linear-gradient(135deg, #ffd900, #ffaa00ec);
    padding: 0.3rem;
    border-radius: 5px;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1rem;
    text-align: center;
    color: #b4b4b4;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}


.quick-actions {
    text-align: center;
}


/* Estilos para el reproductor de video */
.video-player-container {
    display: grid;
    gap: 2rem;
    margin-top: 1rem;
}

.video-main {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#course-video {
    width: 100%;
    height: 400px;
    background: #000;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.video-info {
    background: #3b3c3f;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #ffb800;
}

.video-info h3 {
    color: #ffb800;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.video-info p {
    color: #b9c3cb;
    line-height: 1.5;
    margin: 0;
}

.video-navigation {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.video-navigation .btn {
    min-width: 120px;
}

.video-playlist {
    background: #111111;
    padding: 1.5rem;
    border-radius: 8px;
    max-height: 600px;
    overflow-y: auto;
}

.video-playlist h4 {
    color: #ffb800;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #ffb800;
}

#video-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.video-list-item {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 6px;
    margin-bottom: 0.5rem;
}

.video-list-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.video-list-item.active {
    background: #191a1c;
    color: #222;
    border-left: 4px solid #ffb800;
}

.video-item-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.video-number {
    background: #6c757d;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.video-list-item.active .video-number {
    background: white;
    color: #111111;
}

.video-details {
    flex: 1;
}

.video-details strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.video-duration {
    font-size: 0.8rem;
    color: #6c757d;
}

.video-list-item.active .video-duration {
    color: rgba(21, 21, 21, 0.8);
}

/* Responsive */
@media (max-width: 968px) {
    .video-player-container {
        grid-template-columns: 1fr;
    }
    
    .video-playlist {
        max-height: 300px;
    }
}

@media (max-width: 768px) {
    #course-video {
        height: 300px;
    }
    
    .video-navigation {
        flex-direction: column;
    }
    
    .video-navigation .btn {
        width: 100%;
    }
}

.video-description {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 0.25rem;
    font-style: italic;
}

.video-list-item.active .video-description {
    color: #222;
}

/* Botón Flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
}

.whatsapp-link {
    display: flex;
    align-items: center;
    background: #25D366;
    color: white;
    text-decoration: none;
    padding: 10px 7px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-link:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
    color: white;
    text-decoration: none;
}

.whatsapp-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
}

.whatsapp-text {
    white-space: nowrap;
}

/* Animación de pulso */
@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.8);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* Efecto de notificación */
.whatsapp-link::before {
    content: '';
    position: absolute;
    top: -5px;
    right: -5px;
    width: 12px;
    height: 12px;
    background: #FF4444;
    border-radius: 50%;
    border: 2px solid white;
    animation: ping 1.5s infinite;
}

@keyframes ping {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-link {
        padding: 10px 16px;
        font-size: 0.8rem;
    }
    
    .whatsapp-text {
        display: none; /* Ocultar texto en móviles si prefieres */
    }
    
    .whatsapp-icon {
        margin-right: 0;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-link {
        padding: 12px;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .whatsapp-text {
        display: none;
    }
}