/* common.css */

/* === Font Awesome Import for Social Icons and Burger Menu === */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');

/* === Reset & Base === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #f44336;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(0,0,0,0.05) 0,
    rgba(0,0,0,0.05) 1px,
    transparent 1px,
    transparent 6px
  );
  font-family: 'Bangers', cursive;
  color: #000;
  line-height: 1.4;
  padding-bottom: 2rem;
}
main {
  flex: 1;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  text-decoration: none;
}

/* === Navigation === */
.comic-nav {
  background-color: #ffeb3b;
  border-bottom: 4px solid #000;
  box-shadow: 0 6px 0 #000;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 1rem;
}
.burger {
  background: #fff;
  border: 3px solid #000;
  box-shadow: 3px 3px 0 #000;
  font-size: 1.5rem;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  display: none;
  position: absolute;
  left: 1rem;
}
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 auto;
}
.nav-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 3px solid #000;
  box-shadow: 4px 4px 0 #000;
  color: #000;
  font-size: 1.2rem;
  padding: 0.5rem 1rem;
  transition: all 0.2s ease;
}
.nav-links a:hover {
  background: #f44336;
  color: #fff;
  box-shadow: 2px 2px 0 #000;
}

/* === Header Banner === */
.header-banner-wrapper {
  display: flex;
  justify-content: center;
  margin: 2rem auto;
  padding: 0 1rem;
}
.header-banner {
  width: 40%;
  background-color: #fff;
  border: 4px solid #000;
  box-shadow: 8px 8px 0 #000;
}

/* === Comic Boxes === */
.comic-box {
  background: #fff;
  border: 3px solid #000;
  box-shadow: 6px 6px 0 #000;
  margin: 3rem auto;
  max-width: 600px;
  padding: 1rem;
  text-align: center;
  position: relative;
}
.comic-box.timer {
  background: #87CEFA;
  background-image:
    radial-gradient(circle at 20% 30%, #fff 5%, transparent 20%),
    radial-gradient(circle at 70% 40%, #fff 7%, transparent 25%),
    radial-gradient(circle at 60% 80%, #fff 6%, transparent 20%);
  padding: 2rem;
}
.header-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: nowrap;
  margin-bottom: 2rem;
}
.tournament-banner {
  max-width: 360px;
  flex: 1 1 auto;
}
.blister-img {
  max-width: 200px;
  flex: 1 1 auto;
}
.countdown {
  font-size: 2rem;
  white-space: nowrap;
}
.time-part {
  display: inline-block;
  margin: 0 0.5rem;
  padding: 0.5rem 1rem;
  background: #ffeb3b;
  border: 2px solid #000;
  box-shadow: 3px 3px 0 #000;
}
.info-extra {
  margin-top: 1.5rem;
  font-size: 1.5rem;
}
.info-extra span {
  color: #f44336;
  font-weight: bold;
}
.button-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.comic-button {
  background: #fff;
  border: 3px solid #000;
  box-shadow: 4px 4px 0 #000;
  color: #000;
  font-family: 'Bangers', cursive;
  font-size: 1.2rem;
  padding: 0.5rem 1rem;
  transition: all 0.2s ease-in-out;
}
.comic-button:hover {
  background: #f44336;
  color: #fff;
  box-shadow: 2px 2px 0 #000;
}
h2 {
  background: #ffeb3b;
  border: 2px solid #000;
  box-shadow: 4px 4px 0 #000;
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.4rem 0.8rem;
}
p {
  font-size: 1.4rem;
}

/* === Corner Image === */
.corner-img {
  display: block;
  margin: 0.5rem auto 0;
  max-width: 80%;
  position: relative;
}

/* === Footer === */
footer {
  background: #000;
  color: #fff;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 3rem 2rem;
  font-size: 1rem;
  width: 100%;
  flex-shrink: 0;
}
.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-link {
  color: #f44336;
  transition: color 0.3s;
}
.footer-link:hover {
  color: #fff;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.social-icon {
  color: #fff;
  font-size: 1.5rem;
  transition: color 0.3s;
}
.social-icon:hover {
  color: #f44336;
}
.footer-brand {
  font-family: Calibri, Arial, sans-serif;
  font-size: 0.75rem;
}

/* === Hover Animations === */
.tournament-banner:hover,
.blister-img:hover {
  animation: swingShadow 1s ease-in-out infinite alternate;
  filter: drop-shadow(0 10px 10px rgba(0,0,0,0.4));
  cursor: pointer;
}
@keyframes swingShadow {
  from { transform: rotate(-2deg) translateY(-2px); }
  to   { transform: rotate(2deg) translateY(2px); }
}

/* === Listas legales sin viñetas extrañas === */
.comic-box ul {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0;
  font-family: Calibri, Arial, sans-serif;
  font-size: 1rem;
  color: #000;
}
.comic-box ul li {
  position: relative;
  padding-left: 1.2em;
  margin-bottom: 0.5em;
}
.comic-box ul li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  color: #f44336;
  font-size: 1.2em;
  line-height: 1;
}
/* Responsive */
@media (max-width: 768px) {
  body { padding: 0; }
  .burger { display: inline-block; }
  .nav-links {
    display: none;
    flex-direction: column;
    background: #ffeb3b;
    padding: 1rem 0;
    border-top: 3px solid #000;
    width: 100%;
  }
  .nav-links.active { display: flex; }

  .comic-box.timer .header-row { flex-direction: column; gap: 0; }
  .tournament-banner { max-width: 100%; }
  .blister-img { max-width: 60%; margin: -2.5rem auto 0; }

  .header-banner { width: 95%; border-width: 3px; box-shadow: 4px 4px 0 #000; }
  .comic-box { margin: 2rem 0.5rem; }
  .comic-box.timer { padding: 1.5rem; }
  .countdown { font-size: 1.4rem; }
  .time-part { font-size: 1.1rem; padding: 0.4rem 0.6rem; margin: 0.2rem; }
  .info-extra { font-size: 1.2rem; }
  .comic-button { font-size: 1.1rem; width: 90%; text-align: center; }

  footer { padding: 1.5rem 1rem; font-size: 0.8rem; }
  
 /* === Viñetas Anchas con Altura Mínima === */
.comic-box.wide-min {
  width: 80vw !important;
  max-width: none !important; /* <-- clave: elimina el tope */
  min-height: 40vw !important;
  margin: 3rem auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

 
}
