
:root {
  --bg1: #eef7ff;
  --bg2: #fff3fa;
  --bg3: #f6f2ff;
  --text: #24324a;
  --text-soft: #5b6b86;
  --white: #ffffff;
  --blue: #5aaeff;
  --blue-deep: #2d7de8;
  --pink: #ff8ec4;
  --pink-deep: #ff5ba8;
  --purple: #9c8cff;
  --mint: #79dfd0;
  --line: rgba(70, 110, 180, 0.12);
  --shadow-soft: 0 18px 40px rgba(94, 130, 190, 0.15);
  --shadow-card: 0 14px 30px rgba(72, 105, 170, 0.12);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --header-h: 84px;
  --footer-space: 74px;
  --hero-min-h: clamp(360px, 62svh, 660px);
  --intro-card-h: clamp(500px, 62svh, 690px);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
  font-family: "Pretendard", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 20%, rgba(90, 174, 255, 0.18), transparent 22%),
    radial-gradient(circle at 80% 18%, rgba(255, 142, 196, 0.16), transparent 20%),
    linear-gradient(135deg, var(--bg1) 0%, #f9fcff 32%, var(--bg2) 66%, var(--bg3) 100%);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

button,
a {
  font: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
}

a {
  text-decoration: none;
  color: inherit;
}

img,
video {
  display: block;
  max-width: 100%;
}

.w-100 {
  width: 100%;
}

.bg-deco {
  position: fixed;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
  opacity: 0.65;
  z-index: 0;
}

.bg-deco-1 {
  width: 220px;
  height: 220px;
  left: -40px;
  top: 90px;
  background: rgba(90, 174, 255, 0.2);
}

.bg-deco-2 {
  width: 180px;
  height: 180px;
  right: 120px;
  top: 60px;
  background: rgba(255, 142, 196, 0.18);
}

.bg-deco-3 {
  width: 260px;
  height: 260px;
  right: -70px;
  bottom: 80px;
  background: rgba(156, 140, 255, 0.17);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  height: var(--header-h);
  padding: 14px 20px;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.62);
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 24px rgba(90, 120, 180, 0.08);
}

.header-scroll {
  max-width: 1420px;
  height: 100%;
  margin: 0 auto;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.header-scroll::-webkit-scrollbar {
  display: none;
}

.header-inner {
  min-width: max-content;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: nowrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 0 0 auto;
}

.brand-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 10px 18px rgba(72, 105, 170, 0.18));
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-text strong {
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.1;
  color: var(--text);
}

.brand-text small {
  font-size: 0.82rem;
  color: var(--text-soft);
  font-weight: 700;
  line-height: 1.1;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  flex: 0 0 auto;
  white-space: nowrap;
}

.nav-link {
  min-width: 98px;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  letter-spacing: 0.03em;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(120, 160, 220, 0.12);
  transition: transform 0.18s ease, color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  flex: 0 0 auto;
}

.nav-link:hover {
  transform: translateY(-1px);
  color: var(--text);
  background: rgba(255, 255, 255, 0.92);
}

.nav-link.active {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--pink));
  box-shadow: 0 12px 24px rgba(80, 118, 190, 0.2);
}

.page-shell {
  position: relative;
  z-index: 5;
  width: 100%;
  flex: 1 0 auto;
  padding-top: var(--header-h);
  padding-bottom: calc(var(--footer-space) + 18px);
}

.page-section {
  width: 100%;
  padding: 56px 28px;
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.section-inner {
  width: 100%;
  max-width: 1420px;
  margin: 0 auto;
}

.section-head {
  margin-bottom: 24px;
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 900;
  color: #1f2d46;
}

.section-desc {
  max-width: 980px;
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.9;
  color: var(--text-soft);
  font-weight: 500;
}

.home-section {
  padding: 0;
}

.home-stage {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  min-height: var(--hero-min-h);
  background:
    linear-gradient(180deg, rgba(25, 38, 64, 0.12), rgba(25, 38, 64, 0.04)),
    linear-gradient(135deg, #d8e7ff 0%, #eef5ff 30%, #fdeef6 68%, #ece7ff 100%);
  overflow: hidden;
}

.image-viewport {
  width: 100%;
  height: 100%;
  min-height: inherit;
  overflow: hidden;
  cursor: grab;
  outline: none;
  user-select: none;
  touch-action: pan-y;
}

.image-viewport.is-dragging {
  cursor: grabbing;
}

.image-track {
  display: flex;
  width: 100%;
  height: 100%;
  min-height: inherit;
  transition: transform 0.42s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.image-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  min-height: inherit;
  overflow: hidden;
}

.image-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(22, 34, 54, 0.08) 0%,
      rgba(22, 34, 54, 0) 26%,
      rgba(22, 34, 54, 0.12) 100%
    );
  pointer-events: none;
}

.hero-media {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.image-dots {
  position: absolute;
  left: 50%;
  bottom: 20px;
  z-index: 7;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transform: translateX(-50%);
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.image-dots[hidden] {
  display: none !important;
}

.image-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 2px 8px rgba(30, 42, 70, 0.18);
  transition: transform 0.18s ease, background 0.18s ease, width 0.18s ease;
}

.image-dot.active {
  width: 34px;
  background: linear-gradient(135deg, var(--blue), var(--pink));
  transform: scale(1.03);
}

.intro-grid,
.support-grid,
.download-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr 1fr;
}

.info-card,
.support-box,
.download-card {
  min-height: 100%;
  padding: 28px 26px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.card-title,
.support-title,
.download-title {
  margin: 0 0 14px;
  font-size: 1.45rem;
  line-height: 1.35;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #1f2d46;
}

.card-text,
.support-text,
.download-text {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.85;
  font-size: 1rem;
  font-weight: 500;
}

.intro-section .card-title {
  font-size: 1.78rem;
}

.intro-section .card-text {
  font-size: 1.12rem;
  line-height: 1.95;
}

.support-section .support-title {
  font-size: 1.72rem;
}

.support-section .support-text {
  font-size: 1.14rem;
  line-height: 1.95;
}

.download-section .download-title {
  font-size: 1.6rem;
}

.download-section .download-text {
  font-size: 1.08rem;
  line-height: 1.9;
}

.card-text + .card-text {
  margin-top: 12px;
}

.intro-info-card {
  height: var(--intro-card-h);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.info-card-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior-y: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  padding-right: 2px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.info-card-scroll::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.developer-card {
  overflow: hidden;
}

.developer-story {
  display: grid;
  grid-template-columns: minmax(180px, 240px) 1fr;
  gap: 22px;
  align-items: stretch;
  flex: 1 1 auto;
  min-height: 0;
}

.developer-photo-wrap {
  position: relative;
  min-height: 0;
}

.developer-photo-link {
  display: block;
  height: 100%;
  border-radius: 24px;
  outline: none;
}

.developer-photo-link:focus-visible {
  box-shadow: 0 0 0 4px rgba(90, 174, 255, 0.35);
}

.developer-photo {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 16px 32px rgba(72, 105, 170, 0.16);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.developer-photo-link:hover .developer-photo {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 18px 38px rgba(72, 105, 170, 0.2);
}

.developer-story-text {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
}

.developer-story-text .info-card-scroll {
  padding-right: 2px;
}

.developer-cta {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  flex: 0 0 auto;
}

.support-box,
.download-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 300px;
}

.support-box-like {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.95) 0%, rgba(255,244,249,0.95) 100%);
}

.support-box-coffee {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.95) 0%, rgba(245,249,255,0.95) 100%);
}

.download-card {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.95) 0%, rgba(246,249,255,0.95) 100%);
}

.cute-btn {
  min-height: 56px;
  padding: 0 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 900;
  box-shadow: var(--shadow-card);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, filter 0.18s ease;
  position: relative;
}

.cute-btn:hover {
  transform: translateY(-2px);
}

.cute-btn.primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff;
}

.cute-btn.secondary {
  background: rgba(244, 248, 255, 0.96);
  color: var(--text);
  border: 1px solid rgba(120, 160, 220, 0.14);
}

.btn-kakao {
  background: linear-gradient(135deg, #ffe55c, #f8cf29);
  color: #2f2a00 !important;
  text-shadow: none;
}

.btn-toss {
  background: linear-gradient(135deg, #5ab4ff, #2d7de8);
  color: #ffffff !important;
}

.btn-coffee {
  background: linear-gradient(135deg, #8b5a3c, #6f4228);
  color: #ffffff !important;
}

.support-big-button {
  min-width: 240px;
  height: 88px;
  padding: 0 34px;
  margin-top: 26px;
  font-size: 1.24rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  box-shadow:
    0 18px 34px rgba(72, 105, 170, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, filter 0.3s ease;
}

.support-big-button:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 24px 46px rgba(72, 105, 170, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  filter: saturate(1.05);
}

.like-action {
  color: #fff;
  background: linear-gradient(135deg, #ff76b6 0%, #ff5ba8 48%, #ff8f6b 100%);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  animation: pulsePink 2.5s infinite;
}

.cheer-open-btn {
  background: linear-gradient(135deg, #5aaeff 0%, #5f88ff 48%, #9c8cff 100%) !important;
  color: #fff;
  animation: pulseBlue 2.5s infinite;
}

.download-main-btn {
  min-width: 340px;
  height: 92px;
  padding: 0 38px;
  font-size: 1.28rem;
  background: linear-gradient(135deg, #3c97ff 0%, #2d7de8 45%, #6f8dff 100%) !important;
  color: #fff;
  box-shadow:
    0 20px 38px rgba(45, 125, 232, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  animation: pulseDownload 2.8s infinite;
}

.download-main-btn:hover {
  transform: translateY(-6px) scale(1.035);
}

.btn-main-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  line-height: 1.1;
}

.btn-sub-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.84rem;
  line-height: 1.1;
  opacity: 0.92;
  white-space: nowrap;
}

.count-pill {
  min-width: 58px;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.98rem;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
}

.count-pill-download {
  background: rgba(255, 255, 255, 0.18);
}

.like-button-heart {
  font-size: 1.45rem;
  flex: 0 0 auto;
}

.like-button-text {
  display: inline-block;
  white-space: nowrap;
}

.impact-button {
  position: relative;
  overflow: hidden;
}

.impact-button::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -36%;
  width: 34%;
  height: 140%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.44), transparent);
  transform: rotate(18deg);
  animation: shineSweep 3.8s linear infinite;
  pointer-events: none;
}

.download-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 29;
  width: 100%;
  background: rgba(255, 255, 255, 0.78);
  border-top: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 -10px 24px rgba(90, 120, 180, 0.08);
  backdrop-filter: blur(14px);
}

.site-footer-inner {
  max-width: 1420px;
  margin: 0 auto;
  padding: 18px 20px;
}

.footer-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  font-size: 0.95rem;
  line-height: 1.2;
  color: var(--text-soft);
}

.footer-inline strong {
  color: var(--text);
  font-weight: 900;
}

.footer-inline span,
.footer-inline a {
  font-weight: 700;
}

.footer-inline a:hover {
  text-decoration: underline;
}

.footer-divider {
  opacity: 0.45;
  font-weight: 600;
}

.like-burst-layer {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  pointer-events: none;
}

.like-burst-layer.is-active {
  animation: screenFlash 0.9s ease-out forwards;
}

.burst-wave {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 10px solid rgba(255, 170, 210, 0.95);
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 0 22px rgba(255, 120, 180, 0.12),
    0 0 120px rgba(255, 120, 180, 0.38);
  animation: megaWave 1.1s cubic-bezier(0.15, 0.75, 0.2, 1) forwards;
}

.burst-glow {
  position: absolute;
  inset: -15%;
  background:
    radial-gradient(circle at center, rgba(255, 145, 196, 0.24) 0%, rgba(255, 145, 196, 0.14) 26%, rgba(255, 145, 196, 0.06) 42%, rgba(255, 145, 196, 0) 68%);
  animation: megaGlow 1.15s ease-out forwards;
}

.screen-heart {
  position: absolute;
  color: rgba(255, 255, 255, 0.98);
  text-shadow:
    0 0 18px rgba(255, 255, 255, 0.8),
    0 0 36px rgba(255, 91, 168, 0.38),
    0 0 72px rgba(255, 91, 168, 0.18);
  transform: translate(-50%, -50%) scale(0.35);
  opacity: 0;
  animation: giantHeartBurst 1.5s cubic-bezier(0.16, 0.74, 0.2, 1) forwards;
}

.coffee-modal-overlay,
.qr-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  backdrop-filter: blur(5px);
}

.qr-modal-overlay {
  z-index: 10001;
}

.coffee-modal-overlay.active,
.qr-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.coffee-modal {
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: row;
  overflow: hidden;
  max-width: min(920px, 92vw);
  width: min(920px, 92vw);
  min-height: min(540px, 86vh);
  max-height: 86vh;
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.coffee-modal-overlay.active .coffee-modal {
  transform: translateY(0);
}

.coffee-modal-image-wrap {
  width: min(420px, 46vw);
  min-width: 280px;
  background: #f4f8ff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.coffee-modal-image-wrap img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: calc(86vh - 36px);
  object-fit: contain;
  object-position: center;
}

.coffee-modal-content {
  padding: 40px 36px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  min-width: 0;
}

.coffee-modal-title {
  margin: 0 0 12px;
  font-size: 1.5rem;
  font-weight: 900;
  color: #1f2d46;
}

.coffee-modal-desc {
  margin: 0 0 24px;
  font-size: 1.05rem;
  color: var(--text-soft);
  line-height: 1.5;
}

.coffee-modal-btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.coffee-modal-btns .cute-btn {
  width: 100%;
  font-size: 1.05rem;
}

.coffee-modal-close {
  background: none;
  border: none;
  color: var(--text-soft);
  text-decoration: underline;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
}

.coffee-modal-close:hover {
  color: #1f2d46;
}

.qr-modal {
  background: #fff;
  padding: 30px;
  border-radius: 28px;
  text-align: center;
  max-width: 340px;
  width: 90%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.qr-modal-overlay.active .qr-modal {
  transform: scale(1);
}

.qr-modal-title {
  margin: 0 0 10px;
  font-size: 1.4rem;
  font-weight: 900;
}

.qr-modal-desc {
  color: var(--text-soft);
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.4;
}

.qr-image-box {
  margin-bottom: 20px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.qr-image-box img {
  width: 100%;
  display: block;
}

@keyframes pulsePink {
  0% { box-shadow: 0 0 0 0 rgba(255, 91, 168, 0.6); }
  70% { box-shadow: 0 0 0 18px rgba(255, 91, 168, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 91, 168, 0); }
}

@keyframes pulseBlue {
  0% { box-shadow: 0 0 0 0 rgba(90, 174, 255, 0.6); }
  70% { box-shadow: 0 0 0 18px rgba(90, 174, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(90, 174, 255, 0); }
}

@keyframes pulseDownload {
  0% { box-shadow: 0 0 0 0 rgba(45, 125, 232, 0.62); }
  70% { box-shadow: 0 0 0 20px rgba(45, 125, 232, 0); }
  100% { box-shadow: 0 0 0 0 rgba(45, 125, 232, 0); }
}

@keyframes shineSweep {
  0% { left: -36%; }
  100% { left: 132%; }
}

@keyframes megaWave {
  0% { opacity: 1; transform: translate(-50%, -50%) scale(0.2); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(90); }
}

@keyframes megaGlow {
  0% { opacity: 0.9; transform: scale(0.82); }
  100% { opacity: 0; transform: scale(1.18); }
}

@keyframes giantHeartBurst {
  0% { opacity: 0; transform: translate(-50%, -50%) translate(0, 0) scale(0.2) rotate(0deg); }
  10% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -50%) translate(var(--tx), var(--ty)) scale(1.2) rotate(24deg); }
}

@keyframes screenFlash {
  0% { background: rgba(255, 120, 180, 0.02); }
  30% { background: rgba(255, 120, 180, 0.07); }
  100% { background: rgba(255, 120, 180, 0); }
}

@media (max-width: 1280px) {
  .page-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .intro-grid,
  .support-grid,
  .download-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 82px;
    --hero-min-h: clamp(280px, 48svh, 420px);
    --intro-card-h: clamp(470px, 72svh, 620px);
  }

  .site-header { padding: 10px 12px; }
  .header-inner { gap: 14px; }
  .brand { gap: 10px; }
  .brand-logo { width: 46px; height: 46px; }
  .brand-text strong { font-size: 0.98rem; }
  .brand-text small { font-size: 0.74rem; }
  .nav-link { min-width: 80px; height: 40px; padding: 0 15px; font-size: 0.88rem; }
  .page-section { padding: 44px 16px; }
  .section-title { font-size: clamp(1.8rem, 8vw, 2.6rem); }
  .image-dots { bottom: 16px; gap: 10px; padding: 8px 12px; }

  .intro-grid,
  .support-grid,
  .download-grid,
  .developer-story {
    grid-template-columns: 1fr;
  }

  .developer-photo { min-height: 220px; max-height: 320px; }
  .developer-cta { align-items: stretch; }
  .developer-cta .cute-btn { width: 100%; }

  .intro-section .card-title,
  .support-section .support-title,
  .download-section .download-title {
    font-size: 1.46rem;
  }

  .intro-section .card-text,
  .support-section .support-text,
  .download-section .download-text,
  .section-desc {
    font-size: 1.02rem;
    line-height: 1.82;
  }

  .support-box,
  .download-card { min-height: 0; }

  .support-big-button,
  .download-main-btn {
    width: 100%;
    min-width: 0;
    height: 76px;
    font-size: 1.06rem;
    padding: 0 22px;
  }

  .btn-sub-text {
    display: none;
  }

  .download-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .download-actions .cute-btn {
    width: 100%;
  }

  .site-footer-inner { padding-left: 12px; padding-right: 12px; }
  .footer-inline { justify-content: flex-start; font-size: 0.88rem; }

  .coffee-modal {
    flex-direction: column;
  }

  .coffee-modal-image-wrap {
    width: 100%;
    min-width: 0;
    height: min(42vh, 320px);
    padding: 14px;
  }

  .coffee-modal-content {
    padding: 24px 20px;
  }
}
