:root {
  --bg: #0a0a0d;
  --surface: #111116;
  --surface-2: #18181f;
  --text: #f5f5f7;
  --muted: #92929d;
  --line: rgba(255,255,255,.08);
  --accent: #ff3d81;
  --accent-2: #ff6b9f;
  --max: 1380px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 75% -10%, rgba(255,61,129,.12), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(10,10,13,.78);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(var(--max), calc(100% - 40px));
  height: 74px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 30px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 23px;
  font-weight: 850;
  letter-spacing: -1px;
}

.brand-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 22px rgba(255,61,129,.75);
}

.search-wrap {
  width: min(480px, 55vw);
  margin-left: auto;
  position: relative;
}

.search-wrap svg,
.mobile-search svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.search-wrap svg {
  position: absolute;
  left: 16px;
  top: 13px;
  color: var(--muted);
}

.search-wrap input {
  width: 100%;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 13px;
  outline: 0;
  padding: 0 16px 0 45px;
  background: rgba(255,255,255,.055);
  color: var(--text);
  font-size: 14px;
}

.search-wrap input:focus {
  border-color: rgba(255,61,129,.5);
  box-shadow: 0 0 0 4px rgba(255,61,129,.08);
}

.mobile-search { display: none; }

.hero {
  position: relative;
  overflow: hidden;
  width: min(var(--max), calc(100% - 40px));
  min-height: 390px;
  margin: 0 auto;
  padding: 90px 0 70px;
  display: flex;
  align-items: center;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
}

.hero h1 {
  margin: 0;
  max-width: 700px;
  font-size: clamp(45px, 7vw, 86px);
  line-height: .94;
  letter-spacing: -5px;
}

.hero h1 span {
  background: linear-gradient(90deg, #fff, #ff6b9f);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-copy {
  max-width: 540px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.hero-glow {
  position: absolute;
  right: 4%;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: rgba(255,61,129,.16);
  filter: blur(100px);
  pointer-events: none;
}

.catalog, .watch-page {
  width: min(var(--max), calc(100% - 40px));
  margin: auto;
}

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

.section-head h2 {
  margin: 0 0 5px;
  font-size: 25px;
  letter-spacing: -.8px;
}

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

.tag-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.tag-btn, .ghost-btn {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.045);
  color: #dddde2;
  border-radius: 10px;
  padding: 9px 14px;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  transition: .2s ease;
}

.tag-btn:hover, .ghost-btn:hover {
  border-color: rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
}

.tag-btn.active {
  color: white;
  border-color: rgba(255,61,129,.45);
  background: rgba(255,61,129,.14);
}

.ghost-btn span { margin-left: 7px; }

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

.video-card {
  min-width: 0;
  transition: transform .22s ease;
}

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

.thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}

.thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .4s ease;
}

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

.thumb-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.55));
  opacity: .6;
}

.play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 48px;
  height: 48px;
  transform: translate(-50%, -50%) scale(.85);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,61,129,.92);
  opacity: 0;
  transition: .22s ease;
  box-shadow: 0 8px 30px rgba(0,0,0,.4);
}

.video-card:hover .play-button {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.play-button svg {
  width: 22px;
  fill: white;
  margin-left: 2px;
}

.card-body { padding: 11px 2px 0; }

.card-body h3 {
  margin: 0 0 9px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-tags, .video-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.card-tags span, .video-tags a {
  color: var(--muted);
  font-size: 10px;
  background: rgba(255,255,255,.05);
  border-radius: 6px;
  padding: 4px 7px;
}

.watch-page { padding-top: 35px; }

.player-shell {
  width: 100%;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 20px 70px rgba(0,0,0,.4);
}

.player-shell video {
  width: 100%;
  display: block;
  max-height: 76vh;
  background: #000;
}

.video-info {
  padding: 25px 2px 50px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.video-info h1 {
  margin: 0 0 13px;
  font-size: clamp(24px, 4vw, 38px);
  letter-spacing: -1.5px;
}

.related-section { padding: 45px 0 70px; }

.back-link {
  margin-left: auto;
  color: var(--muted);
  font-size: 13px;
}

.back-link:hover { color: white; }

.empty {
  text-align: center;
  padding: 90px 20px;
  border: 1px dashed var(--line);
  border-radius: 16px;
}

.empty-icon {
  font-size: 36px;
  color: var(--accent);
  margin-bottom: 10px;
}

.empty h3 { margin: 0 0 8px; }
.empty p { color: var(--muted); }

.inline-btn {
  display: inline-block;
  margin-top: 10px;
}

.hidden { display: none !important; }

.load-error {
  grid-column: 1 / -1;
  color: var(--muted);
  padding: 50px;
  text-align: center;
}

.footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 30px auto;
  padding: 30px 0;
  color: #666670;
  font-size: 11px;
  border-top: 1px solid var(--line);
}

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

@media (max-width: 760px) {
  .header-inner, .hero, .catalog, .watch-page, .footer {
    width: min(100% - 24px, var(--max));
  }

  .header-inner { height: 64px; gap: 14px; }

  .brand { font-size: 21px; }

  .search-wrap { display: none; }
  .mobile-search {
    margin-left: auto;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    color: white;
  }

  .hero {
    min-height: 320px;
    padding: 65px 0 55px;
  }

  .hero h1 { letter-spacing: -3px; }

  .hero-glow {
    width: 200px;
    height: 200px;
    right: -70px;
  }

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

  .thumb { border-radius: 10px; }
  .play-button { width: 40px; height: 40px; }

  .video-info {
    display: block;
    padding-bottom: 30px;
  }

  .video-info .ghost-btn {
    display: inline-block;
    margin-top: 18px;
  }

  .player-shell { border-radius: 10px; }
  .section-head { align-items: center; }
  .section-head .ghost-btn { white-space: nowrap; }
}

@media (max-width: 430px) {
  .video-grid { grid-template-columns: 1fr; }
  .card-body h3 { font-size: 12px; }
  .hero h1 { font-size: 44px; }
}
/* ========================================
   HOTMAMA PAGINATION
======================================== */

.pagination {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 52px 0 35px;
  padding: 0 20px;
  flex-wrap: wrap;
}


/* Every page button */

.page-btn {
  position: relative;

  min-width: 44px;
  height: 44px;

  padding: 0 14px;

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

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

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.065),
      rgba(255, 255, 255, 0.025)
    );

  color: #a8a8b2;

  font-family: inherit;
  font-size: 13px;
  font-weight: 700;

  cursor: pointer;

  box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.18);

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


/* Hover */

.page-btn:hover:not(:disabled) {

  transform: translateY(-3px);

  color: #ffffff;

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.11),
      rgba(255, 255, 255, 0.045)
    );

  border-color:
    rgba(255, 255, 255, 0.18);

  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.28);
}


/* Active page */

.page-btn.active {

  color: #ffffff;

  background:
    linear-gradient(
      135deg,
      var(--accent),
      #ff5b9a
    );

  border-color:
    rgba(255, 255, 255, 0.18);

  box-shadow:
    0 8px 28px rgba(255, 61, 129, 0.30);

  transform: translateY(-2px);
}


/* Active little glow */

.page-btn.active::after {

  content: "";

  position: absolute;

  left: 50%;
  bottom: -7px;

  width: 16px;
  height: 3px;

  transform: translateX(-50%);

  border-radius: 99px;

  background: var(--accent);

  opacity: 0.8;
}


/* Previous / Next */

.page-btn:first-child,
.page-btn:last-child {

  min-width: 48px;

  font-size: 21px;
  font-weight: 400;

  color: #d4d4da;
}


/* Disabled */

.page-btn:disabled {

  opacity: 0.25;

  cursor: default;

  transform: none;

  box-shadow: none;
}


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

@media (max-width: 600px) {

  .pagination {

    gap: 7px;

    margin-top: 40px;
    margin-bottom: 25px;

    padding: 0 10px;
  }

  .page-btn {

    min-width: 38px;
    height: 38px;

    padding: 0 9px;

    border-radius: 11px;

    font-size: 12px;
  }

  .page-btn:first-child,
  .page-btn:last-child {

    min-width: 42px;

    font-size: 19px;
  }

}


/* ========================================
   SMALL PHONES
======================================== */

@media (max-width: 390px) {

  .pagination {

    gap: 5px;
  }

  .page-btn {

    min-width: 34px;
    height: 34px;

    padding: 0 7px;

    border-radius: 9px;

    font-size: 11px;
  }

  .page-btn:first-child,
  .page-btn:last-child {

    min-width: 36px;
  }

}
/* ========================================
   DOWNLOAD VIDEO
======================================== */

.download-box {
  margin-top: 18px;
  padding: 18px;

  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;

  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,.045),
      rgba(255,255,255,.018)
    );
}

.download-title {
  margin-bottom: 13px;

  color: #f2f2f5;

  font-size: 14px;
  font-weight: 700;
}

.download-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 42px;
  padding: 0 18px;

  border-radius: 11px;

  background: var(--accent);
  color: white;

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

  text-decoration: none;

  transition:
    transform .2s ease,
    opacity .2s ease,
    box-shadow .2s ease;
}

.download-btn:hover {
  transform: translateY(-2px);
  opacity: .92;

  box-shadow:
    0 8px 25px rgba(255,61,129,.25);
}

.download-btn.secondary {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
}

@media (max-width: 600px) {

  .download-buttons {
    flex-direction: column;
  }

  .download-btn {
    width: 100%;
  }
}