:root {
  color-scheme: dark;
  --night: #08070d;
  --night-raised: #100e18;
  --ink: #f8f7fb;
  --muted: #a8a5b5;
  --quiet: #767283;
  --violet: #aa79ff;
  --violet-soft: #c4a4ff;
  --line: rgba(220, 211, 255, .13);
  --display: "Manrope", "DM Sans", sans-serif;
  --body: "DM Sans", "Manrope", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body { margin: 0; background: var(--night); color: var(--ink); font-family: var(--body); -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--violet-soft); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header { height: 76px; display: flex; align-items: center; padding: 0 max(5.2vw, calc((100vw - 1320px) / 2)); gap: 62px; position: relative; z-index: 10; background: rgba(8,7,13,.92); border-bottom: 1px solid rgba(255,255,255,.06); }
.wordmark { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 23px; font-weight: 800; letter-spacing: -.06em; white-space: nowrap; }
.wordmark-moon { display: inline-grid; place-items: center; width: 26px; height: 26px; color: var(--violet); font-size: 27px; line-height: 1; }
.wordmark-accent { color: var(--violet); }
.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav a, .header-login { color: #c1beca; font-size: 13px; font-weight: 500; transition: color .2s ease; }
.site-nav a:hover, .header-login:hover, .section-link:hover, .site-footer a:hover { color: var(--violet-soft); }
.header-login { margin-left: auto; color: var(--ink); border: 1px solid rgba(197,158,255,.62); border-radius: 9px; padding: 11px 17px; }
.header-login span { margin-left: 10px; color: var(--violet); }
.menu-toggle { display: none; }

.hero { min-height: min(780px, calc(100svh - 76px)); min-height: clamp(630px, calc(100svh - 76px), 820px); position: relative; display: flex; align-items: center; overflow: hidden; padding: 88px max(5.2vw, calc((100vw - 1320px) / 2)) 116px; isolation: isolate; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--night) 1%, rgba(8,7,13,.95) 29%, rgba(8,7,13,.5) 49%, transparent 73%), linear-gradient(0deg, var(--night) 0%, transparent 21%); }
.hero-art { position: absolute; inset: 0 0 0 26%; z-index: -2; overflow: hidden; }
.hero-art img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 62% center; }
.hero-content { width: min(610px, 52%); position: relative; margin-top: -9px; }
.hero h1, .section-heading h2, .community-copy h2, .premium-copy h2 { font-family: var(--display); font-weight: 800; letter-spacing: -.065em; }
.hero h1 { max-width: 680px; margin: 0; font-size: clamp(54px, 6.2vw, 88px); line-height: .99; }
.hero h1 span, .section-heading h2 span, .community-copy h2 span, .premium-copy h2 span { color: var(--violet); }
.hero-content > p { max-width: 470px; margin: 29px 0 33px; color: #c0bdcb; font-size: 17px; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; padding: 0 21px; border: 1px solid transparent; border-radius: 10px; font-size: 14px; font-weight: 700; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: rgba(132,78,224,.3); border-color: var(--violet); box-shadow: inset 0 0 24px rgba(143,92,237,.12); }
.button-primary:hover { background: rgba(132,78,224,.48); }
.button span { font-size: 18px; color: #d1baff; }
.text-link, .section-link { color: #d6bfff; border-bottom: 1px solid rgba(170,121,255,.6); padding-bottom: 5px; font-size: 13px; font-weight: 600; }
.text-link span, .section-link span { margin-left: 8px; color: var(--violet); }
.hero-peek { position: absolute; z-index: 0; right: 3.1%; bottom: -29px; left: 3.1%; height: 126px; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 15px; overflow: hidden; opacity: .8; mask-image: linear-gradient(180deg,transparent 0%,#000 28%); pointer-events: none; }
.hero-peek span { overflow: hidden; border: 1px solid rgba(255,255,255,.11); border-radius: 8px 8px 0 0; background: #100e17; }
.hero-peek img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 40%; }

.section-wrap { width: min(1320px, calc(100% - 10.4vw)); margin-inline: auto; }
.catalog-section { padding-top: 92px; padding-bottom: 106px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 29px; }
.section-heading h2, .community-copy h2, .premium-copy h2 { font-size: clamp(38px, 4.1vw, 58px); line-height: 1.08; margin: 0; }
.section-heading p, .community-copy > p, .premium-copy > p:not(.premium-kicker) { margin: 15px 0 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.section-link { flex: 0 0 auto; margin-bottom: 5px; }
.mobile-break { display: none; }
.catalog-search { height: 52px; max-width: 560px; margin-bottom: 30px; display: flex; align-items: center; gap: 13px; border-bottom: 1px solid rgba(191,166,241,.48); }
.catalog-search svg { width: 19px; height: 19px; flex: none; fill: none; stroke: var(--violet-soft); stroke-width: 1.7; }
.catalog-search input { width: 100%; height: 100%; color: var(--ink); border: 0; outline: 0; background: transparent; font-size: 14px; }
.catalog-search input::placeholder { color: #817d8e; }
.catalog-search button { border: 0; background: transparent; color: var(--violet-soft); cursor: pointer; font-size: 13px; font-weight: 700; }
.catalog-status { min-height: 22px; margin: -21px 0 16px; color: var(--quiet); font-size: 12px; }
.anime-grid { min-height: 280px; display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 22px; }
.anime-card { min-width: 0; display: block; }
.poster-frame { aspect-ratio: .71; overflow: hidden; border-radius: 6px; background: #14111d; position: relative; }
.anime-card:first-child .poster-frame { aspect-ratio: 1.55; }
.poster-frame::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(0deg, rgba(7,6,12,.82), transparent); opacity: .74; transition: opacity .25s ease; }
.poster-frame img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .45s cubic-bezier(.2,.7,.3,1); }
.anime-card:hover .poster-frame img { transform: scale(1.045); }
.anime-card:hover .poster-frame::after { opacity: .35; }
.anime-title { margin: 12px 0 5px; overflow: hidden; color: #eeeaf4; font-family: var(--display); font-size: 15px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.anime-meta { color: var(--quiet); font-size: 12px; }
.poster-skeleton { min-height: 280px; aspect-ratio: .77; border-radius: 6px; background: linear-gradient(105deg,#110f18 25%,#1b1725 42%,#110f18 60%); background-size: 220% 100%; animation: shimmer 1.8s linear infinite; }
.poster-unavailable { background: radial-gradient(ellipse at 75% 25%,rgba(170,121,255,.2),transparent 42%),linear-gradient(145deg,#191422,#0d0b12 65%); }
.catalog-fallback { align-self: start; color: var(--violet-soft); font-size: 13px; }
@keyframes shimmer { to { background-position-x: -220%; } }
.mobile-catalog-link { display: none; }

.community-section { min-height: 640px; position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 7vw; padding: 100px max(5.2vw, calc((100vw - 1320px) / 2)); border-block: 1px solid rgba(255,255,255,.055); background: radial-gradient(ellipse at 22% 50%, rgba(85,50,146,.13), transparent 49%), #0b0911; overflow: hidden; }
.community-visual { min-height: 425px; position: relative; display: grid; place-items: center; }
.moon-glow { position: absolute; width: 390px; height: 390px; border-radius: 50%; background: radial-gradient(circle,rgba(132,91,203,.14),rgba(103,71,156,.05) 48%,transparent 70%); }
.profile-preview { width: min(100%, 520px); position: relative; z-index: 1; padding: 12px 12px 15px; border: 1px solid rgba(186,156,240,.23); border-radius: 13px; background: rgba(11,9,17,.91); box-shadow: 0 30px 95px rgba(0,0,0,.42); transform: rotate(-1deg); }
.profile-cover { height: 155px; overflow: hidden; border-radius: 7px; background: #13101a; }
.profile-cover img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 44%; opacity: .82; }
.profile-identity { display: flex; align-items: center; gap: 13px; position: relative; margin: -23px 9px 17px; }
.avatar-orbit, .premium-avatar { display: grid; place-items: center; color: #ebdfff; background: radial-gradient(circle at 30% 27%,#50357a,#15101f 74%); border: 2px solid var(--violet); box-shadow: 0 0 23px rgba(158,104,242,.2); }
.avatar-orbit { width: 58px; height: 58px; flex: none; border-radius: 50%; font-size: 24px; }
.profile-label, .premium-name > span { color: #9288a6; font-size: 9px; letter-spacing: .17em; }
.profile-name { margin-top: 4px; font-family: var(--display); font-size: 16px; font-weight: 700; }
.edit-glyph { margin-left: auto; color: #ba9bf0; font-size: 17px; }
.profile-divider { height: 1px; margin: 0 10px 14px; background: var(--line); }
.saved-preview { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin: 0 10px; }
.saved-preview > span { grid-column: 1/-1; color: #c5bdcf; font-size: 11px; }
.saved-art { height: 105px; display: flex; align-items: end; padding: 9px; border-radius: 4px; overflow: hidden; position: relative; background-size: cover; }
.saved-art::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,rgba(8,7,13,.9),transparent 90%); }
.saved-art b { z-index: 1; font-size: 10px; line-height: 1.3; font-weight: 500; }
.saved-art-one { background-image: url("/landing-assets/discovery-city.jpg"); background-position: center 42%; }
.saved-art-two { background-image: url("/landing-assets/discovery-fantasy.jpg"); background-position: center 54%; }
.saved-art-three { background-image: url("/landing-assets/discovery-friends.jpg"); background-position: center 48%; }
.preview-bottom { display: flex; justify-content: center; gap: 7px; padding-top: 16px; }
.preview-bottom span { width: 4px; height: 4px; border-radius: 50%; background: #686174; }
.preview-bottom span:first-child { width: 17px; border-radius: 5px; background: var(--violet); }
.visual-caption { position: absolute; right: 4%; bottom: 7%; color: #82778f; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.community-copy { max-width: 510px; }
.community-copy > p { max-width: 440px; font-size: 16px; }
.feature-list { list-style: none; padding: 0; margin: 31px 0 31px; border-top: 1px solid var(--line); }
.feature-list li { display: flex; align-items: center; gap: 17px; min-height: 52px; border-bottom: 1px solid var(--line); color: #e2dee9; font-size: 13px; }
.list-mark { color: var(--violet); font-size: 10px; letter-spacing: .08em; }

.premium-section { min-height: 580px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 42px; padding-top: 96px; padding-bottom: 102px; }
.premium-copy { max-width: 770px; text-align: center; }
.premium-kicker { display: inline-flex; align-items: center; min-height: 34px; margin: 0 0 19px; padding: 0 15px; border: 1px solid rgba(170,121,255,.6); border-radius: 999px; color: var(--violet); font-size: 10px; font-weight: 700; letter-spacing: .14em; }
.premium-copy > p:not(.premium-kicker) { max-width: 560px; margin: 15px auto 0; }
.premium-examples { width: min(1120px,100%); display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 34px; }
.premium-art { min-height: 300px; position: relative; overflow: hidden; border: 1px solid rgba(180,143,241,.27); border-radius: 12px; background: #13101a; box-shadow: 0 26px 85px rgba(0,0,0,.32); }
.premium-art--quiet { opacity: .72; transform: scale(.96); }
.premium-art--expressive { box-shadow: 0 20px 65px rgba(97,54,161,.17); }
.premium-cover { position: absolute; inset: 0 0 104px; overflow: hidden; }
.premium-cover img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 41%; filter: saturate(.88); }
.premium-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,#100d17 0%,rgba(16,13,23,.05) 70%); }
.premium-avatar { width: 79px; height: 79px; position: absolute; left: 28px; bottom: 67px; z-index: 1; border-radius: 50%; font-size: 32px; }
.premium-name { position: absolute; left: 123px; bottom: 52px; display: flex; flex-direction: column; gap: 6px; }
.premium-name > span { color: #c8b0ed; }
.premium-name b { font-family: var(--display); font-size: 15px; }
.premium-tabs { position: absolute; right: 24px; bottom: 14px; left: 24px; display: flex; gap: 24px; padding-top: 9px; border-top: 1px solid var(--line); color: #858092; font-size: 9px; }
.premium-tabs span:first-child { color: #f2ebff; }
.premium-sparkle { position: absolute; right: 25px; bottom: 55px; color: var(--violet); font-size: 20px; }
.premium-cta { min-width: 380px; min-height: 64px; margin-top: 1px; border: 0; border-radius: 999px; color: #140c1f; background: linear-gradient(110deg,#a06aff,#bc74ff); box-shadow: 0 12px 34px rgba(154,95,238,.2); font-size: 15px; }
.premium-cta span { color: #29143e; }

.site-footer { min-height: 90px; display: flex; align-items: center; gap: 28px; padding: 18px max(5.2vw, calc((100vw - 1320px) / 2)); border-top: 1px solid var(--line); }
.footer-wordmark { font-size: 18px; }
.footer-wordmark .wordmark-moon { width: 20px; height: 20px; font-size: 21px; }
.site-footer > span, .site-footer > a:last-child { color: var(--quiet); font-size: 11px; }
.site-footer > a:last-child { margin-left: auto; }
.site-footer > a:last-child span { color: var(--violet); margin-left: 7px; }

@media (min-width: 1600px) { .hero-art { left: 30%; } }
@media (max-width: 900px) {
  .site-header { height: 68px; gap: 32px; padding-inline: 5%; }
  .site-nav { gap: 23px; }
  .hero { min-height: 690px; padding: 78px 5% 105px; }
  .hero-art { left: 20%; }
  .hero-content { width: min(550px, 62%); }
  .hero h1 { font-size: clamp(53px, 7.1vw, 72px); }
  .hero::after { background: linear-gradient(90deg,var(--night) 0%,rgba(8,7,13,.92) 33%,rgba(8,7,13,.56) 61%,transparent 100%),linear-gradient(0deg,var(--night),transparent 19%); }
  .hero-peek { right: 3%; left: 3%; gap: 10px; height: 108px; }
  .section-wrap { width: 90%; }
  .community-section { grid-template-columns: 1fr 1fr; gap: 5vw; padding: 82px 5%; }
  .community-visual { min-height: 350px; }
  .profile-cover { height: 120px; }
  .premium-examples { gap: 20px; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 70px; }
  .site-header { height: 64px; padding-inline: 20px; gap: 0; }
  .wordmark { font-size: 21px; }
  .wordmark-moon { width: 22px; height: 22px; font-size: 23px; }
  .menu-toggle { width: 40px; height: 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; margin-left: auto; border: 1px solid var(--line); border-radius: 9px; background: transparent; }
  .menu-toggle span { width: 16px; height: 1px; background: #e9e4ef; transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .header-login { min-height: 38px; margin-left: 10px; padding: 10px 11px; font-size: 11px; }
  .header-login span { margin-left: 5px; }
  .site-nav { position: fixed; inset: 64px 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 19px; border-bottom: 1px solid var(--line); background: rgba(8,7,13,.98); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 15px 2px; border-bottom: 1px solid rgba(255,255,255,.06); font-size: 14px; }
  .hero { min-height: 690px; min-height: min(760px, calc(100svh - 64px)); min-height: max(630px,min(760px,calc(100svh - 64px))); align-items: end; padding: 70px 23px 104px; }
  .hero-art { inset: 0 0 16% 0; }
  .hero-art img { object-position: 66% center; }
  .hero::after { background: linear-gradient(0deg,var(--night) 1%,rgba(8,7,13,.92) 16%,rgba(8,7,13,.48) 47%,rgba(8,7,13,.05) 78%),linear-gradient(90deg,rgba(8,7,13,.35),transparent 78%); }
  .hero-content { width: 100%; margin: 0; }
  .hero h1 { font-size: clamp(47px,12.8vw,66px); line-height: 1.02; }
  .hero-content > p { max-width: 370px; margin: 18px 0 24px; font-size: 14px; line-height: 1.6; }
  .hero-actions { flex-wrap: wrap; gap: 19px; }
  .button { min-height: 50px; padding-inline: 17px; font-size: 13px; }
  .text-link { font-size: 12px; }
  .hero-peek { display: none; }
  .section-wrap { width: auto; margin-inline: 23px; }
  .catalog-section { padding-top: 69px; padding-bottom: 71px; }
  .section-heading { align-items: start; margin-bottom: 24px; }
  .section-heading h2, .community-copy h2, .premium-copy h2 { font-size: clamp(35px,9.2vw,47px); }
  .section-heading p { max-width: 320px; margin-top: 11px; font-size: 13px; }
  .section-link { display: none; }
  .mobile-break { display: initial; }
  .catalog-search { height: 48px; margin-bottom: 25px; }
  .catalog-search input { font-size: 13px; }
  .anime-grid { grid-template-columns: 1fr 1fr; gap: 21px 13px; min-height: 220px; }
  .anime-card:first-child { grid-column: 1/-1; }
  .anime-card:first-child .poster-frame { aspect-ratio: 1.45; }
  .anime-card:not(:first-child) .poster-frame { aspect-ratio: .72; }
  .poster-skeleton { min-height: 0; }
  .anime-title { margin-top: 9px; font-size: 13px; }
  .anime-meta { font-size: 10px; }
  .catalog-status { margin-top: -17px; }
  .mobile-catalog-link { display: inline-flex; align-items: center; gap: 13px; margin-top: 27px; color: var(--violet-soft); font-size: 13px; font-weight: 600; }
  .community-section { display: flex; flex-direction: column-reverse; align-items: stretch; gap: 38px; padding: 69px 23px 74px; }
  .community-copy > p { max-width: 390px; margin-top: 13px; font-size: 14px; }
  .feature-list { margin-block: 25px; }
  .feature-list li { min-height: 49px; font-size: 12px; }
  .community-visual { min-height: 300px; margin-inline: -2px; }
  .profile-preview { width: 100%; transform: none; }
  .profile-cover { height: 105px; }
  .saved-art { height: 82px; padding: 7px; }
  .saved-art b { font-size: 9px; }
  .visual-caption { bottom: -16px; right: 4px; font-size: 8px; }
  .premium-section { min-height: unset; align-items: center; gap: 30px; padding-top: 70px; padding-bottom: 75px; }
  .premium-kicker { font-size: 9px; margin-bottom: 15px; }
  .premium-copy > p:not(.premium-kicker) { max-width: 350px; margin-top: 14px; font-size: 13px; }
  .premium-examples { gap: 12px; }
  .premium-art { min-height: 190px; border-radius: 9px; }
  .premium-art--quiet { transform: scale(.97); }
  .premium-cover { bottom: 72px; }
  .premium-avatar { width: 48px; height: 48px; left: 12px; bottom: 52px; font-size: 19px; }
  .premium-name { left: 68px; bottom: 38px; gap: 4px; }
  .premium-name > span { font-size: 7px; }
  .premium-name b { font-size: 10px; }
  .premium-tabs { right: 12px; bottom: 9px; left: 12px; gap: 12px; padding-top: 6px; font-size: 7px; }
  .premium-sparkle { right: 12px; bottom: 41px; font-size: 15px; }
  .premium-cta { min-width: min(100%,310px); min-height: 54px; font-size: 13px; }
  .site-footer { min-height: 84px; gap: 13px; padding: 15px 23px; }
  .footer-wordmark { font-size: 16px; }
  .site-footer > span { display: none; }
  .site-footer > a:last-child { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
