/* ============================== */
/* HOME PAGE – LEVEL LIST         */
/* ============================== */

.levels-container {
  max-width: 480px;
  margin: 0 auto;
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ---- Level row card ---- */
.level-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background-color: #1e1e2f;
  border: 1px solid #2a2a3d;
  border-radius: 14px;
  padding: 18px 24px;
  text-decoration: none;
  color: inherit;
  min-height: 64px;          /* comfortable tap target */
  transition: background-color 0.18s ease,
              border-color 0.18s ease,
              transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.level-card:hover,
.level-card:focus-visible {
  background-color: #24243a;
  border-color: #c0c0c0;
  transform: translateX(4px);
  outline: none;
}

/* Badge: the A1 / B2 etc. label */
.level-badge {
  font-size: 1.5rem;
  font-weight: 700;
  color: #e5e5e5;
  letter-spacing: 1px;
  min-width: 48px;
  flex-shrink: 0;
}

/* Arrow indicator */
.level-card-arrow {
  margin-left: auto;
  font-size: 1.1rem;
  color: #555;
  transition: color 0.18s ease, transform 0.18s ease;
}

.level-card:hover .level-card-arrow,
.level-card:focus-visible .level-card-arrow {
  color: #c0c0c0;
  transform: translateX(3px);
}

/* ============================== */
/* RESPONSIVE                     */
/* ============================== */

@media (max-width: 768px) {
  .levels-container {
    padding: 28px 18px;
    gap: 12px;
  }

  .level-card {
    padding: 16px 20px;
  }
}

@media (max-width: 480px) {
  .levels-container {
    padding: 20px 16px;
    gap: 10px;
  }

  .level-card {
    padding: 16px 18px;
    min-height: 58px;
  }

  .level-badge {
    font-size: 1.3rem;
    min-width: 42px;
  }
}
