/* ================= BASE ================= */
* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.10), transparent 32%),
    linear-gradient(180deg, #8b0000 0%, #650000 45%, #430000 100%);
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: #fff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ================= HEADER CORREGIDO ================= */
header {
  width: 100%;
  min-height: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 22px;
  background: #b00000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.title-header {
  color: #fff;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.prelogo {
  width: 78px;
  height: 48px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.logodef {
  display: block;
  width: 100%;
  height: 100%;
  transform: translateY(0);
}

.logo2,
.prelogo img,
header img {
  display: block;
  max-width: 100%;
  max-height: 48px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ================= MAIN ================= */
.main-frame {
  width: 92%;
  max-width: 960px;
  margin: 36px auto 18px;
  flex: 1;
}

.centerfull {
  width: 100%;
  text-align: center;
}

h1.title {
  color: #fff;
  font-size: 1.9rem;
  font-weight: 800;
  margin: 0 0 20px;
  text-align: center;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.35);
}

h2.title {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  margin: 18px 0 12px;
  text-align: center;
}

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

/* ================= PLAYER ================= */
.subiframe {
  width: 100%;
  margin: 0 auto 1rem;
  padding: 7px;
  background: rgba(70, 0, 0, 0.68);
  border: 1px solid rgba(248, 113, 113, 0.85);
  border-radius: 13px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
}

.preframe {
  width: 100%;
  overflow: hidden;
  border-radius: 9px;
  background: #000;
}

#embedIframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #000;
}

/* ================= BOTÓN ================= */
#btnIframe {
  width: 100%;
  margin: 9px 0 2px;
  padding: 10px 12px;
  background: #ef2424;
  color: #fff;
  border: 0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

#btnIframe:hover {
  background: #ff3434;
  transform: translateY(-1px);
}

/* ================= TEXTO SEO ================= */
.content-text {
  font-size: 1.05rem;
  line-height: 1.6;
  text-align: left;
  color: rgba(255, 255, 255, 0.94);
  background: rgba(80, 0, 0, 0.55);
  border: 1px solid rgba(248, 113, 113, 0.45);
  border-radius: 12px;
  padding: 16px;
}

.content-text strong {
  color: #fff;
}

/* ================= FOOTER ================= */
.footer,
footer {
  width: 100%;
  background: #a40000;
  color: #fff;
  text-align: center;
  padding: 18px 14px;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-title {
  display: block;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 8px;
}

.footer-disclaimer {
  max-width: 950px;
  margin: 0 auto 12px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 13.5px;
  opacity: 0.92;
}

.footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ================= REDES ================= */
.redes {
  display: flex;
  justify-content: center;
  gap: 18px;
  padding: 0;
  margin: 7px 0 0;
}

.redes > li {
  list-style: none;
}

.red-item {
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  opacity: 0.92;
  transition: opacity 0.15s ease;
}

.red-item:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  header {
    min-height: 56px;
    padding: 7px 12px;
  }

  .title-header {
    font-size: 1.25rem;
  }

  .prelogo {
    width: 64px;
    height: 40px;
  }

  .logo2,
  .prelogo img,
  header img {
    max-height: 40px;
  }

  .main-frame {
    width: 96%;
    max-width: 100%;
    margin-top: 18px;
  }

  h1.title {
    font-size: 1.45rem;
    margin-bottom: 16px;
  }

  h2.title {
    font-size: 1.12rem;
  }

  .subiframe {
    padding: 4px;
    border-radius: 10px;
  }

  .preframe {
    border-radius: 8px;
  }

  #btnIframe {
    padding: 9px 10px;
    font-size: 13.5px;
  }

  .content-text {
    font-size: 1rem;
    padding: 14px;
  }

  .footer,
  footer {
    padding: 14px 10px;
  }

  .footer-disclaimer {
    font-size: 12.5px;
  }

  .footer-links {
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .title-header {
    font-size: 1.1rem;
  }

  .prelogo {
    width: 56px;
    height: 36px;
  }

  .logo2,
  .prelogo img,
  header img {
    max-height: 36px;
  }

  .main-frame {
    width: 97%;
    margin-top: 16px;
  }

  h1.title {
    font-size: 1.3rem;
  }
}