:root {
  --bg-color: #0b141d;
  --surface-color: #121c27;
  --surface-hover: #1b2836;
  --primary-color: #f12c4c;
  --primary-hover: #ff3f5d;
  --accent-green: #05c983;
  --text-main: #f4f7fb;
  --text-muted: #a7b0bd;
  --border-color: rgba(255, 255, 255, 0.08);
  --container-width: 1180px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 8px;
}

html {
  background: #0b141d;
}

body {
  background:
    radial-gradient(circle at 78% 18%, rgba(5, 201, 131, 0.14), transparent 31rem),
    linear-gradient(180deg, #0d1721 0%, #0b141d 48%, #081018 100%);
  color: var(--text-main);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "Sign up and receive a bonus up to EUR200";
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 4px 16px;
  background: #05c983;
  color: #072017;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.container {
  width: min(100% - 28px, var(--container-width));
  padding: 0;
}

header {
  top: 0 !important;
  padding: 0 !important;
  background: rgba(13, 23, 33, 0.98) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.header-inner {
  min-height: 72px;
  gap: 18px;
  padding-right: 64px;
}

.logo {
  min-width: 136px;
  color: #fff;
  letter-spacing: 0;
}

.logo svg {
  display: none !important;
}

.logo .blaze-logo-img {
  width: 136px;
  height: auto;
  max-height: 38px;
  object-fit: contain;
}

.header-actions {
  margin-left: auto;
}

.btn {
  min-height: 40px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
}

.btn-primary {
  background: #f12c4c;
  color: #fff;
  box-shadow: 0 9px 20px rgba(241, 44, 76, 0.26);
}

.btn-primary:hover {
  background: #ff3f5d;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border-color: transparent;
  color: #f4f7fb;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.mandatory-header-burger-nav {
  position: absolute !important;
  top: 13px;
  right: max(14px, calc((100vw - var(--container-width)) / 2));
}

.mandatory-header-burger__button,
.mandatory-header-burger--card .mandatory-header-burger__button,
.mandatory-header-burger--sheet .mandatory-header-burger__button,
.mandatory-header-burger--rail .mandatory-header-burger__button,
.mandatory-header-burger--minimal .mandatory-header-burger__button {
  width: 46px !important;
  height: 46px !important;
  border: 1px solid rgba(255, 255, 255, 0.11) !important;
  border-radius: 5px !important;
  background: #172331 !important;
  color: #d9e1ea !important;
  box-shadow: none !important;
}

.mandatory-header-burger__button span {
  width: 22px !important;
  height: 2px !important;
  background: currentColor !important;
}

.mandatory-header-burger__panel,
.mandatory-header-burger--card .mandatory-header-burger__panel,
.mandatory-header-burger--sheet .mandatory-header-burger__panel,
.mandatory-header-burger--rail .mandatory-header-burger__panel,
.mandatory-header-burger--minimal .mandatory-header-burger__panel {
  top: 56px !important;
  right: 0 !important;
  min-width: 270px !important;
  height: auto !important;
  max-height: min(74vh, 620px) !important;
  padding: 8px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 8px !important;
  background: #111b26 !important;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45) !important;
}

.mandatory-header-burger__panel a {
  color: #dce5ee !important;
  border-radius: 6px !important;
  padding: 12px 13px !important;
  font-size: 14px !important;
}

.mandatory-header-burger__panel a:hover {
  background: #f12c4c !important;
  color: #fff !important;
}

body > .mobile-nav,
body > .mobile-nav + div {
  display: none !important;
}

.hero {
  padding: clamp(34px, 6vw, 72px) 0 34px !important;
  text-align: left !important;
  background:
    linear-gradient(180deg, rgba(7, 16, 24, 0) 0%, rgba(7, 16, 24, 0.52) 100%),
    #0b141d !important;
  border-bottom: 0;
}

.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(22px, 4vw, 52px);
  align-items: center;
}

.hero .container::after {
  content: "";
  display: block;
  min-height: clamp(300px, 38vw, 470px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(11, 20, 29, 0) 58%, rgba(11, 20, 29, 0.88) 100%),
    url("/assets/blaze/blaze-dashboard.png") center / cover no-repeat;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

h1 {
  max-width: 600px;
  font-size: clamp(38px, 5vw, 64px);
  letter-spacing: 0;
  text-transform: none;
}

.hero-intro {
  max-width: 600px;
  margin-left: 0;
  color: #b7c1cc;
}

.offer-box {
  width: min(100%, 540px);
  border: 0;
  border-radius: 8px;
  padding: 28px;
  background:
    linear-gradient(125deg, rgba(5, 201, 131, 0.98) 0%, rgba(5, 190, 132, 0.96) 52%, rgba(8, 151, 110, 0.96) 100%),
    url("/assets/blaze/blaze-welcome.jpg") right center / cover no-repeat;
  box-shadow: 0 18px 45px rgba(5, 201, 131, 0.18);
}

.offer-title {
  color: rgba(6, 28, 20, 0.72);
  font-size: 12px;
  letter-spacing: 0;
}

.offer-value {
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.toc-wrapper {
  top: 72px;
  background: rgba(11, 20, 29, 0.96);
  border-color: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(14px);
}

.toc {
  padding: 13px 0;
}

.toc a {
  border: 0;
  border-radius: 999px;
  background: #172331;
  color: #cbd5df;
}

.toc a:first-child {
  background: #f12c4c;
  color: #fff;
}

section {
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

h2,
h3,
h4 {
  letter-spacing: 0;
}

p,
li,
td {
  color: #aab4c0;
}

.answer-box,
.faq-item,
.howto-steps li,
table,
.footer-author-card,
.help-block {
  background: #111b26 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  border-radius: 8px !important;
}

th {
  background: #162331;
  color: #f4f7fb;
}

tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.025);
}

.game-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 54px);
  align-items: stretch;
}

.game-tile {
  display: flex;
  flex-direction: column;
  min-height: 410px;
  aspect-ratio: auto;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #132330;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.game-tile:hover {
  border-color: transparent;
  transform: translateY(-5px);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.36);
}

.game-tile-cover {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  background: #101923;
}

.game-tile-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: space-between;
  min-height: 122px;
  padding: 26px 22px 23px;
  background: #142431;
}

.game-tile-name {
  display: block;
  position: static;
  width: auto;
  padding: 0;
  background: none;
  color: #75baff;
  font-family: Impact, "Arial Black", Arial, sans-serif;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.1;
  text-align: left;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.game-tile-name::after {
  content: none;
}

.game-tile-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: Impact, "Arial Black", Arial, sans-serif;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.blaze-games-module {
  padding: 20px 0 34px;
  border-bottom: 0;
}

.blaze-games-module .game-grid {
  margin-bottom: 0;
}

.blaze-visual-module {
  margin: 20px 0 28px;
  padding: 0;
  border: 0;
}

.blaze-visual-frame {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: #101923;
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.38);
}

.blaze-visual-frame img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  object-position: top center;
}

.blaze-chip-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 12px;
  background: #0d1721;
  scrollbar-width: none;
}

.blaze-chip-row::-webkit-scrollbar {
  display: none;
}

.blaze-chip {
  flex: 0 0 auto;
  padding: 9px 14px;
  border-radius: 999px;
  background: #172331;
  color: #dce5ee;
  font-size: 13px;
  font-weight: 800;
}

.blaze-chip:first-child {
  background: #f12c4c;
  color: #fff;
}

.blaze-card-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.blaze-card {
  min-height: 132px;
  padding: 14px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 42%, rgba(6, 12, 19, 0.74) 100%),
    linear-gradient(140deg, #805cff 0%, #f12c4c 100%);
  color: #fff;
  display: flex;
  align-items: flex-end;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

.blaze-card:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 42%, rgba(6, 12, 19, 0.72) 100%),
    linear-gradient(140deg, #ffae35 0%, #f15b2c 100%);
}

.blaze-card:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 42%, rgba(6, 12, 19, 0.72) 100%),
    linear-gradient(140deg, #18a8ff 0%, #77d8ff 100%);
}

.blaze-card:nth-child(4) {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 42%, rgba(6, 12, 19, 0.72) 100%),
    url("/assets/blaze/blaze-mobile.jpg") center / cover no-repeat;
}

.template-assembled-main {
  width: min(1180px, calc(100% - 28px)) !important;
  margin-top: 32px !important;
}

.template-assembled-content {
  position: relative;
}

.template-assembled-content > h1:first-child {
  padding-top: 8px;
}

.template-assembled-content > h1:first-child::before {
  content: "";
  display: block;
  width: 136px;
  height: 38px;
  margin-bottom: 22px;
  background: url("/assets/blaze/blaze-logo.svg") left center / contain no-repeat;
}

.sticky-cta {
  background: #111b26;
  border-top-color: rgba(241, 44, 76, 0.65);
}

footer {
  background: #071018;
}

@media (max-width: 920px) {
  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero .container::after {
    min-height: 300px;
    order: -1;
  }

  .blaze-card-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .game-tile {
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  body::before {
    font-size: 11px;
  }

  .header-inner {
    min-height: 64px;
    padding-right: 56px;
  }

  .desktop-only,
  .header-actions {
    display: none !important;
  }

  .logo .blaze-logo-img {
    width: 120px;
  }

  .mandatory-header-burger-nav {
    top: 9px;
    right: 14px;
  }

  .mandatory-header-burger__panel,
  .mandatory-header-burger--card .mandatory-header-burger__panel,
  .mandatory-header-burger--sheet .mandatory-header-burger__panel,
  .mandatory-header-burger--rail .mandatory-header-burger__panel,
  .mandatory-header-burger--minimal .mandatory-header-burger__panel {
    left: auto !important;
    right: 0 !important;
    top: 54px !important;
    width: min(300px, calc(100vw - 28px)) !important;
  }

  .hero {
    padding-top: 22px !important;
  }

  .hero .container::after {
    min-height: 220px;
  }

  .offer-box {
    padding: 20px;
  }

  .toc-wrapper {
    top: 64px;
  }

  .blaze-visual-frame img {
    aspect-ratio: 1.2;
  }

  .blaze-card-strip {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .blaze-card {
    min-height: 108px;
    padding: 12px;
    font-size: 13px;
  }

  .game-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .game-tile {
    min-height: 0;
  }

  .game-tile-body {
    min-height: 112px;
    padding: 22px 20px;
  }

  .game-tile-name,
  .game-tile-cta {
    font-size: 17px;
  }
}
