:root {
  --bg: #05040a;
  --bg-2: #0b0714;
  --panel: rgba(19, 18, 31, .78);
  --panel-strong: rgba(16, 15, 27, .94);
  --line: rgba(165, 124, 255, .18);
  --line-bright: rgba(174, 92, 255, .48);
  --text: #f7f3ff;
  --muted: #b8afc9;
  --dim: #7e7590;
  --purple: #8b3dff;
  --purple-2: #b35cff;
  --red: #ff3f5f;
  --shadow: 0 26px 80px rgba(0, 0, 0, .55);
  --radius: 22px;
  --max: 1560px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 18%, rgba(132, 48, 255, .35), transparent 25%),
    radial-gradient(circle at 84% 8%, rgba(70, 23, 145, .28), transparent 24%),
    radial-gradient(circle at 76% 84%, rgba(115, 30, 255, .2), transparent 26%),
    linear-gradient(180deg, #07040d 0%, #05040a 48%, #020106 100%);
  min-height: 100vh;
  overflow-x: hidden;
}
.noise { display: none !important; }
a { color: inherit; text-decoration: none; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 0 clamp(20px, 4vw, 72px);
  border-bottom: 1px solid rgba(255,255,255,.09);
  background: rgba(5, 4, 10, .78);
  backdrop-filter: blur(18px);
}
.logo {
  font-family: "Russo One", sans-serif;
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: 1px;
  line-height: 1;
  filter: drop-shadow(0 0 14px rgba(166, 85, 255, .6));
}
.logo span { color: white; transform: skew(-8deg); display: inline-block; }
.logo em { color: var(--purple-2); font-style: normal; font-size: .55em; margin-left: 4px; }
.main-nav { display: flex; justify-content: center; gap: clamp(18px, 3vw, 42px); height: 100%; align-items: center; }
.main-nav a {
  position: relative;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 800;
  color: #eee8ff;
  letter-spacing: .02em;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -27px;
  height: 3px;
  transform: scaleX(0);
  background: linear-gradient(90deg, transparent, var(--purple-2), transparent);
  transition: .25s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--purple-2); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.icon-link { font-size: 26px; font-weight: 900; color: white; opacity: .92; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 28px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.14);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .01em;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); border-color: rgba(190, 126, 255, .55); }
.btn-primary {
  background: linear-gradient(135deg, #7928ff, #9d4dff 55%, #6419db);
  box-shadow: 0 16px 34px rgba(126, 45, 255, .35), inset 0 1px 0 rgba(255,255,255,.28);
}
.btn-ghost { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.2); }
.btn-lg { min-height: 58px; padding: 0 34px; font-size: 16px; }
.btn.full { width: 100%; margin-top: 18px; }
.burger { display: none; background: none; border: 0; padding: 8px; }
.burger span { display: block; width: 28px; height: 3px; background: white; margin: 5px 0; border-radius: 99px; transition: .2s ease; }
.section-pad { width: min(var(--max), calc(100% - 56px)); margin-inline: auto; }
.hero {
  display: grid;
  grid-template-columns: minmax(360px, .9fr) minmax(620px, 1.55fr);
  gap: 36px;
  padding-top: 28px;
  align-items: center;
  min-height: 560px;
}
.hero-copy { position: relative; padding: 42px 0 26px; }
.hero-copy::after {
  content: "";
  position: absolute;
  right: -30px; top: 15px;
  width: 340px; height: 520px;
  background:
    radial-gradient(ellipse at 55% 38%, rgba(117, 39, 255, .34), transparent 42%),
    linear-gradient(160deg, rgba(255,255,255,.04), transparent 36%);
  border-radius: 44% 44% 26% 26%;
  filter: blur(1px);
  opacity: .55;
  z-index: -1;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 16px;
  border-radius: 8px;
  background: rgba(118, 44, 255, .35);
  color: #cdafff;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}
h1 {
  margin: 24px 0 10px;
  font-family: "Russo One", sans-serif;
  font-size: clamp(74px, 9vw, 132px);
  line-height: .82;
  letter-spacing: 4px;
  text-shadow: 0 0 16px rgba(255,255,255,.14), 0 0 34px rgba(142, 57, 255, .45);
  transform: skew(-5deg);
}
.tagline { font-size: clamp(16px, 2vw, 22px); font-weight: 700; margin: 18px 0; text-transform: uppercase; }
.description { max-width: 560px; color: var(--muted); line-height: 1.8; font-size: 16px; }
.hero-buttons { display: flex; gap: 18px; flex-wrap: wrap; margin: 34px 0 34px; }
.social-row { display: flex; gap: 30px; flex-wrap: wrap; color: #ddd7ee; text-transform: uppercase; font-weight: 800; font-size: 14px; }
.social-row a { display: inline-flex; align-items: center; gap: 10px; opacity: .92; }
.social-row a:hover { color: white; }
.social-row span { font-size: 22px; color: white; }
.stream-zone { display: grid; grid-template-columns: 1fr 280px; gap: 0; align-items: stretch; }
.glass {
  background: linear-gradient(180deg, rgba(24, 22, 39, .82), rgba(12, 11, 20, .86));
  border: 1px solid var(--line);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter: blur(18px);
}
.stream-card { border-radius: 14px 0 0 14px; overflow: hidden; min-height: 414px; }
.card-top, .chat-head { height: 54px; display: flex; align-items: center; padding: 0 22px; border-bottom: 1px solid rgba(255,255,255,.08); text-transform: uppercase; font-size: 14px; }
.live-dot { display: inline-block; width: 11px; height: 11px; background: var(--red); border-radius: 50%; margin-right: 10px; box-shadow: 0 0 18px var(--red); }
.player-wrap { position: relative; height: 360px; background: #090712; overflow: hidden; }
.player-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; }
.offline-placeholder { position: absolute; inset: 0; display: grid; place-items: center; z-index: 1; }
.room-art { position: absolute; inset: 0; background:
  radial-gradient(circle at 58% 42%, rgba(121, 55, 255, .18), transparent 22%),
  linear-gradient(rgba(8,7,13,.08), rgba(8,7,13,.44)),
  linear-gradient(120deg, #10101b, #11172d 46%, #080711 100%);
}
.room-art::before { content:""; position:absolute; left:12%; top:8%; width:34%; height:68%; border:1px solid rgba(154,76,255,.18); background:linear-gradient(180deg, rgba(117,61,255,.22), rgba(12,10,20,.1)); box-shadow: 0 0 80px rgba(130,61,255,.28) inset; }
.chair { position:absolute; left:43%; bottom:13%; width:120px; height:150px; border-radius:60px 60px 24px 24px; display:grid; place-items:center; color:#a75cff; background: linear-gradient(180deg, #151326, #06050b); border:1px solid rgba(170,80,255,.2); font-weight:900; }
.chat-card { border-radius: 0 14px 14px 0; overflow: hidden; border-left: 0; }
.chat-head { justify-content: space-between; }
.chat-list { height: 302px; padding: 14px 18px; overflow: hidden; font-size: 13px; }
.chat-list p { margin: 0 0 13px; color: #e4def3; }
.chat-list b { color: #9e66ff; }
.chat-input { display:flex; align-items:center; gap:10px; margin: 0 12px 12px; padding: 8px; border:1px solid rgba(255,255,255,.1); border-radius:8px; color: var(--dim); font-size:12px; }
.chat-input span { flex: 1; }
.chat-input a { background: var(--purple); color:#fff; border:0; border-radius:6px; padding:8px 10px; font-weight:800; }
.dashboard {
  display: grid;
  grid-template-columns: 1.05fr 1.35fr .9fr;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 28px;
}
.panel { border-radius: var(--radius); padding: 26px; min-height: 210px; }
.panel-title { display:flex; align-items:center; gap: 12px; margin-bottom: 18px; }
.panel-title h2 { font-size: 19px; text-transform: uppercase; margin:0; letter-spacing:.02em; }
.panel-title.between { justify-content: space-between; gap: 16px; }
.panel-title.between > div { display:flex; align-items:center; gap:12px; }
.panel-title a, .text-link { color: var(--purple-2); font-weight: 900; text-transform: uppercase; font-size: 13px; white-space: nowrap; }
.purple-icon { color: var(--purple-2); font-size: 26px; font-weight: 900; text-shadow: 0 0 16px rgba(172,82,255,.55); }
.announce-card { border: 1px solid rgba(179, 92, 255, .22); background: rgba(255,255,255,.035); border-radius: 16px; padding: 18px; }
.announce-badge { display: inline-flex; align-items: center; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; padding: 7px 12px; color: #d8c8ff; font-size: 12px; font-weight: 900; text-transform: uppercase; }
.announce-card h3 { margin: 16px 0 8px; font-size: 24px; }
.announce-card p, .panel-copy, .panel-hint, .micro-note { color: var(--muted); line-height: 1.65; }
.announce-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.micro-note, .panel-hint { margin-top: 14px; font-size: 13px; color: #a99dbe; }
.clips { grid-column: span 1; }
.clip-grid { display:grid; grid-template-columns: repeat(3,1fr); gap:14px; }
.clip-card { min-width:0; transition: transform .2s ease; }
.clip-card:hover { transform: translateY(-4px); }
.clip-thumb { position:relative; height: 106px; border-radius:10px; overflow:hidden; border:1px solid rgba(255,255,255,.12); margin-bottom:12px; background:#111; }
.clip-thumb::before { content:""; position:absolute; inset:0; background: radial-gradient(circle at 40% 30%, rgba(174,83,255,.48), transparent 30%), linear-gradient(145deg, #1b1330, #05040a); }
.clip-thumb::after { content:""; position:absolute; inset: auto 10px 8px 10px; height: 34px; border-radius: 50%; background: rgba(0,0,0,.28); filter: blur(14px); }
.clip-thumb span { position:absolute; top:8px; left:8px; background:rgba(0,0,0,.65); padding:4px 7px; border-radius:4px; font-weight:800; z-index: 2; }
.face-one::before { background: radial-gradient(circle at 42% 30%, rgba(255,209,194,.5), transparent 16%), radial-gradient(circle at 52% 44%, rgba(142,69,255,.5), transparent 27%), linear-gradient(145deg, #1a102b, #05040a); }
.camp::before { background: radial-gradient(circle at 48% 60%, rgba(255,117,50,.58), transparent 12%), radial-gradient(circle at 55% 35%, rgba(111,63,255,.38), transparent 30%), linear-gradient(145deg, #080710, #1e1734); }
.face-two::before { background: radial-gradient(circle at 48% 30%, rgba(255,209,194,.52), transparent 16%), radial-gradient(circle at 35% 60%, rgba(93,41,203,.5), transparent 22%), linear-gradient(145deg, #1a102b, #05040a); }
.clip-card h3 { margin:0 0 4px; font-size:15px; }
.clip-card p, .about p, .support p, .collab p { margin:0; color: var(--muted); line-height:1.6; }
.about .feature-list { display:grid; gap:10px; padding:0; list-style:none; margin:14px 0 22px; color:#ddd6ec; }
.feature-list li { padding-left: 28px; position:relative; }
.feature-list li::before { content:"▣"; position:absolute; left:0; color:var(--purple-2); }
.commands { grid-column: span 2; }
.command-grid { display:grid; grid-template-columns: repeat(4,1fr); gap:10px; }
.command-grid div { border:1px solid rgba(255,255,255,.08); background:rgba(255,255,255,.025); border-radius:9px; padding:12px 14px; transition: border-color .2s ease, transform .2s ease; }
.command-grid div:hover { border-color: rgba(179, 92, 255, .42); transform: translateY(-2px); }
.command-grid b { display:block; color:#b35cff; margin-bottom:5px; }
.command-grid span { color:var(--muted); font-size:12px; }
.social-panel { display:grid; align-content:start; }
.panel-copy { margin-top: -6px; margin-bottom: 16px; }
.social-icons { display:flex; flex-wrap:wrap; gap:14px; }
.social-icons a { width:56px; height:56px; display:grid; place-items:center; border-radius:12px; background:rgba(255,255,255,.07); font-size:26px; font-weight:900; border:1px solid rgba(255,255,255,.08); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); transition: transform .2s ease, background .2s ease; }
.social-icons a:hover { transform: translateY(-3px); background: rgba(139, 61, 255, .22); }
.support { display:flex; justify-content:space-between; gap: 18px; overflow:hidden; }
.support .btn { margin-top: 18px; }
.jar { min-width:128px; height:150px; border:5px solid rgba(201,166,255,.4); border-top-width: 12px; border-radius: 22px 22px 38px 38px; display:grid; place-items:center; text-align:center; color:#d9c5ff; text-transform:uppercase; font-size:12px; transform:rotate(-5deg); background:radial-gradient(circle at 50% 80%, rgba(142,66,255,.38), transparent 50%); box-shadow:0 0 50px rgba(149,66,255,.28); }
.collab { padding-bottom: 40px; }
.collab-box { border-radius: var(--radius); padding: 34px; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.collab h2 { font-size: 34px; margin: 14px 0 8px; }
.collab p { max-width: 780px; }
.contact-list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.contact-list a { color: #d9c5ff; border: 1px solid rgba(255,255,255,.12); padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.035); }
.site-footer { width:min(var(--max), calc(100% - 56px)); margin: 0 auto; padding: 26px 0 40px; display:flex; justify-content:space-between; color:var(--muted); border-top:1px solid rgba(255,255,255,.08); }
.site-footer a { color: var(--purple-2); font-weight:800; }
.reveal { opacity:0; transform:translateY(18px); animation: reveal .7s ease forwards; }
.delay-1 { animation-delay:.12s; }
.delay-2 { animation-delay:.22s; }
@keyframes reveal { to { opacity:1; transform:none; } }
@media (max-width: 1280px) {
  .main-nav { gap: 18px; }
  .main-nav a { font-size: 13px; }
  .stream-zone { grid-template-columns: 1fr 260px; }
  .command-grid { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 1180px) {
  .site-header { grid-template-columns: auto auto; justify-content:space-between; }
  .burger { display:block; }
  .main-nav { position:fixed; inset:78px 0 auto 0; height:auto; display:none; flex-direction:column; align-items:flex-start; padding:24px; background:rgba(5,4,10,.96); border-bottom:1px solid rgba(255,255,255,.1); }
  .main-nav.open { display:flex; }
  .main-nav a::after { bottom:-8px; }
  .header-actions { display:none; }
  .hero { grid-template-columns:1fr; }
  .stream-zone { grid-template-columns:1fr; }
  .stream-card { border-radius:14px 14px 0 0; }
  .chat-card { border-radius:0 0 14px 14px; border-left:1px solid var(--line); border-top:0; }
  .dashboard { grid-template-columns:1fr 1fr; }
  .about, .support, .social-panel { grid-column: span 1; }
}
@media (max-width: 760px) {
  .section-pad, .site-footer { width:min(100% - 28px, var(--max)); }
  .site-header { height:70px; padding-inline:16px; }
  .main-nav { inset:70px 0 auto 0; }
  .hero { padding-top:10px; min-height:auto; gap: 18px; }
  .hero-copy { padding: 24px 0 8px; }
  h1 { font-size: 70px; letter-spacing: 1px; }
  .tagline { font-size:15px; }
  .hero-buttons, .social-row { gap:12px; }
  .btn-lg, .btn { width:100%; }
  .social-row { display:grid; grid-template-columns:1fr 1fr; font-size: 12px; }
  .stream-card { min-height:auto; }
  .player-wrap { height:260px; }
  .chat-card { display: none; }
  .dashboard { grid-template-columns:1fr; }
  .commands { grid-column:auto; }
  .command-grid { grid-template-columns:1fr 1fr; }
  .clip-grid { grid-template-columns:1fr; }
  .clip-thumb { height:150px; }
  .panel { padding: 20px; }
  .panel-title.between { align-items: flex-start; }
  .panel-title.between a { font-size: 12px; }
  .announce-actions .btn { width: 100%; }
  .collab-box, .support, .site-footer { flex-direction:column; align-items:flex-start; }
  .collab h2 { font-size: 28px; }
}
@media (max-width: 420px) {
  h1 { font-size: 58px; }
  .command-grid { grid-template-columns:1fr; }
  .social-row { grid-template-columns:1fr; }
  .player-wrap { height:220px; }
}

/* v1.2 polish */
:focus-visible {
  outline: 3px solid rgba(179, 92, 255, .72);
  outline-offset: 3px;
}
.quick-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: -8px;
  margin-bottom: 18px;
}
.quick-item {
  min-height: 78px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(179, 92, 255, .2);
  background: linear-gradient(135deg, rgba(255,255,255,.06), rgba(139,61,255,.06));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.quick-item:hover {
  transform: translateY(-3px);
  border-color: rgba(179, 92, 255, .48);
  background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(139,61,255,.13));
}
.quick-item b {
  display: block;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 5px;
}
.quick-item span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.announce-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.announce-tags span {
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.035);
  color: #dacbff;
  font-size: 12px;
  font-weight: 800;
}
.install-panel { grid-column: span 1; }
.install-steps {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.install-steps span {
  display: block;
  padding: 11px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.08);
  color: #ded5ef;
  font-size: 13px;
  line-height: 1.45;
}
.site-version {
  display: inline-flex;
  margin-left: 8px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(139,61,255,.18);
  color: #d7c4ff;
  font-size: 12px;
  font-weight: 800;
}
@media (max-width: 1180px) {
  .quick-strip { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .quick-strip { width: min(100% - 28px, var(--max)); margin-top: 10px; }
  .quick-item { min-height: auto; }
  .install-panel { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* v1.3 focused polish: player, clips, social buttons */
.stream-card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(28, 24, 47, .9), rgba(10, 9, 18, .9)),
    radial-gradient(circle at 18% 0%, rgba(179, 92, 255, .18), transparent 32%);
}
.stream-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(179, 92, 255, .18), inset 0 0 46px rgba(124, 53, 255, .08);
  z-index: 4;
}
.player-frame {
  margin: 0 14px 14px;
  height: 330px;
  border-radius: 14px;
  border: 1px solid rgba(179, 92, 255, .26);
  box-shadow: 0 18px 54px rgba(0, 0, 0, .38), 0 0 0 1px rgba(255,255,255,.04);
  background:
    radial-gradient(circle at 50% 36%, rgba(124, 53, 255, .16), transparent 34%),
    #070610;
}
.stream-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: -2px 14px 14px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  background: rgba(255,255,255,.035);
  color: var(--muted);
  font-size: 12px;
}
.stream-actions a {
  color: #d9c5ff;
  font-weight: 900;
  white-space: nowrap;
}
.stream-actions a:hover { color: #fff; }
.clip-card {
  position: relative;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
  overflow: hidden;
}
.clip-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(circle at 28% 0%, rgba(179, 92, 255, .22), transparent 36%);
  opacity: 0;
  transition: opacity .2s ease;
  pointer-events: none;
}
.clip-card:hover {
  transform: translateY(-5px);
  border-color: rgba(179, 92, 255, .46);
  box-shadow: 0 16px 34px rgba(0,0,0,.28), 0 0 28px rgba(124, 53, 255, .12);
}
.clip-card:hover::before { opacity: 1; }
.clip-thumb {
  height: 128px;
  border-radius: 13px;
  margin-bottom: 10px;
}
.clip-thumb i {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(139, 61, 255, .92);
  box-shadow: 0 0 24px rgba(139, 61, 255, .5);
  font-style: normal;
  font-size: 13px;
  z-index: 2;
}
.clip-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 4px 0 8px;
  color: #bdb1d3;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 900;
}
.clip-meta em {
  font-style: normal;
  color: #b35cff;
}
.clip-action {
  display: inline-flex;
  margin-top: 10px;
  color: #d9c5ff;
  font-size: 13px;
  text-transform: uppercase;
}
.social-icons-rich {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.social-icons-rich .social-link {
  width: auto;
  height: auto;
  min-height: 72px;
  display: grid;
  grid-template-columns: 42px 1fr;
  grid-template-areas: "icon title" "icon desc";
  align-items: center;
  justify-content: start;
  gap: 0 12px;
  padding: 12px;
  text-align: left;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(255,255,255,.07), rgba(124,53,255,.07));
}
.social-icons-rich .social-link span {
  grid-area: icon;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 20px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16);
}
.social-icons-rich .social-link b {
  grid-area: title;
  color: #fff;
  font-size: 14px;
}
.social-icons-rich .social-link small {
  grid-area: desc;
  color: var(--muted);
  font-size: 12px;
  margin-top: -8px;
}
.social-icons-rich .tg:hover { background: linear-gradient(135deg, rgba(44, 165, 224, .18), rgba(124,53,255,.1)); }
.social-icons-rich .vk:hover { background: linear-gradient(135deg, rgba(47, 117, 232, .18), rgba(124,53,255,.1)); }
.social-icons-rich .yt:hover { background: linear-gradient(135deg, rgba(255, 0, 0, .16), rgba(124,53,255,.1)); }
.social-icons-rich .tw:hover { background: linear-gradient(135deg, rgba(145, 70, 255, .24), rgba(124,53,255,.1)); }
.social-icons-rich .tt:hover { background: linear-gradient(135deg, rgba(255, 0, 80, .14), rgba(0, 242, 234, .1)); }
@media (max-width: 1180px) {
  .player-frame { height: 360px; }
}
@media (max-width: 760px) {
  .player-frame { height: 245px; margin: 0 10px 10px; border-radius: 12px; }
  .stream-actions { margin: 0 10px 10px; align-items: flex-start; flex-direction: column; }
  .clip-thumb { height: 170px; }
  .social-icons-rich { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .player-frame { height: 218px; }
}

/* v1.5 domain + share polish */
.player-frame {
  overflow: hidden;
}
.player-frame .player-wrap {
  height: 100%;
}
.stream-actions span {
  line-height: 1.45;
}
.clip-card h3,
.clip-card p,
.clip-action,
.clip-meta {
  position: relative;
  z-index: 1;
}
.clip-action {
  font-weight: 900;
  letter-spacing: .02em;
}
.social-icons-rich .social-link {
  color: inherit;
}
@media (max-width: 760px) {
  .stream-card { border-radius: 14px; }
}


/* v1.7 — real Twitch chat + primary domain polish */
.chat-card {
  display: flex;
  flex-direction: column;
  min-height: 432px;
}
.chat-live {
  color: #d9c5ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}
.chat-embed-wrap {
  position: relative;
  flex: 1;
  min-height: 330px;
  background: #0b0912;
  overflow: hidden;
}
.chat-embed-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #0b0912;
  z-index: 2;
}
.chat-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 8px;
  padding: 20px;
  text-align: center;
  color: var(--muted);
  background: radial-gradient(circle at 50% 0%, rgba(124, 53, 255, .16), transparent 34%), #0b0912;
  z-index: 1;
}
.chat-placeholder strong { color: var(--text); }
.chat-placeholder span { font-size: 12px; line-height: 1.45; }
.chat-open-row {
  margin-top: 12px;
}
@media (max-width: 1180px) {
  .chat-card { min-height: 360px; }
  .chat-embed-wrap { min-height: 300px; }
}
@media (max-width: 760px) {
  .chat-card { display: none; }
}

/* v1.7.3: show “На телефон” only on mobile */
.install-panel {
  display: none;
}

@media (max-width: 760px) {
  .install-panel {
    display: block;
    grid-column: auto;
  }
}

/* v1.8 layout rework: hero first, larger stream block, reordered content */
.brand-icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.14em;
  fill: currentColor;
}
.icon-link .brand-icon { width: 25px; height: 25px; }
.btn-icon .brand-icon { width: 18px; height: 18px; }
.social-row .brand-icon { width: 22px; height: 22px; }
.social-icons-brand .brand-icon { width: 28px; height: 28px; }

.hero-main {
  grid-template-columns: 1fr;
  min-height: auto;
  padding-top: 64px;
  padding-bottom: 38px;
}
.hero-copy-main {
  max-width: 920px;
  padding: 38px 0 22px;
}
.hero-copy-main::after {
  right: 5%;
  top: 0;
  width: 460px;
  height: 440px;
  opacity: .42;
}
.hero-copy-main h1 {
  font-size: clamp(86px, 12vw, 164px);
  max-width: 900px;
}
.hero-copy-main .tagline { max-width: 760px; }
.hero-copy-main .description { max-width: 680px; }

.live-section {
  padding-bottom: 20px;
}
.live-zone {
  display: grid;
  grid-template-columns: minmax(0, 2.35fr) minmax(360px, .8fr);
  gap: 18px;
  align-items: stretch;
}
.live-zone .stream-card,
.live-zone .chat-card {
  border-radius: 22px;
  border: 1px solid rgba(174, 92, 255, .28);
  overflow: hidden;
}
.live-zone .stream-card {
  min-height: 590px;
}
.live-zone .player-frame {
  height: 506px;
  margin: 16px 16px 0;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.1);
  overflow: hidden;
  background: #05040a;
}
.live-zone .player-wrap { height: 100%; }
.live-zone .stream-actions {
  margin: 14px 16px 16px;
  border-radius: 14px;
}
.live-zone .chat-card {
  min-height: 590px;
  display: flex;
  flex-direction: column;
}
.live-zone .chat-embed-wrap {
  min-height: 474px;
  flex: 1;
}
.live-zone .chat-open-row { margin: 14px 16px 16px; }

.content-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
  padding-top: 28px;
  padding-bottom: 34px;
}
.content-grid > .panel {
  position: relative;
  min-height: unset;
  overflow: hidden;
}
.content-grid > .panel::before,
.collab-box::before,
.stream-card::before,
.chat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 0%, rgba(179, 92, 255, .18), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,.055), transparent 30%);
  opacity: .85;
}
.content-grid > .panel > *,
.collab-box > *,
.stream-card > *,
.chat-card > * {
  position: relative;
  z-index: 1;
}
.content-grid .about { grid-column: span 4; }
.content-grid .support { grid-column: span 4; }
.content-grid .social-panel { grid-column: span 4; }
.content-grid .commands { grid-column: 1 / -1; }
.content-grid .schedule { grid-column: span 5; }
.content-grid .clips { grid-column: span 7; }

.glass {
  background:
    linear-gradient(180deg, rgba(29, 25, 48, .86), rgba(11, 9, 18, .9));
  border-color: rgba(179, 92, 255, .22);
}
.panel {
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.panel:hover {
  transform: translateY(-3px);
  border-color: rgba(190, 126, 255, .42);
  box-shadow: 0 30px 90px rgba(0,0,0,.55), 0 0 42px rgba(139, 61, 255, .08), inset 0 1px 0 rgba(255,255,255,.08);
}
.panel-title h2 {
  letter-spacing: .035em;
}

.command-grid-wide {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.command-grid-wide div {
  border-radius: 14px;
}
.command-grid-wide b {
  color: #d7bdff;
}

.social-icons-rich.social-icons-brand {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.social-icons-brand .social-link {
  min-height: 112px;
  align-content: center;
  background: rgba(255,255,255,.045);
}
.social-icons-brand .social-link span {
  color: #fff;
  filter: drop-shadow(0 0 10px rgba(174, 92, 255, .45));
}
.social-icons-brand .tg span { color: #36aee2; }
.social-icons-brand .vk span { color: #5288c1; }
.social-icons-brand .yt span { color: #ff3b3b; }
.social-icons-brand .tw span { color: #a970ff; }
.social-icons-brand .tt span { color: #fff; }

.support {
  grid-template-columns: 1fr auto;
  gap: 18px;
}
.support .jar {
  transform: scale(.94);
  transform-origin: right center;
}

.clip-grid { gap: 16px; }
.clip-card {
  border-radius: 16px;
  padding: 12px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.08);
}
.clip-card:hover {
  transform: translateY(-5px) scale(1.01);
  border-color: rgba(190, 126, 255, .34);
}
.clip-thumb { height: 150px; border-radius: 14px; }
.clip-thumb i {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b3dff, #b35cff);
  box-shadow: 0 0 22px rgba(139,61,255,.42);
  z-index: 3;
  font-style: normal;
}

.collab { padding-top: 6px; }
.collab-box {
  position: relative;
  overflow: hidden;
}

@media (max-width: 1320px) {
  .live-zone { grid-template-columns: minmax(0, 2fr) minmax(320px, .9fr); }
  .live-zone .player-frame { height: 440px; }
  .live-zone .stream-card, .live-zone .chat-card { min-height: 520px; }
  .live-zone .chat-embed-wrap { min-height: 405px; }
  .command-grid-wide { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .social-icons-rich.social-icons-brand { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .hero-main { padding-top: 28px; padding-bottom: 20px; }
  .live-zone { grid-template-columns: 1fr; }
  .live-zone .stream-card { border-radius: 18px; min-height: auto; }
  .live-zone .player-frame { height: 360px; }
  .live-zone .chat-card { display: none; }
  .content-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .content-grid .about,
  .content-grid .support,
  .content-grid .social-panel,
  .content-grid .commands,
  .content-grid .schedule,
  .content-grid .clips { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .hero-copy-main h1 { font-size: clamp(66px, 20vw, 96px); }
  .live-zone .player-frame { height: 245px; margin: 10px; }
  .live-zone .stream-actions { margin: 0 10px 10px; }
  .command-grid-wide { grid-template-columns: 1fr; }
  .social-icons-rich.social-icons-brand { grid-template-columns: 1fr; }
  .support { grid-template-columns: 1fr; }
  .support .jar { transform: none; }
}


/* v1.8.1 requested layout fixes */
.hero-copy-main h1 {
  margin-bottom: 30px;
}
.hero-copy-main .tagline {
  margin-top: 0;
  margin-bottom: 20px;
  line-height: 1.22;
}

.live-zone .stream-actions-clean {
  min-height: 52px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.live-zone .stream-actions-clean a {
  margin-left: auto;
}
.live-zone .chat-card {
  min-height: 590px;
}
.live-zone .chat-embed-wrap {
  min-height: 530px;
  height: 100%;
}
.live-zone .chat-open-row {
  display: none;
}

.social-icons-rich.social-icons-brand {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.social-icons-brand .social-link {
  min-height: 84px;
  grid-template-columns: 46px minmax(0, 1fr);
  grid-template-areas: "icon title" "icon desc";
  align-content: center;
  align-items: center;
  padding: 13px;
  gap: 0 12px;
  overflow: hidden;
}
.social-icons-brand .social-link span {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
}
.social-icons-brand .social-link b,
.social-icons-brand .social-link small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.social-icons-brand .social-link b {
  font-size: 13px;
  line-height: 1.1;
}
.social-icons-brand .social-link small {
  font-size: 11px;
  line-height: 1.15;
  margin-top: -4px;
}
.social-panel .btn.full {
  margin-top: 18px;
}

.clip-thumb-modern {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 5px;
  padding: 14px;
  isolation: isolate;
}
.clip-thumb-modern::before {
  background:
    radial-gradient(circle at 18% 16%, rgba(255,255,255,.18), transparent 12%),
    radial-gradient(circle at 76% 28%, rgba(179, 92, 255, .48), transparent 22%),
    radial-gradient(circle at 42% 72%, rgba(86, 39, 180, .42), transparent 27%),
    linear-gradient(145deg, rgba(21,16,38,.96), rgba(4,3,9,.96));
}
.clip-thumb-modern::after {
  inset: 0;
  height: auto;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.58)),
    linear-gradient(135deg, rgba(139,61,255,.16), transparent 48%);
  filter: none;
  z-index: 1;
}
.clip-thumb-modern span,
.clip-thumb-modern strong,
.clip-thumb-modern small,
.clip-thumb-modern i {
  position: relative;
  z-index: 3;
}
.clip-thumb-modern strong {
  max-width: calc(100% - 50px);
  color: #fff;
  font-size: 17px;
  line-height: 1.1;
  text-shadow: 0 2px 14px rgba(0,0,0,.5);
}
.clip-thumb-modern small {
  max-width: calc(100% - 48px);
  color: #d9cfff;
  font-size: 12px;
  line-height: 1.25;
}
.clip-thumb-all::before {
  background:
    radial-gradient(circle at 24% 20%, rgba(255,255,255,.16), transparent 12%),
    radial-gradient(circle at 70% 24%, rgba(165, 76, 255, .62), transparent 23%),
    linear-gradient(145deg, #1a1330, #05040a 76%);
}
.clip-thumb-month::before {
  background:
    radial-gradient(circle at 25% 25%, rgba(255, 122, 54, .45), transparent 14%),
    radial-gradient(circle at 70% 62%, rgba(154, 72, 255, .55), transparent 24%),
    linear-gradient(145deg, #1a1328, #06040d 78%);
}
.clip-thumb-vod::before {
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 220, 180, .34), transparent 13%),
    radial-gradient(circle at 72% 46%, rgba(125, 58, 255, .5), transparent 25%),
    linear-gradient(145deg, #161425, #05040a 78%);
}

@media (max-width: 1320px) {
  .live-zone .chat-embed-wrap { min-height: 460px; }
  .social-icons-rich.social-icons-brand { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .hero-copy-main h1 { margin-bottom: 22px; }
  .live-zone .stream-actions-clean { justify-content: flex-start; }
}
@media (max-width: 760px) {
  .hero-copy-main .tagline { margin-bottom: 16px; }
  .live-zone .stream-actions-clean { margin: 0 10px 10px; align-items: flex-start; }
  .social-icons-rich.social-icons-brand { grid-template-columns: 1fr; }
  .clip-thumb-modern strong { font-size: 18px; }
}


/* v1.8.2 hero/chat/icon/clip polish */

.hero-main {
  padding-top: 46px;
  padding-bottom: 30px;
}
.hero-copy-main {
  padding: 20px 0 14px;
}
.hero-copy-main h1 {
  margin-top: 0;
  margin-bottom: 24px;
}
.hero-copy-main .tagline {
  margin-bottom: 18px;
}
.twitch-mark {
  width: 1em;
  height: 1em;
}
.social-icons-brand .tw span {
  align-items: center;
  justify-items: center;
}
.social-icons-brand .tw .brand-icon,
.social-row .tw .brand-icon,
.btn-icon .twitch-mark,
.icon-link .twitch-mark {
  transform: translateY(0.02em);
}
.clip-thumb-modern {
  justify-content: flex-start;
  gap: 0;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), inset 0 -32px 60px rgba(0,0,0,.34);
}
.clip-thumb-modern::before {
  opacity: 1;
}
.clip-thumb-modern::after {
  inset: 0;
  height: auto;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(3,2,8,.05) 0%, rgba(3,2,8,.14) 40%, rgba(3,2,8,.82) 100%),
    radial-gradient(circle at 82% 20%, rgba(255,255,255,.12), transparent 10%),
    radial-gradient(circle at 20% 82%, rgba(124,53,255,.16), transparent 16%);
  filter: none;
  z-index: 1;
}
.clip-thumb-modern span {
  align-self: flex-start;
  top: auto;
  left: auto;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(12, 10, 20, .58);
  border: 1px solid rgba(255,255,255,.1);
  color: #f6f0ff;
  backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
}
.clip-thumb-modern span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b35cff;
  box-shadow: 0 0 12px rgba(179,92,255,.55);
}
.clip-thumb-modern strong {
  margin-top: auto;
  max-width: calc(100% - 56px);
  font-size: 24px;
  line-height: 1.02;
  letter-spacing: -.02em;
}
.clip-thumb-modern small {
  display: block;
  max-width: 78%;
  margin-top: 8px;
  color: #ded3f8;
  font-size: 13px;
  line-height: 1.3;
}
.clip-thumb-modern i {
  width: 42px;
  height: 42px;
  right: 14px;
  bottom: 14px;
  font-size: 14px;
}
.clip-thumb-all::before {
  background:
    radial-gradient(circle at 22% 26%, rgba(255,255,255,.16), transparent 11%),
    radial-gradient(circle at 72% 30%, rgba(168, 86, 255, .62), transparent 21%),
    radial-gradient(circle at 54% 74%, rgba(106, 59, 255, .30), transparent 24%),
    linear-gradient(135deg, #21163c, #080610 76%);
}
.clip-thumb-month::before {
  background:
    radial-gradient(circle at 26% 24%, rgba(255, 149, 93, .46), transparent 11%),
    radial-gradient(circle at 62% 64%, rgba(178, 88, 255, .52), transparent 20%),
    radial-gradient(circle at 84% 26%, rgba(255,255,255,.08), transparent 8%),
    linear-gradient(135deg, #1f162d, #080610 78%);
}
.clip-thumb-vod::before {
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 229, 188, .22), transparent 10%),
    radial-gradient(circle at 74% 40%, rgba(120, 58, 255, .48), transparent 20%),
    radial-gradient(circle at 58% 74%, rgba(66, 46, 160, .24), transparent 24%),
    linear-gradient(135deg, #19172b, #080610 78%);
}
.clip-thumb-all strong::after,
.clip-thumb-month strong::after,
.clip-thumb-vod strong::after {
  content: "";
  display: block;
  width: 74px;
  height: 3px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(179,92,255,.9), rgba(255,255,255,.18));
}
@media (max-width: 980px) {
  .hero-main {
    padding-top: 28px;
    padding-bottom: 20px;
  }
}
@media (max-width: 760px) {
  .hero-main {
    padding-top: 20px;
  }
  .hero-copy-main {
    padding-top: 8px;
  }
  .clip-thumb-modern strong {
    font-size: 22px;
  }
  .clip-thumb-modern small {
    max-width: 88%;
  }
}


/* v1.8.5 clip preview cleanup + stable nav anchors */
.clip-thumb-modern {
  min-height: 170px;
  padding: 16px;
  justify-content: flex-end;
  overflow: hidden;
  background: #090713;
}
.clip-thumb-modern::before {
  opacity: 1;
}
.clip-thumb-modern::after {
  inset: 0;
  height: auto;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.18) 46%, rgba(0,0,0,.76)),
    linear-gradient(135deg, rgba(255,255,255,.08), transparent 38%);
  filter: none;
  z-index: 1;
}
.clip-thumb-modern span {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(8, 6, 16, .68);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  font-size: 12px;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.clip-thumb-modern span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b35cff;
  box-shadow: 0 0 14px rgba(179,92,255,.65);
}
.clip-thumb-modern .clip-art {
  position: absolute;
  right: 18px;
  top: 22px;
  z-index: 2;
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(139,61,255,.54), rgba(179,92,255,.18));
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.86);
  font-size: 44px;
  font-style: normal;
  text-shadow: 0 0 18px rgba(255,255,255,.16);
  box-shadow: 0 18px 54px rgba(124,53,255,.22), inset 0 1px 0 rgba(255,255,255,.12);
}
.clip-thumb-modern strong {
  position: relative;
  z-index: 4;
  max-width: calc(100% - 54px);
  margin: 0;
  color: #fff;
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: -.02em;
  text-shadow: 0 3px 18px rgba(0,0,0,.62);
}
.clip-thumb-modern small {
  position: relative;
  z-index: 4;
  max-width: calc(100% - 54px);
  margin-top: 8px;
  color: #ded4f6;
  font-size: 13px;
  line-height: 1.3;
}
.clip-thumb-modern i {
  z-index: 5;
  width: 42px;
  height: 42px;
  right: 14px;
  bottom: 14px;
  border: 1px solid rgba(255,255,255,.18);
}
.clip-thumb-all::before {
  background:
    radial-gradient(circle at 70% 24%, rgba(179,92,255,.58), transparent 22%),
    radial-gradient(circle at 26% 68%, rgba(99,58,255,.22), transparent 26%),
    linear-gradient(145deg, #1d1434, #070510 78%);
}
.clip-thumb-month::before {
  background:
    radial-gradient(circle at 22% 24%, rgba(255,123,65,.34), transparent 15%),
    radial-gradient(circle at 72% 62%, rgba(177,92,255,.5), transparent 24%),
    linear-gradient(145deg, #1c152b, #070510 78%);
}
.clip-thumb-vod::before {
  background:
    radial-gradient(circle at 72% 34%, rgba(124,67,255,.48), transparent 24%),
    radial-gradient(circle at 26% 28%, rgba(255,235,210,.16), transparent 16%),
    linear-gradient(145deg, #19172c, #070510 78%);
}
.clip-thumb-all strong::after,
.clip-thumb-month strong::after,
.clip-thumb-vod strong::after {
  content: none;
}
@media (max-width: 760px) {
  .clip-thumb-modern {
    min-height: 180px;
  }
  .clip-thumb-modern .clip-art {
    width: 78px;
    height: 78px;
    font-size: 38px;
  }
}



/* v1.8.5 simplified clips, two-item nav, centered support */
html {
  scroll-padding-top: 88px;
}
#about {
  scroll-margin-top: 86px;
}
.main-nav {
  gap: 34px;
}
.main-nav a {
  min-width: 88px;
  text-align: center;
}

/* Very simple clip previews: no text inside image area */
.clip-thumb-simple {
  position: relative;
  height: 150px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid rgba(255,255,255,.1);
  background:
    radial-gradient(circle at 50% 45%, rgba(179,92,255,.34), transparent 31%),
    linear-gradient(145deg, #171126, #05040a 78%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    inset 0 -42px 70px rgba(0,0,0,.36);
}
.clip-thumb-simple::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 24% 22%, rgba(255,255,255,.09), transparent 10%),
    radial-gradient(circle at 78% 18%, rgba(179,92,255,.25), transparent 20%),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(0,0,0,.48));
  z-index: 1;
}
.clip-thumb-simple .clip-glyph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 2;
  color: rgba(255,255,255,.9);
  font-size: 58px;
  text-shadow: 0 0 28px rgba(179,92,255,.58);
}
.clip-thumb-simple i {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  z-index: 3;
  font-style: normal;
  font-size: 14px;
  color: #fff;
  background: linear-gradient(135deg, #8b3dff, #b35cff);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 0 24px rgba(139,61,255,.48);
}
.clip-thumb-simple.clip-thumb-all {
  background:
    radial-gradient(circle at 54% 45%, rgba(179,92,255,.42), transparent 30%),
    linear-gradient(145deg, #1b1231, #05040a 78%);
}
.clip-thumb-simple.clip-thumb-month {
  background:
    radial-gradient(circle at 38% 44%, rgba(255,122,64,.28), transparent 24%),
    radial-gradient(circle at 68% 55%, rgba(179,92,255,.35), transparent 28%),
    linear-gradient(145deg, #1a1327, #05040a 78%);
}
.clip-thumb-simple.clip-thumb-vod {
  background:
    radial-gradient(circle at 62% 43%, rgba(116,65,255,.38), transparent 31%),
    linear-gradient(145deg, #17162b, #05040a 78%);
}
.clip-card:hover .clip-thumb-simple {
  border-color: rgba(190,126,255,.34);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.1),
    0 0 34px rgba(139,61,255,.13);
}

/* Support card: less empty, more centered */
.support-centered {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  align-items: center;
  gap: 22px;
  min-height: 100%;
}
.support-centered .support-copy {
  display: grid;
  align-content: center;
  justify-items: start;
}
.support-centered .panel-title {
  margin-bottom: 14px;
}
.support-centered p {
  max-width: 420px;
}
.support-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 2px;
}
.support-pills span {
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.1);
  color: #d9c5ff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.support-centered .btn {
  margin-top: 18px;
}
.support-visual {
  display: grid;
  place-items: center;
  min-height: 190px;
}
.jar-glow {
  position: relative;
  width: 138px;
  height: 162px;
  min-width: 138px;
  transform: none;
  border: 2px solid rgba(214,178,255,.48);
  border-top: 12px solid rgba(214,178,255,.62);
  border-radius: 24px 24px 38px 38px;
  background:
    radial-gradient(circle at 50% 78%, rgba(179,92,255,.5), transparent 50%),
    linear-gradient(180deg, rgba(255,255,255,.12), rgba(139,61,255,.08));
  box-shadow:
    0 0 48px rgba(139,61,255,.32),
    inset 0 1px 0 rgba(255,255,255,.18),
    inset 0 -28px 48px rgba(139,61,255,.18);
  color: #fff;
}
.jar-glow::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: -23px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,.16), rgba(179,92,255,.54), rgba(255,255,255,.16));
  box-shadow: 0 0 18px rgba(179,92,255,.45);
}
.jar-heart {
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b3dff, #b35cff);
  box-shadow: 0 0 28px rgba(179,92,255,.5);
  font-size: 28px;
  line-height: 1;
}
.jar-text {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 26px;
  color: #f4ecff;
  font-size: 11px;
  line-height: 1.25;
  letter-spacing: .03em;
}
.coin {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff, #c9a6ff);
  box-shadow: 0 0 18px rgba(201,166,255,.5);
  opacity: .9;
}
.coin-a { left: 22px; top: 78px; }
.coin-b { right: 24px; top: 88px; width: 13px; height: 13px; opacity: .74; }
.coin-c { left: 58px; top: 104px; width: 11px; height: 11px; opacity: .64; }

@media (max-width: 980px) {
  .support-centered {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .support-visual {
    justify-content: start;
    min-height: 150px;
  }
}
@media (max-width: 760px) {
  #about {
    scroll-margin-top: 78px;
  }
  .main-nav a {
    min-width: auto;
  }
  .clip-thumb-simple {
    height: 170px;
  }
  .support-centered {
    justify-items: start;
  }
}


/* v1.8.5 requested fixes: exact about scroll, larger player, mobile chat, live status, support layout */
#about {
  scroll-margin-top: 80px;
}
.card-top strong {
  display: inline-flex;
  align-items: center;
  gap: 0;
}
.live-dot.status-online {
  background: #22d37f;
  box-shadow: 0 0 18px rgba(34, 211, 127, .95);
}
.live-dot.status-offline {
  background: #ff304d;
  box-shadow: 0 0 18px rgba(255, 48, 77, .9);
}
.live-dot.status-checking {
  background: #ffd35a;
  box-shadow: 0 0 18px rgba(255, 211, 90, .85);
}

.live-zone .stream-card {
  display: flex;
  flex-direction: column;
  min-height: 640px;
}
.live-zone .player-frame {
  flex: 1;
  height: auto;
  min-height: 570px;
  margin: 16px;
}
.twitch-player-shell,
.twitch-player-shell iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.player-wrap.player-ready .offline-placeholder {
  opacity: 0;
  pointer-events: none;
}
.live-zone .chat-card {
  min-height: 640px;
}
.live-zone .chat-embed-wrap {
  min-height: 586px;
}

.support-centered {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 14px;
}
.support-centered .support-copy {
  display: block;
}
.support-centered .support-copy p {
  max-width: 100%;
}
.support-visual {
  flex: 1;
  min-height: 180px;
  align-items: end;
  justify-content: center;
  padding-top: 4px;
}
.jar-glow {
  width: 150px;
  height: 142px;
  min-width: 150px;
  border-radius: 24px 24px 36px 36px;
}
.jar-heart {
  top: 20px;
}
.jar-text {
  bottom: 20px;
}
.coin {
  background: linear-gradient(135deg, #f8efff, #a95cff);
  border: 1px solid rgba(255,255,255,.28);
  opacity: .48;
  box-shadow: 0 0 12px rgba(179,92,255,.32);
}
.coin-a { left: 26px; top: 72px; width: 12px; height: 12px; }
.coin-b { right: 28px; top: 76px; width: 10px; height: 10px; }
.coin-c { left: 64px; top: 94px; width: 9px; height: 9px; }

.clip-thumb-simple .clip-glyph {
  font-family: "Russo One", Inter, sans-serif;
  letter-spacing: .02em;
}
.clip-thumb-simple .clip-word {
  font-size: 46px;
  text-shadow: 0 0 26px rgba(179,92,255,.72);
}
.clip-thumb-simple .clip-record {
  display: grid;
  place-items: center;
}
.clip-thumb-simple .clip-record > span {
  width: 58px;
  height: 58px;
  display: block;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff3254, #b35cff);
  box-shadow: 0 0 28px rgba(255,48,77,.42), 0 0 36px rgba(179,92,255,.28);
  position: relative;
}
.clip-thumb-simple .clip-record > span::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
}

.announce-card h3 {
  margin-top: 0;
}

@media (max-width: 1320px) {
  .live-zone .stream-card,
  .live-zone .chat-card {
    min-height: 580px;
  }
  .live-zone .player-frame {
    min-height: 510px;
  }
  .live-zone .chat-embed-wrap {
    min-height: 526px;
  }
}
@media (max-width: 980px) {
  #about {
    scroll-margin-top: 80px;
  }
  .live-zone .stream-card {
    min-height: auto;
  }
  .live-zone .player-frame {
    min-height: 360px;
    height: 360px;
    margin: 12px;
  }
  .live-zone .chat-card {
    display: flex;
    min-height: 430px;
  }
  .live-zone .chat-embed-wrap {
    min-height: 376px;
  }
}
@media (max-width: 760px) {
  #about {
    scroll-margin-top: 72px;
  }
  .live-zone .player-frame {
    height: 245px;
    min-height: 245px;
    margin: 10px;
  }
  .live-zone .chat-card {
    display: flex;
    min-height: 390px;
    border-radius: 18px;
  }
  .live-zone .chat-embed-wrap {
    min-height: 336px;
  }
  .support-visual {
    justify-content: center;
  }
  .clip-thumb-simple .clip-word {
    font-size: 42px;
  }
  .clip-thumb-simple .clip-record > span {
    width: 54px;
    height: 54px;
  }
}


/* v1.8.8 — softer visual polish + Step 2 clip cards
   Scope: styles.css only. Glow rolled back to calm values. */

/* Calm global cards back down */
.glass,
.panel,
.stream-card,
.chat-card,
.collab-box {
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.05);
  border-color: rgba(179, 92, 255, .22);
}

.content-grid > .panel:hover,
.collab-box:hover,
.panel:hover {
  transform: translateY(-2px);
  border-color: rgba(190, 126, 255, .30);
  box-shadow: 0 26px 74px rgba(0,0,0,.48), 0 0 24px rgba(139,61,255,.06), inset 0 1px 0 rgba(255,255,255,.065);
}

/* Keep headings a little cleaner, but not overlit */
.panel-title h2 {
  letter-spacing: .04em;
  text-shadow: none;
}

.purple-icon {
  text-shadow: 0 0 12px rgba(172,82,255,.35);
}

/* Softer command hover */
.command-grid div:hover {
  transform: translateY(-1px);
  border-color: rgba(179, 92, 255, .30);
}

/* Softer social hover */
.social-icons-brand .social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0,0,0,.18), 0 0 18px rgba(139,61,255,.07);
}

/* Step 2 — clip cards: clearer media cards, not overly glowing */
.clip-grid {
  gap: 18px;
}

.clip-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.clip-card:hover {
  transform: translateY(-2px);
  border-color: rgba(190, 126, 255, .28);
  box-shadow: 0 16px 34px rgba(0,0,0,.24), 0 0 18px rgba(139,61,255,.07);
}

.clip-card::before {
  opacity: 0;
}

.clip-thumb,
.clip-thumb-simple,
.clip-thumb-modern {
  height: 176px;
  border-radius: 15px;
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

/* Works with current simple thumbnails */
.clip-thumb-simple {
  position: relative;
  background:
    radial-gradient(circle at 50% 42%, rgba(179,92,255,.26), transparent 32%),
    linear-gradient(145deg, #171126, #05040a 78%);
}

.clip-thumb-simple::before {
  content: "TWITCH";
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 4;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(10, 8, 18, .68);
  border: 1px solid rgba(255,255,255,.10);
  color: #d9c5ff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
}

.clip-thumb-simple::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.22) 48%, rgba(0,0,0,.62)),
    radial-gradient(circle at 80% 18%, rgba(255,255,255,.08), transparent 12%);
}

.clip-thumb-simple .clip-glyph {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.92);
  font-family: "Russo One", Inter, sans-serif;
  font-size: 48px;
  letter-spacing: .02em;
  text-shadow: 0 0 22px rgba(179,92,255,.38);
}

.clip-thumb-simple .clip-record > span {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff3355, #b35cff);
  box-shadow: 0 0 22px rgba(255,48,77,.26), 0 0 24px rgba(179,92,255,.16);
}

.clip-thumb-simple i,
.clip-thumb i {
  width: 42px;
  height: 42px;
  right: 14px;
  bottom: 14px;
  z-index: 5;
  border: 1px solid rgba(255,255,255,.16);
  background: linear-gradient(135deg, #8b3dff, #a955ff);
  box-shadow: 0 0 18px rgba(139,61,255,.28);
  transition: transform .18s ease, box-shadow .18s ease;
}

.clip-card:hover .clip-thumb-simple i,
.clip-card:hover .clip-thumb i {
  transform: scale(1.04);
  box-shadow: 0 0 22px rgba(139,61,255,.34);
}

/* Also supports older modern thumbnails without changing HTML */
.clip-thumb-modern {
  padding: 14px;
  justify-content: flex-end;
}

.clip-thumb-modern span {
  background: rgba(10, 8, 18, .68);
  border: 1px solid rgba(255,255,255,.10);
}

.clip-thumb-modern strong {
  font-size: 20px;
  line-height: 1.05;
}

.clip-thumb-modern small {
  color: #d4c9ee;
}

/* Clip text area */
.clip-meta {
  margin: 2px 0 9px;
  color: #afa3c5;
}

.clip-meta em {
  color: #c59fff;
}

.clip-card h3 {
  font-size: 16px;
  line-height: 1.25;
  margin-bottom: 6px;
}

.clip-card p {
  color: #aaa0bc;
}

.clip-action {
  margin-top: auto;
  padding-top: 12px;
  color: #d9c5ff;
}

.clip-action::after {
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  margin-top: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(179,92,255,.8), transparent);
  opacity: .65;
}

@media (max-width: 760px) {
  .clip-thumb,
  .clip-thumb-simple,
  .clip-thumb-modern {
    height: 174px;
  }

  .clip-card:hover,
  .content-grid > .panel:hover,
  .collab-box:hover,
  .panel:hover {
    transform: none;
  }
}


/* v1.8.9 — Step 3: chat commands grouping
   Scope: commands HTML + styles only. Player/DNS/Timeweb untouched. */

.commands-upgraded {
  grid-column: 1 / -1;
}

.command-categories {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.command-category {
  position: relative;
  min-width: 0;
  padding: 15px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.085);
  background:
    radial-gradient(circle at 20% 0%, rgba(179,92,255,.10), transparent 34%),
    rgba(255,255,255,.026);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045);
  overflow: hidden;
}

.command-category::before {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(190,126,255,.34), transparent);
  opacity: .75;
}

.command-category-head {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
}

.command-category-head strong {
  color: #f1e9ff;
  font-size: 14px;
  line-height: 1.1;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.command-category-head span {
  color: #a99dbd;
  font-size: 12px;
  line-height: 1.35;
}

.command-pill-grid {
  display: grid;
  gap: 8px;
}

.command-pill {
  position: relative;
  display: grid;
  gap: 4px;
  min-height: 58px;
  padding: 11px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.075);
  background:
    linear-gradient(135deg, rgba(255,255,255,.046), rgba(139,61,255,.045));
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.command-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(190,126,255,.26);
  background:
    linear-gradient(135deg, rgba(255,255,255,.058), rgba(139,61,255,.075));
}

.command-pill b {
  color: #d9c5ff;
  font-size: 13px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.command-pill span {
  color: #a99dbd;
  font-size: 12px;
  line-height: 1.25;
}

.command-pill::after {
  content: "";
  position: absolute;
  right: 11px;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(179,92,255,.65);
  box-shadow: 0 0 10px rgba(179,92,255,.28);
  opacity: .62;
}

@media (max-width: 1320px) {
  .command-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .command-categories {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .command-category {
    padding: 13px;
    border-radius: 16px;
  }

  .command-pill {
    min-height: auto;
  }

  .command-pill:hover {
    transform: none;
  }
}


/* v1.8.10 — micro polish for existing “Полезные ссылки” buttons only
   Keeps the current compact 2-column layout. No HTML/JS changes. */

.social-icons-rich.social-icons-brand {
  gap: 12px;
}

.social-icons-brand .social-link {
  position: relative;
  min-height: 84px;
  border-radius: 15px;
  border-color: rgba(255,255,255,.10);
  background:
    linear-gradient(135deg, rgba(255,255,255,.052), rgba(255,255,255,.022));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.055);
  transition:
    transform .16s ease,
    border-color .16s ease,
    background .16s ease;
}

.social-icons-brand .social-link:hover {
  transform: translateY(-1px);
  border-color: rgba(190,126,255,.24);
  background:
    linear-gradient(135deg, rgba(255,255,255,.064), rgba(139,61,255,.045));
}

.social-icons-brand .social-link span {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.10), rgba(139,61,255,.11));
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10);
}

.social-icons-brand .brand-icon {
  width: 27px;
  height: 27px;
}

.social-icons-brand .social-link b {
  font-size: 13px;
}

.social-icons-brand .social-link small {
  color: #afa4c1;
}

/* very soft platform hints */
.social-icons-brand .tg:hover { border-color: rgba(54,174,226,.24); }
.social-icons-brand .vk:hover { border-color: rgba(82,136,193,.24); }
.social-icons-brand .yt:hover { border-color: rgba(255,59,59,.22); }
.social-icons-brand .tw:hover { border-color: rgba(169,112,255,.28); }
.social-icons-brand .tt:hover { border-color: rgba(255,59,157,.22); }

.social-icons-brand .tg span { color: #36aee2; }
.social-icons-brand .vk span { color: #5288c1; }
.social-icons-brand .yt span { color: #ff3b3b; }
.social-icons-brand .tw span { color: #a970ff; }
.social-icons-brand .tt span { color: #fff; }

.social-panel .btn.full {
  border-radius: 13px;
  border-color: rgba(255,255,255,.15);
  background: rgba(255,255,255,.035);
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}

.social-panel .btn.full:hover {
  transform: translateY(-1px);
  border-color: rgba(190,126,255,.24);
  background: rgba(139,61,255,.065);
}

@media (max-width: 760px) {
  .social-icons-brand .social-link:hover,
  .social-panel .btn.full:hover {
    transform: none;
  }
}


/* v1.8.37 — clean starfield integration
   Background is owned by background.js only.
   Removed old pseudo backgrounds, old noise overlay and old constellation layers. */
html,
body {
  min-height: 100%;
  overflow-x: hidden;
  background: linear-gradient(180deg, #05030b 0%, #080414 52%, #05030b 100%);
}

body::before,
body::after,
.bg-scene,
.bg-layer,
.bg-energy-layer {
  display: none !important;
  content: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.noise {
  display: none !important;
}

#ivix-bg-canvas {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 0 !important;
  pointer-events: none !important;
  display: block !important;
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 2;
}

.site-header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1200 !important;
  height: 78px;
  background: linear-gradient(180deg, rgba(8, 6, 14, .94), rgba(5, 4, 10, .78));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(190, 126, 255, .13);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .34);
}

main {
  padding-top: 78px;
}

#home,
#about,
#links,
#community,
#schedule,
#clips,
#collab {
  scroll-margin-top: 92px;
}

@media (max-width: 760px) {
  #ivix-bg-canvas {
    display: none !important;
  }

  .site-header {
    height: 64px;
  }

  main {
    padding-top: 64px;
  }

  #home,
  #about,
  #links,
  #community,
  #schedule,
  #clips,
  #collab {
    scroll-margin-top: 76px;
  }
}


/* =============================================================
   v1.8.37 — clean template support panel + smooth fixed starfield
============================================================= */

html,
body {
  overflow-x: hidden !important;
}

#ivix-bg-canvas {
  max-width: 100vw !important;
}

/* The support card now uses the same structure as neighbor panels:
   direct .panel-title + content below. */
.support {
  position: relative;
  overflow: hidden;
}

.support .panel-title {
  margin-bottom: 18px;
}

.support-template {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 210px);
  gap: 18px;
  align-items: center;
  min-height: 210px;
}

.support-copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  min-width: 0;
}

.support .panel-copy,
.support-copy .panel-copy {
  margin: 0;
  max-width: 360px;
  color: var(--muted);
  line-height: 1.6;
}

.support-button {
  width: auto;
  min-width: 220px;
  max-width: 280px;
  min-height: 48px;
  padding-inline: 16px;
  border-radius: 14px;
  white-space: nowrap;
  justify-content: center;
  gap: 8px;
  box-shadow:
    0 16px 36px rgba(126,45,255,.32),
    0 0 34px rgba(179,92,255,.20),
    inset 0 1px 0 rgba(255,255,255,.30);
}

.support-button::before {
  content: "♡";
  font-size: 23px;
  line-height: 1;
  margin-right: 2px;
}

.support-button::after {
  content: "→";
  font-size: 23px;
  line-height: 1;
  margin-left: 10px;
}

.support-orb-scene {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  min-height: 210px;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 54%, rgba(179,92,255,.18), transparent 48%),
    radial-gradient(circle at 50% 82%, rgba(255,255,255,.035), transparent 30%);
}

.support-orb-scene::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: min(215px, 96%);
  height: 48px;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(ellipse at center, rgba(255,255,255,.62), rgba(213,159,255,.50) 16%, rgba(143,62,255,.20) 44%, transparent 72%),
    radial-gradient(ellipse at center, transparent 0 42%, rgba(217,170,255,.30) 43% 45%, transparent 47%);
  border: 1px solid rgba(190,126,255,.25);
  box-shadow:
    0 0 18px rgba(255,255,255,.12),
    0 0 42px rgba(179,92,255,.27),
    0 0 78px rgba(126,45,255,.11);
  opacity: .78;
}

.support-orb {
  position: relative;
  width: clamp(158px, 14vw, 214px);
  height: clamp(158px, 14vw, 214px);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.96) 0 9%, rgba(255,255,255,.82) 10% 14%, rgba(190,85,255,.34) 15% 24%, rgba(52,13,102,.55) 25% 38%, transparent 39%),
    radial-gradient(circle at 48% 42%, rgba(255,255,255,.34), rgba(213,153,255,.24) 25%, rgba(112,34,205,.22) 54%, rgba(13,5,28,.82) 100%),
    radial-gradient(circle, transparent 0 49%, rgba(255,255,255,.70) 50%, rgba(222,169,255,.76) 52%, rgba(145,45,255,.24) 57%, transparent 64%);
  box-shadow:
    0 0 18px rgba(255,255,255,.22),
    0 0 44px rgba(179,92,255,.60),
    0 0 92px rgba(126,45,255,.35),
    inset 0 0 22px rgba(255,255,255,.20),
    inset 0 0 56px rgba(179,92,255,.32);
  animation: supportOrbFloatClean 5.2s ease-in-out infinite;
}

.support-orb::before {
  content: "";
  position: absolute;
  inset: -26px;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 57%, rgba(255,255,255,.24) 58% 59%, transparent 61%),
    conic-gradient(from 40deg,
      transparent 0deg 42deg,
      rgba(255,255,255,.16) 48deg 66deg,
      rgba(178,84,255,.14) 76deg 104deg,
      transparent 112deg 170deg,
      rgba(230,188,255,.16) 180deg 212deg,
      transparent 226deg 300deg,
      rgba(162,64,255,.13) 312deg 340deg,
      transparent 350deg 360deg);
  opacity: .78;
  filter: blur(.70px);
  mix-blend-mode: screen;
  animation: supportOrbSwirlClean 15s linear infinite;
}

.support-orb::after {
  content: "";
  position: absolute;
  inset: -54px;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 65%, transparent 0 56%, rgba(216,166,255,.24) 57% 58%, transparent 60%),
    radial-gradient(ellipse at 50% 67%, transparent 0 68%, rgba(190,126,255,.15) 69% 70%, transparent 72%);
  opacity: .76;
  transform: rotateX(68deg);
  filter: blur(.35px);
  mix-blend-mode: screen;
  animation: supportOrbRingsClean 7.5s ease-in-out infinite;
}

.support-heart {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 5;
  transform: translate(-50%, -50%);
  width: clamp(72px, 6.2vw, 98px);
  height: clamp(72px, 6.2vw, 98px);
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: clamp(56px, 5.5vw, 78px);
  line-height: 1;
  background:
    radial-gradient(circle at 50% 28%, rgba(255,255,255,.48), rgba(190,92,255,.40) 46%, rgba(73,20,148,.36));
  border: 1px solid rgba(255,255,255,.36);
  box-shadow:
    0 0 34px rgba(255,255,255,.46),
    0 0 76px rgba(179,92,255,.72),
    inset 0 1px 0 rgba(255,255,255,.42);
  text-shadow: 0 0 18px rgba(255,255,255,.64);
  animation: supportHeartPulseClean 3s ease-in-out infinite;
}

@keyframes supportOrbFloatClean {
  0%, 100% {
    transform: translateY(0) scale(1);
    filter: brightness(1.02) saturate(1.08);
  }
  50% {
    transform: translateY(-4px) scale(1.018);
    filter: brightness(1.14) saturate(1.17);
  }
}

@keyframes supportOrbSwirlClean {
  to { transform: rotate(360deg); }
}

@keyframes supportOrbRingsClean {
  0%, 100% {
    transform: rotateX(68deg) scale(1);
    opacity: .64;
  }
  50% {
    transform: rotateX(68deg) scale(1.08);
    opacity: .86;
  }
}

@keyframes supportHeartPulseClean {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    filter: brightness(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.13);
    filter: brightness(1.22);
  }
}

@media (hover: hover) and (pointer: fine) {
  .support:hover .support-orb {
    box-shadow:
      0 0 20px rgba(255,255,255,.24),
      0 0 54px rgba(179,92,255,.70),
      0 0 108px rgba(126,45,255,.42),
      inset 0 0 24px rgba(255,255,255,.22),
      inset 0 0 60px rgba(179,92,255,.38);
  }
}

@media (max-width: 1180px) {
  .support-template {
    grid-template-columns: 1fr;
  }

  .support-button {
    max-width: 320px;
  }

  .support-orb-scene {
    min-height: 230px;
  }
}

@media (max-width: 760px) {
  .support-template {
    display: block;
  }

  .support-button {
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  .support-orb-scene {
    display: none;
  }
}
