@font-face {
  font-family: "Apple-Regular";
  src: url("../fonts/SFPRODISPLAYREGULAR.OTF") format("opentype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Apple-Bold";
  src: url("../fonts/SFPRODISPLAYBOLD.OTF") format("opentype");
  font-weight: 600; font-style: normal; font-display: swap;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; list-style: none; }
::selection { background: #1d1d1f; color: #f5f5f7; }
[data-theme="dark"] ::selection { background: #f5f5f7; color: #1d1d1f; }
:root {
  --color-bg: #f5f5f7;
  --color-surface: #ffffff;
  --color-text-primary: #1d1d1f;
  --color-text-secondary: #555559;
  --color-text-tertiary: #707075;
  --color-blue: #0071e3;
  --color-border: rgba(0,0,0,0.08);
  --color-hover: rgba(0,0,0,0.04);
  --color-divider: rgba(0,0,0,0.06);
  --header-bg: rgba(255,255,255,0.35);
  --header-border: rgba(255,255,255,0.45);
  --gradient-title: linear-gradient(53deg,#0071e3 0%,#93c8fa 100%);
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.08);
  --radius-sm: 10px; --radius-md: 16px; --radius-lg: 22px; --radius-pill: 50px;
  --ease: cubic-bezier(.46,.01,.35,1);
  --tf: 0.18s cubic-bezier(.46,.01,.35,1);
  --tb: 0.28s cubic-bezier(.46,.01,.35,1);
  --ts: 0.42s cubic-bezier(.46,.01,.35,1);
}
[data-theme="dark"] {
  --color-bg: #111113;
  --color-surface: #1c1c1e;
  --color-text-primary: #f5f5f7;
  --color-text-secondary: #b0b0b5;
  --color-text-tertiary: #8c8c91;
  --color-blue: #3a9eff;
  --color-border: rgba(255,255,255,0.1);
  --color-hover: rgba(255,255,255,0.07);
  --color-divider: rgba(255,255,255,0.07);
  --header-bg: rgba(28,28,30,0.7);
  --header-border: rgba(255,255,255,0.12);
  --gradient-title: linear-gradient(53deg,#3a9eff 0%,#93c8fa 100%);
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.35);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.5);
}
html, body {
  min-height: 100%;
  background: var(--color-bg);
  color: var(--color-text-primary);
  font-family: "Apple-Regular", -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  transition: background-color var(--ts), color var(--ts);
  overflow-x: hidden;
}
.header-pill {
  position: fixed; top: 24px; left: 50%; transform: translateX(-50%);
  z-index: 3100;
  background: var(--header-bg);
  backdrop-filter: blur(40px) saturate(220%);
  -webkit-backdrop-filter: blur(40px) saturate(220%);
  border-radius: 60px;
  border: 1px solid var(--header-border);
  box-shadow:
    0 2px 10px rgba(0,0,0,0.02),
    0 1px 4px rgba(0,0,0,0.01),
    inset 0 1px 0 rgba(255,255,255,0.2);
  padding: 6px 6px;
  display: flex; align-items: center; gap: 0;
  width: max-content; max-width: 95vw;
  transition: background var(--ts), border-color var(--ts), box-shadow var(--ts);
}
[data-theme="dark"] .header-pill {
  box-shadow:
    0 4px 16px rgba(0,0,0,0.1),
    inset 0 1px 0 rgba(255,255,255,0.02);
}
.header-pill nav { display: flex; align-items: center; }
.header-pill nav::after {
  content: ""; display: inline-block;
  width: 1px; height: 18px;
  background: var(--color-border); margin-left: 6px; flex-shrink: 0;
}
.header-container { display: flex; gap: 2px; align-items: center; }
.header-container li a {
  display: block; padding: 6px 16px;
  font-family: "Apple-Regular", sans-serif;
  font-size: 0.88rem; font-weight: 500;
  color: var(--color-text-secondary);
  border-radius: 40px; text-decoration: none;
  transition: all var(--tb); white-space: nowrap;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.header-container li a::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 40px;
  background: var(--color-hover);
  transform: scale(0.5);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(.16,1,.3,1), opacity 0.3s ease;
  z-index: -1;
}
.header-container a:hover { color: var(--color-text-primary); }
.header-container a:hover::before { transform: scale(1); opacity: 1; }
#active-link {
  background: rgba(255,255,255,0.92) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--color-blue) !important;
  box-shadow:
    0 4px 12px rgba(0,113,227,0.12),
    0 2px 4px rgba(0,0,0,0.05),
    inset 0 1px 0 rgba(255,255,255,1) !important;
  font-family: "Apple-Bold", sans-serif !important;
}
[data-theme="dark"] #active-link {
  background: rgba(48,48,52,0.98) !important;
  box-shadow:
    0 4px 12px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.08) !important;
}
#theme-toggle {
  width: 34px; height: 34px; border-radius: 50%; border: none;
  background: var(--color-hover); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  margin-left: 6px; flex-shrink: 0;
  transition: background var(--tb), transform var(--tf);
}
#theme-toggle:hover { background: var(--color-border); transform: scale(1.08); }
#theme-toggle:active { transform: scale(0.92); }
#theme-toggle svg { width: 15px; height: 15px; fill: var(--color-text-secondary); pointer-events: none; transition: fill var(--tb); }
#theme-toggle:hover svg { fill: var(--color-text-primary); }
#view-base, #view-immersao {
  position: fixed; inset: 0;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
#view-base { opacity: 1; transform: scale(1); z-index: 10; }
#view-base {
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100dvh;
  padding: 0;
}
.hero-section {
  width: 100%; max-width: 820px;
  flex-shrink: 0;
  padding: 110px 1.5rem 0rem;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  animation: fadeUp 0.7s var(--ease) both;
}
.hero-headline {
  font-family: "Apple-Bold", sans-serif;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  line-height: 1.25; letter-spacing: -0.03em;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.22em;
  margin-bottom: 0.2em;
}
.inline-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  vertical-align: middle; margin: 0 0.05em;
  background: linear-gradient(135deg,#c9d6ff,#e2e2e2);
  border: 2.5px solid rgba(255,255,255,0.9);
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  overflow: hidden; flex-shrink: 0;
  font-size: 1.6rem;
}
.inline-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.role-line {
  font-family: "Apple-Bold", sans-serif;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  line-height: 1.1; letter-spacing: -0.03em;
}
.role-line .hl { background: var(--gradient-title); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.role-line .muted { color: var(--color-text-secondary); }
.status-row { display: none; }
.hero-cta-row {
  display: flex; align-items: center; justify-content: center; gap: 2rem;
  flex-wrap: wrap; margin-top: 1.1rem;
}
.btn-immersao {
  display: inline-flex; align-items: center; gap: 0.6rem;
  position: relative; overflow: hidden;
  background: var(--color-blue);
  color: #fff;
  font-family: "Apple-Bold", sans-serif; font-size: 0.88rem;
  padding: 0.72rem 1.6rem; border-radius: var(--radius-pill); border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,113,227,0.3);
  transition: all var(--ts);
}
.btn-immersao:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,113,227,0.4); opacity: 0.9; }
.btn-immersao:active { transform: translateY(0); scale: 0.98; }
.btn-immersao .btn-sf-arrow {
  width: 13px; height: 13px; flex-shrink: 0;
  transition: transform 0.22s var(--ease); opacity: 0.92;
}
.btn-immersao:hover .btn-sf-arrow { transform: translate(2px,-2px); }
.hero-desc { display: none; }
.cards-section {
  width: 100%;
  flex: 1;
  min-height: 0;
  padding: 0rem 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cards-grid {
  width: 100%; max-width: 980px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, minmax(0, 320px));
  gap: 1.2rem;
  animation: fadeUp 0.7s 0.12s var(--ease) both;
}
.g-card {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 28px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  overflow: hidden;
  min-height: 0;
}
[data-theme="dark"] .g-card {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}
.g-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 2px 0 rgba(255,255,255,0.95) inset,
    0 -1px 0 rgba(0,0,0,0.03) inset,
    0 16px 40px rgba(0,0,0,0.10),
    0 4px 8px rgba(0,0,0,0.05);
}
[data-theme="dark"] .g-card:hover {
  box-shadow:
    0 1px 0 rgba(255,255,255,0.09) inset,
    0 16px 40px rgba(0,0,0,0.55),
    0 4px 8px rgba(0,0,0,0.35);
}
.card-label {
  font-family: "Apple-Bold", sans-serif;
  font-size: 0.58rem; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--color-text-tertiary);
}
.card-music {
  background: rgba(255,248,248,0.76);
}
[data-theme="dark"] .card-music {
  background: rgba(38,28,30,0.80);
}
.card-carousel {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}
.carousel-controls {
  display: flex;
  gap: 0.5rem;
}
.carousel-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  color: var(--color-text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
  padding: 0;
}
[data-theme="dark"] .carousel-btn {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}
.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  color: var(--color-text-primary);
  transform: scale(1.1);
}
.carousel-btn svg {
  width: 14px;
  height: 14px;
}
.carousel-slides {
  position: relative;
  flex: 1;
  display: flex;
}
.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.carousel-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}
.tier-placeholder, .music-placeholder {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--color-text-tertiary);
  text-align: center;
  padding: 2rem;
}
.tier-placeholder svg, .music-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.3;
}
.tier-placeholder p, .music-placeholder p {
  font-family: "Apple-Regular", sans-serif;
  font-size: 0.85rem;
}
.card-tier {
  grid-column: 1;
  grid-row: 1 / 3;
  padding: 1.5rem 1.75rem 1.4rem;
  display: flex; flex-direction: column;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
[data-theme="dark"] .card-tier {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.1);
}
.card-tier:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}
.tier-rows {
  margin-top: 0.5rem;
  display: flex; flex-direction: column;
  gap: 0; flex: 1; justify-content: space-between;
  width: 100%;
}
.tier-row {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-divider);
  flex: 1;
}
.tier-row:last-child { border-bottom: none; }
.tier-badge {
  width: 56px; height: 56px; border-radius: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: "Apple-Bold", sans-serif; font-size: 1.1rem; letter-spacing: 0.04em;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.tier-splus { background: linear-gradient(135deg,rgba(255,45,85,0.18),rgba(255,59,48,0.1)); color: #ff2d55; border: 1px solid rgba(255,45,85,0.2); }
.tier-s     { background: linear-gradient(135deg,rgba(255,59,48,0.14),rgba(255,100,60,0.08)); color: #ff3b30; border: 1px solid rgba(255,59,48,0.18); }
.tier-a     { background: linear-gradient(135deg,rgba(255,149,0,0.14),rgba(255,180,0,0.08)); color: #ff9500; border: 1px solid rgba(255,149,0,0.18); }
.tier-covers { display: flex; gap: 5px; flex-wrap: wrap; flex: 1; align-items: center; }
.tier-cover {
  width: 50px; height: 50px; border-radius: 12px; overflow: hidden; flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
  transition: transform 0.4s var(--ease);
  position: relative; cursor: pointer;
}
.tier-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tc-ow   { background: linear-gradient(135deg,#0d1117,#c9a84c); }
.tc-lis2 { background: linear-gradient(135deg,#3a8fb7,#e0eafc); }
.tc-lis  { background: linear-gradient(135deg,#f2994a,#f2c94c); }
.tc-edm  { background: linear-gradient(135deg,#450a0a,#991b1b); }
.tc-sf   { background: linear-gradient(135deg,#134e4a,#2dd4bf); }
.tc-co   { background: linear-gradient(135deg,#1e1b4b,#4338ca); }
.tier-cover-emoji {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.tier-label {
  font-family: "Apple-Regular", sans-serif; font-size: 0.68rem; font-weight: 600;
  color: var(--color-text-tertiary); text-align: right; margin-left: auto;
  flex-shrink: 0; max-width: 60px; line-height: 1.2;
}
.card-music {
  grid-column: 2; grid-row: 1;
  padding: 1.5rem 1.75rem 1.4rem;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.music-fan {
  position: relative;
  flex: 1;
  min-height: 140px;
  width: 100%;
  display: flex; align-items: center; justify-content: center;
  margin: 1rem 0;
}
.fan-cover {
  position: absolute;
  left: 50%;
  border-radius: 9px; overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
  transition: transform var(--ts), box-shadow var(--ts);
  cursor: pointer;
}
.fan-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fan-c  { width: 92px; height: 92px; z-index: 5; transform: translateX(-50%) rotate(0deg); box-shadow: 0 10px 24px rgba(0,0,0,0.22); }
.fan-l1 { width: 78px; height: 78px; z-index: 4; transform: translateX(calc(-50% - 54px)) rotate(-7deg) translateY(6px); }
.fan-l2 { width: 68px; height: 68px; z-index: 3; transform: translateX(calc(-50% - 100px)) rotate(-14deg) translateY(15px); }
.fan-r1 { width: 78px; height: 78px; z-index: 4; transform: translateX(calc(-50% + 54px)) rotate(7deg) translateY(6px); }
.fan-r2 { width: 68px; height: 68px; z-index: 3; transform: translateX(calc(-50% + 100px)) rotate(14deg) translateY(15px); }
.fan-cover:hover { box-shadow: 0 12px 32px rgba(0,0,0,0.32); }
.fan-c:hover  { transform: translateX(-50%) rotate(0deg) translateY(-6px); }
.fan-l1:hover { transform: translateX(calc(-50% - 54px)) rotate(-7deg) translateY(-2px); }
.fan-l2:hover { transform: translateX(calc(-50% - 100px)) rotate(-14deg) translateY(7px); }
.fan-r1:hover { transform: translateX(calc(-50% + 54px)) rotate(7deg) translateY(-2px); }
.fan-r2:hover { transform: translateX(calc(-50% + 100px)) rotate(14deg) translateY(7px); }
.alb-1 { background: linear-gradient(135deg,#1a1a2e,#e94560); }
.alb-2 { background: linear-gradient(135deg,#0f3460,#533483); }
.alb-3 { background: linear-gradient(135deg,#0d0d0d,#e8b84b); }
.alb-4 { background: linear-gradient(135deg,#2d132c,#ee4540); }
.alb-5 { background: linear-gradient(135deg,#0b1f3a,#1db954); }
.alb-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.music-info {
  text-align: center;
  flex-shrink: 0;
  margin-top: 0.2rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.music-title { font-family: "Apple-Bold", sans-serif; font-size: 0.88rem; line-height: 1.2; }
.music-play-row {
  display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 0.25rem;
}
.music-play-icon {
  width: 14px; height: 14px; border-radius: 50%;
  background: #fc3c44;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.4rem; color: white;
}
.music-play-label {
  font-family: "Apple-Regular", sans-serif; font-size: 0.67rem; font-weight: 600;
  color: var(--color-text-secondary);
}
.music-link { text-decoration: none; transition: opacity var(--tf); }
.music-link:hover { opacity: 0.7; }
.card-map {
  grid-column: 2; grid-row: 2;
  padding: 0;
  perspective: 1000px;
  cursor: pointer;
  background: transparent !important;
  border: none !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
}
.card-map .card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s var(--ease);
  transform-style: preserve-3d;
}
.card-map.flipped .card-inner {
  transform: rotateY(180deg);
}
.card-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.75rem 1.4rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
[data-theme="dark"] .card-face {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.face-back {
  transform: rotateY(180deg);
}
.click-hint {
  font-size: 0.6rem;
  color: var(--color-text-tertiary);
  text-align: center;
  margin-top: auto;
  opacity: 0.6;
  font-family: "Apple-Regular", sans-serif;
}
.map-visual {
  width: 100%; flex: 1; min-height: 100px;
  border-radius: 12px;
  background: var(--color-bg); overflow: hidden; position: relative; margin-bottom: 0.75rem;
  display: flex; align-items: center; justify-content: center;
}
.map-info {
  text-align: center;
  width: 100%;
}
.map-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(0,0,0,0.07) 1px,transparent 1px), linear-gradient(90deg,rgba(0,0,0,0.07) 1px,transparent 1px);
  background-size: 20px 20px;
}
[data-theme="dark"] .map-grid {
  background-image: linear-gradient(rgba(255,255,255,0.06) 1px,transparent 1px), linear-gradient(90deg,rgba(255,255,255,0.06) 1px,transparent 1px);
}
.map-pin {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 10px; height: 10px; background: var(--color-blue); border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(0,113,227,0.2), 0 0 0 8px rgba(0,113,227,0.08);
}
[data-theme="dark"] .map-pin { box-shadow: 0 0 0 4px rgba(58,158,255,0.25), 0 0 0 8px rgba(58,158,255,0.1); }
.map-city { font-family: "Apple-Bold", sans-serif; font-size: 0.75rem; }
.map-country { font-family: "Apple-Regular", sans-serif; font-size: 0.68rem; color: var(--color-text-secondary); margin-top: 0.1rem; }
.bio-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  width: 100%;
  height: 100%;
  padding: 1rem 0;
}
.bio-icon-row {
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  border: 2px solid #000;
}
[data-theme="dark"] .bio-icon-row {
  background: #111;
  border-color: #333;
}
.bio-icon.sccp {
  color: #000;
  width: 40px;
  height: 40px;
}
[data-theme="dark"] .bio-icon.sccp {
  color: #fff;
}
.bio-details {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  text-align: center;
}
.bio-text {
  font-family: "Apple-Regular", sans-serif;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.4;
}
.bio-text strong {
  color: var(--color-text-primary);
  font-family: "Apple-Bold", sans-serif;
}
.card-setup { grid-column: 3; grid-row: 1 / 3; padding: 1.5rem 1.4rem; display: flex; flex-direction: column; }
.setup-grid { display: flex; flex-direction: column; gap: 0.8rem; flex: 1; justify-content: space-between; margin-top: 0.9rem; }
.setup-group { padding: 1.1rem; background: rgba(0,0,0,0.03); border-radius: 14px; border: 1px solid var(--color-border); }
[data-theme="dark"] .setup-group { background: rgba(255,255,255,0.04); }
.setup-type { font-family: "Apple-Bold", sans-serif; font-size: 0.72rem; text-transform: uppercase; color: var(--color-text-tertiary); margin-bottom: 0.7rem; letter-spacing: 0.05em; }
.setup-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.45rem; }
.setup-list li { font-size: 0.8rem; color: var(--color-text-secondary); }
.setup-list li strong { color: var(--color-text-primary); font-family: "Apple-Bold", sans-serif; }
.tier-cover { position: relative; transition: transform 0.4s var(--ease), z-index 0s; cursor: pointer; }
.tier-cover:hover { transform: scale(1.3) translateY(-8px); z-index: 50; }
.tier-cover img { transition: filter 0.3s; }
.tier-cover:hover img { filter: brightness(1.1) drop-shadow(0 12px 24px rgba(0,0,0,0.3)); }
.tier-cover::after {
  content: attr(title); position: absolute; bottom: -30px; left: 50%; transform: translateX(-50%) translateY(5px);
  background: var(--color-text-primary); color: var(--color-bg); padding: 5px 12px; border-radius: 8px; font-size: 0.65rem;
  white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  font-family: "Apple-Bold", sans-serif; box-shadow: 0 4px 12px rgba(0,0,0,0.2); z-index: 100;
}
.tier-cover:hover::after { opacity: 1; transform: translateX(-50%) translateY(0); }
@keyframes fadeUp {
  from { opacity:0; transform: translateY(14px); }
  to   { opacity:1; transform: translateY(0); }
}
.game-modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.4);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  z-index: 5000; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease);
}
.game-modal-overlay.open { opacity: 1; pointer-events: all; }
.game-modal {
  width: min(580px, 92vw); background: var(--color-surface);
  border-radius: 28px; overflow: hidden; position: relative;
  transform: scale(0.9) translateY(20px); transition: transform 0.4s var(--ts);
  box-shadow: 0 24px 64px rgba(0,0,0,0.25);
}
.game-modal-overlay.open .game-modal { transform: scale(1) translateY(0); }
.game-modal-close {
  position: absolute; top: 1.2rem; right: 1.2rem; width: 32px; height: 32px;
  border-radius: 50%; border: none; background: rgba(0,0,0,0.05);
  font-size: 1.2rem; color: var(--color-text-primary); cursor: pointer;
  z-index: 10; transition: background 0.2s; display: flex; align-items: center; justify-content: center;
}
[data-theme="dark"] .game-modal-close { background: rgba(255,255,255,0.1); }
.game-modal-close:hover { background: rgba(0,0,0,0.1); }
.game-modal-content { display: flex; flex-direction: column; }
.game-modal-image { width: 100%; height: 260px; overflow: hidden; background: #000; }
.game-modal-image img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: transform 0.6s var(--ease); }
.game-modal:hover .game-modal-image img { transform: scale(1.04); }
.game-modal-info { padding: 2rem; }
.game-modal-info h2 { font-family: "Apple-Bold", sans-serif; font-size: 1.6rem; margin-bottom: 0.3rem; }
.game-year { font-family: "Apple-Bold", sans-serif; font-size: 0.9rem; color: var(--color-blue); margin-bottom: 1.2rem; }
.game-modal-divider { width: 40px; height: 3px; background: var(--color-blue); border-radius: 2px; margin-bottom: 1.2rem; }
.game-synopsis { font-family: "Apple-Regular", sans-serif; font-size: 0.95rem; line-height: 1.6; color: var(--color-text-secondary); }
@media (max-width: 900px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
  }
  .card-tier   { grid-column: 1 / 3; grid-row: 1; min-height: 480px; margin-top: 0; }
  .card-music  { grid-column: 1;     grid-row: 2; min-height: 260px; }
  .card-map    { grid-column: 2;     grid-row: 2; min-height: 260px; }
  .card-setup  { grid-column: 1 / 3; grid-row: 3; }
}
@media (max-width: 700px) {
  html, body { overflow: auto; }
  #view-base { overflow-y: auto; height: auto; min-height: 100dvh; }
  .header-pill { top: 16px; }
  .header-container li a { padding: 6px 12px; font-size: 0.82rem; }
  .hero-section {
    padding: 4.5rem 1.5rem 1rem;
    justify-content: flex-start;
  }
  .cards-section {
    flex: unset; padding: 0 1rem 2rem;
    height: auto; align-items: flex-start;
  }
  .cards-grid {
    height: auto; grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 0.75rem;
  }
  .card-tier   { grid-column: 1; grid-row: auto; }
  .card-music  { grid-column: 1; grid-row: auto; }
  .card-map    { grid-column: 1; grid-row: auto; }
  .card-setup  { grid-column: 1; grid-row: auto; }
  .tier-rows { flex: unset; gap: 0; }
  .tier-covers { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; }
  .tier-covers::-webkit-scrollbar { display: none; }
  .music-fan { flex: unset; min-height: 100px; margin: 0.7rem 0 1rem; }
  .map-visual { flex: unset; height: 80px; margin-bottom: 0.75rem; }
  .folder-grid { grid-template-columns: repeat(3, 130px); gap: 1.4rem 1.2rem; }
  .folder-card { width: 130px; height: 130px; }
  .stack-back  { border-radius: 18px; }
  .folder-face { border-radius: 18px; height: 130px; }
  .back-btn { top: 1.2rem; left: 1rem; font-size: 0.74rem; padding: 0.4rem 0.9rem; }
}
@media (max-width: 480px) {
  .header-pill { top: 12px; max-width: 92vw; }
  .header-container li a { padding: 5px 10px; font-size: 0.78rem; }
  .hero-headline { font-size: 1.85rem; gap: 0.15em; }
  .role-line     { font-size: 1.85rem; }
  .inline-avatar { width: 48px; height: 48px; font-size: 1.5rem; }
  .hero-section { padding-top: 80px; }
  .cards-grid { gap: 0.65rem; padding-bottom: 2rem; }
  .card-tier { min-height: unset !important; padding: 1.2rem; }
  .fan-c  { width: 64px; height: 64px; }
  .fan-l1, .fan-r1 { width: 52px; height: 52px; }
  .fan-l2, .fan-r2 { width: 46px; height: 46px; }
  .fan-l1 { transform: translateX(calc(-50% - 32px)) rotate(-7deg) translateY(5px); }
  .fan-l2 { transform: translateX(calc(-50% - 60px)) rotate(-14deg) translateY(12px); }
  .fan-r1 { transform: translateX(calc(-50% + 32px)) rotate(7deg) translateY(5px); }
  .fan-r2 { transform: translateX(calc(-50% + 60px)) rotate(14deg) translateY(12px); }
  .fan-l1:hover { transform: translateX(calc(-50% - 32px)) rotate(-7deg) translateY(0); }
  .fan-l2:hover { transform: translateX(calc(-50% - 60px)) rotate(-14deg) translateY(6px); }
  .fan-r1:hover { transform: translateX(calc(-50% + 32px)) rotate(7deg) translateY(0); }
  .fan-r2:hover { transform: translateX(calc(-50% + 60px)) rotate(14deg) translateY(6px); }
  .tier-cover { width: 50px; height: 50px; border-radius: 10px; }
  .tier-badge { width: 44px; height: 44px; font-size: 0.95rem; border-radius: 10px; }
  .tier-label { font-size: 0.6rem; max-width: 45px; }
  .folder-grid { grid-template-columns: repeat(2, 140px); gap: 1.5rem 1.2rem; }
  .folder-card { width: 140px; height: 140px; }
  .folder-face { height: 140px; border-radius: 20px; }
  .stack-back { border-radius: 20px; }
  .immersao-hint { font-size: 0.68rem; padding: 0.42rem 1rem; bottom: 1.5rem; }
}
@media (max-width: 360px) {
  .hero-headline { font-size: 1.7rem; }
  .role-line     { font-size: 1.7rem; }
  .header-container li a { padding: 5px 8px; font-size: 0.72rem; }
}
@media (max-height: 780px) {
  .hero-section {
    padding-top: 80px;
    padding-bottom: 0.25rem;
  }
  .hero-headline,
  .role-line {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
  }
  .inline-avatar {
    width: 42px;
    height: 42px;
  }
  .cards-section {
    padding-bottom: 1rem;
  }
  .cards-grid {
    grid-template-rows: repeat(2, minmax(0, 260px));
    gap: 0.9rem;
  }
  .tier-badge {
    width: 46px;
    height: 46px;
    font-size: 0.95rem;
  }
  .tier-cover {
    width: 42px;
    height: 42px;
  }
  .setup-group {
    padding: 0.8rem;
  }
  .setup-list li {
    font-size: 0.74rem;
  }
  .fan-c  { width: 74px; height: 74px; }
  .fan-l1, .fan-r1 { width: 62px; height: 62px; }
  .fan-l2, .fan-r2 { width: 54px; height: 54px; }
}
@media (max-height: 650px) {
  html, body {
    overflow: auto !important;
  }
  #view-base {
    height: auto !important;
    min-height: 100dvh;
    overflow-y: auto !important;
  }
  .hero-section {
    padding-top: 70px;
  }
  .cards-grid {
    grid-template-rows: auto;
  }
  .cards-section {
    align-items: flex-start;
  }
}
@media (max-width: 900px) and (max-height: 780px) {
  .card-tier { min-height: 380px !important; }
}

/* ── Outer Wilds Sound Widget ── */
#ow-sound-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(20, 20, 25, 0.4);
  backdrop-filter: blur(15px) saturate(180%);
  -webkit-backdrop-filter: blur(15px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2000;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: visible;
}
#ow-sound-widget:hover {
  transform: scale(1.1) translateY(-4px);
  background: rgba(40, 40, 50, 0.6);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.campfire-icon {
  width: 26px;
  height: 26px;
  transition: all 0.6s ease;
  fill: none;
  filter: drop-shadow(0 0 6px rgba(255, 140, 0, 0.7)) drop-shadow(0 0 2px rgba(255, 200, 50, 0.5));
}
#ow-sound-widget:hover .campfire-icon {
  filter: drop-shadow(0 0 10px rgba(255, 140, 0, 0.9)) drop-shadow(0 0 4px rgba(255, 210, 60, 0.7));
}
#ow-sound-widget.playing {
  background: rgba(0, 255, 204, 0.15);
  border-color: rgba(0, 255, 204, 0.25);
  box-shadow: 0 0 30px rgba(0, 255, 204, 0.25), inset 0 0 10px rgba(0, 255, 204, 0.1);
}
#ow-sound-widget.playing .campfire-icon {
  filter: drop-shadow(0 0 12px rgba(0, 255, 204, 0.9)) drop-shadow(0 0 4px rgba(0, 255, 204, 0.4));
  animation: owFlicker 2s ease-in-out infinite alternate;
}
#ow-sound-widget.playing .fire-path {
  stroke: url(#fireGradPlaying);
}

/* ── Outer Wilds Mode Overrides (About Page) ── */
body.ow-active {
  --color-bg: #08080a;
  --color-surface: #121214;
  --color-blue: #00FFCC;
  --gradient-title: linear-gradient(53deg, #00FFCC 0%, #00A693 100%);
  --ow-spark: #00FFCC;
  --ow-spark-glow: #00A693;
  --ow-pulse: rgba(0, 255, 204, 0.08);
}
.pulse-gradient {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at center, var(--ow-pulse) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.8s ease;
  animation: bg-pulse 4s ease-in-out infinite alternate;
}
body.ow-active .pulse-gradient {
  opacity: 1;
}
@keyframes bg-pulse {
  0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.35; }
  100% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.5; }
}
body.ow-active::before {
  content: '';
  position: fixed; inset: 0;
  .card-tier   { grid-column: 1; grid-row: auto; }
  .card-music  { grid-column: 1; grid-row: auto; }
  .card-map    { grid-column: 1; grid-row: auto; }
  .card-setup  { grid-column: 1; grid-row: auto; }
  .tier-rows { flex: unset; gap: 0; }
  .tier-covers { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; }
  .tier-covers::-webkit-scrollbar { display: none; }
  .music-fan { flex: unset; min-height: 100px; margin: 0.7rem 0 1rem; }
  .map-visual { flex: unset; height: 80px; margin-bottom: 0.75rem; }
  .folder-grid { grid-template-columns: repeat(3, 130px); gap: 1.4rem 1.2rem; }
  .folder-card { width: 130px; height: 130px; }
  .stack-back  { border-radius: 18px; }
  .folder-face { border-radius: 18px; height: 130px; }
  .back-btn { top: 1.2rem; left: 1rem; font-size: 0.74rem; padding: 0.4rem 0.9rem; }
}
@media (max-width: 480px) {
  .header-pill { top: 12px; max-width: 92vw; }
  .header-container li a { padding: 5px 10px; font-size: 0.78rem; }
  .hero-headline { font-size: 1.85rem; gap: 0.15em; }
  .role-line     { font-size: 1.85rem; }
  .inline-avatar { width: 48px; height: 48px; font-size: 1.5rem; }
  .hero-section { padding-top: 80px; }
  .cards-grid { gap: 0.65rem; padding-bottom: 2rem; }
  .card-tier { min-height: unset !important; padding: 1.2rem; }
  .fan-c  { width: 64px; height: 64px; }
  .fan-l1, .fan-r1 { width: 52px; height: 52px; }
  .fan-l2, .fan-r2 { width: 46px; height: 46px; }
  .fan-l1 { transform: translateX(calc(-50% - 32px)) rotate(-7deg) translateY(5px); }
  .fan-l2 { transform: translateX(calc(-50% - 60px)) rotate(-14deg) translateY(12px); }
  .fan-r1 { transform: translateX(calc(-50% + 32px)) rotate(7deg) translateY(5px); }
  .fan-r2 { transform: translateX(calc(-50% + 60px)) rotate(14deg) translateY(12px); }
  .fan-l1:hover { transform: translateX(calc(-50% - 32px)) rotate(-7deg) translateY(0); }
  .fan-l2:hover { transform: translateX(calc(-50% - 60px)) rotate(-14deg) translateY(6px); }
  .fan-r1:hover { transform: translateX(calc(-50% + 32px)) rotate(7deg) translateY(0); }
  .fan-r2:hover { transform: translateX(calc(-50% + 60px)) rotate(14deg) translateY(6px); }
  .tier-cover { width: 50px; height: 50px; border-radius: 10px; }
  .tier-badge { width: 44px; height: 44px; font-size: 0.95rem; border-radius: 10px; }
  .tier-label { font-size: 0.6rem; max-width: 45px; }
  .folder-grid { grid-template-columns: repeat(2, 140px); gap: 1.5rem 1.2rem; }
  .folder-card { width: 140px; height: 140px; }
  .folder-face { height: 140px; border-radius: 20px; }
  .stack-back { border-radius: 20px; }
  .immersao-hint { font-size: 0.68rem; padding: 0.42rem 1rem; bottom: 1.5rem; }
}
@media (max-width: 360px) {
  .hero-headline { font-size: 1.7rem; }
  .role-line     { font-size: 1.7rem; }
  .header-container li a { padding: 5px 8px; font-size: 0.72rem; }
}
@media (max-height: 780px) {
  .hero-section {
    padding-top: 80px;
    padding-bottom: 0.25rem;
  }
  .hero-headline,
  .role-line {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
  }
  .inline-avatar {
    width: 42px;
    height: 42px;
  }
  .cards-section {
    padding-bottom: 1rem;
  }
  .cards-grid {
    grid-template-rows: repeat(2, minmax(0, 260px));
    gap: 0.9rem;
  }
  .tier-badge {
    width: 46px;
    height: 46px;
    font-size: 0.95rem;
  }
  .tier-cover {
    width: 42px;
    height: 42px;
  }
  .setup-group {
    padding: 0.8rem;
  }
  .setup-list li {
    font-size: 0.74rem;
  }
  .fan-c  { width: 74px; height: 74px; }
  .fan-l1, .fan-r1 { width: 62px; height: 62px; }
  .fan-l2, .fan-r2 { width: 54px; height: 54px; }
}
@media (max-height: 650px) {
  html, body {
    overflow: auto !important;
  }
  #view-base {
    height: auto !important;
    min-height: 100dvh;
    overflow-y: auto !important;
  }
  .hero-section {
    padding-top: 70px;
  }
  .cards-grid {
    grid-template-rows: auto;
  }
  .cards-section {
    align-items: flex-start;
  }
}
@media (max-width: 900px) and (max-height: 780px) {
  .card-tier { min-height: 380px !important; }
}

/* ── Outer Wilds Sound Widget ── */
#ow-sound-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(20, 20, 25, 0.4);
  backdrop-filter: blur(15px) saturate(180%);
  -webkit-backdrop-filter: blur(15px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2000;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: visible;
}
#ow-sound-widget:hover {
  transform: scale(1.1) translateY(-4px);
  background: rgba(40, 40, 50, 0.6);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.campfire-icon {
  width: 26px;
  height: 26px;
  transition: all 0.6s ease;
  fill: none;
  filter: drop-shadow(0 0 6px rgba(255, 140, 0, 0.7)) drop-shadow(0 0 2px rgba(255, 200, 50, 0.5));
}
#ow-sound-widget:hover .campfire-icon {
  filter: drop-shadow(0 0 10px rgba(255, 140, 0, 0.9)) drop-shadow(0 0 4px rgba(255, 210, 60, 0.7));
}
#ow-sound-widget.playing {
  background: rgba(0, 255, 204, 0.15);
  border-color: rgba(0, 255, 204, 0.25);
  box-shadow: 0 0 30px rgba(0, 255, 204, 0.25), inset 0 0 10px rgba(0, 255, 204, 0.1);
}
#ow-sound-widget.playing .campfire-icon {
  filter: drop-shadow(0 0 12px rgba(0, 255, 204, 0.9)) drop-shadow(0 0 4px rgba(0, 255, 204, 0.4));
  animation: owFlicker 2s ease-in-out infinite alternate;
}
#ow-sound-widget.playing .fire-path {
  stroke: url(#fireGradPlaying);
}

/* ── Outer Wilds Mode Overrides (About Page) ── */
body.ow-active {
  --color-bg: #08080a;
  --color-surface: #121214;
  --color-blue: #00FFCC;
  --gradient-title: linear-gradient(53deg, #00FFCC 0%, #00A693 100%);
  --ow-spark: #00FFCC;
  --ow-spark-glow: #00A693;
  --ow-pulse: rgba(0, 255, 204, 0.08); /* Emerald for About */
}
.pulse-gradient {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at bottom right, var(--ow-pulse) 0%, rgba(0, 255, 204, 0.02) 50%, rgba(0,0,0,0) 100%);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.8s ease;
}
body.ow-active .pulse-gradient {
  opacity: 1;
}
body.ow-active::before {
  content: '';
  position: fixed; inset: 0;
  background: radial-gradient(circle at bottom right, rgba(20, 200, 160, 0.10) 0%, transparent 45%);
  pointer-events: none; z-index: -1;
}
.ow-star { position: fixed; background: #fff; border-radius: 50%; pointer-events: none; z-index: 1300; filter: blur(0.5px); }
.ow-global-spark { position: fixed; background: var(--ow-spark, #00FFCC); border-radius: 50%; pointer-events: none; z-index: 1400; filter: blur(1px) drop-shadow(0 0 5px var(--ow-spark-glow, #00A693)); opacity: 0; }
.text-swap { opacity: 0 !important; filter: blur(12px) !important; transform: translateY(10px) scale(0.96); transition: all 0.6s ease; }

@keyframes owFlicker {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
  33% { transform: scale(1.08) rotate(-2deg); opacity: 0.9; }
  66% { transform: scale(0.95) rotate(2deg); opacity: 0.95; }
}
@keyframes sparkFloat {
  0% { transform: translate(0, 0) scale(0); opacity: 0; }
  10% { transform: translate(calc(var(--tx) * 0.1), calc(var(--ty) * 0.1)) scale(1); opacity: 0.8; }
  100% { transform: translate(var(--tx), var(--ty)) scale(0.2); opacity: 0; }
}
@keyframes starTwinkle {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.2); }
}
@keyframes bg-pulse {
  0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.35; }
  100% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.5; }
}

@media (max-width: 480px) {
  /* Olho do Universo Mobile Refined */
  body.ow-active #loc-visual img { max-width: 90px !important; }
  body.ow-active #loc-country img { max-width: 65px !important; margin-top: 5px !important; }
  body.ow-active .inline-avatar { display: none !important; }
  body.ow-active .hero-headline { font-size: 1.6rem !important; line-height: 1.3 !important; }
  body.ow-active .hero-section { padding-top: 90px !important; }
}
