:root{
  --bg:#0b0d10;
  --panel:#10141a;
  --panel2:#0f1318;
  --text:#e9eef6;
  --muted:#a9b2c3;
  --line:rgba(255,255,255,.10);
  --brand:#7c5cff;
  --brand2:#22c55e;
  --shadow:0 20px 60px rgba(0,0,0,.35);
  --radius:18px;
  --radius2:24px;
  --max:1100px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial;
  color:var(--text);

  /* IMPORTANT */
  min-height:100vh;

  --bg-img: none;
  --bg-overlay: rgba(0,0,0,.48); /* အရမ်းအရေးကြီး */

  background:
    linear-gradient(var(--bg-overlay), var(--bg-overlay)),
    var(--bg-img);

  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  background-attachment: fixed, fixed;
}



.container{max-width:var(--max); margin:0 auto; padding:0 18px;}
.muted{color:var(--muted)}
.w100{width:100%}

.topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(12px);
  background: rgba(11,13,16,.7);
  border-bottom:1px solid var(--line);
}
.topbar__inner{
  height:64px; display:flex; align-items:center; justify-content:space-between;
  gap:14px;
}

.brand{display:flex; align-items:center; gap:10px; text-decoration:none; color:var(--text); font-weight:700}
.brand__dot{width:10px; height:10px; border-radius:999px; background:var(--brand); box-shadow:0 0 0 5px rgba(124,92,255,.18)}
.brand__text{letter-spacing:.2px}

.nav{display:flex; gap:18px; align-items:center}
.nav__link{color:var(--muted); text-decoration:none; font-weight:600; font-size:14px}
.nav__link:hover{color:var(--text)}
.nav__link--cta{
  padding:10px 12px; border-radius:12px;
  background: rgba(124,92,255,.18);
  border:1px solid rgba(124,92,255,.30);
  color:var(--text);
}

.iconbtn{
  display:none;
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  color:var(--text);
  border-radius:12px;
  padding:10px 12px;
  cursor:pointer;
}
.iconbtn__bars{
  display:block; width:18px; height:12px; position:relative;
}
.iconbtn__bars:before,.iconbtn__bars:after,.iconbtn__bars i{
  content:""; position:absolute; left:0; right:0; height:2px; background:var(--text); border-radius:2px;
}
.iconbtn__bars:before{top:0}
.iconbtn__bars:after{bottom:0}
.iconbtn__bars i{top:5px}

.hero{padding:54px 0 34px}
.hero__inner{display:grid; grid-template-columns: 1.2fr .8fr; gap:22px; align-items:stretch}
.badge{
  display:inline-flex; gap:10px; align-items:center;
  padding:8px 10px; border-radius:999px;
  border:1px solid rgba(124,92,255,.30);
  background: rgba(124,92,255,.12);
  color:var(--text);
  font-weight:600; font-size:13px;
}
.hero__title{font-size:42px; line-height:1.1; margin:14px 0 12px}
.hero__subtitle{color:var(--muted); max-width:62ch; line-height:1.65; margin:0 0 18px}

.hero__actions{display:flex; gap:12px; flex-wrap:wrap; margin:18px 0 10px}
.btn{
  display:inline-flex; justify-content:center; align-items:center;
  text-decoration:none; font-weight:700; font-size:14px;
  padding:12px 14px; border-radius:14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  color:var(--text);
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.btn:hover{transform: translateY(-1px); border-color: rgba(255,255,255,.22)}
.btn--primary{
  background: linear-gradient(135deg, rgba(124,92,255,.95), rgba(124,92,255,.55));
  border-color: rgba(124,92,255,.55);
}
.btn--ghost{
  background: rgba(255,255,255,.02);
}

.hero__stats{display:flex; gap:14px; flex-wrap:wrap; margin-top:18px}
.stat{
  flex:1; min-width:150px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius);
  padding:14px;
}
.stat__num{font-size:20px; font-weight:800}
.stat__label{color:var(--muted); margin-top:6px; font-size:13px}

.card{
  border:1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  padding:18px;
}
.hero__card{display:flex; flex-direction:column; justify-content:flex-start}
.card__top{display:flex; align-items:center; justify-content:space-between; margin-bottom:10px}
.pill{
  font-size:12px; font-weight:700; color:var(--muted);
  border:1px solid var(--line);
  padding:6px 10px; border-radius:999px;
  background: rgba(255,255,255,.02);
}
.dot{width:10px; height:10px; border-radius:999px; background:#ef4444}
.dot--ok{background: var(--brand2); box-shadow: 0 0 0 5px rgba(34,197,94,.14)}
.card__title{margin:10px 0 6px; font-size:20px}
.card__text{margin:0; color:var(--muted); line-height:1.65}
.card__text.small{font-size:13px}
.card__line{height:1px; background:var(--line); margin:14px 0}

.section{padding:54px 0}
.section--alt{background: rgba(255,255,255,.02); border-top:1px solid var(--line); border-bottom:1px solid var(--line)}
.section__head{margin-bottom:18px}
.section__title{margin:0 0 8px; font-size:28px}
.section__subtitle{margin:0; color:var(--muted); line-height:1.6}

.grid3{display:grid; grid-template-columns:repeat(3,1fr); gap:14px}
.tile{
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius);
  padding:16px;
}
.tile__title{margin:0 0 8px}
.tile__text{margin:0; color:var(--muted); line-height:1.6}

.price{
  position:relative;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius2);
  padding:18px;
}
.price--featured{
  border-color: rgba(124,92,255,.45);
  box-shadow: var(--shadow);
}
.price__tag{
  position:absolute; top:14px; right:14px;
  background: rgba(124,92,255,.16);
  border:1px solid rgba(124,92,255,.34);
  padding:6px 10px; border-radius:999px;
  font-size:12px; font-weight:800;
}
.price__name{margin:0 0 8px}
.price__num{margin:0 0 12px; font-size:34px; font-weight:900}
.list{margin:0 0 14px; padding-left:18px; color:var(--muted); line-height:1.8}

.faq{display:grid; gap:12px}
.faq__item{
  border:1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.03);
  padding:14px 16px;
}
.faq__q{cursor:pointer; font-weight:800}
.faq__a{margin:10px 0 0; color:var(--muted); line-height:1.7}

.contact{display:grid; grid-template-columns: 1.3fr .7fr; gap:14px}
.contact__box{
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  border-radius: var(--radius2);
  padding:18px;
}
.contact__box--alt{background: rgba(255,255,255,.02)}
.contact__title{margin:0 0 8px}
.contact__text{margin:0; color:var(--muted); line-height:1.7}
.contact__chips{display:flex; flex-wrap:wrap; gap:8px; margin-top:12px}
.chip{
  padding:8px 10px; border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.02);
  font-size:12px; color:var(--muted); font-weight:700;
}
.link{color:var(--text); text-decoration:none}
.link:hover{text-decoration:underline}

.footer{padding:26px 0; border-top:1px solid var(--line)}
.footer__inner{display:flex; gap:10px; align-items:center; justify-content:center; color:var(--muted)}
.footer__sep{opacity:.5}

/* Drawer */
.drawer{position:fixed; inset:0; display:none; z-index:90}
.drawer.open{display:block}
.drawer__panel{
  position:absolute; top:0; right:0; height:100%;
  width:min(360px, 90vw);
  background: rgba(16,20,26,.95);
  border-left:1px solid var(--line);
  padding:16px;
  box-shadow: var(--shadow);
  transform: translateX(0);
}
.drawer__head{display:flex; align-items:center; justify-content:space-between; margin-bottom:10px}
.drawer__title{font-weight:900}
.drawer__links{display:grid; gap:10px; padding-top:10px}
.drawer__link{
  padding:12px 12px; border-radius:14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.02);
  text-decoration:none; color:var(--text); font-weight:800;
}
.drawer__link--cta{border-color: rgba(124,92,255,.45); background: rgba(124,92,255,.14)}
.drawer__backdrop{position:absolute; inset:0; background: rgba(0,0,0,.55)}

/* Responsive */
@media (max-width: 920px){
  .hero__inner{grid-template-columns:1fr; }
  .hero__title{font-size:36px}
  .grid3{grid-template-columns:1fr}
  .contact{grid-template-columns:1fr}
  .nav{display:none}
  .iconbtn{display:inline-flex}
}
/* Page-specific backgrounds */
.page-home  { --bg-img: url("/assets/images/main.webp"); }
.page-tech  { --bg-img: url("/assets/images/tech.webp"); }
.page-dhamma{ --bg-img: url("/assets/images/dhamma.webp"); }
.page-keys  { --bg-img: url("/assets/images/keys.webp"); }
.page-health{ --bg-img: url("/assets/images/health.webp"); }
.page-about { --bg-img: url("/assets/images/about.webp"); }

/* Optional: tweak darkness per page */
.page-dhamma{ --bg-overlay: rgba(11,13,16,.86); }
.page-keys  { --bg-overlay: rgba(11,13,16,.72); }
/* Stronger cards on image background */
.tile, .post, .card, .panel, .kcard, .faq__item, .contact__box{
  background: rgba(12,14,18,.72) !important;
  border-color: rgba(255,255,255,.18) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Hover effect nicer */
.tile:hover, .post:hover, .kcard:hover{
  background: rgba(12,14,18,.82) !important;
  border-color: rgba(124,92,255,.45) !important;
}
/* Remove default blue/purple link colors globally */
a{ color: inherit; }
a:visited{ color: inherit; }
/* Make link meta consistent */
.tile__meta, .post__meta, .kread{
  color: rgba(233,238,246,.88);
  font-weight: 800;
}
.tile__title, .post__title, .ktitle{
  color: rgba(233,238,246,.98);
}
.tile__text, .post__excerpt, .kdesc{
  color: rgba(169,178,195,.95);
}
/* Global: remove ugly underlines */
a, a:visited{
  color: inherit;
  text-decoration: none;
}
a:hover{ text-decoration: none; }

/* Keep underline only if you really need it */
.link:hover{ text-decoration: underline; }
/* Unified glass card style (better contrast on background images) */
.tile, .post, .kcard, .panel, .faq__item, .contact__box{
  background: rgba(10,12,16,.70) !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 55px rgba(0,0,0,.35);
}

/* Hover */
.tile:hover, .post:hover, .kcard:hover{
  background: rgba(10,12,16,.82) !important;
  border-color: rgba(124,92,255,.45) !important;
  transform: translateY(-2px);
}
/* Latest posts layout fix */
.posts{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.post{
  padding: 16px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Titles + excerpt (no underline, better readability) */
.post__title{
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
  color: rgba(233,238,246,.98);
}
.post__excerpt{
  margin: 0;
  color: rgba(169,178,195,.95);
  line-height: 1.65;
}

/* "Read →" meta align bottom */
.post__meta{
  margin-top: auto;
  font-weight: 900;
  font-size: 13px;
  color: rgba(233,238,246,.88);
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
/* Premium Latest Posts */
.premium-posts{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.post--premium{
  display:grid;
  grid-template-columns: 160px 1fr;
  gap: 14px;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(10,12,16,.70);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 55px rgba(0,0,0,.35);
  transition: transform .14s ease, border-color .14s ease, background .14s ease;
  overflow:hidden;
}

.post--premium:hover{
  transform: translateY(-3px);
  border-color: rgba(124,92,255,.45);
  background: rgba(10,12,16,.82);
}

.post__thumb{
  border-radius: 18px;
  background: var(--thumb) center/cover no-repeat;
  min-height: 120px;
  position:relative;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.14);
}

.post__thumb::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.55));
}

.post__body{
  display:flex;
  flex-direction:column;
  gap: 10px;
  min-width: 0;
}

.post__top{
  display:flex;
  justify-content:space-between;
  gap: 10px;
  align-items:center;
}

.post__tag{
  font-size: 12px;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(124,92,255,.38);
  background: rgba(124,92,255,.14);
  color: rgba(233,238,246,.96);
}

.post__tag--vpn{
  border-color: rgba(34,197,94,.40);
  background: rgba(34,197,94,.12);
}

.post__date{
  font-size: 12px;
  font-weight: 800;
  color: rgba(169,178,195,.95);
}

.post__title{
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
  color: rgba(233,238,246,.98);
}

.post__excerpt{
  margin: 0;
  color: rgba(169,178,195,.95);
  line-height: 1.65;
}

.post__cta{
  margin-top:auto;
  font-weight: 900;
  font-size: 13px;
  color: rgba(233,238,246,.88);
  display:inline-flex;
  gap: 8px;
  align-items:center;
}

/* Mobile */
@media (max-width: 640px){
  .post--premium{
    grid-template-columns: 1fr;
  }
  .post__thumb{
    min-height: 150px;
  }
}
.panel{
      border:1px solid var(--line);
      background: rgba(255,255,255,.03);
      border-radius: var(--radius2);
      padding:14px;
    }