/* Neptune Play Casino — dark neon / ocean design system */
:root {
  --main-bg: #0e0a0d;
  --main-text: #ececec;
  --header-bg: #0f0c0c;
  --footer-bg: #0c0b0c;
  --header-color: #eaeae8;
  --footer-color: #ece9eb;
  --banner-color: #edebea;
  --login-btn: #a1fdb0;
  --reg-btn: #81cefe;
  --text-btns: #0b0d0a;
  --nav-acc-bg: #012840;
  --table-color: #fefefd;
  --table-even-bg: #022a42;
  --table-odd-bg: #011520;
  --table-border: #012941;
  --radius: 14px;
  --wrap: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--main-bg);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  background: var(--main-bg);
  color: var(--main-text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.46;
}

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

a {
  color: var(--reg-btn);
  text-decoration: underline;
  text-underline-offset: 2px;
}

strong {
  font-weight: 800;
  color: var(--main-text);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 16px;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 12px;
}

h1 {
  text-transform: uppercase;
  font-weight: 600;
  font-size: clamp(1.125rem, 4.4vw, 2.125rem);
  letter-spacing: 0.02em;
}

h2 {
  font-weight: 600;
  font-size: clamp(1.15rem, 3.2vw, 1.6rem);
}

h3 {
  font-weight: 600;
  font-size: clamp(1.02rem, 2.4vw, 1.2rem);
}

p {
  margin: 0 0 14px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--header-bg);
  border-bottom: 1px solid rgba(234, 234, 232, 0.1);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 64px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo img {
  width: 148px;
  height: 55px;
}

.main-nav {
  margin-left: auto;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--header-color);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  padding: 6px 2px;
  border-radius: var(--radius);
}

.main-nav a:hover {
  color: var(--reg-btn);
}

.header-btns {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius);
  height: 2.625rem;
  padding: 0.75rem 1.1rem;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  color: var(--text-btns);
  background: var(--reg-btn);
  cursor: pointer;
  transition: box-shadow 0.3s ease;
  overflow: hidden;
  user-select: none;
}

.btn--login {
  background: var(--login-btn);
}

.btn:hover {
  box-shadow: 0 0 8px var(--reg-btn);
}

.btn--login:hover {
  box-shadow: 0 0 8px var(--login-btn);
}

.btn:focus-visible {
  outline: 2px solid var(--login-btn);
  outline-offset: 2px;
}

.btn--wide {
  min-width: 200px;
}

.btn--shine::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 34%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  animation: shine 2.8s linear infinite;
}

@keyframes shine {
  0% {
    left: -60%;
  }
  60%,
  100% {
    left: 130%;
  }
}

/* ---------- burger / drawer ---------- */
.burger {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  padding: 10px;
}

.burger span {
  display: block;
  height: 2px;
  background: var(--header-color);
  margin: 4px 0;
  border-radius: 2px;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(3px);
  z-index: 70;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 82%;
  max-width: 320px;
  background: var(--header-bg);
  z-index: 80;
  padding: 18px 16px;
  transform: translateX(-102%);
  transition: transform 0.28s ease;
  overflow-y: auto;
}

.drawer.is-open {
  transform: translateX(0);
}

.drawer ul {
  list-style: none;
  margin: 18px 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.drawer ul a {
  display: block;
  background: var(--nav-acc-bg);
  color: var(--header-color);
  text-decoration: none;
  padding: 11px 14px;
  border-radius: var(--radius);
  font-weight: 500;
}

.drawer .btn {
  width: 100%;
  margin-bottom: 10px;
}

.drawer-close {
  border: 0;
  background: transparent;
  color: var(--header-color);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  float: right;
}

/* ---------- hero ---------- */
.hero {
  text-align: center;
  padding: 34px 0 26px;
  border-bottom: 1.5px solid rgba(236, 236, 236, 0.15);
}

.hero p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.hero .hero-lead {
  text-align: center;
  font-size: 1.06rem;
  color: #d9dee1;
}

.hero-cta {
  display: flex;
  justify-content: center;
  margin: 18px 0 22px;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.facts li {
  background: var(--nav-acc-bg);
  border-radius: var(--radius);
  padding: 7px 13px;
  font-size: 0.9rem;
  color: var(--table-color);
}

/* ---------- sections ---------- */
.sec {
  padding: 26px 0;
  border-bottom: 1.5px solid rgba(236, 236, 236, 0.15);
}

.sec:last-of-type {
  border-bottom: 0;
}

/* ---------- table of contents ---------- */
.toc {
  background: var(--nav-acc-bg);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin: 24px 0;
}

.toc > summary {
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--table-color);
  list-style: none;
}

.toc > summary::-webkit-details-marker {
  display: none;
}

.toc > summary::after {
  content: "+";
  float: right;
  font-weight: 700;
}

.toc[open] > summary::after {
  content: "–";
}

.toc ol {
  margin: 14px 0 2px;
  padding-left: 20px;
  columns: 2;
  column-gap: 28px;
}

.toc li {
  margin-bottom: 6px;
  break-inside: avoid;
}

.toc a {
  color: var(--table-color);
  text-decoration: none;
}

.toc a:hover {
  color: var(--login-btn);
  text-decoration: underline;
}

/* ---------- tables ---------- */
.t-wrap {
  overflow-x: auto;
  margin: 0 0 16px;
  border-radius: var(--radius);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

td,
th {
  border: 1.5px solid var(--table-border);
  padding: 8px 10px;
  color: var(--table-color);
  text-align: left;
  vertical-align: top;
}

th {
  font-weight: 700;
}

tr:nth-child(odd) {
  background: var(--table-odd-bg);
}

tr:nth-child(even) {
  background: var(--table-even-bg);
}

thead tr {
  background: var(--table-even-bg);
}

/* ---------- cards & lists ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}

.card {
  background: var(--nav-acc-bg);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.card h3 {
  margin-bottom: 6px;
  color: var(--login-btn);
}

.card p {
  margin: 0;
  font-size: 0.96rem;
}

ul.ticks,
ol.steps {
  margin: 0 0 16px;
  padding-left: 20px;
  display: grid;
  gap: 4px;
}

/* ---------- promo banners ---------- */
.banner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  margin: 26px 0;
  min-height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-inner {
  position: relative;
  background: rgba(0, 0, 0, 0.7);
  border-radius: var(--radius);
  padding: 18px 20px;
  text-align: center;
  max-width: 560px;
  margin: 22px 16px;
}

.banner-inner p {
  color: var(--banner-color);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
  font-size: clamp(1rem, 2.6vw, 1.35rem);
  font-weight: 600;
  margin: 0 0 14px;
}

.banner-inner small {
  display: block;
  margin-top: 10px;
  color: #cfd6da;
  font-size: 0.8rem;
}

/* ---------- game grid ---------- */
.games {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin: 0 0 18px;
}

.game {
  position: relative;
  background: var(--nav-acc-bg);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease;
}

.game:hover,
.game:focus-within {
  transform: scale(1.02);
}

.game-thumb {
  position: relative;
  aspect-ratio: 29 / 40;
}

.game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-hover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.game:hover .game-hover,
.game:focus-within .game-hover {
  opacity: 1;
}

.game-hover .btn {
  height: 2.2rem;
  padding: 0.6rem 0.9rem;
  font-size: 0.85rem;
}

.game-name {
  display: block;
  padding: 9px 10px;
  font-size: 0.88rem;
  color: var(--table-color);
}

.providers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.providers li {
  border: 1.5px solid var(--table-border);
  background: var(--table-odd-bg);
  border-radius: var(--radius);
  padding: 7px 12px;
  font-size: 0.9rem;
  color: var(--table-color);
}

/* ---------- reviews ---------- */
.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.review {
  background: var(--nav-acc-bg);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.review-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--login-btn);
  color: var(--text-btns);
  display: grid;
  place-items: center;
  font-weight: 700;
  flex: 0 0 auto;
}

.review-name {
  font-weight: 600;
  font-size: 0.96rem;
}

.review-meta {
  font-size: 0.78rem;
  color: #b9c4ca;
}

.stars {
  color: #a1fdb0;
  letter-spacing: 2px;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.review p {
  margin: 0;
  font-size: 0.95rem;
}

/* ---------- faq ---------- */
.faq details {
  background: var(--nav-acc-bg);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 10px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  color: var(--table-color);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  float: right;
  font-weight: 700;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 10px 0 0;
  font-size: 0.97rem;
}

/* ---------- contact form ---------- */
.form {
  display: grid;
  gap: 12px;
  max-width: 620px;
  margin: 0 auto;
  background: var(--nav-acc-bg);
  padding: 18px;
  border-radius: var(--radius);
}

.form label {
  display: grid;
  gap: 6px;
  font-size: 0.92rem;
}

.form input,
.form textarea {
  font: inherit;
  color: var(--table-color);
  background: var(--table-odd-bg);
  border: 1.5px solid var(--table-border);
  border-radius: var(--radius);
  padding: 10px 12px;
}

.form textarea {
  min-height: 130px;
  resize: vertical;
}

.form-note {
  font-size: 0.9rem;
  color: var(--login-btn);
  min-height: 20px;
}

/* ---------- floating desktop CTA ---------- */
.sticky-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 55;
  display: none;
}

@media (min-width: 1024px) and (min-height: 500px) {
  .sticky-cta {
    display: block;
  }
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-color);
  padding: 26px 0 30px;
  border-top: 1px solid rgba(236, 233, 235, 0.1);
  font-size: 0.93rem;
}

.site-footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}

.site-footer a {
  color: var(--footer-color);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.age {
  display: inline-block;
  border: 1.5px solid var(--footer-color);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  line-height: 31px;
  text-align: center;
  font-weight: 700;
  margin-bottom: 10px;
}

.site-footer p {
  margin: 0 0 6px;
  color: #c8ccce;
}

/* ---------- responsive ---------- */
@media (max-width: 1023px) {
  .main-nav,
  .header-btns {
    display: none;
  }
  .burger {
    display: block;
  }
  .games {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  .btn {
    width: 100%;
    height: 2.3rem;
  }
  .btn--inline {
    width: auto;
  }
  .games {
    grid-template-columns: repeat(2, 1fr);
  }
  .toc ol {
    columns: 1;
  }
  .game-hover .btn {
    width: auto;
  }
}
