:root {
  --lg-bg-color: rgba(255, 255, 255, 0.25);
  --lg-highlight: rgba(255, 255, 255, 0.75);
  --lg-text: #ffffff;
  --lg-hover-glow: rgba(255, 255, 255, 0.4);
  --lg-red: #a1333f;
  --lg-purple: #574a8d;
  --lg-pink: #ffcbd6;
  --lg-black: #222222;
  --lg-grey: #5b5b5b;
  --lg-green: #093f40;
  --lg-blue: #0e4363;
  --white-main: rgba(255, 255, 255, 0.87);
  --orange-main: #f9a825;
  --orange-liquid-glass: rgb(249, 168, 37, 0.87);
  --text-shadow-captive: 2px 3px 2px #00000045;
}

body {
  background-image: url("../img/BG-japan4.jpg");
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  font-family: Arial, sans-serif;
  /* background-repeat: round; */
  overflow: auto;
  background-size: cover;
  background-position: left;
}

#current-datetime {
  font-size: 1.3rem !important;
}

.title-text {
  font-size: 100% !important;
  font-weight: 400;
  color: var(--lg-black) !important;
}

.nominal-text {
  font-size: 8vw;
  font-weight: 900;
  color: var(--lg-blue);
  text-shadow: 0 8px 5px rgba(0, 0, 0, 0.3);
  line-height: normal;
}

#fine-pot-total {
  margin-top: 76px !important;
}

.top-list {
  list-style-type: none;
  padding-left: 0;
  font-size: 18px;
  line-height: 1.8;
  color: var(--lg-red);
  font-weight: 600;
}

.glass-effect-panel {
  /* 1. Efek Kaca Buram (Kunci Glassmorphism) */
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(10px);

  background-color: rgba(255, 255, 255, 0.15);

  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 15px;

  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);

  padding: 30px;
}

/* Sesuaikan warna teks jika perlu, agar terlihat lebih kontras di atas kaca buram */
.glass-effect-panel .title-text,
.glass-effect-panel {
  color: #ffffff;
}

.liquid-glass {
  width: 92%;
  height: auto;
  border-radius: 99px;
  position: relative;
  isolation: isolate;
  box-shadow: 0px 6px 24px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  text-decoration: none;
  padding: 1rem 3rem;
}

.liquid-glass:focus {
  outline: none;
}

.liquid-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 99px;
  box-shadow: inset 0 0 20px -4px #242424, inset 8px 19px 8px 1px #ffffff;
  background-color: rgba(255, 255, 255, 0.11);
}

.liquid-glass::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 99px;
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  filter: url(#glass-distortion);
  -webkit-filter: url(#glass-distortion);
}

.glass-text {
  position: relative;
  font-weight: 400;
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
  opacity: 1;
  transform: translate(0px, 0px);
  /* font-family: "Georgia", "Microsoft YaHei", "微软雅黑", serif; */
  padding: 16px 24px;
}

.table.table-sm.table-bordered.table-striped.fine-pot-table {
  --bs-table-bg: rgba(173, 213, 253, 0.632) !important;
  --bs-body-font-size: 2vw !important;
  /* --bs-table-color: var(--lg-text) !important; */
}

/* Bagian Atas dan Bawah Kartu */
.top-half,
.bottom-half {
  position: absolute;
  width: 100%;
  height: 50%;
  overflow: hidden;
  background-color: #333;
  color: #fff;
}

.top-half {
  top: 0;
  line-height: 90px;
  padding-top: 0;
}

.bottom-half {
  bottom: 0;
  line-height: 0px;
  padding-bottom: 0;
}

/* Pemisah */
.separator {
  font-size: 48px;
  font-weight: bold;
  align-self: flex-start;
  margin-top: 15px;
}

.snowflake {
  /* Style kepingan salju */
  color: #fff;
  font-family: Arial, sans-serif;
  text-shadow: 0 0 1px #fff;
  content: "❄"; /* Bisa diganti dengan karakter lain seperti "❄" atau "@" */

  /* Posisi dan Layering */
  position: fixed;
  top: -50px;
  z-index: 9999;

  /* Animasi */
  animation-name: fall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

/* Keyframes untuk membuat salju jatuh */
@keyframes fall {
  to {
    transform: translateY(100vh);
  }
}

@media screen and (min-width: 320px) and (max-width: 768px) {
  .body {
    overflow: scroll;
  }

  #current-datetime {
    font-size: 0.87rem !important;
  }

  .liquid-glass::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: 99px;
    box-shadow: inset 0 0 20px -4px #242424, inset 6px 10px 8px 1px #ffffff;
    background-color: rgba(255, 255, 255, 0.11);
  }
}
