: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; }
.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-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; }
.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; }
.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; }
.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; }
}
@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; }
  .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; }
  .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;
}
.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;
}
.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) {
}
@media (max-width: 760px) {
}
@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;
}
.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; }
  .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%;
}
.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; }
@media (max-width: 1180px) {
  .chat-card { min-height: 360px; }
  .chat-embed-wrap { min-height: 300px; }
}
@media (max-width: 760px) {
  .chat-card { display: none; }
}

@media (max-width: 760px) {
}

/* 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;
}

.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; }
  .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; }
  .social-icons-rich.social-icons-brand { grid-template-columns: 1fr; }
  .support { grid-template-columns: 1fr; }
  .support .jar { transform: none; }
}

/* v1.8.50 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-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; }
}

/* v1.8.50 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-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-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) {
}

/* v1.8.50 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 .btn {
  margin-top: 18px;
}

@media (max-width: 980px) {
}
@media (max-width: 760px) {
  #about {
    scroll-margin-top: 78px;
  }
  .main-nav a {
    min-width: auto;
  }
  .clip-thumb-simple {
    height: 170px;
  }
}

/* v1.8.50 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 .support-copy {
  display: block;
}
.support-centered .support-copy p {
  max-width: 100%;
}

.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;
  }
  .clip-thumb-simple .clip-word {
    font-size: 42px;
  }
  .clip-thumb-simple .clip-record > span {
    width: 54px;
    height: 54px;
  }
}

/* v1.8.50 — 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 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);
}

/* 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.50 — 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.50 — 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.50 — 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.50 — 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;
  }
}

/* =============================================================
   v1.8.50 — fix support card alignment
============================================================= */

/* Old base CSS had .support { display:flex }, which pushed the title sideways.
   Force the support card back into the same normal card flow as neighbors. */
.support {
  display: block !important;
}

.support .panel-title {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 0 18px !important;
}

.support-template {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 230px) !important;
  gap: 18px !important;
  align-items: center !important;
  min-height: 225px !important;
}

.support-copy {
  align-self: center !important;
  justify-content: center !important;
  gap: 16px !important;
}

.support .panel-copy,
.support-copy .panel-copy {
  max-width: 380px !important;
}

.support-button {
  max-width: 285px !important;
}

.support-orb-scene {
  min-height: 225px !important;
  align-self: center !important;
}

.support-orb {
  width: clamp(168px, 14.6vw, 224px) !important;
  height: clamp(168px, 14.6vw, 224px) !important;
}

.support-heart {
  width: clamp(76px, 6.6vw, 104px) !important;
  height: clamp(76px, 6.6vw, 104px) !important;
  font-size: clamp(60px, 5.8vw, 82px) !important;
}

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

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

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

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

/* =============================================================
   v1.8.50 — stronger useful-links hover accent
============================================================= */

@media (hover: hover) and (pointer: fine) {
  .links .platform-card,
  #links .platform-card {
    position: relative;
    overflow: hidden;
  }

  .links .platform-card::before,
  #links .platform-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    background:
      radial-gradient(circle at 22% 50%, rgba(179,92,255,.24), transparent 42%),
      radial-gradient(circle at 86% 15%, rgba(255,255,255,.10), transparent 34%),
      linear-gradient(135deg, rgba(179,92,255,.14), rgba(255,255,255,.035));
    transition: opacity .18s ease;
  }

  .links .platform-card:hover,
  #links .platform-card:hover {
    transform: translateY(-3px) scale(1.012);
    border-color: rgba(211, 158, 255, .58) !important;
    background:
      radial-gradient(circle at 20% 50%, rgba(179,92,255,.22), transparent 48%),
      linear-gradient(180deg, rgba(255,255,255,.085), rgba(255,255,255,.030)) !important;
    box-shadow:
      0 20px 46px rgba(0,0,0,.32),
      0 0 0 1px rgba(211,158,255,.16),
      0 0 30px rgba(179,92,255,.24),
      0 0 72px rgba(126,45,255,.12),
      inset 0 1px 0 rgba(255,255,255,.11) !important;
  }

  .links .platform-card:hover::before,
  #links .platform-card:hover::before {
    opacity: 1;
  }

  .links .platform-card:hover .platform-icon,
  #links .platform-card:hover .platform-icon {
    transform: scale(1.08);
    filter: brightness(1.18) saturate(1.25);
    box-shadow:
      0 0 0 1px rgba(255,255,255,.13),
      0 0 22px rgba(179,92,255,.26),
      inset 0 1px 0 rgba(255,255,255,.14) !important;
  }

  .links .platform-card:hover strong,
  #links .platform-card:hover strong {
    color: #ffffff;
    text-shadow:
      0 0 12px rgba(255,255,255,.16),
      0 0 18px rgba(179,92,255,.22);
  }

  .links .platform-card:hover span,
  #links .platform-card:hover span {
    color: rgba(235,225,255,.86);
  }

  .links .platform-card[href*="t.me"]:hover,
  #links .platform-card[href*="t.me"]:hover {
    border-color: rgba(64, 178, 255, .62) !important;
    box-shadow:
      0 20px 46px rgba(0,0,0,.32),
      0 0 30px rgba(64,178,255,.24),
      0 0 70px rgba(139,61,255,.10),
      inset 0 1px 0 rgba(255,255,255,.11) !important;
  }

  .links .platform-card[href*="vk.com"]:hover,
  #links .platform-card[href*="vk.com"]:hover {
    border-color: rgba(78, 141, 255, .60) !important;
    box-shadow:
      0 20px 46px rgba(0,0,0,.32),
      0 0 30px rgba(78,141,255,.22),
      0 0 70px rgba(139,61,255,.10),
      inset 0 1px 0 rgba(255,255,255,.11) !important;
  }

  .links .platform-card[href*="youtube.com"]:hover,
  #links .platform-card[href*="youtube.com"]:hover {
    border-color: rgba(255, 69, 94, .62) !important;
    box-shadow:
      0 20px 46px rgba(0,0,0,.32),
      0 0 30px rgba(255,69,94,.22),
      0 0 70px rgba(139,61,255,.10),
      inset 0 1px 0 rgba(255,255,255,.11) !important;
  }

  .links .platform-card[href*="twitch.tv"]:hover,
  #links .platform-card[href*="twitch.tv"]:hover {
    border-color: rgba(169, 112, 255, .68) !important;
    box-shadow:
      0 20px 46px rgba(0,0,0,.32),
      0 0 32px rgba(169,112,255,.28),
      0 0 76px rgba(139,61,255,.14),
      inset 0 1px 0 rgba(255,255,255,.11) !important;
  }

  .links .platform-card[href*="tiktok.com"]:hover,
  #links .platform-card[href*="tiktok.com"]:hover {
    border-color: rgba(255, 65, 142, .62) !important;
    box-shadow:
      0 20px 46px rgba(0,0,0,.32),
      0 0 30px rgba(255,65,142,.22),
      0 0 70px rgba(51,220,255,.10),
      inset 0 1px 0 rgba(255,255,255,.11) !important;
  }
}

/* =============================================================
   v1.8.50 — scroll-world background safety
============================================================= */

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

#ivix-bg-canvas {
  position: fixed !important;
  inset: 0 !important;
  width: auto !important;
  height: auto !important;
  max-width: none !important;
  max-height: none !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

/* =============================================================
   v1.8.50 — scrollbar watchdog safety layer
   Keep only the browser page scrollbar. Prevent bg canvas/body
   from creating accidental duplicate scrollbars.
============================================================= */

html {
  overflow-x: hidden !important;
  overflow-y: auto;
  scrollbar-gutter: stable;
}

body {
  overflow-x: hidden !important;
  overflow-y: visible !important;
  max-width: 100vw !important;
}

#ivix-bg-canvas {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  min-width: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  contain: layout paint size style !important;
  pointer-events: none !important;
}

/* =============================================================
   v1.8.50 — page-canvas background, no scroll lag
   Old principle restored: the background canvas is an absolute
   page-sized layer and scrolls naturally with the document.
============================================================= */

html {
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scrollbar-gutter: stable;
}

body {
  position: relative !important;
  overflow-x: hidden !important;
  overflow-y: visible !important;
  max-width: 100vw !important;
}

/* Override previous fixed watchdog rules */
#ivix-bg-canvas {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  right: auto !important;
  bottom: auto !important;
  width: 100% !important;
  height: var(--ivix-page-bg-height, 100vh) !important;
  max-width: 100% !important;
  max-height: none !important;
  min-width: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  contain: layout paint size style !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

/* =============================================================
   v1.8.50 — hard reload scrollbar race fix
   Prevent the page-sized canvas from being counted as the source
   of document height during Ctrl+F5 / cold loads.
============================================================= */

html {
  overflow-x: hidden !important;
  overflow-y: auto !important;
  min-height: 100%;
  scrollbar-gutter: stable;
}

body {
  position: relative !important;
  overflow-x: hidden !important;
  overflow-y: visible !important;
  min-height: 100%;
  max-width: 100vw !important;
}

#ivix-bg-canvas {
  box-sizing: border-box !important;
  overflow: clip !important;
  contain: layout paint size style !important;
}

/* =============================================================
   v1.8.50 — fixed wrapper + page canvas
   Background scrolls with content through compositor transform,
   but the canvas cannot create a second page scrollbar.
============================================================= */

html {
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scrollbar-gutter: stable;
}

body {
  position: relative !important;
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

#ivix-bg-wrap {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  overflow: hidden !important;
  pointer-events: none !important;
  z-index: 0 !important;
  contain: layout paint size style !important;
}

#ivix-bg-wrap > #ivix-bg-canvas {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 100vw !important;
  height: var(--ivix-page-bg-height, 100vh) !important;
  max-width: 100vw !important;
  max-height: none !important;
  min-width: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  will-change: transform !important;
  transform: translate3d(0, 0, 0);
}

/* =============================================================
   v1.8.50 — stronger useful-links hover + glow
============================================================= */

@media (hover: hover) and (pointer: fine) {
  .links .platform-card:hover,
  #links .platform-card:hover {
    border-color: rgba(228, 184, 255, .78) !important;
    background:
      radial-gradient(circle at 20% 50%, rgba(179,92,255,.33), transparent 50%),
      radial-gradient(circle at 90% 12%, rgba(255,255,255,.15), transparent 36%),
      linear-gradient(180deg, rgba(255,255,255,.118), rgba(255,255,255,.045)) !important;
    box-shadow:
      0 24px 58px rgba(0,0,0,.38),
      0 0 0 1px rgba(228,184,255,.24),
      0 0 45px rgba(179,92,255,.36),
      0 0 108px rgba(126,45,255,.18),
      inset 0 1px 0 rgba(255,255,255,.16) !important;
  }

  .links .platform-card:hover::before,
  #links .platform-card:hover::before {
    opacity: 1 !important;
    background:
      radial-gradient(circle at 22% 50%, rgba(179,92,255,.36), transparent 43%),
      radial-gradient(circle at 86% 15%, rgba(255,255,255,.16), transparent 36%),
      linear-gradient(135deg, rgba(179,92,255,.21), rgba(255,255,255,.055)) !important;
  }

  .links .platform-card:hover .platform-icon,
  #links .platform-card:hover .platform-icon {
    filter: brightness(1.32) saturate(1.42) !important;
    box-shadow:
      0 0 0 1px rgba(255,255,255,.20),
      0 0 34px rgba(179,92,255,.40),
      0 0 68px rgba(126,45,255,.20),
      inset 0 1px 0 rgba(255,255,255,.18) !important;
  }

  .links .platform-card:hover strong,
  #links .platform-card:hover strong {
    text-shadow:
      0 0 16px rgba(255,255,255,.24),
      0 0 28px rgba(179,92,255,.34) !important;
  }

  .links .platform-card:hover span,
  #links .platform-card:hover span {
    color: rgba(244,238,255,.94) !important;
  }

  .links .platform-card[href*="t.me"]:hover,
  #links .platform-card[href*="t.me"]:hover {
    border-color: rgba(64, 190, 255, .82) !important;
    box-shadow:
      0 24px 58px rgba(0,0,0,.38),
      0 0 45px rgba(64,190,255,.36),
      0 0 105px rgba(139,61,255,.15),
      inset 0 1px 0 rgba(255,255,255,.16) !important;
  }

  .links .platform-card[href*="vk.com"]:hover,
  #links .platform-card[href*="vk.com"]:hover {
    border-color: rgba(92, 154, 255, .80) !important;
    box-shadow:
      0 24px 58px rgba(0,0,0,.38),
      0 0 45px rgba(92,154,255,.33),
      0 0 105px rgba(139,61,255,.15),
      inset 0 1px 0 rgba(255,255,255,.16) !important;
  }

  .links .platform-card[href*="youtube.com"]:hover,
  #links .platform-card[href*="youtube.com"]:hover {
    border-color: rgba(255, 86, 112, .82) !important;
    box-shadow:
      0 24px 58px rgba(0,0,0,.38),
      0 0 45px rgba(255,86,112,.33),
      0 0 105px rgba(139,61,255,.15),
      inset 0 1px 0 rgba(255,255,255,.16) !important;
  }

  .links .platform-card[href*="twitch.tv"]:hover,
  #links .platform-card[href*="twitch.tv"]:hover {
    border-color: rgba(184, 132, 255, .88) !important;
    box-shadow:
      0 24px 58px rgba(0,0,0,.38),
      0 0 48px rgba(184,132,255,.42),
      0 0 114px rgba(139,61,255,.21),
      inset 0 1px 0 rgba(255,255,255,.16) !important;
  }

  .links .platform-card[href*="tiktok.com"]:hover,
  #links .platform-card[href*="tiktok.com"]:hover {
    border-color: rgba(255, 78, 156, .82) !important;
    box-shadow:
      0 24px 58px rgba(0,0,0,.38),
      0 0 45px rgba(255,78,156,.33),
      0 0 105px rgba(51,220,255,.15),
      inset 0 1px 0 rgba(255,255,255,.16) !important;
  }
}

/* =============================================================
   v1.8.50 — stronger global block glow + useful links glow
============================================================= */

@media (hover: hover) and (pointer: fine) {
  /* Big site blocks/cards: +60% stronger hover glow */
  .panel:hover,
  .glass:hover,
  .hero-card:hover,
  .clip-card:hover,
  .schedule-card:hover,
  .community-card:hover,
  .collab-card:hover {
    border-color: rgba(217, 166, 255, .54) !important;
    box-shadow:
      0 28px 68px rgba(0,0,0,.42),
      0 0 0 1px rgba(217,166,255,.16),
      0 0 38px rgba(179,92,255,.26),
      0 0 92px rgba(126,45,255,.15),
      inset 0 1px 0 rgba(255,255,255,.12) !important;
  }

  /* Useful links cells: another +50% glow on top of v1.8.50 */
  .links .platform-card:hover,
  #links .platform-card:hover {
    border-color: rgba(238, 204, 255, .92) !important;
    background:
      radial-gradient(circle at 20% 50%, rgba(179,92,255,.42), transparent 52%),
      radial-gradient(circle at 90% 12%, rgba(255,255,255,.20), transparent 38%),
      linear-gradient(180deg, rgba(255,255,255,.145), rgba(255,255,255,.058)) !important;
    box-shadow:
      0 28px 70px rgba(0,0,0,.42),
      0 0 0 1px rgba(238,204,255,.34),
      0 0 68px rgba(179,92,255,.54),
      0 0 162px rgba(126,45,255,.27),
      inset 0 1px 0 rgba(255,255,255,.22) !important;
  }

  .links .platform-card:hover::before,
  #links .platform-card:hover::before {
    opacity: 1 !important;
    background:
      radial-gradient(circle at 22% 50%, rgba(179,92,255,.50), transparent 44%),
      radial-gradient(circle at 86% 15%, rgba(255,255,255,.23), transparent 38%),
      linear-gradient(135deg, rgba(179,92,255,.32), rgba(255,255,255,.080)) !important;
  }

  .links .platform-card:hover .platform-icon,
  #links .platform-card:hover .platform-icon {
    filter: brightness(1.46) saturate(1.58) !important;
    box-shadow:
      0 0 0 1px rgba(255,255,255,.26),
      0 0 50px rgba(179,92,255,.58),
      0 0 102px rgba(126,45,255,.30),
      inset 0 1px 0 rgba(255,255,255,.24) !important;
  }

  .links .platform-card:hover strong,
  #links .platform-card:hover strong {
    color: #fff !important;
    text-shadow:
      0 0 22px rgba(255,255,255,.34),
      0 0 42px rgba(179,92,255,.50) !important;
  }

  .links .platform-card:hover span,
  #links .platform-card:hover span {
    color: rgba(250,246,255,.98) !important;
  }

  .links .platform-card[href*="t.me"]:hover,
  #links .platform-card[href*="t.me"]:hover {
    border-color: rgba(82, 202, 255, .95) !important;
    box-shadow:
      0 28px 70px rgba(0,0,0,.42),
      0 0 68px rgba(82,202,255,.54),
      0 0 158px rgba(139,61,255,.22),
      inset 0 1px 0 rgba(255,255,255,.22) !important;
  }

  .links .platform-card[href*="vk.com"]:hover,
  #links .platform-card[href*="vk.com"]:hover {
    border-color: rgba(112, 170, 255, .94) !important;
    box-shadow:
      0 28px 70px rgba(0,0,0,.42),
      0 0 68px rgba(112,170,255,.50),
      0 0 158px rgba(139,61,255,.22),
      inset 0 1px 0 rgba(255,255,255,.22) !important;
  }

  .links .platform-card[href*="youtube.com"]:hover,
  #links .platform-card[href*="youtube.com"]:hover {
    border-color: rgba(255, 104, 128, .95) !important;
    box-shadow:
      0 28px 70px rgba(0,0,0,.42),
      0 0 68px rgba(255,104,128,.50),
      0 0 158px rgba(139,61,255,.22),
      inset 0 1px 0 rgba(255,255,255,.22) !important;
  }

  .links .platform-card[href*="twitch.tv"]:hover,
  #links .platform-card[href*="twitch.tv"]:hover {
    border-color: rgba(198, 154, 255, .98) !important;
    box-shadow:
      0 28px 70px rgba(0,0,0,.42),
      0 0 72px rgba(198,154,255,.62),
      0 0 170px rgba(139,61,255,.32),
      inset 0 1px 0 rgba(255,255,255,.22) !important;
  }

  .links .platform-card[href*="tiktok.com"]:hover,
  #links .platform-card[href*="tiktok.com"]:hover {
    border-color: rgba(255, 96, 170, .95) !important;
    box-shadow:
      0 28px 70px rgba(0,0,0,.42),
      0 0 68px rgba(255,96,170,.50),
      0 0 158px rgba(51,220,255,.22),
      inset 0 1px 0 rgba(255,255,255,.22) !important;
  }
}

/* =============================================================
   v1.8.50 — hero title spacing and cleaner underline
============================================================= */

/* Slightly separate IVIX_TV from the subtitle below */
.hero-title,
.hero h1,
.hero__title {
  margin-bottom: clamp(18px, 1.55vw, 28px) !important;
  line-height: .88 !important;
}

/* Keep the subtitle visually balanced under the title */
.hero-kicker,
.hero-subtitle,
.hero .eyebrow,
.hero .lead-title {
  margin-top: 0 !important;
}

/* Make the IVIX_TV underline/underscore read cleaner and flatter */
.hero-title .underscore,
.hero h1 .underscore,
.hero__title .underscore {
  display: inline-block !important;
  transform: translateY(.045em) scaleX(1.04) !important;
  transform-origin: center bottom !important;
}

/* Fallback for the current big wordmark: normalize the last underscore glyph */
.hero-title,
.hero h1,
.hero__title {
  text-decoration-thickness: 0 !important;
}

/* =============================================================
   v1.8.50 — precise hero underscore centering
============================================================= */
.hero-copy-main h1 .hero-underscore,
h1 .hero-underscore {
  display: inline-block;
  margin-left: 0.02em;
  margin-right: 0.06em;
  transform: translate(0.11em, -0.01em) scaleX(1.03);
  transform-origin: center bottom;
}

/* =============================================================
   v1.8.50 — hero CTA micro-animation
   Легкий magnetic-hover + мягкий диагональный блик.
============================================================= */
@media (hover: hover) and (pointer: fine) {
  .hero-buttons .btn {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition:
      transform .18s ease,
      border-color .18s ease,
      box-shadow .18s ease,
      background .18s ease;
  }

  .hero-buttons .btn::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: -45% -70%;
    pointer-events: none;
    background: linear-gradient(
      115deg,
      transparent 0%,
      transparent 38%,
      rgba(255,255,255,.00) 42%,
      rgba(255,255,255,.28) 49%,
      rgba(255,255,255,.08) 55%,
      transparent 62%,
      transparent 100%
    );
    transform: translateX(-72%) skewX(-12deg);
    opacity: 0;
  }

  .hero-buttons .btn > *,
  .hero-buttons .btn {
    z-index: 1;
  }

  .hero-buttons .btn:hover {
    transform: translateY(-3px) scale(1.018);
  }

  .hero-buttons .btn:hover::before {
    opacity: 1;
    animation: heroButtonSweepV1850 .72s ease-out both;
  }

  .hero-buttons .btn-primary:hover {
    box-shadow:
      0 22px 54px rgba(139,61,255,.45),
      0 0 54px rgba(179,92,255,.34),
      inset 0 1px 0 rgba(255,255,255,.26) !important;
  }

  .hero-buttons .btn-ghost:hover {
    border-color: rgba(220,176,255,.62);
    box-shadow:
      0 18px 42px rgba(0,0,0,.34),
      0 0 34px rgba(179,92,255,.24),
      inset 0 1px 0 rgba(255,255,255,.10) !important;
  }

  .hero-buttons .btn:hover .btn-icon,
  .hero-buttons .btn-primary:hover svg {
    transform: translateY(-1px) scale(1.06);
    filter: brightness(1.14) saturate(1.2);
  }
}

@keyframes heroButtonSweepV1850 {
  0% {
    transform: translateX(-72%) skewX(-12deg);
  }
  100% {
    transform: translateX(72%) skewX(-12deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-buttons .btn,
  .hero-buttons .btn::before,
  .hero-buttons .btn:hover {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

/* hero art — слоистый параллакс, выходит из блоков плеера/чата */
.hero-main { position: relative; z-index: 1; overflow: visible; }
.hero-copy-main { position: relative; z-index: 2; }
.live-section { position: relative; z-index: 3; } /* блоки перекрывают низ арта → эффект выхода */

.hero-art {
  position: absolute;
  right: 0;
  bottom: -82px;
  width: min(62%, 940px);
  aspect-ratio: 1500 / 844;
  z-index: 0;
  pointer-events: none;
}
.ha-layer {
  position: absolute;
  inset: 0;
  transform: translate3d(0, 0, 0) scale(1.05);
  transform-origin: right center;
  will-change: transform;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.25) 5%, rgba(0,0,0,.82) 12%, #000 22%, #000 74%, rgba(0,0,0,.86) 81%, rgba(0,0,0,.45) 89%, rgba(0,0,0,.12) 96%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.25) 5%, rgba(0,0,0,.82) 12%, #000 22%, #000 74%, rgba(0,0,0,.86) 81%, rgba(0,0,0,.45) 89%, rgba(0,0,0,.12) 96%, transparent 100%);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
}
.ha-portrait, .ha-front {
  background-repeat: no-repeat;
  background-position: center right;
  background-size: contain;
}
.ha-portrait { background-image: url("assets/hero-art.webp"); }
.ha-front { background-image: url("assets/hero-art-front.webp"); mix-blend-mode: screen; }
.ha-back {
  left: -56%; right: 0; top: -14%; bottom: -10%;
  background:
    radial-gradient(42% 50% at 72% 58%, rgba(139, 61, 255, .30), transparent 70%),
    radial-gradient(34% 44% at 60% 40%, rgba(120, 46, 210, .22), transparent 72%),
    radial-gradient(30% 40% at 86% 82%, rgba(160, 84, 240, .24), transparent 72%);
}
@media (min-width: 1100px) { .hero-main { min-height: 540px; } }
@media (max-width: 1100px) {
  .hero-art { width: min(66%, 640px); right: 0; bottom: -68px; opacity: .92; }
}
@media (max-width: 760px) {
  .hero-art { inset: 0 0 auto 0; width: 100%; aspect-ratio: auto; height: 250px; bottom: auto; opacity: .4; }
  .ha-back, .ha-front { display: none; }
  .ha-portrait {
    background-position: center top; background-size: cover; transform: none;
    -webkit-mask-image: linear-gradient(#000 30%, transparent 100%);
            mask-image: linear-gradient(#000 30%, transparent 100%);
  }
}
@media (max-width: 480px) { .hero-art { opacity: .28; height: 200px; } }
