/* HotBoobsGirl — neon night theme (deep navy + magenta/violet gradient) */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0d1024;
  --bg-2: #131735;
  --panel: #181d3f;
  --panel-2: #1f2450;
  --line: #2a3060;
  --text: #eef0ff;
  --muted: #a6abd4;
  --dim: #7a80b0;
  --pink: #ff2d95;
  --violet: #8b5cf6;
  --grad: linear-gradient(135deg, #ff2d95, #8b5cf6);
  --glow: 0 0 18px rgba(255, 45, 149, .35), 0 0 34px rgba(139, 92, 246, .22);
}

html { -webkit-tap-highlight-color: transparent; }
body {
  font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  background: var(--bg) radial-gradient(1100px 500px at 50% -180px, rgba(139, 92, 246, .18), transparent 70%);
  color: var(--text);
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }

/* ---- header ---- */
.header {
  background: rgba(13, 16, 36, .85);
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
}
.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}
.logo {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.5px;
  white-space: nowrap;
}
.logo-grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.logo-tld { color: var(--dim); font-weight: 600; }

.search {
  flex: 1 1 100%;
  display: flex;
  gap: 8px;
}
.search input {
  flex: 1;
  min-width: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  padding: 10px 18px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.search input::placeholder { color: var(--dim); }
.search input:focus {
  border-color: var(--pink);
  box-shadow: 0 0 12px rgba(255, 45, 149, .25);
}
.search button {
  background: var(--grad);
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 15px;
  padding: 0 24px;
  border-radius: 999px;
  cursor: pointer;
  transition: box-shadow .2s, filter .2s;
}
.search button:hover { filter: brightness(1.1); box-shadow: var(--glow); }

/* ---- layout ---- */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 14px 34px;
}
h1 {
  font-size: 25px;
  margin: 18px 0 16px;
}
h2 {
  font-size: 19px;
  margin: 8px 0 12px;
}

/* ---- categories (gradient-bordered pill chips) ---- */
.cats-section { margin: 4px 0 6px; }
.cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cats a {
  position: relative;
  background: linear-gradient(var(--panel), var(--panel)) padding-box,
              var(--grad) border-box;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 15px;
  transition: color .2s, box-shadow .2s, transform .2s;
}
.cats a:hover {
  color: var(--text);
  box-shadow: var(--glow);
  transform: translateY(-1px);
}
.cats a.active {
  background: var(--grad) padding-box, var(--grad) border-box;
  color: #fff;
}

/* ---- video grid ---- */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.card a { display: block; }
.card .thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.card .thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card a:hover .thumb {
  transform: scale(1.02);
  border-color: var(--pink);
  box-shadow: var(--glow);
}
.likes-badge {
  position: absolute;
  left: 8px;
  top: 8px;
  background: rgba(13, 16, 36, .8);
  color: var(--pink);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
}
.duration {
  position: absolute;
  right: 8px;
  bottom: 8px;
  background: rgba(13, 16, 36, .85);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
}
.card .title {
  margin-top: 9px;
  padding: 0 2px;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card a:hover .title { color: var(--pink); }
.card .views {
  margin-top: 4px;
  padding: 0 2px;
  font-size: 13px;
  color: var(--dim);
}

/* ---- pagination (round pills) ---- */
.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 28px 0 8px;
}
.pagination a, .pagination span {
  min-width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
  transition: color .2s, box-shadow .2s, border-color .2s;
}
.pagination a:hover {
  color: var(--text);
  border-color: var(--pink);
  box-shadow: var(--glow);
}
.pagination .current {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
  cursor: default;
  box-shadow: var(--glow);
}

/* ---- status / spinner ---- */
.feed-status {
  text-align: center;
  color: var(--dim);
  padding: 32px 10px;
}
.feed-status a { color: var(--pink); text-decoration: underline; cursor: pointer; }
.spinner {
  width: 36px;
  height: 36px;
  margin: 0 auto 10px;
  border: 3px solid var(--line);
  border-top-color: var(--pink);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- watch page ---- */
.player-frame {
  max-width: 1020px;
  margin: 8px auto 0;
  padding: 2px;
  border-radius: 18px;
  background: var(--grad);
  box-shadow: var(--glow);
}
.player-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #05060f;
  border-radius: 16px;
  overflow: hidden;
}
.player-wrap video {
  display: block;
  width: 100%;
  height: 100%;
}
.player-loading, .player-error {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--dim);
}
.player-error a { color: var(--pink); text-decoration: underline; }
.watch-title {
  max-width: 1020px;
  margin: 18px auto 6px;
  font-size: 22px;
}
.watch-meta {
  max-width: 1020px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.watch-meta .likes { color: var(--pink); font-weight: 700; }
.tags {
  max-width: 1020px;
  margin: 14px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tags a {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  padding: 5px 14px;
  border-radius: 999px;
  transition: color .2s, border-color .2s, box-shadow .2s;
}
.tags a:hover {
  border-color: var(--violet);
  color: var(--text);
  box-shadow: 0 0 12px rgba(139, 92, 246, .3);
}
.related { margin-top: 32px; }

/* ---- footer ---- */
.footer {
  border-top: 1px solid var(--line);
  margin-top: 36px;
  padding: 24px 12px 34px;
  text-align: center;
  color: var(--dim);
  font-size: 13px;
  line-height: 22px;
}
.footer a { color: var(--muted); text-decoration: underline; }
.footer a:hover { color: var(--pink); }

/* ---- responsive ---- */
@media (min-width: 640px) {
  .search { flex: 1 1 auto; max-width: 520px; margin-left: auto; }
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px)  { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1160px) { .grid { grid-template-columns: repeat(4, 1fr); } }
