@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Paytone+One&display=swap');
@import "tailwindcss";
@import "@nuxt/ui";


@source "../../../content/**/*";

/* ================================
   THEME COLORS
================================ */
@theme static {
  --font-sans: 'Poppins', sans-serif;

  /* Green palette */
  --color-green-50: #EFFDF5;
  --color-green-100: #D9FBE8;
  --color-green-200: #B3F5D1;
  --color-green-300: #75EDAE;
  --color-green-400: #00DC82;
  --color-green-500: #00C16A;
  --color-green-600: #00A155;
  --color-green-700: #007F45;
  --color-green-800: #016538;
  --color-green-900: #0A5331;
  --color-green-950: #052E16;

  /* YOUR PROJECT COLORS */
  --color-primary: var(--Accents-Blue, rgba(0, 136, 255, 1));   
  --color-secondary: #F9A825;  /* Yellow */
}

/* ======================================
   DARK MODE: custom mapped Nuxt UI vars
====================================== */
.dark {
  --ui-bg: var(--ui-color-neutral-950);
  --ui-bg-muted: var(--ui-color-neutral-900);
  --ui-bg-elevated: var(--ui-color-neutral-900);
  --ui-bg-accented: var(--ui-color-neutral-800);
}
/* body{
    font-family: "Kantumruy Pro", serif;
} */
body.lang-en a {
  font-size: 14px;
}
body.lang-km {
  font-family: "Kantumruy Pro", serif !important;
  font-size: 14px;
}
body.lang-km a {
  font-size: 16px;
}
body.lang-th {
  font-family: "Kantumruy Pro", serif;
  font-size: 14px;
}
body {
  font-family: "Belanosima", sans-serif !important;
}

/* ======================================
   Kuala Lumpur hero + navbar look
====================================== */
.kuala-nav {
  font-family: "Poppins", sans-serif;
  background:white;
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.kuala-nav-link {
  font-family: "Belanosima", sans-serif;
  color: rgba(0, 0, 0, 0.5) !important;
  font-size: 16px !important;
  padding: 10px 20px;
  border-radius: 999px;
  transition: all 0.2s ease;
  font-style: capitalize;
  
}

.kuala-nav-link:hover {
  color: #fff;
}



.kuala-hero {
  position: relative;
  min-height: clamp(540px, 80vh, 780px);
  overflow: hidden;
  color: #fff;
  font-family: "Poppins", sans-serif;
}

.kuala-hero-media {
  position: absolute;
  inset: 0;
}

.kuala-hero-image {
  margin-top: 4%;
  width: 100%;
  height: 80%;
  object-fit: cover;
}

.kuala-hero-overlay {
  position: absolute;
  inset: 0;
  background: white;
}
.kuala-hero-overlay::after{
  content: "";
  position: absolute;
  inset: 0;
  background: #BEE1FF;
  opacity: 0.2;
}

.kuala-hero-content {
  position: relative;
  z-index: 999;
  padding: 92px 24px 72px;
}

.kuala-hero-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  gap: 56px !important;
  align-items: center;
}

@media (min-width: 768px) {
  .kuala-hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
  }

  .kuala-hero-content {
    padding: 108px 24px 84px;
  }
}

.kuala-hero-kicker {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.kuala-hero-amount {
  font-family: 'Paytone One', 'Poppins', Arial, sans-serif !important;
  font-size: clamp(64px, 8vw, 110px);
  font-weight: 400;
  color: #FDC700;
  /* Figma: inner shadow X:0 Y:4 Blur:4 Spread:0 #000 25% */
  filter: drop-shadow(0 4px 4px rgba(0,0,0,0.25));
  margin-bottom: 16px;
  letter-spacing: 0.01em;
  line-height: 1.1;
  text-transform: uppercase;
  text-shadow:0px 4px 4px 0px rgba(0, 0, 0, 0.25) inset;

}


.kuala-hero-stats {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.kuala-hero-stats span {
  border: 1px solid rgba(246, 197, 58, 0.6);
  color: #f6c53a;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  background: rgba(14, 20, 50, 0.4);
}

.kuala-hero-panel {
  text-align: center;
  justify-self: center;
  width: 100%;
  max-width: 430px;
  padding: 0;
}

.kuala-hero-panel h2 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 24px;
}

.kuala-countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.kuala-count {
  background: rgba(245, 245, 255, 0.92);
  border-radius: 14px;
  padding: 14px 8px 12px;
  box-shadow: 0 12px 22px rgba(17, 24, 74, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.kuala-count span {
  display: block;
  font-size: 26px;
  font-weight: 700;
  color: #5a4ccf;
}
.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.6s ease;
}
.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}

.kuala-hero-panel-title{
  font-family: 'Ubuntu', sans-serif !important;
  font-size: 34px !important;
  font-weight: 500;
  line-height: 130%;
  color: #fff;
  
}

/* Hero Section Custom Styles for Jackpot */
.hero-center {
  text-align: start;
}
.hero-title {
  font-family: 'Ubuntu', sans-serif;

  font-size: 26px;
  font-weight: 400;
  line-height: 150%;
  margin-bottom: 18px;
  text-transform: none;
  color: white;
}
.hero-jackpot {
  font-size: clamp(48px, 8vw, 110px);
  font-weight: 800;
  color: #ffd12a;
  /* Outer shadow for glow, inner shadow for depth */
  text-shadow:
    0 8px 24px #b48a0a,
    0 2px 0 #fff,
    0 2px 8px #b48a0a,
    0 0 0 #fff,
    0 0 0 #fff,
    0 0 0 #fff,
    0 2px 16px #b48a0a inset,
    0 4px 32px #b48a0a inset;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
  line-height: 1.1;
}
.hero-desc {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 28px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.18);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 24px;
}
.hero-stats-pill {
  font-family: 'Ubuntu', sans-serif;
 border: 1px solid var(--yellow, rgba(253, 199, 0, 1));
  color: #fff;
  background: rgba(253, 199, 0, 0.1);
  border-radius: 999px;
  padding: 6px 15px;
  font-size: 16px;
  font-weight: 500;
  box-shadow: 0 2px 12px rgba(246, 197, 58, 0.12);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-stats-amount {
  color: #ffd12a;
  font-weight: 700;
  font-size: 1.25em;
  margin-right: 6px;
}
.kuala-hero-subtitle {
  color: white;
  max-width: 520px;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 18px;
}

@media (max-width: 767px) {
  .kuala-hero-panel-title {
    font-size: 22px;
  }

  .draw-cards {
    gap: 12px;
    flex-wrap: wrap;
  }

  .draw-card {
    width: calc(50% - 6px);
    max-width: none;
  }

  .draw-card-inner {
    height: 96px;
    border-radius: 18px;
  }

  .draw-number {
    font-size: 2.4rem;
  }

  .draw-label {
    margin-top: 10px;
    font-size: 1rem;
  }

  .hero-center {
    text-align: center;
  }

  .hero-title {
    font-size: 1.1rem;
    margin-bottom: 12px;
  }

  .hero-desc {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 18px;
  }

  .hero-stats {
    flex-direction: column;
    align-items: stretch;
    margin-top: 16px;
  }

  
  .hero-stats-pill {
    width: 100%;
    justify-content: center;
    padding: 8px 12px;
    font-size: 14px;
  }
}

.kuala-count p {
  margin-top: 6px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(41, 45, 90, 0.65);
}

.kuala-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.kuala-btn-outline {
  border: 1.25px solid var(--Color-w, rgba(255, 255, 255, 1));
  backdrop-filter: blur(4px);
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 999px;
  padding: 14px 28px;
  background: rgba(21, 29, 77, 0.3);
  font-size: 14px;
}

.kuala-btn-gold {
  border-radius: 999px;
  padding: 14px 28px;
  background: linear-gradient(180deg, #ffd05a 0%, #f0a219 100%);
  color: #1f2f62;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}



.kuala-results {
  max-width: 1420px;
  margin: 0 auto 102px;
  justify-content: space-between;
  border-radius: 16px;
  border: 1px solid #FFFFFF33;
  backdrop-filter: blur(4px)

}

.kuala-results-header {
  max-width: 1420px;
  margin: 0 auto 18px;
  padding: 12px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.kuala-results-title {
  font-family: 'Ubuntu';
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color:white;
  font-weight: 500;
}

.kuala-results-title span {
  color: #f6c53a;
}

.kuala-results-icon {
  color: #f6c53a;
  font-size: 20px;
}

.kuala-results-more {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  font-weight: 400;
}

.kuala-results-list {
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.kuala-results-card {
  background: #372E7B;
  border-radius: 16px;
  padding: 20px 16px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.kuala-results-row {
  display: grid;
  gap: 24px;
}

@media (min-width: 900px) {
  .kuala-results-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
  }

  .kuala-results-header {
    flex-direction: row;
  }
}

.kuala-results-block {
  text-align: center;
  
}

.kuala-results-block h4 {
  
  font-size: 16px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.9);
}

.kuala-result-balls {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.kuala-result-balls span {
  width: 50px;
  height: 50px;
  border-radius: 999px;
  font-size: 24px;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  display: grid;
  place-items: center;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(90deg, #FDC700 0%, #23378E 100%);
  box-shadow: inset 0 -4px 8px rgba(0, 0, 0, 0.25);
}

.kuala-results-date {
  text-align: center;
  margin-top: 12px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 767px) {
  .kuala-hero-content {
    padding: 72px 16px 56px;
  }

  .kuala-hero-kicker {
    font-size: 12px;
  }

  .kuala-hero-amount {
    font-size: clamp(42px, 14vw, 64px);
  }

  .kuala-hero-stats {
    gap: 10px;
  }

  .kuala-hero-stats span {
    width: 100%;
    justify-content: center;
  }

  .kuala-hero-panel h2 {
    font-size: 16px;
  }

  .kuala-live {
    padding-left: 12px;
    padding-right: 12px;
  }

  .kuala-live-header,
  .kuala-results-header {
    padding-left: 14px;
    padding-right: 14px;
  }

  .kuala-live-pill,
  .kuala-live-date {
    font-size: 12px;
  }

  .kuala-live-card {
    padding: 20px 16px 22px;
  }

  

  .kuala-results-title {
    font-size: 16px;
    text-align: center;
    justify-content: center;
    flex-wrap: wrap;
  }

  .kuala-results-more {
    width: 100%;
    text-align: center;
  }

  .kuala-result-balls span {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }
}

.kuala-footer {
  background: linear-gradient(90deg, #3a1d69 0%, #2b1f5f 40%, #1f2758 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-family: "Poppins", sans-serif;
  padding: 20px 16px;
}

.kuala-footer-inner {
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
  align-items: center;
  text-align: center;
  position: relative;
}

@media (min-width: 900px) {
  .kuala-footer-inner {
    grid-template-columns: 1fr 1fr;
    text-align: left;
  }
}

.kuala-footer p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

.kuala-footer-top {
  display: none;
}

@media (min-width: 900px) {
  .kuala-footer-top {
    display: none;
  }
}



/* ======================================
   Map Nuxt UI → Your Project Colors
====================================== */
:root {
  --ui-color-primary: var(--color-primary);
  --ui-color-secondary: var(--color-secondary);
}

/* ======================================
   Custom Utility Classes
====================================== */
.bg-primary { background-color: var(--color-primary) !important; }
.text-primary { color: var(--color-primary) !important; }
.border-primary { border-color: var(--color-primary) !important; }

.bg-secondary { background-color: var(--color-secondary) !important; }
.text-secondary { color: var(--color-secondary) !important; }
.border-secondary { border-color: var(--color-secondary) !important; }

/* Buttons */
.btn-primary {
  background-color: var(--color-primary);
  color: #fff;
  padding: .5rem 1rem;
  border-radius: .375rem;
  display: inline-block;
}

.btn-secondary {
  background-color: var(--color-secondary);
  color: rgba(0,0,0,0.87);
  padding: .5rem 1rem;
  border-radius: .375rem;
  display: inline-block;
}

/* Container */
.container {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.custom-scrollbar::-webkit-scrollbar {
  height: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #d1d5db;   /* gray-300 */
  border-radius: 9999px;
  transition: background 0.2s ease;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;   /* gray-400 */
}



.divider {
 @apply hidden lg:block absolute right-0 top-1/2 -translate-y-1/2 h-[100%] w-[2px] rounded-full bg-gradient-to-b from-[#bad0ea] via-[#bad0ea] to-[#8ac1ff]
}

.card{
  @apply bg-white shadow-lg rounded-2xl mt-[-60px]   py-8 px-4;
}

.navbar-link {
  @apply text-white hover:text-secondary active:text-secondary focus:text-secondary;
}

.container {
  @apply max-w-6xl mx-auto px-6 py-14;
}

.font-heading {
  @apply font-bold text-sm sm:text-base md:text-lg lg:text-xl;
}

.hero-article{
  @apply flex p-5 sm:p-6 md:p-7 lg:p-8 gap-4 sm:gap-5 items-start hover:bg-blue-50/60 transition-colors duration-300 cursor-pointer
           border-b border-slate-100/80 md:border-b-0 md:border-r last:md:border-r-0 md:flex-1 md:basis-1/3;
}

.input-field {
  @apply mt-1 mb-2 w-full rounded-lg border border-gray-200 bg-gray-50 px-4 py-3 text-sm text-gray-900 hover:border-gray-400 placeholder:text-gray-400 transition focus:border-blue-500 focus:bg-white focus:outline-none focus:ring-2 focus:ring-blue-100 appearance-none;
}

.input-field:disabled {
  @apply bg-gray-200 text-gray-700 opacity-80;
}
.input-readonly {
  @apply bg-gray-200 text-black opacity-80 cursor-pointer select-none;
}

.dp__main {
  width: 100% !important;
}
.dp__input {
  font-family: 'Poppins', sans-serif !important;
  @apply mt-1 mb-2 w-full !rounded-lg border border-gray-200 !bg-gray-50 !px-4 !py-3 !text-sm !text-gray-900 placeholder:text-gray-400 transition focus:border-blue-500 focus:bg-white focus:outline-none focus:ring-2 focus:ring-blue-100 appearance-none;
}
.dp__input_icon,
.dp__icon,
.dp__button {
  display: none !important;
}

.upload-card {
  @apply flex flex-col gap-3 mb-2;
}

.btn {
  @apply w-full rounded-xl bg-primary px-6 py-3 hover:bg-blue-700 text-base font-semibold text-white transition md:w-48
}

.upload-area {
  @apply flex flex-col items-center justify-center gap-3 rounded-xl border-2 border-dashed border-gray-300 bg-gray-50/50 px-6 py-8 text-center transition-colors hover:border-primary hover:bg-blue-50 cursor-pointer;
}

.header-text{
  @apply text-base sm:text-[18px] md:text-xl lg:text-2xl font-semibold md:mb-8 mb-5 lg:mb-12;
}

.header-card{
  @apply text-[14px] sm:text-[14px] md:text-[18px] lg:text-lg font-medium text-slate-900;
}

.description-card{
  @apply text-[12px] md:text-[14px] lg:text-[16px] text-slate-500;
}

.required::after {
    content: '*';
    @apply ml-1 text-red-500 font-semibold;
  }