.level-select {
  position: fixed;
  inset: 0;
  
  display: flex;
  flex-direction: column;
  
  width: 100%;
  height: 100%;
  
  padding: 30px 40px;
  
  font-family: Arial, sans-serif;
  
  color: #ffffff;
  
  overflow: auto;
}

.level-select-header {
  position: relative;
  
  display: flex;
  align-items: center;
  
  min-height: 80px;
}

.level-select-back {
  padding: 10px 16px;
  
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  
  font: inherit;
  font-size: 16px;
  
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  
  cursor: pointer;
  
  transition:
    background 0.15s ease,
    transform 0.15s ease;
}

.level-select-back:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(-2px);
}

.level-select-heading {
  flex: 1;
  
  text-align: center;
  
  padding-right: 90px;
}

.level-select-heading h1 {
  margin: 0;
  
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 700;
}

.level-select-heading p {
  margin: 8px 0 0;
  
  font-size: clamp(15px, 2vw, 20px);
  
  color: #b9cfdb;
}

.level-select-content {
  display: flex;
  justify-content: center;
  
  width: 100%;
  
  margin-top: 35px;
}

.level-select-section {
  width: min(100%, 850px);
}

.level-select-section-title {
  margin-bottom: 14px;
  
  font-size: 16px;
  font-weight: 700;
  
  color: #8fb4c6;
  
  text-transform: uppercase;
  letter-spacing: 1px;
}

.level-list {
  display: flex;
  flex-direction: column;
  
  gap: 12px;
}

.level-card {
  display: flex;
  align-items: center;
  
  width: 100%;
  min-height: 90px;
  
  padding: 14px 20px;
  
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  
  font: inherit;
  
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  
  text-align: left;
  
  cursor: pointer;
  
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    transform 0.15s ease;
}

.level-card:hover {
  background: rgba(255, 255, 255, 0.1);
  
  border-color: rgba(255, 255, 255, 0.25);
  
  transform: translateX(4px);
}

.level-card-number {
  display: flex;
  align-items: center;
  justify-content: center;
  
  width: 54px;
  height: 54px;
  
  margin-right: 18px;
  
  border-radius: 8px;
  
  font-size: 18px;
  font-weight: 700;
  
  color: #ffffff;
  background: #123c55;
}

.level-card-info {
  display: flex;
  flex-direction: column;
  
  gap: 5px;
  
  flex: 1;
}

.level-card-info strong {
  font-size: 20px;
}

.level-card-info small {
  font-size: 14px;
  
  color: #9db7c4;
  
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.level-card-arrow {
  margin-left: 15px;
  
  font-size: 26px;
  
  color: #7fa9bc;
}

@media (max-width: 600px) {
  
  .level-select {
    padding: 20px;
  }
  
  .level-select-header {
    align-items: flex-start;
  }
  
  .level-select-heading {
    padding-right: 0;
    padding-left: 15px;
    
    text-align: left;
  }
  
  .level-select-heading h1 {
    font-size: 28px;
  }
  
  .level-select-heading p {
    font-size: 14px;
  }
  
  .level-card {
    min-height: 76px;
    
    padding: 10px 14px;
  }
  
  .level-card-number {
    width: 44px;
    height: 44px;
    
    margin-right: 12px;
    
    font-size: 15px;
  }
  
  .level-card-info strong {
    font-size: 17px;
  }
}
.level-select-status {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 250px;

    font-size: 20px;

    color: #b9cfdb;

    text-align: center;
}

.level-select-error {
    flex-direction: column;

    gap: 20px;
}

.level-select-error p {
    margin: 0;
}

.level-select-retry {
    padding: 12px 24px;

    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;

    font: inherit;
    font-size: 16px;
    font-weight: 700;

    color: #ffffff;
    background: #123c55;

    cursor: pointer;

    transition:
        background 0.15s ease,
        transform 0.15s ease;
}

.level-select-retry:hover {
    background: #18506d;
    transform: translateY(-2px);
}