* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at 20% 0%, rgba(0, 255, 135, 0.09), transparent 30%),
    #050806;
  color: #ffffff;
  line-height: 1.6;
}

body.popup-open {
  overflow: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
}

.container {
  width: min(1180px, 92%);
  margin: auto;
}


/* =========================
   HEADER
========================= */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 8, 6, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo,
.footer-logo,
.age-logo {
  font-size: 29px;
  font-weight: 900;
  letter-spacing: -2px;
}

.logo img,
.footer-logo img,
.age-logo img {
  display: block;
  width: auto;
  max-width: 180px;
  max-height: 58px;
  object-fit: contain;
}

.brand-text {
  font-weight: 900;
  background: linear-gradient(90deg, #28e98c, #ffab24);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

nav {
  display: flex;
  gap: 30px;
}

nav a {
  color: #b8c1bc;
  font-size: 14px;
  transition: 0.25s;
}

nav a:hover {
  color: #24dc82;
}

.nav-support {
  border: none;
  cursor: pointer;
  background: #1ed760;
  color: #041008;
  padding: 11px 18px;
  border-radius: 9px;
  font-weight: 800;
  font-size: 13px;
  transition: 0.25s;
}

.nav-support:hover {
  transform: translateY(-2px);
  background: #28e875;
}


/* =========================
   DYNAMIC PROMOTION BANNER
========================= */

.dynamic-banner-section {
  padding: 30px 0 0;
  background: #050806;
}

.dynamic-banner-card {
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(38, 226, 135, 0.18);
  border-radius: 20px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.045),
      rgba(255, 255, 255, 0.015)
    );
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
}

/*
  IMPORTANT:
  Banner image is NOT cropped.
  Full uploaded poster remains visible.
*/

.dynamic-banner-image-wrap {
  width: 100%;
  background: #050806;
  text-align: center;
  overflow: hidden;
}

.dynamic-banner-image-wrap img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
}

.dynamic-banner-content {
  padding: 28px 30px 30px;
  text-align: center;
}

.dynamic-banner-type {
  display: inline-block;
  color: #2be78d;
  border: 1px solid rgba(43, 231, 141, 0.22);
  background: rgba(43, 231, 141, 0.07);
  border-radius: 100px;
  padding: 6px 12px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.dynamic-banner-content h2 {
  margin-top: 12px;
  font-size: clamp(25px, 4vw, 38px);
  line-height: 1.15;
  letter-spacing: -1px;
}

.dynamic-banner-content p {
  max-width: 750px;
  margin: 10px auto 0;
  color: #8f9b94;
  font-size: 14px;
}

.dynamic-banner-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  width: auto;
}


/* =========================
   HERO
========================= */

.hero {
  min-height: 670px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #050806;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/*
  Admin-controlled hero background.
*/

.hero-background {
  position: absolute;
  inset: -25px;
  z-index: -4;

  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;

  filter: blur(6px);
  transform: scale(1.06);

  opacity: 0;
  transition:
    opacity 0.35s ease,
    filter 0.35s ease;
}

.hero-background.has-image {
  opacity: 1;
}

.hero-background-overlay {
  position: absolute;
  inset: 0;
  z-index: -3;

  background: rgba(2, 6, 4, 0.62);

  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;

  background:
    linear-gradient(
      180deg,
      rgba(5, 8, 6, 0.15) 0%,
      rgba(5, 8, 6, 0.22) 55%,
      rgba(5, 8, 6, 0.92) 100%
    );

  pointer-events: none;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.badge {
  display: inline-block;
  border: 1px solid rgba(36, 220, 130, 0.35);
  background: rgba(5, 12, 8, 0.68);
  backdrop-filter: blur(10px);
  color: #42ef9c;
  padding: 8px 15px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.3px;
  margin-bottom: 27px;
}

.hero h1 {
  font-size: clamp(48px, 8vw, 92px);
  line-height: 0.98;
  letter-spacing: -5px;
  margin-bottom: 28px;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.65);
}

.hero h1 span,
.dynamic-brand-text {
  background: linear-gradient(90deg, #28e98c, #ffab24);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero h1 span {
  display: block;
}

.hero-text {
  max-width: 670px;
  margin: auto;
  color: #c4cec8;
  font-size: 18px;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.8);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 35px;
  flex-wrap: wrap;
}

.primary-btn,
.secondary-btn {
  min-width: 190px;
  padding: 15px 24px;
  border-radius: 9px;
  font-weight: 900;
  font-size: 13px;
  transition: 0.25s;
  cursor: pointer;
}

.primary-btn {
  border: none;
  background: #1ed760;
  color: #041008;
  box-shadow: 0 12px 40px rgba(30, 215, 96, 0.2);
}

.secondary-btn {
  border: 1px solid #34453a;
  background: rgba(5, 10, 7, 0.65);
  backdrop-filter: blur(10px);
  color: white;
}

.primary-btn:hover,
.secondary-btn:hover {
  transform: translateY(-3px);
}

.risk-note {
  color: #a2ada6;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-top: 25px;
  text-shadow: 0 2px 12px #000;
}

.hero-glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.glow-one {
  width: 450px;
  height: 450px;
  background: rgba(0, 255, 128, 0.13);
  left: -200px;
}

.glow-two {
  width: 350px;
  height: 350px;
  background: rgba(255, 149, 0, 0.08);
  right: -120px;
}

/* =========================
   LIVE NEWS / ADS TICKER
   FAIRPLAY247 THEME
========================= */

.news-ticker-section {
  width: 100%;
  display: none;
  position: relative;
  z-index: 10;

  background: linear-gradient 
    90deg
}


/* Complete ticker row */
.news-ticker {
  width: 100%;
  min-height: 48px;

  display: flex;
  align-items: stretch;

  overflow: hidden;
}


/* Fixed NEWS box */
.news-ticker-label {
  position: relative;
  z-index: 5;

  min-width: 105px;
  padding: 0 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #32a99f;
  border-right: 1px solid rgba(255, 255, 255, 0.55);

  color: #03110e;

  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.4px;
  text-transform: uppercase;

  flex-shrink: 0;
}


/* Moving area */
.news-ticker-track {
  position: relative;

  flex: 1;
  min-width: 0;

  display: flex;
  align-items: center;

  overflow: hidden;

  white-space: nowrap;
}


/* Moving content */
.news-ticker-content {
  display: inline-flex;
  align-items: center;

  width: max-content;

  padding-left: 100%;

  will-change: transform;

  animation:
    newsTickerMove
    18s
    linear
    infinite;
}


/* Link */
.news-ticker-content a {
  display: inline-flex;
  align-items: center;

  color: #04110f;

  text-decoration: none;
}


/* Text */
.news-ticker-text {
  display: inline-block;

  padding: 0 45px;

  font-size: 16px;
  font-weight: 700;

  line-height: 48px;
}


/* Right → Left movement */
@keyframes newsTickerMove {

  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}


/* Pause while mouse is over ticker */
.news-ticker-track:hover
.news-ticker-content {
  animation-play-state: paused;
}


/* =========================
   TABLET
========================= */

@media (max-width: 800px) {

  .news-ticker {
    min-height: 44px;
  }

  .news-ticker-label {
    min-width: 82px;
    padding: 0 12px;

    font-size: 12px;
  }

  .news-ticker-text {
    padding: 0 30px;

    font-size: 13px;
    line-height: 44px;
  }
}


/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 520px) {

  .news-ticker {
    min-height: 42px;
  }

  .news-ticker-label {
    min-width: 68px;
    padding: 0 9px;

    font-size: 10px;
  }

  .news-ticker-text {
    padding: 0 22px;

    font-size: 12px;
    line-height: 42px;
  }
}


/* Accessibility */
@media (prefers-reduced-motion: reduce) {

  .news-ticker-content {
    animation: none;
    padding-left: 20px;
  }
}
/* =========================
   SECTIONS
========================= */

.section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 45px;
}

.section-title > span,
.security-box > div > span {
  color: #26df87;
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 900;
}

.section-title h2,
.security-box h2,
.responsible h2 {
  font-size: clamp(32px, 5vw, 48px);
  margin: 8px 0 12px;
  letter-spacing: -2px;
}

.section-title p {
  color: #8f9b94;
}


/* =========================
   WEBSITE / DEMO CARDS
========================= */

.website-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.website-card {
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.055),
      rgba(255, 255, 255, 0.018)
    );

  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 25px;

  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
}

.card-icon {
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  background: rgba(35, 226, 135, 0.09);
  border: 1px solid rgba(35, 226, 135, 0.18);
  color: #29e78b;
  border-radius: 13px;
  font-weight: 900;
}

.website-card small {
  color: #5f6d65;
}

.website-card h3 {
  font-size: 21px;
}

.website-card p {
  color: #7e8983;
  font-size: 13px;
}

.website-card a {
  color: #28e98c;
  font-size: 12px;
  font-weight: 900;
}


/* =========================
   DEMO LINKS
========================= */

.demo-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 9px;
}

.demo-links a {
  color: #28e98c;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
  transition: 0.25s;
}

.demo-links a:hover {
  color: #ffab24;
}


/* =========================
   SUPPORT
========================= */

.support-section {
  background: rgba(255, 255, 255, 0.015);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.support-card {
  width: 100%;
  text-align: left;
  padding: 30px;
  min-height: 230px;
  background: #0a0f0c;
  border: 1px solid #172019;
  border-radius: 18px;
  transition: 0.3s;
  color: white;
  font-family: inherit;
  display: block;
}

button.support-card {
  cursor: pointer;
}

.support-card:hover {
  transform: translateY(-5px);
  border-color: rgba(38, 223, 135, 0.45);
}

.support-icon {
  font-size: 28px;
  margin-bottom: 22px;
  color: #2be78d;
  font-weight: 900;
}

.support-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.support-card p {
  color: #818c86;
  font-size: 14px;
  min-height: 55px;
}

.support-card strong {
  color: #2be78d;
  font-size: 11px;
}

.request-button {
  margin-top: 35px;
}


/* =========================
   SECURITY
========================= */

.security-box {
  max-width: 900px;
  margin: auto;
  padding: 45px;
  border-radius: 20px;

  border: 1px solid rgba(255, 176, 32, 0.18);

  background:
    linear-gradient(
      120deg,
      rgba(255, 166, 0, 0.06),
      rgba(255, 255, 255, 0.015)
    );

  display: flex;
  gap: 30px;
}

.security-icon {
  font-size: 38px;
}

.security-box h2 {
  font-size: 31px;
}

.security-box p {
  color: #8d9892;
}


/* =========================
   RESPONSIBLE PLAY
========================= */

.responsible {
  text-align: center;

  background:
    radial-gradient(
      circle,
      rgba(0, 255, 135, 0.07),
      transparent 50%
    );
}

.responsible-content {
  max-width: 820px;
}

.responsible-tag {
  color: #29e98c;
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 900;
}

.responsible p {
  color: #909b95;
  max-width: 720px;
  margin: auto;
}

.responsible-points {
  margin-top: 40px;

  display: grid;
  grid-template-columns: repeat(3, 1fr);

  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  overflow: hidden;
}

.responsible-points div {
  padding: 25px 15px;
  background: rgba(255, 255, 255, 0.02);
}

.responsible-points div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.07);
}

.responsible-points strong,
.responsible-points span {
  display: block;
}

.responsible-points strong {
  color: #2ce68d;
  font-size: 13px;
}

.responsible-points span {
  color: #737f78;
  font-size: 12px;
  margin-top: 3px;
}


/* =========================
   FOOTER
========================= */

footer {
  padding: 55px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #030504;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0 auto 12px;
  text-align: center;
}

.footer-logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 180px;
  max-height: 70px;
  object-fit: contain;
  margin: 0 auto;
}

.footer-content > p {
  width: 100%;
  text-align: center;
  color: #6f7a74;
  font-size: 13px;
  margin-top: 10px;
}

.footer-links {
  width: 100%;
  text-align: center;
  margin: 25px 0;
}

.footer-links a {
  color: #9aa49e;
  margin: 0 12px;
  font-size: 12px;
  transition: 0.25s;
}

.footer-links a:hover {
  color: #28e98c;
}

.footer-warning {
  width: 100%;
  text-align: center;
  color: #737d77;
  font-size: 11px;
  margin-bottom: 22px;
}

.footer-content > small {
  width: 100%;
  text-align: center;
}

footer small {
  color: #465049;
}


/* =========================
   AGE GATE
========================= */

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 999;

  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(18px);

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 20px;
}

.age-gate.hide {
  display: none;
}

.age-box {
  width: min(470px, 100%);
  padding: 38px;
  text-align: center;

  background: #090e0b;
  border: 1px solid #1c2b21;
  border-radius: 22px;

  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.6);
}

.age-logo {
  margin-bottom: 25px;
}

.age-box h2 {
  font-size: 28px;
  margin-bottom: 12px;
}

.age-box p {
  color: #8d9992;
  font-size: 14px;
}

.age-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 25px 0 15px;
}

.age-actions button {
  border: 0;
  border-radius: 9px;
  padding: 14px;
  cursor: pointer;
  font-weight: 900;
}

#enterBtn {
  background: #20dc75;
  color: #031008;
}

.leave-btn {
  background: #161b18;
  color: #a5aea9;
}

.age-box small {
  color: #667169;
}


/* =========================
   SUPPORT POPUP
========================= */

.support-popup {
  position: fixed;
  inset: 0;
  z-index: 1000;

  display: none;
  align-items: center;
  justify-content: center;

  padding: 20px;

  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(14px);
}

.support-popup.show {
  display: flex;
}

.popup-box {
  width: min(430px, 100%);
  position: relative;
  padding: 42px 35px;
  text-align: center;

  background:
    linear-gradient(
      145deg,
      #0c130f,
      #070b09
    );

  border: 1px solid rgba(39, 229, 137, 0.2);
  border-radius: 22px;

  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.65);
}

.popup-close {
  position: absolute;
  right: 17px;
  top: 12px;

  border: none;
  background: transparent;

  color: #78847d;
  font-size: 27px;
  cursor: pointer;
}

.popup-icon {
  width: 65px;
  height: 65px;
  margin: 0 auto 20px;

  display: grid;
  place-items: center;

  border-radius: 18px;

  background: rgba(34, 224, 132, 0.1);
  border: 1px solid rgba(34, 224, 132, 0.18);

  font-size: 28px;
}

.popup-box h2 {
  font-size: 27px;
  margin-bottom: 9px;
}

.popup-box p {
  color: #89958e;
  font-size: 14px;
  margin-bottom: 25px;
}

.popup-button {
  width: 100%;
  padding: 13px;

  border: none;
  border-radius: 9px;

  background: #20dc75;
  color: #031008;

  font-weight: 900;
  cursor: pointer;
}


/* =========================
   TABLET / MOBILE
========================= */

@media (max-width: 800px) {

  nav {
    display: none;
  }

  .nav-support {
    font-size: 10px;
    padding: 9px 11px;
  }

  .logo {
    font-size: 23px;
  }

  .logo img {
    max-width: 125px;
    max-height: 48px;
  }

  .dynamic-banner-section {
    padding-top: 18px;
  }

  .dynamic-banner-card {
    border-radius: 15px;
  }

  .dynamic-banner-content {
    padding: 22px 18px 24px;
  }

  .dynamic-banner-image-wrap img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .hero {
    min-height: 620px;
  }

  .hero h1 {
    letter-spacing: -3px;
  }

  .hero-text {
    font-size: 15px;
  }

  .website-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .website-card {
    grid-template-columns: auto 1fr;
  }

  .website-card > a {
    grid-column: 2;
  }

  .demo-links {
    grid-column: 2;
    align-items: flex-start;
    margin-top: 5px;
  }

  .security-box {
    flex-direction: column;
    padding: 30px;
  }

  .responsible-points {
    grid-template-columns: 1fr;
  }

  .responsible-points div + div {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }

  .section {
    padding: 75px 0;
  }

  .age-actions {
    grid-template-columns: 1fr;
  }

  .footer-logo img {
    max-width: 150px;
    max-height: 60px;
  }
}


/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 520px) {

  .container {
    width: min(94%, 1180px);
  }

  .nav {
    min-height: 70px;
  }

  .nav-support {
    padding: 9px 10px;
  }

  .dynamic-banner-section .container {
    width: 94%;
  }

  .dynamic-banner-content h2 {
    font-size: 25px;
  }

  .dynamic-banner-content p {
    font-size: 13px;
  }

  .dynamic-banner-button {
    width: 100%;
  }

  .hero {
    min-height: 590px;
  }

  .hero h1 {
    font-size: 48px;
    letter-spacing: -3px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .primary-btn,
  .secondary-btn {
    width: 100%;
  }

  .website-card {
    padding: 20px;
  }

  .support-card {
    padding: 24px;
    min-height: 210px;
  }

  .security-box {
    padding: 25px;
  }

  .age-box {
    padding: 30px 22px;
  }

  .footer-links a {
    display: inline-block;
    margin: 6px 9px;
  }
}
/* TICKER TEXT VISIBILITY FIX */

.news-ticker-content,
.news-ticker-content a,
.news-ticker-text {
  color: #ffffff !important;
}

.news-ticker-label {
  color: #ffffff !important;
  background: #16a34a !important;
}

.news-ticker-section {
  background: linear-gradient(
    90deg,
    #06120c 0%,
    #0b2116 50%,
    #06120c 100%
  ) !important;
}

.news-ticker-text {
  font-weight: 800;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
}