:root {
  --background: #021118;
  --primary: #03c6e0;
  --secondary: #eff3f6;
  --muted: #5b6169;
  --card-border: #22424b;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--background);
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--background);
  color: var(--secondary);
  font-family: "Inter", Arial, sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

.page-shell {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  background: var(--background);
}

.hero {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.hero__link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.hero__link:visited {
  color: inherit;
}

.hero__background {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 82% center;
}

.hero__content {
  position: absolute;
  inset: 0;
}

.hero__logo {
  position: absolute;
  top: 25px;
  left: 16px;
  width: 92px;
  height: auto;
}

.hero__title {
  position: absolute;
  top: 76px;
  left: 16px;
  margin: 0;
  font-size: 20px;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero__title span {
  display: block;
}

.hero__title span:last-child {
  color: var(--primary);
}

.hero__copy {
  position: absolute;
  top: 145px;
  left: 16px;
  margin: 0;
  color: #f0f1f2;
  font-size: 15px;
  line-height: 20px;
}

.section-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  width: 100%;
}

.section-title span {
  height: 2px;
}

.section-title span:first-child {
  background: linear-gradient(90deg, transparent, var(--primary));
}

.section-title span:last-child {
  background: linear-gradient(90deg, var(--primary), transparent);
}

.section-title h2 {
  margin: 0;
  color: var(--primary);
  font-size: 16px;
  line-height: normal;
  text-transform: uppercase;
}

.casinos {
  position: relative;
  display: block;
  width: 100%;
}

.casinos img {
  width: 100%;
  height: auto;
}

.casino-link-area {
  position: absolute;
  z-index: 1;
}

.casino-link-area--bet30 {
  top: 0;
  left: 0;
  width: 100%;
  height: 17%;
}

.casino-link-area--ganamos {
  top: 17%;
  left: 0;
  width: 100%;
  height: 15%;
}

.casino-link-area--zeus {
  top: 32%;
  left: 0;
  width: 100%;
  height: 22%;
}

.casino-link-area--zeta {
  top: 54%;
  left: 0;
  width: 100%;
  height: 24%;
}

.casino-link-area--gana-en-casa {
  top: 78%;
  left: 0;
  width: 100%;
  height: 20%;
}

.section-title--pricing {
  margin-top: 0;
}

.price-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 10px;
}

.price-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  grid-template-areas:
    "chip range rate"
    "chip example rate";
  column-gap: 8px;
  align-items: center;
  min-height: 74px;
  padding: 10px;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  background: rgb(3 198 224 / 1%);
  transition: border-color 550ms ease-out, box-shadow 550ms ease-out, background-color 550ms ease-out;
}

@media (hover: hover) {
  .price-card:hover {
    border-color: var(--primary);
    background: rgb(3 198 224 / 5%);
    box-shadow: 0 0 12px rgb(3 198 224 / 35%), 0 0 28px rgb(3 198 224 / 16%);
    transition-duration: 300ms;
    transition-timing-function: ease-out;
  }
}

.price-card__chip {
  grid-area: chip;
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.price-card__range {
  grid-area: range;
  align-self: end;
  margin: 0 0 2px;
  overflow: hidden;
  color: var(--secondary);
  font-size: clamp(12px, 4.1vw, 16px);
  line-height: normal;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.price-card__rate {
  grid-area: rate;
  min-width: 48px;
  padding: 8px 5px;
  border: 1px solid var(--primary);
  border-radius: 6px;
  color: #23bccf;
  font-size: 22px;
  font-weight: 700;
  line-height: normal;
  text-align: center;
}

.price-card__example {
  grid-area: example;
  align-self: start;
  display: grid;
  grid-template-columns: max-content max-content;
  align-items: center;
  gap: 2px 4px;
  min-width: 0;
}

.price-card__example span {
  grid-column: 1 / -1;
  width: max-content;
  padding: 2px 6px;
  border: 1px solid var(--primary);
  border-radius: 4px;
  color: var(--primary);
  font-size: 10px;
  line-height: normal;
  text-transform: uppercase;
}

.price-card__example p,
.price-card__example strong {
  margin: 0;
  color: var(--secondary);
  font-size: clamp(9px, 3.1vw, 12px);
  font-weight: 400;
  line-height: normal;
  white-space: nowrap;
}

.price-card__example p::after {
  content: " =";
}

.price-card__example strong {
  color: var(--secondary);
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 30px 26px 30px;
}

.footer__trust {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer__trust img {
  width: 20px;
  height: 20px;
}

.footer__trust p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: normal;
  text-align: center;
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.header-contacts {
  padding: 16px 26px;
}

.contact-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 16px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 500ms ease-out, box-shadow 500ms ease-out, border-color 500ms ease-out, filter 500ms ease-out;
}

.contact-button::before,
.contact-button::after {
  position: absolute;
  inset: 0;
  border: 3px solid #00e5ff;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  content: "";
}

.attention-contacts--active .contact-button::before {
  animation: contact-ripple 900ms ease-out 3;
}

.attention-contacts--active .contact-button::after {
  animation: contact-ripple 900ms ease-out 300ms 3;
}

@keyframes contact-ripple {
  0% {
    box-shadow: 0 0 4px 2px rgb(0 229 255 / 70%);
    opacity: 0.9;
    transform: scale(1);
  }

  100% {
    box-shadow: 0 0 18px 8px rgb(0 229 255 / 0%);
    opacity: 0;
    transform: scale(1.1, 1.35);
  }
}

@media (prefers-reduced-motion: reduce) {
  .attention-contacts--active .contact-button::before,
  .attention-contacts--active .contact-button::after {
    animation: none;
  }
}

.contact-button img {
  width: 24px;
  height: 24px;
}

.contact-button__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: normal;
}

.contact-button__subtitle {
  font-size: 11px;
}

.contact-button--telegram {
  color: #85ced3;
  background: linear-gradient(#09a6b5, #056679);
  box-shadow: inset 0 1px #06b9cc, 0 1px #024451;
}

.contact-button--whatsapp {
  border: 1px solid #10a85b;
  color: #fff;
  background: linear-gradient(#08783e, #034628);
  box-shadow: inset 0 1px #159b58, 0 1px #012f1b;
}

.contact-modal {
  width: calc(100% - 32px);
  max-width: 760px;
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid #086b7a;
  border-radius: 14px;
  background: #03151d;
  color: var(--secondary);
  box-shadow: 0 0 0 1px rgb(3 198 224 / 8%), 0 20px 70px rgb(0 0 0 / 75%);
}

.contact-modal::backdrop {
  background: rgb(0 8 12 / 78%);
  backdrop-filter: blur(3px);
}

.contact-modal__content {
  position: relative;
  padding: 38px 30px 30px;
  text-align: center;
}

.contact-modal__content::before {
  position: absolute;
  top: 0;
  left: 12%;
  width: 76%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  content: "";
}

.contact-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  padding: 0 0 2px;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  color: #8ca0a7;
  background: rgb(3 198 224 / 4%);
  font: 25px/1 Arial, sans-serif;
  cursor: pointer;
}

.contact-modal__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  border: 1px solid #10a85b;
  border-radius: 50%;
  background: linear-gradient(145deg, #08783e, #034628);
  box-shadow: 0 0 22px rgb(16 168 91 / 22%);
}

.contact-modal__icon img {
  width: 27px;
  height: 27px;
}

.contact-modal__eyebrow {
  display: block;
  margin-bottom: 7px;
  color: var(--primary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-modal h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(21px, 3vw, 28px);
  text-transform: uppercase;
}

.contact-modal p {
  max-width: 620px;
  margin: 0;
  margin-inline: auto;
  color: #aebbc0;
  font-size: 15px;
  line-height: 1.65;
}

.contact-modal__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 560px;
  margin: 26px auto 0;
}

.contact-modal__action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 10px 16px;
  border: 1px solid var(--primary);
  border-radius: 8px;
  color: var(--primary);
  background: transparent;
  font: 700 14px/1.2 "Inter", Arial, sans-serif;
  text-decoration: none;
  cursor: pointer;
}

.contact-modal__action img {
  width: 21px;
  height: 21px;
}

.contact-modal__action--primary {
  color: #d7fbff;
  background: linear-gradient(#09a6b5, #056679);
  border-color: #0bb6c7;
  box-shadow: inset 0 1px #17c8d8, 0 4px 14px rgb(3 198 224 / 15%);
}

@media (max-width: 560px) {
  .contact-modal__content {
    padding: 34px 20px 22px;
  }

  .contact-modal p {
    font-size: 14px;
    line-height: 1.55;
  }

  .contact-modal__actions {
    grid-template-columns: 1fr;
    margin-top: 22px;
  }
}

@media (hover: hover) {
  .contact-button:hover {
    transform: translateY(-2px);
    transition-duration: 250ms;
  }

  .contact-button--telegram:hover {
    box-shadow: inset 0 1px #06b9cc, 0 5px 16px rgb(3 198 224 / 30%);
    filter: brightness(1.08);
  }

  .contact-button--whatsapp:hover {
    border-color: #18c76e;
    box-shadow: inset 0 1px #1aae66, 0 5px 16px rgb(16 168 91 / 25%);
    filter: brightness(1.08);
  }
}

.footer__tagline {
  margin: 0;
  color: #676e74;
  font-size: 12px;
  line-height: normal;
  text-align: center;
}

.footer__tagline span {
  color: var(--primary);
}

@media (min-width: 768px) {
  body {
    background: #101a1f;
  }

  .hero {
    height: min(41.6667vw, 500px);
    min-height: 320px;
  }

  .casino-link-area--bet30 {
    top: 15%;
    left: 5%;
    width: 25%;
    height: 33%;
  }

  .casino-link-area--ganamos {
    top: 15%;
    left: 30%;
    width: 32%;
    height: 33%;
  }

  .casino-link-area--zeus {
    top: 15%;
    left: 62%;
    width: 32%;
    height: 33%;
  }

  .casino-link-area--zeta {
    top: 49%;
    left: 12%;
    width: 31%;
    height: 40%;
  }

  .casino-link-area--gana-en-casa {
    top: 48%;
    left: 51%;
    width: 38%;
    height: 42%;
  }

  .hero__logo {
    top: 9.2%;
    left: 6%;
    width: 190px;
  }

  .hero__background {
    object-position: center;
  }

  .hero__title {
    top: 44.2%;
    left: 6%;
    font-size: clamp(38px, 4.58vw, 55px);
    line-height: 1.31;
  }

  .hero__copy {
    top: 72.6%;
    left: 6%;
    font-size: clamp(20px, 2.25vw, 27px);
    line-height: 1.37;
  }

  .section-title {
    gap: 18px;
    padding: 0 90px;
  }

  .section-title h2 {
    font-size: 20px;
  }

  .price-list {
    gap: 5px;
    align-items: center;
    padding: 15px 10px;
  }

  .price-card {
    grid-template-columns: 90px minmax(280px, 354px) 136px 1px minmax(0, 1fr);
    grid-template-areas: "chip range rate divider example";
    gap: clamp(8px, 1.92vw, 23px);
    width: min(950px, 100%);
    min-height: 121px;
    padding: 13px;
    border-radius: 14px;
  }

  .price-card__chip {
    width: 90px;
    height: 90px;
  }

  .price-card__range {
    align-self: center;
    margin: 0;
    font-size: clamp(24px, 2.67vw, 32px);
    letter-spacing: -0.04em;
  }

  .price-card__rate {
    width: 124px;
    padding: 7px 6px;
    font-size: 48px;
  }

  .price-card::after {
    grid-area: divider;
    width: 1px;
    height: 66px;
    background: var(--primary);
    content: "";
  }

  .price-card__example {
    align-self: center;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .price-card__example span {
    flex-basis: auto;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 15px;
  }

  .price-card__example p,
  .price-card__example strong {
    font-size: clamp(18px, 2.17vw, 26px);
  }

  .price-card__example p::after {
    content: "";
  }

  .price-card__example strong {
    color: var(--primary);
    font-size: clamp(24px, 2.83vw, 34px);
    font-weight: 600;
    line-height: 0.8;
  }

  .footer {
    gap: 23px;
    width: min(956px, 100%);
    margin: 0 auto;
    padding: 38px 40px;
  }

  .footer__trust {
    gap: 10px;
  }

  .footer__trust img {
    width: 24px;
    height: 24px;
  }

  .footer__trust p {
    font-size: 16px;
  }

  .footer__contacts {
    flex-direction: row;
    gap: 25px;
  }

  .header-contacts {
    width: min(956px, 100%);
    margin: 0 auto;
    padding: 28px 40px;
  }

  .contact-button {
    flex: 1;
    height: 67px;
    gap: 10px;
    font-size: 18px;
  }

  .footer__tagline {
    font-size: 14px;
  }

  .mobile-only {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 999px) {
  .price-card {
    grid-template-columns: 72px minmax(0, 1fr) auto;
    grid-template-areas:
      "chip range rate"
      "chip example rate";
    gap: 0 12px;
    width: min(700px, 100%);
    min-height: 94px;
    padding: 10px 12px;
  }

  .price-card__chip {
    width: 72px;
    height: 72px;
  }

  .price-card__range {
    align-self: end;
    margin: 0 0 4px;
    font-size: 22px;
  }

  .price-card__rate {
    width: auto;
    min-width: 84px;
    padding: 8px;
    font-size: 34px;
  }

  .price-card::after {
    display: none;
  }

  .price-card__example {
    align-self: start;
    display: grid;
    grid-template-columns: max-content max-content;
    align-items: center;
    gap: 3px 5px;
  }

  .price-card__example span {
    grid-column: 1 / -1;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
  }

  .price-card__example p,
  .price-card__example strong {
    color: var(--secondary);
    font-size: 14px;
    font-weight: 400;
    line-height: normal;
  }

  .price-card__example p::after {
    content: " =";
  }
}

@media (max-width: 359px) {
  .hero__title {
    font-size: 18px;
  }

  .price-list {
    padding-inline: 6px;
  }

  .price-card {
    grid-template-columns: 46px minmax(0, 1fr) auto;
    padding: 8px;
  }

  .price-card__chip {
    width: 46px;
    height: 46px;
  }

  .contact-button {
    font-size: 12px;
  }
}
