/* â”€â”€ Shared Public Page Styles â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
/* Used by: status, faq, about, changelog, terms, privacy      */

body { background: var(--deep-bg); color: var(--text); font-family: var(--mono); }

.back-link {
  display: inline-block;
  margin-bottom: 2rem;
  color: var(--dim);
  font-size: .85rem;
  text-decoration: none;
}
.back-link:hover { color: var(--cyan); }

/* â”€â”€ Legal pages (terms, privacy) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.legal-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  animation: fadeUp .85s cubic-bezier(.22,1,.36,1) both;
}
.legal-wrap h1 {
  font-family: var(--pixel);
  font-size: 1.4rem;
  color: var(--cyan);
  margin-bottom: .35rem;
  letter-spacing: .1em;
}
.legal-wrap .updated {
  color: var(--dim);
  font-size: .72rem;
  margin-bottom: 2.5rem;
  font-family: var(--pixel);
  letter-spacing: .04em;
}
.legal-wrap h2 {
  font-family: var(--pixel);
  font-size: .72rem;
  font-weight: 600;
  color: var(--purple);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 2.5rem 0 .75rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--border);
}
.legal-wrap h3 {
  font-family: var(--pixel);
  font-size: .65rem;
  color: var(--green);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin: 1.5rem 0 .5rem;
}
.legal-wrap p, .legal-wrap li {
  font-size: .85rem;
  line-height: 1.8;
  color: var(--text);
}
.legal-wrap ul {
  padding-left: 1.5rem;
  margin: .5rem 0;
}
.legal-wrap li {
  margin-bottom: .35rem;
}
.legal-wrap li strong {
  color: var(--bright);
}
.legal-wrap a { color: var(--cyan); text-decoration: none; }
.legal-wrap a:hover { text-decoration: underline; }

/* â”€â”€ About page â€” 3-column layout â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.about-layout {
  display: grid;
  grid-template-columns: 220px 1fr 220px;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  animation: fadeUp .85s cubic-bezier(.22,1,.36,1) both;
  position: relative;
  z-index: 1;
}

.about-content {
  min-width: 0;
}
.about-content h1 {
  font-family: var(--pixel);
  font-size: 1.6rem;
  color: var(--cyan);
  margin-bottom: .5rem;
  letter-spacing: .1em;
}
.about-content h2 {
  font-family: var(--pixel);
  font-size: .72rem;
  font-weight: 600;
  color: var(--purple);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 2.5rem 0 .75rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--border);
}
.about-content p {
  font-size: .85rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: .75rem;
}
.about-content a { color: var(--cyan); text-decoration: none; }
.about-content a:hover { text-decoration: underline; }

.about-blurb {
  font-size: .9rem;
  line-height: 1.8;
  color: var(--dim);
  margin-bottom: 1.5rem;
}

/* Photo columns */
.about-photos {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding-top: 4rem;
}

.about-photo {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  width: 220px;
  height: 220px;
  object-fit: cover;
  transition: border-color .25s, transform .2s;
}
.about-photo:hover {
  border-color: var(--border-glow);
  transform: scale(1.03);
}

@media (max-width: 900px) {
  .about-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .about-photos {
    flex-direction: row;
    flex-wrap: wrap;
    gap: .5rem;
    padding-top: 0;
    justify-content: center;
  }
  .about-photos--left { order: -1; }
  .about-photos--right { order: 1; }
  .about-photo {
    width: 140px;
    height: 140px;
  }
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: .75rem;
}
.social-card {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem 1.25rem;
  background: var(--panel-bg);
  backdrop-filter: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-decoration: none !important;
  color: var(--text);
  transition: border-color .25s, transform .2s;
}
.social-card:hover { transform: translateY(-2px); opacity: 1; }
.social-card svg { width: 24px; height: 24px; flex-shrink: 0; }
.social-card span { font-family: var(--pixel); font-size: .85rem; font-weight: 500; }

.social-discord { border-color: rgba(79,140,255,.2); }
.social-discord:hover { border-color: rgba(79,140,255,.45); }
.social-discord svg { color: var(--pink); }

.social-twitch { border-color: rgba(167,139,250,.2); }
.social-twitch:hover { border-color: rgba(167,139,250,.45); }
.social-twitch svg { color: var(--purple); }

.social-youtube { border-color: rgba(79,140,255,.2); }
.social-youtube:hover { border-color: rgba(79,140,255,.45); }
.social-youtube svg { color: var(--pink); }

.support-box {
  background: var(--panel-bg);
  backdrop-filter: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-top: .75rem;
}
.support-box p { margin-bottom: .5rem; }
.support-box p:last-child { margin-bottom: 0; }

/* â”€â”€ FAQ page â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.faq-wrap { max-width: 800px; margin: 0 auto; padding: 3rem 1.5rem; }
.faq-wrap h1 { font-family: var(--pixel); font-size: 1.4rem; color: var(--cyan); margin-bottom: 2rem; letter-spacing: .1em; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: .75rem;
  background: var(--panel-bg);
  backdrop-filter: var(--glass);
  overflow: hidden;
  transition: border-color .25s;
}
.faq-item[open] { border-color: var(--border-glow); }

.faq-q {
  font-family: var(--pixel);
  font-size: .85rem;
  font-weight: 500;
  color: var(--text);
  padding: 1rem 1.25rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '+';
  font-family: var(--mono);
  font-size: 1rem;
  color: var(--dim);
  transition: color .2s;
}
.faq-item[open] .faq-q::after { content: '\2212'; color: var(--cyan); }

.faq-a {
  padding: 0 1.25rem 1rem;
  font-size: .85rem;
  line-height: 1.7;
  color: var(--dim);
}
.faq-a p { margin-bottom: .5rem; }
.faq-a a { color: var(--cyan); text-decoration: none; }
.faq-a a:hover { text-decoration: underline; }
.faq-a ul { padding-left: 1.25rem; margin: .5rem 0; }
.faq-a li { margin-bottom: .25rem; }

/* â”€â”€ Changelog page â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.cl-wrap { max-width: 800px; margin: 0 auto; padding: 3rem 1.5rem; }
.cl-wrap h1 { font-family: var(--pixel); font-size: 1.4rem; color: var(--cyan); margin-bottom: 1.25rem; letter-spacing: .1em; }

/* Product filter tabs */
.cl-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 2rem;
  animation: fadeUp .85s cubic-bezier(.22,1,.36,1) .05s both;
}
.cl-tab {
  font-family: var(--pixel);
  font-size: .68rem;
  font-weight: 600;
  color: var(--dim);
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: .4rem 1rem;
  cursor: pointer;
  transition: color .2s, border-color .2s, background .2s, transform .2s cubic-bezier(.16,1,.3,1);
}
.cl-tab:hover { color: var(--text); border-color: var(--border-glow); transform: translateY(-1px); }
.cl-tab.active {
  color: var(--cyan);
  background: rgba(79,140,255,.1);
  border-color: rgba(79,140,255,.4);
}
.cl-hidden { display: none; }

/* Product label next to date */
.cl-product {
  display: inline-block;
  font-family: var(--pixel);
  font-size: .55rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .15rem .55rem;
  border-radius: 100px;
  margin-left: .5rem;
  vertical-align: middle;
  color: var(--cyan);
  background: rgba(79,140,255,.1);
  border: 1px solid rgba(79,140,255,.3);
}
.cl-product--twitch  { color: #b98aff; background: rgba(145,70,255,.1); border-color: rgba(145,70,255,.3); }
.cl-product--kick    { color: #7dfc4e; background: rgba(83,252,24,.08); border-color: rgba(83,252,24,.25); }
.cl-product--youtube { color: #ff8080; background: rgba(255,77,77,.1); border-color: rgba(255,77,77,.3); }

.cl-entry { margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.cl-entry:last-child { border-bottom: none; }
.cl-date { font-family: var(--pixel); font-size: .7rem; color: var(--purple); letter-spacing: .15em; text-transform: uppercase; margin-bottom: .75rem; }
.cl-tag {
  display: inline-block;
  font-family: var(--pixel);
  font-size: .55rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .15rem .5rem;
  border-radius: var(--radius-sm);
  margin-right: .35rem;
  vertical-align: middle;
}
.cl-tag-new { background: rgba(52,211,153,.15); color: var(--green); }
.cl-tag-fix { background: rgba(79,140,255,.15); color: var(--pink); }
.cl-tag-improve { background: rgba(167,139,250,.15); color: var(--purple); }
.cl-tag-security { background: rgba(245,158,11,.15); color: var(--orange); }

.cl-entry ul { padding-left: 1.25rem; margin: .5rem 0; }
.cl-entry li { font-size: .9rem; line-height: 1.7; color: var(--text); margin-bottom: .25rem; }
.cl-entry a { color: var(--cyan); text-decoration: none; }
.cl-entry a:hover { text-decoration: underline; }

/* â”€â”€ Status page â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.status-wrap { max-width: 900px; margin: 0 auto; padding: 3rem 1.5rem; }
.status-wrap h1 { font-family: var(--pixel); font-size: 1.4rem; color: var(--cyan); margin-bottom: .25rem; letter-spacing: .1em; }
.status-sub { color: var(--dim); font-size: .8rem; margin-bottom: 2rem; }

.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}
.status-card {
  background: var(--panel-bg);
  backdrop-filter: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: border-color .3s;
}
.status-card.online { border-color: rgba(52,211,153,.25); }
.status-card.offline { border-color: rgba(79,140,255,.25); }

.sc-top { display: flex; align-items: center; gap: .6rem; margin-bottom: .75rem; }
.sc-name { font-family: var(--pixel); font-size: .85rem; font-weight: 600; color: var(--bright); }
.sd { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.sd.up { background: var(--green); box-shadow: 0 0 8px rgba(52,211,153,.4); }
.sd.down { background: #4f8cff; box-shadow: 0 0 8px rgba(79,140,255,.4); }

.sc-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: .25rem; }
.sl { font-size: .85rem; font-weight: 500; }
.status-card.online .sl { color: var(--green); }
.status-card.offline .sl { color: #4f8cff; }
.st { font-family: var(--mono); font-size: .8rem; color: var(--dim); }
.si { font-size: .75rem; color: var(--dim); margin-top: .5rem; min-height: 1em; }

.sc-uptime {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: .65rem;
  padding-top: .65rem;
  border-top: 1px solid var(--border);
}
.su-pct {
  font-family: var(--mono);
  font-size: .85rem;
  font-weight: 600;
  color: var(--dim);
}
.su-pct.good { color: var(--green); }
.su-pct.ok   { color: var(--orange, #f59e0b); }
.su-pct.bad  { color: #4f8cff; }
.su-label {
  font-size: .7rem;
  color: var(--dim);
  letter-spacing: .03em;
}

/* Uptime bar visualization */
.sc-bar {
  display: flex;
  gap: 1px;
  height: 24px;
  margin-top: .65rem;
  border-radius: 4px;
  overflow: hidden;
}
.sc-bar-seg {
  flex: 1;
  min-width: 0;
  border-radius: 2px;
  transition: opacity .2s;
  cursor: default;
  position: relative;
}
.sc-bar-seg:hover { opacity: .75; }
.sc-bar-seg--good { background: var(--green); }
.sc-bar-seg--ok   { background: var(--orange, #f59e0b); }
.sc-bar-seg--bad  { background: #4f8cff; }
.sc-bar-seg--none { background: rgba(255,255,255,.05); }
.sc-bar-labels {
  display: flex;
  justify-content: space-between;
  margin-top: .25rem;
  font-size: .6rem;
  color: var(--dim);
  font-family: var(--mono);
  opacity: .6;
}

@keyframes fadeUp {
  0%   { opacity: 0; transform: translateY(22px); filter: blur(6px); }
  60%  { filter: blur(0); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.status-card { animation: fadeUp .8s cubic-bezier(.22,1,.36,1) both; }
.status-card:nth-child(2) { animation-delay: .05s; }
.status-card:nth-child(3) { animation-delay: .1s; }
.status-card:nth-child(4) { animation-delay: .15s; }
.status-card:nth-child(5) { animation-delay: .2s; }

/* â”€â”€ Entrance animations (all public pages) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.faq-wrap h1, .cl-wrap h1, .status-wrap h1, .status-sub {
  animation: fadeUp .85s cubic-bezier(.22,1,.36,1) both;
}

.faq-item { animation: fadeUp .85s cubic-bezier(.22,1,.36,1) both; }
.faq-item:nth-child(2)  { animation-delay: .04s; }
.faq-item:nth-child(3)  { animation-delay: .08s; }
.faq-item:nth-child(4)  { animation-delay: .12s; }
.faq-item:nth-child(5)  { animation-delay: .16s; }
.faq-item:nth-child(6)  { animation-delay: .20s; }
.faq-item:nth-child(7)  { animation-delay: .24s; }
.faq-item:nth-child(8)  { animation-delay: .28s; }
.faq-item:nth-child(9)  { animation-delay: .32s; }
.faq-item:nth-child(10) { animation-delay: .36s; }

.cl-entry { animation: fadeUp .85s cubic-bezier(.22,1,.36,1) both; }
.cl-entry:nth-child(2) { animation-delay: .06s; }
.cl-entry:nth-child(3) { animation-delay: .12s; }
.cl-entry:nth-child(4) { animation-delay: .18s; }
.cl-entry:nth-child(5) { animation-delay: .24s; }
.cl-entry:nth-child(n+6) { animation-delay: .3s; }

/* Photo columns fade in slightly after content */
.about-photos { animation: fadeUp .9s cubic-bezier(.22,1,.36,1) .12s both; }
.about-photo { transition: border-color .25s, transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s; }
.about-photo:hover {
  border-color: rgba(79,140,255,.35);
  transform: scale(1.03) translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}

/* Social cards â€” gentle lift with glow */
.social-card { transition: border-color .25s, transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s; }
.social-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }

/* Status cards â€” lift on hover */
.status-card { transition: border-color .3s, transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s; }
.status-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.18); }

/* FAQ answer reveal */
.faq-item[open] .faq-a { animation: fadeUp .3s cubic-bezier(.16,1,.3,1) both; }
.faq-q::after { transition: color .2s, transform .25s cubic-bezier(.16,1,.3,1); }
.faq-item[open] .faq-q::after { transform: rotate(180deg); }

/* Back link â€” slide arrow feel */
.back-link { transition: color .2s, transform .2s; }
.back-link:hover { transform: translateX(-2px); }
