/* RESET */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
}

html, body {
  width: 100%;
  height: 100%;
  font-size: 14px;
  line-height: 1.4;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #ffffff;
  background-color: #151515;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: transparent;
}

/* FONTS (імітація, підставляй свої файли якщо треба) */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/assets_3.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/assets_2.woff2") format("woff2");
}

@font-face {
  font-family: "Prompt";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/assets.woff2") format("woff2");
}

@font-face {
  font-family: "Prompt";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/assets_1.woff2") format("woff2");
}

/* VARIABLES */
:root {
  --font-main: "Inter", system-ui, sans-serif;
  --font-second: "Prompt", system-ui, sans-serif;

  --container-width: 1240px;
  --container-step: 20px;
  --container-step-tablet: 15px;
  --container-step-mobile: 10px;

  --bg-page: #151515;
  --color-main: #ffffff;
  --color-black: #000000;
  --color-blue: #1f224e;
  --color-hover: #7B68EE;
  --color-active: #4169E1;

  --gradient-card: linear-gradient(90deg, rgba(1, 45, 103, 0.75) 0%, rgba(112, 86, 99, 0.75) 100%);
}

/* HELPERS */
.Prompt {
  font-family: var(--font-second);
}

.container {
  max-width: calc(var(--container-width) + var(--container-step) * 2);
  margin: 0 auto;
  padding-inline: var(--container-step);
}

@media (max-width: 991px) {
  .container {
    padding-inline: var(--container-step-tablet);
  }
}

@media (max-width: 600px) {
  .container {
    padding-inline: var(--container-step-mobile);
  }
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-page);
  background-image: radial-gradient(circle at top, #2a2a5a 0, transparent 55%),
                    radial-gradient(circle at bottom, #5a2a3a 0, transparent 55%);
  background-attachment: fixed;
  color: var(--color-main);
}

/* текстові утиліти */
.tx-main {
  font-size: 16px;
  line-height: 1.5;
}

.tx-10 {
  font-size: 10px;
  letter-spacing: .12em;
}

.tx-16-10 {
  font-size: 16px;
}

.tx-20-16 {
  font-size: 20px;
}

.tx-28-18 {
  font-size: 28px;
}

.tx-64-24 {
  font-size: 64px;
}

@media (max-width: 991px) {
  .tx-16-10 {
    font-size: 14px;
  }
  .tx-20-16 {
    font-size: 18px;
  }
  .tx-28-18 {
    font-size: 22px;
  }
  .tx-64-24 {
    font-size: 32px;
  }
}

.uppercase {
  text-transform: uppercase;
}

.fw-600 {
  font-weight: 600;
}

.text-center {
  text-align: center;
}

.text-shadow {
  text-shadow: 0 4px 16px rgba(0,0,0,0.7);
}

.mb-10 {
  margin-bottom: 10px;
}

.mb-8 {
  margin-bottom: 8px;
}

.mb-section {
  margin-bottom: 40px;
}

@media (max-width: 991px) {
  .mb-section {
    margin-bottom: 24px;
  }
}

/* BG & BORDERS */
.bg-card {
  backdrop-filter: blur(10px);
  background: var(--gradient-card);
}

.bg-block {
  backdrop-filter: blur(8px);
  background: rgba(36, 36, 36, 0.75);
}

.bg-header {
  background-color: rgba(20, 20, 20, 0.85);
  padding: 10px 100px;
  border-radius: 30px;
}

@media (max-width: 1220px) {
  .bg-header {
    padding-inline: 16px;
  }
}

@media (max-width: 600px) {
  .bg-header {
    border-radius: 20px;
  }
}

.bg-blue {
  background-color: var(--color-blue);
}

.brr-20 {
  border-radius: 20px;
}

.border-1-blue {
  border: 1px solid #008ac9;
}

.border-1-light {
  border: 1px solid rgba(250, 249, 240, 0.7);
}

.ptb-30-20 {
  padding-block: 30px;
}

.ptb-30 {
  padding-block: 32px;
}

.plr-24 {
  padding-inline: 24px;
}

/* ACCESSIBILITY */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0 0 0 0);
}

/* HEADER */
.hypernovabets-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: 20px;
  padding-bottom: 10px;
}

.hypernovabets-header__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-second);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: color .25s ease;
}

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

.logo:hover,
.logo:focus-visible {
  color: var(--color-hover);
}

/* NAV */
.hypernovabets-header__menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hypernovabets-nav__list {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hypernovabets-nav__link {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  transition: background .2s ease, color .2s ease;
}

.hypernovabets-nav__link:hover,
.hypernovabets-nav__link:focus-visible {
  background: rgba(255,255,255,0.12);
  color: var(--color-hover);
}

/* burger */
.hypernovabets-burger {
  position: relative;
  width: 40px;
  height: 28px;
  display: none;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
}

.hypernovabets-burger span {
  position: absolute;
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background-color: #ffffff;
  transition: transform .3s ease, opacity .3s ease, top .3s ease, bottom .3s ease;
}

.hypernovabets-burger span:nth-child(1) {
  top: 8px;
}

.hypernovabets-burger span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.hypernovabets-burger span:nth-child(3) {
  bottom: 8px;
}

/* mobile menu */
.hypernovabets-header__exit-menu {
  display: none;
}

@media (max-width: 768px) {
  .hypernovabets-burger {
    display: inline-flex;
  }

  .hypernovabets-header__menu {
    position: fixed;
    inset: 0;
    padding: 80px 20px 20px;
    background: rgba(6, 6, 10, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: flex-start;
    transform: translateX(100%);
    transition: transform .3s ease;
  }

  .hypernovabets-header__menu.active {
    transform: translateX(0);
  }

  .hypernovabets-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hypernovabets-header__exit-menu {
    display: block;
    position: absolute;
    top: 18px;
    right: 18px;
    width: 26px;
    height: 26px;
  }

  .hypernovabets-header__exit-menu::before,
  .hypernovabets-header__exit-menu::after {
    content: "";
    position: absolute;
    inset: 50%;
    width: 26px;
    height: 2px;
    border-radius: 999px;
    background-color: #ffffff;
  }

  .hypernovabets-header__exit-menu::before {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .hypernovabets-header__exit-menu::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }
}

/* HERO */
.first-block {
  padding-top: 40px;
}

.hero-inner {
  max-width: 900px;
  margin-inline: auto;
}

.hypernovabets-hero__list {
  max-width: 680px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* hero benefits */
.hypernovabets-hero__benefits {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.benefit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 6px 20px;
  font-size: 14px;
  background-color: rgba(31, 34, 78, 0.78);
}

.benefit__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* підстав свої іконки при бажанні */
.benefit__icon--bonus {
  background-image: url("../images/assets_10.webp");
}

.benefit__icon--odds {
  background-image: url("../images/assets_11.webp");
}

.benefit__icon--payments {
  background-image: url("../images/assets_12.webp");
}

/* SECTION DATES */
.hypernovabets-section {
  padding-bottom: 40px;
}

.hypernovabets-dates {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}

.hypernovabets-dates__wrapper {
  display: inline-flex;
  align-items: center;
}

/* CARDS */
.hypernovabets-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hypernovabets-card {
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(0, 1fr) minmax(180px, 220px);
  align-items: stretch;
  padding: 18px 16px;
  position: relative;
  overflow: hidden;
}

@media (max-width: 991px) {
  .hypernovabets-card {
    grid-template-columns: minmax(120px, 200px) minmax(0, 1.3fr);
    grid-template-rows: auto auto;
    row-gap: 14px;
  }

  .hypernovabets-card__right {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .hypernovabets-card {
    grid-template-columns: 1fr;
  }

  .hypernovabets-card__left {
    justify-content: flex-start;
    margin-bottom: 10px;
  }

  .hypernovabets-card__right {
    align-items: stretch;
  }
}

/* badge */
.hypernovabets-card__legolas {
  position: absolute;
  left: 0;
  top: 0;
}

.legolas {
  border-radius: 20px 0 20px 0;
  padding: 10px 28px;
  background-color: #02ad00;
  font-family: var(--font-second);
  font-weight: 700;
  font-size: 14px;
}

/* LEFT */
.hypernovabets-card__left {
  border-radius: 16px;
  padding: 14px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hypernovabets-card__logo img {
  max-height: 60px;
  object-fit: contain;
}

/* MIDDLE */
.hypernovabets-card__middle {
  padding-inline: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hypernovabets-card__wrapper-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.hypernovabets-card__rating {
  font-size: 20px;
}

.hypernovabets-card__stars {
  display: inline-flex;
  gap: 2px;
}

.hypernovabets-card__stars img {
  width: 18px;
  height: 18px;
}

/* card info list */
.hypernovabets-card__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
}

/* RIGHT */
.hypernovabets-card__right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.hypernovabets-card__bonus {
  font-size: 16px;
}

.hypernovabets-card__btn {
  width: 100%;
}

/* BUTTONS */
.but {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .08s ease;
}

.but--primary {
  background: linear-gradient(90deg, #e69008 0%, #e94061 100%);
  border-color: rgba(255,255,255,0.25);
}

.but--primary:hover {
  background: linear-gradient(90deg, #ffb13a 0%, #ff5a7b 100%);
  transform: translateY(-1px);
}

/* hover helpers */
.hover-opacity {
  transition: opacity .2s ease;
}

.hover-opacity:hover {
  opacity: .9;
}

.hover-color {
  transition: color .2s ease;
}

.hover-color:hover {
  color: var(--color-hover);
}

/* INFO BLOCK */
.hypernovabets-info {
  margin-top: 24px;
}

/* FOOTER */
.hypernovabets-footer {
  margin-top: auto;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.hypernovabets-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.footer-copy {
  font-size: 13px;
  opacity: .9;
}

.hypernovabets-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  font-size: 13px;
}

.hypernovabets-footer__links a {
  opacity: .85;
}

.hypernovabets-footer__links a:hover {
  opacity: 1;
  color: var(--color-hover);
}

.footer-warning {
  font-size: 12px;
  opacity: .8;
  max-width: 900px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hypernovabets-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-inner {
    text-align: left;
  }

  .text-center {
    text-align: left;
  }
}
