@import url('../shared/styles/primitives/scrollbars.css?v=2');
@import url('../shared/styles/material-symbols.css?v=15');
@import url('../shared/styles/back-to-top.css?v=3');
@import url('./closing.css?v=8');

:root {
  --primary: #12cc5a;
  --page-max: 1180px;
  --page-pad: 1.5rem;
  --chrome-surface: #050608;
  --chrome-border: rgba(255, 255, 255, 0.075);
}

body {
  background:
    radial-gradient(ellipse 90% 50% at 50% -8%, rgba(18, 204, 90, 0.06), transparent 55%),
    #050608 !important;
  padding: 3rem 0 0 !important;
}
.doc-wrap {
  max-width: 820px;
  padding: 0 1.5rem;
}

.doc-back { padding: 0 0 0 0; }
.doc-back .material-symbols-rounded {
  color: #12cc5a;
  font-size: 1rem;
  line-height: 1;
}

.doc-title {
  background: none;
  -webkit-text-fill-color: #f4f8ff;
  color: #f4f8ff;
  letter-spacing: 0.01em;
}

.doc-updated {
  color: #14130e;
  background: #5fd98a;
  border: 1px solid transparent;
}

.doc-section,
.toc {
  background: #16181c;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.doc-section h2 {
  background: none;
  -webkit-text-fill-color: #12cc5a;
  color: #12cc5a;
}

.doc-section p,
.doc-section li { color: rgba(255, 255, 255, 0.8); }
.doc-section h3 { color: rgba(255, 255, 255, 0.92); }
.doc-section strong { color: #ffffff; }
.doc-section em { color: rgba(255, 255, 255, 0.6); }

.doc-section a,
.toc ol li a { color: #12cc5a; }
.doc-section a:hover,
.toc ol li a:hover { color: #2ce67f; }

.cookie-row-service strong { color: #ffffff; }
.cookie-row-purpose { color: rgba(255, 255, 255, 0.7); }

.doc-notice {
  background: rgba(18, 204, 90, 0.06);
  border: 1px solid rgba(18, 204, 90, 0.2);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  color: rgba(255, 255, 255, 0.85);
}

.badge-essential {
  background: #5fd98a;
  color: #14130e;
  border: none;
}
.badge-third {
  background: #88c2f0;
  color: #14130e;
  border: none;
}
.badge-analytics {
  background: #e2bd66;
  color: #14130e;
  border: none;
}

.site-footer {
  position: relative;
  z-index: 3;
  overflow: hidden;
  margin-top: 4rem;
  background: var(--chrome-surface);
  border-top: 1px solid var(--chrome-border);
  padding: 4rem var(--page-pad) 1.9rem;
}
.ft-ghost {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(7rem, 16vw, 15rem);
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.028);
}
.ft-inner {
  position: relative;
  z-index: 1;
  max-width: var(--page-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 2fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  padding-bottom: 2.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.ft-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 1.15rem; min-width: 0; }
.brand-lockup { display: inline-flex; align-items: center; gap: 0.82rem; text-decoration: none; }
.brand-lockup .logo-tile {
  position: relative;
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.075);
}
.brand-lockup .logo-tile img { width: 29px; height: 29px; object-fit: contain; }
.brand-lockup .site-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.9rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1;
  color: var(--primary);
}
.ft-tagline { font-size: 0.95rem; line-height: 1.55; color: rgba(214, 224, 242, 0.66); max-width: 34ch; }
.ft-community { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.ft-community img { height: 36px; width: auto; display: block; }
.ft-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.4rem, 3vw, 2.6rem); }
.ft-col { position: relative; border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 0.95rem; min-width: 0; }
.ft-col::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--primary);
}
.ft-label {
  display: block;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--primary) 55%, #fff);
}
.ft-links { display: flex; flex-direction: column; gap: 0.62rem; margin-top: 1rem; }
.ft-links a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-size: 0.89rem;
  font-weight: 600;
  color: rgba(228, 236, 250, 0.74);
  text-decoration: none;
  transition: color 0.16s ease, transform 0.16s ease;
}
.ft-links a:hover { color: #fff; transform: translateX(3px); }
.ft-links span { font-size: 0.89rem; font-weight: 600; color: rgba(228, 236, 250, 0.6); cursor: default; }
.ft-scenes a { gap: 0.6rem; align-items: center; }
.hero-scene-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(235, 240, 255, 0.9);
}
.hero-scene-ico .material-symbols-rounded {
  font-size: 1.05rem;
  color: inherit;
}
.ft-scenes a .hero-scene-ico { color: var(--fc); }

/* Provider logos live as a "Data & artwork" column beside Scenes/More */
.ft-credits { gap: 0.9rem; }
.ft-credits a { padding: 0; opacity: 0.6; transition: opacity .16s ease, transform .16s ease; }
.ft-credits a:hover { opacity: 1; }
.ft-credits img {
  display: block; width: auto; height: 22px; max-width: 8.5rem;
  object-fit: contain;
}
.ft-credits img[alt="fanart.tv"] { height: 28px; }

.ft-bottom {
  position: relative;
  z-index: 1;
  max-width: var(--page-max);
  margin: 0 auto;
  padding-top: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem clamp(1rem, 2.6vw, 1.8rem);
  text-align: center;
}
.ft-copy { font-size: 0.78rem; letter-spacing: 0.03em; color: rgba(205, 214, 238, 0.55); }
.ft-meta { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(205, 214, 238, 0.5); }

@media (max-width: 760px) {
  .site-footer { padding: 2.5rem var(--page-pad) 1.45rem; }
  .ft-ghost { font-size: 5rem; }
  .ft-inner { grid-template-columns: 1fr; gap: 1.9rem; padding-bottom: 1.9rem; }
  .ft-brand { align-items: center; text-align: center; }
  .ft-brand .brand-lockup { justify-content: center; }
  .ft-tagline { display: none; }
  .ft-community { justify-content: center; width: 100%; }
  .ft-cols { grid-template-columns: 1fr; gap: 1.5rem; }
  .ft-col { text-align: center; }
  .ft-col::before { left: 50%; transform: translateX(-50%); }
  .ft-links { align-items: center; }
  .ft-credits { align-items: center; }
  .ft-bottom { flex-direction: column; gap: 0.55rem; padding-top: 1.2rem; text-align: center; }

  .cookie-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 1rem 0;
  }

  .cookie-row-service { order: 1; width: 100%; }
  .cookie-row .badge { order: 2; }
  .cookie-row-purpose {
    order: 3;
    width: 100%;
    font-size: 0.88rem;
    line-height: 1.55;
  }
}
