/*LECTURA*/
/*header*/
header {
    padding: 1.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px;
    position: relative;
}
header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%; /* Margen izquierdo */
    right: 10%; /* Margen derecho */
    height: 3px; /* Grosor fino */
    background: black;
    opacity: 50%;
}
nav {
    flex: 2; /* Ocupa más espacio para centrar */
    display: flex;
    justify-content: center; /* Centrar el menú */
}
nav ul {
    display: flex;
    list-style: none;
    gap: 5rem;
    margin: 0;
    padding: 0;
}
nav a {
    text-decoration: none;
    color: black;
    font-family: 'Cormorant Garamond';
    font-weight: 500;
    font-size: 1.7rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    cursor: pointer;
    transition: all 0.3s ease; /* Transición para todos los efectos */
    display: inline-block; /* Necesario para transform */
}
nav a:hover {
    color: #ff6b6b;
    transform: scale(1.1); /* Efecto de agrandamiento */
    text-shadow: 0 2px 8px rgba(91, 91, 91); /* Sombra sutil para profundidad */
}
.user-menu {
    display: flex;
    justify-content: center;
}
.user-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px black;
    border-radius: 50%;
    text-decoration: none;
    color: black;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
}
.user-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
    border-color: black;
}

.user-icon svg {
    transition: transform 0.3s ease;
}

.user-icon:hover svg {
    transform: scale(1.1);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: #fefefe;
    color: #333;
    line-height: 1.6;
}

/* VIDEO REPRODUCTOR */
.video-reproductor {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 4rem;
}

/* CONTENEDOR DEL VIDEO */
.video-container-grande {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 2rem auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    background: #000;
}
.video-container-grande video {
    width: 100%;
    height: auto;
    display: block;
}

/* INFORMACIÓN DETALLADA DEL VIDEO */
.video-info-abajo {
    max-width: 1000px;
    margin: 0 auto 3rem auto;
    padding: 0 1rem;
}

.info-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}
.video-info-abajo h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.3;
    color: #333;
    flex: 1;
    margin: 0;
}

/* ACCIONES DEL VIDEO */
.video-acciones {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}
.btn-accion {
    background: transparent;
    border: 1px solid #e0e0e0;
    color: #666;
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-accion:hover {
    background: #f8f8f8;
    border-color: #ccc;
    color: #333;
    transform: translateY(-1px);
}

.btn-accion.active {
    background: #f0f0f0;
    border-color: #ccc;
    color: #333;
}

.btn-accion svg {
    transition: all 0.3s ease;
}
.btn-accion:hover svg {
    transform: scale(1.1);
}
/* DESCRIPCIÓN DEL VIDEO */
.video-descripcion {
    max-width: 800px;
}

.video-descripcion p {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
}

/* VIDEOS SUGERIDOS */
.videos-sugeridos {
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid #f0f0f0;
}

.videos-sugeridos h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: #333;
    margin-bottom: 1.5rem;
}
.sugeridos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.video-sugerido {
    display: flex;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.8rem;
    border-radius: 8px;
}

.video-sugerido:hover {
    background: #fafafa;
    transform: translateY(-2px);
}
.sugerido-miniatura {
    width: 140px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.sugerido-miniatura img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sugerido-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.sugerido-info h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: #333;
    line-height: 1.3;
    margin-bottom: 0.3rem;
}

.sugerido-duracion {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #666;
    align-self: flex-start;
}

/* RESPONSIVE */
@media (max-width: 968px) {
    .video-reproductor {
        padding: 2rem;
    }
    
    .video-container-grande {
        max-width: 100%;
    }
    
    .info-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .video-acciones {
        align-self: flex-start;
    }
}
@media (max-width: 768px) {
    .header-solid {
        padding: 1.5rem 2rem;
    }
    
    .video-reproductor {
        padding: 1.5rem;
    }
    
    .video-info-abajo h1 {
        font-size: 1.6rem;
    }
    
    .video-acciones {
        flex-wrap: wrap;
    }
    .sugeridos-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .video-reproductor {
        padding: 1rem;
    }
    
    .video-info-abajo {
        padding: 0;
    }
    
    .video-info-abajo h1 {
        font-size: 1.4rem;
    }
    .video-sugerido {
        flex-direction: column;
    }
    
    .sugerido-miniatura {
        width: 100%;
        height: 120px;
    }
    
    .btn-accion {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}
/* BARAJAS UTILIZADAS EN EL VIDEO */
.proceso-creacion {
    padding: 3rem 8rem;
    background-color: #fefefe;
    border-top: 1px solid #f0f0f0;
}

.proceso-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    cursor: pointer;
    padding: 1rem 0;
}
.proceso-header h2 {
    font-family: 'Cormorant Garamond';
    font-size: 2rem;
    font-weight: 400;
    color: #333;
    margin: 0;
}

.toggle-btn {
    background: none;
    border: 1px solid #e0e0e0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.toggle-btn:hover {
    background: #f8f8f8;
    border-color: #ccc;
}

.toggle-icon {
    font-size: 1rem;
    color: #666;
    transition: transform 0.3s ease;
}

.toggle-btn.rotated .toggle-icon {
    transform: rotate(180deg);
}
/* CONTENIDO DESPLEGABLE */
.proceso-contenido {
    display: none;
    padding-top: .1rem;
}

.proceso-contenido.mostrar {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* ITEMS DE LOS MAZOS */
.proceso-item {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 2rem;
    margin-bottom: 1rem;
    padding: 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.proceso-item:hover {
    background: #fafafa;
}

.proceso-imagen {
    width: 190px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.proceso-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.proceso-item:hover .proceso-imagen img {
    transform: scale(1.05);
}

.proceso-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.proceso-info h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: #333;
    margin-bottom: 0.5rem;
}
.proceso-info p {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #666;
    margin-bottom: 1rem;
}
/* BOTÓN TIENDA */
.btn-galeria {
    align-self: flex-start;
    background: transparent;
    border: 1px solid #333;
    color: #333;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}
.btn-galeria:hover {
    background: #333;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
/*COMENTARIOS*/
/* Simulación de contenido existente */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter';
}

body {
    background-color: #f9f9f9;
    color: #0f0f0f;
    padding: 20px;
}

/* Simulación de contenido existente */
.existing-content {
    max-width: 1200px;
    margin: 0 auto;
    background: #f0f0f0;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.existing-content h2 {
    margin-bottom: 10px;
}

.existing-content p {
    margin-bottom: 8px;
}

/* Contenedor principal con ancho fijo para comentarios */
.comments-section {
    max-width: 1000px; /* Ancho específico para comentarios */
    margin: 0 auto; /* Centrado */
    padding-top: 20px;
}

.container {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

h1 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #0f0f0f;
    font-weight: 500;
}

.comments-count {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #606060;
    font-weight: 400;
}

.comment-form {
    display: flex;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ff6b6b;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    margin-right: 15px;
    flex-shrink: 0;
    font-family: Cormorant Garamond;
    opacity: 80%;
}

.comment-input {
    flex-grow: 1;
    border: none;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 5px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.comment-input:focus {
    border-bottom: 2px solid #065fd4;
}

.comment-input::placeholder {
    color: #909090;
}

.comment {
    display: flex;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.comment:last-child {
    border-bottom: none;
}

.comment-content {
    flex-grow: 1;
}

.comment-header {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.comment-author {
    font-weight: 500;
    font-size: 13px;
    margin-right: 8px;
}

.comment-time {
    font-size: 12px;
    color: #606060;
}

.comment-text {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.comment-actions {
    display: flex;
    align-items: center;
}

.action-btn {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    color: #ffbebe;
    font-size: 12px;
    cursor: pointer;
    margin-right: 15px;
    padding: 5px 8px;
    border-radius: 18px;
    transition: all 0.2s;
}

.action-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.action-btn svg {
    margin-right: 5px;
}

.heart-btn {
    color: #ffbebe;
    transition: all 0.2s;
}

.heart-btn.liked {
    color: #e91e63;
}

.heart-btn.liked .heart-icon {
    fill: #e91e63;
}

.heart-icon {
    fill: #ffbebe;
    transition: all 0.2s;
}

.reply-btn {
    display: flex;
    align-items: center;
    color: #065fd4;
    font-weight: 500;
    font-size: 13px;
    background: none;
    border: none;
    cursor: pointer;
    margin-top: 5px;
    padding: 5px 8px;
    border-radius: 18px;
    transition: all 0.2s;
}

.reply-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.reply-icon {
    fill: #065fd4;
    margin-right: 5px;
}

.replies {
    margin-top: 15px;
    padding-left: 20px;
    border-left: 2px solid #e5e5e5;
}

.replies-count {
    display: flex;
    align-items: center;
    color: #065fd4;
    font-size: 13px;
    font-weight: 500;
    margin-top: 10px;
    cursor: pointer;
    padding: 5px 8px;
    border-radius: 18px;
    transition: all 0.2s;
}

.replies-count:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.chevron-icon {
    fill: #065fd4;
    margin-right: 5px;
    transition: transform 0.3s;
}

.replies-count.expanded .chevron-icon {
    transform: rotate(180deg);
}

.like-count {
    margin-right: 5px;
}

@media (max-width: 900px) {
    .comments-section {
        max-width: 95%; /* Se adapta en pantallas más pequeñas */
    }
}

@media (max-width: 600px) {
    .comment-form {
        flex-direction: column;
    }
    
    .user-avatar {
        margin-bottom: 10px;
    }
}