/* ============================================================
   JokerMiner.slot — mine theme (warm sand / violet joker / amber)
   ============================================================ */

:root {
  --bg:        #FBF3E2;
  --bg-alt:    #F4E9D2;
  --card:      #FFFFFF;
  --line:      #E7D9BC;
  --ink:       #33291A;
  --muted:     #8A7A5E;

  --violet:    #7A3E9E;
  --violet-deep:#5B2A78;
  --amber:     #F0A93B;
  --copper:    #C97B3D;
  --green:     #3E9B5F;

  --radius:    16px;
  --shadow:    0 6px 24px rgba(122, 62, 158, .10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: var(--violet); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 860px; }
section { scroll-margin-top: 84px; }

h1, h2, h3, h4 { line-height: 1.25; font-weight: 800; }
h2 { font-size: 30px; margin-bottom: 18px; }
h3 { font-size: 22px; margin: 34px 0 12px; }
p { margin-bottom: 14px; }

.fine-note { font-size: 14px; color: var(--muted); margin: 14px 0 0; }

/* buttons */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 12px;
  font-weight: 800; font-size: 16px; text-align: center;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-cta {
  background: linear-gradient(135deg, var(--violet), var(--violet-deep));
  color: #fff; box-shadow: 0 8px 22px rgba(122, 62, 158, .30);
}
.btn-primary {
  background: var(--amber); color: #3A2506;
  box-shadow: 0 8px 22px rgba(240, 169, 59, .30);
}
.btn-ghost { border-color: var(--violet); color: var(--violet); background: transparent; }
.btn-block { display: block; width: 100%; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 252, 244, .95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 64px; }
.logo { font-size: 21px; font-weight: 900; color: var(--ink); }
.logo span { color: var(--violet); }
.logo:hover { text-decoration: none; }

.site-nav { display: flex; gap: 26px; }
.site-nav a {
  color: var(--ink); font-weight: 600; font-size: 15.5px;
  padding: 6px 2px; border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--violet); border-bottom-color: var(--amber); text-decoration: none; }

.nav-toggle { display: none; }
.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav-burger span { width: 24px; height: 3px; background: var(--ink); border-radius: 2px; }

/* hero */
.hero {
  padding: 52px 0 58px;
  background:
    radial-gradient(720px 320px at 12% 0%, rgba(240, 169, 59, .18), transparent 65%),
    radial-gradient(680px 340px at 95% 15%, rgba(122, 62, 158, .10), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 36px; align-items: center; margin-bottom: 34px; }
/* hero CTA — массивные кнопки вместо «таблеток» */
.hero-actions .btn { border-radius: 12px; font-size: 16.5px; padding: 15px 28px; }
.hero-actions .btn-cta {
  background: linear-gradient(180deg, #9354C4, var(--violet-deep));
  box-shadow: 0 4px 0 #451F5C, 0 10px 22px rgba(122, 62, 158, .35);
}
.hero-actions .btn-cta:hover { box-shadow: 0 6px 0 #451F5C, 0 14px 26px rgba(122, 62, 158, .4); }
.hero-actions .btn-ghost {
  background: rgba(122, 62, 158, .10);
  border: none;
  color: var(--violet);
  box-shadow: 0 4px 0 rgba(122, 62, 158, .18);
}
.hero-copy h1 { font-size: 38px; letter-spacing: -.5px; margin-bottom: 16px; }
.mark { background: linear-gradient(transparent 62%, #FFD98F 62%); padding: 0 3px; }
.hero-copy p { color: #5C4E36; }
.hero-actions { display: flex; gap: 14px; margin-top: 22px; flex-wrap: wrap; }

/* bonus card */
.bonus-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 22px 18px;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.bonus-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 5px;
  background: linear-gradient(90deg, var(--violet), var(--amber));
}
.bonus-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.bonus-head-text { display: flex; flex-direction: column; }
.bonus-head-text strong { font-size: 19px; }
.stars { color: var(--amber); font-size: 15px; letter-spacing: 1px; }
.stars em { color: var(--muted); font-style: normal; font-weight: 600; }

.logo-tile {
  flex: 0 0 auto; width: 52px; height: 52px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 19px; color: #fff;
}
.tile-violet{ background: linear-gradient(135deg, #9B6CFF, #6D28D9); }
.tile-amber { background: linear-gradient(135deg, #FFB347, #C96A0B); }
.tile-copper{ background: linear-gradient(135deg, #D98E6A, #9C4F2E); }
.tile-brown { background: linear-gradient(135deg, #B08968, #7F5539); }
.tile-olive { background: linear-gradient(135deg, #A3B14A, #6E7B23); }
.tile-slate { background: linear-gradient(135deg, #8B95A5, #57606F); }

.bonus-label { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); font-weight: 700; }
.bonus-value { font-size: 21px; margin: 4px 0 16px; }
.bonus-value strong { color: var(--violet); }
.bonus-fine { font-size: 12.5px; color: var(--muted); margin: 12px 0 0; text-align: center; }

/* generated art */
.gen-shot { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.hero .gen-shot { margin-bottom: 34px; }
.gen-shot img { display: block; width: 100%; height: auto; }
#features .gen-shot { margin: 6px 0 26px; }

/* sections */
.section { padding: 58px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* spec table */
.spec {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); margin: 6px 0 24px;
}
.spec-row { display: flex; justify-content: space-between; gap: 16px; padding: 13px 20px; }
.spec-row:nth-child(odd) { background: #FBF6EA; }
.spec-row dt { color: var(--muted); font-weight: 600; }
.spec-row dd { font-weight: 800; text-align: right; color: var(--violet); }

/* features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 8px; }
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 20px; box-shadow: var(--shadow);
  transition: transform .15s ease, border-color .15s ease;
}
.feature:hover { transform: translateY(-3px); border-color: var(--amber); }
.feature-ico { font-size: 34px; margin-bottom: 10px; }
.feature h3 { margin: 0 0 8px; font-size: 17.5px; }
.feature p { margin-bottom: 0; font-size: 15px; color: #5C4E36; }

/* jackpots */
.jackpot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.jackpot {
  border-radius: var(--radius); padding: 26px 22px; text-align: center;
  display: flex; flex-direction: column; gap: 4px;
  box-shadow: var(--shadow);
}
.jackpot-max { background: linear-gradient(160deg, #FFD98F, var(--amber)); border: 1px solid #E09426; }
.jackpot-mid { background: linear-gradient(160deg, #E9D5F5, #C9A8E8); border: 1px solid #B58CD9; }
.jackpot-tier { font-size: 14px; font-weight: 900; letter-spacing: 2px; opacity: .75; }
.jackpot-value { font-size: 44px; font-weight: 900; line-height: 1.1; }
.jackpot-max .jackpot-value { color: #7A4A06; }
.jackpot-mid .jackpot-value { color: #4A2664; }
.jackpot-note { font-size: 14px; opacity: .7; }

/* casino list */
.top-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 26px 0 6px; }
.casino-card {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
}
.casino-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(122, 62, 158, .16); }
.ribbon {
  position: absolute; top: 14px; right: -6px;
  background: linear-gradient(135deg, var(--violet), var(--violet-deep));
  color: #fff; font-size: 12.5px; font-weight: 800; letter-spacing: .6px;
  padding: 5px 14px; border-radius: 8px 0 0 8px;
  box-shadow: 0 4px 10px rgba(122, 62, 158, .35);
}
.casino-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding-right: 60px; }
.casino-name { display: flex; flex-direction: column; }
.casino-name strong { font-size: 18.5px; line-height: 1.2; }
.casino-bonus {
  background: #F7F0E0; border: 1px dashed #DCC28C; border-radius: 10px;
  padding: 10px 12px; font-size: 15.5px; margin-bottom: 14px;
}
.casino-bonus strong { color: var(--violet); }
.pros { list-style: none; margin-bottom: 18px; flex: 1; }
.pros li { position: relative; padding-left: 26px; margin-bottom: 6px; font-size: 15px; }
.pros li::before { content: "✔"; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 800; }

/* how to play */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 22px; }
.steps li {
  counter-increment: step; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 22px 18px; box-shadow: var(--shadow); position: relative;
}
.steps li::before {
  content: counter(step); position: absolute; top: -14px; left: 20px;
  width: 34px; height: 34px; border-radius: 12px;
  background: linear-gradient(135deg, var(--amber), var(--copper));
  color: #3A2506; font-weight: 900; font-size: 17px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 14px rgba(240, 169, 59, .35);
}
.steps h3 { margin: 6px 0 8px; font-size: 18.5px; }
.steps p { margin-bottom: 0; font-size: 15.5px; }

/* faq */
.faq-item {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); margin-bottom: 12px; overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer; padding: 17px 52px 17px 20px;
  font-weight: 700; font-size: 16.5px; position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%;
  transform: translateY(-50%); width: 28px; height: 28px; border-radius: 8px;
  background: var(--violet); color: #fff; font-weight: 900; font-size: 19px;
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item[open] summary { color: var(--violet); }
.faq-body { padding: 0 20px 18px; }
.faq-body p { margin-bottom: 0; font-size: 16px; }

/* author */
.author-card {
  display: flex; gap: 22px; align-items: flex-start; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
}
.avatar {
  flex: 0 0 auto; width: 84px; height: 84px; border-radius: 50%;
  background: linear-gradient(135deg, #9B6CFF, #6D28D9); color: #fff;
  font-size: 30px; font-weight: 900; display: flex; align-items: center; justify-content: center;
  border: 4px solid #FFD98F;
}
.author-info p:last-child { margin-bottom: 0; }
.author-links { font-size: 14.5px; margin-top: 4px; }

/* footer */
.site-footer { background: #292014; color: #C4B69E; padding: 34px 0; font-size: 14px; border-top: 1px solid var(--line); }
.site-footer p { margin-bottom: 10px; }
.footer-18 { font-weight: 700; color: #EFE6D3; }
.footer-copy { margin-bottom: 0; color: #8F836D; }

/* responsive */
@media (max-width: 1000px) {
  .top-list { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-burger { display: flex; }
  .site-nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: #FFFDF6; border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 24px rgba(51, 41, 26, .12);
    flex-direction: column; gap: 0; padding: 8px 20px 14px;
  }
  .site-nav a { padding: 12px 2px; border-bottom: 1px solid #F2EAD8; }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: 32px; }
  .steps { grid-template-columns: 1fr; }
  .jackpot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  h2 { font-size: 25px; }
  .top-list { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .tips-grid { grid-template-columns: 1fr; }
  /* кнопки сразу после заголовка — видны под картинкой без скролла */
  .hero-copy { display: flex; flex-direction: column; }
  .hero-copy h1 { order: 1; }
  .hero-copy .hero-actions { order: 2; margin-top: 10px; }
  .hero-copy p { order: 3; }
  .hero-actions { flex-direction: column; gap: 12px; }
}

/* ============================ EXTRAS: icon, tips, similar ============================ */

.game-ico {
  float: left;
  width: 96px; height: 96px;
  margin: 4px 18px 10px 0;
  border-radius: 22px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.avatar-img { object-fit: cover; }
.logo-tile-img {
  flex: 0 0 auto;
  width: 52px; height: 52px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(60, 40, 10, .22);
}

.tips-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 22px; }
.tip {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow);
}
.tip-ico { font-size: 30px; margin-bottom: 8px; }
.tip h3 { margin: 0 0 6px; font-size: 17.5px; }
.tip p { margin-bottom: 0; font-size: 15px; color: #5C4E36; }

.sim-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; }
.sim {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow);
}
.sim-tile {
  width: 64px; height: 64px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; margin-bottom: 12px;
}
.tile-a { background: linear-gradient(135deg, #9B6CFF, #6D28D9); }
.tile-b { background: linear-gradient(135deg, #FFB347, #C96A0B); }
.tile-c { background: linear-gradient(135deg, #D98E6A, #9C4F2E); }
.sim h3 { margin: 0 0 2px; font-size: 17px; }
.sim-prov {
  font-size: 13px; text-transform: uppercase; letter-spacing: .8px;
  font-weight: 700; color: var(--muted); margin-bottom: 8px;
}
.sim p { margin-bottom: 0; font-size: 14.5px; color: #5C4E36; }

@media (max-width: 860px) { .sim-grid { grid-template-columns: 1fr; } }
