/* ===== HOME - Game Selector ===== */

.home {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  position: relative;
  z-index: 1;
}

.home-container {
  width: 100%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

/* --- Header / Logo --- */
.home-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.home-logo {
  width: 140px;
  height: 140px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.home-logo img {
  width: 100px;
  height: auto;
}

.home-title {
  font-family: 'Righteous', cursive;
  font-size: 6rem;
  color: #082554;
  text-align: center;
  line-height: 1.1;
  background: linear-gradient(135deg, #F5562E, #FFB927, #F5562E);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.home-subtitle {
  font-family: 'Ubuntu', sans-serif;
  font-size: 2rem;
  color: #082554;
  opacity: 0.8;
  text-align: center;
}

/* --- Game Cards Grid --- */
.home-games {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* --- Game Card --- */
.game-card {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2.5rem 3rem;
  border-radius: 24px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0px 6px 0px rgba(0, 0, 0, 0.15), 0px 4px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0px 10px 0px rgba(0, 0, 0, 0.15), 0px 8px 30px rgba(0, 0, 0, 0.12);
}

.game-card:active {
  transform: translateY(0px);
  box-shadow: 0px 3px 0px rgba(0, 0, 0, 0.15), 0px 2px 10px rgba(0, 0, 0, 0.08);
}

/* Card Color Variants */
.game-card--green {
  background: linear-gradient(135deg, #8BD45F, #6BBF3F);
}

.game-card--yellow {
  background: linear-gradient(135deg, #FFB927, #E0CF32);
}

.game-card--red {
  background: linear-gradient(135deg, #D45F5F, #C04040);
}

.game-card--purple {
  background: linear-gradient(135deg, #B95CB3, #9A3D94);
}

/* Card Icon */
.game-card__icon {
  width: 70px;
  height: 70px;
  min-width: 70px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.6rem;
  box-shadow: inset 0px -3px 0px rgba(0, 0, 0, 0.1);
}

/* Card Info */
.game-card__info {
  flex: 1;
}

.game-card__info h2 {
  font-family: 'Righteous', cursive;
  font-size: 2.8rem;
  color: #082554;
  text-align: left;
  margin-bottom: 0.4rem;
}

.game-card__info p {
  font-family: 'Ubuntu', sans-serif;
  font-size: 1.5rem;
  color: rgba(8, 37, 84, 0.7);
  text-align: left;
}

/* Card Arrow */
.game-card__arrow {
  font-size: 2.4rem;
  color: rgba(8, 37, 84, 0.4);
  transition: transform 0.25s ease;
}

.game-card:hover .game-card__arrow {
  transform: translateX(4px);
  color: rgba(8, 37, 84, 0.7);
}

/* --- Responsive --- */
@media screen and (max-width: 600px) {
  .home-title {
    font-size: 4rem;
  }

  .home-logo {
    width: 110px;
    height: 110px;
  }

  .home-logo img {
    width: 75px;
  }

  .home-subtitle {
    font-size: 1.6rem;
  }

  .game-card {
    padding: 2rem;
    gap: 1.5rem;
  }

  .game-card__icon {
    width: 55px;
    height: 55px;
    min-width: 55px;
    font-size: 2.8rem;
  }

  .game-card__info h2 {
    font-size: 2.2rem;
  }

  .game-card__info p {
    font-size: 1.3rem;
  }
}
