/* ==========================================================================
   Self-Hosted Latin WOFF2 Typography (Grandstander 900 & Inter 400/500/600/700)
   ========================================================================== */

@font-face {
  font-family: 'Grandstander';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/grandstander-700-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Grandstander';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/grandstander-800-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Grandstander';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('/assets/fonts/grandstander-900-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/inter-400-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/inter-500-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/inter-600-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/inter-700-latin.woff2') format('woff2');
}

/* ==========================================================================
   Design Tokens & Proportional Scaling Math (--u: calc(100vw / 1440))
   ========================================================================== */

:root {
  --u: calc(100vw / 1440);
  --font-display: 'Grandstander', 'PingFang TC', 'Microsoft JhengHei', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', 'PingFang TC', 'Microsoft JhengHei', system-ui, -apple-system, sans-serif;

  /* Sunlit & Anime Gaming Palette */
  --sky-top: #0f172a;
  --meadow-light: #e7f5e1;
  --meadow-mid: #d4ebd0;
  --forest-ink: #162d1b;
  --forest-body: #2c4a32;
  --forest-muted: #527358;

  /* Frosted Glass Surfaces */
  --nav-sage-bg: rgba(20, 36, 56, 0.62);
  --nav-sage-border: rgba(255, 255, 255, 0.38);
  --glass-panel-bg: rgba(255, 255, 255, 0.8);
  --glass-panel-border: rgba(255, 255, 255, 0.88);
  --mint-btn-bg: rgba(96, 185, 245, 0.34);
  --mint-btn-border: rgba(255, 255, 255, 0.72);

  /* Shadows */
  --hero-text-shadow: 0 calc(4 * var(--u)) calc(26 * var(--u)) rgba(6, 15, 32, 0.82),
                      0 calc(2 * var(--u)) calc(8 * var(--u)) rgba(6, 15, 32, 0.68);
  --card-shadow: 0 calc(16 * var(--u)) calc(38 * var(--u)) rgba(8, 18, 28, 0.42);
  --panel-shadow: 0 20px 50px rgba(24, 56, 30, 0.09);
  --ease-out-quart: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  background-color: var(--meadow-light);
  color: var(--forest-ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  background: linear-gradient(
    180deg,
    #0f1b2d 0%,
    #dff2fc 42%,
    #e8f5e1 72%,
    #d4ebd0 100%
  );
}

img,
video {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid #38bdf8;
  outline-offset: 3px;
}

.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;
}

.tabular-nums {
  font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   1. 6-Game Live Wall Hero Stage (1440 x 1280 Desktop Reference Frame, 9:8)
      Games: HSR · Genshin Impact · One Piece Bounty Rush · AOV · ZZZ · WuWa
   ========================================================================== */

.hero-stage {
  position: relative;
  width: 100%;
  height: calc(1280 * var(--u));
  min-height: calc(1280 * var(--u));
  overflow: hidden;
  background-color: #0b1324;
  isolation: isolate;
}

.hero-media-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

/* 6-Game Simultaneous Animated Diagonal Collage Wall */
.hero-collage-wall {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  width: 108%;
  left: -4%;
  height: 100%;
  opacity: 1;
  pointer-events: auto;
}

.collage-slice {
  position: relative;
  flex: 1;
  height: 100%;
  background-size: cover;
  background-position: center 22%;
  transform: skewX(-7deg);
  overflow: hidden;
  border-right: 2px solid rgba(255, 255, 255, 0.35);
  transition: flex 440ms var(--ease-out-quart), filter 440ms var(--ease-out-quart);
  animation: sliceFloat 9s ease-in-out infinite alternate;
}

.collage-slice:nth-child(even) {
  animation-delay: -4.5s;
}

.collage-slice:hover {
  flex: 2.25;
  filter: brightness(1.12) saturate(1.08);
}

@keyframes sliceFloat {
  0% {
    background-position: 44% 18%;
  }
  100% {
    background-position: 56% 32%;
  }
}

/* Floating Anime Elemental & Starlight Particles Canvas */
.hero-particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  pointer-events: none;
}

/* Measured Contrast Scrim for Crisp Headline & Card Legibility */
.hero-atmosphere-scrim {
  position: absolute;
  inset: 0;
  z-index: 5;
  background:
    radial-gradient(
      ellipse 68% 44% at 50% 34%,
      rgba(8, 20, 42, 0.58) 0%,
      rgba(8, 20, 42, 0.22) 65%,
      rgba(8, 20, 42, 0.1) 100%
    ),
    linear-gradient(
      180deg,
      rgba(8, 18, 36, 0.48) 0%,
      rgba(8, 18, 36, 0.18) 28%,
      rgba(8, 18, 36, 0.32) 64%,
      rgba(14, 34, 24, 0.78) 90%,
      rgba(22, 48, 26, 0.94) 100%
    );
  pointer-events: none;
}

/* ==========================================================================
   2. Frosted-Glass Navigation + Top-Bar Language Switcher (EN / 繁中 TW)
   ========================================================================== */

.hero-nav-wrapper {
  position: absolute;
  top: calc(28 * var(--u));
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  justify-content: center;
  padding: 0 calc(48 * var(--u));
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(24 * var(--u));
  width: 100%;
  max-width: calc(1200 * var(--u));
  height: calc(64 * var(--u));
  padding: 0 calc(14 * var(--u)) 0 calc(28 * var(--u));
  background: var(--nav-sage-bg);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid var(--nav-sage-border);
  border-radius: calc(999 * var(--u));
  box-shadow: 0 calc(10 * var(--u)) calc(30 * var(--u)) rgba(6, 16, 32, 0.36);
  color: #ffffff;
}

.nav-brand {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: calc(24 * var(--u));
  letter-spacing: -0.02em;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(8, 22, 42, 0.45);
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 180ms var(--ease-out-quart), opacity 180ms var(--ease-out-quart);
}

.nav-brand:hover {
  transform: translateY(-1px);
  opacity: 0.94;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: calc(32 * var(--u));
  list-style: none;
}

.nav-link {
  position: relative;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: calc(15 * var(--u));
  color: rgba(255, 255, 255, 0.95);
  white-space: nowrap;
  flex-shrink: 0;
  padding: calc(6 * var(--u)) 0;
  transition: color 180ms var(--ease-out-quart);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms var(--ease-out-quart);
}

.nav-link:hover {
  color: #ffffff;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-actions-right {
  display: flex;
  align-items: center;
  gap: calc(10 * var(--u));
  flex-shrink: 0;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  padding: calc(3 * var(--u));
  background: rgba(8, 18, 34, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: calc(999 * var(--u));
}

.lang-btn {
  height: calc(34 * var(--u));
  padding: 0 calc(12 * var(--u));
  border: none;
  border-radius: calc(999 * var(--u));
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: calc(12.5 * var(--u));
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 160ms var(--ease-out-quart), color 160ms var(--ease-out-quart);
}

.lang-btn:hover {
  color: #ffffff;
}

.lang-btn.is-active {
  background: #ffffff;
  color: var(--forest-ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: calc(8 * var(--u));
  height: calc(42 * var(--u));
  padding: 0 calc(20 * var(--u));
  background: #ffffff;
  color: var(--forest-ink);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: calc(14 * var(--u));
  border-radius: calc(999 * var(--u));
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 calc(4 * var(--u)) calc(14 * var(--u)) rgba(6, 20, 36, 0.25);
  transition: transform 180ms var(--ease-out-quart), background-color 180ms var(--ease-out-quart);
}

.nav-cta:hover {
  transform: translateY(calc(-2 * var(--u)));
  background: #f5fbf6;
}

.nav-cta .chevron-icon {
  width: calc(15 * var(--u));
  height: calc(15 * var(--u));
  transition: transform 180ms var(--ease-out-quart);
}

.nav-cta:hover .chevron-icon {
  transform: translateX(calc(3 * var(--u)));
}

/* ==========================================================================
   3. Centered Hero Content (Pointer-events pass through to 6-Game Live Wall)
   ========================================================================== */

.hero-center-content {
  position: absolute;
  top: calc(170 * var(--u));
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  width: calc(1040 * var(--u));
  max-width: 92vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #ffffff;
  pointer-events: none;
}

.hero-kicker {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: calc(14 * var(--u));
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #e0f2fe;
  text-shadow: 0 2px 12px rgba(6, 18, 38, 0.85);
  margin-bottom: calc(14 * var(--u));
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: calc(108 * var(--u));
  line-height: 0.92;
  letter-spacing: -0.025em;
  color: #ffffff;
  text-shadow: var(--hero-text-shadow);
  margin-bottom: calc(20 * var(--u));
  text-wrap: balance;
}

.hero-headline-line {
  display: block;
  will-change: transform, opacity;
}

.hero-subheading {
  max-width: calc(680 * var(--u));
  font-family: var(--font-body);
  font-weight: 600;
  font-size: calc(18 * var(--u));
  line-height: 1.5;
  color: #ffffff;
  text-shadow: 0 2px 16px rgba(6, 16, 34, 0.88);
  margin-bottom: calc(28 * var(--u));
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(16 * var(--u));
  pointer-events: auto;
}

.btn-hero-primary,
.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: calc(10 * var(--u));
  height: calc(52 * var(--u));
  padding: 0 calc(28 * var(--u));
  border-radius: calc(999 * var(--u));
  font-family: var(--font-body);
  font-weight: 600;
  font-size: calc(15.5 * var(--u));
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  border: none;
  transition: transform 180ms var(--ease-out-quart), box-shadow 180ms var(--ease-out-quart), background-color 180ms var(--ease-out-quart);
}

.btn-hero-primary {
  background: #ffffff;
  color: var(--forest-ink);
  box-shadow: 0 calc(10 * var(--u)) calc(26 * var(--u)) rgba(6, 18, 36, 0.38);
}

.btn-hero-primary:hover {
  transform: translateY(calc(-3 * var(--u)));
  box-shadow: 0 calc(14 * var(--u)) calc(32 * var(--u)) rgba(6, 18, 36, 0.48);
}

.btn-hero-secondary {
  background: var(--mint-btn-bg);
  color: #ffffff;
  border: 1.5px solid var(--mint-btn-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 calc(8 * var(--u)) calc(24 * var(--u)) rgba(6, 18, 36, 0.32);
}

.btn-hero-secondary:hover {
  transform: translateY(calc(-3 * var(--u)));
  background: rgba(125, 205, 255, 0.44);
}

.btn-hero-primary .chevron-icon,
.btn-hero-secondary .chevron-icon {
  width: calc(18 * var(--u));
  height: calc(18 * var(--u));
  transition: transform 180ms var(--ease-out-quart);
}

.btn-hero-primary:hover .chevron-icon,
.btn-hero-secondary:hover .chevron-icon {
  transform: translateX(calc(4 * var(--u)));
}

/* ==========================================================================
   4. Featured Moments ("MY MOMENTS") — 378x273 Frame Units Below 900px Fold
   ========================================================================== */

.hero-moments-zone {
  position: absolute;
  top: calc(886 * var(--u));
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  width: calc(1182 * var(--u));
  max-width: 94vw;
}

.moments-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: calc(16 * var(--u));
  padding: 0 calc(4 * var(--u));
}

.moments-heading {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: calc(24 * var(--u));
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(8, 22, 16, 0.75);
}

.moments-meta-caption {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: calc(13.5 * var(--u));
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 8px rgba(8, 22, 16, 0.75);
}

.moments-cards-row {
  display: grid;
  grid-template-columns: repeat(3, calc(378 * var(--u)));
  justify-content: space-between;
  gap: calc(24 * var(--u));
}

.moment-card {
  position: relative;
  width: calc(378 * var(--u));
  height: calc(273 * var(--u));
  border-radius: calc(15 * var(--u));
  overflow: hidden;
  background: rgba(16, 32, 24, 0.75);
  border: 1.5px solid rgba(255, 255, 255, 0.48);
  box-shadow: var(--card-shadow);
  cursor: pointer;
  text-align: left;
  transition: transform 200ms var(--ease-out-quart), box-shadow 200ms var(--ease-out-quart), border-color 200ms var(--ease-out-quart);
  will-change: transform, opacity;
}

.moment-card:hover {
  transform: translateY(calc(-8 * var(--u)));
  border-color: rgba(255, 255, 255, 0.88);
  box-shadow: 0 calc(24 * var(--u)) calc(48 * var(--u)) rgba(6, 18, 12, 0.48);
}

.moment-card-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 200ms var(--ease-out-quart);
}

.moment-card:hover .moment-card-media {
  transform: scale(1.05);
}

.moment-card-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 24, 14, 0.08) 0%,
    rgba(10, 24, 14, 0.35) 48%,
    rgba(10, 24, 14, 0.88) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(20 * var(--u));
  color: #ffffff;
}

.moment-card-kicker {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: calc(11.5 * var(--u));
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c8f7d6;
  margin-bottom: calc(6 * var(--u));
}

.moment-card-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: calc(20 * var(--u));
  line-height: 1.18;
  color: #ffffff;
  margin-bottom: calc(6 * var(--u));
}

.moment-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(8 * var(--u));
  font-size: calc(12.5 * var(--u));
  color: rgba(255, 255, 255, 0.86);
}

.moment-card-action {
  display: inline-flex;
  align-items: center;
  gap: calc(4 * var(--u));
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
}

.moment-card-action .chevron-icon {
  width: calc(14 * var(--u));
  height: calc(14 * var(--u));
  transition: transform 180ms var(--ease-out-quart);
}

.moment-card:hover .moment-card-action .chevron-icon {
  transform: translateX(calc(4 * var(--u)));
}

/* ==========================================================================
   5. Below-the-Fold Countryside Atmosphere & Container System
   ========================================================================== */

.countryside-canvas {
  position: relative;
  background:
    radial-gradient(circle at 15% 12%, rgba(255, 252, 224, 0.72) 0%, rgba(255, 252, 224, 0) 42%),
    radial-gradient(circle at 85% 38%, rgba(190, 233, 255, 0.55) 0%, rgba(190, 233, 255, 0) 45%),
    linear-gradient(
      180deg,
      #16301b 0px,
      #3b693c 48px,
      #cde7c5 150px,
      #e6f4e1 380px,
      #dff1fa 1200px,
      #e6f5e0 2200px,
      #d1ebc8 100%
    );
  padding-bottom: 80px;
}

.section-shell {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px 32px 0;
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.section-kicker {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2d6a3e;
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.1rem, 3.6vw, 3.1rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--forest-ink);
  text-wrap: balance;
}

.section-subtitle {
  max-width: 62ch;
  font-size: 16px;
  line-height: 1.6;
  color: var(--forest-body);
  margin-top: 10px;
}

/* ==========================================================================
   6. About Me Section — Glassmorphism & Verified Profile Details
   ========================================================================== */

.about-glass-stage {
  background: var(--glass-panel-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-panel-border);
  border-radius: 28px;
  box-shadow: var(--panel-shadow);
  overflow: hidden;
}

.about-cover-strip {
  position: relative;
  width: 100%;
  height: 230px;
  background: linear-gradient(120deg, #3c7a52, #6eb8da);
  overflow: hidden;
}

.about-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 36, 22, 0.05) 0%, rgba(16, 36, 22, 0.45) 100%);
}

.about-body-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  padding: 0 40px 40px;
  align-items: start;
}

.about-avatar-column {
  margin-top: -68px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-avatar-frame {
  width: 156px;
  height: 156px;
  border-radius: 24px;
  overflow: hidden;
  border: 5px solid #ffffff;
  background: #1a2d1e;
  box-shadow: 0 14px 32px rgba(18, 48, 26, 0.22);
}

.about-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-identity-block h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 28px;
  color: var(--forest-ink);
  margin-bottom: 6px;
}

.unboxed-metadata-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--forest-muted);
  line-height: 1.5;
}

.meta-sep {
  color: #88a88d;
  user-select: none;
}

.about-quick-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 8px;
}

.btn-sage-solid,
.btn-sage-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 180ms var(--ease-out-quart), background-color 180ms var(--ease-out-quart);
}

.btn-sage-solid {
  background: var(--forest-ink);
  color: #ffffff;
  border: none;
}

.btn-sage-solid:hover {
  transform: translateY(-2px);
  background: #224429;
}

.btn-sage-outline {
  background: rgba(255, 255, 255, 0.72);
  color: var(--forest-ink);
  border: 1px solid rgba(36, 71, 41, 0.22);
}

.btn-sage-outline:hover {
  transform: translateY(-2px);
  background: #ffffff;
}

.about-details-column {
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.about-bio-lead {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.58;
  color: var(--forest-ink);
  max-width: 68ch;
}

.about-bio-prose {
  font-size: 15.5px;
  line-height: 1.68;
  color: var(--forest-body);
  max-width: 70ch;
}

.about-facts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(22, 45, 27, 0.1);
}

.about-fact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.about-fact-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--forest-muted);
}

.about-fact-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--forest-ink);
}

.about-fact-value a {
  color: #196436;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   7. Interactive Photo Gallery — Filter Tabs & Masonry Grid
   ========================================================================== */

.gallery-filter-bar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(20, 52, 28, 0.06);
}

.filter-tab-btn {
  height: 38px;
  padding: 0 16px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--forest-body);
  font-weight: 600;
  font-size: 13.5px;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  transition: background-color 160ms var(--ease-out-quart), color 160ms var(--ease-out-quart), box-shadow 160ms var(--ease-out-quart);
}

.filter-tab-btn:hover {
  color: var(--forest-ink);
}

.filter-tab-btn.is-active {
  background: var(--forest-ink);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(22, 45, 27, 0.18);
}

.gallery-masonry {
  columns: 3 320px;
  column-gap: 24px;
}

.gallery-card {
  break-inside: avoid;
  margin-bottom: 24px;
  background: var(--glass-panel-bg);
  backdrop-filter: blur(14px);
  border: 1px solid var(--glass-panel-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--panel-shadow);
  transition: transform 200ms var(--ease-out-quart), box-shadow 200ms var(--ease-out-quart);
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(18, 48, 24, 0.15);
}

.gallery-card-trigger {
  display: block;
  width: 100%;
  border: none;
  background: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

.gallery-img-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #1b3120;
}

.gallery-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 200ms var(--ease-out-quart);
}

.gallery-card:hover .gallery-img {
  transform: scale(1.05);
}

.gallery-card-body {
  padding: 18px 20px 20px;
}

.gallery-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--forest-muted);
  margin-bottom: 6px;
}

.gallery-card-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.25;
  color: var(--forest-ink);
  margin-bottom: 8px;
}

.gallery-card-caption {
  font-size: 14px;
  line-height: 1.55;
  color: var(--forest-body);
  margin-bottom: 14px;
}

.gallery-card-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(22, 45, 27, 0.08);
  font-size: 13px;
  font-weight: 600;
}

.link-subtle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #1c6637;
  transition: color 160ms var(--ease-out-quart);
}

.link-subtle:hover {
  color: #0f4222;
  text-decoration: underline;
}

/* ==========================================================================
   8. Chronological Timeline ("MY TIMELINE")
   ========================================================================== */

.timeline-track {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-left: 32px;
  border-left: 2px solid rgba(36, 71, 41, 0.18);
}

.timeline-item {
  position: relative;
  background: var(--glass-panel-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-panel-border);
  border-radius: 24px;
  padding: 28px 32px;
  box-shadow: var(--panel-shadow);
  transition: transform 200ms var(--ease-out-quart);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -41px;
  top: 34px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
  border: 4px solid #2b6e3e;
  box-shadow: 0 2px 8px rgba(22, 58, 30, 0.25);
}

.timeline-item:hover {
  transform: translateY(-3px);
}

.timeline-item-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}

.timeline-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--forest-muted);
  margin-bottom: 10px;
}

.timeline-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.24;
  color: var(--forest-ink);
  margin-bottom: 12px;
}

.timeline-caption {
  font-size: 15px;
  line-height: 1.65;
  color: var(--forest-body);
  white-space: pre-line;
  margin-bottom: 18px;
}

.timeline-testimonial-box {
  background: rgba(225, 244, 224, 0.72);
  border: 1px solid rgba(43, 110, 62, 0.18);
  border-radius: 16px;
  padding: 14px 18px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  flex-shrink: 0;
}

.testimonial-quote {
  font-size: 14px;
  font-weight: 500;
  color: var(--forest-ink);
}

.testimonial-author {
  font-size: 12.5px;
  color: var(--forest-muted);
  margin-top: 2px;
}

.timeline-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.timeline-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.timeline-thumb-btn {
  position: relative;
  border: none;
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #1a2e1e;
  cursor: pointer;
  aspect-ratio: 16 / 11;
}

.timeline-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 200ms var(--ease-out-quart);
}

.timeline-thumb-btn:hover .timeline-thumb-img {
  transform: scale(1.05);
}

/* ==========================================================================
   9. Connect Section ("LET'S CONNECT") & Minimal Footer
   ========================================================================== */

.connect-banner {
  position: relative;
  background: linear-gradient(135deg, #1f4d2b 0%, #2d6c40 52%, #3a8458 100%);
  border-radius: 32px;
  padding: 64px 48px;
  color: #ffffff;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(18, 48, 24, 0.24);
}

.connect-kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c2f5d0;
  margin-bottom: 12px;
}

.connect-heading {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 16px;
}

.connect-lead {
  max-width: 56ch;
  margin: 0 auto 32px;
  font-size: 17px;
  line-height: 1.58;
  color: rgba(255, 255, 255, 0.9);
}

.connect-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.btn-connect-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 28px;
  background: #ffffff;
  color: var(--forest-ink);
  border-radius: 999px;
  font-weight: 600;
  font-size: 15.5px;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(10, 28, 14, 0.22);
  transition: transform 180ms var(--ease-out-quart);
}

.btn-connect-white:hover {
  transform: translateY(-3px);
}

.btn-connect-mint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  font-weight: 600;
  font-size: 15.5px;
  white-space: nowrap;
  backdrop-filter: blur(10px);
  transition: transform 180ms var(--ease-out-quart), background-color 180ms var(--ease-out-quart);
}

.btn-connect-mint:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.22);
}

.connect-links-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  text-align: left;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.connect-link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  transition: transform 180ms var(--ease-out-quart), background-color 180ms var(--ease-out-quart);
}

.connect-link-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.18);
}

.connect-link-platform {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #c2f5d0;
}

.connect-link-label {
  font-weight: 600;
  font-size: 15px;
  color: #ffffff;
  margin-top: 2px;
}

.connect-link-handle {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  max-width: 1200px;
  margin: 48px auto 0;
  padding: 24px 32px 0;
  border-top: 1px solid rgba(22, 45, 27, 0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13.5px;
  color: var(--forest-muted);
}

.footer-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.footer-btn {
  background: none;
  border: none;
  color: var(--forest-body);
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-btn:hover {
  color: var(--forest-ink);
}

/* ==========================================================================
   10. Fullscreen Lightbox & Profile Sync/Editor Modal
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10, 24, 14, 0.84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms var(--ease-out-quart);
}

.modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-dialog {
  width: 100%;
  max-width: 1080px;
  background: #132617;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  overflow: hidden;
  color: #ffffff;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
  display: grid;
  grid-template-columns: 1fr 340px;
  max-height: 90vh;
}

.lightbox-stage {
  position: relative;
  background: #0a150d;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  max-height: 86vh;
  overflow: hidden;
}

.lightbox-img {
  max-width: 100%;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(15, 34, 20, 0.72);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 160ms var(--ease-out-quart);
}

.lightbox-nav-btn:hover {
  background: rgba(28, 64, 38, 0.92);
}

.lightbox-prev {
  left: 16px;
}

.lightbox-next {
  right: 16px;
}

.lightbox-sidebar {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  overflow-y: auto;
}

.lightbox-close-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lightbox-counter {
  font-size: 12.5px;
  font-weight: 600;
  color: #a6dbb4;
}

.btn-icon-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn-icon-close:hover {
  background: rgba(255, 255, 255, 0.18);
}

.lightbox-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  line-height: 1.25;
  margin: 12px 0 10px;
}

.lightbox-caption {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

/* Profile Data Sync & Visual/JSON Editor Modal */
.editor-dialog {
  width: 100%;
  max-width: 760px;
  max-height: 88vh;
  background: #f5fbf4;
  color: var(--forest-ink);
  border: 1px solid rgba(36, 71, 41, 0.2);
  border-radius: 24px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.editor-header {
  padding: 22px 28px;
  background: #e6f4e4;
  border-bottom: 1px solid rgba(36, 71, 41, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.editor-header h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
}

.editor-body {
  padding: 24px 28px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.editor-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--forest-body);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(36, 71, 41, 0.24);
  background: #ffffff;
  font-size: 14px;
}

.form-textarea {
  min-height: 90px;
  resize: vertical;
  font-family: monospace;
  font-size: 12.5px;
}

.editor-footer {
  padding: 18px 28px;
  background: #e6f4e4;
  border-top: 1px solid rgba(36, 71, 41, 0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.status-banner {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  background: #dcf5e3;
  color: #164e29;
  border: 1px solid rgba(22, 78, 41, 0.2);
}

.image-fallback-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  background: linear-gradient(135deg, #2d5e3b 0%, #5899b8 100%);
  color: #ffffff;
  min-height: 200px;
  height: 100%;
  width: 100%;
}

/* ==========================================================================
   11. Mobile Optimization (<= 820px)
   ========================================================================== */

@media (max-width: 820px) {
  .hero-stage {
    height: auto;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 32px;
  }

  /* Transform 6-Game Live Wall into a crisp 2x3 animated grid on mobile viewports */
  .hero-collage-wall {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    width: 100%;
    left: 0;
    height: 100%;
  }

  .collage-slice {
    transform: none;
    width: 100%;
    height: 100%;
    background-position: center 20%;
    border-right: 1px solid rgba(255, 255, 255, 0.22);
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    animation: mobileSliceFloat 8s ease-in-out infinite alternate;
  }

  .collage-slice:nth-child(2n) {
    border-right: none;
  }

  .collage-slice:hover {
    flex: initial;
  }

  @keyframes mobileSliceFloat {
    0% {
      background-position: 45% 16%;
    }
    100% {
      background-position: 55% 28%;
    }
  }

  .hero-atmosphere-scrim {
    background:
      radial-gradient(
        ellipse 88% 48% at 50% 38%,
        rgba(6, 16, 34, 0.72) 0%,
        rgba(6, 16, 34, 0.42) 70%,
        rgba(6, 16, 34, 0.25) 100%
      ),
      linear-gradient(
        180deg,
        rgba(6, 16, 32, 0.68) 0%,
        rgba(8, 18, 36, 0.36) 30%,
        rgba(8, 18, 36, 0.48) 65%,
        rgba(14, 34, 24, 0.86) 90%,
        rgba(22, 48, 26, 0.96) 100%
      );
  }

  /* 2-Row Frosted Glass Mobile Navigation Bar (Brand + Lang/CTA on Row 1, Nav Links on Row 2) */
  .hero-nav-wrapper {
    position: relative;
    top: 0;
    padding: 12px 12px 0;
  }

  .top-nav {
    flex-wrap: wrap;
    max-width: 100%;
    height: auto;
    padding: 10px 12px;
    border-radius: 20px;
    gap: 8px 8px;
  }

  .nav-brand {
    order: 1;
    font-size: 18px;
  }

  .nav-actions-right {
    order: 2;
    gap: 6px;
    margin-left: auto;
  }

  .lang-switcher {
    padding: 2px;
    border-radius: 999px;
  }

  .lang-btn {
    height: 28px;
    padding: 0 8px;
    font-size: 11px;
    border-radius: 999px;
  }

  .nav-cta {
    height: 32px;
    padding: 0 11px;
    font-size: 11.5px;
    border-radius: 999px;
    gap: 4px;
  }

  .nav-cta .chevron-icon {
    width: 12px;
    height: 12px;
  }

  .nav-links {
    order: 3;
    display: flex;
    width: 100%;
    justify-content: space-around;
    align-items: center;
    gap: 4px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .nav-link {
    font-size: 13px;
    padding: 2px 6px;
  }

  /* Centered Mobile Hero Content */
  .hero-center-content {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    max-width: 100%;
    padding: 32px 16px 24px;
    margin: auto 0;
  }

  .hero-kicker {
    font-size: 11.5px;
    letter-spacing: 0.16em;
    margin-bottom: 8px;
  }

  .hero-headline {
    font-size: clamp(2.5rem, 11.5vw, 3.25rem);
    line-height: 0.94;
    margin-bottom: 12px;
  }

  .hero-subheading {
    font-size: 14px;
    line-height: 1.52;
    max-width: 36ch;
    margin-bottom: 20px;
    padding: 8px 14px;
    border-radius: 14px;
    background: rgba(8, 18, 34, 0.46);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    gap: 10px;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    height: 46px;
    padding: 0 20px;
    font-size: 14.5px;
    border-radius: 999px;
    gap: 8px;
  }

  .btn-hero-primary .chevron-icon,
  .btn-hero-secondary .chevron-icon {
    width: 15px;
    height: 15px;
  }

  /* Featured Moments Horizontal Snap Carousel on Mobile */
  .hero-moments-zone {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    max-width: 100%;
    padding: 8px 0 0;
  }

  .moments-header-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 0 16px;
    margin-bottom: 12px;
  }

  .moments-heading {
    font-size: 18px;
  }

  .moments-meta-caption {
    font-size: 12px;
  }

  .moments-cards-row {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding: 0 16px 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .moments-cards-row::-webkit-scrollbar {
    display: none;
  }

  .moment-card {
    flex: 0 0 84vw;
    max-width: 320px;
    height: 220px;
    border-radius: 16px;
    scroll-snap-align: center;
  }

  .moment-card-scrim {
    padding: 16px;
  }

  .moment-card-kicker {
    font-size: 10.5px;
    margin-bottom: 4px;
  }

  .moment-card-title {
    font-size: 17px;
    margin-bottom: 6px;
  }

  .moment-card-footer {
    font-size: 12px;
  }

  .moment-card-action .chevron-icon {
    width: 13px;
    height: 13px;
  }

  /* Below-the-Fold Sections on Mobile */
  .section-shell {
    padding: 52px 16px 0;
  }

  .section-header {
    gap: 16px;
    margin-bottom: 24px;
  }

  .section-subtitle {
    font-size: 14.5px;
  }

  .about-glass-stage {
    border-radius: 22px;
  }

  .about-cover-strip {
    height: 140px;
  }

  .about-body-grid {
    grid-template-columns: 1fr;
    padding: 0 18px 24px;
    gap: 20px;
  }

  .about-avatar-column {
    margin-top: -52px;
    gap: 14px;
  }

  .about-avatar-frame {
    width: 112px;
    height: 112px;
    border-radius: 20px;
    border-width: 4px;
  }

  .about-identity-block h3 {
    font-size: 24px;
  }

  .about-bio-lead {
    font-size: 16.5px;
  }

  .about-bio-prose {
    font-size: 14.5px;
  }

  .about-details-column {
    padding-top: 4px;
    gap: 20px;
  }

  .about-facts-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 18px;
  }

  .gallery-filter-bar {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .gallery-filter-bar::-webkit-scrollbar {
    display: none;
  }

  .filter-tab-btn {
    height: 36px;
    padding: 0 14px;
    font-size: 13px;
  }

  .gallery-masonry {
    columns: 1;
  }

  .gallery-card {
    margin-bottom: 18px;
    border-radius: 18px;
  }

  .timeline-track {
    padding-left: 18px;
    gap: 20px;
  }

  .timeline-item {
    padding: 18px;
    border-radius: 20px;
  }

  .timeline-item::before {
    left: -27px;
    top: 24px;
    width: 14px;
    height: 14px;
  }

  .timeline-item-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .timeline-title {
    font-size: 19px;
  }

  .timeline-caption {
    font-size: 14px;
  }

  .timeline-actions {
    gap: 10px;
  }

  .timeline-actions > * {
    flex: 1 1 auto;
    justify-content: center;
  }

  .connect-banner {
    padding: 36px 18px;
    border-radius: 24px;
  }

  .connect-lead {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .connect-cta-row {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-bottom: 28px;
  }

  .btn-connect-white,
  .btn-connect-mint {
    width: 100%;
    justify-content: center;
    height: 48px;
    font-size: 14.5px;
  }

  .connect-links-strip {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 24px;
  }

  .site-footer {
    padding: 20px 16px 0;
    margin-top: 36px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  /* Modals on Mobile */
  .modal-backdrop {
    padding: 12px;
  }

  .lightbox-dialog {
    grid-template-columns: 1fr;
    max-height: 92dvh;
    border-radius: 20px;
  }

  .lightbox-stage {
    min-height: 220px;
    max-height: 46dvh;
  }

  .lightbox-sidebar {
    padding: 18px;
    gap: 14px;
  }

  .lightbox-title {
    font-size: 18px;
    margin: 8px 0 6px;
  }

  .editor-dialog {
    max-height: 92dvh;
    border-radius: 20px;
  }

  .editor-header,
  .editor-body,
  .editor-footer {
    padding: 16px 18px;
  }

  .editor-field-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 390px) {
  .nav-brand {
    font-size: 16.5px;
  }

  .lang-btn {
    padding: 0 6px;
    font-size: 10.5px;
  }

  .nav-cta {
    padding: 0 9px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
