/* WowSexGirls — light minimal theme (ref: supersexyy.com) */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --accent: #e0245e;
  --bg: #fff;
  --text: #111;
  --muted: #555;
  --dim: #999;
  --line: #e5e5e5;
  --card-bg: #fafafa;
}

body {
  font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  background: var(--bg);
  color: var(--text);
}
a { color: inherit; text-decoration: none; }

/* ---- header ---- */
.header {
  border-bottom: 1px solid var(--line);
  padding: 14px 16px 16px;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.logo {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.5px;
}
.logo span { color: var(--accent); }
.topnav a {
  color: var(--accent);
  font-weight: 600;
  font-size: 15px;
}
.topnav a:hover { text-decoration: underline; }
.search {
  max-width: 1200px;
  margin: 12px auto 0;
  display: flex;
}
.search input {
  flex: 1;
  min-width: 0;
  border: 1px solid #ccc;
  border-right: none;
  border-radius: 4px 0 0 4px;
  padding: 9px 14px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
}
.search input:focus { border-color: var(--accent); }
.search button {
  background: var(--accent);
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 15px;
  padding: 0 22px;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
}
.search button:hover { filter: brightness(1.1); }

/* ---- layout ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 12px 30px;
}
h1 {
  font-size: 26px;
  margin: 6px 0 16px;
}
h2 {
  font-size: 21px;
  margin: 10px 0 14px;
}

/* ---- 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: 6px;
  background: var(--card-bg);
  border: 1px solid var(--line);
}
.card .thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}
.card a:hover .thumb img { transform: scale(1.04); }
.duration {
  position: absolute;
  right: 6px;
  bottom: 6px;
  background: rgba(0,0,0,.75);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 3px;
}
.card .title {
  margin-top: 8px;
  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(--accent); }
.card .meta {
  margin-top: 4px;
  font-size: 13px;
  color: var(--dim);
  display: flex;
  gap: 10px;
  align-items: center;
}
.card .meta .likes { color: var(--accent); font-weight: 600; }

/* ---- pagination ---- */
.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin: 26px 0 8px;
}
.pagination a, .pagination span {
  min-width: 38px;
  text-align: center;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  user-select: none;
}
.pagination a:hover { border-color: var(--accent); color: var(--accent); }
.pagination .current {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  cursor: default;
}

/* ---- categories ---- */
.cats-section { margin-top: 36px; }
.cats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.cats-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--card-bg);
  padding: 12px 14px;
  font-weight: 600;
  font-size: 15px;
}
.cats-grid a:hover { border-color: var(--accent); color: var(--accent); }
.cats-grid .count {
  color: var(--dim);
  font-size: 13px;
  font-weight: 400;
}

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

/* ---- watch page ---- */
.player-wrap {
  position: relative;
  max-width: 1000px;
  margin: 6px auto 0;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 8px;
  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: #bbb;
}
.player-error a { color: #fff; text-decoration: underline; }
.watch-title {
  max-width: 1000px;
  margin: 16px auto 6px;
  font-size: 23px;
}
.watch-meta {
  max-width: 1000px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.watch-meta .likes { color: var(--accent); font-weight: 700; }
.tags {
  max-width: 1000px;
  margin: 12px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tags a {
  border: 1px solid var(--line);
  background: var(--card-bg);
  color: var(--muted);
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 20px;
}
.tags a:hover { border-color: var(--accent); color: var(--accent); }
.related { margin-top: 30px; }

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

/* ---- responsive ---- */
@media (min-width: 560px)  { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 860px)  {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .cats-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1100px) {
  .grid { grid-template-columns: repeat(4, 1fr); }
  .cats-grid { grid-template-columns: repeat(4, 1fr); }
}
