/* =========================
   CSS CUSTOM PROPERTIES
   ========================= */
:root {
  --bg-main:    #0a0a0a;
  --bg-header:  #0f0f0f;
  --text-main:  #f1f5f9;
  --text-muted: #94a3b8;
  --accent:     #d4820a;   /* amber gold from logo "Flow" */
  --accent-2:   #b86e00;
  --accent-green: #4a5c1a; /* olive green from logo "Prize" */
  --border:     #1e1e1e;
}

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

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.2;
  overflow-x: hidden;
}

/* =========================
   HEADER
   ========================= */
header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 5%;
  background: rgba(17, 24, 39, 0.95);
  border-bottom: 1px solid var(--accent-green);
}

.logo img { height: 60px; width: auto; display: block; }

nav { display: flex; align-items: center; gap: 26px; }

nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .4px;
  white-space: nowrap;
  transition: color .25s;
}
nav a:hover { color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.btn-signup {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border: none;
  color: #000;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
  font-size: 13px;
  white-space: nowrap;
  transition: filter .2s;
}
.btn-signup:hover { filter: brightness(1.1); }

.header-spacer { height: 86px; }

/* =========================
   HERO
   ========================= */
.hero-banner {
  position: relative;
  width: 100%;
  height: 82vh;
  min-height: 480px;
  overflow: hidden;
  background: #000;
}

/* Image covers full banner */
.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 65% 35%;
}

    h1 span {
      white-space: nowrap;
    }

/* Strong fade: opaque dark left side → transparent right */
.hero-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    #0a0a0a 0%,
    #0a0a0a 30%,
    rgba(10,10,10,0.75) 52%,
    rgba(10,10,10,0.15) 75%,
    transparent 100%
  );
  z-index: 1;
}

/* Content sits on top, left side */
.hero-content {
  position: relative;
  z-index: 2;
  width: 52%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  padding: 60px 4% 60px 6%;
  gap: 12px;
  background: transparent;
}

h1 {
  font-size: 3.6em;
  color: var(--accent);
  text-shadow: 2px 2px 8px rgba(212, 130, 10, .45);
  line-height: 1.05;
}

.tagline {
  font-size: 1.2em;
  font-weight: 400;
  color: #fff;
  margin: 4px 0;
}

.btn-cta {
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  border: none;
  color: #000;
  padding: 15px 40px;
  font-size: 1.1em;
  font-weight: 800;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(212, 130, 10, .4);
  transition: transform .2s, box-shadow .2s;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 10px;
}
.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(212, 130, 10, .65);
}

/* =========================
   MODAL
   ========================= */
.modal-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0, 0, 0, .85);
  backdrop-filter: blur(5px);
}

.modal-content {
  background: #111;
  margin: 8% auto;
  padding: 30px;
  border: 1px solid var(--accent-green);
  width: 90%;
  max-width: 500px;
  border-radius: 20px;
  position: relative;
  text-align: center;
}

.modal-content h2 { color: var(--accent); font-size: 1.8rem; margin-bottom: 6px; }
.modal-content p  { color: #ccc; margin-bottom: 4px; }

.close-modal {
  position: absolute;
  right: 20px; top: 10px;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
}
.close-modal:hover { color: var(--accent); }

.hero-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
}

.hero-form input[type="text"],
.hero-form input[type="email"] {
  padding: 14px 16px;
  background: #1e1e2e;
  border: 1px solid #444;
  color: #fff;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color .2s;
}
.hero-form input:focus { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(212, 130, 10, .2); }

.form-options {
  text-align: left;
  color: #ccc;
  font-size: .9rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.check-row { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.check-row input[type="checkbox"] { accent-color: var(--accent); width: 18px; height: 18px; flex-shrink: 0; }

.button-wrapper { display: flex; justify-content: center; margin-top: 6px; }

/* =========================
   SLOTS CAROUSEL
   ========================= */
.game-previews {
  padding: 50px 5% 60px;
  text-align: center;
  background: rgba(0, 0, 0, .75);
}

.game-previews h2 {
  font-size: 2em;
  margin-bottom: 25px;
  color: var(--accent);
  text-shadow: 1px 1px 6px rgba(212, 130, 10, .4);
}

.game-strip-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0 auto;
  overflow: visible;
}

.carousel { width: 100%; overflow: hidden; padding: 10px 0; }

.carousel-track {
  display: flex;
  gap: 10px;
  will-change: transform;
  transition: transform .35s ease;
  align-items: center;
}

.carousel-track img {
  height: 160px;
  width: 115px;
  border-radius: 10px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid #2a2a2a;
  flex-shrink: 0;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.carousel-track img:hover {
  transform: translateY(-5px) scale(1.04);
  border-color: var(--accent);
  box-shadow: 0 8px 20px rgba(212, 130, 10, .4);
}

.arrow {
  background: rgba(0, 0, 0, .6);
  border: 2px solid var(--accent);
  color: var(--accent);
  font-size: 24px;
  padding: 10px 14px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
  flex-shrink: 0;
  transition: background .3s, transform .2s;
}
.arrow:hover { background: rgba(212, 130, 10, .18); transform: scale(1.1); }
.arrow.left  { margin-right: 10px; }
.arrow.right { margin-left: 10px; }

/* =========================
   FOOTER
   ========================= */
footer {
  background: var(--bg-header);
  border-top: 2px solid var(--accent-green);
  padding: 30px 5%;
  text-align: center;
}

.footer-content { max-width: 1200px; margin: 0 auto; }

.footer-links { margin-bottom: 16px; }
.footer-links a {
  color: #ccc;
  text-decoration: none;
  margin: 0 12px;
  font-size: .9em;
  transition: color .3s;
}
.footer-links a:hover { color: var(--accent); }

.footer-logos { margin: 16px 0; }
.footer-logos img { height: 28px; margin: 0 10px; opacity: .7; vertical-align: middle; }

.responsible-gaming { font-size: .8em; color: #8888aa; margin-bottom: 16px; }
.responsible-gaming img { height: 36px; margin-top: 8px; opacity: .75; }

hr { border: none; border-top: 1px solid #222; margin: 16px 0; }

.copyright-notice { font-size: .75em; color: #5c5c5c; line-height: 1.6; }
.copyright-notice strong { color: #ccc; }

/* =========================
   RESPONSIVE — MOBILE ≤ 900px
   ========================= */
@media (max-width: 900px) {
  nav { display: none; }

  .logo img { height: 38px; }

  .btn-signup { padding: 7px 10px; font-size: 12px; }

  .header-spacer { height: 64px; }

  /* Hero: image full-bleed, content overlaid at top */
  .hero-banner {
    height: 480px;
    min-height: 480px;
  }

  .hero-media::before {
    background: linear-gradient(
      to right,
      #0a0a0a 0%,
      #0a0a0a 20%,
      rgba(10,10,10,0.85) 45%,
      rgba(10,10,10,0.2) 70%,
      transparent 100%
    );
  }

  .hero-img {
    object-fit: cover;
    object-position: 75% 40%;
  }

  .hero-content {
    width: 90%;
    padding: 40px 5% 30px 6%;
    align-items: flex-start;
    text-align: left;
    gap: 10px;
  }

  h1.mobile-only  { font-size: 2.2rem; color: var(--accent); text-shadow: 2px 2px 8px rgba(212, 130, 10, .45); }
  .tagline.mobile-only { font-size: 1rem; }

  .btn-cta { padding: 12px 28px; font-size: 1rem; }

  /* Carousel */
  .carousel-track img { height: 130px; width: 90px; }

  /* Footer links wrap nicely */
  .footer-links a { display: inline-block; margin: 4px 8px; }
}

/* Desktop-only / mobile-only visibility helpers */
@media (max-width: 900px)  { .desktop-only { display: none !important; } }
@media (min-width: 901px)  { .mobile-only  { display: none !important; } }

/* =========================
   SCROLL REVEAL
   ========================= */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
