/* ============================================================
   PINCO — Main Stylesheet
   Mobile-first, CSS custom properties, no external resources
   ============================================================ */

/* ----------------------------------------------------------
   1. CUSTOM PROPERTIES
   ---------------------------------------------------------- */
:root {
  --base:    #241B4B;
  --deep:    #150F2E;
  --accent:  #F5D547;
  --accent2: #7B6CF6;
  --surface: #F5F4FA;
  --ink:     #181233;
  --muted:   #615A83;

  --radius:  14px;
  --container: 1120px;

  --font-head: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ----------------------------------------------------------
   2. RESET & BASE
   ---------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--surface);
  color: var(--ink);
  line-height: 1.65;
  min-width: 320px;
}

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

a {
  color: var(--accent2);
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover  { color: var(--accent); }
a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--base);
  line-height: 1.25;
  margin-bottom: 0.6em;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.15rem; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 1.4em; }
li { margin-bottom: 0.3em; }

/* ----------------------------------------------------------
   3. CONTAINER
   ---------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1rem;
}

/* ----------------------------------------------------------
   4. HEADER
   ---------------------------------------------------------- */
.site-header {
  background: var(--base);
  padding: 0;
  position: relative;
  z-index: 100;
}

.site-header .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 1rem;
}

/* Logo wordmark */
.logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 0.75rem;
}

.logo-mark {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  /* CSS-only wordmark embellishment */
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
  position: relative;
  padding: 0.15em 0.7em;
  border: 3px solid var(--accent);
  border-radius: 10px;
  background: linear-gradient(135deg, var(--deep) 60%, var(--base) 100%);
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
  user-select: none;
}

/* Decorative dot before wordmark */
.logo-mark::before {
  content: '◆';
  color: var(--accent2);
  font-size: 0.55em;
  vertical-align: middle;
}

/* Nav */
.main-nav {
  width: 100%;
  background: var(--deep);
}

.main-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}

.main-nav ul li a {
  display: block;
  padding: 0.65rem 0.85rem;
  color: #ccc8e8;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
  background: var(--base);
  color: var(--accent);
}

.main-nav ul li a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}

/* ----------------------------------------------------------
   5. BONUS BANNER
   ---------------------------------------------------------- */
.bonus-banner {
  background: linear-gradient(130deg, var(--deep) 0%, var(--base) 50%, #3a2878 100%);
  padding: 2.5rem 0;
  position: relative;
  overflow: hidden;
}

/* Decorative background shape */
.bonus-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 10% 50%, rgba(123,108,246,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 90% 50%, rgba(245,213,71,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.bonus-banner--mid {
  background: linear-gradient(130deg, #2d1f6e 0%, var(--base) 50%, #1a1040 100%);
}

.banner-inner {
  position: relative;
  z-index: 1;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.75rem 1.25rem;
  text-align: center;
  background: rgba(20, 12, 46, 0.55);
  backdrop-filter: blur(2px);
  max-width: 680px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.banner-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 0;
}

.banner-title {
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.2;
  margin-bottom: 0;
}

.banner-sub {
  font-size: 0.82rem;
  color: rgba(245, 244, 250, 0.75);
  margin-bottom: 0;
}

/* ----------------------------------------------------------
   6. BUTTONS
   ---------------------------------------------------------- */
.btn-cta {
  display: inline-block;
  background: var(--accent);
  color: var(--deep);
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 18px rgba(245,213,71,0.3);
  margin-top: 0.5rem;
}

.btn-cta:hover {
  background: #f9e06a;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(245,213,71,0.45);
}

.btn-cta:active {
  transform: translateY(0);
}

.btn-cta:focus-visible {
  outline: 3px solid var(--accent2);
  outline-offset: 3px;
}

/* ----------------------------------------------------------
   7. MAIN CONTENT SPACING
   ---------------------------------------------------------- */
.main-content {
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

.main-content section {
  margin-bottom: 3rem;
}

.main-content section:last-child {
  margin-bottom: 0;
}

/* ----------------------------------------------------------
   8. INTRO SECTION
   ---------------------------------------------------------- */
.intro-section h1 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 0.5em;
  color: var(--base);
}

/* ----------------------------------------------------------
   9. TABLES
   ---------------------------------------------------------- */
.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(36,27,75,0.08);
}

.zebra-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 0.9rem;
  border-radius: var(--radius);
  overflow: hidden;
}

.zebra-table thead tr {
  background: var(--base);
  color: #fff;
}

.zebra-table thead th {
  padding: 0.85rem 1rem;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.zebra-table tbody tr:nth-child(odd) {
  background: #fff;
}

.zebra-table tbody tr:nth-child(even) {
  background: #eeeaf7;
}

.zebra-table tbody tr {
  transition: background 0.15s;
}

.zebra-table tbody tr:hover {
  background: #ddd8f5;
}

.zebra-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  color: var(--ink);
  vertical-align: top;
  border-bottom: 1px solid rgba(97,90,131,0.12);
}

.zebra-table td:first-child {
  font-weight: 600;
  color: var(--base);
}

/* ----------------------------------------------------------
   10. QUICK FACTS SECTION
   ---------------------------------------------------------- */
.quick-facts h2,
.bonuses-section h2,
.games-section h2,
.payments-section h2,
.mobile-section h2,
.faq-section h2,
.cards-section h2 {
  margin-bottom: 1rem;
}

.quick-facts h2 {
  font-size: 1.6rem;
}

/* ----------------------------------------------------------
   11. BONUSES & GAMES SECTIONS
   ---------------------------------------------------------- */
.bonuses-section h3,
.games-section h3 {
  color: var(--base);
  margin-top: 1.5rem;
  margin-bottom: 0.4em;
  padding-left: 0.75rem;
  border-left: 4px solid var(--accent2);
}

/* ----------------------------------------------------------
   12. FAQ ACCORDION (CSS-only via <details>/<summary>)
   ---------------------------------------------------------- */
.faq-section {
  margin-bottom: 3rem;
}

.faq-item {
  background: #fff;
  border: 1px solid rgba(97,90,131,0.18);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(36,27,75,0.05);
  transition: box-shadow 0.2s;
}

.faq-item:hover {
  box-shadow: 0 4px 16px rgba(36,27,75,0.1);
}

.faq-item[open] {
  box-shadow: 0 4px 20px rgba(123,108,246,0.15);
  border-color: var(--accent2);
}

.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.1rem;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.97rem;
  color: var(--base);
  user-select: none;
  gap: 1rem;
  transition: background 0.15s;
}

.faq-item summary:hover {
  background: #f0eeff;
}

.faq-item summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}

/* Hide default marker */
.faq-item summary::-webkit-details-marker { display: none; }

/* CSS chevron */
.faq-item summary::after {
  content: '';
  display: block;
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2.5px solid var(--accent2);
  border-bottom: 2.5px solid var(--accent2);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}

.faq-item[open] summary::after {
  transform: rotate(225deg);
}

.faq-body {
  padding: 0 1.1rem 1rem 1.1rem;
  color: var(--ink);
  font-size: 0.93rem;
  line-height: 1.65;
}

.faq-body p {
  margin-bottom: 0.75em;
}

/* ----------------------------------------------------------
   13. CARDS GRID
   ---------------------------------------------------------- */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem 1.25rem;
  position: relative;
  box-shadow:
    0 2px 8px rgba(36,27,75,0.07),
    0 6px 24px rgba(36,27,75,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid rgba(123,108,246,0.1);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 4px 16px rgba(36,27,75,0.1),
    0 12px 32px rgba(123,108,246,0.12);
}

.card-num {
  position: absolute;
  top: -0.6rem;
  left: 1.1rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent2);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(123,108,246,0.35);
  line-height: 1;
}

.card h3 {
  color: var(--base);
  font-size: 1.05rem;
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0;
}

/* ----------------------------------------------------------
   14. CHECKLIST (ol/ul.checklist)
   ---------------------------------------------------------- */
.checklist {
  list-style: none;
  padding-left: 0;
}

.checklist li {
  padding: 0.45rem 0 0.45rem 2rem;
  position: relative;
  font-size: 0.94rem;
  border-bottom: 1px solid rgba(97,90,131,0.1);
}

.checklist li:last-child {
  border-bottom: none;
}

.checklist li::before {
  content: '';
  position: absolute;
  left: 0.2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--accent2);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Checkmark via clip */
.checklist li::after {
  content: '✓';
  position: absolute;
  left: 0.28rem;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 900;
  line-height: 1;
}

ol.checklist {
  counter-reset: checklist-counter;
}

ol.checklist li {
  counter-increment: checklist-counter;
  padding-left: 2.2rem;
}

ol.checklist li::before {
  content: '';
  background: var(--base);
}

ol.checklist li::after {
  content: counter(checklist-counter);
  font-size: 0.7rem;
  font-weight: 800;
}

/* ----------------------------------------------------------
   15. FOOTER
   ---------------------------------------------------------- */
.site-footer {
  background: var(--deep);
  padding: 2rem 0 1.5rem;
  margin-top: 0;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
  justify-content: center;
}

.footer-nav ul li a {
  color: #b0aad4;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-nav ul li a:hover {
  color: var(--accent);
}

.footer-nav ul li a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 3px;
}

.footer-disclaimer {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
  max-width: 680px;
  margin: 0 auto 0.75rem;
}

.footer-copy {
  font-size: 0.78rem;
  color: #6e668f;
  text-align: center;
}

/* ----------------------------------------------------------
   16. INNER-PAGE CONTENT (non-main pages)
   ---------------------------------------------------------- */
.main-content h1 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.main-content h2 {
  font-size: 1.4rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.main-content h3 {
  font-size: 1.1rem;
  margin-top: 1.25rem;
  margin-bottom: 0.4em;
  color: var(--base);
}

.main-content h3 {
  padding-left: 0.65rem;
  border-left: 3px solid var(--accent2);
}

/* Override for checklist pages */
.main-content ul:not(.checklist),
.main-content ol:not(.checklist) {
  padding-left: 1.5em;
  margin-bottom: 1em;
}

/* ----------------------------------------------------------
   17. ACCESSIBILITY — focus-visible global fallback
   ---------------------------------------------------------- */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* ----------------------------------------------------------
   18. BREAKPOINT — 640px
   ---------------------------------------------------------- */
@media (min-width: 640px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.75rem; }

  .site-header .container {
    flex-direction: column;
  }

  .banner-title {
    font-size: 1.85rem;
  }

  .cards-grid {
    grid-template-columns: 1fr 1fr;
  }

  .container {
    padding-inline: 1.5rem;
  }

  .faq-item summary {
    font-size: 1rem;
  }

  .zebra-table {
    font-size: 0.93rem;
  }
}

/* ----------------------------------------------------------
   19. BREAKPOINT — 1024px
   ---------------------------------------------------------- */
@media (min-width: 1024px) {
  h1 { font-size: 2.5rem; }

  .site-header .container {
    padding-top: 0.75rem;
  }

  .logo-mark {
    font-size: 2.25rem;
  }

  .main-nav ul li a {
    font-size: 0.9rem;
    padding: 0.75rem 1.1rem;
  }

  .banner-title {
    font-size: 2.1rem;
  }

  .banner-inner {
    padding: 2.25rem 2.5rem;
  }

  .main-content {
    padding-top: 3rem;
    padding-bottom: 4rem;
  }

  .main-content section {
    margin-bottom: 3.5rem;
  }

  .main-content h1 {
    font-size: 2.5rem;
  }

  .main-content h2 {
    font-size: 1.6rem;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq-item summary {
    font-size: 1.02rem;
    padding: 1.1rem 1.4rem;
  }

  .faq-body {
    padding: 0 1.4rem 1.2rem 1.4rem;
  }

  .card {
    padding: 1.75rem 1.5rem 1.5rem;
  }

  .container {
    padding-inline: 2rem;
  }

  .bonus-banner {
    padding: 3.5rem 0;
  }
}

/* ----------------------------------------------------------
   20. BONUS BANNER inside main (zerkalo page mid-content)
   ---------------------------------------------------------- */
.main-content .bonus-banner,
.main-content .bonus-banner--mid {
  margin-left: calc(-1 * 1rem);
  margin-right: calc(-1 * 1rem);
  border-radius: 0;
}

@media (min-width: 640px) {
  .main-content .bonus-banner,
  .main-content .bonus-banner--mid {
    margin-left: calc(-1 * 1.5rem);
    margin-right: calc(-1 * 1.5rem);
  }
}

@media (min-width: 1024px) {
  .main-content .bonus-banner,
  .main-content .bonus-banner--mid {
    margin-left: calc(-1 * 2rem);
    margin-right: calc(-1 * 2rem);
    border-radius: var(--radius);
  }
}

/* ----------------------------------------------------------
   21. PAYMENTS SECTION
   ---------------------------------------------------------- */
.payments-section p {
  margin-bottom: 1em;
}

/* ----------------------------------------------------------
   22. MOBILE SECTION
   ---------------------------------------------------------- */
.mobile-section p {
  margin-bottom: 1em;
}

/* ----------------------------------------------------------
   23. SMOOTH scrollbar for table on mobile
   ---------------------------------------------------------- */
.table-scroll::-webkit-scrollbar {
  height: 5px;
}
.table-scroll::-webkit-scrollbar-track {
  background: #e8e6f5;
  border-radius: 10px;
}
.table-scroll::-webkit-scrollbar-thumb {
  background: var(--accent2);
  border-radius: 10px;
}