:root {
  --color-bg: #1e1e2f;
  --color-accent: #ffcad4;
  --color-card: #2b2b3f;
  --shadow: rgba(0, 0, 0, 0.25);
  --gold: #FFD700;
  --silver: #C0C0C0;
  --bronze: #CD7F32;
}

@font-face {
  font-family: 'Farabee';
  src: url('../fonts/Farabee Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Yuruka';
  src: url('../fonts/fot-yuruka-std.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body {
  background: var(--color-bg);
  font-family: 'Farabee', sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  color: #f5f5f5;
}

.mania-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.mania-arrow {
  position: absolute;
  width: 32px;
  height: 32px;
  background: url('../img/arrow.png') no-repeat center;
  background-size: contain;
  animation: fall 4s linear infinite;
  opacity: 0.4;
}

.mania-arrow:nth-child(1) {
  left: 20%;
  animation-delay: 0s;
}
.mania-arrow:nth-child(2) {
  left: 40%;
  animation-delay: 1s;
}
.mania-arrow:nth-child(3) {
  left: 60%;
  animation-delay: 2s;
}
.mania-arrow:nth-child(4) {
  left: 80%;
  animation-delay: 3s;
}

@keyframes fall {
  0% {
    top: -40px;
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.2);
  }
  100% {
    top: 100vh;
    transform: rotate(360deg) scale(1);
  }
}

.main-container {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  padding-top: 4rem;
}

.page-header {
  text-align: center;
  margin-bottom: 3rem;
  animation: fadeSlideIn 1s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
  width: 100%;
  max-width: 800px;
}

.page-header h1 {
  font-family: 'Yuruka', sans-serif;
  font-size: 3.5rem;
  margin: 0;
  color: var(--color-accent);
  text-shadow: 0 0 15px rgba(255, 202, 212, 0.3);
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.page-header h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

.page-header p {
  font-size: 1.2rem;
  opacity: 0.8;
  margin-top: 1.5rem;
}


.back-button {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: rgba(255, 202, 212, 0.15);
  color: #f5f5f5;
  border: 1px solid rgba(255, 202, 212, 0.3);
  border-radius: 20px;
  padding: 0.5rem 1.5rem;
  text-decoration: none;
  font-family: 'Yuruka', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.back-button:hover {
  background: rgba(255, 202, 212, 0.25);
}

@keyframes fadeSlideIn {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 768px) {
  .page-header h1 {
    font-size: 2.5rem;
  }
  
  .tournament-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .tournament-position {
    align-self: flex-start;
  }
  
  .tournament-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .tournament-name {
    font-size: 1.4rem;
  }
  
  .page-header h1 {
    font-size: 2rem;
  }
  
  .main-container {
    padding: 1.5rem;
    padding-top: 4rem;
  }
  
  .back-button {
    top: 1rem;
    left: 1rem;
  }
  
  .card-content {
    padding: 1rem;
  }
}

    .page-header {
  text-align: center;
  margin: 5rem auto 2rem; /* Empuja el título hacia abajo */
  color: #f5f5f5;
  max-width: 800px;
}

.page-header h1 {
  font-size: 2.5rem;
  font-family: 'Yuruka', sans-serif;
  color: #ffcad4;
  margin: 0;
}

.page-header p {
  font-size: 1.2rem;
  opacity: 0.7;
  margin-top: 0.5rem;
  font-family: 'Yuruka', sans-serif;
}

    .skins-gallery {
    max-width: 1000px;
    margin: 4rem auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .skin-card {
    background: var(--color-card);
    border-radius: 12px;
    box-shadow: 0 6px 15px var(--shadow);
    display: flex;
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
  }

  .skin-images {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
}

.skin-images .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  filter: brightness(85%);
}

  .skin-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .skin-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
  }

  .skin-name {
    font-family: 'Yuruka', sans-serif;
    font-size: 1.4rem;
    color: var(--color-accent);
    margin: 0;
  }

  .skin-date {
    font-size: 0.95rem;
    opacity: 0.7;
    margin: 0;
  }

  .skin-download {
    margin-left: auto;
    padding: 0.5rem 1rem;
    background: rgba(255, 202, 212, 0.15);
    border: 1px solid rgba(255, 202, 212, 0.3);
    border-radius: 20px;
    color: #f5f5f5;
    text-decoration: none;
    transition: background 0.3s;
    font-family: 'Yuruka', sans-serif;
    white-space: nowrap;
  }

  .skin-download:hover {
    background: rgba(255, 202, 212, 0.3);
  }

  .swiper-controls-inside {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  z-index: 10;
}

.swiper-button-next,
.swiper-button-prev {
  position: static;
  transform: none;
  color: #f5f5f5;
  width: 20px;
  height: 20px;
  --swiper-navigation-size: 20px;
  opacity: 0.8;
  cursor: pointer;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 16px;
}

.swiper-pagination {
  position: static;
  display: flex;
  gap: 4px;
}

