:root {
  --snl-ink: #eef4ff;
  --snl-slate: #c5d6ef;
  --snl-ash: #8ea8d1;
  --snl-ice: rgba(10, 22, 52, 0.75);
  --snl-brand: #00a6ff;
  --snl-accent: #ff2b2b;
  --snl-gold: #ffd32a;
  --snl-card: #ffffff;
  --snl-bg: #091428;
  --snl-shadow: 0 24px 60px rgba(3, 7, 20, 0.45);
}

.snl-cst {
  font-family: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  background: transparent;
  padding: 14px 8px;
  color: var(--snl-ink);
  border-radius: 0;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.snl-cst__card {
  max-width: 1140px;
  margin: 0 auto;
  background:
    linear-gradient(180deg, rgba(7, 17, 41, 0.95), rgba(5, 12, 31, 0.96));
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--snl-shadow);
  border: 1px solid rgba(0, 166, 255, 0.18);
  position: relative;
  overflow: hidden;
}

.snl-cst__card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 43, 43, 0.08), transparent 35%),
    radial-gradient(circle at 80% 0%, rgba(0, 166, 255, 0.08), transparent 42%);
}

.snl-cst__header {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.snl-cst__logo {
  width: 240px;
  height: 104px;
  border-radius: 18px;
  background: #ffffff url("logo.png") center/contain no-repeat;
  border: 1px solid rgba(0, 166, 255, 0.25);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.snl-cst__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #9fc8ff;
  font-size: 0.7rem;
}

.snl-cst__title h2 {
  margin: 6px 0 6px 0;
  font-size: 1.9rem;
  color: #ffffff;
  text-shadow: 0 0 24px rgba(0, 166, 255, 0.22);
}

.snl-cst__title p {
  margin: 0;
  color: var(--snl-slate);
  line-height: 1.35;
}

.snl-cst__form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  position: relative;
  z-index: 1;
}

.snl-cst__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(320px, 0.85fr);
  gap: 18px;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.snl-cst__form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.92rem;
  color: var(--snl-slate);
}

.snl-cst__form input,
.snl-cst__form select {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0, 166, 255, 0.2);
  font-size: 1rem;
  font-family: inherit;
  background: rgba(10, 22, 52, 0.72);
  color: #eef4ff;
}

.snl-cst__form button {
  grid-column: 1 / -1;
  padding: 12px 16px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(90deg, var(--snl-accent), #ff5b2b 35%, var(--snl-brand));
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.snl-cst__form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 166, 255, 0.22);
}

.snl-cst__result {
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(9, 24, 58, 0.9), rgba(8, 18, 44, 0.95));
  font-size: 1rem;
  display: block;
  border: 1px solid rgba(0, 166, 255, 0.2);
  color: #eaf2ff;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  height: auto;
  align-self: stretch;
}

.snl-cst__result.is-visible {
  display: block;
}

.snl-cst__result--idle {
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 43, 43, 0.08), transparent 45%),
    radial-gradient(circle at 85% 8%, rgba(0, 166, 255, 0.1), transparent 45%),
    linear-gradient(180deg, rgba(9, 24, 58, 0.9), rgba(8, 18, 44, 0.95));
}

.snl-cst__result-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9fc8ff;
  margin-bottom: 4px;
}

.snl-cst__hint {
  color: #c8d8f2;
  line-height: 1.45;
}

.snl-cst__booking {
  margin-top: 10px;
}

.snl-cst__book-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  border: none;
  padding: 10px 12px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}

.snl-cst__score {
  font-size: 2.3rem;
  font-weight: 700;
  color: #ffffff;
  text-shadow:
    0 0 14px rgba(0, 166, 255, 0.35),
    0 0 28px rgba(255, 43, 43, 0.15);
}

@media (max-width: 640px) {
  .snl-cst {
    padding: 8px 0;
    border-radius: 0;
    width: auto;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .snl-cst__card {
    padding: 16px;
  }

  .snl-cst__header {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 12px;
  }

  .snl-cst__logo {
    width: 100%;
    max-width: 260px;
    height: 82px;
  }

  .snl-cst__layout {
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: start;
  }

  .snl-cst__form {
    grid-template-columns: 1fr;
  }

  .snl-cst__title h2 {
    font-size: 1.5rem;
  }
}
