/* ============================================================
   PINCO — MASTER STYLESHEET 2026
   Mobile-first, ink-violet / citrus palette
   ============================================================ */

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

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

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

  --shadow-card: 0 4px 24px rgba(36, 27, 75, 0.10);
  --shadow-btn:  0 2px 8px  rgba(245, 213, 71, 0.25);
}

/* ----------------------------------------------------------
   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);
  background: var(--surface);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

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

h1 { font-size: 2rem;   font-weight: 800; }
h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.75rem; }
h3 { font-size: 1.15rem;font-weight: 700; margin-bottom: 0.5rem; }

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

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

/* ----------------------------------------------------------
   4. HEADER
   ---------------------------------------------------------- */
.site-header {
  background: var(--base);
  border-bottom: 3px solid var(--accent2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-block: 0.85rem;
}

/* --- Logo wordmark (CSS only, no image) --- */
.logo {
  display: flex;
  align-items: center;
  gap: 0;
  cursor: pointer;
  text-decoration: none;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  background: var(--accent);
  color: var(--deep);
  font-weight: 900;
  font-size: 1.2rem;
  border-radius: 8px;
  margin-right: 0.4rem;
  letter-spacing: -0.03em;
  flex-shrink: 0;
  font-family: var(--font);
}

.logo-text {
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  font-family: var(--font);
}

/* --- Hamburger toggle --- */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 2rem;
  height: 1.4rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

/* --- Nav menu --- */
.main-nav {
  width: 100%;
  display: none;
}

.nav-open .main-nav {
  display: block;
}

.main-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-block: 0.5rem;
}

.main-nav a {
  display: block;
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.01em;
}

.main-nav a:hover {
  background: rgba(255,255,255,0.08);
  color: var(--accent);
}

.main-nav a.active {
  color: var(--accent);
  font-weight: 700;
}

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

/* ----------------------------------------------------------
   5. BUTTONS
   ---------------------------------------------------------- */
.btn,
.btn--accent,
.btn-cta,
button.btn-cta {
  display: inline-block;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.75rem 1.6rem;
  background: var(--accent);
  color: var(--deep);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  text-decoration: none;
  line-height: 1;
}

.btn:hover,
.btn--accent:hover,
.btn-cta:hover,
button.btn-cta:hover {
  background: #ffe066;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(245, 213, 71, 0.38);
  color: var(--deep);
}

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

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

/* ----------------------------------------------------------
   6. BONUS BANNER
   ---------------------------------------------------------- */
.bonus-banner,
.bonus-banner--top,
.bonus-banner--mid {
  background: linear-gradient(135deg, var(--deep) 0%, var(--base) 55%, #3A2D7A 100%);
  padding: 2.5rem 0;
}

.bonus-banner__inner,
.bonus-banner-inner,
.banner-inner {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
  border: 2px solid var(--accent2);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  background: rgba(255,255,255,0.03);
}

/* label / tag */
.bonus-banner__label,
.bonus-banner-label,
.bonus-label,
.banner-tag {
  display: inline-block;
  background: var(--accent2);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.28rem 0.85rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

/* title */
.bonus-banner__title,
.bonus-banner-offer,
.bonus-title,
.banner-headline {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 0.65rem;
  line-height: 1.2;
}

/* subtitle */
.bonus-banner__sub,
.bonus-banner-sub,
.bonus-sub,
.banner-sub {
  color: rgba(255,255,255,0.78);
  font-size: 0.95rem;
  margin-bottom: 1.4rem;
}

/* bonus-banner-offer flex variant (vhod.html) */
.bonus-banner-offer {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 1.25rem;
}

.bonus-banner-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent);
}

/* offer box variant (zerkalo) */
.bonus-offer-box {
  margin-bottom: 0;
}

/* nested banner inside container */
.bonus-banner .container,
.bonus-banner--mid .container {
  padding-inline: 1rem;
}

/* ----------------------------------------------------------
   7. MAIN CONTENT AREA
   ---------------------------------------------------------- */
.site-main,
.main-content {
  padding-block: 2.5rem;
}

/* ----------------------------------------------------------
   8. TYPOGRAPHY — SECTIONS
   ---------------------------------------------------------- */
.site-h1,
.page-h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--base);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.intro-section,
.facts-section,
.bonuses-section,
.games-section,
.payments-section,
.mobile-section,
.faq-section,
.cards-section,
.overview-section,
.content-section,
.page-intro,
.page-article,
.content-article {
  margin-bottom: 2.5rem;
}

.content-section--alt {
  background: rgba(123, 108, 246, 0.05);
  border-radius: var(--radius);
  padding: 2rem 0;
}

.content-section--alt .container {
  padding-inline: 1rem;
}

/* ----------------------------------------------------------
   9. TABLES
   ---------------------------------------------------------- */
.table-scroll,
.table-scroll-wrapper,
.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(97, 90, 131, 0.2);
}

.data-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.data-table caption {
  caption-side: top;
  text-align: left;
  font-weight: 700;
  color: var(--muted);
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

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

.data-table thead th {
  padding: 0.85rem 1rem;
  text-align: left;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}

.data-table tbody tr:nth-child(even) {
  background: rgba(123, 108, 246, 0.06);
}

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

.data-table tbody tr:hover {
  background: rgba(245, 213, 71, 0.10);
}

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

/* ----------------------------------------------------------
   10. FAQ ACCORDION (CSS-only via details/summary)
   ---------------------------------------------------------- */
.faq-block,
.faq-section .faq-item,
.faq-list .faq-item {
  margin-bottom: 0;
}

.faq-item {
  border: 1px solid rgba(97, 90, 131, 0.22);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  background: #fff;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.faq-item:hover {
  box-shadow: 0 2px 12px rgba(36, 27, 75, 0.08);
}

.faq-item[open] {
  box-shadow: 0 4px 20px rgba(36, 27, 75, 0.12);
  border-color: var(--accent2);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--base);
  font-size: 0.97rem;
  list-style: none;
  user-select: none;
  transition: background 0.2s;
}

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

.faq-question:hover {
  background: rgba(123, 108, 246, 0.05);
}

.faq-question:focus-visible {
  outline: 2px solid var(--accent2);
  outline-offset: -2px;
}

/* h3 inside summary (official-site.html) */
.faq-question h3 {
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--base);
  margin: 0;
  flex: 1;
}

/* Rotating chevron drawn in CSS */
.faq-chevron {
  display: inline-block;
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  position: relative;
  transition: transform 0.3s;
}

.faq-chevron::before,
.faq-chevron::after {
  content: '';
  position: absolute;
  top: 50%;
  height: 2px;
  width: 55%;
  background: var(--accent2);
  border-radius: 2px;
  transition: transform 0.3s;
}

.faq-chevron::before {
  left: 5%;
  transform: translateY(-50%) rotate(45deg) translateX(2px);
}

.faq-chevron::after {
  right: 5%;
  transform: translateY(-50%) rotate(-45deg) translateX(-2px);
}

details[open] .faq-chevron::before {
  transform: translateY(-50%) rotate(-45deg) translateX(2px);
}

details[open] .faq-chevron::after {
  transform: translateY(-50%) rotate(45deg) translateX(-2px);
}

/* For faq-question without explicit .faq-chevron — add pseudo-chevron inline */
.faq-question:not(:has(.faq-chevron))::after {
  content: '';
  display: inline-block;
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  position: relative;
  background:
    linear-gradient(var(--accent2) 0 0) no-repeat center / 2px 60%,
    linear-gradient(var(--accent2) 0 0) no-repeat center / 60% 2px;
  border-radius: 2px;
  transform: rotate(45deg);
  transition: transform 0.3s;
}

details[open] .faq-question:not(:has(.faq-chevron))::after {
  transform: rotate(0deg);
}

.faq-answer,
.faq-body {
  padding: 0 1.25rem 1.1rem;
  color: var(--ink);
  font-size: 0.95rem;
  border-top: 1px solid rgba(97, 90, 131, 0.12);
}

.faq-answer p,
.faq-body p {
  margin-top: 0.8rem;
}

/* ----------------------------------------------------------
   11. CARDS
   ---------------------------------------------------------- */
.card-grid,
.cards-grid,
.info-cards,
.highlight-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.card,
.info-card,
.hcard {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem 1.25rem;
  box-shadow: var(--shadow-card);
  position: relative;
  border: 1px solid rgba(97, 90, 131, 0.12);
  transition: box-shadow 0.25s, transform 0.2s;
}

.card:hover,
.info-card:hover,
.hcard:hover {
  box-shadow: 0 8px 32px rgba(36, 27, 75, 0.15);
  transform: translateY(-3px);
}

/* Circled numeral */
.card-num,
.info-card__num,
.card-number,
.hcard-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--accent2);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
  flex-shrink: 0;
  font-family: var(--font);
}

.card-title,
.info-card__title,
.hcard-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--base);
  margin-bottom: 0.5rem;
}

.card p,
.info-card p,
.hcard p {
  font-size: 0.93rem;
  color: var(--ink);
  line-height: 1.65;
}

/* ----------------------------------------------------------
   12. FOOTER
   ---------------------------------------------------------- */
.site-footer {
  background: var(--deep);
  color: rgba(255,255,255,0.75);
  padding-block: 2.5rem;
  border-top: 3px solid var(--accent2);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0;
}

.footer-logo .logo-mark {
  width: 1.8rem;
  height: 1.8rem;
  font-size: 1rem;
  border-radius: 6px;
}

.footer-logo .logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
}

.footer-nav a {
  color: rgba(255,255,255,0.68);
  font-size: 0.88rem;
  transition: color 0.2s;
}

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

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

.footer-disclaimer {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  max-width: 680px;
}

.footer-disclaimer p { margin-bottom: 0.4rem; }

.footer-copy {
  margin-top: 0.5rem;
  color: rgba(255,255,255,0.35);
  font-size: 0.78rem;
}

/* ----------------------------------------------------------
   13. PAGE-SPECIFIC: HIGHLIGHTS / HCARDS (official-site)
   ---------------------------------------------------------- */
.highlight-cards {
  grid-template-columns: 1fr;
}

/* ----------------------------------------------------------
   14. PAGE-SPECIFIC: VHOD / REGISTRACIYA CARDS
   ---------------------------------------------------------- */
.cards-section {
  margin-top: 2rem;
}

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

/* ----------------------------------------------------------
   15. PAGE-SPECIFIC: BONUS BANNER NESTED (rabochee-zerkalo)
   ---------------------------------------------------------- */
.rabochee-zerkalo .bonus-banner--mid {
  margin-inline: -1rem;
  border-radius: 0;
}

/* For inline bonus-banner inside article */
.bonus-banner--mid.bonus-banner {
  margin-block: 2rem;
  border-radius: var(--radius);
  padding: 2rem 0;
}

/* ----------------------------------------------------------
   16. PAGE-SPECIFIC: BANNER VARIANTS (igrovye-avtomaty)
   ---------------------------------------------------------- */
.banner-offer-box {
  text-align: center;
}

/* ----------------------------------------------------------
   17. CONTENT ARTICLE SPACING
   ---------------------------------------------------------- */
.content-article h2,
.page-article h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.content-article h3,
.page-article h3 {
  margin-top: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--base);
}

.content-article p,
.page-article p {
  margin-bottom: 1rem;
}

/* ----------------------------------------------------------
   18. MISC UTILITIES
   ---------------------------------------------------------- */
strong {
  font-weight: 700;
  color: var(--base);
}

/* ----------------------------------------------------------
   19. BREAKPOINT: 640px
   ---------------------------------------------------------- */
@media (min-width: 640px) {

  h1, .site-h1, .page-h1 { font-size: 2.5rem; }
  h2 { font-size: 1.75rem; }

  .header-inner {
    flex-wrap: nowrap;
  }

  .nav-toggle {
    display: none;
  }

  .main-nav {
    display: block !important;
    width: auto;
    flex: 1;
  }

  .main-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.1rem;
    padding-block: 0;
  }

  .main-nav a {
    font-size: 0.82rem;
    padding: 0.4rem 0.55rem;
  }

  /* Cards 2-col */
  .card-grid,
  .cards-grid,
  .info-cards,
  .highlight-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Banner title bigger */
  .bonus-banner__title,
  .bonus-banner-offer,
  .bonus-title,
  .banner-headline {
    font-size: 1.75rem;
  }

  .bonus-banner__inner,
  .bonus-banner-inner,
  .banner-inner {
    padding: 2.5rem 2.5rem;
  }

  /* Footer row */
  .footer-inner {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .footer-logo { flex: 0 0 auto; }
  .footer-nav  { flex: 1; }
  .footer-disclaimer { width: 100%; }
}

/* ----------------------------------------------------------
   20. BREAKPOINT: 1024px
   ---------------------------------------------------------- */
@media (min-width: 1024px) {

  .container { padding-inline: 2rem; }

  h2 { font-size: 2rem; }

  /* Header becomes single centred wordmark above full-width nav */
  .site-header {
    position: relative;
  }

  .header-inner {
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    padding-block: 1rem 0;
  }

  .logo {
    margin-bottom: 0.2rem;
  }

  .logo-mark {
    width: 2.4rem;
    height: 2.4rem;
    font-size: 1.35rem;
    border-radius: 10px;
  }

  .logo-text {
    font-size: 1.7rem;
  }

  .main-nav {
    width: 100%;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 0.2rem;
  }

  .main-nav ul {
    justify-content: center;
    gap: 0;
  }

  .main-nav a {
    font-size: 0.88rem;
    padding: 0.6rem 0.9rem;
    border-radius: 0;
  }

  .main-nav a:hover {
    background: rgba(255,255,255,0.07);
  }

  .main-nav li:first-child a { border-radius: 8px 0 0 0; }
  .main-nav li:last-child  a { border-radius: 0 8px 0 0; }

  /* 4-col card grid */
  .card-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

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

  /* Bonus banner wider */
  .bonus-banner__title,
  .bonus-banner-offer,
  .bonus-title,
  .banner-headline {
    font-size: 2rem;
  }

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

  /* Table min-width lift */
  .data-table { min-width: 640px; }

  /* Section padding */
  .site-main,
  .main-content { padding-block: 3.5rem; }

  /* Footer 3-col */
  .footer-inner {
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 2.5rem;
  }

  .footer-logo   { flex: 0 0 auto; }
  .footer-nav    { flex: 1; }
  .footer-disclaimer { flex: 0 0 340px; }
}

/* ----------------------------------------------------------
   21. BREAKPOINT: 1280px (fine-tuning)
   ---------------------------------------------------------- */
@media (min-width: 1280px) {
  .main-nav a {
    font-size: 0.92rem;
    padding: 0.65rem 1.1rem;
  }
}

/* ----------------------------------------------------------
   22. FOCUS VISIBLE GLOBAL SWEEP
   ---------------------------------------------------------- */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ----------------------------------------------------------
   23. PRINT SAFEGUARD
   ---------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .bonus-banner, .btn, .btn-cta { display: none !important; }
}