/*
Theme Name: Slots Custom Theme
Theme URI: https://example.com/
Author: Dmitriy
Author URI: https://example.com/
Description: WordPress тема на основе статического HTML
Version: 2.0
License: GNU General Public License v2 or later
Text Domain: pusulabet
*/

:root {
  --bg: #191D26;
  --surface: #212531;
  --accent: #FFAC2C;
  --text: #fff;
  --white: #fff;
  --radius: 24px;
  --gap: 24px;
  --font: 'Inter', Arial, sans-serif;
  --border: none
}

html,
body {
  margin: 24px 24px 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  min-height: 100vh
}

body {
  display: flex;
  flex-direction: column;
  max-width: 900px;
  margin: 0 auto
}

a {
	color: var(--accent)
}
a:hover {
	text-decoration: none;
}

/* Surfaces */
.container,
header,
.card,
footer {
  width: 100%;
  box-sizing: border-box;
  border-radius: var(--radius);
  padding: var(--gap);
  background: var(--surface);
  color: var(--text);
  border: var(--border)
}

.container {
  margin: 0 auto var(--gap);
}

/* Header */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 10;
  margin-bottom: 30px;
}

.logo {
  height: 32px;
  width: auto
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--gap)
}

nav {
  display: flex;
  gap: var(--gap);
  align-items: center
}

nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  opacity: .85;
  transition: opacity .2s
}

nav a:hover {
  opacity: 1;
  text-decoration: underline
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer
}

.hamburger span {
  width: 28px;
  height: 4px;
  background: var(--white);
  border-radius: 2px;
  display: block
}

/* Buttons */
.button, .button-alt {
  display: inline-block;
  background: var(--accent);
  color: var(--bg);
  border-radius: var(--radius);
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, color .2s;
  border: var(--border)
}

.button:hover, .button-alt:hover {
  background: var(--accent);
  color: var(--bg)
}

/* Hero */
.hero-section {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: var(--gap);
  min-height: 30vh
}

/* Banner */
.banner-slider {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  border-radius: var(--radius);
  padding: 0;
  margin: 0 0 var(--gap)
}

.banner-track {
  display: flex;
  transition: transform .6s cubic-bezier(.4, 0, .2, 1);
  will-change: transform
}

.banner-slide {
  min-width: 100%;
  height: 220px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative
}

.banner-content {
  margin-left: 64px
}

.banner-title {
  color: var(--accent);
  font-weight: 700;
  font-size: 3rem;
  line-height: 2rem;
  margin: 0 0 8px
}

.banner-sub {
  font-size: 1.2rem
}

.banner-dots {
  position: absolute;
  bottom: 18px;
  right: 32px;
  display: flex;
  gap: 10px
}

.banner-dot {
  width: 18px;
  height: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .5);
  display: inline-block;
  cursor: pointer;
  transition: background .2s
}

.banner-dot.active {
  background: #fff
}

/* Logos row (payments/providers) */
.logo-section {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 20px 0
}

.logo-section::before,
.logo-section::after {
  content: "";
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  z-index: 2;
  pointer-events: none
}

.logo-section::before {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent)
}

.logo-section::after {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent)
}

.logo-row {
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  animation: scroll-left 24s linear infinite;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden
}

.logo-row.reverse {
  margin-top: 16px;
  animation: scroll-right 24s linear infinite;
  direction: rtl
}

.logo-row.reverse .logo-set {
  direction: ltr
}

.logo-set {
  display: flex;
  flex-shrink: 0
}

.logo-section .logo {
  width: 96px;
  height: auto;
  flex-shrink: 0;
  margin-right: 24px
}

@keyframes scroll-left {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(-133%)
  }
}

@keyframes scroll-right {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(133%)
  }
}

/* Anchors */
.anchor-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 12px 0;
  color: var(--text)
}

.anchor-section {
  border-radius: var(--radius);
  box-sizing: border-box;
  padding: var(--gap)
}

.anchor-list {
  display: flex;
  flex-direction: column;
  gap: 12px
}

.anchor-link {
  display: flex;
  align-items: left;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 400;
  border-radius: var(--radius);
  padding: 16px 24px;
  transition: background .18s;
  border: var(--border)
}

.anchor-link:hover {
  background: #18223a
}

.anchor-num {
  margin-right: 12px
}

.anchor-arrow {
  margin-left: 12px
}

/* Cards */
.card {
  margin-bottom: 0;
}

/* Text */
h1,
h2,
h3 {
  color: var(--text);
  font-weight: 700;
  margin: 0 0 12px;
  line-height: 1.2
}

h1 {
  font-size: 2rem
}

h2 {
  font-size: 1.5rem
}

h3 {
  font-size: 1.2rem
}

p,
ul,
ol {
  color: var(--text);
  font-size: 1rem;
  margin: 0 0 12px;
  line-height: 1.6
}

ul,
ol {
  padding-left: 1.5em
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  background-color: rgba(0, 0, 0, .5);
  backdrop-filter: blur(10px)
}

.modal.open {
  display: flex;
  justify-content: center;
  align-items: center
}

.modal-inner {
  max-width: 400px;
  width: 90%;
  border-radius: var(--radius);
  background-color: var(--surface);
  display: flex;
  flex-direction: column;
  position: relative
}

.modal-content {
  margin: 24px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  cursor: pointer
}

/* Footer */
footer {
  border-radius: var(--radius) var(--radius) 0 0;
  text-align: center;
  opacity: .7
}

.footer-nav {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  font-size: 1rem
}

.footer-nav a {
  color: var(--text);
  text-decoration: none;
  opacity: .7
}

.footer-nav a:hover {
  opacity: 1;
  text-decoration: underline
}

/* Responsive */
@media (max-width:700px) {

  .container,
  header,
  .hero-section,
  .anchor-section,
  .card,
  footer {
    padding: 12px;
    border-radius: 12px
  }

  .logo {
    height: 28px
  }

  nav {
	  display: none;
	  position: absolute;
	  top: 55px;
      right: 0;
      padding: 24px 0;
      background: var(--surface);
      border-radius: var(--radius);
      flex-direction: column;
      width: 100%;
    }

  nav.open {
    display: flex
  }

  .hamburger {
    display: flex
  }

  h1 {
    font-size: 1.2rem
  }

  h2 {
    font-size: 1.1rem
  }

  h3 {
    font-size: 1rem
  }

  .anchor-title {
    font-size: 1.1rem
  }

  .anchor-link {
    font-size: .95rem;
    padding: 10px 12px
  }

  .anchor-list {
    gap: 8px
  }

  .logo-section .logo {
    width: 64px;
    margin-right: 12px
  }
}

/*Кнопка*/
.js-go-external {
  border-radius: 10px;
  margin: 20px auto;
  text-align: center;
  padding: 20px;
  display: block;
  font-size: 1.125rem;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  background: var(--accent);
  transition: background 0.3s;
}

/*изображения*/
.content-image {
  margin-bottom: 0;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: block;
}

.button-alt {
    cursor: pointer;           /* курсор меняется на "руку" */
    text-decoration: none;     /* убрать подчеркивание, если есть */
    display: inline-block;     /* как ссылка */
    background: var(--accent); /* или ваш фон */
    color: var(--bg);
    padding: 12px 24px;
    border-radius: var(--radius);
    border: var(--border);
    font-size: 1rem;
	font-weight: 600;
    transition: background .2s, color .2s;
	margin-bottom: var(--gap);
}

.button-alt:hover {
    background: var(--accent); /* пример ховера */
	color: var(--bg);
}

.button-header, .button-footer {
	cursor: pointer;           /* курсор меняется на "руку" */
    text-decoration: none;     /* убрать подчеркивание, если есть */
    display: inline-block;     /* как ссылка */
    background: var(--accent); /* или ваш фон */
    color: var(--bg);
    padding: 12px 24px;
    border-radius: var(--radius);
    border: var(--border);
    font-size: 1rem;
	font-weight: 600;
    transition: background .2s, color .2s;
}
.button-header:hover, .button-footer:hover {
    background: var(--accent); /* пример ховера */
	color: var(--bg);
}

.button-footer {
padding: 26px 20px;
}

.footer-logo {
    height: 24px;
    vertical-align: middle;
}

.site-footer {
    text-align: center;
    padding: 20px 0;
}

.footer-copyright {
	margin-top: 12px;
}

.footer-nav {
    position: relative;
    top: 0;
    right: 0;
	flex-direction: row;
    width: 100%;
}

.footer-nav a {
    margin: 0 8px;
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s;
}

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

.breadcrumbs {
	padding: 0 0 20px 5px;
}

/*Blog*/
.pagination-wrapper ul {
    display: flex;
    list-style: none;
    padding: 0;
    gap: 10px;
    justify-content: center;
}

.pagination-wrapper li {
    display: inline-block;
}

.pagination-wrapper a,
.pagination-wrapper span {
    display: block;
    padding: 8px 14px;
    background: #ffac2c;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s;
}

.pagination-wrapper a:hover {
    background: #ff9000;
}

.pagination-wrapper .current {
    background: #fff;
    color: #ffac2c;
    font-weight: bold;
}

.blog-item {
	padding-bottom: 50px;
}

.blog-item-columns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: stretch;
}

.blog-thumb-column {
	flex: 1 1 30%;
}

.blog-thumb-column img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-content-column {
    flex: 1 1 60%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.blog-title-link {
    color: #fff;
    font-style: italic;
    text-decoration: underline;
}
.blog-title-link:hover {
	text-decoration: none;
}

.blog-button {
    width: 50%;
	display: block;
    text-align: center;
    padding: 15px 25px;
    margin: 0;
    color: #fff;
    background: var(--accent);
    border-radius: 10px;
    transition: background .3s;
}

@media (max-width: 900px) {
	.blog-thumb-column {
	    flex: 1 1 100%;
    }
	.blog-button {
    width: 80%;
	margin: 0 auto; /* по центру */
    }
	
	.blog-item {
	padding-bottom: 30px;
    }
}

/*Bonanza*/
.ratio {
    position: relative;
    width: 100%;
    margin: 0 auto 20px;
}
.ratio:before {
    display: block;
    padding-top: calc(9 / 16 * 100%);
    content: "";
}
.ratio > * {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
}
.ratio .btn-box {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.ratio .btn {
    width: 250px;
    margin: 10px;
}
.btn-a:hover {
    color: #fff;
}
.btn:hover {
    color: #fff;
    background: linear-gradient(90deg, #b8e060 0%, #0dcaa1 100%);
}
.btn-a {
    background-image: linear-gradient(180deg, #428cdc 0, #509aea 97%, #509aea);
    color: #fff;
    border-radius: 0;
}
.btn-b {
    background: #a675d0;
    border-radius: 0;
    color: #fff;
}
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-weight: 900;
    font-size: 18px;
    border-radius: 50px;
    padding: 10px 20px;
    line-height: 1.65;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    outline: none;
    cursor: pointer;
    border: 0px solid transparent;
    box-shadow: 0 10px 30px rgba(250, 65, 0, 0.4);
    color: #fff;
    transition: all 0.3s;
}

/*Blog main*/
.blog-categories { 
	margin: 8px 0 12px; 
}
.category-label{
    display:inline-block;
    background:#eee;
    color:#333;
    padding:4px 10px;
    border-radius:20px;
    font-size:13px;
    text-decoration:none;
    margin:0 6px 6px 0;
    transition: .2s;
}
.category-label:hover{ background:#333; color:#fff; }

/* Ограничение для wp-caption */
.wp-caption {
  width: auto !important;      /* убираем фиксированную ширину */
  max-width: 800px;            /* не шире 800px */
  margin: 0 auto 24px;         /* по центру */
}

.wp-caption img {
  max-width: 100% !important;  /* картинка вписывается в caption */
  height: auto !important;
  display: block;
  border-radius: var(--radius); /* у вас есть переменная */
}

.wp-caption-text {
  font-size: 0.9rem;
  color: #aaa;
  text-align: center;
  margin-top: 8px;
}

/* хлебные крошки */
.breadcrumbs a {
  color: #fff;
  display: inline; /* по умолчанию ссылки идут в ряд */
}

@media (max-width: 600px) {
  .breadcrumbs span {
    display: block;      /* перенос на новую строку */
    margin-top: 8px;     /* небольшой отступ сверху */
  }
}

.post-categories {
	margin: 10px 0 20px;
}
.menu-item-button {
    list-style: none;
}