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

html,
body {
  width: 100%;
  min-height: 100%;
}

body {
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: white;

  background-image: url("./fotos/Fondo.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-overlay {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.20);
}

.header {
  width: 100%;
  text-align: center;
  padding: 26px 15px 10px;
}

.header h1 {
  color: #9028e8;
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 900;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.75);
}

.layout {
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;
  flex: 1;

  display: grid;
  grid-template-columns: minmax(110px, 160px) minmax(0, 1fr) minmax(110px, 160px);
  gap: 24px;
  align-items: center;

  padding: 20px 25px;
}

.ad-area {
  display: flex;
  justify-content: center;
  align-items: center;
}

.ad-box {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;

  border: 2px dashed rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  background: rgba(0, 0, 0, 0.28);

  color: white;
  font-weight: 700;
  text-align: center;
}

.vertical-ad {
  height: min(500px, 65vh);
}

.main-content {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 25px;
}

.battle-button {
  position: relative;
  display: block;

  width: min(100%, 760px);
  aspect-ratio: 1408 / 768;

  overflow: hidden;
  border-radius: 24px;

  text-decoration: none;

  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.62);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.battle-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.battle-button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.08);
}

.battle-text {
  position: absolute;
  z-index: 2;

  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  width: 90%;
  text-align: center;

  color: #ffd45d;
  font-size: clamp(2rem, 5vw, 4.2rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;

  text-shadow:
    0 0 5px #fff3a0,
    0 0 10px #ffc400,
    0 0 18px #ff8800,
    0 0 28px #ff4d00,
    0 0 40px #ff2200,
    3px 3px 5px #000;

  pointer-events: none;
}

.battle-button:hover {
  transform: scale(1.025);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.75);
}

.battle-button:active {
  transform: scale(0.99);
}

.bottom-ad {
  width: 100%;
  padding: 10px 20px 20px;
}

.horizontal-ad {
  width: min(100%, 1100px);
  height: 110px;
  margin: 0 auto;
}

@media (max-width: 1000px) {
  .layout {
    grid-template-columns: 90px minmax(0, 1fr) 90px;
    gap: 14px;
    padding: 15px;
  }

  .vertical-ad {
    height: 390px;
  }

  .main-content {
    padding: 15px 5px;
  }
}

@media (max-width: 768px) {
  .layout {
    display: block;
    padding: 10px 15px;
  }

  .ad-area {
    display: none;
  }

  .main-content {
    min-height: 58vh;
    padding: 20px 0;
  }

  .battle-button {
    width: 100%;
    max-width: 600px;
  }

  .battle-text {
    font-size: clamp(1.8rem, 9vw, 3rem);
  }

  .horizontal-ad {
    height: 90px;
  }
}

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

  .main-content {
    min-height: 52vh;
  }

  .battle-text {
    font-size: 1.8rem;
  }

  .bottom-ad {
    padding: 10px 12px 15px;
  }
}
