﻿:root {
  --bg: #f5faff;
  --panel: #ffffff;
  --text: #1c2840;
  --muted: #667992;
  --line: #d7e6ff;
  --blue-1: #4a90e2;
  --blue-2: #7fb8ff;
  --grad: linear-gradient(135deg, #4a90e2 0%, #7fb8ff 100%);
  --green: #1f9f5a;
  --shadow-sm: 0 4px 14px rgba(74, 144, 226, 0.12);
  --shadow-md: 0 12px 28px rgba(74, 144, 226, 0.2);
  --radius: 18px;
}

:root[data-theme="dark"] {
  --bg: #0d1627;
  --panel: #17253c;
  --text: #e7efff;
  --muted: #a6b5cf;
  --line: #2a3c5d;
  --blue-1: #78b4ff;
  --blue-2: #9ccfff;
  --grad: linear-gradient(135deg, #78b4ff 0%, #9ccfff 100%);
  --green: #68da98;
  --shadow-sm: 0 5px 16px rgba(0, 0, 0, 0.32);
  --shadow-md: 0 14px 32px rgba(0, 0, 0, 0.4);
}

* { box-sizing: border-box; }

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Noto Sans", "Noto Sans Devanagari", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 86% -20%, rgba(74, 144, 226, 0.22), transparent 42%),
    radial-gradient(circle at -8% 24%, rgba(127, 184, 255, 0.2), transparent 45%),
    var(--bg);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  z-index: -1;
  filter: blur(36px);
  pointer-events: none;
  animation: float-bg 12s ease-in-out infinite;
}

body::before {
  width: 220px;
  height: 220px;
  left: -40px;
  top: 20%;
  background: rgba(74, 144, 226, 0.16);
}

body::after {
  width: 280px;
  height: 280px;
  right: -80px;
  top: 65%;
  background: rgba(127, 184, 255, 0.14);
  animation-delay: 2.5s;
}

@keyframes float-bg {
  0%,
  100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

main,
.page-main { flex: 1 0 auto; }

h1,
h2,
h3,
h4 {
  margin: 0 0 0.7rem;
  font-weight: 600;
  line-height: 1.18;
  font-family: "Noto Sans", "Noto Sans Devanagari", sans-serif;
}

p { margin: 0 0 1rem; }

a { color: inherit; text-decoration: none; }

.wrap { width: min(1120px, 92vw); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel) 88%, transparent);
  backdrop-filter: blur(10px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 17px 0;
}

.logo {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.main-nav { display: flex; align-items: center; gap: 15px; }

.main-nav a {
  position: relative;
  padding: 10px 5px;
  color: var(--muted);
  font-weight: 600;
  font-size: 1rem;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: var(--grad);
  transition: width 0.25s ease;
}

.main-nav a.active,
.main-nav a:hover { color: var(--text); }

.main-nav a.active::after,
.main-nav a:hover::after { width: 100%; }

.top-controls { display: flex; align-items: center; gap: 10px; }

.circle-btn {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--text);
  padding: 11px 16px;
  cursor: pointer;
  font-size: 1.02rem;
  font-weight: 700;
}

.lang-picker { position: relative; }

.flag-list {
  position: absolute;
  right: 0;
  top: 118%;
  display: none;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: var(--shadow-md);
}

.flag-list.open { display: flex; }

.flag-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--panel);
  cursor: pointer;
}

.menu-toggle {
  display: none;
  border: none;
  border-radius: 10px;
  padding: 9px 12px;
  background: var(--grad);
  color: #fff;
  font-weight: 700;
}

.hero { padding: 72px 0 30px; }

.hero-center { text-align: center; }

.eyebrow {
  color: var(--blue-1);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.hero h1 {
  margin-inline: auto;
  max-width: 920px;
  min-height: 4.1rem;
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.typing-dot {
  display: inline-block;
  animation: dot-breathe 1.4s ease-in-out infinite;
}

@keyframes dot-breathe {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 0.98rem;
}

.lead.center { margin-inline: auto; }

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 24px 0;
}

.hero .btn {
  min-width: 240px;
  font-size: 1.22rem;
  padding: 18px 36px;
}

.stats-inline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 900px;
  margin: 0 auto;
}

.stat-chip {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--panel) 90%, transparent);
  box-shadow: var(--shadow-sm);
  padding: 14px;
  font-weight: 700;
  color: var(--blue-1);
  font-size: 0.95rem;
}

.section { padding: 56px 0; }

.section.soft {
  border-block: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel) 42%, transparent);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.center-head { justify-content: center; text-align: center; }

.section-head h1,
.section-head h2 {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title-xl {
  font-size: clamp(2rem, 4.2vw, 2.7rem);
  letter-spacing: -0.02em;
}

.page-title-xl {
  font-size: clamp(2.15rem, 4.8vw, 3rem);
  letter-spacing: -0.02em;
}

.section-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.section-tools .btn {
  min-width: 162px;
  min-height: 44px;
  padding: 10px 18px;
}

.featured-filters {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
  max-width: 560px;
  margin-left: auto;
}

.featured-filters.open { display: grid; }

.trust-grid,
.blog-grid,
.casino-grid {
  display: grid;
  gap: 16px;
}

.trust-grid,
.blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.casino-grid {
  grid-template-columns: 1fr;
  max-width: 940px;
  margin: 0 auto;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
  padding: 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.trust-card {
  position: relative;
  overflow: hidden;
}

.trust-card::before {
  content: "";
  position: absolute;
  right: -30px;
  top: -30px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--blue-2) 24%, transparent);
}

.trust-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  margin-bottom: 8px;
}

.provider-slider,
.review-slider {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}

.review-slider {
  max-width: 1020px;
  margin: 0 auto;
  pointer-events: none;
}

.provider-track,
.reviews-track {
  display: flex;
  width: max-content;
  padding: 12px;
}

.provider-track {
  gap: 10px;
  animation: move-providers 34s linear infinite;
}

.reviews-track {
  gap: 12px;
  animation: move-reviews 42s linear infinite;
}

@keyframes move-providers {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes move-reviews {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.provider-item {
  min-width: 160px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel) 84%, transparent);
  color: var(--muted);
  opacity: 0.45;
  text-align: center;
  font-weight: 700;
  padding: 10px;
  transition: all 0.25s ease;
}

.provider-item:hover {
  opacity: 1;
  color: #fff;
  background: var(--grad);
}

.review-slide {
  width: 360px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--panel) 92%, transparent);
  padding: 14px;
}

.review-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--grad);
  color: #fff;
  font-weight: 700;
  font-size: 0.84rem;
}

.review-stars { color: #ffbf00; letter-spacing: 1px; }

.review-note {
  margin-top: 12px;
  color: var(--muted);
  text-align: center;
}

.feedback-row {
  text-align: center;
  margin-top: 10px;
}

input,
select,
textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  font: inherit;
  padding: 11px 12px;
}

.filters {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 10px;
  margin: 10px 0 20px;
}

.filters.single {
  grid-template-columns: 1fr;
  max-width: 480px;
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 11px 16px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--grad);
  border-color: color-mix(in srgb, var(--blue-1) 38%, transparent);
  background-clip: padding-box;
  color: #fff;
  box-shadow: var(--shadow-sm);
  transform: translateZ(0);
  -webkit-font-smoothing: antialiased;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2), 0 12px 26px rgba(74, 144, 226, 0.34);
}

.btn-ghost {
  border-color: var(--line);
  background: var(--panel);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--blue-1);
  color: var(--blue-1);
}

.btn-soft {
  border-color: var(--line);
  background: color-mix(in srgb, var(--panel) 80%, #f0f4fa);
  color: var(--text);
}

.btn-soft:hover {
  border-color: var(--blue-1);
  background: color-mix(in srgb, var(--panel) 66%, #e7eef8);
}

.btn-muted {
  border-color: color-mix(in srgb, var(--line) 88%, var(--muted));
  background: color-mix(in srgb, var(--panel) 76%, #e9eff6);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 12px;
}

.btn-muted:hover {
  border-color: color-mix(in srgb, var(--muted) 28%, var(--line));
  color: var(--text);
}

.meta {
  color: var(--muted);
  display: grid;
  gap: 6px;
}

.meta-line {
  color: var(--muted);
  font-size: 0.88rem;
}

.inline-link {
  color: var(--blue-1);
  text-decoration: underline;
}

.casino-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.casino-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  font-size: 0.84rem;
}

.casino-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.pay-row { display: flex; gap: 8px; margin: 12px 0; }

.pay-icon {
  min-width: 42px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel) 88%, transparent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0 8px;
}

.advantages h4 {
  margin-bottom: 8px;
  color: var(--green);
}

.advantages ul {
  margin: 0;
  padding-left: 18px;
}

.advantages li {
  color: color-mix(in srgb, var(--green) 75%, var(--text));
}

.desc-action-wrap {
  margin-top: 10px;
}

.btn-desc {
  min-width: 118px;
  min-height: 36px;
}

.row-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.row-actions .btn { flex: 1; }

.blog-hero {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, color-mix(in srgb, var(--blue-1) 18%, var(--panel)), var(--panel));
  padding: 20px;
  margin-bottom: 16px;
}

.blog-tag {
  display: inline-flex;
  border-radius: 999px;
  background: color-mix(in srgb, var(--blue-1) 16%, var(--panel));
  color: var(--blue-1);
  padding: 5px 10px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 16px;
}

.contact-list { color: var(--muted); padding-left: 20px; }

.warning-box {
  border-radius: 12px;
  border: 1px solid #ffd88c;
  background: #fff3d2;
  color: #8d5d00;
  padding: 10px;
}

.form { display: grid; gap: 10px; }
.form label { display: grid; gap: 6px; font-weight: 700; }
.status { color: #2ea85f; min-height: 1.2rem; }

.site-footer {
  flex-shrink: 0;
  margin-top: auto;
  background: linear-gradient(135deg, #111f38 0%, #1f2f4e 100%);
  color: #d7e7ff;
  padding: 30px 0 18px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 14px;
}

.site-footer .logo {
  background: none;
  -webkit-text-fill-color: #a9ceff;
  color: #a9ceff;
}

.site-footer h4 { margin-bottom: 10px; color: #fff; }
.site-footer a { display: block; margin-bottom: 7px; }

.payment-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.payment-pill {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.82rem;
  color: #e5f1ff;
  transition: all 0.25s ease;
}

.payment-pill:hover {
  border-color: #8cc3ff;
  color: #fff;
  box-shadow: 0 0 0 2px rgba(140, 195, 255, 0.22);
}

.telegram-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  padding: 8px 10px;
  margin-top: 10px;
}

.telegram-btn:hover {
  border-color: #8cc3ff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 12px;
  color: #bbd0ef;
  font-size: 0.9rem;
}

.footer-bottom p { margin: 0.2rem 0; }

.footer-legal-long {
  margin-top: 10px;
  font-size: 0.76rem;
  line-height: 1.42;
  color: #9fb8dc;
}

.casino-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(8, 14, 24, 0.52);
  z-index: 90;
}

.casino-modal.open { display: flex; }

.casino-modal-dialog {
  width: min(760px, 92vw);
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow-md);
  padding: 18px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
  font-size: 1.1rem;
}

.hidden { display: none !important; }

.admin-wrap {
  display: grid;
  gap: 16px;
}

.admin-auth {
  max-width: 520px;
  margin: 0 auto;
}

.admin-auth h1 {
  margin-bottom: 6px;
}

.admin-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.admin-toolbar-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 16px;
}

.admin-list-card h3,
.admin-form h3 {
  margin-bottom: 10px;
}

.admin-casino-list {
  display: grid;
  gap: 10px;
  max-height: 68vh;
  overflow: auto;
  padding-right: 4px;
}

.admin-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--panel) 92%, transparent);
  padding: 10px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.admin-item-main {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-item-logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel) 84%, transparent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-weight: 700;
  color: var(--muted);
}

.admin-item-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.admin-item h4 {
  margin: 0 0 4px;
}

.admin-item-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-payments label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 10px;
  background: color-mix(in srgb, var(--panel) 90%, transparent);
  font-weight: 600;
}

.admin-form textarea {
  resize: vertical;
}

.admin-logo-preview-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-logo-preview {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  border: 1px dashed var(--line);
  background: color-mix(in srgb, var(--panel) 92%, transparent);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  text-align: center;
  padding: 4px;
  overflow: hidden;
}

.admin-logo-preview.has-image {
  border-style: solid;
  padding: 0;
}

.admin-logo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.admin-form-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
  animation: reveal-in 0.45s ease forwards;
}

@keyframes reveal-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }

  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 4vw;
    right: 4vw;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--panel);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
    gap: 4px;
  }

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

  .trust-grid,
  .blog-grid,
  .contact-grid,
  .admin-grid,
  .footer-grid,
  .stats-inline,
  .filters,
  .featured-filters {
    grid-template-columns: 1fr;
  }

  .row-actions { flex-direction: column; }

  .review-slide { width: 280px; }
}
