* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #050505;
  --card: rgba(255, 255, 255, 0.04);
  --line: rgba(255, 255, 255, 0.09);
  --text: #f5f5f5;
  --muted: #9b9b9b;
  --red: #ff0019;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --r-xl: 30px;
  --r-lg: 24px;
}

html,
body {
  min-height: 100%;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at center top, rgba(255, 0, 25, 0.05), transparent 18%),
    linear-gradient(180deg, #040404 0%, #070707 55%, #050505 100%);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button,
input,
select {
  font: inherit;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.92), transparent 96%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.8;
}

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(5, 5, 5, 0.68);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-inner {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #fff;
}

.nav-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(255, 0, 25, 0.14);
}

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

.nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: #d7d7d7;
  border: 1px solid transparent;
  transition: 0.22s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.page {
  position: relative;
  z-index: 1;
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.hero-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 22px;
  border-radius: var(--r-xl);
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
}

.hero-card.compact {
  margin-bottom: 18px;
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.brand-logo {
  width: 88px;
  height: 88px;
  object-fit: contain;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  box-shadow: 0 0 0 1px rgba(255, 0, 25, 0.12), 0 18px 50px rgba(0, 0, 0, 0.38);
  flex: 0 0 auto;
}

.brand-copy {
  min-width: 0;
}

.eyebrow {
  font-size: 0.76rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #8f8f8f;
  margin-bottom: 10px;
  white-space: nowrap;
}

.brand-title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  line-height: 0.95;
  font-weight: 950;
  letter-spacing: -0.08em;
  text-transform: lowercase;
  color: #fff;
  white-space: nowrap;
}

.handle {
  margin-top: 10px;
  color: var(--red);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.yt-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.035));
  color: #fff;
  border-radius: 999px;
  padding: 14px 18px;
  font-weight: 800;
  transition: 0.24s ease;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.yt-btn {
  background: linear-gradient(135deg, rgba(255, 0, 25, 0.16), rgba(255, 0, 25, 0.06));
  border-color: rgba(255, 0, 25, 0.16);
}

.yt-btn:hover,
.ghost-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 0, 25, 0.3);
  box-shadow: 0 16px 36px rgba(255, 0, 25, 0.08);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 22px 0 30px;
}

.stat {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.stat::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, rgba(255, 0, 25, 0.10), transparent 32%, transparent 68%, rgba(255, 0, 25, 0.06));
  pointer-events: none;
}

.stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(255, 0, 25, 0.16), rgba(255, 0, 25, 0.07));
  border: 1px solid rgba(255, 0, 25, 0.18);
  color: #fff;
  flex: 0 0 auto;
}

.stat-value {
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  font-weight: 950;
  letter-spacing: -0.06em;
  line-height: 1;
}

.stat-label {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 4px;
  letter-spacing: 0.02em;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 34px 0 18px;
}

.section-head h2 {
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  letter-spacing: -0.05em;
  line-height: 1;
}

.small-gap {
  margin-top: 30px;
}

.videos,
.feed {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.video-card,
.feed-card {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.028));
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.video-card:hover,
.feed-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 0, 25, 0.28);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

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

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.42s ease, filter 0.42s ease;
  filter: saturate(1.03) contrast(1.02);
}

.video-card:hover .thumb img,
.feed-card:hover .thumb img {
  transform: scale(1.05);
}

.badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  color: #fff;
  font-weight: 800;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.card-body {
  position: relative;
  padding: 16px 16px 18px;
  z-index: 1;
}

.card-title {
  font-size: 1rem;
  line-height: 1.42;
  font-weight: 850;
  letter-spacing: -0.025em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.meta {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.88rem;
}

.meta strong {
  color: var(--red);
  font-weight: 850;
}

.video-skel,
.feed-skel {
  min-height: 250px;
  border-radius: 26px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.045));
  background-size: 220% 100%;
  animation: shimmer 1.25s infinite linear;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.feed-skel {
  min-height: 190px;
}

@keyframes shimmer {
  0% {
    background-position: 220% 0;
  }
  100% {
    background-position: -220% 0;
  }
}

.empty {
  grid-column: 1 / -1;
  padding: 24px;
  border-radius: 22px;
  border: 1px dashed rgba(255, 255, 255, 0.13);
  color: #b0b0b0;
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
}

.icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
  color: inherit;
  flex: 0 0 auto;
}

.stat-icon svg,
.yt-btn svg,
.ghost-btn svg,
.nav-link svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.1;
}

.search-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 420px;
  min-width: 0;
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.035));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  transition: border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.search-wrap:focus-within {
  border-color: rgba(255, 0, 25, 0.32);
  box-shadow: 0 14px 36px rgba(255, 0, 25, 0.08);
  transform: translateY(-1px);
}

.search-icon {
  width: 18px;
  height: 18px;
  color: #9e9e9e;
  flex: 0 0 auto;
}

.search-wrap input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: #fff;
  font: inherit;
  min-width: 0;
}

.search-wrap input::placeholder {
  color: #8f8f8f;
}

.sort-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  min-width: 190px;
  padding: 14px 46px 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.035)),
    linear-gradient(45deg, transparent 50%, #fff 50%),
    linear-gradient(135deg, #fff 50%, transparent 50%);
  background-position:
    0 0,
    calc(100% - 22px) 50%,
    calc(100% - 16px) 50%;
  background-size:
    auto,
    6px 6px,
    6px 6px;
  background-repeat: no-repeat;
  color: #fff;
  outline: none;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  transition: border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.sort-select:hover,
.sort-select:focus {
  border-color: rgba(255, 0, 25, 0.32);
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(255, 0, 25, 0.08);
}

.sort-select option {
  background: #0b0b0b;
  color: #fff;
}

.toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin: 18px 0 22px;
  flex-wrap: wrap;
}

.library-grid {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 980px) {
  .videos,
  .feed,
  .stats,
  .library-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section-head,
  .hero-card {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .page,
  .nav-inner {
    width: min(100% - 28px, 1280px);
    padding: 20px 0 40px;
  }

  .hero-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-brand {
    width: 100%;
  }

  .brand-logo {
    width: 66px;
    height: 66px;
    border-radius: 20px;
  }

  .brand-title {
    white-space: normal;
    font-size: clamp(2.4rem, 12vw, 4rem);
  }

  .eyebrow,
  .handle {
    white-space: normal;
  }

  .yt-btn,
  .ghost-btn,
  .sort-select {
    width: 100%;
    justify-content: center;
  }

  .nav-inner {
    min-height: 68px;
    padding: 0;
  }

  .nav-links {
    width: 100%;
  }

  .nav-link {
    flex: 1;
    text-align: center;
  }

  .stats,
  .videos,
  .feed,
  .library-grid {
    grid-template-columns: 1fr;
  }

  .stat {
    padding: 20px;
  }

  .toolbar {
    gap: 10px;
  }

  .search-wrap,
  .sort-select {
    width: 100%;
  }

  .sort-select {
    min-width: 0;
    padding-right: 44px;
  }
}