

/* ===============================
   HOME PAGE THEME
=============================== */
.page-home {
  --bg: #ffffff;
  --panel: #111114;
  --panel-2: #17171b;
  --line: #e5e7eb;
  --text: #000000;
  --muted: #6b7280;
  --chip: #f3f4f6;
  --chip-active: #111114;
  --chip-active-text: #ffffff;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
  --radius: 22px;

  color: var(--text);
  background: radial-gradient(circle at top, #f3f4f6 0%, var(--bg) 42%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-y: auto;
  min-height: 100vh;
  position: relative;
}

.page-home {
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.page-home .app {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}




.page-home *,
.page-home *::before,
.page-home *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.page-home a {
  color: inherit;
  text-decoration: none;
}

.page-home button,
.page-home input {
  font: inherit;
}


/* ===============================
   TOP BAR
=============================== */
.page-home .top-shell {
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: linear-gradient(to bottom, #ffffff, #ffffff);
  border-bottom: 1px solid transparent;
}

.page-home .topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px 10px;
}

.page-home .brand {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #111827, #374151);
  border: 1px solid rgba(17,24,39,.08);
  box-shadow: var(--shadow);
  flex: 0 0 auto;
}

.page-home .brand img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.page-home .search-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 14px;
  border-radius: 16px;
  background: #f3f4f6;
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}

.page-home .search-wrap svg {
  width: 18px;
  height: 18px;
  stroke: var(--muted);
  fill: none;
  stroke-width: 2;
  flex: 0 0 auto;
}

.page-home .search-wrap input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  padding: 10px 5px;
  max-width: 600px;
  color: var(--text);
  font-size: 15px;
}

.page-home .search-wrap input::placeholder {
  color: #9ca3af;
}

.page-home .top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.page-home .icon-btn {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 14px;
  background: #f3f4f6;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: #000;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.page-home .icon-btn svg {
  width: 20px;
  height: 20px;
  stroke: #000;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ===============================
   HERO
=============================== */
.page-home .hero-row {
  padding: 12px 14px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.page-home .hero-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.page-home .hero-sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: -1px !important;
}

.page-home .sort-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: #f3f4f6;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 13px;
  white-space: nowrap;
}

.page-home .sort-pill svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* ===============================
   CHIPS
=============================== */
.page-home .chips {
  display: flex;
  gap: 10px;
  padding: 6px 14px 14px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.page-home .chips::-webkit-scrollbar {
  display: none;
}

.page-home .chip {
  flex: 0 0 auto;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--chip);
  border: 1px solid var(--line);
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: 0.2s ease;
  user-select: none;
  font-size: 12px !important;
}

.page-home .chip svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.page-home .chip.active {
  background: var(--chip-active);
  color: var(--chip-active-text);
  border-color: transparent;
}

/* ===============================
   CONTENT + GRID
=============================== */
.page-home .content {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0 0px 8px !important;
}


.page-home .grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: #ffffff;
}

@media (min-width: 768px) {
  .page-home .grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .page-home .grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.page-home .card {
  position: relative;
  aspect-ratio: 1 / 1.28;
  overflow: hidden;
  background: #ffffff;
  isolation: isolate;
}

.page-home .card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform 0.35s ease, filter 0.35s ease;
  filter: saturate(1.02) contrast(1.02);
}

.page-home .card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.788), rgba(0, 0, 0, 0) 36%),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04), transparent 18%);
  z-index: 1;
  pointer-events: none;
}

.page-home .card:hover img {
  transform: scale(1.05);
}

/* ===============================
   CARD BADGES
=============================== */
.page-home .badge-row {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 2;
  pointer-events: none;
}

.page-home .media-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(10, 10, 11, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.page-home .media-badge svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-home .save-btn {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(10, 10, 11, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.page-home .save-btn svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ===============================
   CARD FOOTER
=============================== */
.page-home .card-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  padding: 10px;
}

.page-home .avatar-badge {
  width: 20px !important;
  height: 20px !important;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  flex: 0 0 auto;
  background: #222;
}


.page-home .card-topbar {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  pointer-events: none;
}

.page-home .price-chip,
.page-home .type-chip {
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2px;
  white-space: nowrap;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.page-home .price-chip {
   background: rgba(0, 94, 34, 0.603);
  color: #000000;
  border: 1px solid rgba(0, 59, 22, 0.603);
 
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.page-home .price-chip.price-free {
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.page-home .type-chip {
  background: rgba(20, 20, 24, 0.72);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.page-home .type-chip.type-conference {
  background: rgba(59, 130, 246, 0.92);
  border-color: rgba(147, 197, 253, 0.35);
}

.page-home .type-chip.type-workshop {
  background: rgba(16, 185, 129, 0.92);
  border-color: rgba(110, 231, 183, 0.35);
}

.page-home .type-chip.type-concert {
  background: rgba(236, 72, 153, 0.92);
  border-color: rgba(249, 168, 212, 0.35);
}

.page-home .type-chip.type-default {
  background: rgba(107, 114, 128, 0.92);
  border-color: rgba(255, 255, 255, 0.12);
}

.page-home .card-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between; /* 🔥 THIS pushes content apart */
  gap: 10px;
  padding: 10px;
}

.page-home .organizer-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #fff;
  align-items: flex-end;   /* 🔥 align text to right */
  text-align: right;       /* 🔥 clean right alignment */
  max-width: 70%;
}

.page-home .organizer-line {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: flex-end; /* align icon + text to right */
}

.page-home .organizer-text {
  font-size: 11px;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}

.page-home .meta-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.85);
}

.page-home .meta-icon svg {
  width: 14px;
  height: 14px;
}

/* ===============================
   EVENT MODAL — CLEAN FULL CSS
   Mobile-first, no inner scroll on mobile,
   clean desktop split layout
=============================== */

/* ===============================
   EVENT MODAL OPEN STATE
=============================== */

body.event-modal-open {
  overflow: hidden !important;
  position: fixed !important;
  left: 0;
  right: 0;
  width: 100%;
  touch-action: none;
}

body.event-modal-open .bottom-nav {
  transform: translateX(-50%) translateY(140%);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

body.event-modal-open #footer-root {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}

/* Keep modal above everything */
.page-home .event-modal {
  z-index: var(--z-modal) !important;
}

.page-home .event-modal-sheet {
  z-index: var(--z-modal-top) !important;
}



.page-home .event-modal {
  position: fixed;
  inset: 0;
  display: none;
  isolation: isolate;
  overflow: hidden;
  z-index: var(--z-modal) !important;
}

.page-home .event-modal.active {
  display: block;
}

.page-home .event-modal-backdrop {
  position: absolute;
  inset: 0;
  background: #f3f5f9;
  backdrop-filter: blur(14px);
}

.page-home .event-modal-sheet {
  position: absolute;
  inset: 0;
  min-height: 0;
  background: #f3f5f9;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.18s ease;
  will-change: transform, opacity;
}

.page-home .event-modal.active .event-modal-sheet {
  transform: translateY(0);
  opacity: 1;
}

.page-home .modal-grabber {
  width: 54px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 8;
}

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

.page-home .event-hero {
  position: relative;
  height: clamp(280px, 48vh, 420px);
  background: #101522;
  overflow: hidden;
  flex: 0 0 auto;
}

.page-home .event-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
}

.page-home .event-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(9, 12, 20, 0.78) 0%,
    rgba(9, 12, 20, 0.26) 48%,
    rgba(9, 12, 20, 0.04) 100%
  );
  z-index: 1;
}

.page-home .hero-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 180px;
  background: linear-gradient(to top, rgba(59, 59, 59, 1) 0%, rgba(243, 245, 249, 0) 100%);
  z-index: 2;
}

.page-home .hero-topbar {
  position: absolute;
  top: 18px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  z-index: 4;
}

.page-home .hero-icon-btn {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}

.page-home .hero-icon-btn svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ===============================
   ORGANIZER HEADER
=============================== */

.page-home .follow-btn {
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: none;
  background: #0f172a;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.page-home .follow-btn:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.page-home .follow-btn.is-following {
  background: #e5e7eb;
  color: #111;
}

.page-home .event-card {
  position: relative;
  z-index: 5;
  margin: -58px 0 0;
  background: #fff;
  border-top: 1px solid rgba(13, 18, 28, 0.08);
  border-left: none;
  border-right: none;
  border-bottom: none;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.12);
  padding: 5px;
  overflow: hidden !important;
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
}

.page-home .event-card-scroll {
  flex: 1;
  min-height: 0;
   overflow: hidden;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

.page-home .event-card-inner {
  padding: 16px 16px 20px;
}

.page-home .organizer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.page-home .organizer-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.page-home .organizer-avatar {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  object-fit: cover;
  background: #e8ecf3;
  border: 2px solid #fff;
  box-shadow: 0 8px 18px rgba(14, 20, 34, 0.1);
}

.page-home .organizer-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.page-home .organizer-name {
  font-size: 14px;
  font-weight: 850;
  color: #101522;
  line-height: 1.1;
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-home .organizer-role {
  font-size: 11px;
  color: #7a8191;
  font-weight: 600;
  margin-top: 3px;
}

.page-home .organizer-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.page-home .mini-action {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #f1f4f8;
  color: #1a2130;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.page-home .mini-action svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ===============================
   TITLE / META
=============================== */

.page-home .title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.page-home .title-copy {
  min-width: 0;
  flex: 1;
}

.page-home .modal-title {
  margin: 0;
  font-size: 20px;
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #012900;
  max-width: 29ch !important;
}

.page-home .location-row,
.page-home .rating-row {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 8px;
  font-size: 12px;
  color: #556070;
}

.page-home .rating-row {
  margin-top: 7px;
  font-weight: 700;
}

.page-home .location-row svg,
.page-home .rating-row svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-home .rating-muted {
  font-weight: 600;
  color: #8a91a1;
}

.page-home .fav-btn {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  padding: 0;
  display: inline-grid;
  place-items: center;
  color: #9ca3af;
  transition: transform 0.18s ease, color 0.18s ease;
  box-shadow: 0 12px 24px rgba(16, 162, 106, 0.26);
  cursor: pointer;
  flex-shrink: 0;
}

.page-home .fav-btn svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  transition: fill 0.18s ease, stroke 0.18s ease, transform 0.18s ease;
}

.page-home .fav-btn.is-active {
  color: #ef4444;
}

.page-home .fav-btn.is-active svg {
  fill: currentColor;
  stroke: currentColor;
}

.page-home .fav-btn:active {
  transform: scale(0.95);
}

.page-home .fav-btn:disabled {
  opacity: 0.6;
  pointer-events: none;
}

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

.page-home .detail-section {
  margin-top: 16px;
}

.page-home .section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.page-home .section-head.compact {
  margin-bottom: 8px;
}

.page-home .section-head h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 850;
  color: #111827;
  letter-spacing: -0.02em;
}

.page-home .section-head span {
  font-size: 12px;
  color: #7b8192;
  font-weight: 700;
}

.page-home .feature-box {
  background: #fff;
  border-radius: 20px;
  padding: 12px;
  border: 1px solid rgba(13, 18, 28, 0.08);
  box-shadow: 0 10px 30px rgba(14, 20, 34, 0.04);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  gap: 8px;
}

.page-home .feature-chip {

  align-items: center;
  gap: 8px;
  padding: 10px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid rgba(13, 18, 28, 0.05);
  min-width: 0;
}

.page-home .feature-chips {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

@media (max-width: 1100px) {
  .page-home .feature-chips {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 768px) {
  .page-home .feature-chips {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 480px) {
  .page-home .feature-chips {
    grid-template-columns: 2fr;
  }
}

.page-home .feature-ico {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: #eef3ff;
  color: #1849e6;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.page-home .feature-ico svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-home .feature-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.page-home .feature-text strong {
  font-size: 12px;
  font-weight: 850;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-home .feature-text span {
  margin-top: 3px;
  font-size: 10px;
  color: #7a8191;
  font-weight: 600;
}

.page-home .desc-section {
  margin-top: 16px;
}

.page-home .event-description {
  margin: 0;
  color: #475062;
  font-size: 14px;
  line-height: 1.75;
}

/* ===============================
   BOTTOM ROW
=============================== */

.page-home .bottom-row {
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px calc(14px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-top: 1px solid rgba(13, 18, 28, 0.06);
  z-index: 9999;
}

.page-home .price-block {
  flex: 1;
  min-width: 0;
}

.page-home .price-label {
  font-size: 11px;
  color: #8a91a1;
  font-weight: 700;
}

.page-home .price-value {
  font-size: 18px;
  color: #0f1728;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.page-home .book-btn {
  border: 0;
  border-radius: 14px;
  padding: 10px 12px;
  background: linear-gradient(135deg, #004211 0%, #0b8d5a 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 12px 26px rgba(16, 162, 106, 0.25);
  cursor: pointer;
  min-width: 140px;
  white-space: nowrap;
}

/* ===============================
   MORE FROM ORGANIZER
=============================== */

.page-home .more-section {
  margin-top: 22px;
}

.page-home .more-section .section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.page-home .more-section .section-head h3 {
  margin: 0;
}

.page-home .more-section .section-head span {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  white-space: nowrap;
}

.page-home .more-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
}

.page-home .more-loading,
.page-home .more-empty {
  padding: 8px 0 4px;
  font-size: 13px;
  color: #64748b;
  text-align: left;
}

.page-home .more-row {
  width: 100%;
  display: block;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  padding: 0;
  margin: 0;
  color: inherit;
  -webkit-appearance: none;
  appearance: none;
}

.page-home .more-row-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  object-fit: cover;
  display: block;
  background: #111;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.1);
  transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease;
}

.page-home .more-row:hover .more-row-thumb {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.14);
  opacity: 0.98;
}

.page-home .more-row-meta,
.page-home .more-row-arrow,
.page-home .more-row-badge {
  display: none;
}
/* ===============================
   TABS
=============================== */

.page-home .event-tabs {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 16px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  overflow-x: auto;
  scrollbar-width: none;
}

.page-home .event-tabs::-webkit-scrollbar {
  display: none;
}

.page-home .tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0 12px;
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.22s ease, transform 0.22s ease;
}

.page-home .tab:hover {
  color: #0f172a;
  transform: translateY(-1px);
}

.page-home .tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  border-radius: 999px;
  background: #111827;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.page-home .tab.active {
  color: #111827;
}

.page-home .tab.active::after {
  transform: scaleX(1);
}

.page-home .tab-icon {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.page-home .tab-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-home .tab-label {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateX(-8px);
  transition:
    max-width 0.34s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.18s ease,
    transform 0.34s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.page-home .tab.active .tab-label {
  max-width: 120px;
  opacity: 1;
  transform: translateX(0);
}

.page-home .tab-content {
  position: relative;
}

.page-home .tab-panel {
  display: none;
  animation: tabFadeUp 0.24s ease;
}

.page-home .tab-panel.active {
  display: block;
}

@keyframes tabFadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===============================
   EVENT META GRID
=============================== */

.page-home .event-meta-grid {
  display: block;
  margin-bottom: 14px;
}

.page-home .event-about-card {
  padding: 14px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 28px rgba(14, 20, 34, 0.04);
}

.page-home .about-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.page-home .about-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.page-home .about-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: #334155;
}

.page-home .about-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.page-home .about-chip {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.page-home .chip-type {
  background: rgba(59, 130, 246, 0.1);
  color: #1d4ed8;
}

.page-home .chip-price {
  background: rgba(16, 185, 129, 0.1);
  color: #047857;
}

.page-home .chip-ticket {
  background: rgba(139, 92, 246, 0.1);
  color: #6d28d9;
}

.page-home .meta-item {
  padding: 12px 13px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  background: #f8fafc;
}

.page-home .meta-item span {
  display: block;
  font-size: 10px;
  color: #64748b;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.page-home .meta-item strong {
  display: block;
  font-size: 13px;
  color: #0f172a;
  font-weight: 800;
  line-height: 1.35;
} 

.page-home .gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.page-home .gallery-item {
  border: 0;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #e2e8f0;
}

.page-home .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.page-home .lineup-list {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.page-home .lineup-list::-webkit-scrollbar {
  height: 6px;
}

.page-home .lineup-list::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.14);
  border-radius: 999px;
}

.page-home .lineup-card {
  flex: 0 0 132px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 14px 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-home .lineup-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.page-home .lineup-avatar-wrap {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  padding: 3px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(15, 23, 42, 0.06));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.75);
}

.page-home .lineup-avatar {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  object-fit: cover;
  display: block;
  background: #e2e8f0;
}

.page-home .lineup-avatar-fallback {
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  background: linear-gradient(135deg, #e2e8f0, #f8fafc);
}

.page-home .lineup-meta {
  text-align: center;
  min-width: 0;
}

.page-home .lineup-name {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100px;
}

.page-home .lineup-role {
  margin-top: 4px;
  font-size: 11px;
  color: #64748b;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100px;
}
/* ===============================
   GOING
=============================== */

.page-home .going-section {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.page-home .going-avatars {
  display: flex;
  align-items: center;
}

.page-home .going-avatars img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  margin-left: -8px;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12);
}

.page-home .going-avatars img:first-child {
  margin-left: 0;
}

.page-home .going-text {
  font-size: 12px;
  font-weight: 800;
  color: #555;
}

/* ===============================
   TICKETS
=============================== */

.page-home .tickets-list {
  display: grid;
  gap: 12px;
}

.page-home .tickets-empty {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
}

.page-home .tickets-empty__title {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
}

.page-home .tickets-empty__text {
  margin-top: 4px;
  font-size: 12px;
  color: #64748b;
}

.page-home .ticket-card {
  position: relative;
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) auto;
  align-items: stretch;
  min-height: 104px;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.page-home .ticket-card::before,
.page-home .ticket-card::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e2e2e2;
  transform: translateY(-50%);
  z-index: 1;
}

.page-home .ticket-card::before {
  left: -9px;
}

.page-home .ticket-card::after {
  right: -9px;
}

.page-home .ticket-card--sold {
  opacity: 0.72;
}

.page-home .ticket-card__media {
  position: relative;
  overflow: hidden;
  background: #e2e8f0;
}

.page-home .ticket-card__media::after {
  content: "";
  position: absolute;
  right: 0;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: repeating-linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.22) 0 4px,
    transparent 4px 8px
  );
  opacity: 0.5;
}

.page-home .ticket-card__img,
.page-home .ticket-card__fallback {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.page-home .ticket-card__fallback {
  display: grid;
  place-items: center;
  font-size: 26px;
  font-weight: 900;
  color: #0f172a;
  background: linear-gradient(135deg, #e2e8f0, #f8fafc);
}

.page-home .ticket-card__body {
  min-width: 0;
  padding: 14px 14px 14px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.page-home .ticket-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.page-home .ticket-title {
  font-size: 14px;
  font-weight: 900;
  line-height: 1.1;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.page-home .ticket-desc {
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.35;
  color: #64748b;
  max-width: 32ch;
}

.page-home .ticket-price {
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 900;
  color: #0f172a;
  white-space: nowrap;
}

.page-home .ticket-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-home .ticket-pill {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  color: #0f172a;
  background: #eef2f7;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.page-home .ticket-pill--soft {
  background: #f8fafc;
  color: #475569;
}

.page-home .ticket-pill--success {
  background: rgba(16, 185, 129, 0.10);
  color: #047857;
}

.page-home .ticket-pill--danger {
  background: rgba(239, 68, 68, 0.10);
  color: #b91c1c;
}

.page-home .ticket-card__action {
  padding: 14px 14px 14px 0;
  display: flex;
  align-items: center;
}

.page-home .ticket-add {
  min-width: 74px;
  height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  background: #0f172a;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.14);
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.page-home .ticket-add:hover {
  transform: translateY(-1px);
}

.page-home .ticket-add:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
/* ===============================
   DATE ROW
=============================== */

.page-home .date-row {
  color: #111;
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.88;
  font-size: 14px;
  line-height: 1.35;
}

.page-home .date-row svg {
  color: #111;
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex: 0 0 auto;
}

/* ===============================
   RELATED EVENTS
=============================== */

.page-home .related-section {
  margin-top: 18px;
}

.page-home .related-grid {
  display: grid;
  gap: 12px;
}

.page-home .related-card {
  width: 100%;
  display: grid;
  grid-template-columns: 98px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  cursor: pointer;
  text-align: left;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.page-home .related-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 1);
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.page-home .related-thumb {
  width: 92px;
  height: 78px;
  border-radius: 14px;
  object-fit: cover;
  display: block;
  background: #111;
  flex: 0 0 auto;
}

.page-home .related-meta {
  min-width: 0;
}

.page-home .related-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 19px;
  margin-bottom: 8px;
  border-radius: 999px;
  font-size: 8px !important;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: rgba(15, 23, 42, 0.06);
  color: rgba(15, 23, 42, 0.84);
}

.page-home .related-title {
  margin: 0;
  font-size: 14px !important;
  line-height: 1.3;
  font-weight: 600;
  color: #0f172a;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.page-home .related-subtitle {
  margin-top: 6px;
  font-size: 12px;
  color: #64748b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-home .related-arrow {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.05);
  color: rgba(15, 23, 42, 0.72);
  flex: 0 0 auto;
}

.page-home .related-empty {
  grid-column: 1 / -1;
  padding: 18px 14px;
  text-align: center;
  color: #64748b;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.03);
  border: 1px dashed rgba(15, 23, 42, 0.1);
}

/* ===============================
   SKELETON
=============================== */

.page-home .skeleton {
  background: linear-gradient(90deg, #252525, #313131, #1a1a1a);
  background-size: 200% 100%;
  animation: shimmer 1.2s infinite;
}

@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

.page-home .grid[aria-busy="true"] {
  pointer-events: none;
  user-select: none;
}

.page-home .grid[aria-busy="true"] .card:not(.skeleton-card) {
  visibility: hidden;
}

.page-home .skeleton-card {
  position: relative;
  overflow: hidden;
  background: #eef2f7;
  isolation: isolate;
  min-height: 100%;
  aspect-ratio: 1 / 1.28;
  border-radius: 0;
}

.page-home .skeleton-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 42%),
    linear-gradient(180deg, #eef2f7 0%, #e3e9f1 100%);
  z-index: 0;
}

.page-home .skeleton-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.38) 20%,
    rgba(255, 255, 255, 0.7) 50%,
    rgba(255, 255, 255, 0.38) 80%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translateX(-120%);
  animation: skeletonShimmer 1.35s ease-in-out infinite;
  z-index: 3;
  pointer-events: none;
}

.page-home .skeleton-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 38%),
    linear-gradient(135deg, #dfe6ef 0%, #cfd8e4 100%);
  z-index: 1;
}

.page-home .skeleton-badge-row {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 4;
  pointer-events: none;
}

.page-home .skeleton-pill {
  width: 72px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.page-home .skeleton-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.page-home .skeleton-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.22) 0%,
    rgba(15, 23, 42, 0.06) 45%,
    rgba(15, 23, 42, 0) 100%
  );
}

.page-home .skeleton-avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.12);
}

.page-home .skeleton-card .skeleton-pill,
.page-home .skeleton-card .skeleton-dot,
.page-home .skeleton-card .skeleton-avatar {
  position: relative;
  overflow: hidden;
}

.page-home .skeleton-card .skeleton-pill::before,
.page-home .skeleton-card .skeleton-dot::before,
.page-home .skeleton-card .skeleton-avatar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: translateX(-100%);
  animation: skeletonShimmer 1.35s ease-in-out infinite;
}

@keyframes skeletonShimmer {
  100% {
    transform: translateX(100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .skeleton-card::after,
  .page-home .skeleton-card .skeleton-pill::before,
  .page-home .skeleton-card .skeleton-dot::before,
  .page-home .skeleton-card .skeleton-avatar::before {
    animation: none !important;
  }
}

/* ===============================
   MOBILE
   - no inner scroll
   - whole modal scrolls
   - footer does not leave huge empty space
=============================== */

@media (max-width: 767px) {
  .page-home .event-modal-sheet {
    height: 100dvh;
    overflow: hidden !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .page-home .event-hero {
    height: clamp(280px, 52vh, 380px);
    min-height: 280px;
    max-height: 380px;
  }

  .page-home .event-card {
    margin-top: -54px;
  }

  .page-home .event-card-scroll {
     overflow-y: auto !important;
    overflow: hidden;
  }

  .page-home .event-card-inner {
    padding: 16px 14px 18px;
  }

  .page-home .modal-title {
    font-size: 17px;
    max-width: 20ch !important;
  }

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

  .page-home .feature-chip {
    padding: 12px;
    border-radius: 16px;
  }

  .page-home .feature-ico {
    width: 30px;
    height: 30px;
    border-radius: 11px;
  }

  .page-home .feature-text strong {
    font-size: 12px;
  }

  .page-home .event-description {
    font-size: 14px;
    line-height: 1.8;
  }

  .page-home .bottom-row {
    position: sticky;
    bottom: 0;
    margin-top: 12px;
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
    border-radius: 18px 18px 0 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(18px);
    border-top: 1px solid rgba(13, 18, 28, 0.06);
  }

  .page-home .book-btn {
    min-width: 112px;
    height: 46px;
    border-radius: 14px;
  }

  .page-home .price-value {
    font-size: 18px;
  }

  .page-home .more-section {
    margin-top: 18px;
  }

  .page-home .more-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 14px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    padding: 0 14px 2px;
    margin: 0;
    scrollbar-width: none;
  }

  .page-home .more-grid::-webkit-scrollbar {
    display: none;
  }

  .page-home .more-row {
    flex: 0 0 min(84vw, 360px);
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 10px;
    min-height: 96px;
    padding: 9px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    position: relative;
    overflow: hidden;
  }

  .page-home .more-row:hover {
    transform: none;
  }

  .page-home .more-row-thumb {
    width: 76px;
    height: 76px;
    aspect-ratio: auto;
    border-radius: 16px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.1);
    flex: 0 0 auto;
  }

  .page-home .more-row-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding-right: 4px;
  }

  .page-home .more-row-title {
    display: block;
    font-size: 13px;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .page-home .more-row-subtitle {
    margin-top: 5px;
    font-size: 10px;
    color: #64748b;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .page-home .more-row-arrow {
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    color: #94a3b8;
    flex: 0 0 auto;
  }

  .page-home .more-row-arrow svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .page-home .more-loading,
  .page-home .more-empty {
    padding: 8px 0 4px;
    font-size: 13px;
    color: #64748b;
    text-align: left;
  }

  .page-home .related-grid {
    gap: 10px;
  }

  .page-home .related-card {
    grid-template-columns: 88px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 9px;
  }

  .page-home .related-thumb {
    width: 88px;
    height: 74px;
  }

  .page-home .tab {
    height: 36px;
  }

  .page-home .ticket-card {
    padding: 11px;
  }

  .page-home .poster-footer {
    display: none !important;
  }
}

/* ===============================
   DESKTOP / LARGE SCREENS
=============================== */

@media (min-width: 992px) {
  .page-home .event-modal {
    padding: 0;
    overflow: hidden;
  }

  .page-home .event-modal-sheet {
    inset: 0;
    width: 100vw;
    height: 100vh;
    margin: 0;
    border-radius: 0;
    padding: 18px;
    display: grid;
    grid-template-columns: minmax(370px, 430px) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #eef2f7 100%);
    box-shadow: none;
    overflow: hidden;
  }

  .page-home .modal-grabber {
    display: none;
  }

  .page-home .event-hero {
    grid-column: 1;
    grid-row: 1;
    height: 100%;
    min-height: 0;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    background: #101522;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.18);
  }

  .page-home .event-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
  }

  .page-home .event-hero-overlay {
    border-radius: 28px;
  }

  .page-home .hero-fade {
    height: 150px;
    background: linear-gradient(to top, rgba(8, 12, 20, 0.55) 0%, rgba(8, 12, 20, 0) 100%);
  }

  .page-home .hero-topbar {
    top: 18px;
    left: 18px;
    right: 18px;
  }

  .page-home .poster-footer {
    grid-column: 1;
    grid-row: 2;
    display: grid;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(13, 18, 28, 0.06);
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
  }

  .page-home .poster-org-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
  }

  .page-home .poster-org-label {
    font-size: 13px;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.02em;
  }

  .page-home .poster-org-status {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    white-space: nowrap;
  }

  .page-home .poster-organizer {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
  }

  .page-home .poster-organizer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #fff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
  }

  .page-home .poster-organizer-meta {
    min-width: 0;
    display: flex;
    flex-direction: column;
  }

  .page-home .poster-organizer-name {
    display: block;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    line-height: 1.15;
    font-size: 14px;
    font-weight: 900;
    color: #0f172a;
  }

  .page-home .poster-organizer-role {
    margin-top: 3px;
    font-size: 11px;
    color: #7a8191;
    font-weight: 600;
  }

  .page-home .poster-org-actions {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .page-home .poster-follow-btn {
    flex: 1;
    height: 46px;
  }

  .page-home .poster-message-btn {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
  }

  .page-home .poster-share-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .page-home .poster-share-actions .poster-action-btn {
    height: 50px;
    border: 0;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    color: #0f172a;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  }

  .page-home .event-card {
    max-width: 1020px;
    grid-column: 2;
    grid-row: 1 / span 2;
    margin: 0;
    height: 100%;
    min-height: 0;
    border-radius: 28px;
    padding: 18px 18px 14px;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(13, 18, 28, 0.06);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
    overflow: hidden;
  }

  .page-home .event-card-scroll {
    flex: 1;
    min-height: 0;
     overflow: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .page-home .event-card-scroll::-webkit-scrollbar {
    width: 0 !important;
  }

  .page-home .event-card-scroll::-webkit-scrollbar-track {
    background: transparent;
  }

  .page-home .event-card-scroll::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.45);
    border-radius: 999px;
  }

  .page-home .event-card-inner {
    padding: 0 4px 18px;
    max-width: 990px;
  }

  .page-home .title-row {
    align-items: flex-start;
  }

  .page-home .modal-title {
    font-size: 32px;
    line-height: 1.03;
    max-width: 18ch !important;
  }

  .page-home .organizer-row {
    margin-bottom: 18px;
  }

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

  .page-home .feature-chip {
    padding: 14px;
    border-radius: 16px;
  }

  .page-home .feature-ico {
    width: 32px;
    height: 32px;
    border-radius: 12px;
  }

  .page-home .feature-text strong {
    font-size: 13px;
  }

  .page-home .event-description {
    font-size: 15px;
    line-height: 1.85;
    max-width: 72ch;
  }

  .page-home .bottom-row {
    max-width: 990px;
    position: static;
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    padding: 14px 16px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px);
    border-top: 1px solid rgba(13, 18, 28, 0.06);
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
    z-index: 2;
  }

  .page-home .book-btn {
    min-width: 170px;
    height: 52px;
    border-radius: 16px;
  }

  .page-home .price-value {
    font-size: 22px;
  }

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

  .page-home .related-card {
    grid-template-columns: 96px minmax(0, 1fr) auto;
  }
}

/* ===============================
   CREATE MODAL
=============================== */

:root {
  --create-sheet-bottom: calc(92px + env(safe-area-inset-bottom, 0px));
}

/* lock page scroll when create modal is open */
body.create-modal-open {
  overflow: hidden !important;
  position: fixed !important;
  inset: 0;
  width: 100%;
}

/* full-screen overlay */
.page-home .create-modal {
  position: fixed;
  inset: 0;
  z-index: 10001 !important; /* above bottom nav */
  display: none;
  overflow: hidden;
}

.page-home .create-modal.active {
  display: block;
}

/* backdrop */
.page-home .create-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.page-home .create-modal.active .create-backdrop {
  opacity: 1;
}

/* bottom sheet */
.page-home .create-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--create-sheet-bottom);
  width: 100%;
  background: #ffffff;
  padding: 14px 16px 20px;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.4);
  transform: translateY(110%);
  transition: transform 0.35s cubic-bezier(.2, .8, .2, 1);
  max-height: calc(100dvh - var(--create-sheet-bottom) - 16px);
  overflow: hidden;
  box-sizing: border-box;
}

.page-home .create-modal.active .create-sheet {
  transform: translateY(0);
}

/* handle */
.page-home .create-handle {
  width: 40px;
  height: 4px;
  background: #334155;
  border-radius: 999px;
  margin: 0 auto 14px;
}

/* grid */
.page-home .create-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  text-align: center;
  overflow: visible;
}

.page-home .create-item {
  background: transparent;
  border: none;
  color: #111;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.page-home .create-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #000000, #002d47);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-home .create-icon svg {
  width: 24px;
  height: 24px;
  stroke: white;
  stroke-width: 2;
  fill: none;
}

.page-home .create-item:hover .create-icon {
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* mobile tuning */
@media (max-width: 520px) {
  :root {
    --create-sheet-bottom: calc(82px + env(safe-area-inset-bottom, 0px));
  }

  .page-home .create-sheet {
    border-radius: 22px 22px 0 0;
    padding: 12px 14px 18px;
    max-height: calc(100dvh - var(--create-sheet-bottom) - 12px);
  }

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

.page-home .create-modal.active .create-backdrop {
  opacity: 1;
}

.page-home .create-modal.active .create-sheet {
  transform: translateY(0);
}

@media (min-width: 992px) {
  .page-home .create-backdrop {
    display: none;
  }

  .page-home .create-modal {
    position: fixed;
    inset: 0;
    padding: 0 !important;
    pointer-events: none;
    z-index: 999;
    display: none;
  }

  .page-home .create-modal.active,
  .page-home .create-modal.closing {
    display: block;
    pointer-events: auto;
  }

  .page-home .create-sheet {
    position: absolute;
    top: var(--create-top, 80px);
    right: 20px !important;
    left: auto !important;
    bottom: auto;
    width: min(480px, calc(100vw - 32px)) !important;
    max-width: calc(100vw - 32px) !important;
    border-radius: 22px;
    box-shadow:
      0 28px 80px rgba(15, 23, 42, 0.16),
      0 8px 24px rgba(15, 23, 42, 0.08),
      0 2px 6px rgba(15, 23, 42, 0.04);
    overflow: visible;
    pointer-events: auto;
  }

  .page-home .create-sheet-inner {
    position: relative;
    padding: 14px;
    border-radius: inherit;
    background: rgba(228, 228, 228, 0.98);
    border: 1px solid rgba(229, 231, 235, 0.92);
    transform-origin: top center;
    transform: translate3d(0, -28px, 0);
    opacity: 0;
    filter: blur(10px);
    will-change: transform, opacity, filter;
    overflow: hidden;
  }

  .page-home .create-modal.active .create-sheet-inner {
    animation: createSheetOpen 520ms cubic-bezier(0.2, 0.95, 0.18, 1) forwards;
  }

  .page-home .create-modal.closing .create-sheet-inner {
    animation: createSheetClose 360ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
  }

  @keyframes createSheetOpen {
    0% {
      opacity: 0;
      transform: translate3d(0, -42px, 0) scale(0.96);
      filter: blur(10px);
      border-radius: 999px;
    }
    45% {
      opacity: 1;
      transform: translate3d(0, 6px, 0) scale(1.02);
      filter: blur(2px);
      border-radius: 24px;
    }
    100% {
      opacity: 1;
      transform: translate3d(0, 0, 0) scale(1);
      filter: blur(0);
      border-radius: 18px;
    }
  }

  @keyframes createSheetClose {
    0% {
      opacity: 1;
      transform: translate3d(0, 0, 0) scale(1);
      filter: blur(0);
      border-radius: 18px;
    }
    100% {
      opacity: 0;
      transform: translate3d(0, -34px, 0) scale(0.96);
      filter: blur(10px);
      border-radius: 999px;
    }
  }

  .page-home .create-sheet-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background:
      radial-gradient(circle at top center, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0) 42%),
      linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(0, 0, 0, 0.12));
    opacity: 0;
  }

  .page-home .create-modal.active .create-sheet-inner::before {
    animation: createGlowIn 520ms ease-out forwards;
  }

  .page-home .create-modal.closing .create-sheet-inner::before {
    animation: createGlowOut 260ms ease-in forwards;
  }

  @keyframes createGlowIn {
    0% {
      opacity: 0;
      transform: scale(0.92);
    }
    28% {
      opacity: 0.6;
    }
    100% {
      opacity: 0;
      transform: scale(1.02);
    }
  }

  @keyframes createGlowOut {
    0% { opacity: 0.18; }
    100% { opacity: 0; }
  }

  .page-home .create-handle {
    display: none;
  }

  .page-home .create-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    position: relative;
    z-index: 1;
  }

  .page-home .create-item {
    padding: 10px 8px;
    border-radius: 16px;
    opacity: 0;
    transform: translate3d(0, -16px, 0) scale(0.94);
    filter: blur(3px);
    transition:
      background 0.18s ease,
      transform 0.18s ease,
      box-shadow 0.18s ease;
    will-change: transform, opacity, filter;
  }

  .page-home .create-modal.active .create-item {
    animation: createItemIn 460ms cubic-bezier(0.18, 0.9, 0.22, 1.15) forwards;
    animation-delay: calc(var(--i, 0) * 70ms + 160ms);
  }

  .page-home .create-modal.closing .create-item {
    animation: createItemOut 220ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: calc((3 - var(--i, 0)) * 35ms);
  }

  @keyframes createItemIn {
    0% {
      opacity: 0;
      transform: translate3d(0, -16px, 0) scale(0.94);
      filter: blur(3px);
    }
    60% {
      opacity: 1;
      transform: translate3d(0, 3px, 0) scale(1.03);
      filter: blur(0);
    }
    100% {
      opacity: 1;
      transform: translate3d(0, 0, 0) scale(1);
      filter: blur(0);
    }
  }

  @keyframes createItemOut {
    0% {
      opacity: 1;
      transform: translate3d(0, 0, 0) scale(1);
      filter: blur(0);
    }
    100% {
      opacity: 0;
      transform: translate3d(0, -12px, 0) scale(0.95);
      filter: blur(2px);
    }
  }

  .page-home .create-item .create-icon,
  .page-home .create-item span {
    opacity: 0;
    transform: translate3d(0, -6px, 0);
  }

  .page-home .create-modal.active .create-item .create-icon {
    animation: createInnerIn 320ms cubic-bezier(0.18, 0.9, 0.22, 1.15) forwards;
    animation-delay: calc(var(--i, 0) * 70ms + 210ms);
  }

  .page-home .create-modal.active .create-item span {
    animation: createInnerIn 320ms cubic-bezier(0.18, 0.9, 0.22, 1.15) forwards;
    animation-delay: calc(var(--i, 0) * 70ms + 240ms);
  }

  .page-home .create-modal.closing .create-item .create-icon,
  .page-home .create-modal.closing .create-item span {
    animation: createInnerOut 160ms ease-in forwards;
  }

  @keyframes createInnerIn {
    0% {
      opacity: 0;
      transform: translate3d(0, -6px, 0);
    }
    100% {
      opacity: 1;
      transform: translate3d(0, 0, 0);
    }
  }

  @keyframes createInnerOut {
    0% {
      opacity: 1;
      transform: translate3d(0, 0, 0);
    }
    100% {
      opacity: 0;
      transform: translate3d(0, -4px, 0);
    }
  }

  .page-home .create-item:hover {
    background: #f8fafc;
    transform: translate3d(0, -2px, 0) scale(1.02);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  }

  .page-home .create-icon {
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }

  .page-home .create-item svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 2.2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  @media (prefers-reduced-motion: reduce) {
    .page-home .create-sheet-inner,
    .page-home .create-modal.active .create-sheet-inner,
    .page-home .create-modal.closing .create-sheet-inner,
    .page-home .create-item,
    .page-home .create-modal.active .create-item,
    .page-home .create-modal.closing .create-item,
    .page-home .create-sheet-inner::before,
    .page-home .create-item .create-icon,
    .page-home .create-item span {
      animation: none !important;
      transition: none !important;
      transform: none !important;
      opacity: 1 !important;
      filter: none !important;
      clip-path: none !important;
    }
  }
}

/* ===============================
   NOTIFICATIONS PANEL
=============================== */

.page-home :root {
  --topbar-h: 5px;
}

.page-home .notif-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 24, 0.35);
  backdrop-filter: blur(4px);
  z-index: 999;
}

.page-home .notif-panel {
  position: fixed;
  top: calc(var(--topbar-h) + 12px);
  right: 12px;
  width: min(390px, calc(100vw - 24px));
  height: calc(100vh - var(--topbar-h) - 24px);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(20, 25, 35, 0.08);
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.14);
  z-index: 1000;
  transform: translateX(110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s ease, opacity 0.28s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.page-home .notif-panel.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.page-home .notif-panel-header {
  padding: 18px 18px 14px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(20, 25, 35, 0.08);
  background: linear-gradient(180deg, rgba(248, 249, 252, 1), rgba(255, 255, 255, 1));
}

.page-home .notif-panel-title {
  font-size: 18px;
  font-weight: 800;
  color: #121826;
  letter-spacing: -0.02em;
}

.page-home .notif-panel-subtitle {
  margin-top: 4px;
  font-size: 13px;
  color: #6b7280;
}

.page-home .notif-close-btn {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: #f2f4f8;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex: 0 0 auto;
}

.page-home .notif-close-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #334155;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-home .notif-body {
  padding: 14px;
  overflow: auto;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}

.page-home .notif-item {
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(20, 25, 35, 0.08);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
  margin-bottom: 12px;
}

.page-home .notif-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(180deg, #eef2ff, #e0e7ff);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.page-home .notif-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #4f46e5;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-home .notif-item-content {
  min-width: 0;
  flex: 1;
}

.page-home .notif-item-title {
  font-size: 14px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 4px;
}

.page-home .notif-item-text {
  font-size: 13px;
  line-height: 1.5;
  color: #6b7280;
}

.page-home .notif-item-time {
  margin-top: 8px;
  font-size: 12px;
  color: #94a3b8;
}

.page-home .notif-empty {
  height: 100%;
  min-height: 280px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 30px 18px;
}

.page-home .notif-empty-card {
  max-width: 280px;
}

.page-home .notif-empty-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 24px;
  background: linear-gradient(180deg, #f8fafc, #eef2ff);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.page-home .notif-empty-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: #64748b;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-home .notif-empty-title {
  font-size: 18px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 8px;
}

.page-home .notif-empty-text {
  font-size: 14px;
  line-height: 1.6;
  color: #6b7280;
}

.page-home .notif-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #ef4444;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.9);
}

.page-home #notifyBtn {
  position: relative;
}

@media (max-width: 640px) {
  .page-home .notif-panel {
    left: 12px;
    right: 12px;
    width: auto;
    top: calc(var(--topbar-h) + 10px);
    height: calc(100vh - var(--topbar-h) - 20px);
  }
}

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

@media (max-width: 700px) {
  .page-home .app {
    max-width: 100%;
  }

  .page-home .hero-title {
    font-size: 17px !important;
  }

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

@media (max-width: 420px) {
  .page-home .topbar {
    gap: 10px;
    padding-inline: 10px;
  }

  .page-home .hero-row,
  .page-home .chips {
    padding-inline: 10px;
  }

  .page-home .content {
    padding-inline: 0;
  }

  .page-home .card-footer {
    padding: 8px;
  }

  .page-home .grid {
    gap: 1px;
  }

  .page-home .search-wrap {
    height: 44px;
  }

  .page-home .brand,
  .page-home .icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }

  .page-home .event-hero {
    height: 300px;
  }

  .page-home .event-card {
    margin-top: -66px;
  }

  .page-home .modal-title {
    font-size: 17px;
  }

  .page-home .more-grid {
    grid-template-columns: 1fr;
  }

  .page-home .book-btn {
    min-width: 108px;
  }

  .page-home .nav-item {
    width: 42px;
    height: 42px;
  }

  .page-home .skeleton-pill {
    width: 64px;
    height: 20px;
  }

  .page-home .skeleton-dot {
    width: 20px;
    height: 20px;
  }

  .page-home .skeleton-avatar {
    width: 18px;
    height: 18px;
  }

  .page-home .related-card {
    grid-template-columns: 88px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 9px;
  }

  .page-home .related-thumb {
    width: 88px;
    height: 74px;
  }
}

/* ===============================
   SHM COPY BUTTON
=============================== */

.page-home .shm-copy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.page-home .shm-copy-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: scale(1.05);
}

.page-home .shm-copy-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}



 .like-wrap{
    display:inline-flex;
    align-items:center;
    gap:10px;
    user-select:none;
  }

  .like-btn{
    height:44px;
    padding:0 14px 0 10px;
    display:inline-flex;
    align-items:center;
    gap:10px;
    border:1px solid rgba(15,23,42,.08);
    border-radius:999px;
    background:#fff;
    box-shadow:0 8px 24px rgba(15,23,42,.06);
    cursor:pointer;
    position:relative;
    overflow:visible;
    transition:transform .18s ease, box-shadow .18s ease, background-color .18s ease;
    -webkit-tap-highlight-color:transparent;
  }

  .like-btn:hover{
    transform:translateY(-1px);
    box-shadow:0 12px 30px rgba(15,23,42,.08);
  }

  .like-btn:active{
    transform:scale(.97);
  }

  .heart-wrap{
    width:26px;
    height:26px;
    position:relative;
    display:grid;
    place-items:center;
    flex:0 0 26px;
  }

  .heart-outline,
  .heart-fill{
    position:absolute;
    inset:0;
    width:26px;
    height:26px;
  }

  .heart-outline path,
  .heart-fill path{
    d:path("M12 21s-7-4.35-9.5-8.5C.5 8.5 2.5 5 6.3 5c2.1 0 3.6 1.1 4.4 2.3C11.5 6.1 13 5 15.1 5c3.8 0 5.8 3.5 3.8 7.5C19 16.65 12 21 12 21z");
  }

  .heart-outline{
    fill:none;
    stroke:#6b7280;
    stroke-width:1.8;
    stroke-linejoin:round;
    stroke-linecap:round;
    z-index:2;
    transition:opacity .18s ease, transform .28s cubic-bezier(.2,.8,.2,1), stroke .18s ease;
  }

  .heart-fill{
    fill:#ff2d55;
    transform:scale(.1);
    opacity:0;
    z-index:1;
    transition:transform .28s cubic-bezier(.2,.8,.2,1), opacity .18s ease;
    filter:drop-shadow(0 4px 10px rgba(255,45,85,.18));
  }

  .like-label{
    font-size:14px;
    font-weight:600;
    color:#111827;
    letter-spacing:.1px;
  }

  .like-count{
    min-width:30px;
    height:30px;
    padding:0 9px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    background:#f3f4f6;
    color:#111827;
    font-size:13px;
    font-weight:700;
    transition:transform .18s ease, background-color .18s ease, color .18s ease;
  }

  .like-wrap.is-active .like-btn{
    background:rgba(255,45,85,.06);
    border-color:rgba(255,45,85,.14);
  }

  .like-wrap.is-active .heart-outline{
    opacity:0;
    stroke:#ff2d55;
  }

  .like-wrap.is-active .heart-fill{
    opacity:1;
    transform:scale(1);
  }

  .like-wrap.is-active .like-label{
    color:#ff2d55;
  }

  .like-wrap.is-active .like-count{
    background:rgba(255,45,85,.1);
    color:#ff2d55;
  }

  .like-btn.pulse{
    animation:btnPulse .42s cubic-bezier(.2,.8,.2,1);
  }

  .like-count.bump{
    animation:countBump .26s cubic-bezier(.2,.8,.2,1);
  }

  .heart-burst{
    position:absolute;
    inset:50%;
    width:2px;
    height:2px;
    pointer-events:none;
    opacity:0;
  }

  .heart-burst i{
    position:absolute;
    left:0;
    top:0;
    width:5px;
    height:5px;
    border-radius:999px;
    background:#ff2d55;
    opacity:0;
    transform:translate(0,0) scale(.3);
  }

  .like-btn.burst .heart-burst{
    animation:burstFade .52s ease-out;
  }

  .like-btn.burst .heart-burst i{
    animation:particle .52s ease-out;
  }

  .like-btn.burst .heart-burst i:nth-child(1){ transform:translate(-16px,-14px) scale(.3); }
  .like-btn.burst .heart-burst i:nth-child(2){ transform:translate(0,-20px) scale(.3); }
  .like-btn.burst .heart-burst i:nth-child(3){ transform:translate(16px,-14px) scale(.3); }
  .like-btn.burst .heart-burst i:nth-child(4){ transform:translate(-18px,10px) scale(.3); }
  .like-btn.burst .heart-burst i:nth-child(5){ transform:translate(18px,10px) scale(.3); }
  .like-btn.burst .heart-burst i:nth-child(6){ transform:translate(0,18px) scale(.3); }

  @keyframes btnPulse{
    0%{ transform:scale(1); }
    35%{ transform:scale(1.12); }
    100%{ transform:scale(1); }
  }

  @keyframes countBump{
    0%{ transform:scale(1); }
    45%{ transform:scale(1.15); }
    100%{ transform:scale(1); }
  }

  @keyframes burstFade{
    0%{ opacity:1; }
    100%{ opacity:0; }
  }

  @keyframes particle{
    0%{ opacity:0; }
    15%{ opacity:1; }
    100%{ opacity:0; transform:translate(var(--tx,0), var(--ty,0)) scale(1.2); }
  }




 .page-home .empty-state {
  width: min(100%, 560px) !important;
  margin: 48px auto 0 !important;
  padding: 34px 24px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,250,252,.92));
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow:
    0 18px 50px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255,255,255,.9);
  position: relative;
  overflow: hidden;
}

.page-home .empty-state::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top, rgba(99,102,241,.08), transparent 42%),
    radial-gradient(circle at bottom, rgba(236,72,153,.05), transparent 38%);
  pointer-events: none;
}

.page-home .empty-icon {
  width: 78px;
  height: 78px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  position: relative;
  z-index: 1;
}

.page-home .empty-icon svg,
.empty-icon img {
  width: 34px;
  height: 34px;
  display: block;
}

.page-home .empty-state-title {
  font-size: 1.1rem;
  line-height: 1.3;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.page-home .empty-state-subtitle {
  max-width: 360px;
  font-size: 0.96rem;
  line-height: 1.6;
  color: #64748b;
  position: relative;
  z-index: 1;
}

.page-home .empty-state.offline .empty-icon {
  background: rgba(248, 250, 252, .96);
}