:root {
  --cyan-glow: #4DD0E4;
  --cyan-light: #6BC1D8;
  --accent-blue: #3B82F6;
  --ink-900: #0A0E1A;
}

* { -webkit-tap-highlight-color: transparent; }
html {
  scroll-behavior: smooth;
  /* Fills the area above/below the body when content is shorter than the viewport,
     or when the browser bounces past the edges (Mac/iOS rubber-band scrolling). */
  background: var(--ink-900);
}
body {
  background: var(--ink-900);
  color: white;
  font-feature-settings: "ss01", "cv11";
  overflow-x: hidden;
  /* Guarantee the page colour fills the viewport even when content is short
     (renew/order pages on a tall desktop screen). */
  min-height: 100vh;
}

[data-lang="my"] body,
[data-lang="my"] .lang-mm { font-family: 'Noto Sans Myanmar', 'Padauk', 'Inter', sans-serif; }
[data-lang="en"] body { font-family: 'Inter', system-ui, sans-serif; }
[data-lang="my"] .show-en { display: none !important; }
[data-lang="en"] .show-mm { display: none !important; }

.glass {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-glow {
  background: linear-gradient(135deg, var(--cyan-glow) 0%, var(--accent-blue) 100%);
  box-shadow: 0 8px 32px rgba(77, 208, 228, 0.3);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 9999px;
  font-weight: 700;
  transition: all 0.3s ease;
}
.btn-glow:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(77, 208, 228, 0.5); }

.text-glow {
  background: linear-gradient(135deg, var(--cyan-glow), var(--accent-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tg-float {
  position: fixed;
  bottom: 100px;
  right: 16px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #229ED9, #1A88BB);
  box-shadow: 0 8px 32px rgba(34, 158, 217, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  transition: transform 0.3s ease;
}
.tg-float:hover { transform: scale(1.1); }
@media (min-width: 768px) {
  .tg-float { bottom: 24px; right: 24px; width: 56px; height: 56px; }
}

.period-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
}
.period-btn-active {
  background: rgba(77, 208, 228, 0.15) !important;
  border: 1px solid rgba(77, 208, 228, 0.4) !important;
  color: white !important;
}

.lang-btn {
  color: rgba(255, 255, 255, 0.5);
}
.lang-btn.active {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: linear-gradient(180deg, rgba(10, 14, 26, 0) 0%, rgba(10, 14, 26, 0.95) 30%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 24px 16px 16px;
  padding-bottom: max(16px, env(safe-area-inset-bottom));
}
.sticky-cta-inner {
  max-width: 600px;
  margin: 0 auto;
}
.sticky-cta-inner .btn-glow {
  width: 100%;
  font-size: 16px;
  padding: 18px 24px;
}

.subpage-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
