:root {
  --main-color: #ff4d6d;
  --dark-color: #d90429;
  --light-color: #f8f9fa;
  --bg-dark: #1a1a2e;
  --bg-light: #2d2d42;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--bg-dark);
  color: var(--light-color);
  margin: 0;
  line-height: 1.6;
}

.nsfw-header {
  background-color: var(--bg-light);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

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

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  color: var(--main-color);
  font-size: 1.8rem;
  margin: 0;
  font-weight: 700;
  letter-spacing: 1px;
}

.nsfw-badge {
  background-color: var(--main-color);
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: bold;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--light-color);
  text-decoration: none;
  padding: 5px 0;
  position: relative;
  font-weight: 500;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--main-color);
  transition: width 0.3s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.btn-menu {
  background: none;
  border: none;
  color: var(--light-color);
  font-size: 1.5rem;
  cursor: pointer;
  display: none;
}

.content-wrapper {
  max-width: 1400px;
  margin: 2rem auto;
  padding: 0 20px;
  display: flex;
  gap: 30px;
}

.entry-container {
  flex: 1;
  min-width: 0;
}

.video-container {
  position: relative;
  width: 100%;
  margin: 0 auto 2rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 2px solid var(--main-color);
  background: #000;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

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

.entry-title {
  color: var(--main-color);
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  position: relative;
  padding-bottom: 10px;
}

.entry-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background-color: var(--main-color);
  border-radius: 3px;
}

.latest-entries {
  width: 25%;
  position: sticky;
  top: 20px;
  height: fit-content
}

.latest-title {
  color: var(--main-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--main-color);
  text-align: center;
}

.entries-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  max-height: fit-content;
}

.entry-card {
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  aspect-ratio: 1/1;
  background: var(--bg-light);
  min-height: 150px;
  width: 100%;
}

.entry-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.entry-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

footer {
  background-color: var(--bg-light);
  padding: 2rem 0 1rem;
  position: relative;
  margin-top: 3rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.footer-section h3 {
  color: var(--main-color);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--light-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--main-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  opacity: 0.8;
}

.nsfw-detail {
  position: absolute;
  background-color: var(--main-color);
}

.nsfw-detail.header-detail-1 {
  top: 0;
  left: 0;
  width: 30%;
  height: 3px;
}

.nsfw-detail.header-detail-2 {
  top: 0;
  left: 35%;
  width: 20%;
  height: 3px;
}

.nsfw-detail.header-detail-3 {
  top: 0;
  right: 0;
  width: 30%;
  height: 3px;
}

.nsfw-detail-footer {
  position: absolute;
  background-color: var(--main-color);
  height: 3px;
}

.nsfw-detail-footer.footer-detail-1 {
  top: 0;
  left: 0;
  width: 30%;
}

.nsfw-detail-footer.footer-detail-2 {
  top: 0;
  left: 35%;
  width: 20%;
}

.nsfw-detail-footer.footer-detail-3 {
  top: 0;
  right: 0;
  width: 30%;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .latest-entries {
    width: 40%;
  }
}

@media (max-width: 1024px) {
  .content-wrapper {
    flex-direction: column;
  }
  
  .latest-entries {
    width: 100%;
    position: static;
    order: 2;
    margin-top: 2rem;
  }
  
  .entry-container {
    order: 1;
  }
}

@media (max-width: 768px) {
  .btn-menu {
    display: block;
  }
  
  .main-nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--bg-light);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.4s ease;
    z-index: 999;
  }
  
  .main-nav.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  
  .main-nav ul {
    flex-direction: column;
    padding: 20px;
    gap: 15px;
  }
  
  .entry-title {
    font-size: 1.8rem;
  }
  
  .video-container {
    border-width: 1px;
  }
  
  .entry-row {
    gap: 10px;
  }

  .entries-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columnas */
    gap: 10px;
    max-width: 100%;
  }

  .entry-card {
    aspect-ratio: 1 / 1.3; /* Para que sea un poco más vertical */
    min-height: auto;
    max-height: 240px; /* Limita altura */
  }

  .entry-card img {
    object-fit: cover;
  }
}


@media (max-width: 480px) {
  .entry-title {
    font-size: 1.5rem;
  }
  
  .logo {
    font-size: 1.5rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .entries-grid {
    gap: 10px;
  }
  
  .entry-row {
    gap: 8px;
  }
}