body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #121829;
  color: #fff;
}

.header {
  background: #1B2333;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header__container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 50px;
}

.nav {
  display: flex;
  gap: 24px;
}

.nav a {
  color: #d3d7e0;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color .3s;
}

.nav a:hover {
  color: rgb(0, 224, 255);
}

.new {
  background: #0CE881;
  color: #000;
  padding: 2px 5px;
  border-radius: 6px;
  font-size: 11px;
  margin-left: 4px;
}

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

.lang a{
  background: #2B3448;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
}

.btn {
  padding: 7px 16px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: all .3s;
}

.btn.login {
  background: #00CFFF;
  color: #000;
}

.btn.register {
  background: linear-gradient(90deg,#6F00FF,#FF00C8);
  color: #fff;
}

.btn:hover {
  opacity: 0.85;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 26px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

.sidebar-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 270px;
  height: 100vh;
  background: #1c2433;
  transition: left 0.4s ease;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  z-index: 999;
}

.sidebar-menu.active {
  left: 0;
}

.menu-header {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 20px;
  margin-bottom: 25px;
}

.menu-header .bonus {
  color: #0CE881;
  font-weight: 600;
  display: block;
  font-size: 15px;
  text-decoration: none;
  
}

.menu-header p {
  color: #ccc;
  font-size: 13px;
  margin: 5px 0 0;
}

.menu-links {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.menu-links a {
  color: #fff;
  text-decoration: none;
  font-size: 19px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.3s;
}

.menu-links a:hover {
  color: #00cfff;
}

.icon-home::before { content: "🏠"; }
.icon-gift::before { content: "🎁"; }
.icon-case::before { content: "💼"; }
.icon-ticket::before { content: "🎫"; }
.icon-support::before { content: "🎧"; }
.icon-telegram::before { content: "✈️"; }

.sidebar-menu .new {
  background: #0CE881;
  color: #000;
  border-radius: 6px;
  font-size: 11px;
  padding: 1px 5px;
  margin-left: 5px;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
  z-index: 998;
}
.overlay.active {
  opacity: 1;
  pointer-events: all;
}

.main-slider {
  max-width: 1300px;
  margin: 20px auto;
  padding: 0 20px;
}

.slider {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.slides {
  display: flex;
  transition: transform 0.6s ease;
}

.slide {
  min-width: 100%;
  transition: opacity 0.5s;
}

.slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* arrows */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
  z-index: 10;
}

.arrow:hover {
  background: rgba(0, 0, 0, 0.7);
}

.arrow.prev { left: 10px; }
.arrow.next { right: 10px; }

/* dots */
.dots {
  text-align: center;
  position: absolute;
  bottom: 12px;
  width: 100%;
}

.dots span {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #888;
  border-radius: 50%;
  margin: 0 4px;
  transition: background 0.3s;
  cursor: pointer;
}

.dots span.active {
  background: #00CFFF;
}

/* === Lucky Today === */
.lucky-today {
  max-width: 1300px;
  margin: 20px auto 40px;
  padding: 0 20px;
}

.lucky-container {
  background: url("/assets/images/bg.webp") no-repeat center/cover;
  border-radius: 14px;
  padding: 25px;
  color: #fff;
  box-shadow: 0 0 15px rgba(0,0,0,0.4);
}

.lucky-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  text-shadow: 0 0 15px rgba(255,255,255,0.6);
  margin-bottom: 20px;
}

.lucky-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.lucky-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 8px 14px;
  margin-bottom: 10px;
  transition: background 0.3s;
}

.lucky-list li:hover {
  background: rgba(255,255,255,0.12);
}

.lucky-list img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  margin-right: 10px;
}

.user {
  flex: 1;
  color: #6df0ff;
  font-weight: 500;
}

.date {
  color: #ccc;
  font-size: 14px;
  margin-right: 8px;
}

.sum {
  background: #00CFFF;
  color: #000;
  padding: 3px 10px;
  border-radius: 8px;
  font-weight: 600;
}

.lucky-footer {
  text-align: center;
  margin-top: 18px;
}

.lucky-footer p {
  color: #ddd;
  font-size: 15px;
}

.lucky-link {
  display: inline-block;
  color: #00CFFF;
  text-decoration: none;
  margin-top: 6px;
  font-weight: 500;
}

.lucky-link:hover {
  text-decoration: underline;
}

/* === JACKPOTS === */
.jackpots {
  max-width: 1500px;
  margin: 30px auto 40px;
  padding: 0 20px;
}
.jackpots__wrap {
  background: #1b2230;
  border-radius: 22px;
  padding: 28px 24px 34px;
  box-shadow: 0 10px 28px rgba(0,0,0,.35) inset;
}
.jackpots__title {
  font-size: 44px;
  font-weight: 600;
  color: #dffcff;
  letter-spacing: 1px;
  margin: 0 0 18px;
  text-shadow: 0 0 26px rgba(77,231,255,.35);
}
.jackpots__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* карточка */
.jp-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: url("/assets/images/bg1.webp") center/cover no-repeat, #141b29;
  box-shadow: 0 8px 16px rgba(0,0,0,.35);
}
.jp-card__inner{
  position: relative;
  padding: 34px 28px 26px;
  height: 100%;
  display: grid;
  align-content: center;
  justify-items: center;
  row-gap: 12px;
}

/* низкая светящаяся кромка для GOLD */
.jp-card--gold {
  border-bottom: 4px solid rgba(255,215,0,.85);
  filter: drop-shadow(0 6px 0 rgba(255,215,0,.25));
}

/* огонь у SILVER/BRONZE */
.jp-card--silver::after,
.jp-card--bronze::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:-2px;
  height:70px;
  background:url("/assets/images/fire.gif") center bottom/contain repeat-x;
  pointer-events:none;
}

/* типографика */
.jp-card__name{
  font-size: 56px;
  letter-spacing: 6px;
  margin: 6px 0 0;
  color:#f5f7fa;
  opacity:.9;
}
.jp-card--gold .jp-card__name{
  color:#ffd34d; text-shadow:0 0 22px rgba(255,205,48,.35);
}
.jp-card--bronze .jp-card__name{
  color:#ffa14d; text-shadow:0 0 22px rgba(255,161,77,.25);
}
.jp-card__hint{
  margin: 0 0 10px;
  color:#c9d1e0;
  opacity:.8;
  font-size:15px;
}
.jp-card__sum{
  font-weight: 800;
  font-size: 44px;
  margin: 6px 0 10px;
}
.jp-card__sum .jackpot-amount{
  display:inline-block;
  min-width: 200px;
}

/* кнопка */
.jp-card__btn{
    margin: 0px 0px 35px;
  background:#2c374b;
  color:#e7eefc;
  padding:10px 18px;
  border-radius: 12px;
  text-decoration:none;
  font-weight:600;
  font-size:14px;
  transition: transform .15s ease, background .3s;
}
.jp-card__btn:hover{ background:#36445d; transform: translateY(-1px); }

/* === Support Widget === */
.support-widget { position: fixed; right: 22px; bottom: 22px; z-index: 1100; }

/* floating button */
.support-btn{
  width: 56px; height: 56px; border-radius: 50%;
  background: #00d1ff; border: none; cursor: pointer;
  display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0,0,0,.35);
  transition: transform .2s ease, box-shadow .2s ease;
}
.support-btn img{ width: 28px; height: 28px; filter: drop-shadow(0 0 6px rgba(0,0,0,.35)); }
.support-btn:hover{ transform: translateY(-2px); box-shadow: 0 14px 28px rgba(0,0,0,.45); }

/* pulse ring */
.pulse{
  position:absolute; inset:0; border-radius:50%;
  box-shadow: 0 0 0 0 rgba(0,209,255,.55);
  animation: pulse 2s infinite;
}
@keyframes pulse{
  0% { box-shadow: 0 0 0 0 rgba(0,209,255,.55); }
  70%{ box-shadow: 0 0 0 16px rgba(0,209,255,0); }
  100%{ box-shadow: 0 0 0 0 rgba(0,209,255,0); }
}

/* overlay */
.support-overlay{
  position: fixed; inset: 0; background: rgba(0,0,0,.45);
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
  backdrop-filter: blur(2px); z-index: 1099;
}

/* panel */
.support-panel{
  position: fixed; right: 20px; bottom: 90px;
  width: 360px; max-height: 70vh; background: #1c2433;
  border-radius: 16px; overflow: hidden; display: grid;
  grid-template-rows: auto 1fr auto; box-shadow: 0 20px 40px rgba(0,0,0,.5);
  transform: translateY(16px) scale(.98); opacity: 0; pointer-events: none;
  transition: transform .25s ease, opacity .25s ease;
  z-index: 1101;
}

/* header */
.sp-header{ display:flex; align-items:center; justify-content:space-between; padding:12px 14px; background:#1f2a3d; }
.sp-title strong{ color:#fff; font-size:16px; display:block; }
.sp-sub{ color:#aeb7c6; font-size:12px; }
.sp-close{ background:transparent; border:none; color:#cfd6e3; font-size:18px; cursor:pointer; }

/* body */
.sp-body{ position: relative; padding: 14px; overflow: hidden; }
.sp-bg{
  position:absolute; inset:0; opacity:.18; pointer-events:none;
  background: url("/assets/images/bg-slot.webp") center/cover no-repeat;
}
.sp-empty{ position: relative; text-align:center; padding: 16px 10px 6px; }
.sp-empty-title{ color:#e6edf7; font-weight:700; margin-bottom:6px; }
.sp-empty-txt{ color:#c8cfda; font-size:13px; }

.sp-quick{ position: relative; display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.chip{
  background:#263246; color:#e9f3ff; border:none; border-radius:12px;
  padding:6px 10px; font-size:13px; cursor:pointer;
}
.chip:hover{ background:#2e3d56; }

/* footer */
.sp-footer{ padding:12px 14px; background:#1f2a3d; }
.input-wrap{
  display:flex; align-items:center; gap:8px; background:#273349;
  border-radius:12px; padding:6px 8px;
  text-decoration: none;
}
.input-wrap a{

  text-decoration: none;
}
.input-wrap input{
  flex:1; background:transparent; border:none; outline:none; color:#fff; font-size:14px;
}
.icon-btn{ background:transparent; border:none; font-size:18px; cursor:pointer; color:#bfc9da; }
.send-btn{
  background:#00d1ff; border:none; color:#00131a; font-weight:700; border-radius:10px;
  padding:6px 10px; cursor:pointer;
}

/* opened state */
.support-widget.open .support-overlay{ opacity:1; pointer-events:auto; }
.support-widget.open .support-panel{ transform: translateY(0) scale(1); opacity:1; pointer-events:auto; }

/* responsive */
@media (max-width: 576px){
  .support-panel{
    right: 10px; left: 10px; width: auto; bottom: 86px; max-height: 72vh;
  }
  .support-btn{ right: 10px; bottom: 12px; }
}


/* адаптация */
@media (max-width: 1200px){
  .jp-card__name{ font-size: 48px; }
  .jp-card__sum{ font-size: 38px; }
}
@media (max-width: 992px){
  .jackpots__grid{ grid-template-columns: 1fr; }
  .jp-card__inner{ padding: 26px 22px 32px; }
  .jp-card__name{ font-size: 44px; }
  .jp-card__sum{ font-size: 36px; }
}
@media (max-width: 576px){
  .jackpots{ padding: 0 10px; }
  .jackpots__wrap{ padding: 20px 14px 24px; }
  .jackpots__title{ font-size: 36px; }
  .jp-card__name{ font-size: 38px; letter-spacing: 4px; }
  .jp-card__sum{ font-size: 32px; }
  .jp-card--silver::after, .jp-card--bronze::after{ height:56px; }
}


@media (max-width: 768px) {
  .lucky-today {
    padding: 0 10px;
  }

  .lucky-container {
    padding: 20px 15px;
  }

  .lucky-title {
    font-size: 22px;
  }

  .lucky-list li {
    padding: 6px 10px;
  }

  .user {
    font-size: 14px;
  }

  .date, .sum {
    font-size: 13px;
  }

  .lucky-footer p {
    font-size: 14px;
  }
}

@media (max-width: 1024px) {
  .nav {
    display: none;
  }

  .burger {
    display: flex;
  }
}

@media (max-width: 992px) {
  .main-slider {
    padding: 0 10px;
  }

  .arrow {
    padding: 8px 12px;
    font-size: 18px;
  }

  .dots span {
    width: 7px;
    height: 7px;
  }
}

@media (max-width: 576px) {
  .arrow {
    padding: 6px 10px;
    font-size: 16px;
  }

  .dots span {
    width: 6px;
    height: 6px;
  }
}

@media (max-width: 500px) {
  .lang a{
    display: none;
  }
  .header__right{
    gap: 10px;
  }
  .btn {
    padding: 5px 9px;
  }
  .logo img {
    height: 43px;
}

}

@media (max-width: 400px) {
.btn.login{
    display: none;
}
}

/* ===== ARTICLE BLOCK ===== */
.article{
  max-width: 1300px;
  margin: 30px auto 50px;
  padding: 24px 24px;
  background: #1b2332;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  color: #E8EEF8;
  line-height: 1.7;
}

/* заголовки */
.article h2, .article h3, .article h4{
  margin: 14px 14px;
  line-height: 1.25;
  color: #F6FBFF;
  text-shadow: 0 0 18px rgba(77,231,255,.18);
}
.article h2{ font-size: 30px; letter-spacing: .3px; }
.article h3{ font-size: 22px; color:#D7E6FF; }

/* параграфи та списки */
.article p{ margin: 0 0 16px; }
.article ul, .article ol{
  margin: 0 0 18px 0;
  padding-left: 20px;
}
.article li{ margin: 6px 0; }
.article li::marker{ color:#00CFFF; }

/* цитата */
.article blockquote{
  margin: 18px 0;
  padding: 14px 16px;
  border-left: 4px solid #00CFFF;
  background: #1e2a3d;
  border-radius: 10px;
  color: #DCE7F7;
}

/* зображення по центру */
.article figure{
  margin: 18px auto;
  text-align: center;
}
.article img{
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 10px 22px rgba(0,0,0,.35);
}
.article figcaption{
  font-size: 13px;
  color: #AEC3DA;
  margin-top: 8px;
}

/* таблиця адаптивна */
.article table{
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 18px;
  background: #121a2a;
  border-radius: 12px;
  overflow: hidden;
  display: block;           /* для горизонтального скролу на мобілках */
}
.article thead{ background: #0f1726; }
.article th, .article td{
  padding: 12px 14px;
  text-align: left;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.article th{ color:#CFE6FF; font-weight: 600; }
.article tr:last-child td{ border-bottom: none; }

/* посилання */
.article a{
  color:#00CFFF;
  text-decoration: none;
}
.article a:hover{ text-decoration: underline; }

/* Контейнер заголовка в одну строку */
.hero-headline{
  max-width: 1300px;
  margin: 10px auto 14px;
  padding: 0 20px;
}

.headline{
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  color: #e9f7ff;
  font-weight: 900;
  line-height: 1.15;
  font-size: clamp(24px, 3.4vw, 44px);
  text-shadow: 0 0 2px rgba(255,255,255,.35), 0 6px 22px rgba(77,231,255,.25);
  overflow: hidden; /* чтобы текст не вылазил за край */
}

.headline__text{
  white-space: nowrap;      /* держим заголовок в строке */
  text-overflow: ellipsis;  /* троеточие при недостатке места */
  overflow: hidden;
}

.headline__badge{
  font-size: .55em;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  color: #08111b;
  background: linear-gradient(90deg,#8B00FF 0%, #FF00C8 100%);
  box-shadow: 0 6px 18px rgba(255,0,200,.25);
  flex: 0 0 auto;
}

/* «Линейка» справа от заголовка */
.headline__rule{
  height: 6px;
  flex: 1 1 auto;           /* занимает всё оставшееся место */
  border-radius: 10px;
  background: linear-gradient(90deg,#7af3ff 0%, #7b5bff 50%, #ff2bd6 100%);
  filter: drop-shadow(0 6px 14px rgba(111,219,255,.35));
}

/* Мобилка: переносим линейку ниже, чтобы текст и бейдж не резались */
@media (max-width: 576px){
  .hero-headline{ padding: 0 10px; margin: 8px auto 10px; }
  .headline{ flex-wrap: wrap; gap: 8px; }
  .headline__badge{ padding: 5px 9px; }
  .headline__rule{
    order: 3;
    width: 100%;
    height: 5px;
  }
}


/* ===== MOBILE ===== */
@media (max-width: 768px){
  .article{
    margin: 20px 10px 36px;
    padding: 18px 14px;
    border-radius: 14px;
  }
  .article h2{ font-size: 24px; }
  .article h3{ font-size: 18px; }
  .article p{ font-size: 15px; }

  /* таблиця скролиться горизонтально */
  .article table{ overflow-x: auto; }
  .article th, .article td{
    padding: 10px 12px;
    font-size: 14px;
  }
  .article figure{ margin: 14px auto; }
  .article figcaption{ font-size: 12px; }
}

/* ===== FOOTER ===== */
.site-footer{
  margin-top: 30px;
  background: #1B2333;       /* верхняя полоса (как у скрина) */
  color: #BFC6D4;
  font-size: 14px;
}

.site-footer .footer-top{
  max-width: 1300px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-direction: column-reverse;
}

/* Telegram */
.tg-btn{
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: #101826; border: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 6px 14px rgba(0,0,0,.25);
  transition: transform .2s ease, box-shadow .2s ease;
}
.tg-btn:hover{ transform: translateY(-1px); box-shadow: 0 10px 18px rgba(0,0,0,.35); }

/* Навигация */
.footer-nav{
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  margin-right: auto;   /* ссылки по центру */
}
.footer-nav a{
  color: #C9D0DE;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s;
}
.footer-nav a:hover{ color: #FFFFFF; }

/* Нижняя полоса */
.footer-bottom{
  background: #121A28;          /* как тёмная линия снизу на скрине */
  border-top: 1px solid rgba(255,255,255,.04);
}
.footer-bottom{
  max-width: 100%;
}
.footer-bottom{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 10px 20px;
  position: relative;
}
.footer-bottom .copy{
  color: #9FA8B8; font-size: 13px; text-align: center;
}
.footer-bottom .age{
  position: absolute;
  right: 22px;
  color: #7F8897;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.08);
  font-weight: 700; font-size: 14px;
  opacity: .7;
}

/* ===== MOBILE ===== */
@media (max-width: 768px){
  .site-footer .footer-top{
    padding: 16px 12px;
    gap: 12px;
  }
  .footer-nav{
    flex-wrap: wrap;
    gap: 14px 18px;
    justify-content: center;   /* по центру в 2–3 строки */
  }
  .footer-bottom{
    padding: 12px 12px 42px;   /* место под 18+ если перенесётся */
  }
  .footer-bottom .age{
    right: 12px; width: 34px; height: 34px; font-size: 13px;
  }
}

@media (max-width: 480px){
  .footer-nav a{ font-size: 13px; }
  .footer-bottom .copy{ font-size: 12px; }
  .tg-btn{ width: 38px; height: 38px; }
}


.rotate1 { transform: rotate(45deg) translate(5px, 5px); }
.rotate2 { transform: rotate(-45deg) translate(6px, -6px); }
.hide { opacity: 0; }
