/* v0.4 — targeted refinement layer. Leaves v0.3 branding and overall flow intact. */
/* Restore original vertical two-line introduction; no small third line. */
.intro h1 span { display:block; font-size:1em; white-space:nowrap; }
.intro h1 { line-height:1.02; }

/* The background is now recognizable as the same source art as the foreground.
   Fade the sides to the site color rather than using a strong Gaussian blur. */
.hero::before {
  filter:blur(9px) brightness(.77) saturate(1.15);
  opacity:.95;
  inset:0 -10px -8px;
  background-image:
    linear-gradient(to bottom, var(--bg) 0%, transparent 13%, transparent 73%, var(--bg) 100%),
    linear-gradient(to right, var(--bg) 0%, transparent 17%, transparent 83%, var(--bg) 100%),
    url('assets/hero-purple.png');
  background-position:center center;
  background-size:cover;
}
/* ON AIR / OFFLINE: independent treatment; original blue artwork stays intact
   at left. Its companion texture extends beyond the card and onto the copy. */
#live { position:relative; isolation:isolate; }
#live::before {
  content:'';position:absolute;z-index:-1;pointer-events:none;
  inset:125px -6vw 0;
  background:url('assets/offline-blue.png') center 39% / cover no-repeat;
  filter:blur(9px) brightness(.58) saturate(1.12);
  opacity:.63;
  -webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 28%,#000 72%,transparent 100%);
  mask-image:linear-gradient(to bottom,transparent 0%,#000 28%,#000 72%,transparent 100%);
}
.live-card {position:relative; isolation:isolate; overflow:hidden; }
.live-art { position:relative; z-index:1; }
.live-info { position:relative; isolation:isolate; z-index:1; }
.live-info::before {
  content:'';position:absolute;inset:0;z-index:-2;pointer-events:none;
  background:url('assets/offline-blue.png') 53% 50% / cover no-repeat;
  opacity:.37;
  -webkit-mask-image:linear-gradient(to right,#000 0%,#000 43%,transparent 100%);
  mask-image:linear-gradient(to right,#000 0%,#000 43%,transparent 100%);
}
.live-info::after {
  content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(90deg,rgba(13,17,26,.60),rgba(13,17,26,.83) 78%);
}
/* Keep the original readable brand colors even over offline image on light grey mode. */
body.light .live-info {color:#f2eff7;--accent:#c594ed;--muted:#c2c4d0;}
body.light .live-info .btn {border-color:#c594ed;color:#f2eff7;}
body.light .live-info .btn:hover {background:#c594ed;color:#15121b;}
body.light #live::before { filter:blur(9px) brightness(.65); }

/* Platform marks are real local SVG assets, not an online icon dependency. */
.platform-icon { width:19px;height:19px;display:inline-block;flex-shrink:0;object-fit:contain;vertical-align:middle; }
.community-link .platform-icon {width:16px;height:16px;margin-right:3px;}
.icon-label-link {display:inline-flex;align-items:center;gap:10px;}
.icon-label-link .platform-icon {width:17px;height:17px;}
.stat .stat-label {display:flex;align-items:center;gap:9px;}
.stat .stat-label .platform-icon {width:15px;height:15px;}
.with-platform {display:inline-flex;align-items:center;gap:8px;}
.with-platform .platform-icon {width:15px;height:15px;}
/* White marks need a charcoal disc when viewed in medium-grey theme. */
body.light .stat .platform-icon,body.light .tile-copy .platform-icon {filter:drop-shadow(0 0 2px #18131b);}

/* SOCIALS: six verified destinations, visually distinct but restrained. */
.socials-section {border-top:1px solid var(--border);}
.social-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
.social-card {position:relative;display:flex;flex-direction:column;align-items:flex-start;min-height:215px;padding:26px;
  border:1px solid var(--border);background:var(--surface);overflow:hidden;
  transition:transform .24s ease,border-color .24s ease,background .24s ease;}
.social-card::before {content:'';position:absolute;pointer-events:none;inset:0;background:radial-gradient(ellipse at 9% 0%,rgba(135,75,196,.12),transparent 58%);}
.social-card:nth-child(3n+2)::before {background:radial-gradient(ellipse at 9% 0%,rgba(59,129,183,.10),transparent 58%);}
.social-card:hover {transform:translateY(-4px);border-color:var(--accent);background:var(--surface2);}
.social-card-top {display:flex;align-items:center;justify-content:space-between;width:100%;gap:12px;margin-bottom:20px;}
.social-mark {width:43px;height:43px;display:grid;place-items:center;border:1px solid rgba(185,137,223,.44);background:#1e192c;}
.social-mark .platform-icon {width:24px;height:24px;}
.social-flag {font-size:9px;font-weight:800;letter-spacing:.13em;color:var(--muted);text-align:right;}
.social-card strong {font:800 30px/1.1 'Barlow Condensed',sans-serif;text-transform:uppercase;color:var(--ink);}
.social-description {font-size:13px;color:var(--muted);margin-top:8px;padding-right:24px;}
.social-arrow {position:absolute;bottom:19px;right:22px;font-size:20px;color:var(--accent);transition:transform .2s ease;}
.social-card:hover .social-arrow {transform:translate(3px,-3px);}
.social-support {margin:20px 0 0;text-align:right;font-size:12px;color:var(--muted);}
.social-support a {color:var(--ink);display:inline-flex;align-items:center;gap:8px;border-bottom:1px solid var(--accent);padding:3px 0;}
.social-support .platform-icon {width:16px;height:16px;}
body.light .social-support a .platform-icon {background:#292430;border-radius:3px;padding:2px;}
.footer-links {display:flex;justify-content:center;gap:12px 26px;flex-wrap:wrap;margin-bottom:18px;}
.footer-links a {display:inline-flex;align-items:center;gap:7px;white-space:nowrap;}
.footer-links .platform-icon,.footer-support .platform-icon {width:17px;height:17px;}
.footer-support {display:inline-flex;align-items:center;gap:8px;color:var(--muted);font-size:11px;font-weight:700;letter-spacing:.07em;padding-bottom:5px;border-bottom:1px solid var(--border);margin-bottom:25px;}
.footer-support:hover {color:var(--accent);}
body.light .footer-links .platform-icon,body.light .footer-support .platform-icon,body.light .social-support .platform-icon {filter:drop-shadow(0 0 2px #1a1321);}
@media(max-width:1120px) and (min-width:901px) {
  .topbar nav {gap:9px;}
  .topbar nav a {font-size:9px;letter-spacing:.07em;}
  .brand-wordmark {width:170px;}
}
@media(max-width:900px) {
  .social-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
  .live-info::before {background-position:50% 45%;opacity:.26;}
  #live::before {inset:105px -3vw 0;}
}
@media(max-width:600px) {
  .hero::before {filter:blur(6px) brightness(.77);inset:0 -8px;}
  #live::before {filter:blur(6px) brightness(.58);inset:80px 0 0;}
  .social-grid {grid-template-columns:1fr;}
  .social-card {min-height:155px;padding:21px;}
  .social-card-top {margin-bottom:12px;}
  .social-description {margin-top:5px;}
  .social-support {text-align:left;line-height:1.8;}
  .footer-links {gap:15px 20px;}
  .live-info::before {opacity:.3;}
}
