/* neorollcasino.biz.pl — single 520px column, same look on every screen */

:root {
  --bg: #000000;
  --surface: #0f0f16;
  --surface-2: #15151f;
  --line: #3a3a46;
  --text: #ffffff;
  --muted: #c9c9d4;
  --pink: #ff2fb3;
  --pink-hover: #ff6fcb;
  --cyan: #22e3ee;
  --ink: #0a0a12;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

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

a {
  color: var(--pink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--pink-hover);
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

h1,
h2,
h3 {
  margin: 0 0 12px;
  line-height: 1.25;
  color: var(--text);
  text-align: left;
}

h1 {
  font-size: 27px;
  font-weight: 700;
}

h2 {
  font-size: 22px;
  font-weight: 700;
  margin-top: 34px;
}

h3 {
  font-size: 18px;
  font-weight: 700;
  margin-top: 24px;
}

p,
ul,
ol {
  margin: 0 0 14px;
}

ul,
ol {
  padding-left: 22px;
}

li {
  margin-bottom: 6px;
}

.wrap {
  max-width: 520px;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--bg);
}

.skip {
  position: absolute;
  top: 0;
  left: -9999px;
  z-index: 100;
  padding: 8px 12px;
  background: var(--pink);
  color: var(--ink);
}

.skip:focus {
  top: 8px;
  left: 8px;
}

/* Masthead */

.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 16px;
  background: var(--bg);
  border-bottom: 1px solid #1c1c26;
}

.menu-toggle {
  position: relative;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: var(--pink);
  cursor: pointer;
}

.menu-toggle:hover {
  background: var(--pink-hover);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.brand {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  line-height: 0;
}

.brand img {
  width: auto;
  height: 24px;
}

.login-link {
  display: inline-block;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.login-link:hover {
  border-color: var(--pink);
  color: var(--text);
}

/* Side navigation */

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(5, 5, 12, 0.78);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.backdrop.is-shown {
  opacity: 1;
  visibility: visible;
}

.side-nav {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 50;
  width: 300px;
  max-width: 85vw;
  padding: 84px 20px 24px;
  overflow-y: auto;
  background: #07070c;
  border-right: 1px solid #262633;
  transform: translateX(-100%);
  visibility: hidden;
  transition: transform 0.25s ease, visibility 0.25s ease;
}

.side-nav.is-open {
  transform: translateX(0);
  visibility: visible;
}

.side-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.side-nav li {
  margin: 0;
  border-bottom: 1px solid #1d1d28;
}

.side-nav a {
  display: block;
  padding: 14px 4px;
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
}

.side-nav a:hover {
  color: var(--pink-hover);
}

.side-nav a[aria-current="page"],
.foot-links a[aria-current="page"] {
  color: var(--pink);
  font-weight: 700;
}

/* Hero banner */

.banner {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: #121318;
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
}

.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.72) 30%, rgba(0, 0, 0, 0.25) 50%, rgba(0, 0, 0, 0) 66%);
}

.banner-copy {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  max-width: 50%;
  padding: 16px;
  text-align: left;
}

.banner-tag {
  margin: 0 0 6px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.banner-headline {
  margin: 0 0 14px;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.22;
}

.banner .pill {
  padding: 11px 18px;
  font-size: 14px;
}

/* Body */

.article {
  padding: 24px 16px 8px;
}

.intro {
  padding: 28px 16px 6px;
  border-bottom: 1px solid #1c1c26;
}

.intro .lead {
  color: var(--muted);
}

.meta-date {
  font-size: 13px;
  color: var(--muted);
}

.pill {
  display: inline-block;
  padding: 13px 30px;
  border: 0;
  border-radius: 999px;
  background: var(--pink);
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.pill:hover {
  background: var(--pink-hover);
  color: var(--ink);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 20px auto;
}

/* Author */

.byline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.byline img {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
}

.byline p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}

.byline strong {
  color: var(--text);
  font-size: 14px;
}

/* Tables */

.scroll-x {
  margin: 0 0 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
}

th,
td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

thead th {
  background: var(--surface);
  border-bottom: 2px solid var(--cyan);
  font-weight: 700;
}

.callout {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-left: 3px solid var(--cyan);
  border-radius: 10px;
  background: var(--surface);
}

/* Media grids */

.slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 16px 0 18px;
  padding: 0;
  list-style: none;
}

.slots li {
  margin: 0;
}

.slots img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
}

.slots span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

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

.genres li {
  width: calc((100% - 24px) / 4);
  margin: 0;
  text-align: center;
}

.genres img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
  background: var(--surface);
}

.genres span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.tables-live {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 16px 0 18px;
  padding: 0;
  list-style: none;
}

.tables-live li {
  margin: 0;
  padding: 8px 6px;
  border: 1px solid #22222e;
  border-radius: 10px;
  background: var(--surface);
  text-align: center;
}

.tables-live img {
  width: 100%;
  aspect-ratio: 1;
  margin: 0 auto 6px;
  object-fit: contain;
}

.tables-live span {
  display: block;
  font-size: 11px;
  line-height: 1.3;
}

.coins {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin: 16px 0 10px;
  padding: 0;
  list-style: none;
}

.coins li {
  margin: 0;
  padding: 10px 4px 8px;
  border: 1px solid #22222e;
  border-radius: 10px;
  background: var(--surface);
  text-align: center;
}

.coins li.is-main {
  border-color: var(--cyan);
}

.coins img {
  width: 36px;
  height: 36px;
  margin: 0 auto 6px;
}

.coins span {
  display: block;
  font-size: 12px;
  font-weight: 500;
}

.small-print {
  color: #b9b9c6;
  font-size: 13px;
}

/* FAQ */

.qa {
  margin: 12px 0 20px;
}

.qa-card {
  margin-bottom: 10px;
  overflow: hidden;
  border-left: 3px solid var(--cyan);
  border-radius: 10px;
  background: var(--surface);
}

.qa-title {
  margin: 0;
  font-size: inherit;
}

.qa-toggle {
  position: relative;
  width: 100%;
  padding: 14px 44px 14px 14px;
  border: 0;
  background: transparent;
  color: var(--cyan);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
}

.qa-toggle::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  color: var(--pink);
  font-size: 22px;
  font-weight: 400;
}

.qa-toggle[aria-expanded="true"]::after {
  content: "\2212";
}

.qa-body {
  padding: 0 14px 14px;
}

.qa-body p:last-child {
  margin-bottom: 0;
}

/* Footer */

.site-foot {
  margin-top: 32px;
  padding: 24px 16px 32px;
  border-top: 1px solid #1c1c26;
  text-align: center;
}

.foot-links ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.foot-links li {
  margin: 0;
}

.foot-links a {
  color: var(--text);
  font-size: 14px;
  text-decoration: none;
}

.foot-links a:hover {
  color: var(--pink-hover);
}

.foot-coins {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.foot-coins li {
  margin: 0;
}

.foot-coins img {
  width: 28px;
  height: 28px;
}

.adult {
  display: inline-block;
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  line-height: 40px;
}

.legal-line {
  margin: 0 0 8px;
  color: #cfcfda;
  font-size: 13px;
  text-align: center;
}

.help-line {
  margin: 0;
  font-size: 12px;
  text-align: center;
}
