/* ---------------------------------------------------------------
   Общие стили сайта. Тема IZI_Casino_Theme подключена в <head>
   каждой страницы (main.css / media.css), но этих файлов нет на
   сервере — шапка, меню, карточки слотов и футер шли совсем без
   оформления. Этот файл собирает недостающие стили в одном месте
   и подключается на всех страницах сайта.
   --------------------------------------------------------------- */

:root {
  --c-bg: #101322;
  --c-bg-2: #0a0c18;
  --c-card: #191d33;
  --c-card-2: #232847;
  --c-text: #e8e9f2;
  --c-muted: #9a9cb8;
  --c-accent: #ff7a1a;
  --c-accent-2: #ffb347;
  --c-link: #6fb2ff;
  --c-border: rgba(255, 255, 255, .1);
  --radius: 14px;
  --container: 1200px;
  --header-h: 89px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  padding-top: var(--header-h);
  font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
}

img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: var(--c-link); text-decoration: none; transition: color .2s ease; }
a:hover { color: #9cd0ff; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1rem; }
h1, h2, h3 { margin: 1.5rem 0 1rem; line-height: 1.25; color: #fff; }
h1 { margin-top: 0; font-size: clamp(1.6rem, 4vw, 2.3rem); }
h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: .65rem 1.5rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
  transition: transform .2s ease, filter .2s ease;
}
.btn:hover { color: #fff; transform: translateY(-1px); filter: brightness(1.1); }
.btn-gradient { background: linear-gradient(99deg, var(--c-accent) 7%, var(--c-accent-2) 95%); }
.btn-blue { background: #1f6feb; }

/* ---------- Header / navbar ---------- */
.header { position: sticky; top: 0; z-index: 60; }
.navbar { min-height: 72px; padding: .5rem 0; background: var(--c-bg-2); border-bottom: 1px solid var(--c-border); }
.navbar > .container { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.navbar-brand img { height: 36px; width: auto; }
.navbar-nav { display: flex; flex-wrap: wrap; gap: .25rem; margin: 0; padding: 0; }
.navbar-nav .menu-item a {
  display: block;
  padding: .5rem .9rem;
  color: var(--c-text);
  font-weight: 600;
  border-radius: 8px;
}
.navbar-nav .menu-item a:hover,
.navbar-nav .current-menu-item > a { color: #fff; background: rgba(255, 255, 255, .08); }

.navbar-auth { display: flex; align-items: center; gap: .6rem; }
.auth-login__link { display: none; }

.navbar-toggler {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border: 1px solid var(--c-border);
  border-radius: 8px;
}
.navbar-toggler:focus { outline: 0; box-shadow: 0 0 0 .15rem rgba(255, 255, 255, .25); }

@media (max-width: 991.98px) {
  .navbar > .container { justify-content: space-between; }
  .navbar-toggler { display: inline-flex; order: 3; }
  .navbar-collapse {
    display: none;
    flex-basis: 100%;
    order: 4;
    margin-top: .75rem;
    padding: 1rem;
    background: var(--c-card);
    border: 1px solid var(--c-border);
    border-radius: 12px;
  }
  .navbar-collapse.show { display: block; }
  .navbar-nav { flex-direction: column; margin-bottom: 1rem; }
  .navbar-collapse .navbar-auth { flex-direction: column; align-items: stretch; }
  .navbar-collapse .navbar-auth .btn { width: 100%; text-align: center; }
}

/* ---------- Hero slider ---------- */
.header-slider { position: relative; }
.carousel-item__content {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  min-height: 260px;
  overflow: hidden;
  background: linear-gradient(135deg, #241f52, #46215a);
}
.carousel-item__content > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .25;
}
.carousel-item__text {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
.carousel-item__title {
  max-width: 560px;
  margin-bottom: 1.25rem;
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}
.carousel-item__image { display: none; }
.carousel-control-prev, .carousel-control-next { display: none; }

/* ---------- Layout: content + sidebar ---------- */
.main-wrapper.container { display: flex; flex-wrap: wrap; gap: 2rem; align-items: flex-start; padding-top: 2rem; padding-bottom: 2.5rem; }
.main { flex: 1 1 640px; min-width: 0; }
.sidebar { flex: 0 1 300px; min-width: 260px; }

.breadcrumbs { margin-bottom: 1rem; font-size: .875rem; color: var(--c-muted); }
.block__text-st { padding: clamp(1.25rem, 3vw, 2rem); background: var(--c-card); border: 1px solid var(--c-border); border-radius: var(--radius); }
.block__text-st table { width: 100%; border-collapse: collapse; margin: 1.25rem 0; }
.block__text-st td { padding: .6rem .9rem; border: 1px solid var(--c-border); }
.block__text-st tr:nth-child(even) td { background: rgba(255, 255, 255, .03); }

/* ---------- Slots grid ---------- */
.slots-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.slots-title h2 { margin: 0; }
.slots-items .row { --bs-gutter-x: 1rem; --bs-gutter-y: 1rem; }
.slot-item__inner {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 12px;
  background: var(--c-card-2);
  border: 1px solid var(--c-border);
  transition: transform .2s ease, border-color .2s ease;
}
.slot-item__inner:hover { border-color: var(--c-accent); transform: translateY(-3px); }
.slot-item__permalink { position: relative; display: block; aspect-ratio: 1; overflow: hidden; }
.slot-item__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slot-item__name {
  margin: 0;
  padding: .55rem .7rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--c-text);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-top: 1px solid var(--c-border);
}
.slot-item__content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem;
  text-align: center;
  color: #fff;
  background: rgba(8, 6, 25, .6);
  opacity: 0;
  transition: opacity .2s ease;
}
.slot-item__inner:hover .slot-item__content,
.slot-item__inner:focus-within .slot-item__content { opacity: 1; }
.slot-item__title { font-weight: 700; font-size: .9rem; }
.slot-item__play {
  display: inline-block;
  padding: .3rem 1rem;
  font-size: .75rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(99deg, var(--c-accent) 7%, var(--c-accent-2) 95%);
  border-radius: 999px;
}
.slot-item__play:empty::before { content: "Играть"; }

/* ---------- Sidebar blocks ---------- */
.sidebar-jackpot, .sidebar-soft, .sidebar-jsoft {
  padding: 1.1rem;
  margin-bottom: 1.25rem;
  background: var(--c-card);
  border: 1px solid var(--c-border);
  border-radius: 12px;
}
.sidebar-jackpot__title { font-size: .85rem; color: var(--c-muted); margin-bottom: .35rem; }
.sidebar-jackpot__value { font-size: 1.4rem; font-weight: 800; color: var(--c-accent-2); }
.sidebar-soft__title, .sidebar-jsoft .sidebar-soft__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  margin-bottom: .75rem;
}
.sidebar-soft__item-link, .sidebar-jsoft__item-link {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .4rem 0;
  color: var(--c-text);
}
.sidebar-soft__item-link:hover, .sidebar-jsoft__item-link:hover { color: var(--c-accent-2); }
.sidebar-soft__item-logo img, .sidebar-jsoft__item-logo img { width: 28px; height: 28px; object-fit: contain; }
.sidebar-jsoft__item-jackpot { margin-left: auto; font-size: .75rem; color: var(--c-muted); }

/* ---------- Testimonials (display only, no submit form on this site) ---------- */
.strong-view { display: grid; gap: .75rem; margin: 1.25rem 0; }
.strong-content.columns-1 { display: grid; gap: .75rem; }
.wpmtst-testimonial {
  padding: 1rem 1.25rem !important;
  background: var(--c-card);
  border: 1px solid var(--c-border) !important;
  border-radius: 10px;
}
.wpmtst-testimonial-content p { margin: 0 0 .5rem; }
.testimonial-name { font-size: .8rem; color: var(--c-muted); }

/* ---------- Footer ---------- */
.footer { margin-top: 2rem; background: var(--c-bg-2); border-top: 1px solid var(--c-border); }
.soft { padding: 1.5rem 0; }
.soft-items { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem 2rem; }
.soft-item__img { height: 30px; width: auto; opacity: .75; }
.footer-navbar { padding: 1rem 0; border-top: 1px solid var(--c-border); }
.footer-nav.nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem; }
.footer-nav.nav a { color: var(--c-muted); }
.footer-nav.nav a:hover { color: #fff; }
.footer-copyright { padding: 1.25rem 0; font-size: .85rem; color: var(--c-muted); }
.ftext { margin-top: .5rem; font-size: .8rem; }
.social { display: flex; justify-content: center; gap: .75rem; margin-top: .75rem; }

/* ---------- Responsive ---------- */
@media (max-width: 575.98px) {
  .navbar-brand img { height: 30px; }
  .main-wrapper.container { gap: 1.5rem; }
  .sidebar { flex-basis: 100%; }
}
