/* -------------------------------------------------------------
   PINCO CASINO BRAND PALETTE & GLOBAL RESET
   Burgundy (#881337) | Red (#e11d48) | Pink (#ec4899) | Emerald (#10b981 / #34d399)
---------------------------------------------------------------- */
:root {
  --bg-dark: #0a0307;
  --bg-card: rgba(26, 8, 18, 0.78);
  --bg-card-hover: rgba(43, 13, 29, 0.88);
  --brand-burgundy: #881337;
  --brand-red: #e11d48;
  --brand-pink: #ec4899;
  --brand-pink-glow: rgba(236, 72, 153, 0.35);
  --brand-emerald: #10b981;
  --brand-emerald-light: #34d399;
  --brand-emerald-glow: rgba(16, 185, 129, 0.45);
  --brand-neon-green: #00ff9d;
  --text-main: #fcf2f7;
  --text-muted: #cbd5e1;
  --border-glass: rgba(236, 72, 153, 0.18);
  --border-emerald: rgba(16, 185, 129, 0.35);
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 6px;
}

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

html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 12% 15%, rgba(136, 19, 55, 0.35) 0%, transparent 45%),
    radial-gradient(circle at 88% 75%, rgba(16, 185, 129, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(236, 72, 153, 0.1) 0%, transparent 60%);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  font-size: 16px;
  padding-bottom: 0;
}

a {
  color: var(--brand-pink);
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

a:hover {
  color: var(--brand-neon-green);
  text-shadow: 0 0 10px rgba(0, 255, 157, 0.5);
}

/* -------------------------------------------------------------
   HEADER & NAVBAR (School4-Dinsk style spacing)
---------------------------------------------------------------- */
.app-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 3, 7, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  width: 100%;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header-brand-box {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-logo-link img {
  display: block;
  height: auto;
  max-height: 40px;
  width: auto;
}

/* Разделяемый центральный блок */
.header-center-box {
  display: flex;
  align-items: center;
  margin-left: 30px;
  margin-right: auto;
}

.cyber-btn-apk {
  background: rgba(16, 185, 129, 0.1);
  color: var(--brand-neon-green);
  border: 1px solid var(--brand-emerald);
  padding: 9px 20px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.15);
  transition: all 0.2s ease;
}

.cyber-btn-apk:hover {
  background: rgba(16, 185, 129, 0.25);
  box-shadow: 0 0 20px rgba(0, 255, 157, 0.4);
}

/* Правый блок контролов с отступами */
.header-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.cyber-btn-reg {
  background: linear-gradient(135deg, var(--brand-emerald) 0%, #059669 100%);
  color: #000;
  border: none;
  padding: 10px 24px;
  border-radius: var(--radius-md);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 0 16px var(--brand-emerald-glow);
  transition: all 0.2s ease;
}

.cyber-btn-reg:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 24px rgba(0, 255, 157, 0.6);
}

.cyber-btn-log {
  background: rgba(236, 72, 153, 0.12);
  color: var(--text-main);
  border: 1px solid var(--brand-pink);
  padding: 10px 22px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cyber-btn-log:hover {
  background: rgba(236, 72, 153, 0.25);
  border-color: var(--brand-neon-green);
}

.header-divider {
  width: 1px;
  height: 24px;
  background: var(--border-glass);
  margin: 0 4px;
}

/* Pure CSS Drawer Menu */
.burger-checkbox-state {
  display: none;
}

.burger-trigger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  z-index: 1002;
}

.burger-bar {
  display: block;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--brand-pink), var(--brand-emerald));
  border-radius: 2px;
}

.drawer-nav-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  z-index: 1001;
  visibility: hidden;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s ease;
}

.burger-checkbox-state:checked ~ .drawer-nav-panel {
  transform: translateX(0);
  visibility: visible;
}

.drawer-overlay-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 3, 7, 0.85);
  backdrop-filter: blur(8px);
}

.drawer-content-body {
  position: absolute;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 85%;
  height: 100%;
  background: #180612;
  border-left: 1px solid var(--border-glass);
  padding: 60px 25px 30px;
  overflow-y: auto;
}

.drawer-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  color: var(--brand-pink);
  cursor: pointer;
}

.drawer-navigation-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drawer-item {
  border-bottom: 1px solid rgba(236, 72, 153, 0.08);
}

.drawer-link {
  display: block;
  padding: 10px 0;
  color: var(--text-main);
  font-weight: 600;
  font-size: 15px;
}

/* Layout Main Content Container */
.main-layout-container {
  max-width: 1100px;
  margin: 25px auto;
  padding: 0 20px;
  width: 100%;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* -------------------------------------------------------------
   PREMIUM CYBER-LUXURY INTERACTIVE BANNER
---------------------------------------------------------------- */
.hero-minimal-banner {
  position: relative;
  background: radial-gradient(120% 120% at 0% 0%, #430825 0%, #1e0413 50%, #0c0208 100%);
  border: 1px solid rgba(236, 72, 153, 0.2);
  border-radius: 20px;
  padding: 36px 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.hero-minimal-banner::before {
  content: "";
  position: absolute;
  top: -40px;
  left: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.25) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(30px);
}

.minimal-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.minimal-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.1);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.35);
  font-size: 12px;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 2px;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
}

.badge-dot {
  width: 6px;
  height: 6px;
  background-color: #34d399;
  border-radius: 50%;
  box-shadow: 0 0 8px #34d399;
}

.minimal-title {
  color: #ffffff;
  font-size: 24px;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.2px;
  background: linear-gradient(180deg, #ffffff 0%, #fbcfe8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.minimal-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  position: relative;
  z-index: 2;
}

.minimal-card {
  background: rgba(20, 5, 14, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.minimal-card:hover {
  border-color: rgba(52, 211, 153, 0.5);
  background: rgba(30, 8, 22, 0.9);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(16, 185, 129, 0.12);
}

.minimal-value {
  font-size: 28px;
  font-weight: 900;
  color: #34d399;
  line-height: 1.15;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
  text-shadow: 0 0 16px rgba(52, 211, 153, 0.35);
}

.minimal-desc {
  color: #e2e8f0;
  font-size: 14px;
  font-weight: 600;
  opacity: 0.9;
}

.minimal-btn {
  position: relative;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  border: 1px solid rgba(52, 211, 153, 0.5);
  padding: 13px 20px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(5, 150, 105, 0.3);
  transition: all 0.3s ease;
  overflow: hidden;
}

.minimal-btn:hover {
  background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
  border-color: #6ee7b7;
  color: #022c22;
  box-shadow: 0 0 25px rgba(52, 211, 153, 0.65);
  transform: translateY(-1px);
}

/* Horizontal Scroll Table of Contents (mfc-lk.ru style) */
.toc-horizontal-wrapper {
  background: rgba(26, 8, 18, 0.9);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  backdrop-filter: blur(8px);
}

.toc-scroll-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--brand-pink) rgba(255,255,255,0.05);
}

.toc-scroll-list::-webkit-scrollbar {
  height: 4px;
}

.toc-scroll-list::-webkit-scrollbar-thumb {
  background: var(--brand-pink);
  border-radius: 4px;
}

.toc-chip-item {
  flex: 0 0 auto;
}

.toc-chip-link {
  display: inline-block;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(236, 72, 153, 0.2);
  color: var(--text-main);
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.toc-chip-link:hover {
  background: var(--brand-red);
  border-color: var(--brand-pink);
  color: #fff;
  text-shadow: none;
}

/* -------------------------------------------------------------
   ORIGINAL & COOL DESIGNER CARD SECTIONS
---------------------------------------------------------------- */
.content-card-section {
  position: relative;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Headings */
.section-title-h1 {
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-title-h1::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 28px;
  background: linear-gradient(180deg, var(--brand-pink), var(--brand-emerald));
  border-radius: 3px;
}

.section-title-h2 {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-top: 10px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title-h2::before {
  content: "◈";
  color: var(--brand-emerald);
  font-size: 18px;
}

.section-title-h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-pink);
  margin-top: 22px;
  margin-bottom: 12px;
}

.section-paragraph-text {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 15px;
}

/* Media Illustrations (Preserved Content Images) */
.media-illustration-box {
  margin: 22px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

.media-banner-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Designer Tables */
.data-table-scroll-wrapper {
  width: 100%;
  overflow-x: auto;
  margin: 22px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
}

.cyber-data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
  min-width: 500px;
}

.cyber-th {
  background: rgba(136, 19, 55, 0.4);
  color: var(--brand-pink);
  padding: 14px 18px;
  font-weight: 800;
  border-bottom: 1px solid var(--border-glass);
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.5px;
}

.cyber-td-header {
  background: rgba(255, 255, 255, 0.02);
  color: #fff;
  font-weight: 700;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(236, 72, 153, 0.08);
  width: 35%;
}

.cyber-td-data {
  color: var(--text-muted);
  padding: 12px 18px;
  border-bottom: 1px solid rgba(236, 72, 153, 0.08);
}

.cyber-tr:last-child .cyber-td-header,
.cyber-tr:last-child .cyber-td-data {
  border-bottom: none;
}

/* Step Workflow List (<ol> & <li>) */
.step-workflow-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
}

.step-workflow-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  padding: 14px 20px;
  border-radius: var(--radius-md);
}

.step-number {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-pink) 100%);
  color: #fff;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 12px var(--brand-pink-glow);
}

.step-content {
  color: var(--text-main);
  font-size: 14px;
}

/* Game Categories Planks (Without H2 header) */
.planks-categories-container {
  margin-top: 22px;
}

.game-categories-grid-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.category-card-box {
  position: relative;
  background: rgba(136, 19, 55, 0.15);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.category-card-box:hover {
  transform: translateY(-4px);
  border-color: var(--brand-emerald);
  box-shadow: 0 0 20px var(--brand-emerald-glow);
}

.category-card-box img {
  width: 65px;
  height: 65px;
  object-fit: contain;
}

.category-label {
  font-weight: 800;
  color: #fff;
  font-size: 15px;
}

.category-card-overlay-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
    border: none;
    cursor: pointer;
}

/* Neon Feature Badges List */
.neon-feature-badge-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.neon-badge-item {
  background: rgba(236, 72, 153, 0.08);
  border: 1px solid var(--brand-pink);
  color: var(--text-main);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
}

/* Bullet Feature Grid List */
.bullet-feature-grid-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 18px 0;
}

.bullet-feature-item {
  position: relative;
  padding-left: 26px;
  color: var(--text-muted);
  font-size: 15px;
}

.bullet-feature-item::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--brand-neon-green);
}

/* Action CTA Block */
.action-cta-block {
  margin: 24px 0;
  text-align: center;
}

.cyber-btn-download {
  background: linear-gradient(135deg, var(--brand-pink) 0%, var(--brand-red) 100%);
  color: #fff;
  border: none;
  padding: 16px 32px;
  font-weight: 900;
  border-radius: 30px;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 0 20px var(--brand-pink-glow);
}

/* User Reviews Grid List */
.user-reviews-grid-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin: 22px 0;
}

.review-card-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 20px;
}

.review-author-name {
  display: block;
  font-weight: 800;
  color: var(--brand-neon-green);
  margin-bottom: 8px;
  font-size: 14px;
}

.review-comment-text {
  color: var(--text-muted);
  font-size: 14px;
  font-style: italic;
}

/* Accordion FAQ */
.faq-accordion-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
}

.faq-details {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-summary {
  padding: 18px 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
}

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

.faq-title-h3 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.accordion-icon-toggle {
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--brand-pink);
  border-bottom: 2px solid var(--brand-pink);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-left: 10px;
  flex-shrink: 0;
}

.faq-details[open] .accordion-icon-toggle {
  transform: rotate(-135deg);
}

.faq-answer-content {
  padding: 0 22px 18px;
  border-top: 1px solid rgba(236, 72, 153, 0.08);
  margin-top: 8px;
  padding-top: 14px;
}

/* Footer */
.app-footer {
  background: #060205;
  border-top: 1px solid var(--border-glass);
  padding: 45px 20px 25px;
  margin-top: 50px;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-nav-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-column-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  color: var(--text-muted);
  font-size: 14px;
}

.footer-copyright {
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 22px;
}

.footer-brand-link {
  color: var(--brand-pink);
}

/* Mobile Sticky Action Bar */
.mobile-sticky-action-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 3, 7, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-glass);
  padding: 10px 15px;
  z-index: 999;
}

.sticky-bar-buttons-box {
  display: flex;
      justify-content: center;
  gap: 10px;
  max-width: 500px;
}

.sticky-reg-btn, .sticky-log-btn {
  flex: 1;
  text-align: center;
  padding: 12px;
}

/* Responsive Rules */
@media (max-width: 768px) {
  html, body {
    padding-bottom: 70px;
  }

  .mobile-sticky-action-bar {
    display: block;
  }

  .header-container {
    padding: 12px 16px;
  }

  .header-center-box {
    margin: 0 auto;
  }

  .header-divider {
    display: none;
  }

.header-controls .cyber-btn-reg,
.header-controls .cyber-btn-log {
    display: none;
  }

  .hero-minimal-banner {
    padding: 24px 18px;
  }

  .minimal-title {
    font-size: 20px;
  }

  .minimal-value {
    font-size: 24px;
  }

  .content-card-section {
    padding: 20px;
  }
}