
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Noto+Sans+Myanmar:wght@400;500;600;700&display=swap');

:root {
  --bg: #090d18;
  --panel: rgba(255,255,255,.065);
  --line: rgba(255,255,255,.12);
  --text: #f5f7ff;
  --muted: #a7afc4;
  --purple: #9b7cff;
  --cyan: #5de2e6;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(ellipse at 15% 5%,rgba(91,72,190,.22),transparent 38%),
    radial-gradient(ellipse at 90% 35%,rgba(31,159,176,.13),transparent 35%),
    var(--bg);
  color: var(--text);
  font-family: Inter,"Noto Sans Myanmar",sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.topbar {
  height: 76px;
  padding: 0 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: rgba(9,13,24,.72);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 1px;
}

.brand b {
  color: var(--purple);
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(135deg,#a98cff,#5de2e6);
  color: #111528;
  font-weight: 900;
}

nav {
  display: flex;
  align-items: center;
  gap: 27px;
  color: #c4cbe0;
  font-size: 14px;
}

nav a:hover {
  color: white;
}

.nav-login,
.secondary-btn {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.07);
  color: white;
  border-radius: 12px;
  padding: 10px 18px;
}

.menu-btn {
  display: none;
  background: none;
  border: 0;
  color: white;
  font-size: 24px;
}

.hero {
  min-height: 510px;
  padding: 75px 9%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  overflow: hidden;
}

.hero-content {
  max-width: 610px;
}

.eyebrow {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(34px,5vw,58px);
  line-height: 1.35;
  margin: 0 0 18px;
  letter-spacing: -1.5px;
}

h1 span {
  background: linear-gradient(90deg,#b49aff,#65e5e6);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.hero-desc {
  color: var(--muted);
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.primary-btn {
  display: inline-block;
  border: 0;
  border-radius: 12px;
  padding: 12px 21px;
  background: linear-gradient(110deg,#9675ff,#53cdd8);
  color: #101426;
  font-weight: 800;
}

.hero-art {
  width: 330px;
  height: 330px;
  position: relative;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.poster-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: linear-gradient(135deg,#9b7cff,#38d3d9);
  filter: blur(70px);
  opacity: .35;
}

.poster-card {
  position: absolute;
  width: 170px;
  height: 245px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.25);
  box-shadow: 0 25px 60px #0008;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  font-weight: 800;
  letter-spacing: 2px;
}

.poster-back {
  transform: rotate(-13deg) translate(-45px,5px);
  background: linear-gradient(145deg,#243c62,#8b4f92);
}

.poster-front {
  transform: rotate(9deg) translate(35px,-3px);
  background: linear-gradient(145deg,#182e48,#6b4db0 55%,#23a8ac);
}

.poster-front strong {
  font-size: 32px;
  line-height: 1.1;
}

.poster-card small {
  font-size: 9px;
}

.glass {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 18px 55px rgba(0,0,0,.16);
  backdrop-filter: blur(18px);
}

.notice {
  margin: 0 9% 35px;
  padding: 18px 22px;
  border-radius: 16px;
  display: flex;
  gap: 15px;
  align-items: center;
}

.notice-icon {
  font-size: 26px;
  color: var(--cyan);
}

.notice p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 55px 9%;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}

.section-heading h2 {
  font-size: 28px;
  margin: 0;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  margin: 6px 0 0;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
}

.rule-card {
  padding: 22px;
  border-radius: 17px;
}

.rule-number {
  color: var(--cyan);
  font-weight: 800;
  font-size: 12px;
}

.rule-card h3 {
  font-size: 17px;
  margin: 10px 0;
}

.rule-card p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.filters {
  display: flex;
  gap: 9px;
}

.filters input,
.filters select {
  background: rgba(255,255,255,.07);
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 10px 13px;
  color: white;
  outline: none;
}

.filters input {
  width: 220px;
}

.filters select option {
  background: #151b2c;
}

.movie-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 17px;
}

.movie-card {
  border-radius: 16px;
  overflow: hidden;
  transition: transform .2s,border-color .2s;
}

.movie-card:hover {
  transform: translateY(-5px);
  border-color: rgba(157,126,255,.55);
}

.movie-poster {
  height: 210px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.poster-one {
  background: linear-gradient(145deg,#213e5b,#8c5792);
}

.poster-two {
  background: linear-gradient(145deg,#173d4c,#4b76a4);
}

.poster-three {
  background: linear-gradient(145deg,#34265d,#b45c70);
}

.poster-four {
  background: linear-gradient(145deg,#5a3d27,#c17b47);
}

.poster-label {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 3px;
  text-shadow: 0 3px 15px #0008;
}

.access-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 8px;
  border-radius: 7px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .5px;
}

.free-tag {
  background: #b5f5d4;
  color: #10452f;
}

.vip-tag {
  background: #ffe0a1;
  color: #573300;
}

.movie-info {
  padding: 14px;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
}

.status {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .5px;
  padding: 3px 7px;
  border-radius: 6px;
}

.completed {
  background: rgba(71,218,157,.14);
  color: #6be4ae;
}

.ongoing {
  background: rgba(255,190,91,.14);
  color: #ffc66d;
}

.movie-info h3 {
  font-size: 15px;
  margin: 9px 0 3px;
}

.movie-info p {
  font-size: 11px;
  color: var(--muted);
  margin: 0 0 13px;
}

.card-btn {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
  color: white;
  border-radius: 9px;
  padding: 8px;
  font-size: 12px;
}

.card-btn:hover {
  background: rgba(155,124,255,.2);
}

.demo-note,
.empty-state {
  color: var(--muted);
  font-size: 12px;
  margin-top: 18px;
}

.centered {
  justify-content: center;
  text-align: center;
}

.vip-section {
  background: linear-gradient(180deg,transparent,rgba(90,73,160,.08),transparent);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 15px;
}

.plan-card {
  padding: 22px;
  border-radius: 16px;
  text-align: center;
  position: relative;
}

.plan-card h3 {
  margin: 0 0 8px;
}

.plan-card strong {
  font-size: 27px;
  display: block;
}

.plan-card strong small {
  font-size: 11px;
  color: var(--muted);
}

.plan-card p {
  font-size: 12px;
  color: var(--muted);
}

.plan-btn {
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: 10px;
  background: linear-gradient(110deg,#9675ff,#53cdd8);
  color: #111528;
  font-weight: 800;
}

.popular {
  border-color: rgba(155,124,255,.6);
}

.popular-label {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #a58aff;
  color: #171329;
  border-radius: 20px;
  padding: 2px 12px;
  font-size: 9px;
  font-weight: 900;
}

footer {
  border-top: 1px solid var(--line);
  padding: 30px 9%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
}

footer p {
  font-size: 11px;
  color: var(--muted);
}

.footer-small {
  width: 100%;
  margin: 0;
}

/* Modal */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 20px;
  backdrop-filter: blur(8px);
}

.modal-backdrop[hidden] {
  display: none;
}

.modal {
  width: min(440px,100%);
  padding: 28px;
  border-radius: 20px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal h2 {
  margin: 0 0 10px;
}

.modal p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
}

.modal-close {
  position: absolute;
  right: 15px;
  top: 10px;
  border: 0;
  background: none;
  color: white;
  font-size: 28px;
}

.modal-ok {
  margin-top: 12px;
  width: 100%;
}

/* Telegram Login Widget */

#telegramLoginWidget {
  width: 100%;
  min-height: 55px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 22px auto 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.045);
  overflow: hidden;
}

#telegramLoginWidget iframe {
  max-width: 100%;
}

/* Account Panel */

#accountPanel {
  width: 100%;
  margin: 20px 0 10px;
  padding: 20px;
  border: 1px solid rgba(155,124,255,.25);
  border-radius: 17px;
  background: linear-gradient(
    145deg,
    rgba(155,124,255,.12),
    rgba(93,226,230,.07)
  );
  box-shadow: 0 15px 40px rgba(0,0,0,.18);
  backdrop-filter: blur(18px);
  text-align: center;
}

#accountInfo {
  overflow-wrap: anywhere;
}

#accountInfo strong {
  display: block;
  color: white;
  font-size: 19px;
  margin-bottom: 5px;
}

#accountInfo p {
  margin: 5px 0;
  color: var(--muted);
  font-size: 13px;
}

#logoutButton {
  width: 100%;
  margin-top: 15px;
  padding: 11px 16px;
  border: 1px solid rgba(255,110,125,.3);
  border-radius: 11px;
  background: rgba(255,80,100,.10);
  color: #ff9ba8;
  font-weight: 700;
  transition: background .2s;
}

#logoutButton:hover {
  background: rgba(255,80,100,.2);
}

#loginButton {
  white-space: nowrap;
}

/* Responsive */

@media(max-width:850px) {
  .hero {
    padding: 60px 6%;
  }

  .section {
    padding: 45px 6%;
  }

  .notice {
    margin-left: 6%;
    margin-right: 6%;
  }

  .movie-grid {
    grid-template-columns: repeat(2,1fr);
  }

  .rules-grid {
    grid-template-columns: 1fr;
  }

  .plans-grid {
    grid-template-columns: repeat(2,1fr);
  }
}

@media(max-width:600px) {
  .topbar {
    height: 64px;
    padding: 0 5%;
  }

  .menu-btn {
    display: block;
  }

  nav {
    display: none;
    position: absolute;
    top: 63px;
    left: 0;
    right: 0;
    padding: 18px 6%;
    background: #101626;
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid var(--line);
  }

  nav.open {
    display: flex;
  }

  .nav-login {
    width: 100%;
  }

  .hero {
    min-height: 0;
    padding: 55px 6% 35px;
    display: block;
  }

  .hero-art {
    height: 240px;
    width: 100%;
    margin-top: 25px;
  }

  .poster-card {
    height: 205px;
    width: 145px;
  }

  .poster-glow {
    width: 200px;
    height: 200px;
  }

  .section-heading {
    display: block;
  }

  .filters {
    margin-top: 15px;
  }

  .filters input {
    flex: 1;
    min-width: 0;
    width: 100%;
  }

  .movie-grid {
    gap: 10px;
  }

  .movie-poster {
    height: 160px;
  }

  .movie-info {
    padding: 11px;
  }

  .movie-info h3 {
    font-size: 13px;
  }

  .plans-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .plan-card {
    padding: 16px 10px;
  }

  .plan-card strong {
    font-size: 21px;
  }

  footer {
    padding: 25px 6%;
    display: block;
  }

  footer p {
    margin-bottom: 4px;
  }

  .modal {
    padding: 23px 18px;
  }

  #accountPanel {
    padding: 17px 12px;
  }
}
