@font-face {
  font-family: 'ChopinScript';
  src: url('/assets/fonts/chopinscript.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Kanit';
  src: url('/assets/fonts/kanit.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Roboto';
  src: url('/assets/fonts/roboto.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

/* Base responsive layout */
html, body {
  min-width: 360px;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* Snow canvas: only one rule, high z-index for visibility */
#snow-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 20;
}

/* Sticky footer for credit */
.footer-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: rgb(12, 77, 121);
  color: #fff;
  text-align: center;
  font-size: 1.05em;
  padding: 6px 0 8px 0;
  z-index: 100;
  letter-spacing: 0.5px;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.08);
}

.footer-sticky a {
  color: #fff;
  text-decoration: underline;
  text-decoration-style: dotted; 
  font-weight: bold;
}

/* Countdown row: side by side, tight gap */
.countdown-row {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(0.2px, 0.5vw, 0.5px);
  flex-wrap: wrap;
}

.digit {
  display: inline-block;
  background: #fff;
  color: #000000;
  border-radius: 0.18em;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
  margin: 0 0.03em;
  padding: 0.1em 0.22em;
  font-size: clamp(0.6em, 2vw, 0.8em);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  text-align: center;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.countdown-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  white-space: nowrap;
}

.countdown-label {
  font-size: clamp(0.9em, 2.5vw, 1.1em);
  font-weight: bold;
  margin-bottom: clamp(4px, 1.5vw, 8px);
  letter-spacing: 1px;
  color: #e0e6ed;
}

.center-image {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0 0 0;
}

.window-image {
  width: 100%;
  max-width: 650px;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 10;
}

body {
  text-align: center;
  margin-top: 10px;
  background: #0D3858;
  color: #fff;
}

h1 {
  color: #fff;
  font-family: 'ChopinScript';
  font-weight: normal;
  font-size: 3.6em;
  text-shadow:
    0 0 8px #fff,
    0 0 16px #fff,
    0 0 32px #2980b9,
    0 0 48px #15406a;
  transition: text-shadow 0.3s;
  margin-top: 0;
  margin-bottom: 0.3em;
}

.site-description {
  color: #e0e6ed;
  font-size: clamp(0.81em, 1.8vw, 0.99em);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
  letter-spacing: 0.2px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-smooth: always;
}

.days,
.countdown {
  font-size: clamp(2.1em, 4vw, 2.4em);
  color: #2980b9;
  border-radius: 0.18em;
  font-variant-numeric: tabular-nums;
  text-align: center;
  margin: 0;
  line-height: 1.1;
  padding: 0.1em 0.4em;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}

.countdown-box {
  background: rgba(41, 128, 185, 0.90);
  border-radius: 24px;
  padding: 20px 14px 16px 14px;
  margin: 20px auto 0 auto;
  display: inline-block;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
  min-width: min(320px, calc(100% - 28px));
  max-width: 100%;
  width: auto;
  position: relative;
  z-index: 30;
  box-sizing: border-box;
}

* {
  font-family: 'Roboto', Arial, sans-serif;
}

body {
  margin: 0;
  padding: 0.5rem;
  box-sizing: border-box;
}

a {
  color: inherit; /* This will make the link color the same as the surrounding text */
  text-decoration: none; /* This will remove the underline from links */
}

.container {
  margin: 0 auto; /* Center the container horizontally */
}

.no-wrap {
  white-space: nowrap;
}