/* Anime Local Manager - Night Sakura 2.0
   Homepage-only visual layer. No external resources, scripts, or third-party fonts.
   Loaded after existing styles; designed to keep layout, translations and actions unchanged. */
:root {
  --sakura-ink: #faf5ff;
  --sakura-soft: #d5d1ef;
  --sakura-gold: #f2c98e;
  --sakura-lilac: #b99aff;
  --sakura-pink: #f0acd8;
  background: #090f23;
}
body {
  min-height: 100vh;
  background-color: #090f23;
  background-image:
    radial-gradient(circle at 11% 12%, rgba(101, 65, 183, .26) 0, transparent 30%),
    radial-gradient(circle at 88% 30%, rgba(74, 100, 192, .19) 0, transparent 32%),
    radial-gradient(circle at 49% 56%, rgba(121, 63, 155, .15) 0, transparent 36%),
    radial-gradient(circle at 14% 82%, rgba(162, 77, 133, .11) 0, transparent 30%),
    radial-gradient(circle at 84% 93%, rgba(90, 69, 167, .13) 0, transparent 24%),
    radial-gradient(circle at 8% 5%, rgba(255, 226, 243, .46) 0 1px, transparent 1.7px),
    radial-gradient(circle at 77% 17%, rgba(235, 202, 255, .44) 0 1px, transparent 1.7px),
    radial-gradient(circle at 24% 45%, rgba(237, 202, 255, .32) 0 1px, transparent 1.6px),
    radial-gradient(circle at 91% 70%, rgba(255, 201, 224, .38) 0 1px, transparent 1.7px),
    linear-gradient(170deg, #091024 0%, #12102c 41%, #0c1430 73%, #090e23 100%);
  background-repeat: no-repeat;
}
/* Give the entrance the same atmosphere as the software, without sticky overlays. */
.site-header {
  background: linear-gradient(110deg, rgba(18, 17, 46, .92), rgba(15, 23, 54, .87) 63%, rgba(38, 23, 73, .92));
  border-bottom: 1px solid rgba(176, 139, 240, .34);
  box-shadow: 0 8px 28px rgba(5, 7, 27, .16), inset 0 -1px 0 rgba(244, 216, 255, .045);
}
.site-header .site-brand {color: #f8e5fb; text-shadow: 0 0 18px rgba(180, 133, 243, .15)}
.site-header .site-links a {
  border-color: rgba(165, 144, 223, .43);
  background: linear-gradient(135deg, rgba(52, 42, 99, .88), rgba(30, 33, 77, .94));
  color: #eee8ff;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.site-header .site-links a:hover {transform: translateY(-2px); border-color: rgba(216, 184, 255, .75)}
.site-header .site-links .primary {
  background: linear-gradient(112deg, #9b76e9, #7549c0) !important;
  border-color: #b69bfa !important;
  box-shadow: 0 4px 17px rgba(138, 89, 218, .19);
}
.site-header select {
  border-color: rgba(170, 152, 228, .43);
  background: rgba(28, 29, 68, .86);
}
main:has(#almNewLanding) {max-width: min(1490px, 100%); padding-inline: clamp(16px, 3vw, 42px)}
#almNewLanding {
  --alm-ink: var(--sakura-ink);
  --alm-soft: var(--sakura-soft);
  --alm-gold: var(--sakura-gold);
  --alm-edge: rgba(184, 158, 240, .42);
  max-width: 1430px;
}
#almNewLanding .alm-hero-toolbar {align-items:center; margin-bottom: 19px}
#almNewLanding .alm-hero-eyebrow {
  color: #edd7ff;
  text-shadow: 0 0 21px rgba(188, 145, 253, .22);
  letter-spacing: .16em;
}
#almNewLanding .alm-hero-toolbar::after {
  content: "";
  display: block;
  flex: 1;
  height: 1px;
  min-width: 32px;
  background: linear-gradient(90deg, rgba(222, 180, 255, .46), rgba(237, 173, 213, .16) 52%, transparent);
}
/* Keep the original multilingual banner and its framing; enhance only light and depth. */
#almNewLanding .alm-hero-art {
  border: 1px solid rgba(214, 179, 255, .6);
  box-shadow:
    0 29px 85px rgba(3, 5, 25, .52),
    0 0 0 1px rgba(246, 215, 255, .045),
    0 0 61px rgba(138, 85, 199, .22);
}
#almNewLanding .alm-hero-art img {filter: saturate(1.09) contrast(1.035) brightness(1.02)}
#almNewLanding .alm-hero-art::after {
  content: ""; pointer-events: none; position: absolute; inset: 0; z-index: 1;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(31, 17, 73, .14), transparent 28%, transparent 76%, rgba(73, 34, 104, .15)),
    linear-gradient(0deg, rgba(9, 11, 33, .09), transparent 23%);
}
/* High-priority actions should feel alive but remain readable and keyboard-friendly. */
#almNewLanding .alm-underhero-links {gap: 13px; margin-top: 29px}
#almNewLanding .alm-underhero-links :is(a,button) {
  min-height: 45px;
  padding: 12px 23px;
  border-radius: 999px;
  box-shadow: 0 9px 24px rgba(5, 7, 27, .18), inset 0 1px 0 rgba(255,255,255,.12);
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease, border-color .18s ease;
}
#almNewLanding .alm-underhero-links :is(a,button):hover {
  transform: translateY(-3px);
  box-shadow: 0 13px 27px rgba(5, 7, 27, .24), 0 0 20px rgba(161, 123, 236, .15);
}
#almNewLanding .alm-action-primary {
  background: linear-gradient(112deg, #ffdda6, #d5a5ed 70%, #b48cf8);
  color: #221936;
  border-color: rgba(251, 224, 183, .81);
}
#almNewLanding .alm-action-secondary {background: linear-gradient(130deg, rgba(39, 54, 109, .95), rgba(45, 39, 99, .98)); border-color: rgba(149, 175, 255, .59)}
#almNewLanding .alm-underhero-links .alm-action-signup {
  background: linear-gradient(118deg, #a57df1, #8556d5 65%, #6546b7);
  border-color: rgba(224, 199, 255, .65);
  box-shadow: 0 9px 26px rgba(106, 67, 200, .22);
}
#almNewLanding .alm-underhero-links .alm-action-login {background: rgba(20, 23, 54, .86); border-color: rgba(182, 181, 236, .46)}
/* Features: four distinct glows, balanced to avoid large flat dark rectangles. */
#almNewLanding .alm-features {gap: 17px; margin-top: 52px}
#almNewLanding .alm-feature-card {
  --ns-accent: 183, 144, 250;
  position: relative;
  border: 1px solid rgba(var(--ns-accent), .42);
  background:
    radial-gradient(circle at 95% 0%, rgba(var(--ns-accent), .2) 0, transparent 54%),
    linear-gradient(145deg, rgba(36, 39, 83, .95), rgba(19, 23, 57, .94) 64%, rgba(15, 21, 48, .97));
  border-radius: 19px;
  padding: 23px 22px 25px;
  box-shadow: 0 16px 40px rgba(1, 6, 25, .19), inset 0 1px 0 rgba(255,255,255,.055);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
#almNewLanding .alm-feature-card:nth-child(2) {--ns-accent: 129, 185, 250}
#almNewLanding .alm-feature-card:nth-child(3) {--ns-accent: 244, 156, 205}
#almNewLanding .alm-feature-card:nth-child(4) {--ns-accent: 239, 193, 127}
#almNewLanding .alm-feature-card::before {
  left: 21px; right: 21px; height: 2px; opacity: .95;
  background: linear-gradient(90deg, transparent, rgba(var(--ns-accent), .88), transparent);
  box-shadow: 0 0 18px rgba(var(--ns-accent), .25);
}
#almNewLanding .alm-feature-card::after {
  content: ""; position: absolute; right: 21px; top: 25px; width: 7px; height: 7px;
  border-radius: 50%; background: rgba(var(--ns-accent), .95);
  box-shadow: 0 0 0 5px rgba(var(--ns-accent), .095), 0 0 17px rgba(var(--ns-accent), .55);
  pointer-events: none;
}
#almNewLanding .alm-feature-card h3 {color: #fff3db; font-size: clamp(1.02rem,1.45vw,1.23rem)}
#almNewLanding .alm-feature-card p {color: #d5d5f2; line-height: 1.7}
#almNewLanding .alm-feature-index {color: rgb(var(--ns-accent)); font-weight: 800}
@media (hover: hover) {
  #almNewLanding .alm-feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(var(--ns-accent), .74);
    box-shadow: 0 24px 49px rgba(2, 6, 24, .29), 0 0 27px rgba(var(--ns-accent), .12);
  }
}
/* A sakura-shaped glint and a more luminous heading, with no image downloads. */
#almNewLanding .alm-video-heading {margin-top: 67px; max-width: min(100%, 1320px)}
#almNewLanding .alm-video-heading::before {
  content: ""; display: block; margin: 0 auto 18px; width: 94px; height: 24px;
  background:
    radial-gradient(ellipse 5px 8px at 50% 25%, rgba(248, 183, 218, .96) 94%, transparent 100%),
    radial-gradient(ellipse 5px 8px at 40% 53%, rgba(248, 183, 218, .94) 94%, transparent 100%),
    radial-gradient(ellipse 5px 8px at 60% 53%, rgba(248, 183, 218, .94) 94%, transparent 100%),
    radial-gradient(ellipse 5px 8px at 46% 80%, rgba(248, 183, 218, .83) 94%, transparent 100%),
    radial-gradient(ellipse 5px 8px at 54% 80%, rgba(248, 183, 218, .83) 94%, transparent 100%),
    radial-gradient(circle at 50% 57%, #f4d6a3 0 3px, transparent 4px);
  filter: drop-shadow(0 0 9px rgba(245, 169, 215, .35));
}
#almNewLanding .alm-video-heading h2 {
  color: #ffefd8;
  font-size: clamp(1.7rem, 3.3vw, 2.65rem);
  text-shadow: 0 7px 34px rgba(107, 73, 182, .28);
}
@supports (-webkit-background-clip: text) {
  #almNewLanding .alm-video-heading h2 {
    background: linear-gradient(110deg, #f5c98b, #fff2dc 48%, #e5c4ff 85%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
}
#almNewLanding .alm-video-heading>p:last-child {color: #dfdcf5; font-size: clamp(.91rem,1.13vw,1rem)}
/* Screenshot gallery: framing, selected thumbnails and responsive controls. */
#almNewLanding #alm-gallery {
  position: relative;
  padding: clamp(12px, 1.8vw, 22px);
  margin-top: 22px;
  border: 1px solid rgba(174, 150, 245, .32);
  border-radius: 25px;
  background:
    radial-gradient(circle at 4% 0%, rgba(140, 97, 219, .18), transparent 35%),
    radial-gradient(circle at 92% 100%, rgba(96, 99, 197, .12), transparent 37%),
    linear-gradient(155deg, rgba(26, 25, 63, .93), rgba(15, 19, 47, .94));
  box-shadow: 0 23px 66px rgba(2, 4, 23, .24), inset 0 1px 0 rgba(255, 245, 255, .055);
}
#almNewLanding #alm-gallery .g-display {
  border-color: rgba(200, 166, 255, .54);
  box-shadow: 0 17px 43px rgba(1, 4, 21, .36), 0 0 29px rgba(142, 91, 206, .09);
}
#almNewLanding #alm-gallery .g-thumbs button[aria-current="true"] {
  border-color: #dac0ff;
  box-shadow: 0 0 0 1px rgba(239, 209, 255, .19), 0 0 19px rgba(150, 95, 232, .22);
}
/* Preserve all three existing media tabs; give their content a cinematic frame. */
#almNewLanding .alm-video-card {
  border: 1px solid rgba(185, 153, 246, .48);
  background:
    radial-gradient(circle at 90% 0%, rgba(137, 89, 208, .16), transparent 50%),
    linear-gradient(150deg, rgba(39, 32, 89, .98), rgba(13, 23, 56, .98));
  box-shadow: 0 23px 53px rgba(4, 6, 29, .3), inset 0 1px 0 rgba(248, 237, 255, .07);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
#almNewLanding .alm-video-card:nth-child(2) {border-color: rgba(238, 166, 210, .42)}
@media (hover:hover) {
  #almNewLanding .alm-video-card:hover {
    transform: translateY(-4px);
    border-color: rgba(225, 189, 255, .72);
    box-shadow: 0 29px 63px rgba(3, 5, 27, .38), 0 0 30px rgba(131, 88, 211, .12);
  }
}
#almNewLanding .alm-video-card-body h3 {color: #ffe7d0}
#almNewLanding .alm-video-card-body p {color: #d6d2ee}
#almNewLanding .alm-about-preview {filter: saturate(1.12)}
#almNewLanding .alm-video-frame {border-bottom: 1px solid rgba(215, 175, 255, .19)}
/* Newsletter: clear late-page call to action, not another dark rectangle. */
#almNewLanding .alm-newsletter {
  position: relative; overflow: hidden;
  padding: 29px 33px;
  border: 1px solid rgba(246, 195, 242, .52);
  background:
    radial-gradient(circle at 90% 0%, rgba(243, 154, 206, .29), transparent 35%),
    radial-gradient(circle at 9% 100%, rgba(130, 114, 244, .26), transparent 45%),
    linear-gradient(112deg, #292657 0%, #31215e 56%, #432357 100%);
  box-shadow: 0 22px 56px rgba(4, 5, 28, .36), 0 0 38px rgba(181, 101, 173, .13);
}
#almNewLanding .alm-newsletter::before {
  content: ""; position: absolute; width: 310px; height: 310px; right: -120px; top: -155px;
  border-radius: 50%; border: 1px solid rgba(255, 211, 231, .22);
  box-shadow: 0 0 0 26px rgba(255, 211, 231, .028), 0 0 0 58px rgba(255, 211, 231, .023);
  pointer-events: none;
}
#almNewLanding .alm-newsletter > * {position: relative; z-index: 1}
#almNewLanding .alm-newsletter-mark {
  color: #ffe6ff; background: linear-gradient(145deg, rgba(250, 185, 228, .25), rgba(161, 122, 243, .17));
  border-color: rgba(255, 211, 245, .58);
  box-shadow: 0 9px 22px rgba(10, 7, 41, .23), inset 0 1px 0 rgba(255,255,255,.14);
}
#almNewLanding .alm-newsletter-copy h2 {color: #fff2df}
#almNewLanding .alm-newsletter-copy p {color: #e4d8f1}
#almNewLanding .alm-newsletter-button {
  min-height: 45px;
  color: #291832;
  background: linear-gradient(115deg, #ffe2a9, #f1b8d7 63%, #d1a8ef);
  border-color: rgba(255, 233, 200, .84);
  box-shadow: 0 9px 25px rgba(9, 5, 30, .2);
  transition: transform .18s ease, box-shadow .18s ease;
}
#almNewLanding .alm-newsletter-button:hover {transform: translateY(-2px); box-shadow: 0 12px 27px rgba(9, 5, 30, .28)}
/* Footer belongs to this homepage only. Keep all existing navigation and legal links. */
footer.alm-footer-fixed {
  border-top: 1px solid rgba(187, 149, 243, .37);
  background: linear-gradient(180deg, rgba(32, 26, 71, .3), rgba(13, 17, 42, .46));
  border-radius: 25px 25px 0 0;
  box-shadow: 0 -15px 52px rgba(105, 64, 164, .055), inset 0 1px 0 rgba(242, 199, 245, .055);
}
footer.alm-footer-fixed .alm-footer-nav > a,
footer.alm-footer-fixed .alm-footer-nav > button {
  border-color: rgba(161, 137, 212, .24);
  background: rgba(43, 34, 85, .37);
  color: #e9e0ff;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
footer.alm-footer-fixed .alm-footer-nav > a:hover,
footer.alm-footer-fixed .alm-footer-nav > button:hover {
  background: rgba(77, 55, 126, .5);
  border-color: rgba(226, 188, 253, .58);
  transform: translateY(-2px);
}
footer.alm-footer-fixed .alm-footer-bottom {border-color: rgba(205, 169, 236, .25); color: #d5cfee}
/* Accessibility, mobile proportions and modest rendering costs. */
:where(a, button, select):focus-visible {outline: 2px solid #f4c995; outline-offset: 3px}
@media (max-width: 780px) {
  #almNewLanding .alm-hero-toolbar::after {display:none}
  #almNewLanding .alm-video-heading {margin-top: 46px}
  #almNewLanding .alm-features {gap: 13px; margin-top: 36px}
  #almNewLanding #alm-gallery {padding: 11px; border-radius: 19px}
  #almNewLanding .alm-newsletter {padding: 24px 20px}
  footer.alm-footer-fixed {border-radius: 18px 18px 0 0}
}
@media (max-width: 480px) {
  main:has(#almNewLanding) {padding-inline: 13px}
  #almNewLanding .alm-feature-card {padding: 19px 17px 20px}
  #almNewLanding .alm-underhero-links :is(a,button) {padding: 11px 15px}
  #almNewLanding .alm-video-heading::before {margin-bottom: 10px}
  #almNewLanding .alm-newsletter {padding: 21px 17px}
}
@media (prefers-reduced-motion: reduce) {
  .site-header .site-links a,
  #almNewLanding .alm-underhero-links :is(a,button),
  #almNewLanding .alm-feature-card,
  #almNewLanding .alm-video-card,
  #almNewLanding .alm-newsletter-button,
  footer.alm-footer-fixed .alm-footer-nav > :is(a,button) {transition: none}
}