/* 7K Casino — Palette "Карамель/Умбра" */
/* Prefix: .mesh- */

:root {
  --bg:     #100d08;
  --amber:  #d97706;
  --yellow: #fcd34d;
  --text:   #fef8ee;
  --surface: #1c1610;
  --surface2: #261f17;
  --border: #3a2e1f;
  --muted:  #a89070;
  --radius: 12px;
  --radius-lg: 20px;
  --ff-head: 'Familjen Grotesk', sans-serif;
  --ff-body: 'Instrument Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: var(--ff-head);
  line-height: 1.2;
  color: var(--text);
}

h1 { font-size: clamp(1.8rem, 4.5vw, 3rem); font-weight: 900; }
h2 { font-size: clamp(1.4rem, 3vw, 2.1rem); font-weight: 700; margin-bottom: 1.25rem; }
h3 { font-size: 1.15rem; font-weight: 700; }

em { color: var(--yellow); font-style: normal; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--amber); text-decoration: none; }
a:hover { color: var(--yellow); text-decoration: underline; }

/* ---- BUTTONS ---- */
.mesh-btn-primary,
.mesh-btn-secondary {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  text-decoration: none;
}

.mesh-btn-primary {
  background: var(--amber);
  color: #100d08;
  box-shadow: 0 4px 16px rgba(217,119,6,0.4);
}
.mesh-btn-primary:hover {
  background: var(--yellow);
  color: #100d08;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(252,211,77,0.5);
  text-decoration: none;
}

.mesh-btn-secondary {
  background: transparent;
  color: var(--amber);
  border: 2px solid var(--amber);
}
.mesh-btn-secondary:hover {
  background: var(--amber);
  color: #100d08;
  text-decoration: none;
}

/* ---- LAYOUT ---- */
.mesh-nav-b2v7w__inner,
.mesh-hero-k5r3t__inner,
.mesh-section-r7t4n__inner,
.mesh-tournament-zn8q3__inner,
.mesh-footer-w3m9p__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---- NAV ---- */
.mesh-nav-b2v7w {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(16,13,8,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.mesh-nav-b2v7w__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}
.mesh-nav-b2v7w__logo {
  font-family: var(--ff-head);
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--yellow);
  text-decoration: none;
  white-space: nowrap;
}
.mesh-nav-b2v7w__links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  flex: 1;
}
.mesh-nav-b2v7w__links a {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s;
}
.mesh-nav-b2v7w__links a:hover { color: var(--yellow); text-decoration: none; }
.mesh-nav-b2v7w__cta {
  background: var(--amber);
  color: #100d08;
  font-family: var(--ff-head);
  font-weight: 700;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: background 0.15s;
  text-decoration: none;
}
.mesh-nav-b2v7w__cta:hover { background: var(--yellow); text-decoration: none; }

/* ---- HERO ---- */
.mesh-hero-k5r3t {
  background: radial-gradient(ellipse at 50% 0%, #2a1c08 0%, #100d08 70%);
  padding: 5rem 0 4rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.mesh-hero-k5r3t__h1 {
  margin-bottom: 1.25rem;
}
.mesh-hero-k5r3t__sub {
  color: var(--yellow);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
}
.mesh-hero-k5r3t__btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.mesh-hero-k5r3t__badges {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}
.mesh-badge {
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  font-size: 0.78rem;
}

/* ---- SECTIONS ---- */
.mesh-section-r7t4n {
  padding: 4rem 0;
}
.mesh-section-r7t4n--alt {
  background: var(--surface);
}

/* ---- MIRROR BOX ---- */
.mesh-mirror-box {
  margin-top: 2rem;
  background: var(--surface2);
  border: 2px solid var(--amber);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.mesh-mirror-box__label {
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.mesh-mirror-box__domain {
  font-family: var(--ff-head);
  font-size: 2rem;
  font-weight: 900;
  color: var(--yellow);
}

/* ---- STEPS ---- */
.mesh-steps {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.mesh-step {
  padding-left: 0.5rem;
  color: var(--text);
}

.mesh-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}
.mesh-step-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.mesh-step-card__num {
  font-family: var(--ff-head);
  font-size: 2rem;
  font-weight: 900;
  color: var(--amber);
  margin-bottom: 0.5rem;
}
.mesh-step-card__title {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

/* ---- BONUS GRID ---- */
.mesh-bonus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}
.mesh-bonus-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: border-color 0.15s;
}
.mesh-bonus-card:hover { border-color: var(--amber); }
.mesh-bonus-card__dep {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}
.mesh-bonus-card__pct {
  font-family: var(--ff-head);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
}
.mesh-bonus-card__fs {
  font-family: var(--ff-head);
  font-weight: 700;
  color: var(--amber);
  font-size: 1.1rem;
  margin: 0.25rem 0;
}
.mesh-bonus-card__max {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---- TABLES ---- */
.mesh-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}
.mesh-table th {
  background: var(--surface2);
  color: var(--yellow);
  font-family: var(--ff-head);
  font-weight: 700;
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 2px solid var(--amber);
}
.mesh-table td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.mesh-table tr:last-child td { border-bottom: none; }
.mesh-table tr:hover td { background: var(--surface2); }

/* ---- SLOTS GRID ---- */
.mesh-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}
.mesh-slot-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: border-color 0.15s, transform 0.15s;
}
.mesh-slot-card:hover {
  border-color: var(--amber);
  transform: translateY(-3px);
}
.mesh-slot-card__title {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}
.mesh-slot-card__provider {
  font-size: 0.78rem;
  color: var(--amber);
}
.mesh-slot-card__stats {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--muted);
}
.mesh-slot-card__cta {
  margin-top: auto;
  background: var(--amber);
  color: #100d08;
  font-family: var(--ff-head);
  font-weight: 700;
  padding: 0.5rem;
  border-radius: 8px;
  text-align: center;
  font-size: 0.85rem;
  transition: background 0.15s;
  text-decoration: none;
}
.mesh-slot-card__cta:hover { background: var(--yellow); text-decoration: none; }

/* ---- VIP GRID ---- */
.mesh-vip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}
.mesh-vip-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: transform 0.15s;
}
.mesh-vip-card:hover { transform: translateY(-3px); }
.mesh-vip-card__name {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}
.mesh-vip-card__pct {
  font-family: var(--ff-head);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.mesh-vip-card__req {
  font-size: 0.78rem;
  color: var(--muted);
}
.mesh-vip-card--helium { border-color: var(--amber); }
.mesh-vip-card--neon .mesh-vip-card__name { color: #a8ffa8; }
.mesh-vip-card--krypton .mesh-vip-card__name { color: #a8dfff; }
.mesh-vip-card--xenon .mesh-vip-card__name { color: #d0a8ff; }
.mesh-vip-card--argon .mesh-vip-card__name { color: #ffa8e0; }
.mesh-vip-card--radon .mesh-vip-card__name { color: #ffcca8; }
.mesh-vip-card--helium .mesh-vip-card__name { color: var(--yellow); }

/* ---- LICENSE GRID ---- */
.mesh-license-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}
.mesh-license-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.mesh-license-card__title {
  font-family: var(--ff-head);
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}

/* ---- REVIEWS ---- */
.mesh-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}
.mesh-review-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.mesh-review-card__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}
.mesh-review-card__name {
  font-family: var(--ff-head);
  font-weight: 700;
  color: var(--text);
}
.mesh-review-card__stars {
  color: var(--yellow);
  font-size: 1rem;
}
.mesh-review-card__date {
  color: var(--muted);
  font-size: 0.8rem;
  margin-left: auto;
}

/* ---- AUTHOR NOTE ---- */
.mesh-author-note {
  font-size: 0.82rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-top: 2rem;
}

/* ---- TOURNAMENT ---- */
.mesh-tournament-zn8q3 {
  padding: 4rem 0;
  background: radial-gradient(ellipse at 50% 50%, #2a1c08 0%, #100d08 80%);
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.mesh-tournament-zn8q3__title {
  color: var(--yellow);
  margin-bottom: 1rem;
}
.mesh-tournament-zn8q3 p {
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

/* ---- FAQ ---- */
.mesh-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.mesh-faq-item {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.mesh-faq-item h3 {
  padding: 1.1rem 1.25rem;
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  cursor: pointer;
}
.mesh-faq-item__answer {
  padding: 0 1.25rem 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---- HIGHLIGHT ---- */
.mesh-hl {
  color: var(--yellow);
  font-weight: 600;
}

/* ---- NOTE ---- */
.mesh-note {
  font-size: 0.85rem;
  color: var(--muted);
  border-left: 3px solid var(--amber);
  padding-left: 1rem;
  margin-top: 1rem;
}

/* ---- FOOTER ---- */
.mesh-footer-w3m9p {
  background: #0a0805;
  border-top: 1px solid var(--border);
  padding: 3rem 0;
}
.mesh-footer-w3m9p__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
}
.mesh-footer-w3m9p__legal p {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
  line-height: 1.5;
}
.mesh-footer-w3m9p__legal a { color: var(--amber); }
.mesh-footer-w3m9p__warning {
  font-size: 0.75rem;
  color: #6b5b45;
  margin-top: 1rem;
}
.mesh-footer-w3m9p__nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: right;
}
.mesh-footer-w3m9p__nav a {
  color: var(--muted);
  font-size: 0.85rem;
  transition: color 0.15s;
}
.mesh-footer-w3m9p__nav a:hover { color: var(--yellow); }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .mesh-nav-b2v7w__links { display: none; }
  .mesh-footer-w3m9p__inner { grid-template-columns: 1fr; }
  .mesh-footer-w3m9p__nav { text-align: left; flex-direction: row; flex-wrap: wrap; }
  .mesh-hero-k5r3t { padding: 3rem 0 2.5rem; }
  .mesh-bonus-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .mesh-bonus-grid { grid-template-columns: 1fr; }
  .mesh-vip-grid { grid-template-columns: repeat(2, 1fr); }
  .mesh-hero-k5r3t__btns { flex-direction: column; align-items: center; }
}
