/* 涩里番 APP 品牌官网 — 设计系统 */
:root {
  --brand: #ff4d8d;
  --brand-deep: #e03372;
  --brand-soft: #ffb3ce;
  --brand-mist: #fff0f5;
  --ink: #1a1218;
  --ink-soft: #4a3a44;
  --muted: #7a6670;
  --line: rgba(255, 77, 141, 0.16);
  --surface: #ffffff;
  --surface-alt: #fff7fa;
  --dark: #140e12;
  --dark-card: #22181e;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px rgba(26, 18, 24, 0.08);
  --shadow-soft: 0 8px 24px rgba(255, 77, 141, 0.12);
  --max: 1180px;
  --nav-h: 72px;
  --font-display: "ZCOOL XiaoWei", "Noto Serif SC", serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(255, 77, 141, 0.18), transparent 60%),
    radial-gradient(900px 420px at 100% 0%, rgba(255, 179, 206, 0.25), transparent 55%),
    linear-gradient(180deg, #fff8fb 0%, #fff 38%, #fff7fa 100%);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand-deep);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--brand);
}

ul,
ol {
  padding-left: 1.2em;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* ========== Header / Nav ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(255, 248, 251, 0.88);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--nav-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  flex-shrink: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  line-height: 1;
}

.brand-text span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  margin-top: 0.2rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex-wrap: nowrap;
}

.site-nav a {
  color: var(--ink-soft);
  font-size: 0.92rem;
  padding: 0.55rem 0.72rem;
  border-radius: 999px;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--brand-deep);
  background: rgba(255, 77, 141, 0.1);
}

/* ========== Ad Zone ========== */
.ad-zone {
  display: none;
  background: linear-gradient(180deg, #1a1218 0%, #241820 100%);
  border-bottom: 1px solid rgba(255, 77, 141, 0.25);
  padding: 0.85rem 0 1rem;
}

.ad-zone.is-visible {
  display: block;
}

.ad-zone-label {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.65rem;
}

.ad-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 84px);
  gap: 0.75rem 0.85rem;
  justify-content: start;
  justify-items: center;
}

.ad-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
  max-width: 88px;
  color: #fff;
  text-decoration: none;
}

.ad-item:hover {
  color: var(--brand-soft);
  opacity: 0.92;
}

.ad-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  object-fit: contain;
  padding: 4px;
}

.ad-icon.is-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.65);
}

.ad-name {
  width: 100%;
  text-align: center;
  font-size: 0.72rem;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: rgba(255, 255, 255, 0.88);
}

/* ========== Hero ========== */
.hero {
  position: relative;
  padding: 3.5rem 0 2.5rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--brand-deep);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.hero-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--brand);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  color: var(--ink);
  font-weight: 400;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 34rem;
  margin: 0 0 1.6rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, #ff6b9d, #ff3d7f);
  color: #fff;
  box-shadow: 0 12px 28px rgba(255, 61, 127, 0.28);
}

.btn-primary:hover {
  color: #fff;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  color: var(--brand-deep);
  border-color: var(--brand-soft);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.4rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-visual {
  position: relative;
  min-height: 480px;
}

.hero-glow {
  position: absolute;
  inset: 10% 8%;
  background: radial-gradient(circle, rgba(255, 77, 141, 0.35), transparent 68%);
  filter: blur(10px);
  z-index: 0;
}

.phone-stack {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 1rem;
  min-height: 480px;
}

.phone {
  width: min(240px, 42vw);
  background: #111;
  border-radius: 28px;
  padding: 10px;
  box-shadow: 0 30px 60px rgba(26, 18, 24, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  animation: floatY 5.5s ease-in-out infinite;
}

.phone img {
  width: 100%;
  border-radius: 20px;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: top;
  background: #2a1c24;
}

.phone.secondary {
  width: min(200px, 34vw);
  transform: translateY(28px);
  opacity: 0.96;
  animation-delay: 0.8s;
}

.phone.primary {
  z-index: 2;
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.phone.secondary {
  animation-name: floatY2;
}

@keyframes floatY2 {
  0%,
  100% {
    transform: translateY(28px);
  }
  50% {
    transform: translateY(16px);
  }
}

/* ========== Sections ========== */
.section {
  padding: 3.2rem 0;
}

.section-dark {
  background: linear-gradient(160deg, #171014 0%, #241820 55%, #1a1218 100%);
  color: #fff;
  margin: 1rem 0;
  border-radius: 0;
}

.section-dark .section-title,
.section-dark h2,
.section-dark h3 {
  color: #fff;
}

.section-dark .section-desc,
.section-dark p {
  color: rgba(255, 255, 255, 0.72);
}

.section-head {
  max-width: 640px;
  margin-bottom: 2rem;
}

.section-kicker {
  color: var(--brand);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.55rem;
}

.section-title,
h1.page-title,
.page-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.25;
  margin: 0 0 0.75rem;
  font-weight: 400;
}

.section-desc {
  color: var(--ink-soft);
  margin: 0;
  font-size: 1rem;
}

.page-hero {
  padding: 2.4rem 0 1.2rem;
}

.page-hero .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.86rem;
  margin-bottom: 1rem;
}

.page-hero .breadcrumb a {
  color: var(--muted);
}

.page-hero .breadcrumb a:hover {
  color: var(--brand-deep);
}

.lead {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 46rem;
}

/* ========== Cards / Grids ========== */
.feature-grid,
.card-grid,
.news-grid,
.cat-grid,
.works-grid {
  display: grid;
  gap: 1.2rem;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid {
  grid-template-columns: repeat(3, 1fr);
}

.news-grid {
  grid-template-columns: repeat(3, 1fr);
}

.cat-grid {
  grid-template-columns: repeat(4, 1fr);
}

.works-grid {
  grid-template-columns: repeat(2, 1fr);
}

.card,
.feature-card,
.news-card,
.cat-card,
.work-card,
.info-panel {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
}

.feature-card h3,
.news-card h3,
.cat-card h3,
.info-panel h3 {
  margin: 0 0 0.55rem;
  font-size: 1.12rem;
}

.feature-card p,
.news-card p,
.cat-card p,
.info-panel p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(255, 77, 141, 0.16), rgba(255, 179, 206, 0.35));
  color: var(--brand-deep);
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.shot-item {
  background: var(--dark-card);
  border-radius: 22px;
  padding: 0.55rem;
  box-shadow: var(--shadow);
}

.shot-item img {
  width: 100%;
  border-radius: 16px;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
  background: #2a1c24;
}

.shot-item figcaption {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.82rem;
  text-align: center;
  padding: 0.65rem 0.2rem 0.35rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.split-media {
  position: relative;
}

.split-media .phone {
  margin: 0 auto;
  width: min(260px, 70%);
}

.prose {
  color: var(--ink-soft);
}

.prose h2,
.prose h3 {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 400;
}

.prose p + p {
  margin-top: 0.9rem;
}

.list-check {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.list-check li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.65rem;
  color: var(--ink-soft);
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.tag {
  display: inline-flex;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--brand-mist);
  color: var(--brand-deep);
  font-size: 0.82rem;
  border: 1px solid var(--line);
}

.cat-card {
  text-align: left;
  transition: transform 0.2s ease;
}

.cat-card:hover {
  transform: translateY(-3px);
}

.cat-card .tag {
  margin-top: 0.85rem;
}

.work-card {
  padding: 0.7rem;
  overflow: hidden;
}

.work-card img {
  width: 100%;
  border-radius: 14px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  background: #f3e6ec;
}

.work-card .work-body {
  padding: 0.9rem 0.45rem 0.5rem;
}

.work-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.work-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.news-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.news-meta {
  color: var(--muted);
  font-size: 0.82rem;
}

.faq-list {
  display: grid;
  gap: 0.9rem;
}

.faq-item {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
}

.faq-item h3 {
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
}

.faq-item p {
  margin: 0;
  color: var(--ink-soft);
}

.cta-band {
  background: linear-gradient(135deg, #ff6b9d, #ff3d7f 55%, #d92b6a);
  color: #fff;
  border-radius: 28px;
  padding: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 20px 40px rgba(255, 61, 127, 0.25);
}

.cta-band h2 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.8rem;
}

.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.cta-band .btn-ghost {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.step-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem;
  box-shadow: var(--shadow);
}

.step-num {
  font-family: var(--font-display);
  color: var(--brand);
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}

.notice {
  background: var(--brand-mist);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.legal {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  box-shadow: var(--shadow);
}

.legal h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.35rem;
  margin: 1.5rem 0 0.7rem;
}

.legal h2:first-child {
  margin-top: 0;
}

.legal p,
.legal li {
  color: var(--ink-soft);
}

.error-page {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 0;
}

.error-code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 7rem);
  color: var(--brand);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.related-links a {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
}

.related-links a:hover {
  color: var(--brand-deep);
  border-color: var(--brand-soft);
}

/* ========== Footer ========== */
.site-footer {
  margin-top: 2rem;
  background: var(--dark);
  color: rgba(255, 255, 255, 0.72);
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer-brand {
  display: flex;
  gap: 0.95rem;
  align-items: center;
}

.footer-brand img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(255, 77, 141, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-copy {
  min-width: 0;
}

.footer-brand strong {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.2;
  margin-bottom: 0.35rem;
}

.footer-brand p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.88rem;
  line-height: 1.65;
}

.footer-col h4 {
  color: #fff;
  margin: 0 0 0.8rem;
  font-size: 0.95rem;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 0.45rem;
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--brand-soft);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  justify-content: space-between;
  font-size: 0.84rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
}

/* ========== Responsive ========== */
@media (max-width: 1100px) {
  .site-nav a {
    padding: 0.5rem 0.55rem;
    font-size: 0.86rem;
  }

  .feature-grid,
  .card-grid,
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .shot-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.4rem);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 0.6rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.75rem 0.9rem;
  }

  .header-inner {
    position: relative;
  }

  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 420px;
    order: -1;
  }

  .phone-stack {
    min-height: 420px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .ad-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.55rem 0.25rem;
  }

  .ad-item {
    max-width: none;
  }

  .ad-icon {
    width: 64px;
    height: 64px;
    border-radius: 15px;
  }

  .ad-name {
    font-size: 0.72rem;
  }
}

@media (max-width: 640px) {
  .feature-grid,
  .card-grid,
  .news-grid,
  .works-grid,
  .cat-grid,
  .shot-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    align-items: flex-start;
  }

  .shot-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    padding-top: 2rem;
  }

  .hero-visual {
    min-height: 360px;
  }

  .phone-stack {
    min-height: 360px;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: 0.5rem 0 1rem;
  }

  .phone-stack .phone.secondary,
  .phone-stack .phone.primary {
    display: block;
    width: min(168px, 44vw);
    position: relative;
  }

  .phone-stack .phone.secondary {
    z-index: 1;
    margin-right: -2.4rem;
    transform: translateY(22px) rotate(-6deg);
    animation: floatMobileBack 5.8s ease-in-out infinite;
  }

  .phone-stack .phone.primary {
    z-index: 2;
    margin-left: -2.4rem;
    transform: translateY(-8px) rotate(5deg);
    animation: floatMobileFront 5.2s ease-in-out infinite;
  }

  .split-media {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
    overflow: visible;
    padding: 0.25rem 0 0.75rem;
  }

  .split-media .phone,
  .split-media .phone.primary,
  .split-media .phone.secondary {
    width: min(220px, 62vw);
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    transform: none !important;
    animation: none;
  }

  @keyframes floatMobileBack {
    0%,
    100% {
      transform: translateY(22px) rotate(-6deg);
    }
    50% {
      transform: translateY(12px) rotate(-6deg);
    }
  }

  @keyframes floatMobileFront {
    0%,
    100% {
      transform: translateY(-8px) rotate(5deg);
    }
    50% {
      transform: translateY(-18px) rotate(5deg);
    }
  }

  .cta-band {
    padding: 1.4rem;
  }

  .legal {
    padding: 1.2rem;
  }

  .ad-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
  }

  .ad-name {
    font-size: 0.68rem;
  }
}

@media (max-width: 400px) {
  .ad-icon {
    width: 54px;
    height: 54px;
    border-radius: 13px;
  }

  .ad-name {
    font-size: 0.64rem;
  }
}

/* ========== Back to top ========== */
.back-to-top {
  position: fixed;
  right: 1.1rem;
  bottom: 1.3rem;
  z-index: 120;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.12rem;
  min-width: 64px;
  height: 64px;
  padding: 0.4rem 0.55rem;
  border: none;
  border-radius: 16px;
  background: linear-gradient(135deg, #ff6b9d, #ff3d7f);
  color: #fff;
  box-shadow: 0 12px 28px rgba(255, 61, 127, 0.35);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease, box-shadow 0.22s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  box-shadow: 0 16px 32px rgba(255, 61, 127, 0.42);
  transform: translateY(-2px);
}

.back-to-top-arrow {
  font-size: 1rem;
  line-height: 1;
  font-weight: 700;
}

.back-to-top-text {
  font-size: 0.58rem;
  line-height: 1.15;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .back-to-top {
    right: 0.85rem;
    bottom: 1rem;
    min-width: 60px;
    height: 60px;
    border-radius: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
