/* =========================================================
   PHOENYX - MAIN STYLESHEET
   ---------------------------------------------------------
   Change the colors below first if you want a new theme.
   ========================================================= */

:root {
  --bg: #070a0f;
  --bg-soft: #0b1018;
  --panel: #0f141d;
  --panel-2: #121923;
  --line: rgba(255,255,255,.09);

  --text: #f7f8fb;
  --muted: #9ba5b5;

  --gold: #f7c34b;
  --gold-2: #ffb33e;
  --cyan: #36e5e9;
  --purple: #7452f5;

  --success: #2dd4bf;
  --danger: #fb7185;

  --radius: 18px;
  --shadow: 0 22px 60px rgba(0,0,0,.34);
  --max-width: 1180px;
}

/* ---------- Basic reset ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(28,48,90,.26), transparent 32rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }

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

button, input, select, textarea {
  font: inherit;
}

button { cursor: pointer; }

.container {
  width: min(calc(100% - 36px), var(--max-width));
  margin-inline: auto;
}

.page-main {
  min-height: 68vh;
}

/* =========================================================
   HEADER / NAVIGATION
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(6, 9, 14, .94);
  backdrop-filter: blur(18px);
}

.navbar {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
}

.brand img {
  width: 170px;
  height: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.nav-link {
  padding: 13px 16px;
  color: #aeb6c4;
  border-radius: 12px;
  font-weight: 700;
  transition: .2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: #111720;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn,
.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 13px;
  border: 1px solid var(--line);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.icon-btn {
  width: 48px;
  background: #0d1219;
  color: #f5f7fa;
  font-size: 19px;
}

.btn {
  padding: 0 18px;
  background: #0d1219;
  color: #fff;
  font-weight: 800;
}

.btn:hover,
.icon-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.18);
}

.btn-outline {
  background: #10151c;
}

.btn-gold {
  color: #101010;
  border-color: transparent;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  box-shadow: 0 14px 34px rgba(247,195,75,.14);
}

.btn-purple {
  background: linear-gradient(135deg, #835cf7, #6842e7);
  border-color: transparent;
}

.mobile-menu-btn {
  display: none;
}

/* =========================================================
   HOME HERO
   ========================================================= */

.hero {
  padding: 58px 0 70px;
  text-align: center;
}

.hero-logo-panel {
  width: min(680px, 92vw);
  margin: 0 auto;
  padding: 20px 34px;
  border-radius: 22px;
  border: 1px solid rgba(247,195,75,.34);
  background: rgba(10,13,18,.78);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}

.hero-logo-panel img {
  width: 100%;
  max-height: 180px;
  object-fit: contain;
}

.eyebrow {
  margin-top: 22px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 720px;
  margin: 12px auto 0;
  color: #c2cad6;
  font-size: clamp(16px, 2vw, 20px);
}

.search-box {
  width: min(680px, 100%);
  margin: 28px auto 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #10151e;
}

.search-box input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
  padding: 0 8px;
}

.search-icon {
  margin-left: 8px;
  color: #778399;
  font-size: 21px;
}

.feature-row {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  color: #8e9aab;
  font-size: 13px;
}

.feature-row span::before {
  content: "✓";
  color: var(--cyan);
  margin-right: 8px;
}

/* =========================================================
   SECTIONS / TITLES
   ========================================================= */

.section {
  padding: 56px 0;
}

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

.section-kicker {
  margin: 0 0 8px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.section-title,
.page-title {
  margin: 0;
  letter-spacing: -.04em;
  line-height: 1.05;
}

.section-title { font-size: clamp(34px, 5vw, 58px); }
.page-title { font-size: clamp(38px, 6vw, 68px); }

.page-hero {
  padding: 58px 0 36px;
}

.page-description {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.link-arrow {
  color: #dce4ef;
  font-weight: 800;
}

.link-arrow:hover {
  color: var(--gold);
}

/* =========================================================
   VIDEO CARDS
   ========================================================= */

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.video-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #111720, #0d1219);
  box-shadow: 0 16px 40px rgba(0,0,0,.18);
  transition: transform .22s ease, border-color .22s ease;
}

.video-card:hover {
  transform: translateY(-4px);
  border-color: rgba(247,195,75,.3);
}

.thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0c1118;
}

.thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.video-card:hover .thumb-wrap img {
  transform: scale(1.035);
}

.badge {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 5px 8px;
  border-radius: 7px;
  background: rgba(3,8,14,.86);
  border: 1px solid rgba(54,229,233,.28);
  color: var(--cyan);
  font-size: 11px;
  font-weight: 900;
}

.duration {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 4px 7px;
  border-radius: 7px;
  background: rgba(3,6,10,.84);
  font-size: 12px;
  font-weight: 800;
}

.card-body {
  padding: 17px;
}

.card-category {
  margin-bottom: 8px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
}

.card-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
}

.card-description {
  min-height: 46px;
  margin: 9px 0 14px;
  color: #929dac;
  font-size: 14px;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #929dac;
  font-size: 13px;
}

.preview-link {
  margin-left: auto;
  color: #fff;
  font-weight: 800;
}

/* =========================================================
   ALL VIDEOS / FILTERS / PAGINATION
   ========================================================= */

.toolbar {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}

.field,
.select,
.textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 13px;
  outline: 0;
  color: #f3f6fb;
  background: #0e141c;
  padding: 0 15px;
}

.textarea {
  min-height: 125px;
  resize: vertical;
  padding-top: 14px;
}

.toolbar .field {
  flex: 1;
}

.toolbar .select {
  width: 210px;
}

.pagination {
  margin: 44px 0 10px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.page-btn {
  min-width: 50px;
  height: 50px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #131820;
  color: #fff;
  font-weight: 900;
}

.page-btn:hover,
.page-btn.active {
  background: var(--gold);
  color: #111;
  border-color: var(--gold);
}

.page-btn.next {
  color: var(--gold);
  background: transparent;
  border-color: rgba(247,195,75,.48);
}

/* =========================================================
   CATEGORY CARDS
   ========================================================= */

.category-filter {
  margin: 24px 0 8px;
  max-width: 320px;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.collection-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(247,195,75,.05), transparent 50%),
    #0e141c;
}

.collection-label {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .18em;
}

.collection-title {
  margin: 10px 0 8px;
  font-size: 29px;
}

.collection-copy {
  color: var(--muted);
}

.collection-meta {
  display: flex;
  gap: 14px;
  margin: 18px 0;
  color: #b8c1ce;
  font-size: 13px;
}

/* =========================================================
   PREMIUM / AUTH / CONTACT / TEXT PAGES
   ========================================================= */

.center-card {
  width: min(620px, 100%);
  margin: 20px auto 70px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #0e141c;
  box-shadow: var(--shadow);
}

.premium-card {
  position: relative;
  overflow: hidden;
}

.premium-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  background: radial-gradient(circle at 85% 0%, rgba(247,195,75,.16), transparent 22rem);
}

.price {
  margin: 18px 0 24px;
  color: var(--gold);
  font-size: 48px;
  font-weight: 950;
  letter-spacing: -.05em;
}

.check-list {
  padding: 0;
  margin: 0 0 28px;
  list-style: none;
}

.check-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: #d2d8e2;
}

.check-list li::before {
  content: "✓";
  color: var(--cyan);
  margin-right: 10px;
}

.form-grid {
  display: grid;
  gap: 17px;
}

.form-row label {
  display: block;
  margin-bottom: 7px;
  color: #ccd3de;
  font-weight: 800;
  font-size: 14px;
}

.notice {
  padding: 14px 16px;
  margin-top: 16px;
  border: 1px solid rgba(54,229,233,.19);
  border-radius: 12px;
  color: #9ccfd1;
  background: rgba(54,229,233,.04);
  font-size: 13px;
}

.text-page {
  width: min(820px, 100%);
  padding-bottom: 70px;
}

.text-page h2 {
  margin-top: 38px;
  font-size: 27px;
}

.text-page p,
.text-page li {
  color: #aab4c2;
}

/* =========================================================
   VIDEO DETAIL / COLLECTION
   ========================================================= */

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(290px, .7fr);
  gap: 28px;
  align-items: start;
  padding-bottom: 70px;
}

.video-stage {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #0d1219;
}

.video-stage img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.video-stage-message {
  padding: 24px;
}

.detail-side {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #0e141c;
}

.detail-meta {
  color: var(--cyan);
  font-weight: 800;
}

.detail-stats {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.collection-tabs {
  display: flex;
  gap: 10px;
  margin: 24px 0;
}

.tab-btn {
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: #c7d0dc;
  background: #0e141c;
  font-weight: 800;
}

.tab-btn.active {
  color: #111;
  border-color: var(--gold);
  background: var(--gold);
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  border-top: 1px solid var(--line);
  background: #080b10;
  padding: 46px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr .7fr .7fr 1fr;
  gap: 28px;
}

.footer-brand img {
  width: 165px;
}

.footer-copy {
  max-width: 360px;
  color: var(--muted);
}

.footer-title {
  margin: 0 0 12px;
  font-size: 14px;
}

.footer-links {
  display: grid;
  gap: 8px;
  color: #a7b0be;
}

.newsletter {
  display: flex;
  gap: 8px;
}

.newsletter .field {
  min-width: 0;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: #6f7a89;
  font-size: 13px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 980px) {
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }

  .mobile-menu-btn { display: inline-flex; }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-links.open {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 76px;
    display: grid;
    background: #0b1017;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 10px;
  }

  .navbar { min-height: 76px; }
  .brand img { width: 155px; }

  .detail-layout { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 24px), var(--max-width)); }
  .hero { padding-top: 34px; }
  .hero-logo-panel { padding: 12px 18px; }

  .video-grid,
  .collection-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .toolbar {
    flex-direction: column;
  }

  .toolbar .select {
    width: 100%;
  }

  .search-box {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .search-box .btn {
    width: 100%;
  }

  .center-card {
    padding: 23px;
  }
  
}
@media (max-width: 1100px) {
    .video-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 850px) {
    .video-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 650px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 420px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================
   COMPACT VIDEO CARDS - DESKTOP
   ================================ */

.video-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

/* Thumbnail එක පොඩි කරනවා */
.thumb-wrap {
    aspect-ratio: 16 / 9;
    height: auto;
}

/* Card එකේ content area */
.card-body {
    padding: 10px 12px;
}

/* Video title */
.card-title {
    font-size: 15px;
    line-height: 1.2;
}

/* Description එක desktop cards වල දිගට නොපෙන්වන්න */
.card-description {
    font-size: 12px;
    min-height: 0;
    margin: 6px 0;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Views / downloads */
.card-meta {
    font-size: 11px;
    gap: 8px;
}

/* Category */
.card-category {
    font-size: 10px;
    margin-bottom: 5px;
}

/* HD / 4K badge */
.badge {
    font-size: 9px;
    padding: 3px 6px;
}

/* Duration */
.duration {
    font-size: 9px;
    padding: 3px 5px;
}

/* Page spacing අඩු කරනවා */
.section {
    padding: 25px 0;
}

.page-hero {
    padding: 30px 0 20px;
}

/* =========================================================
   PHOENYX COMPACT LAYOUT
   All pages shorter + less scrolling
   ========================================================= */

/* Main content width */
.container {
    width: min(calc(100% - 28px), 1180px);
}

/* ---------------- HEADER ---------------- */

.navbar {
    min-height: 62px;
    gap: 16px;
}

.brand img {
    width: 125px;
}

.nav-link {
    padding: 9px 12px;
    font-size: 13px;
}

.btn,
.icon-btn {
    min-height: 36px;
    font-size: 12px;
}

.btn {
    padding: 0 13px;
}

.icon-btn {
    width: 36px;
}

/* ---------------- HOME HERO ---------------- */

.hero {
    padding: 28px 0 34px;
}

.hero-logo-panel {
    width: min(455px, 82vw);
    padding: 10px 20px;
    border-radius: 15px;
}

.hero-logo-panel img {
    max-height: 125px;
}

.eyebrow {
    margin-top: 12px;
    font-size: 9px;
}

.hero-copy {
    margin-top: 7px;
    font-size: 14px;
}

.search-box {
    width: min(455px, 100%);
    margin-top: 16px;
    padding: 5px;
}

.search-box input {
    font-size: 12px;
}

.feature-row {
    margin-top: 13px;
    gap: 16px;
    font-size: 10px;
}

/* ---------------- PAGE HEADERS ---------------- */

.page-hero {
    padding: 28px 0 18px;
}

.page-title {
    font-size: clamp(30px, 4vw, 48px);
}

.page-description {
    margin-top: 9px;
    font-size: 14px;
}

/* ---------------- SECTIONS ---------------- */

.section {
    padding: 24px 0;
}

.section-head {
    margin-bottom: 14px;
}

.section-kicker {
    margin-bottom: 4px;
    font-size: 9px;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
}

/* ---------------- VIDEO CARDS ---------------- */

.video-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.video-card {
    border-radius: 12px;
}

.card-body {
    padding: 9px 10px;
}

.card-title {
    font-size: 14px;
}

.card-category {
    margin-bottom: 4px;
    font-size: 9px;
}

.card-description {
    margin: 5px 0;
    min-height: 0;
    font-size: 11px;

    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    gap: 7px;
    font-size: 10px;
}

.badge,
.duration {
    font-size: 8px;
}

/* ---------------- FILTERS / SEARCH ---------------- */

.toolbar {
    margin-bottom: 16px;
}

.field,
.select {
    min-height: 40px;
    font-size: 12px;
}

.textarea {
    min-height: 90px;
}

/* ---------------- CATEGORIES ---------------- */

.collection-grid {
    gap: 14px;
}

.collection-card {
    padding: 17px;
}

.collection-title {
    margin: 6px 0;
    font-size: 22px;
}

.collection-copy {
    font-size: 13px;
}

.collection-meta {
    margin: 10px 0;
    font-size: 11px;
}

/* ---------------- LOGIN / PREMIUM / CONTACT ---------------- */

.center-card {
    margin: 10px auto 35px;
    padding: 22px;
    border-radius: 18px;
}

.form-grid {
    gap: 12px;
}

.price {
    margin: 10px 0 14px;
    font-size: 38px;
}

.check-list li {
    padding: 8px 0;
    font-size: 13px;
}

/* ---------------- VIDEO DETAIL ---------------- */

.detail-layout {
    gap: 18px;
    padding-bottom: 35px;
}

.detail-side {
    padding: 18px;
}

.video-stage-message {
    padding: 16px;
}

.collection-tabs {
    margin: 14px 0;
}

/* ---------------- PAGINATION ---------------- */

.pagination {
    margin: 24px 0 6px;
    gap: 7px;
}

.page-btn {
    min-width: 40px;
    height: 40px;
}

/* ---------------- FOOTER ---------------- */

.site-footer {
    padding: 28px 0 16px;
}

.footer-grid {
    gap: 18px;
}

.footer-copy {
    font-size: 12px;
}

.footer-bottom {
    margin-top: 18px;
    padding-top: 12px;
}

/* ---------------- RESPONSIVE ---------------- */

@media (max-width: 1050px) {
    .video-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 820px) {
    .video-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 620px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-logo-panel {
        width: 92%;
    }
}

@media (max-width: 420px) {
    .video-grid {
        grid-template-columns: 1fr;
    }
}

.footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
}

.site-footer {
    padding: 22px 0 12px;
}

.footer-bottom {
    margin-top: 16px;
    padding-top: 10px;
}
/* ==========================================
   PROFESSIONAL FOOTER STYLE
   ========================================== */

.site-footer {
    margin-top: 40px;
    padding: 30px 0 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
    background: #070b12;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.footer-brand img {
    width: 150px;
    margin-bottom: 14px;
}

.footer-copy {
    max-width: 300px;
    margin: 0;
    color: #9aa4b2;
    font-size: 13px;
    line-height: 1.7;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-title {
    margin: 0 0 14px;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #b7c0cc;
    font-size: 14px;
    text-decoration: none;
    transition: 0.2s ease;
}

.footer-links a:hover {
    color: #f7c34b;
    transform: translateX(2px);
}

.footer-bottom {
    margin-top: 26px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.07);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    color: #7f8997;
    font-size: 12px;
}

.footer-bottom-right {
    color: #7f8997;
}

/* Tablet */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

/* Mobile */
@media (max-width: 520px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-brand img {
        width: 130px;
    }
}
/* ACCOUNT + PAYMENT PAGES
   Add this block to the END of assets/css/style.css
*/

.account-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.account-label {
    color: var(--muted);
    font-size: 13px;
}

.account-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.payment-status-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 18px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #09110f;
    background: var(--success);
    font-size: 34px;
    font-weight: 900;
}

.payment-status-cancel {
    color: #18090d;
    background: var(--danger);
}

@media (max-width: 520px) {
    .account-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .account-actions .btn {
        width: 100%;
    }
}
/* ==========================================
   MOBILE - SMALL VIDEO CARDS
   ========================================== */

@media (max-width: 600px) {

    .video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .video-card {
        border-radius: 10px;
    }

    .thumb-wrap {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

    .card-body {
        padding: 8px;
    }

    .card-category {
        font-size: 8px;
        margin-bottom: 3px;
    }

    .card-title {
        font-size: 12px;
        line-height: 1.2;

        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Mobile එකේ description hide */
    .card-description {
        display: none;
    }

    .card-meta {
        margin-top: 6px;
        font-size: 8px;
        gap: 5px;
    }

    .preview-link {
        display: none;
    }

    .badge {
        top: 6px;
        left: 6px;
        font-size: 7px;
        padding: 2px 4px;
    }

    .duration {
        right: 5px;
        bottom: 5px;
        font-size: 7px;
        padding: 2px 4px;
    }

    .section {
        padding: 18px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .section-head {
        margin-bottom: 10px;
    }
}

/* ==========================================
   MOBILE HEADER - KEEP USER BUTTONS VISIBLE
   ========================================== */

@media (max-width: 980px) {

    .navbar {
        min-height: auto;
        flex-wrap: wrap;
        gap: 8px;
        padding: 8px 0 10px;
    }

    /* Logo */
    .brand img {
        width: 120px;
    }

    /* Hamburger */
    .mobile-menu-btn {
        display: inline-flex;
        margin-left: auto;
        width: 36px;
        min-height: 36px;
    }

    /* Main navigation hamburger එක ඇතුළේ */
    .nav-links {
        display: none;
        order: 3;
        width: 100%;
    }

    .nav-links.open {
        display: grid;
        position: static;
        width: 100%;
        margin-top: 4px;
        padding: 8px;

        background: #0b1017;
        border: 1px solid var(--line);
        border-radius: 12px;
    }

    /* Login / Sign up / Premium */
    .nav-actions {
        display: flex;
        order: 2;
        width: 100%;

        justify-content: flex-end;
        align-items: center;

        gap: 6px;
    }

    .nav-actions .btn {
        min-height: 34px;
        padding: 0 10px;
        font-size: 10px;
        white-space: nowrap;
    }

    .nav-actions .icon-btn {
        width: 34px;
        min-height: 34px;
        font-size: 14px;
    }
}


/* Very small phones */
@media (max-width: 430px) {

    .nav-actions {
        justify-content: center;
        gap: 5px;
    }

    .nav-actions .btn {
        padding: 0 8px;
        font-size: 9px;
    }

    .brand img {
        width: 110px;
    }
}

/* ==========================================
   COMPACT CATEGORIES PAGE
   ========================================== */

.categories-header {
    padding: 28px 0 14px;
}

.categories-title {
    margin: 0;
    font-size: 34px;
    line-height: 1.1;
}

.category-filter {
    width: 220px;
    margin-top: 16px;
}

.categories-section {
    padding: 18px 0 35px;
}

.categories-heading {
    margin-bottom: 16px;
}

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


/* ==========================================
   4 CARDS PER ROW
   ========================================== */

.collection-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 14px;
}


/* ==========================================
   SMALL COLLECTION CARD
   ========================================== */

.collection-card {
    min-height: 165px;

    display: flex;
    flex-direction: column;

    padding: 16px;

    border: 1px solid
        rgba(255,255,255,0.09);

    border-radius: 14px;

    background: #0e141c;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease;
}


.collection-card:hover {
    transform: translateY(-3px);

    border-color:
        rgba(247,195,75,0.35);
}


.collection-label {
    color: var(--gold);

    font-size: 8px;

    font-weight: 900;

    letter-spacing: 0.16em;
}


.collection-title {
    margin: 8px 0 10px;

    font-size: 20px;

    line-height: 1.15;
}


.collection-counts {
    display: flex;

    gap: 12px;

    color: #9ba5b5;

    font-size: 10px;
}


.collection-open-btn {
    margin-top: auto;

    align-self: flex-start;

    padding: 7px 12px;

    border-radius: 8px;

    background: var(--gold);

    color: #111;

    font-size: 11px;

    font-weight: 800;

    transition: 0.2s ease;
}


.collection-open-btn:hover {
    transform: translateY(-1px);

    background: #ffd269;
}


/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 1000px) {

    .collection-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

}


@media (max-width: 750px) {

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

}


@media (max-width: 450px) {

    .collection-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 9px;
    }

    .collection-card {
        min-height: 140px;

        padding: 11px;
    }

    .collection-title {
        font-size: 15px;
    }

    .collection-counts {
        flex-direction: column;

        gap: 2px;

        font-size: 9px;
    }

    .collection-open-btn {
        padding: 6px 9px;

        font-size: 9px;
    }

}
/* =========================================================
   PHOENYX FINAL - CATEGORIES + CITY PAGE
   ========================================================= */


/* ---------- PAGE SPACING ---------- */

.categories-header,
.categories-section {
  padding-left: 0;
  padding-right: 0;
}

.categories-header .container,
.categories-section .container,
.collection-page .container {
  max-width: 1180px;
  margin: 0 auto;
}


/* ---------- CATEGORIES HEADER ---------- */

.categories-header {
  padding-top: 42px;
  padding-bottom: 24px;
}

.categories-title {
  margin: 6px 0 18px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
}

.category-filter {
  max-width: 280px;
}

.category-filter .select,
#countryFilter {
  width: 100%;
  min-height: 46px;

  padding: 0 15px;

  background: #0f151d;
  color: #ffffff;

  border: 1px solid #263240;
  border-radius: 12px;

  outline: none;

  font-size: 14px;
}

.category-filter .select:focus,
#countryFilter:focus {
  border-color: #ffbd3b;
}


/* ---------- DESTINATIONS ---------- */

.categories-section {
  padding-top: 10px;
  padding-bottom: 60px;
}

.categories-heading {
  margin-bottom: 22px;
}

.categories-heading h2 {
  margin-top: 6px;
  font-size: 28px;
}


/* ---------- CITY GRID ---------- */

.collection-grid {
  display: grid;

  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  gap: 18px;
}


/* ---------- CITY CARD ---------- */

.collection-card {
  position: relative;

  min-height: 150px;

  padding: 20px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  background:
    linear-gradient(
      145deg,
      #111923,
      #0b1017
    );

  border: 1px solid #25313d;
  border-radius: 16px;

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.collection-card:hover {
  transform: translateY(-4px);

  border-color: rgba(255, 189, 59, 0.7);

  box-shadow:
    0 16px 35px rgba(0, 0, 0, 0.25);
}

.collection-title {
  margin: 0 0 20px;

  color: #ffffff;

  font-size: 22px;
  line-height: 1.2;
}

.collection-open-btn {
  width: fit-content;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 10px 16px;

  background: #ffbd3b;
  color: #090d12;

  border-radius: 9px;

  font-weight: 800;
  font-size: 13px;

  text-decoration: none;

  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.collection-open-btn:hover {
  background: #ffc957;
  transform: translateX(2px);
}


/* =========================================================
   CITY / COLLECTION PAGE
   ========================================================= */

#collectionTitle {
  margin: 8px 0 6px;

  font-size: clamp(38px, 5vw, 58px);
  line-height: 1;

  color: #ffffff;
}

#collectionCopy {
  margin: 0 0 22px;

  color: #aab4c0;

  font-size: 15px;
}


/* ---------- TABS ---------- */

.tab-btn {
  min-height: 48px;

  padding: 0 18px;

  background: #101720;
  color: #dce3ea;

  border: 1px solid #273442;
  border-radius: 12px;

  font-weight: 800;
  font-size: 14px;

  cursor: pointer;

  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.tab-btn:hover {
  border-color: #ffbd3b;
}

.tab-btn.active {
  background: #ffbd3b;
  color: #090d12;

  border-color: #ffbd3b;
}


/* ---------- CONTENT AREA ---------- */

#collectionContent {
  margin-top: 18px;
  padding-bottom: 55px;
}


/* ---------- PHOTO GRID ---------- */

.collection-photo-grid {
  display: grid !important;

  grid-template-columns:
    repeat(4, minmax(0, 1fr)) !important;

  gap: 16px !important;
}

.collection-photo-card {
  overflow: hidden;

  background: #101720 !important;

  border: 1px solid #263340 !important;
  border-radius: 14px !important;

  cursor: zoom-in;

  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}

.collection-photo-card:hover {
  transform: translateY(-3px);

  border-color: #ffbd3b !important;
}

.collection-photo-card img {
  width: 100% !important;

  aspect-ratio: 4 / 3 !important;

  object-fit: cover !important;
  display: block !important;
}


/* ---------- NOTICE ---------- */

.notice {
  max-width: 520px;

  padding: 16px 18px;

  background: #0d1821;

  border: 1px solid #174558;
  border-radius: 12px;

  color: #9ee9ff;
}


/* ---------- DOWNLOAD CARD ---------- */

.center-card {
  max-width: 620px !important;

  padding: 30px !important;

  background:
    linear-gradient(
      145deg,
      #111923,
      #0b1017
    ) !important;

  border: 1px solid #263340 !important;
  border-radius: 18px !important;
}

.center-card h2 {
  margin-top: 0;

  color: #ffffff;
}

.page-description {
  color: #aab4c0;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

  .collection-grid {
    grid-template-columns:
      repeat(3, minmax(0, 1fr));
  }

  .collection-photo-grid {
    grid-template-columns:
      repeat(3, minmax(0, 1fr)) !important;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 750px) {

  .categories-header {
    padding-top: 26px;
  }

  .collection-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 12px;
  }

  .collection-card {
    min-height: 125px;

    padding: 15px;
  }

  .collection-title {
    font-size: 18px;
  }

  .collection-photo-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr)) !important;

    gap: 10px !important;
  }

  #collectionTitle {
    font-size: 38px;
  }

  .tab-btn {
    min-height: 44px;

    padding: 0 14px;

    font-size: 13px;
  }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 450px) {

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

  .collection-card {
    padding: 13px;
  }

  .collection-open-btn {
    padding: 8px 12px;

    font-size: 12px;
  }

  .collection-photo-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr)) !important;
  }

}
/* =========================================================
   COLLECTION VIDEO CARDS
   ========================================================= */

.collection-video-grid {
  display: grid;
  grid-template-columns:
    repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.collection-video-card {
  overflow: hidden;

  background: #101720;
  border: 1px solid #273443;
  border-radius: 16px;

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.collection-video-card:hover {
  transform: translateY(-4px);
  border-color: #ffbd3b;

  box-shadow:
    0 16px 35px rgba(0, 0, 0, 0.28);
}

.collection-video-thumb {
  position: relative;

  display: block;

  overflow: hidden;

  background: #080d12;
}

.collection-video-thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;

  display: block;

  object-fit: cover;

  transition: transform 0.25s ease;
}

.collection-video-card:hover
.collection-video-thumb img {
  transform: scale(1.03);
}

.collection-play-icon {
  position: absolute;

  left: 50%;
  top: 50%;

  transform:
    translate(-50%, -50%);

  width: 48px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding-left: 3px;

  background: rgba(0, 0, 0, 0.68);
  color: #ffffff;

  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;

  font-size: 18px;
}

.collection-video-info {
  padding: 16px;

  text-align: center;
}

.collection-video-info h3 {
  margin: 0 0 8px;

  color: #ffffff;

  font-size: 18px;
  line-height: 1.3;
}

.collection-video-meta {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 8px;

  margin-bottom: 15px;

  color: #9faab6;

  font-size: 13px;
}

.collection-watch-btn {
  display: inline-flex;

  justify-content: center;
  align-items: center;

  min-width: 125px;
}

@media (max-width: 600px) {

  .collection-video-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

}

/* =======================================================
   COLLECTION DETAIL — MODERN MEDIA CARD LAYOUT
   Scoped to collection-video-* to avoid changing Home/All
   ======================================================= */
#collectionContent .collection-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
#collectionContent .collection-video-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: none;
}
#collectionContent .collection-video-card:hover {
  transform: none;
  border-color: transparent;
  box-shadow: none;
}
#collectionContent .collection-video-thumb {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 14px;
  background: #090e16;
}
#collectionContent .collection-video-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
#collectionContent .collection-video-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: stretch;
  justify-content: flex-start;
  text-align: left;
  padding: 12px 4px 0;
  min-width: 0;
}
#collectionContent .collection-video-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 9px;
}
#collectionContent .collection-video-country {
  color: #c49aff;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
#collectionContent .collection-video-preview {
  padding: 5px 9px;
  color: #a4e8f0;
  background: #102733;
  border-radius: 7px;
  font-size: 10px;
  white-space: nowrap;
}
#collectionContent .collection-video-title {
  margin: 0 0 11px;
  color: var(--text, #f7f8fb);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  min-height: 2.7em;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
#collectionContent .collection-video-meta {
  display: flex;
  justify-content: flex-start;
  gap: 13px;
  margin: auto 0 11px;
  color: #9cacc4;
  font-size: 12px;
}
#collectionContent .collection-watch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #344155;
  border-radius: 10px;
  background: #202b3b;
  box-shadow: none;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}
#collectionContent .collection-watch-btn:hover,
#collectionContent .collection-watch-btn:focus-visible {
  background: #2b3850;
  border-color: #6682ab;
}
@media (max-width: 920px) {
  #collectionContent .collection-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}
@media (max-width: 600px) {
  #collectionContent .collection-video-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
  #collectionContent .collection-video-info {
    padding: 11px 2px 0;
  }
  #collectionContent .collection-video-title {
    min-height: 0;
    font-size: 16px;
  }
}
/* Both theme modes remain controlled by existing site theme CSS. */
