/* Self-hosted Latin WOFF2 @font-face declarations (OFL 1.1) — path relatif terhadap ./fonts/ */

/* Opsi A (default): Lilita One + Plus Jakarta Sans */
@font-face {
  font-family: 'Lilita One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./lilita-one-latin-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./plus-jakarta-sans-latin-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./plus-jakarta-sans-latin-500-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./plus-jakarta-sans-latin-600-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./plus-jakarta-sans-latin-700-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('./plus-jakarta-sans-latin-400-italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url('./plus-jakarta-sans-latin-700-italic.woff2') format('woff2');
}

/* Opsi B (?font=b): Baloo 2 + Nunito */
@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./baloo-2-latin-700-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('./baloo-2-latin-800-normal.woff2') format('woff2');
}

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

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

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

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

@font-face {
  font-family: 'Nunito';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('./nunito-latin-400-italic.woff2') format('woff2');
}

/* Shell halaman & kotak fallback noscript bebas inline style (aman untuk CSP ketat) */
.tsunami-ready-page {
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #0f172a;
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', system-ui, 'Segoe UI', Roboto, sans-serif;
  user-select: none;
}

.tsunami-noscript-box {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background-color: #0f172a;
  color: #f8fafc;
  text-align: center;
}

.tsunami-noscript-card {
  max-width: 520px;
  padding: 24px 28px;
  border-radius: 16px;
  background-color: #1e293b;
  border: 1px solid #334155;
  line-height: 1.6;
}

.tsunami-noscript-title {
  margin: 0 0 10px 0;
  font-size: 20px;
  font-weight: 700;
  color: #67e8f9;
}

.tsunami-noscript-text {
  margin: 0;
  font-size: 14px;
  color: #e2e8f0;
}
