/* Wunpawng Edin — design system v2: LIGHT theme (warm, simple, easy on the eyes) */
:root {
  --bg: #faf8f4;
  --bg-soft: #f1ece1;
  --card: #ffffff;
  --card-2: #f6f1e6;
  --border: #e7dfd0;
  --pink: #c2255c;
  --green: #0d6e3f;
  --yellow: #b97b06;
  --gold: #f2b705;
  --blue: #1971c2;
  --red: #d6336c;
  --text: #20242f;
  --text-soft: #4c5168;
  --text-dim: #8b90a5;
  /* aliases used by upload.html inline styles */
  --line: #e7dfd0;
  --muted: #8b90a5;
  --ink: #20242f;
  --radius: 16px;
  --nav-h: 64px;
  --max-w: 1240px;
  --font: "Noto Sans", "Noto Sans Myanmar", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
/* warm ambient backdrop */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(600px 320px at 12% -4%, rgba(178,18,46,.05), transparent 60%),
    radial-gradient(700px 380px at 88% 6%, rgba(25,113,194,.05), transparent 60%),
    radial-gradient(800px 500px at 50% 110%, rgba(13,110,63,.05), transparent 60%),
    var(--bg);
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

/* ── Header ── */
header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  background: rgba(250,248,244,.92);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 14px rgba(120,100,70,.07);
}
.nav { max-width: var(--max-w); margin: 0 auto; height: var(--nav-h);
  display: flex; align-items: center; gap: 18px; padding: 0 20px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark { width: 38px; height: 38px; border-radius: 50%; object-fit: cover;
  background: #fff; box-shadow: 0 2px 10px rgba(150,110,40,.35); }
.brand-name { font-weight: 800; font-size: 19px; letter-spacing: .2px; line-height: 1.1; }
.brand-tag { font-size: 10.5px; color: var(--text-dim); letter-spacing: .4px; }
.nav-links { display: flex; gap: 4px; margin-left: 8px; }
.nav-links a { padding: 8px 14px; border-radius: 10px; font-weight: 600; font-size: 14.5px; color: var(--text-soft); }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(0,0,0,.05); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.search { display: flex; align-items: center; background: var(--card);
  border: 1px solid var(--border); border-radius: 24px; padding: 7px 8px 7px 14px;
  box-shadow: 0 1px 4px rgba(120,100,70,.06); }
.search input { background: transparent; border: 0; outline: 0; color: var(--text);
  font-size: 14px; width: 150px; font-family: inherit; }
.search input::placeholder { color: var(--text-dim); }
.search button { background: var(--pink); border: 0; color: #fff; font-weight: 800;
  border-radius: 18px; padding: 6px 14px; font-size: 13px; white-space: nowrap; }
.lang-switch { display: flex; background: var(--card); border: 1px solid var(--border);
  border-radius: 20px; overflow: hidden; font-size: 12.5px; font-weight: 700; }
.lang-switch button { background: transparent; border: 0; color: var(--text-dim);
  padding: 7px 11px; }
.lang-switch button.on { background: var(--gold); color: #20242f; }
.lang-switch button:disabled { opacity: .45; cursor: default; }
.btn { border: 0; border-radius: 24px; font-weight: 800; font-size: 14px; padding: 10px 20px; white-space: nowrap; }
.btn-upload { background: linear-gradient(135deg, var(--pink), #e8590c); color: #fff;
  box-shadow: 0 3px 12px rgba(194,37,92,.3); }
.btn-signin { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-signin:hover { border-color: var(--text-dim); }
.hamburger { display: none; background: transparent; border: 1px solid var(--border);
  border-radius: 10px; color: var(--text); font-size: 20px; padding: 6px 12px; }

/* ── Hero ── */
.hero { padding: 64px 0 40px; display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px;
  font-weight: 700; color: var(--green); background: rgba(13,110,63,.08);
  border: 1px solid rgba(13,110,63,.28); padding: 6px 14px; border-radius: 20px;
  margin-bottom: 18px; }
.hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.12; font-weight: 800;
  letter-spacing: -.5px; margin-bottom: 16px; }
.hero h1 .grad { background: linear-gradient(90deg, #b3122e, var(--yellow), var(--green));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { color: var(--text-soft); font-size: 17px; max-width: 480px; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.btn-hero { padding: 14px 30px; font-size: 16px; border-radius: 30px; }
.btn-explore { background: var(--card); border: 2px solid var(--border); color: var(--text); }
.btn-explore:hover { border-color: var(--text-dim); }
.hero-stats { display: flex; gap: 28px; }
.hero-search { display: flex; align-items: center; margin: 4px 0 26px;
  max-width: 520px; background: #fff; border: 1.5px solid var(--border);
  border-radius: 999px; padding: 6px 6px 6px 20px;
  box-shadow: 0 10px 30px rgba(150,110,50,.14); }
.hero-search input { flex: 1; border: 0; outline: 0; background: transparent;
  font-size: 16px; color: var(--text); min-width: 0; }
.hero-search button { border: 0; cursor: pointer; border-radius: 999px;
  padding: 12px 26px; font-size: 15px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, #c2255c, #e8590c); white-space: nowrap; }
.hero-search button:hover { filter: brightness(1.08); }
.stat b { display: block; font-size: 24px; }
.stat span { font-size: 13px; color: var(--text-dim); }
/* warm sunrise highlands artwork */
.hero-art { position: relative; height: 340px; border-radius: 24px; overflow: hidden;
  border: 1px solid var(--border);
  background: url("/assets/hero-manau.jpg") center 38% / cover no-repeat;
  box-shadow: 0 18px 44px rgba(190,140,80,.25); }
.hero-art .caption { position: absolute; left: 18px; bottom: 16px; z-index: 2;
  font-size: 13px; color: var(--text); background: rgba(255,255,255,.82);
  padding: 6px 12px; border-radius: 12px; backdrop-filter: blur(6px); }

/* ── Announcement banner (admin-set) ── */
.announce { margin: 18px 0 0; padding: 12px 20px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(178,18,46,.08), rgba(242,183,5,.12));
  border: 1.5px solid rgba(178,18,46,.3); font-size: 15px; font-weight: 600;
  color: var(--text); text-align: center; }
.announce[hidden] { display: none; }

/* ── Live strip ── */
.live-strip { margin: 8px 0 8px; background: rgba(214,51,108,.07);
  border: 1px solid rgba(214,51,108,.35); border-radius: var(--radius);
  padding: 14px 20px; display: flex; align-items: center; gap: 14px; }
.live-dot { width: 12px; height: 12px; border-radius: 50%; background: #e03131;
  box-shadow: 0 0 0 0 rgba(224,49,49,.5); animation: pulse 1.6s infinite; flex-shrink: 0; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(224,49,49,0); } 100% { box-shadow: 0 0 0 0 rgba(224,49,49,0); } }
.live-strip b { font-size: 15px; }
.live-strip span { color: var(--text-soft); font-size: 14px; }
.live-strip .btn { margin-left: auto; background: #e03131; color: #fff; flex-shrink: 0; }

/* ── Sections ── */
section.block { padding: 44px 0; }
.sec-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 6px; }
.sec-title { font-size: 23px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.sec-dot { width: 10px; height: 10px; border-radius: 50%; }
.sec-sub { color: var(--text-dim); font-size: 14px; margin-bottom: 22px; }
.sec-link { margin-left: auto; font-size: 14px; font-weight: 700; color: var(--blue); white-space: nowrap; }

/* categories */
.cats { display: flex; gap: 12px; flex-wrap: wrap; }
.cat { display: flex; align-items: center; gap: 10px; background: var(--card);
  border: 1.5px solid var(--border); border-radius: 14px; padding: 13px 20px;
  font-weight: 700; font-size: 15px; transition: .15s;
  box-shadow: 0 2px 8px rgba(120,100,70,.05); }
.cat:hover { border-color: var(--pink); transform: translateY(-2px); }
.cat .ico { font-size: 21px; }
.cat small { display: block; font-weight: 500; color: var(--text-dim); font-size: 12px; }

/* video grid */
.vgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.vcard { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: .15s; box-shadow: 0 2px 10px rgba(120,100,70,.06); }
.vcard:hover { transform: translateY(-3px); border-color: #d5c9b2; box-shadow: 0 14px 30px rgba(120,100,70,.14); }
.vthumb { position: relative; height: 150px; display: flex; align-items: center; justify-content: center; }
.vthumb .play { width: 46px; height: 46px; border-radius: 50%; background: rgba(20,16,10,.55);
  border: 1.5px solid rgba(255,255,255,.7); color: #fff; font-size: 16px;
  display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px); }
.vdur { position: absolute; right: 10px; bottom: 10px; background: rgba(0,0,0,.72);
  color: #fff; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 8px; }
.vbadge { position: absolute; left: 10px; top: 10px; font-size: 11px; font-weight: 800;
  padding: 4px 10px; border-radius: 8px; letter-spacing: .4px; }
.vbody { padding: 13px 15px 15px; }
.vtitle { font-weight: 700; font-size: 14.5px; line-height: 1.4; margin-bottom: 5px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vmeta { color: var(--text-dim); font-size: 12.5px; }
/* warm gradient thumbs — Kachin textile inspired */
.g1 { background: linear-gradient(135deg, #d6336c, #8f1d3f); }
.g2 { background: linear-gradient(135deg, #2b8a5a, #0d6e3f); }
.g3 { background: linear-gradient(135deg, #d9a404, #8a5c06); }
.g4 { background: linear-gradient(135deg, #4d7fc4, #27407c); }
.g5 { background: linear-gradient(135deg, #b45a8d, #6d1f4d); }
.g6 { background: linear-gradient(135deg, #3aa7b8, #0f5e6e); }
.g7 { background: linear-gradient(135deg, #8a68b8, #50307c); }
.g8 { background: linear-gradient(135deg, #d08a4e, #7c4a12); }

/* music */
.track-list { display: flex; flex-direction: column; gap: 10px; }
.track { display: flex; align-items: center; gap: 16px; background: var(--card);
  border: 1px solid var(--border); border-radius: 14px; padding: 12px 18px 12px 12px;
  transition: .15s; box-shadow: 0 2px 8px rgba(120,100,70,.05); }
.track:hover { border-color: #d5c9b2; }
.track.playing { border-color: var(--green); background: #eef7f0; }
.tplay { width: 46px; height: 46px; border-radius: 50%; border: 0; flex-shrink: 0;
  background: linear-gradient(135deg, #2b8a5a, #1971c2); color: #fff;
  font-size: 16px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.tcover { width: 52px; height: 52px; border-radius: 10px; flex-shrink: 0; }
.tinfo { min-width: 0; }
.tinfo .t { font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tinfo .a { color: var(--text-dim); font-size: 13px; }
.tdur { margin-left: auto; color: var(--text-dim); font-size: 13px; font-variant-numeric: tabular-nums; flex-shrink: 0; }
.teq { display: none; align-items: flex-end; gap: 3px; height: 20px; margin-left: 6px; }
.track.playing .teq { display: inline-flex; }
.teq i { width: 4px; background: var(--green); border-radius: 2px; animation: eq 1s ease-in-out infinite; }
.teq i:nth-child(2) { animation-delay: .2s; } .teq i:nth-child(3) { animation-delay: .45s; }
@keyframes eq { 0%,100% { height: 6px; } 50% { height: 20px; } }

/* bottom player */
.playerbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: rgba(255,255,255,.97); border-top: 1px solid var(--border);
  backdrop-filter: blur(14px); transform: translateY(110%); transition: .25s;
  box-shadow: 0 -6px 24px rgba(120,100,70,.1); }
.playerbar.show { transform: none; }
.playerbar .in { max-width: var(--max-w); margin: 0 auto; padding: 10px 20px;
  display: flex; align-items: center; gap: 14px; }
.pcover { width: 44px; height: 44px; border-radius: 8px; flex-shrink: 0; }
.ptitle { font-weight: 700; font-size: 14px; } .partist { font-size: 12px; color: var(--text-dim); }
.pplay { width: 42px; height: 42px; border-radius: 50%; border: 0; margin-left: auto;
  background: var(--gold); color: #20242f; font-size: 15px; font-weight: 800; flex-shrink: 0; }
.pnote { font-size: 11.5px; color: var(--text-dim); }

/* creators */
.cgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.creator { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 16px; text-align: center; box-shadow: 0 2px 10px rgba(120,100,70,.05); }
.avatar { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 800; color: #fff; border: 3px solid var(--gold); }
.creator .n { font-weight: 800; font-size: 15px; }
.creator .s { color: var(--text-dim); font-size: 12.5px; margin-bottom: 12px; }
.btn-follow { background: transparent; border: 1.5px solid var(--blue); color: var(--blue);
  border-radius: 18px; padding: 7px 20px; font-weight: 700; font-size: 13px; }
.btn-follow:hover { background: rgba(25,113,194,.08); }

/* upload CTA band */
.cta-band { margin: 20px 0 8px; border-radius: 24px; padding: 46px 30px; text-align: center;
  background: linear-gradient(135deg, rgba(194,37,92,.07), rgba(25,113,194,.06)),
    var(--card); border: 1px solid var(--border); }
.cta-band h2 { font-size: 28px; margin-bottom: 10px; }
.cta-band p { color: var(--text-soft); margin-bottom: 24px; }

/* footer */
footer { border-top: 1px solid var(--border); margin-top: 40px; padding: 40px 0 90px; }
.fgrid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.fbrand p { color: var(--text-dim); font-size: 14px; margin-top: 10px; max-width: 300px; }
footer h4 { font-size: 14px; margin-bottom: 14px; color: var(--text); }
footer ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
footer ul a { color: var(--text-dim); font-size: 14px; }
footer ul a:hover { color: var(--text); }
.fbottom { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  color: var(--text-dim); font-size: 13px; }
.kachin-strip { height: 8px; border-radius: 0;
  background: repeating-linear-gradient(90deg, #b3122e 0 34px, #0d6e3f 34px 68px, #f2b705 68px 102px, #1a1a1a 102px 136px); }

/* ── Mobile ── */
@media (max-width: 960px) {
  .nav-links, .nav-right .search, .nav-right .btn-signin { display: none; }
  .hamburger { display: block; }
  .nav-right .lang-switch { display: none; }
  .hero { grid-template-columns: 1fr; padding: 40px 0 24px; gap: 26px; }
  .hero-art { height: 220px; order: -1; }
  .vgrid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cgrid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .fgrid { grid-template-columns: 1fr 1fr; }
  .track { padding: 10px 12px 10px 8px; gap: 12px; }
  .mobile-menu { display: none; }
  .mobile-menu.open { display: flex; }
}
.mobile-menu { display: none; flex-direction: column; gap: 2px; padding: 10px 20px 16px;
  border-bottom: 1px solid var(--border); background: rgba(250,248,244,.97); }
.mobile-menu a { padding: 11px 6px; font-weight: 700; border-bottom: 1px solid rgba(0,0,0,.06); }
@media (max-width: 560px) {
  .nav { gap: 10px; }
  .nav-right .btn-upload { font-size: 0; padding: 10px 13px; }
  .nav-right .btn-upload::before { content: "＋"; font-size: 18px; }
  .vgrid { gap: 10px; }
  .vthumb { height: 110px; }
  .hero-stats { gap: 18px; }
  .fgrid { grid-template-columns: 1fr; }
  .live-strip { flex-wrap: wrap; }
}

/* ── Photo gallery ─────────────────────────────────────────────── */
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pcard { position: relative; border: 0; padding: 0; cursor: pointer;
  border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3;
  background: var(--card); border: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(120,100,70,.08); }
.pcard img { width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .35s ease; }
.pcard:hover img { transform: scale(1.05); }
.pcap { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 10px;
  font-size: 13px; font-weight: 600; color: #fff; text-align: left;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.62)); }
.lightbox { position: fixed; inset: 0; z-index: 9990; background: rgba(12,10,8,.92);
  display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 84vh; border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0,0,0,.5); }
.lb-cap { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center;
  color: #fff; font-size: 15px; font-weight: 600; }
.lb-close, .lb-prev, .lb-next { position: absolute; border: 0; cursor: pointer;
  background: rgba(255,255,255,.14); color: #fff; border-radius: 50%;
  width: 46px; height: 46px; font-size: 22px; line-height: 1; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.28); }
.lb-close { top: 20px; right: 22px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
@media (max-width: 900px) { .pgrid { grid-template-columns: repeat(2, 1fr); } }
