/* ============================================
   PINCO CASINO RU — простой шаблон, фиолетово-золотая гамма
   ============================================ */
:root {
  --bg: #0f0b1c;
  --bg-2: #18122b;
  --bg-3: #221836;
  --violet: #7d5cff;
  --violet-deep: #5a35e0;
  --violet-soft: #a98dff;
  --gold: #f0b93c;
  --white: #ffffff;
  --text: #e4e0ee;
  --text-dim: #9b95b3;
  --border: #2c2542;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ===== Кнопки (скруглённые pill, мягкие) ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 30px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .01em;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
  white-space: nowrap;
}
.btn--red {
  background: linear-gradient(135deg, var(--violet) 0%, var(--violet-deep) 100%);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(125, 92, 255, .28);
}
.btn--red:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(125, 92, 255, .42); }
.btn--ghost {
  background: rgba(125, 92, 255, .08);
  color: var(--violet-soft);
  border: 1px solid rgba(125, 92, 255, .4);
}
.btn--ghost:hover { background: rgba(125, 92, 255, .16); color: var(--white); }
.btn--lg { padding: 17px 38px; font-size: 16px; }

/* ===== Header / Навигация ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 11, 28, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  max-width: 1180px;
  margin: 0 auto;
  gap: 20px;
}
.header__logo img { height: 42px; width: auto; }

.nav {
  display: flex;
  gap: 30px;
  align-items: center;
}
.nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  position: relative;
  padding: 6px 0;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--gold));
  transition: width .25s;
  border-radius: 2px;
}
.nav a:hover::after { width: 100%; }
.nav a:hover { color: var(--violet-soft); }

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

/* Гамбургер */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 12px;
  position: relative;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .25s ease;
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Block 1: Hero ===== */
.hero {
  padding: 60px 0 70px;
  background:
    radial-gradient(circle at 82% 18%, rgba(125, 92, 255, 0.22), transparent 52%),
    radial-gradient(circle at 8% 82%, rgba(240, 185, 60, 0.10), transparent 50%),
    var(--bg);
  position: relative;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
}
.hero__tag {
  display: inline-block;
  padding: 7px 14px;
  background: rgba(125, 92, 255, .14);
  color: var(--violet-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid rgba(125, 92, 255, .3);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.08;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 18px;
  letter-spacing: -.01em;
}
.hero h1 em {
  font-style: normal;
  color: var(--violet);
}
.hero__lead {
  font-size: 17px;
  color: var(--text-dim);
  margin-bottom: 28px;
  max-width: 560px;
}
.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__card {
  background: linear-gradient(160deg, var(--bg-2), var(--bg-3));
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  padding: 32px 28px;
  border-radius: 18px;
  text-align: center;
}
.hero__card-label {
  font-size: 12px;
  letter-spacing: .15em;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 10px;
}
.hero__card-big {
  font-size: 56px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--violet-soft), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 6px;
}
.hero__card-sub {
  font-size: 17px;
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 600;
}
.hero__card p {
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 20px;
}
.hero__card .btn { width: 100%; }

/* ===== Block 2: Data Table ===== */
.section { padding: 60px 0; }
.section h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -.01em;
}
.section__sub {
  color: var(--text-dim);
  font-size: 16px;
  margin-bottom: 30px;
  max-width: 720px;
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-2);
}
.table-wrap::-webkit-scrollbar { height: 8px; }
.table-wrap::-webkit-scrollbar-track { background: var(--bg-2); }
.table-wrap::-webkit-scrollbar-thumb { background: var(--violet); border-radius: 4px; }

.data-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}
.data-table th,
.data-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.data-table th {
  background: var(--bg-3);
  font-weight: 700;
  color: var(--white);
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.data-table td:first-child {
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
}
.data-table td:nth-child(2) {
  color: var(--violet-soft);
  font-weight: 700;
  white-space: nowrap;
}
.data-table td:nth-child(3) {
  color: var(--text-dim);
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(125, 92, 255, .06); }

/* ===== Block 3: Slots ===== */
.slots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.slot-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.slot-card:hover {
  transform: translateY(-3px);
  border-color: var(--violet);
  box-shadow: 0 12px 28px rgba(125, 92, 255, .18);
}
.slot-card__img {
  aspect-ratio: 1 / 1;
  background: var(--bg-3);
  overflow: hidden;
}
.slot-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slot-card__body {
  padding: 16px 18px 20px;
}
.slot-card__meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 8px;
}
.slot-card__meta b { color: var(--gold); font-weight: 700; }
.slot-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.slot-card p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.55;
}

/* ===== Block 4: About / Long text ===== */
.about-section {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.about {
  max-width: 820px;
  margin: 0 auto;
}
.about h2 {
  font-size: clamp(22px, 2.5vw, 28px);
  margin-top: 36px;
  margin-bottom: 14px;
  padding-left: 16px;
  border-left: 3px solid var(--gold);
}
.about h2:first-of-type { margin-top: 30px; }
.about h3 {
  font-size: 19px;
  color: var(--white);
  margin-top: 24px;
  margin-bottom: 10px;
}
.about p {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 18px;
  line-height: 1.7;
}
.about p strong { color: var(--white); font-weight: 700; }
.about ul, .about ol {
  margin: 0 0 18px 20px;
  color: var(--text);
}
.about li { margin-bottom: 8px; line-height: 1.6; }
.about img {
  width: 100%;
  border-radius: 14px;
  margin: 8px 0 22px;
}

/* ===== Block 5: Reviews ===== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px 24px;
  position: relative;
}
.review::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 16px;
  font-size: 80px;
  font-weight: 900;
  color: var(--violet);
  line-height: 1;
  font-family: Georgia, serif;
}
.review__stars {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 3px;
  margin-bottom: 12px;
}
.review__text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 18px;
}
.review__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.review__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--violet-deep));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}
.review__name { font-weight: 700; color: var(--white); font-size: 14px; }
.review__city { font-size: 12px; color: var(--text-dim); }

/* ===== Footer ===== */
.footer {
  background: #0a0715;
  padding: 36px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer__age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 2px solid var(--violet);
  color: var(--violet-soft);
  font-weight: 900;
  font-size: 16px;
  border-radius: 12px;
  margin-bottom: 16px;
}
.footer p {
  font-size: 13px;
  color: var(--text-dim);
  max-width: 760px;
  margin: 0 auto;
}

/* ===== Адаптив ===== */
@media (max-width: 960px) {
  .slots-grid { grid-template-columns: repeat(3, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav, .header__cta { display: none; }
  .burger { display: flex; }
  .nav.is-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-2);
    padding: 20px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .35);
  }
  .nav.is-open a {
    padding: 14px 12px;
    border-bottom: 1px solid var(--border);
    width: 100%;
    font-size: 15px;
  }
  .nav.is-open a:last-child { border-bottom: none; }
  .nav.is-open a::after { display: none; }

  .hero { padding: 40px 0 50px; }
  .hero__grid { grid-template-columns: 1fr; gap: 30px; }
  .hero__card-big { font-size: 44px; }
  .section { padding: 40px 0; }
  .slots-grid { grid-template-columns: repeat(2, 1fr); }
  .slot-card h3 { font-size: 14px; }
  .slot-card p { font-size: 12px; }
  .about p { font-size: 15px; }
  .data-table th, .data-table td { padding: 12px 16px; font-size: 13px; }
}

@media (max-width: 420px) {
  .slot-card__body { padding: 12px 14px 16px; }
  .review { padding: 22px 20px; }
  .hero h1 { font-size: 28px; }
}
