:root {
  --color-bg: #00100E;
  --color-surface: #021F1E;
  --color-surface-2: #073735;
  --color-panel: #0a2b27;
  --color-text: #FFFFFF;
  --color-muted: #b1b1b1;
  --color-accent: #00CFA6;
  --color-accent-2: #2eb68b;
  --color-red: #FA2B1D;
  --color-red-hover: #fc4842;
  --color-border: #1b6b67;
  --color-border-2: #1e483e;
  --green-grad-top: #3add67;
  --green-grad-bot: #00aa63;
  --font-body: 'Rubik', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --maxw: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4 { font-family: var(--font-body); color: var(--color-text); line-height: 1.25; }
h1 { font-size: clamp(1.7rem, 4.2vw, 2.35rem); font-weight: 800; margin: 0 0 1rem; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.35rem, 3vw, 1.7rem); font-weight: 700; margin: 2.4rem 0 1rem; position: relative; padding-bottom: 0.5rem; }
h2::after { content: ""; display: block; position: absolute; left: 0; bottom: 0; width: 54px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--color-accent), transparent); }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.35rem); font-weight: 600; margin: 1.8rem 0 0.75rem; }
h4 { font-size: 1.05rem; font-weight: 600; margin: 1.2rem 0 0.5rem; }

p { margin: 0 0 1rem; }
a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.page-main { padding-top: 20px; padding-bottom: 48px; }

ul, ol { margin: 0 0 1.2rem; padding-left: 1.4rem; }
li { margin-bottom: 0.5rem; }

/* ============ HEADER (profibus pill + scroll dock) ============ */
.topbar {
  position: sticky; top: 0; z-index: 90;
  width: 100%;
  display: flex; flex-direction: column; align-items: center;
  background: transparent;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  padding: 9px 22px;
  background: var(--color-surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 52px;
}
.logo-link { display: inline-flex; align-items: center; padding: 2px 6px; flex-shrink: 0; }
.brand-logo { height: 42px; width: auto; display: block; }
.primary-nav { display: flex; align-items: center; gap: 18px; }
.block-menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.block-menu li { margin: 0; }
.block-menu li a.nav-link {
  display: inline-block; padding: 5px 13px; border-radius: 35px;
  color: var(--color-text); font-size: 0.98rem; font-weight: 400; text-decoration: none;
  transition: background 0.15s;
}
.block-menu li a.nav-link:hover { background: var(--color-surface-2); text-decoration: none; }
.block-btns { display: flex; align-items: center; gap: 8px; }
.block-btns a {
  padding: 7px 18px; border-radius: 40px; color: #fff; text-align: center;
  font-size: 0.98rem; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: filter 0.15s;
}
.block-btns a:hover { filter: brightness(90%); text-decoration: none; }
.btn-register { background: var(--color-red); }
.btn-login { background: var(--color-accent); color: #00201a !important; font-weight: 600; }

@media (min-width: 769px) {
  .primary-nav { display: contents; }
  .logo-link { flex: 1 1 0; }
  .block-btns { flex: 1 1 0; justify-content: flex-end; }
}

/* hamburger (CSS-only) */
.site-header-inner { position: relative; }
.nav-toggle-input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.nav-toggle { display: none; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-text); border-radius: 2px; }
.nav-toggle-input:focus-visible ~ .nav-toggle { outline: 2px solid var(--color-accent); outline-offset: 3px; }

@supports (animation-timeline: scroll()) {
  .topbar { animation: topbarDock linear both; animation-timeline: scroll(root); animation-range: 0 150px; }
  .header-inner { animation: pillDock linear both; animation-timeline: scroll(root); animation-range: 0 150px; }
}
@keyframes topbarDock { to { background: var(--color-surface); box-shadow: 0 6px 26px rgba(0,0,0,0.5); } }
@keyframes pillDock { to { margin-top: 0; border-radius: 0; max-width: 100%; border-color: transparent; } }

/* ============ HERO BONUS BANNER ============ */
.bonus-hero { position: relative; width: 100%; margin: 6px 0 2rem; border-radius: var(--radius); overflow: hidden; }
.bonus-hero img.bonus-bg { display: block; width: 100%; height: auto; }
.bonus-hero-overlay {
  position: absolute; top: 0; left: 0; bottom: 0;
  width: 60%; padding: 2% 0 2% 4.5%;
  display: flex; flex-direction: column; justify-content: center; gap: 0.35em;
}
.bh-kazino { font-size: clamp(1.4rem, 5.2vw, 3.3rem); font-weight: 800; letter-spacing: 0.02em; line-height: 1; text-transform: uppercase; }
.bh-bonus { font-size: clamp(0.85rem, 3vw, 1.9rem); font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; color: #eafff8; line-height: 1; }
.bh-offer { font-size: clamp(1.15rem, 4.4vw, 2.9rem); font-weight: 800; line-height: 1.05; }
.bh-offer .fs { color: var(--color-accent); }
.bh-btn {
  display: inline-block; margin-top: 0.5em; align-self: flex-start;
  padding: clamp(0.4em, 1.2vw, 0.7em) clamp(1em, 2.4vw, 1.9em);
  background: var(--color-red); color: #fff; font-weight: 600;
  font-size: clamp(0.7rem, 1.9vw, 1.05rem); border-radius: 40px; text-decoration: none;
  box-shadow: 0 6px 18px rgba(250,43,29,0.35); transition: filter 0.15s;
}
.bh-btn:hover { filter: brightness(92%); text-decoration: none; color: #fff; }

/* ============ INFO PILL TABLE ============ */
.info-pills { width: 100%; border-collapse: separate; border-spacing: 0; margin: 1.5rem 0; }
.info-pills tr {
  display: grid; grid-template-columns: 220px 1fr; align-items: center; gap: 1rem;
  background: var(--color-surface-2); border-radius: 40px;
  padding: 0.7rem 1.4rem; margin-bottom: 0.6rem;
}
.info-pills td { padding: 0; border: none; }
.info-pills .ip-label { color: #fff; font-weight: 500; }
.info-pills .ip-value { color: var(--color-accent); font-weight: 600; text-align: left; }

/* ============ ADVANTAGES CARD ============ */
.adv-card { margin: 1.6rem 0; border: 2px solid var(--color-accent); border-radius: var(--radius); overflow: hidden; background: var(--color-surface); }
.adv-head { display: flex; align-items: center; gap: 12px; padding: 0.85rem 1.3rem; background: linear-gradient(180deg, var(--color-accent) 0%, #04a98f 100%); }
.adv-plus { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid rgba(0,0,0,0.35); color: #05231a; font-weight: 800; font-size: 1.1rem; flex-shrink: 0; }
.adv-title { margin: 0; color: #05231a; font-size: 1.12rem; font-weight: 700; }
.adv-list { list-style: none; margin: 0; padding: 1.1rem 1.4rem; }
.adv-list li { position: relative; padding-left: 2rem; margin-bottom: 0.75rem; color: #fff; }
.adv-list li:last-child { margin-bottom: 0; }
.adv-list li::before { content: "✚"; position: absolute; left: 0; top: 0; color: var(--color-accent); font-weight: 700; }

/* ============ STANDARD TABLES ============ */
.data-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; background: var(--color-surface); border: 1px solid var(--color-border-2); border-radius: var(--radius); overflow: hidden; }
.data-table thead th { background: var(--color-surface-2); color: #fff; text-align: left; font-weight: 600; padding: 0.8rem 1.1rem; border-bottom: 2px solid var(--color-accent); }
.data-table td { padding: 0.7rem 1.1rem; border-bottom: 1px solid var(--color-border-2); color: #fff; }
.data-table tbody tr:nth-child(even) { background: rgba(7,55,53,0.4); }
.data-table tbody tr:last-child td { border-bottom: none; }

/* ============ ORDERED STEP LISTS ============ */
.list-steps { list-style: none; counter-reset: step; margin: 1.3rem 0; padding: 0; }
.list-steps li { position: relative; counter-increment: step; padding: 0.2rem 0 0.9rem 3.1rem; margin: 0; }
.list-steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--color-accent); color: #00201a; font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: 0.95rem;
}

/* ============ NOTE BOX ============ */
.note-box { position: relative; margin: 1.4rem 0; padding: 0.85rem 1.1rem 0.85rem 1.3rem; background: var(--color-surface); border-left: 4px solid var(--color-accent); border-radius: var(--radius-sm); color: var(--color-text); font-size: 0.95rem; }

/* ============ CTA BUTTONS ============ */
.cta-wrap { text-align: center; margin: 1.8rem 0; }
.cta-btn {
  display: inline-block; padding: 0.85rem 2.4rem; background: var(--color-red); color: #fff;
  border-radius: 40px; font-weight: 600; font-size: 1.05rem; text-decoration: none;
  box-shadow: 0 8px 22px rgba(250,43,29,0.32); transition: filter 0.15s, transform 0.15s;
}
.cta-btn:hover { filter: brightness(92%); transform: translateY(-1px); color: #fff; text-decoration: none; }
.dl-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.3rem; }
.download-lead { text-align: center; font-size: 1.2rem; margin: 2rem 0 0.8rem; color: var(--color-accent); }
.download-lead::after { content: ""; display: block; width: 64px; height: 3px; border-radius: 3px; margin: 0.45rem auto 0; background: linear-gradient(90deg, transparent, var(--color-accent), transparent); }

/* ============ SLOT GRID ============ */
.slot-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin: 1.4rem 0 1.8rem; }
.slot-card { position: relative; display: block; border-radius: var(--radius-sm); overflow: hidden; background: var(--color-surface); text-decoration: none; aspect-ratio: 258 / 200; }
.slot-card img { display: block; width: 100%; height: calc(100% - 34px); object-fit: cover; }
.slot-name { display: flex; align-items: center; justify-content: center; height: 34px; padding: 0 6px; background: linear-gradient(180deg, #0e5d4d, #073735); color: #fff; font-size: 0.82rem; font-weight: 500; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slot-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 14px 8px; background: rgba(0,16,14,0.82); opacity: 0; transition: opacity 0.18s; }
.slot-overlay-name { color: #fff; font-size: 0.85rem; font-weight: 600; text-align: center; }
.slot-play { display: inline-block; padding: 0.5rem 1.4rem; background: var(--color-red); color: #fff; border-radius: 30px; font-size: 0.9rem; font-weight: 600; box-shadow: 0 5px 14px rgba(250,43,29,0.4); }
.slot-card:hover .slot-overlay { opacity: 1; }

/* ============ CONTENT IMAGES ============ */
.content-img { border-radius: var(--radius); border: 1px solid var(--color-border-2); max-width: 100%; height: auto; }
.img-center { display: block; margin: 1.6rem auto; }
.img-left { float: left; margin: 0.4rem 1.5rem 1rem 0; max-width: 44%; }
.img-right { float: right; margin: 0.4rem 0 1rem 1.5rem; max-width: 44%; }
.clearfix::after { content: ""; display: table; clear: both; }

/* ============ FAQ ACCORDION ============ */
.faq-list { margin: 1.4rem 0; }
.faq-item { background: var(--color-surface); border: 1px solid var(--color-border-2); border-radius: var(--radius-sm); margin-bottom: 0.7rem; overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 1rem 3rem 1rem 1.2rem; position: relative; font-weight: 600; font-size: 1.03rem; color: #fff; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); color: var(--color-accent); font-size: 1.5rem; font-weight: 700; line-height: 1; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item[open] summary { color: var(--color-accent); }
.faq-a { padding: 0 1.2rem 1.1rem; color: #e7efee; }
.faq-a p:last-child { margin-bottom: 0; }

/* ============ FOOTER ============ */
.site-footer { background: var(--color-surface); border-top: 1px solid var(--color-border-2); margin-top: 2.5rem; padding: 2.4rem 0; }
.footer-inner { text-align: center; }
.footer-logo { height: 44px; width: auto; margin-bottom: 0.6rem; }
.footer-disclaimer { max-width: 720px; margin: 0 auto 1rem; color: var(--color-muted); font-size: 0.9rem; }
.footer-nav { margin-bottom: 0.7rem; }
.footer-nav a { color: var(--color-accent); font-weight: 500; }
.footer-contact { color: var(--color-muted); font-size: 0.9rem; margin-bottom: 0.3rem; }
.footer-copy { color: var(--color-muted); font-size: 0.9rem; margin: 0; }

/* ============ LEGAL PAGE ============ */
.legal-page { padding: 1rem 0 2rem; }
.legal-page h1 { margin-bottom: 1.4rem; }
.legal-page h2 { margin-top: 2rem; }
.legal-page ul { padding-left: 1.4rem; }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .slot-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .header-inner { flex-wrap: wrap; row-gap: 10px; border-radius: 22px; }
  .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; cursor: pointer; border-radius: var(--radius-sm); margin-left: auto; }
  .primary-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 6px; }
  .nav-toggle-input:checked ~ .primary-nav { display: flex; }
  .block-menu { flex-direction: column; align-items: stretch; width: 100%; gap: 2px; }
  .block-menu li a.nav-link { display: block; width: 100%; padding: 0.7rem 0.6rem; border-radius: var(--radius-sm); }
  .block-btns { width: 100%; }
  .block-btns a { flex: 1; }

  .bonus-hero-overlay { width: 64%; padding-left: 5%; }

  /* stacked tables */
  .data-table { border: none; background: transparent; }
  .data-table thead { display: none; }
  .data-table tbody tr { display: block; margin-bottom: 1rem; background: var(--color-surface); border: 1px solid var(--color-border-2); border-radius: var(--radius-sm); }
  .data-table tbody tr:nth-child(even) { background: var(--color-surface); }
  .data-table td { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--color-border-2); padding: 0.6rem 0.9rem; }
  .data-table tbody tr td:last-child { border-bottom: none; }
  .data-table td::before { content: attr(data-label); font-weight: 600; color: var(--color-accent); flex-shrink: 0; }

  .info-pills tr { border-radius: 18px; padding: 0.65rem 1.1rem; }
  .img-left, .img-right { float: none; display: block; margin: 1.2rem auto; max-width: 100%; }
}
@media (max-width: 560px) {
  .slot-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .info-pills tr { grid-template-columns: 1fr; gap: 0.3rem; }
}
