/*
Theme Name: My Theme1
Author: Ваше имя1
Description: Моя первая тема WordPress1
Version: 1.01
*/


    :root {
      --bg-page: #050611;
      --bg-card: #111827;
      --bg-chip: #1d2338;
      --accent: #ff4b6a;
      --text-main: #ffffff;
      --text-muted: #aab3d1;
      --border-soft: #1f2539;
      --radius-lg: 18px;
      --radius-pill: 999px;
    }

    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      padding: 0;
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background: var(--bg-page);
      color: var(--text-main);
    }
   	h1 {
      font-size: 28px;
    }
	a {
		color: #7ab7ff;
	}

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

	figure {
		margin:0;
	}

    .visually-hidden {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }

    .container {
      max-width: 1008px;
      margin: 0 auto;
      padding: 20px 24px 40px;
    }

    .header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 12px 0 8px;
    }

    .logo {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 48px;
      height: 48px;
      font-weight: 800;
      font-size: 36px;
      color: var(--accent);
    }
    a.logo {
		text-decoration:none;
	}
    .header-meta {
      font-size: 12px;
      color: var(--text-muted);
    }

    /* HERO */
    .hero {
      max-width: 960px;
      margin: 32px auto 0;
      background: var(--bg-card);
      border-radius: var(--radius-lg);
      padding: 24px 24px 22px;
      border: 1px solid rgba(255, 255, 255, 0.04);
    }

    .hero__overline {
      font-size: 11px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--text-muted);
      margin-bottom: 6px;
    }

    .hero__title {
      font-size: 24px;
      line-height: 1.25;
      font-weight: 700;
      margin: 0 0 10px;
    }

    .hero__subtitle {
      margin: 0 0 20px;
      font-size: 15px;
      color: var(--text-muted);
    }

    .hero__code-row {
      display: flex;
      gap: 10px;
      align-items: center;
      background: var(--bg-chip);
      padding: 14px 14px;
      border-radius: 12px;
      border: 1px solid var(--border-soft);
    }

    .hero__code {
      font-size: 22px;
      font-weight: 700;
      letter-spacing: 0.18em;
      white-space: nowrap;
    }

    .btn-copy {
      background: var(--accent);
      color: #fff;
      border: none;
      padding: 10px 20px;
      border-radius: var(--radius-pill);
      cursor: pointer;
      font-weight: 700;
      font-size: 14px;
      transition: opacity 0.15s ease, transform 0.15s ease;
      white-space: nowrap;
    }

    .btn-copy:hover {
      opacity: 0.95;
      transform: translateY(-1px);
    }

    .hero__actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      align-items: center;
      margin-top: 16px;
    }

    .btn-primary {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 11px 24px;
      border-radius: var(--radius-pill);
      background: var(--accent);
      color: #fff;
      font-weight: 700;
      font-size: 15px;
      text-decoration: none;
      border: none;
      cursor: pointer;
      transition: opacity 0.15s ease, transform 0.15s ease;
    }

    .btn-primary:hover {
      filter: brightness(1.06);
    }

    .hero__trust {
      margin-top: 14px;
      font-size: 11px;
      color: var(--text-muted);
    }

    .hero__trust span + span::before {
      content: "•";
      margin: 0 6px;
      opacity: 0.5;
    }

    /* LOCAL NAV */
    .reference-toc {
      max-width: 780px;
      margin: 2.5rem 0;
      font-size: 14px;
    }

    .reference-toc a {
      text-decoration: none;
    }

    .reference-toc a:hover {
      text-decoration: underline;
    }
	.reference-toc__label {
		font-size: 0.875rem!important;
		color: var(--text-muted)!important;
		margin-bottom: 0.5rem!important;
	}

    /* CONTENT */
	.main {
		max-width: 960px; /* или как у .container, можно 100% */
		margin: 0 auto;
	}

	/* Узкая текстовая колонка для лонгрида */
	.main-inner {
		max-width: 780px;
		margin: 48px auto 0;
	}

    .main h2 {
      font-size: 22px;
      margin: 2.5rem 0 10px;
    }

    .main h3 {
      font-size: 18px;
      margin: 22px 0 8px;
    }

    .main p,
    .main li {
      font-size: 15px;
      line-height: 1.6;
      color: #d2d6e8;
    }

    .main ul,
    .main ol {
      padding-left: 20px;
      margin: 0 0 14px;
    }

    .main blockquote {
      margin: 18px 0;
      padding: 14px 18px;
      border-left: 3px solid #4b7dff;
      background: #0b1020;
      border-radius: 12px;
      font-size: 14px;
      color: var(--text-muted);
    }

    .wp-block-table {
      margin: 22px 0;
      overflow-x: auto;
    }

    .wp-block-table table {
      width: 100%;
      min-width: 480px;
      border-collapse: collapse;
      font-size: 14px;
    }

    .wp-block-table th,
    .wp-block-table td {
      padding: 8px 10px;
      border-bottom: 1px solid var(--border-soft);
      text-align: left;
    }

    .wp-block-table th {
      font-weight: 600;
      color: var(--text-muted);
    }

    .wp-block-table tr:nth-child(even) td {
      background: rgba(255, 255, 255, 0.02);
    }

    .faq details {
      padding: 10px 0;
      border-bottom: 1px solid #1c2236;
    }

    .faq summary {
      cursor: pointer;
      font-weight: 500;
    }

    /* Bottom CTA */
    .bottom-cta {
      max-width: 780px;
      margin: 48px auto 48px;
      text-align: center;
    }

    .bottom-cta p {
      font-size: 18px;
      font-weight: 600;
      margin-bottom: 16px;
    }

    /* Sticky promo bar */
    .promo-sticky {
      position: fixed;
      left: 50%;
      bottom: 16px;
      transform: translateX(-50%);
      background: var(--bg-card);
      border-radius: var(--radius-pill);
      padding: 8px 18px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      border: 1px solid var(--accent);
      box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.2s ease;
      z-index: 50;
      max-width: 640px;
    }

    .promo-sticky--visible {
      opacity: 1;
      pointer-events: auto;
    }

    .promo-sticky__label {
      font-size: 14px;
      color: var(--text-muted);
      white-space: nowrap;
    }

    .promo-sticky__code {
      font-weight: 700;
      letter-spacing: 0.18em;
      font-size: 13px;
      white-space: nowrap;
    }

    .toast {
      position: fixed;
      left: 50%;
      bottom: 64px;
      transform: translateX(-50%);
      background: #111624;
      padding: 8px 14px;
      border-radius: var(--radius-pill);
      font-size: 13px;
      border: 1px solid var(--accent);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.2s ease;
      z-index: 60;
    }

    .toast--visible {
      opacity: 1;
      pointer-events: auto;
    }

    footer {
      margin-top: 40px;
	margin-bottom:64px;
      padding: 20px 0 0;
      border-top: 1px solid var(--border-soft);
      font-size: 12px;
      text-align: center;
      color: var(--text-muted);
    }

	.author-box {
	  margin-top: 48px;
	  margin-bottom: 40px;
	  padding: 24px 24px 22px;
	  background: var(--bg-card);
	  border-radius: var(--radius-lg);
	  border: 1px solid var(--border-soft);
	  display: flex;
	  gap: 20px;
	  align-items: flex-start;
	}

	.author-box__avatar img {
	  display: block;
	  width: 48px;
	  height: 48px;
	  border-radius: 50%;
	  object-fit: cover;
	}

	.author-box__title {
	  font-weight: 600;
	}
	.author-box__subtitle {
		font-size: 12px;
		color: var(--text-muted);
	}
	.author-box__content p {
	  margin: 0 0 8px;
	  color: var(--text-muted);
	  font-size: 0.9375rem;
	  line-height: 1.5;
	}

    @media (max-width: 768px) {
      .container {
        padding: 16px 16px 32px;
      }
      .hero {
        padding: 18px 16px 16px;
        margin-top: 12px;
      }
      .hero__title {
        font-size: 22px;
      }
      .hero__subtitle {
        font-size: 14px;
      }
      .hero__code-row {
        flex-direction: column;
        align-items: stretch;
      }
      .hero__code {
        text-align: center;
        width: 100%;
      }
      .btn-copy {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
      }
      .hero__actions {
        flex-direction: column;
        align-items: stretch;
      }
      .btn-primary {
        width: 100%;
        padding: 13px 20px;
        font-size: 15px;
      }
      .promo-sticky {
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 24px);
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 10px 12px;
      }
      .promo-sticky__label,
      .promo-sticky__code {
        white-space: normal;
        text-align: center;
      }
      .bottom-cta .btn-primary {
        width: 100%;
      }
    }



.flex {
    display: flex;
	gap:4px;
	align-items:center;
}

.author-box__content p + svg {margin-top:12px;}

.author-box {
	    gap: 0;
    align-items: flex-start;
    flex-direction: column;
}

.author-box > div {display:flex;gap:12px;}



/* Ссылка "Przejdź do kasyna" в sticky bar */
.promo-sticky__go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 18px;
  text-decoration: none;
  transition: 0.2s ease;
  white-space: nowrap;
}

.promo-sticky__go:hover,
.promo-sticky__go:focus {
  background: var(--accent);
  color: var(--text-main);
}

.promo-sticky__btns {display:flex;gap:8px;padding-left:16px;padding-right:16px;}
.promo-sticky__btns > * {font-size:12px!important}

.list-reset {
	list-style-type:none;
}
footer li, footer li a {
	color:#d2d6e8;
}

footer ul {display:flex;gap:1rem;margin-top:3rem; justify-content: center;}

#menu-footer-menu {margin-bottom:3rem;gap:1.5rem;}

#menu-footer-menu a:hover{text-decoration:none}

.wp-block-image {margin-bottom:2em;}

.alpaka-toc__summary {margin-bottom:1em;}