/* ==========================================================================
   Концепт обновлённого jonnycashout.com (step_073). Поверх styles.css живого сайта —
   его палитра (--gold #e5b869, --gold-light #f5d496, фон #07080c) и шрифты не меняются.
   ========================================================================== */

.gold { color: var(--gold-light); }
.gold-grad {
  background: linear-gradient(135deg, #fff1cf 0%, var(--gold-light) 35%, var(--gold) 70%, #c99a47 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ── Шапка: «Хостинг NEW», мобильное меню ── */
.desktop-nav { gap: 22px; }
.nav-new { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-light) !important; }
.nav-new em {
  font-style: normal; font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: 0.08em;
  padding: 2px 6px; border-radius: 6px; color: #0d0f17; background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 0 12px rgba(229, 184, 105, 0.6);
}
@media (max-width: 1100px) and (min-width: 769px) { .desktop-nav { gap: 14px; } .desktop-nav a { font-size: 13px; } }
@media (max-width: 768px) {
  .desktop-nav.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: fixed; top: 72px; left: 0; right: 0; padding: 14px 16px 20px;
    background: rgba(7, 8, 12, 0.97); border-bottom: 1px solid var(--panel-border-gold);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  }
  .desktop-nav.open a { padding: 12px 14px; border-radius: 12px; font-size: 16px; }
  .desktop-nav.open a:hover { background: rgba(229, 184, 105, 0.08); }
  .btn-gold-sm span:first-child { display: none; }
  .btn-gold-sm { padding: 9px 12px; }
}

/* ── Hero ── */
.hero-section { padding-top: 150px; }
.announce-pill {
  position: relative; display: flex; width: fit-content; max-width: 100%; align-items: center; gap: 10px; margin: 0 auto 18px;
  padding: 7px 14px 7px 7px; border-radius: 999px; font-size: 14px; color: var(--text);
  background: rgba(15, 17, 24, 0.85); border: 1px solid rgba(229, 184, 105, 0.45);
  box-shadow: 0 0 0 4px rgba(229, 184, 105, 0.06), 0 0 32px rgba(229, 184, 105, 0.28);
  transition: transform var(--transition), box-shadow var(--transition);
}
.announce-pill:hover { transform: translateY(-2px); box-shadow: 0 0 0 4px rgba(229, 184, 105, 0.1), 0 0 44px rgba(229, 184, 105, 0.45); }
.announce-pill b { color: var(--gold-light); }
.announce-pill .icon { color: var(--gold); display: inline-flex; }
.announce-pill__new {
  font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.1em; padding: 4px 9px; border-radius: 999px;
  color: #0d0f17; background: linear-gradient(135deg, var(--gold-light), var(--gold)); box-shadow: 0 0 14px rgba(229, 184, 105, 0.7);
  animation: new-blink 2.4s ease-in-out infinite;
}
@keyframes new-blink { 50% { box-shadow: 0 0 4px rgba(229, 184, 105, 0.2); } }
.hero-subtitle b { font-weight: 600; }
.hero-actions { flex-wrap: wrap; }

/* Кнопка со светящейся вращающейся рамкой */
.btn-glow-lg {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px; border-radius: 999px; font-weight: 700; font-size: 16px; color: var(--gold-light);
  background: #0c0d12; overflow: hidden; transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 0 30px rgba(229, 184, 105, 0.3);
}
.btn-glow-lg::before {
  content: ""; position: absolute; inset: -150%; z-index: -2;
  background: conic-gradient(from 0deg, transparent 0 55%, var(--gold-light) 70%, var(--gold) 80%, transparent 95%);
  animation: spin-border 3.2s linear infinite;
}
.btn-glow-lg::after { content: ""; position: absolute; inset: 2px; z-index: -1; border-radius: inherit; background: linear-gradient(135deg, #1b1610, #0c0d12 60%); }
.btn-glow-lg:hover { transform: translateY(-2px); box-shadow: 0 0 46px rgba(229, 184, 105, 0.5); }
.btn-glow-lg .icon { display: inline-flex; }
.btn-block { width: 100%; }
@keyframes spin-border { to { transform: rotate(360deg); } }

/* Цифры доверия — плитками */
.hero-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; max-width: 760px; margin: 40px auto 0; }
.hero-stat {
  display: grid; gap: 2px; padding: 16px 10px; border-radius: 18px; text-align: center;
  background: linear-gradient(160deg, rgba(229, 184, 105, 0.1), rgba(15, 17, 24, 0.7) 60%);
  border: 1px solid rgba(229, 184, 105, 0.22); box-shadow: inset 0 1px 0 rgba(255, 241, 207, 0.08);
}
.hero-stat strong { font-family: var(--display); font-size: 28px; font-weight: 800; color: var(--gold-light); text-shadow: 0 0 22px rgba(229, 184, 105, 0.45); font-variant-numeric: tabular-nums; }
.hero-stat span { font-size: 13px; color: var(--text-soft); }
@media (max-width: 640px) { .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ── Бегущая лента плюсов ── */
.perks-marquee {
  position: relative; overflow: hidden; padding: 16px 0;
  border-block: 1px solid rgba(229, 184, 105, 0.18);
  background: linear-gradient(90deg, rgba(229, 184, 105, 0.02), rgba(229, 184, 105, 0.08), rgba(229, 184, 105, 0.02));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.perks-marquee__track { display: flex; gap: 44px; width: max-content; animation: marquee 38s linear infinite; }
.perks-marquee__track span { font-family: var(--display); font-weight: 700; font-size: 17px; color: var(--gold-light); white-space: nowrap; }
.perks-marquee:hover .perks-marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Свечение карточек за курсором (bento, каталог, бонусы) ── */
.spot, .plugin-card-item { position: relative; isolation: isolate; }
.spot::after, .plugin-card-item::after {
  content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(229, 184, 105, 0.14), transparent 45%);
  transition: opacity 300ms;
}
.spot:hover::after, .plugin-card-item:hover::after { opacity: 1; }
.spot:hover, .plugin-card-item:hover { border-color: rgba(229, 184, 105, 0.45) !important; box-shadow: 0 0 40px rgba(229, 184, 105, 0.12); }
.plugin-card-item { transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition); }
.plugin-card-item:hover { transform: translateY(-4px); }
.plugin-card-item .plugin-header::after {
  content: "навсегда"; margin-left: auto; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.06em;
  padding: 3px 8px; border-radius: 999px; color: var(--gold-light); background: rgba(229, 184, 105, 0.12); border: 1px solid rgba(229, 184, 105, 0.3);
}
.plugin-card-item .plugin-mark { box-shadow: 0 0 18px rgba(229, 184, 105, 0.35); }

/* ── Машина выдачи: золотая рамка-свечение вокруг (сама анимация не тронута) ── */
.machine-board-wrapper { position: relative; }
.machine-board-wrapper::before {
  content: ""; position: absolute; inset: -1px; border-radius: 26px; pointer-events: none; z-index: 0;
  box-shadow: 0 0 80px rgba(229, 184, 105, 0.16), inset 0 0 0 1px rgba(229, 184, 105, 0.22);
}

/* ── Золотая рамка с бегущим бликом + искры ── */
.gold-frame {
  position: relative; isolation: isolate; overflow: hidden; border-radius: 28px;
  background:
    radial-gradient(circle at 85% -10%, rgba(247, 215, 146, 0.24), transparent 45%),
    radial-gradient(circle at -10% 110%, rgba(203, 150, 37, 0.2), transparent 50%),
    linear-gradient(140deg, #2a200c 0%, #15110a 50%, #0b0b0d 100%);
  border: 1px solid rgba(229, 184, 105, 0.4);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(229, 184, 105, 0.16), inset 0 1px 0 rgba(255, 226, 160, 0.16);
}
.gold-frame::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 236, 190, 0.12) 45%, transparent 60%);
  transform: translateX(-100%); animation: sheen 6s ease-in-out infinite;
}
@keyframes sheen { 60%, 100% { transform: translateX(100%); } }
.sparks { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.sparks i {
  position: absolute; bottom: -10px; border-radius: 999px; opacity: 0;
  background: radial-gradient(circle, #ffe7b0 0%, #f2c259 45%, rgba(242, 194, 89, 0) 72%);
  animation: spark-rise linear infinite;
}
@keyframes spark-rise {
  0% { transform: translate3d(0, 0, 0) scale(0.6); opacity: 0; }
  12% { opacity: 0.9; }
  80% { opacity: 0.5; }
  100% { transform: translate3d(var(--dx, 10px), -360px, 0) scale(1); opacity: 0; }
}

/* ── Хостинг ── */
.hosting-section { padding-top: 60px; }
.hosting-section .section-head h2 { font-size: clamp(30px, 4.4vw, 44px); }
.hosting-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px; align-items: stretch; }
.host-offer { display: grid; gap: 18px; padding: 30px; }
.host-offer__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.host-tag, .host-flag {
  font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; color: var(--gold-light); background: rgba(229, 184, 105, 0.12); border: 1px solid rgba(229, 184, 105, 0.3);
}
.host-flag { color: var(--text); background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.12); text-transform: none; letter-spacing: 0; }
.host-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; }
.host-price strong {
  font-family: var(--display); font-size: clamp(52px, 7vw, 72px); font-weight: 900; line-height: 1;
  background: linear-gradient(135deg, #fff1cf, var(--gold-light) 40%, var(--gold) 75%, #c99a47);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 24px rgba(229, 184, 105, 0.45));
}
.host-price span { color: var(--text-soft); font-size: 15px; }
.host-list { list-style: none; display: grid; gap: 10px; }
.host-list li { position: relative; padding-left: 30px; color: #e6e1d6; font-size: 15px; line-height: 1.45; }
.host-list li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%;
  font-size: 12px; font-weight: 800; color: #0d0f17; background: linear-gradient(135deg, var(--gold-light), var(--gold)); box-shadow: 0 0 12px rgba(229, 184, 105, 0.5);
}
.host-list b { color: var(--gold-light); }
.host-note { font-size: 13px; color: var(--text-soft); text-align: center; }

.host-demo {
  position: relative; display: grid; gap: 18px; align-content: start; padding: 26px; border-radius: 28px;
  background: linear-gradient(160deg, rgba(15, 17, 24, 0.95), rgba(9, 10, 14, 0.95)); border: 1px solid var(--panel-border);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.host-demo__head { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 17px; }
.host-demo__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); animation: pulse-glow 2s infinite; }
.host-demo__dot.ok { background: #39e569; box-shadow: 0 0 12px #39e569; }
.host-demo__state {
  margin-left: auto; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px; color: var(--gold); background: rgba(229, 184, 105, 0.12); transition: all 300ms;
}
.host-demo__state.ok { color: #39e569; background: rgba(57, 229, 105, 0.14); }
.host-steps { list-style: none; display: grid; gap: 4px; counter-reset: s; }
.host-steps li {
  display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 14px;
  color: var(--muted); transition: color 300ms, background 300ms;
}
.host-steps li i {
  width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.12); display: grid; place-items: center;
  font-style: normal; font-size: 13px; font-weight: 800; transition: all 300ms;
}
.host-steps li small { font-family: var(--mono); font-size: 12px; }
.host-steps li.run { color: var(--text); background: rgba(229, 184, 105, 0.07); }
.host-steps li.run i { border-color: var(--gold); border-top-color: transparent; animation: key-spin 0.8s linear infinite; }
.host-steps li.done { color: #e6e1d6; }
.host-steps li.done i { border-color: transparent; color: #0d0f17; background: linear-gradient(135deg, var(--gold-light), var(--gold)); box-shadow: 0 0 12px rgba(229, 184, 105, 0.5); }
.host-steps li.done i::before { content: "✓"; }
@keyframes key-spin { to { transform: rotate(360deg); } }
.host-progress { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.host-progress span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--gold-light)); box-shadow: 0 0 14px var(--gold); transition: width 700ms ease; }
.host-meters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.host-meters > div { display: grid; gap: 4px; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--panel-border); }
.host-meters small { color: var(--text-soft); font-size: 12px; }
.host-meters b { font-family: var(--mono); font-size: 15px; color: var(--gold-light); }
.meter { height: 4px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: inherit; background: var(--gold); transition: width 600ms; }
.meter--ok i { background: #39e569; }
.host-toast {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 16px; font-size: 14px;
  background: linear-gradient(135deg, rgba(57, 229, 105, 0.1), rgba(15, 17, 24, 0.9)); border: 1px solid rgba(57, 229, 105, 0.3);
  opacity: 0; transform: translateY(8px); transition: all 400ms;
}
.host-toast.show { opacity: 1; transform: none; }
.host-toast > span { font-size: 22px; line-height: 1; }
.host-toast p { color: #d8e8dc; margin-top: 2px; }

.host-compare { margin-top: 28px; border-radius: 24px; overflow: hidden; border: 1px solid var(--panel-border); background: rgba(15, 17, 24, 0.7); }
.host-compare__row { display: grid; grid-template-columns: 1.1fr 1fr 1.2fr; gap: 12px; padding: 14px 22px; border-top: 1px solid var(--panel-border); font-size: 15px; }
.host-compare__row span:first-child { color: var(--text-soft); }
.host-compare__row span:nth-child(2) { color: var(--muted); }
.host-compare__row span:nth-child(3) { color: var(--gold-light); font-weight: 600; }
.host-compare__row span:nth-child(3)::before { content: "✓ "; color: #39e569; }
.host-compare__head { border-top: 0; font-family: var(--display); font-weight: 700; background: rgba(229, 184, 105, 0.06); }
.host-compare__head span:nth-child(2) { color: var(--text-soft); }
.host-compare__head span:nth-child(3)::before { content: ""; }

@media (max-width: 900px) {
  .hosting-grid { grid-template-columns: 1fr; }
  .host-compare__row { grid-template-columns: 1fr 1fr; padding: 12px 16px; font-size: 14px; }
  .host-compare__row span:first-child { grid-column: 1 / -1; color: var(--text); font-weight: 600; }
  .host-compare__head span:first-child { display: none; }
}

/* ── Как это работает: короткий путь через хостинг ── */
.workflow-shortcut {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; width: fit-content; max-width: 100%;
  margin: 34px auto 0; padding: 10px 18px 10px 10px; border-radius: 999px; font-size: 15px; color: var(--text);
  border: 1px dashed rgba(229, 184, 105, 0.45); background: rgba(229, 184, 105, 0.05); transition: background var(--transition);
}
.workflow-shortcut:hover { background: rgba(229, 184, 105, 0.1); }
.workflow-shortcut .icon { color: var(--gold); display: inline-flex; }

/* ── Бонусы и сообщество ── */
.bonus-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.bonus-card {
  display: grid; align-content: start; gap: 10px; padding: 24px; border-radius: 24px; min-width: 0;
  background: linear-gradient(160deg, rgba(229, 184, 105, 0.08), rgba(15, 17, 24, 0.85) 55%); border: 1px solid rgba(229, 184, 105, 0.18);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.bonus-card:hover { transform: translateY(-4px); }
.bonus-card > * { position: relative; z-index: 1; }
.bonus-card--hero { grid-column: span 2; grid-row: span 2; padding: 32px; align-content: end; min-height: 300px; }
.bonus-card--wide { grid-column: span 2; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 18px; }
.bonus-card--wide .bonus-ico { grid-row: span 2; }
.bonus-card--hero h3 { font-size: 34px; }
.bonus-card--hero p { font-size: 16px; max-width: 420px; }
.bonus-ico {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; font-size: 26px; font-weight: 800; color: var(--gold-light);
  background: radial-gradient(circle at 30% 20%, rgba(255, 231, 176, 0.3), transparent 60%), rgba(229, 184, 105, 0.12);
  border: 1px solid rgba(229, 184, 105, 0.35); box-shadow: 0 0 22px rgba(229, 184, 105, 0.22);
}
.bonus-card--hero .bonus-ico { width: 72px; height: 72px; font-size: 36px; }
.bonus-card h3 { font-size: 20px; font-weight: 800; }
.bonus-card p { color: var(--text-soft); font-size: 14px; line-height: 1.5; }
.community-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.community-strip > div { display: grid; gap: 2px; padding: 18px; border-radius: 18px; text-align: center; background: rgba(15, 17, 24, 0.7); border: 1px solid var(--panel-border); }
.community-strip strong { font-family: var(--display); font-size: 28px; font-weight: 800; color: var(--gold-light); text-shadow: 0 0 20px rgba(229, 184, 105, 0.4); font-variant-numeric: tabular-nums; }
.community-strip span { font-size: 13px; color: var(--text-soft); }
@media (max-width: 1024px) { .bonus-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .bonus-grid { grid-template-columns: 1fr; }
  .bonus-card--hero, .bonus-card--wide { grid-column: auto; grid-row: auto; }
  .bonus-card--hero { min-height: 240px; }
  .community-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── Финальный призыв ── */
.final-cta { padding-top: 40px; }
.final-cta__box { display: grid; justify-items: center; gap: 16px; padding: 64px 28px; text-align: center; }
.final-cta__box h2 { font-size: clamp(28px, 4.4vw, 46px); font-weight: 800; max-width: 820px; }
.final-cta__box p { color: var(--text-soft); max-width: 600px; }
.final-cta__box .kicker { margin: 0; }
.final-cta__box .hero-actions { justify-content: center; margin-top: 8px; }

/* ── Появление при прокрутке: класс ставит concept.js, без JS всё видно сразу ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .perks-marquee__track, .btn-glow-lg::before, .gold-frame::before, .sparks i, .announce-pill__new { animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
@media (max-width: 768px) {
  section { padding: 70px 0; }
  .section-head h2 { font-size: 28px; }
  .host-offer, .host-demo { padding: 22px; }
  .btn-glow-lg { padding: 14px 24px; }
}
