:root {
  --entry-ink: #343a61;
  --entry-muted: #3f3f3f;
  --entry-card: #ffffff;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body.entry-page {
  margin: 0;
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", "Helvetica Neue",
    Arial, sans-serif;
  color: var(--entry-ink);
  background-color: #eef6fc;
  background-image: url("../assets/bg_forward.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.entry-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 28px 24px 20px;
  position: relative;
}

.entry-lang {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 5;
}

.entry-lang-btn {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}

.entry-lang-btn__icon {
  display: block;
  width: 44px;
  height: 44px;
}

.entry-lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 5rem;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(52, 94, 191, 0.12);
}

.entry-lang.is-open .entry-lang-menu {
  display: block;
}

.entry-lang-menu a,
.entry-lang-menu span {
  display: block;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--entry-ink);
  text-decoration: none;
}

.entry-lang-menu a:hover {
  background: #f5f8fc;
}

.entry-lang-menu .is-active {
  color: #39ace3;
}

.entry-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding-top: 24px;
  padding-bottom: 24px;
}

.entry-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 36px;
}

.entry-brand__logo {
  width: 160px;
  height: auto;
  display: block;
}

.entry-brand__title {
  margin: 16px 0 0;
  font-size: 64px;
  font-weight: 700;
  color: var(--entry-ink);
}

.entry-brand__subtitle {
  margin: 10px 0 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--entry-muted);
}

.entry-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  width: 100%;
}

.entry-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  background: var(--entry-card);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(224, 224, 224, 0.9);
  box-shadow: 0 10px 30px rgba(52, 94, 191, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  min-height: 220px;
}

.entry-card:hover,
.entry-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(52, 94, 191, 0.14);
  border-color: rgba(52, 94, 191, 0.35);
  outline: none;
  color: inherit;
  text-decoration: none;
}

.entry-card__bar {
  width: 100%;
  height: 53px;
  flex-shrink: 0;
}

.entry-card--garasaryna .entry-card__bar {
  background: #39ace3;
}

.entry-card--elektronika .entry-card__bar {
  background: #d61219;
}

.entry-card__body {
  padding: 16px 12px 24px;
  width: 100%;
}

.entry-card__bird {
  width: 295px;
  max-width: 100%;
  height: 115px;
  margin: 0 auto 20px;
  display: block;
  object-fit: contain;
}

.entry-card__text {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 126%;
  text-transform: uppercase;
  color: #343a61;
  text-align: center;
}

.entry-footer {
  text-align: center;
  padding: 8px 0 4px;
  font-size: 15px;
  color: #737373;
  font-weight: 500;
}

@media (max-width: 767.98px) {
  .entry-shell {
    padding: 16px 16px 12px;
  }

  .entry-lang {
    top: 14px;
    right: 14px;
  }

  .entry-lang-btn,
  .entry-lang-btn__icon {
    width: 40px;
    height: 40px;
  }

  .entry-main {
    padding-top: 56px;
    justify-content: flex-start;
  }

  .entry-brand {
    margin-bottom: 24px;
  }

  .entry-brand__title {
    font-size: 40px;
  }

  .entry-cards {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 420px;
  }

  .entry-card {
    min-height: 180px;
  }

  .entry-card__bird {
    width: 100%;
    height: auto;
    max-height: 115px;
  }
}
