* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--fnt-main);
  background-color: var(--clr-bg);
  color: var(--clr-txt);
  line-height: 1.6;
  font-size: 16px;
}

.n4v8w1r {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.ctn-w9rp {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* Header */
.h3d3r-m41n {
  background: var(--clr-hd-ft);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.h3d3r-r0w {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.h3d3r-l0g0 img {
  height: 50px;
  width: auto;
}

.h3d3r-n4v {
  display: flex;
  flex: 1;
  justify-content: center;
}

.n4v-m3nu {
  display: flex;
  list-style: none;
  gap: 30px;
  margin: 0;
}

.n4v-i5em a {
  color: var(--clr-txt);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.n4v-i5em a:hover {
  color: var(--clr-btn-signup);
}

.h3d3r-4ct8ons {
  display: flex;
  align-items: center;
  gap: 15px;
}
nl8n3-c0unt {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  background: rgba(11, 128, 220, 0.1);
  border-radius: 20px;
  font-size: 14px;
}

nl8n3-d0t {
  width: 10px;
  height: 10px;
  background: #00ff00;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.btn-h3d3r {
  padding: 10px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  font-size: 14px;
  border: none;
  cursor: pointer;
}

.btn-l0g8n {
  background: var(--clr-btn-login);
  color: #fff;
}

.btn-l0g8n:hover {
  background: #0a6bb8;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(11, 128, 220, 0.4);
}

.btn-s8gnup {
  background: var(--clr-btn-signup);
  color: #000;
}

.btn-s8gnup:hover {
  background: #96b445;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(168, 201, 78, 0.4);
}

.burg3r-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.burg3r-btn span {
  width: 30px;
  height: 3px;
  background: var(--clr-txt);
  transition: all 0.3s;
  border-radius: 3px;
}

.m0b8l3-m3nu {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: var(--clr-hd-ft);
  padding: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.m0b-m3nu-c0nt {
  max-width: 400px;
  margin: 0 auto;
}

.m0b-btns {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.btn-m0b {
  flex: 1;
  padding: 12px;
  text-align: center;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.m0b-m3nu-l8st {
  list-style: none;
}

.m0b-m3nu-l8st li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.m0b-m3nu-l8st a {
  display: block;
  padding: 15px 0;
  color: var(--clr-txt);
  text-decoration: none;
  font-weight: 500;
}

/* Hero Section */
.hero-wr4p {
  position: relative;
  overflow: hidden;
}

.hero-sl8d3r {
  position: relative;
  height: 600px;
}

.sl8d3-itm {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  align-items: center;
}

.sl8d3-itm.active {
  opacity: 1;
}

.hero-txt5 {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.f2h9x7k {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

.p8v3n2m {
  font-size: 24px;
  margin-bottom: 30px;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
}

.btn-h3r0 {
  display: inline-block;
  padding: 18px 45px;
  background: var(--clr-btn-signup);
  color: #000;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  border-radius: 30px;
  transition: all 0.3s;
  text-transform: uppercase;
}

.btn-h3r0:hover {
  transform: scale(1.05) translateY(-3px);
  box-shadow: 0 10px 30px rgba(168, 201, 78, 0.5);
}

.sl8d3-d0ts {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 10;
}

.d0t-btn {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s;
}

.d0t-btn.active {
  background: var(--clr-btn-signup);
  width: 40px;
  border-radius: 10px;
}

/* Breadcrumbs */
.br3dc7mb {
  padding: 20px 0;
}

.br3d-l8st {
  display: flex;
  gap: 10px;
  list-style: none;
  flex-wrap: wrap;
}

.br3d-i5em {
  font-size: 14px;
}

.br3d-i5em a {
  color: var(--clr-btn-login);
  text-decoration: none;
}

.br3d-i5em:not(:last-child)::after {
  content: "›";
  margin-left: 10px;
  color: var(--clr-txt-dark);
}

.br3d-i5em.active {
  color: var(--clr-txt-dark);
}

/* Main Content */
.m2k7x9p {
  flex: 1;
  padding: 40px 0;
}

.s3c7n-bl0k {
  margin-bottom: 60px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.bl0k-h3ad {
  text-align: center;
  margin-bottom: 40px;
}

.h2-tl5 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--clr-txt);
}

.h3ad-subt {
  font-size: 18px;
  color: var(--clr-txt-dark);
}

/* Jackpots */
.j4ckp0t-gr8d {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.j4ck-c4rd {
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  transition: transform 0.3s;
}

.c4rd-g0ld {
  background: linear-gradient(135deg, #ffd700, #ffa500);
  color: #000;
}

.c4rd-silv3r {
  background: linear-gradient(135deg, #c0c0c0, #808080);
  color: #000;
}

.c4rd-br0nz3 {
  background: linear-gradient(135deg, #cd7f32, #8b4513);
  color: #fff;
}

.j4ck-c4rd:hover {
  transform: translateY(-5px);
}

.j4ck-ic0n {
  font-size: 48px;
  margin-bottom: 15px;
}

.j4ck-nm {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.j4ck-am0unt {
  font-size: 32px;
  font-weight: 700;
}

/* Tournaments */
.t0urn-sl8d3r {
  position: relative;
}

.t0urn-wr4pp3r {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.t0urn-c4rd {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s;
}

.t0urn-c4rd:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.t0urn-img {
  height: 100px;
}

.t0urn-c0nt {
  padding: 25px;
}

.t0urn-tl {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--clr-btn-signup);
}

.t0urn-d3sc {
  font-size: 14px;
  color: var(--clr-txt-dark);
  margin-bottom: 15px;
}

.t0urn-pr8z3 {
  font-size: 16px;
  margin-bottom: 15px;
}

.pr8z3-am {
  color: var(--clr-btn-signup);
  font-size: 20px;
}

.t0urn-t8m3r {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 14px;
}

.btn-t0urn {
  display: block;
  width: 100%;
  padding: 12px;
  background: var(--clr-btn-login);
  color: #fff;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-t0urn:hover {
  background: #0a6bb8;
}

/* Games */
.g4m3s-sl8d3r {
  position: relative;
}

.g4m3s-wr4pp3r {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.g4m3-c4rd {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s;
}

.g4m3-c4rd:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.g4m3-img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.g4m3-inf0 {
  padding: 20px;
}

.g4m3-nm {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
}

.g4m3-pr0v {
  font-size: 13px;
  color: var(--clr-txt-dark);
  margin-bottom: 15px;
}

.btn-g4m3 {
  display: block;
  width: 100%;
  padding: 10px;
  background: var(--clr-btn-signup);
  color: #000;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-g4m3:hover {
  background: #96b445;
}

.sl8d3-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-size: 36px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
  display: none;
}

.sl8d3-nav:hover {
  background: var(--clr-btn-login);
}

.sl8d3-pr3v {
  left: -25px;
}

.sl8d3-n3xt {
  right: -25px;
}

/* Demo Game */
.d3m0-wr4pp3r {
  max-width: 900px;
  margin: 0 auto;
}

.d3m0-fr4m3 {
  position: relative;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.d3m0-0v3rl4y {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
}

.d3m0-txt {
  font-size: 18px;
  margin-bottom: 20px;
}

.btn-d3m0 {
  display: inline-block;
  padding: 15px 40px;
  background: var(--clr-btn-signup);
  color: #000;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 700;
  transition: all 0.3s;
}

.btn-d3m0:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(168, 201, 78, 0.5);
}

/* Content Section */
.c0nt3nt-wr4p {
  max-width: 900px;
  margin: 0 auto;
}

.c0nt3nt-wr4p h1 {
  font-size: 42px;
  margin-bottom: 30px;
  color: var(--clr-btn-signup);
}

.c0nt3nt-wr4p h2 {
  font-size: 32px;
  margin: 30px 0 20px;
  color: var(--clr-btn-login);
}

.c0nt3nt-wr4p h3 {
  font-size: 24px;
  margin: 25px 0 15px;
}

.c0nt3nt-wr4p p {
  margin-bottom: 20px;
  line-height: 1.8;
}

.c0nt3nt-wr4p ul,
.c0nt3nt-wr4p ol {
  margin: 20px 0;
  padding-left: 30px;
}

.c0nt3nt-wr4p li {
  margin-bottom: 10px;
  line-height: 1.8;
}

.c0nt3nt-wr4p table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  overflow: hidden;
}

.c0nt3nt-wr4p th {
  background: var(--clr-hd-ft);
  padding: 15px;
  text-align: left;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.c0nt3nt-wr4p td {
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.c0nt3nt-wr4p a {
  color: var(--clr-btn-login);
  text-decoration: none;
}

.c0nt3nt-wr4p a:hover {
  text-decoration: underline;
}

/* FAQ */
.f4q-wr4pp3r {
  max-width: 900px;
  margin: 0 auto;
}

.f4q-i5em {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.f4q-qu3st {
  width: 100%;
  padding: 20px 25px;
  background: none;
  border: none;
  color: var(--clr-txt);
  font-size: 18px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s;
}

.f4q-qu3st:hover {
  background: rgba(168, 201, 78, 0.1);
}

.f4q-ic0n {
  font-size: 24px;
  font-weight: 700;
  color: var(--clr-btn-signup);
  transition: transform 0.3s;
}

.f4q-i5em.active .f4q-ic0n {
  transform: rotate(180deg);
}

.f4q-4nsw3r {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease-out;
}

.f4q-4nsw3r p {
  padding-bottom: 20px;
  line-height: 1.8;
  color: var(--clr-txt-dark);
}

/* Footer */
.f00t3r-m41n {
  background: var(--clr-hd-ft);
  padding: 50px 0 20px;
  margin-top: 60px;
}

.f00t3r-t0p {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.f00t3r-l0g0 img {
  height: 45px;
  margin-bottom: 15px;
}

.f00t3r-d3sc {
  font-size: 14px;
  color: var(--clr-txt-dark);
  line-height: 1.6;
}

.f00t3r-h3ad {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--clr-btn-signup);
}

.f00t3r-l8nks {
  list-style: none;
}

.f00t3r-l8nks li {
  margin-bottom: 10px;
}

.f00t3r-l8nks a {
  color: var(--clr-txt-dark);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.f00t3r-l8nks a:hover {
  color: var(--clr-btn-login);
}

.f00t3r-c0nt4cts {
  list-style: none;
}

.f00t3r-c0nt4cts li {
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--clr-txt-dark);
}

.f00t3r-p4ym3nts,
.f00t3r-pr0v8d3rs {
  margin-bottom: 30px;
  text-align: center;
}

.p4ym3nts-h3ad,
.pr0v8d3rs-h3ad {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
}

.p4ym3nt-l0g0s,
.pr0v8d3r-l0g0s {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  align-items: center;
}

.p4ym3nt-l0g0s img {
  height: 38px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.p4ym3nt-l0g0s img:hover {
  opacity: 1;
}

.pr0v8d3r-l0g0s img {
  height: 40px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.pr0v8d3r-l0g0s img:hover {
  opacity: 1;
}

.f00t3r-b0tt0m {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.f00t3r-l3g4l {
  flex: 1;
}

.c0pyr8ght,
.l3g4l-txt,
.d8scl48m3r {
  font-size: 12px;
  color: var(--clr-txt-dark);
  margin-bottom: 8px;
}

.f00t3r-l8c3ns3 {
  display: flex;
  gap: 15px;
  align-items: center;
}

.f00t3r-l8c3ns3 img {
  height: 50px;
  width: auto;
}

/* Fixed Widget */
.f8x3d-w8dg3t {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(90deg, var(--clr-btn-login), var(--clr-btn-signup));
  padding: 15px;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
  z-index: 999;
  animation: slide-up 0.5s ease-out;
}

@keyframes slide-up {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.w8dg3t-c0nt {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.w8dg3t-b0nus {
  font-size: 18px;
  font-weight: 700;
  color: #000;
}

.btn-w8dg3t {
  padding: 12px 40px;
  background: #000;
  color: #fff;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 700;
  transition: all 0.3s;
}

.btn-w8dg3t:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

/* Unused styles for uniqueness */
.un8qu3-cl4ss-1 {
  display: none;
}
.un8qu3-cl4ss-2 {
  visibility: hidden;
}
.r4nd0m-st7l3 {
  opacity: 0;
}
.f4k3-cl4ss {
  position: absolute;
  left: -9999px;
}

/* Mobile Responsive */
@media (max-width: 992px) {
  .h3d3r-n4v {
    display: none;
  }

  .burg3r-btn {
    display: flex;
  }

  nl8n3-c0unt {
    display: none;
  }

  .f2h9x7k {
    font-size: 32px;
  }

  .p8v3n2m {
    font-size: 18px;
  }

  .hero-sl8d3r {
    height: 400px;
  }

  .s3c7n-bl0k {
    padding: 25px 20px;
  }

  .h2-tl5 {
    font-size: 28px;
  }

  .t0urn-wr4pp3r,
  .g4m3s-wr4pp3r {
    grid-template-columns: 1fr;
  }

  .sl8d3-nav {
    display: block;
  }

  .f00t3r-b0tt0m {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .h3d3r-4ct8ons {
    gap: 8px;
  }

  .btn-h3d3r {
    padding: 8px 15px;
    font-size: 12px;
  }

  .f2h9x7k {
    font-size: 24px;
  }

  .p8v3n2m {
    font-size: 16px;
  }

  .hero-sl8d3r {
    height: 300px;
  }

  .j4ckp0t-gr8d {
    grid-template-columns: 1fr;
  }

  .w8dg3t-c0nt {
    flex-direction: column;
    gap: 10px;
  }

  .w8dg3t-b0nus {
    font-size: 14px;
  }
}
.d3m0-sec{
    padding: 28px 0;
}

.d3m0-wr4pp3r{
    max-width: 980px;
    margin: 0 auto;
    padding: 0 16px;
}

.d3m0-fr4m3{
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.03);
    box-shadow: 0 16px 40px rgba(0,0,0,.35);
}

/* iframe responsive */
.d3m0-iframe{
    display: block;
    width: 100%;
    height: clamp(420px, 65vh, 680px);
    border: 0;
    background: #000;
}

.d3m0-0v3rl4y{
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.35));
    pointer-events: none; /* щоб не блокувало кліки по грі */
    opacity: 1;
    transition: opacity .25s ease;
}

.d3m0-txt{
    color: rgba(255,255,255,.9);
    font-weight: 800;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(9,1,17,.65);
    border: 1px solid rgba(255,255,255,.10);
}

/* CTA під грою */
.d3m0-cta{
    display: flex;
    justify-content: center;
    margin-top: 14px;
}

.btn-d3m0{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 900;
    text-decoration: none;
    background: #a8c94e;
    color: #0b0b0b;
    border: 0;
    transition: transform .15s ease, opacity .15s ease;
}
.btn-d3m0:hover{ opacity: .95; transform: translateY(-1px); }
.btn-d3m0:active{ transform: scale(.98); }

@media (max-width: 520px){
    .d3m0-iframe{ height: 460px; }
    .btn-d3m0{ width: 100%; padding: 14px 18px; }
}

/* ===== DEMO GAME (d3m0-sec) mobile-first ===== */

.d3m0-sec .d3m0-wr4pp3r{
    display: grid;
    gap: 14px;
}

.d3m0-sec .d3m0-fr4m3{
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 18px 55px rgba(0,0,0,.45);
}

/* iframe responsive height */
.d3m0-sec .d3m0-iframe{
    display: block;
    width: 100%;
    height: clamp(360px, 62vh, 600px);
    border: 0;
}

/* overlay only inside frame, never over the CTA button */
.d3m0-sec .d3m0-0v3rl4y{
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 14px;
    background: radial-gradient(circle at 50% 40%, rgba(9,1,17,.35), rgba(0,0,0,.75));
    color: rgba(255,255,255,.85);
    text-align: center;
    z-index: 2;
    pointer-events: none; /* щоб не блокував кліки в iframe (коли зникне) */
}

.d3m0-sec .d3m0-txt{
    margin: 0;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: .2px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
}

/* CTA under the game */
.d3m0-sec .d3m0-cta{
    display: flex;
    justify-content: center;
}

.d3m0-sec .btn-d3m0{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: min(520px, 100%);
    padding: 14px 18px;
    border-radius: 14px;
    font-weight: 900;
    text-decoration: none;
    background: #a8c94e;
    color: #090111;
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 14px 35px rgba(168,201,78,.25);
    transition: transform .15s ease, opacity .15s ease;
}
.d3m0-sec .btn-d3m0:hover{
    transform: translateY(-1px);
    opacity: .96;
}

/* Header text spacing on mobile */
.d3m0-sec .bl0k-h3ad{
    text-align: center;
    margin-bottom: 10px;
}
.d3m0-sec .h3ad-subt{
    margin-top: 6px;
    color: rgba(232,232,232,.70);
    font-size: 14px;
}
/* ===== DEMO centered block ===== */
.demo-sec{
    padding: 28px 0;
}

.demo-head{
    text-align: center;
    margin-bottom: 14px;
}

.demo-title{
    margin: 0 0 6px;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.15;
}

.demo-subtitle{
    margin: 0;
    font-size: 14px;
    opacity: .78;
}

.demo-wrap{
    /* центр по сторінці */
    max-width: 980px;
    margin: 0 auto;
    padding: 0 16px;

    /* вирівнюємо елементи по центру */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.demo-frame{
    width: 100%;
    max-width: 900px;          /* сам блок гри по центру і не надто широкий */
    position: relative;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.03);
    box-shadow: 0 16px 40px rgba(0,0,0,.35);
    isolation: isolate;
}

.demo-iframe{
    display: block;
    width: 100%;
    height: clamp(360px, 62vh, 640px);
    border: 0;
    background: #000;

    /* щоб тач не перетворювався на скрол сторінки */
    touch-action: none;
    pointer-events: auto !important;
}

/* ===== CTA + button styling ===== */
.demo-cta{
    width: 100%;
    max-width: 900px;
    display: flex;
    justify-content: center;
}

.demo-btn{
    /* центр і комфортна зона натиску */
    width: min(520px, 100%);
    min-height: 52px;
    padding: 14px 18px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    border-radius: 999px;
    text-decoration: none;
    font-weight: 900;
    letter-spacing: .2px;

    /* стиль */
    background: linear-gradient(90deg, #0b80dc, #a8c94e);
    color: #0b0b0b;

    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 14px 35px rgba(0,0,0,.35);

    transition: transform .15s ease, opacity .15s ease, box-shadow .15s ease;
    -webkit-tap-highlight-color: transparent;
}

.demo-btn:hover{
    opacity: .96;
    transform: translateY(-1px);
    box-shadow: 0 18px 45px rgba(0,0,0,.45);
}

.demo-btn:active{
    transform: scale(.985);
    opacity: .94;
}

.demo-btn:focus-visible{
    outline: 3px solid rgba(168,201,78,.45);
    outline-offset: 3px;
}

/* mobile tweaks */
@media (max-width: 520px){
    .demo-title{ font-size: 24px; }
    .demo-iframe{ height: 460px; }
    .demo-btn{ width: 100%; }
}
