﻿/* Identidade da página inicial */
body.index-page {
  --home-ink: #f8f4fa;
  --home-muted: #c6b8c9;
  --home-pink: #ff75ba;
  --home-cyan: #7ce1df;
  color: var(--home-ink);
  background: #100d1a !important;
}
body.index-page .gg-bg-glow {
  background: linear-gradient(135deg, rgba(16, 13, 26, .25), rgba(16, 13, 26, .15)),
    url('/img/abstract/cosmos-realista.png') center center / cover no-repeat;
  animation: none;
}
/* Camadas decorativas ficam atrás do conteúdo e nunca recebem cliques. */
body.index-page .gg-bg-stars {
  opacity: .8;
  background-image:
    radial-gradient(1.5px 1.5px at 8% 22%, #fff, transparent),
    radial-gradient(1px 1px at 22% 70%, #e2ddff, transparent),
    radial-gradient(2px 2px at 37% 16%, #fff, transparent),
    radial-gradient(1px 1px at 51% 58%, #d7e8ff, transparent),
    radial-gradient(1.5px 1.5px at 69% 32%, #fff, transparent),
    radial-gradient(1px 1px at 84% 80%, #f9d8ef, transparent),
    radial-gradient(1.5px 1.5px at 94% 12%, #fff, transparent);
  background-size: 420px 360px;
  animation: ggTwinkle 6s ease-in-out infinite;
}
body.index-page .gg-bg-stars::before,
body.index-page .gg-bg-stars::after { background-size: 610px 470px; }
body.index-page .gg-bg-cosmos {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
body.index-page .gg-bg-cosmos::before {
  content: '';
  position: absolute;
  left: var(--black-hole-left, auto);
  right: var(--black-hole-right, -2%);
  top: var(--black-hole-top, 65%);
  width: clamp(150px, 20vw, 270px);
  aspect-ratio: 1;
  background: url('/img/abstract/buraco-negro.png') center / contain no-repeat;
  opacity: .55;
  animation: space-black-hole-glow 9s ease-in-out infinite alternate;
}
.space-planet {
  position: absolute;
  top: var(--planet-top);
  left: 0;
  width: var(--planet-size);
  aspect-ratio: 1;
  opacity: .82;
  animation: space-crossing var(--planet-duration) linear forwards;
  will-change: transform;
}
.space-planet__offset,
.space-planet__image,
.space-planet-static {
  display: block;
  width: 100%;
  height: 100%;
}
.space-planet__offset {
  transform: translate3d(var(--planet-offset-x, 0px), var(--planet-offset-y, 0px), 0);
  transition: transform .8s ease-out;
}
.space-planet__image {
  background: var(--planet-image) center / contain no-repeat;
  animation: space-spin var(--planet-spin-duration) linear infinite;
  animation-direction: var(--planet-spin-direction);
}
/* O anel conserva a inclinação durante a passagem. */
.space-planet[data-model="anel"] .space-planet__image { animation: none; }
.space-shooting-star {
  position: absolute;
  top: var(--star-top);
  left: var(--star-left);
  width: var(--star-width, 160px);
  height: var(--star-thickness, 2px);
  border-radius: 50%;
  background: linear-gradient(90deg, #fff, rgba(178, 213, 255, .9) 8%, transparent);
  box-shadow: 0 0 8px rgba(188, 213, 255, .65);
  opacity: 0;
  animation: space-shooting-star var(--star-duration, 2.4s) ease-out forwards;
  will-change: transform, opacity;
}
.space-planet-static {
  display: none;
  background: url('/img/abstract/planeta-realista.png') center / contain no-repeat;
}
.gg-bg-cosmos.is-paused .space-planet,
.gg-bg-cosmos.is-paused .space-planet__image,
.gg-bg-cosmos.is-paused .space-shooting-star,
body.index-page .gg-bg-cosmos.is-paused::before { animation-play-state: paused; }
@keyframes space-crossing {
  from { transform: translate3d(var(--planet-from), 0, 0); }
  to { transform: translate3d(var(--planet-to), var(--planet-travel-y, 0px), 0); }
}
@keyframes space-spin {
  to { transform: rotate(360deg); }
}
@keyframes space-black-hole-glow {
  from { opacity: .42; }
  to { opacity: .62; }
}
@keyframes space-shooting-star {
  0% { opacity: 0; transform: translate3d(0, 0, 0) rotate(var(--star-angle, -30deg)); }
  12% { opacity: .9; }
  80% { opacity: .65; }
  100% { opacity: 0; transform: translate3d(var(--star-travel-x), var(--star-travel-y), 0) rotate(var(--star-angle, -30deg)); }
}
body.index-page a:focus-visible,
body.index-page button:focus-visible { outline: 3px solid var(--home-cyan); outline-offset: 4px; }
body.index-page #header { padding: 13px 0; }
body.index-page #header .header-container {
  min-height: 70px;
  padding: 10px 24px;
  background: rgba(20, 15, 29, .92) !important;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,.2);
  backdrop-filter: blur(18px);
}
body.index-page #header .navmenu a { color: #e8dce8 !important; font-size: .85rem; font-weight: 600; }
body.index-page #header .navmenu a:hover,
body.index-page #header .navmenu .active { color: var(--home-pink) !important; text-shadow: none; }
body.index-page #header .btn-getstarted {
  padding: 10px 20px;
  border: 1px solid rgba(255, 117, 186, .55);
  border-radius: 8px;
  background: rgba(255, 117, 186, .1);
  color: #fff;
}
body.index-page #hero {
  min-height: auto;
  padding: 155px 0 92px;
  background: radial-gradient(ellipse at 76% 30%, rgba(251, 92, 156, .13), transparent 33%), linear-gradient(150deg, rgba(23, 19, 33, .4), rgba(23, 16, 30, .38) 55%, rgba(33, 18, 36, .45)) !important;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
body.index-page #hero > .container { max-width: 1320px; }
body.index-page #hero > .container > .row { align-items: center; --bs-gutter-x: 4rem; }
body.index-page .hero .content-col { padding-right: calc(var(--bs-gutter-x) * .5); }
.hero-eyebrow, .player-label {
  display: flex;
  align-items: center;
  color: var(--home-cyan);
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .18em;
}
.hero-eyebrow { gap: 10px; margin: 0 0 18px; }
.hero-eyebrow span { width: 28px; height: 2px; background: var(--home-cyan); }
body.index-page h1.name {
  margin: 0 0 14px;
  color: #fff;
  font-family: var(--heading-font), sans-serif !important;
  font-size: clamp(3.7rem, 7.5vw, 7rem);
  font-weight: 800;
  line-height: .96;
  letter-spacing: -.065em;
}
body.index-page h1.name span { color: var(--home-pink); }
body.index-page .hero-kicker { margin: 0 0 28px; color: #d1c3d0; font-size: clamp(1rem, 1.3vw, 1.13rem); line-height: 1.65; }
.player-label { justify-content: space-between; gap: 12px; padding: 12px 16px; background: #28202d; border: 1px solid rgba(255,255,255,.1); border-bottom: 0; border-radius: 12px 12px 0 0; color: #e9dbe8; letter-spacing: .12em; }
.player-label span:last-child { color: #e992be; font-size: .62rem; }
.player-label i { color: var(--home-pink); margin-right: 7px; }
body.index-page .twitch-embed-wrapper { overflow: hidden; width: 100%; aspect-ratio: 16 / 9; border: 1px solid rgba(255,255,255,.1); border-radius: 0 0 12px 12px; background: #09070c; box-shadow: 0 18px 50px rgba(0,0,0,.25); }
body.index-page .twitch-embed-wrapper iframe { display: block; width: 100% !important; height: 100% !important; }
body.index-page .btn-support,
body.index-page .about .about-content .btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 12px 20px; border: 1px solid transparent;
  border-radius: 8px; background: var(--home-pink); color: #24101e !important;
  font-size: .82rem; font-weight: 800; box-shadow: none; text-decoration: none;
}
body.index-page .btn-support:hover,
body.index-page .about .about-content .btn-primary:hover { background: #ff9acb; transform: translateY(-2px); }
body.index-page .btn-livepix { background: transparent; color: #f8eff7 !important; border-color: rgba(255,255,255,.25); }
body.index-page .btn-livepix:hover { background: rgba(255,255,255,.08); }
body.index-page .hero-about-card {
  position: relative; width: 100%; margin: 0; padding: 28px;
  overflow: hidden; background: linear-gradient(155deg, #382134 0%, #211a2a 55%, #191722 100%);
  border: 1px solid rgba(255, 164, 207, .2); border-radius: 18px;
  box-shadow: 0 24px 70px rgba(0,0,0,.25);
}
body.index-page .hero-about-card::before {
  content: 'ANNA / LIVE'; position: absolute; top: 22px; right: 25px; color: rgba(255,255,255,.37);
  font-size: .62rem; font-weight: 800; letter-spacing: .2em;
}
body.index-page .hero-about-layout { grid-template-columns: 1fr; gap: 12px; }
body.index-page .hero-avatar-col {
  height: 240px; margin: 2px 0 8px; align-items: flex-end;
  background: radial-gradient(ellipse at 50% 80%, rgba(255, 110, 181, .24), transparent 60%);
}
body.index-page .hero-avatar-wrap { height: 100%; align-items: flex-end; }
body.index-page .hero-avatar-wrap .fluid-img { width: auto; max-width: 100%; height: 100%; object-fit: contain; animation: none; }
body.index-page .hero-topline { gap: 8px; flex-wrap: wrap; }
body.index-page .hero-about-card h3 { margin: 0; color: #fff; font-size: 1.4rem; letter-spacing: -.03em; }
body.index-page .hero-about-card p { color: #d1c3d0; font-size: .9rem; }
body.index-page .hero-status-badge { background: rgba(0,0,0,.18); border-color: rgba(255,255,255,.15); color: #f9eff8; font-size: .7rem; }
body.index-page .hero-info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
body.index-page .hero-info-item { min-height: 66px; background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.08); border-radius: 8px; }
body.index-page .hero-info-item strong { color: #a99baa; font-size: .67rem; text-transform: uppercase; letter-spacing: .08em; }
body.index-page .hero-info-item span { color: #f8f2f8; font-size: .8rem; }
body.index-page .hero-info-item code { color: var(--home-cyan); }
body.index-page .hero-live-link { padding: 10px 0 0; border: 0; background: transparent; color: var(--home-cyan); }
body.index-page .section { padding-top: 88px; padding-bottom: 88px; }
body.index-page .section-title { padding-bottom: 42px; }
body.index-page .section-title h2 { color: var(--home-cyan); font-size: .7rem; font-weight: 800; letter-spacing: .18em; }
body.index-page .section-title h2::after { width: 52px; background: var(--home-cyan); opacity: .6; }
body.index-page .section-title div { margin-top: 16px; color: #fff; font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.15; letter-spacing: -.04em; text-transform: none; }
body.index-page .section-title .description-title { color: var(--home-pink); }
body.index-page .about-image img { width: 100%; max-height: 520px; object-fit: cover; border: 1px solid rgba(255,255,255,.1); }
body.index-page .about .about-image .experience-badge { border-radius: 12px; background: #ff82be; color: #271421; box-shadow: 0 12px 35px rgba(0,0,0,.25); }
body.index-page .about .about-image .experience-badge .years,
body.index-page .about .about-image .experience-badge .text { color: #271421; }
body.index-page .about-content h2 { color: #fff; font-size: clamp(2rem, 3vw, 2.7rem); letter-spacing: -.04em; }
body.index-page .about-content p { color: var(--home-muted); line-height: 1.7; }
body.index-page .about .feature-item,
body.index-page .testimonial-intro,
body.index-page .testimonial-item,
body.index-page .portfolio .portfolio-entry,
body.index-page #agenda-cards .card {
  background: #1c1825 !important; border: 1px solid rgba(255,255,255,.09) !important;
  border-radius: 14px !important; box-shadow: none !important;
}
body.index-page .about .feature-item i { color: var(--home-cyan) !important; }
body.index-page .testimonial-item p,
body.index-page .testimonial-intro p { color: var(--home-muted) !important; }
body.index-page .slider-prev, body.index-page .slider-next { background: #322438 !important; border-color: rgba(255,255,255,.14) !important; box-shadow: none; }
body.index-page #portfolio { background: rgba(255,255,255,.015) !important; border-block: 1px solid rgba(255,255,255,.06); }
body.index-page #portfolio .container-fluid { max-width: 1320px; padding-inline: 12px; }
body.index-page #Setup .images-col img { width: 100%; height: 280px; object-fit: cover; border-radius: 12px !important; }
body.index-page #Setup .specs-col { color: var(--home-muted); }
body.index-page #Setup .specs-col h5 { color: #fff; font-size: 1rem; }
body.index-page #Setup .specs-col h5 i { color: var(--home-cyan); }
body.index-page #agenda-card { background: linear-gradient(145deg, #65304d, #2b1d32) !important; border: 1px solid rgba(255, 143, 195, .32) !important; border-radius: 14px; box-shadow: none !important; }
body.index-page #Agenda h3 { color: #f8eff7; font-size: 1.1rem; }
body.index-page #footer { padding: 55px 0 30px; border-top: 1px solid rgba(255,255,255,.08); color: var(--home-muted); }
body.index-page #footer .sitename { color: #fff; font-weight: 800; letter-spacing: -.04em; }
body.index-page #footer .social-links a { border-color: rgba(255,255,255,.16); color: #e7dce7; }
body.index-page #footer .social-links a:hover { color: #24101e; background: var(--home-pink); border-color: var(--home-pink); }
@media (max-width: 1199px) {
  body.index-page #header .header-container { margin-inline: 16px; width: calc(100% - 32px); }
}
@media (max-width: 991px) {
  body.index-page #hero { padding: 135px 0 65px; }
  body.index-page #hero > .container > .row { --bs-gutter-x: 1.5rem; }
  body.index-page .hero .content-col { margin-bottom: 32px; }
  body.index-page .hero-avatar-col { height: 220px; }
  body.index-page .section { padding-top: 65px; padding-bottom: 65px; }
}
@media (max-width: 575px) {
  body.index-page .gg-bg-glow { background-position: center, 72% center; }
  body.index-page #header .header-container { min-height: 60px; padding: 8px 16px; }
  body.index-page #hero { padding-top: 125px; }
  body.index-page h1.name { font-size: clamp(3.2rem, 14vw, 4.5rem); }
  body.index-page .hero-about-card { padding: 22px; }
  body.index-page .hero-avatar-col { height: 190px; }
  body.index-page .player-label { font-size: .58rem; }
  body.index-page .player-label span:last-child { font-size: .55rem; }
  body.index-page #Setup .images-col img { height: 230px; }
  body.index-page .about .about-image .experience-badge { right: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .space-planet, .space-shooting-star { display: none; }
  body.index-page .gg-bg-cosmos::before { animation: none; opacity: .5; }
  .space-planet-static { display: block; position: absolute; top: 14%; right: -4%; width: clamp(150px, 27vw, 300px); height: auto; aspect-ratio: 1; opacity: .68; }
  body.index-page *, body.index-page *::before, body.index-page *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
