/* ðŸŽ¬ GOTShorts â€” Estilo medieval cinematogrÃ¡fico */

:root {
  --bg: #0c0c0c;
  --bg-alt: #181818;
  --text: #e5e5e5;
  --muted: #a5a5a5;
  --accent: #c49a3b;
  --accent-dark: #9b7b29;
  --border: #2a2a2a;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

/* ---------- WRAPPER ---------- */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* ---------- HEADER ---------- */
header {
  background: rgba(0, 0, 0, 0.9);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(6px);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  background: var(--accent);
  color: #000;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

/* ---------- NAVIGATION ---------- */
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  transition: var(--transition);
}

nav a:hover {
  color: var(--accent);
}

.btn-yt {
  display: inline-block;
  background-color: #ff0000;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-family: 'Arial', sans-serif;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(255, 0, 0, 0.3);
}

.btn-yt:hover {
  background-color: #cc0000;
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(255, 0, 0, 0.5);
}

/* ---------- HERO ---------- */
.hero {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), rgba(12, 12, 12, 0.95)), 
              url('https://wallpapercave.com/wp/wp1822717.jpg') center/cover;
  color: white;
  text-align: center;
  padding: 100px 20px;
}

.hero h1 {
  font-family: 'Cinzel', serif;
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: var(--accent);
}

.hero p {
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto 20px;
}

.cta {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  padding: 10px 20px;
  border-radius: 6px;
  border: none;
  text-decoration: none;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.btn-primary {
  background: var(--accent);
  color: #000;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-sub {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
}

.btn-sub:hover {
  background: var(--accent);
  color: #000;
}

/* ---------- SECTIONS ---------- */
.section {
  padding: 60px 20px;
  border-top: 1px solid var(--border);
}

.section h2 {
  font-family: 'Cinzel', serif;
  color: var(--accent);
  margin-bottom: 25px;
  text-align: center;
}

/* ---------- GALLERY GRID ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.thumb img {
  width: 100%;
  display: block;
}

.caption {
  padding: 15px;
}

.caption h3 {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 8px;
}

.caption p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.link {
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--transition);
}

.link:hover {
  color: var(--accent-dark);
}

/* ---------- TABS TEMPORADAS ---------- */
.tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.tab {
  padding: 10px 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  color: var(--muted);
  transition: var(--transition);
}

.tab:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.tab.active {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

.season-content {
  display: none;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.season-content.active {
  display: grid;
}

.video-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  transition: var(--transition);
}

.video-card img {
  width: 100%;
  display: block;
}

.video-card h3 {
  color: var(--accent);
  font-size: 0.95rem;
  padding: 8px;
}

/* ---------- PILLS (Personajes/Batallas/Test) ---------- */
.categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.pill {
  background: #0a0a0a;
  border: 1px solid #3d2b12;
  color: #d1a85f;
  font-family: 'Cinzel', serif;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 10px 20px;
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: inset 0 0 5px rgba(209,168,95,0.3), 0 0 10px rgba(0,0,0,0.6);
}

.pill:hover {
  background: linear-gradient(145deg, #d1a85f, #b98b3b);
  color: #000;
  border-color: #d1a85f;
  box-shadow: 0 0 15px rgba(209,168,95,0.8), inset 0 0 5px rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

a.pill {
  text-decoration: none;
}

/* ---------- MODAL ---------- */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal.open {
  display: flex;
}

.modal-inner {
  position: relative;
  width: 90%;
  max-width: 800px;
  aspect-ratio: 16/9;
  background: #000;
}

.modal iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: var(--accent);
  border: none;
  color: #000;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  padding: 5px 10px;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--accent-dark);
}

.capitulos {
  display: inline-block;
  text-decoration: none;
  color: #d1b67d; /* dorado */
  transition: all 0.3s ease;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.capitulos img {
  width: 100%;
  border-radius: 10px;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.capitulos h3 {
  text-align: center;
  margin-top: 8px;
  color: #d1b67d;
  font-family: 'Cinzel', serif;
  letter-spacing: 1px;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* 🔥 Efecto hover */
.capitulos:hover img {
  transform: scale(1.05);
  filter: brightness(1.2) contrast(1.1);
  box-shadow: 0 0 20px rgba(209, 182, 125, 0.5);
}

.capitulos:hover h3 {
  color: #ffd700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

/* ✨ Efecto de brillo dorado alrededor */
.capitulos::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: radial-gradient(circle, rgba(255,215,0,0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.capitulos:hover::after {
  opacity: 1;
}


#test div {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 20px 0;
  text-align: center;
}

footer a {
  color: var(--muted);
  text-decoration: none;
  transition: var(--transition);
}

footer a:hover {
  color: var(--accent);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 1.6rem;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
  }

  .tab {
    font-size: 0.9rem;
    padding: 8px 10px;
  }
}
