@font-face {
  font-family: 'CustomFont';
  src: url('font.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}


body {
  background-color: #1e1e2f;
  color: white;
  font-family: 'CustomFont', serif;
  margin: 0;
  padding: 0;
  text-align: center;
}

body a{
  color: white;
}

body:visited{
  color: white;
}

header {
    padding: 20px;
}

header img {
    width: 200px;
}

nav {
    margin: 20px 0;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

#logo-wrapper {
    display: inline-block;
    animation: pulse 3s ease-in-out infinite;
}

#logo {
    width: 200px;
    transition: filter 0.1s, transform 0.1s;
    transform-style: preserve-3d;
      will-change: transform;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 20px;
    font-weight: bold;
}

.section-title {
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid #ffcc00;
    display: inline-block;
    padding-bottom: 5px;
}

.tournament-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin: 20px auto;
    max-width: 1000px;
}

.tournament {
    background-color: #2a2a3d;
    border-radius: 10px;
    padding: 10px;
    width: 150px;
    transition: transform 0.3s ease;
    transform-style: preserve-3d;
}

.tournament:hover {
    transform: perspective(600px) rotateX(8deg) rotateY(8deg) scale(1.15);
}

.tournament-grid:hover .tournament {
    transform: scale(0.9);
}

.tournament img {
    width: 100%;
    border-radius: 5px;
    background-color: transparent;
    filter: 
      drop-shadow(0 0 3px #eeeeee) /* outline color amarillo */
      drop-shadow(0 6px 15px rgba(0, 0, 0, 0.25)); /* sombra normal */
    transition: transform 0.15s cubic-bezier(.17,.67,.83,.67),
                filter 0.15s cubic-bezier(.17,.67,.83,.67);
}

.tournament:hover img {
    transform: translateY(-4px);
    filter: 
      drop-shadow(0 0 9px #ffffff) /* outline amarillo más fuerte al hover */
      drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35));
}


footer {
    background-color: #111;
    padding: 10px;
    margin-top: 40px;
    font-size: 14px;
}

.episode-card {
  display: flex;
  background-color: #2a2a3d;
  border-radius: 30px;
  padding: 20px;
  margin: 40px auto;
  max-width: 1000px;
  min-width: 80%;
  gap: 20px;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.episode-card:hover {
  transform: scale(1.025);
}

.episode-thumbnail {
  width: 300px;
  height: auto;
  border-radius: 10px;
  background: black;
}

.episode-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 1.1rem;
  line-height: 1.6rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.episode-info h1 {
  font-size: 1.6rem;
  margin: 0 0 10px 0;
}

.episode-info h1 a {
  text-decoration: none;
  color: white;
}

.episode-info h1 a:hover {
  text-decoration: underline;
}

.release-date {
  font-weight: bold;
  margin-top: 15px;
}

.music-button {
  background-color: #2a2a3d;
  color: white;
  border: none;
  border-radius: 999px;
  padding: 0.4em 1.2em;
  font-size: 1em;
  font-family: inherit;
  cursor: pointer;
  transition: background-color 0.2s ease;
  box-shadow: none;
  outline: none;
  margin: 1rem auto;
  min-width: unset;
  width: fit-content;
  display: block;
}

.music-button:hover {
  background-color: #e67b40;
}

#rotate-message {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background-color: #F08C50;
  color: white;
  text-align: center;
  font-weight: bold;
  z-index: 9999;
  font-family: "nexa", sans-serif;
}

@media screen and (orientation: portrait) and (max-width: 500px) {
  #rotate-message {
    display: block;
  }
}