:root {
  --bg: #0f0f10;
  --bg-soft: #18181a;
  --card: rgba(255, 255, 255, 0.08);
  --card-strong: rgba(255, 255, 255, 0.12);
  --text: #f7f2ea;
  --muted: #d5c8b8;
  --accent: #84bc34;
  --accent-soft: #c5eb45;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(132, 188, 52, 0.14), transparent 30%),
    linear-gradient(180deg, #171515 0%, #0b0b0c 55%, #111214 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 40;
  background: radial-gradient(circle at center, rgba(132, 188, 52, 0.05), rgba(8, 8, 9, 0.52));
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

body > * {
  transition: opacity 260ms ease, transform 260ms ease, filter 260ms ease;
}

body:not(.is-page-ready) > * {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(10px);
}

body.is-page-leaving::before {
  opacity: 1;
}

body.is-page-leaving > * {
  opacity: 0;
  transform: translateY(-14px) scale(0.985);
  filter: blur(12px);
}

img {
  display: block;
  width: 100%;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 2rem;
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  opacity: var(--hero-image-opacity, 1);
  background:
    linear-gradient(rgba(8, 8, 9, 0.35), rgba(8, 8, 9, 0.8)),
    radial-gradient(circle at 50% 40%, rgba(197, 235, 69, 0.14), transparent 19%),
    var(--hero-backdrop-image, url("/public/images/splashscreen/Fiery%20cosmic%20haze%20and%20embers.png"))
      center/cover;
  transform: scale(1.05);
}

.hero__backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 15, 16, 0.08), rgba(15, 15, 16, 0.65)),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.04) 0 1px,
      transparent 1px 120px
    );
  mix-blend-mode: screen;
}

.hero-watermark {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(247, 242, 234, 0.16);
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
}

.hero-mark {
  display: block;
  width: clamp(3.7rem, 6.6vw, 4.9rem);
  height: clamp(3.7rem, 6.6vw, 4.9rem);
  margin: 0 auto 0.7rem;
  border-radius: 999px;
  object-fit: cover;
  object-position: center;
  filter:
    drop-shadow(0 10px 22px rgba(0, 0, 0, 0.28))
    drop-shadow(0 0 18px rgba(197, 235, 69, 0.16));
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(900px, 100%);
  text-align: center;
}

.eyebrow {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.8rem;
  color: var(--accent-soft);
}

h1,
h2 {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  font-weight: 400;
  letter-spacing: 0.04em;
}

h1 {
  font-size: clamp(4rem, 15vw, 8rem);
  line-height: 0.92;
}

.hero__text,
.section-heading p {
  width: min(620px, 100%);
  margin: 1rem auto 0;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.7;
  color: var(--muted);
}

.typewriter {
  position: relative;
  display: inline-block;
  min-width: 12ch;
  color: var(--text);
  white-space: nowrap;
}

.typewriter::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 0.95em;
  margin-left: 0.12em;
  vertical-align: -0.08em;
  background: rgba(197, 235, 69, 0.9);
  animation: typewriterCaret 0.9s steps(1) infinite;
}

.hero-toolbar {
  display: flex;
  justify-content: flex-end;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  padding: 1.15rem 1.15rem 0;
  z-index: 12;
}

.hero-toolbar__controls {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(10, 10, 10, 0.16);
  backdrop-filter: blur(14px);
}

.timer-actions,
.timer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.timer-nav__link {
  min-height: 36px;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(247, 242, 234, 0.72);
  font: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease,
    transform 180ms ease;
}

.timer-nav__link:hover {
  transform: translateY(-1px);
  color: var(--text);
}

.timer-nav__link.is-active {
  background: rgba(132, 188, 52, 0.16);
  border-color: rgba(197, 235, 69, 0.34);
  color: var(--accent-soft);
}
.timer-status {
  color: rgba(247, 242, 234, 0.64);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.timer-status {
  margin-top: 0.9rem;
  margin-bottom: 0;
  text-align: center;
}

.countdown {
  margin: 1.4rem auto 0;
  padding: 1.25rem;
  width: min(760px, 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px;
  background: rgba(10, 10, 10, 0.38);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.countdown__segment {
  min-width: 0;
  flex: 1;
  padding: 1.25rem 1rem;
  border-radius: 24px;
  background: linear-gradient(180deg, var(--card-strong), rgba(255, 255, 255, 0.04));
}

.countdown__value {
  display: block;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(4rem, 12vw, 7rem);
  line-height: 0.9;
}

.countdown__label {
  display: block;
  margin-top: 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  font-size: 0.75rem;
}

.countdown__separator {
  margin-top: -1rem;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: rgba(255, 255, 255, 0.35);
}

.hero__button {
  margin-top: 1.75rem;
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1.4rem;
  font: inherit;
  font-weight: 700;
  color: #111608;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  cursor: pointer;
  box-shadow: 0 18px 35px rgba(132, 188, 52, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.hero__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 40px rgba(132, 188, 52, 0.34);
}

.hero__button--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: none;
}

.hero__button--ghost:hover {
  box-shadow: none;
  background: rgba(255, 255, 255, 0.11);
}

.home-link,
.back-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.76rem;
  transition: background 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.home-link:hover,
.back-to-top:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(197, 235, 69, 0.45);
}

.back-to-top--floating {
  position: fixed;
  right: clamp(1rem, 2vw, 2rem);
  bottom: clamp(1rem, 2vw, 2rem);
  z-index: 20;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.back-to-top--floating.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.videos {
  padding: 6rem clamp(1.25rem, 3vw, 3rem) 7rem;
}

.section-heading {
  margin: 0 auto 2.5rem;
  width: min(760px, 100%);
  text-align: center;
}

.category-nav {
  position: sticky;
  top: 1rem;
  z-index: 5;
  display: grid;
  gap: 0.8rem;
  width: min(1000px, 100%);
  margin: 0 auto 2.5rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(12, 12, 13, 0.72);
  backdrop-filter: blur(18px);
}

.category-nav__desktop {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.category-nav__mobile {
  display: none;
}

.category-nav__menu {
  position: relative;
}

.category-nav__toggle {
  width: 100%;
  min-height: 50px;
  padding: 0.95rem 3rem 0.95rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03)),
    rgba(15, 15, 16, 0.92);
  color: var(--text);
  font: inherit;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
  cursor: pointer;
  position: relative;
}

.category-nav__toggle::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 0.7rem;
  height: 0.7rem;
  border-right: 2px solid rgba(197, 235, 69, 0.9);
  border-bottom: 2px solid rgba(197, 235, 69, 0.9);
  transform: translateY(-65%) rotate(45deg);
  transition: transform 180ms ease;
}

.category-nav__menu.is-open .category-nav__toggle::after {
  transform: translateY(-35%) rotate(-135deg);
}

.category-nav__dropdown {
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 0;
  right: 0;
  display: grid;
  gap: 0.35rem;
  padding: 0.65rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(14, 14, 15, 0.96);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
  max-height: min(70vh, calc(100vh - 8rem));
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 12;
}

.category-nav__menu.is-open .category-nav__dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.category-nav__dropdown-link {
  display: block;
  padding: 0.85rem 0.9rem;
  border-radius: 14px;
  color: var(--muted);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.76rem;
  transition: background 180ms ease, color 180ms ease;
}

.category-nav__dropdown-link:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.category-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.category-nav__link:hover {
  transform: translateY(-1px);
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.category-nav__link.is-active,
.category-nav__link[aria-current="page"] {
  color: #111608;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
}

h2 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: 10px;
  gap: 1.2rem;
  width: min(1500px, 100%);
  margin: 0 auto;
  align-items: start;
}

.video-card {
  position: relative;
  width: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.video-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.38);
}

.video-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.video-card__media {
  position: relative;
  aspect-ratio: var(--ratio, 4 / 5);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  isolation: isolate;
}

.video-card__media-fill {
  position: absolute;
  inset: -8%;
  background-image: var(--card-image);
  background-position: center;
  background-size: cover;
  filter: blur(8px);
  opacity: 0.8;
  transform: scale(1.03);
}

.video-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 15, 16, 0.02), rgba(15, 15, 16, 0.08));
  z-index: 1;
  pointer-events: none;
}

.video-card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 2;
}

.video-card__body {
  padding: 1rem 1rem 1.1rem;
}

.video-card__tag {
  display: inline-block;
  margin-bottom: 0.55rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(132, 188, 52, 0.14);
  color: var(--accent-soft);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.video-card__tag-link {
  display: inline-block;
  color: inherit;
  text-decoration: none;
}

.video-card__title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--text);
}

.video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.video-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: min(1500px, 100%);
  margin: 1.5rem auto 0;
  min-height: 64px;
  opacity: 1;
  transition: opacity 180ms ease;
}

.video-loader[hidden] {
  display: flex;
  opacity: 0;
  pointer-events: none;
}

.video-loader span {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 999px;
  background: rgba(197, 235, 69, 0.75);
  animation: loaderPulse 1.2s infinite ease-in-out;
}

.video-loader span:nth-child(2) {
  animation-delay: 0.15s;
}

.video-loader span:nth-child(3) {
  animation-delay: 0.3s;
}

.video-sentinel {
  width: 100%;
  height: 1px;
}

.category-hero {
  min-height: 48vh;
}

.category-page-title {
  font-size: clamp(3.2rem, 10vw, 6rem);
}

.category-page-copy {
  max-width: 720px;
}

.hero--404 {
  min-height: 100vh;
}

.hero__backdrop--404 {
  background:
    linear-gradient(180deg, rgba(7, 8, 10, 0.3), rgba(7, 8, 10, 0.82)),
    radial-gradient(circle at 50% 30%, rgba(132, 188, 52, 0.24), transparent 18%),
    radial-gradient(circle at 18% 18%, rgba(109, 176, 54, 0.16), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(197, 235, 69, 0.12), transparent 20%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(180deg, #1c1413 0%, #0d0e12 48%, #08090b 100%);
}

.hero__backdrop--404::before {
  content: "404";
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  font-family: "Bebas Neue", sans-serif;
  font-size: min(46vw, 34rem);
  line-height: 0.8;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.07);
  text-shadow: 0 0 42px rgba(132, 188, 52, 0.12);
}

.hero__content--404 {
  width: min(860px, 100%);
}

.hero__content--404 h1 {
  font-size: clamp(3.8rem, 13vw, 7.4rem);
}

.hero__content--404 .hero__text {
  width: min(640px, 100%);
}

.hero--404 .countdown {
  width: min(720px, 100%);
  background: rgba(9, 10, 12, 0.46);
}

.error-page {
  padding: 0 clamp(1.25rem, 3vw, 3rem) 7rem;
  margin-top: -4.5rem;
  position: relative;
  z-index: 2;
}

.error-card {
  width: min(820px, 100%);
  margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03)),
    rgba(11, 12, 14, 0.9);
  box-shadow: var(--shadow);
  text-align: center;
}

.error-card p {
  margin: 1rem auto 0;
  max-width: 620px;
  color: var(--muted);
  line-height: 1.75;
}

.error-card__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.video-page {
  padding: clamp(1.25rem, 3vw, 3rem) clamp(1.25rem, 3vw, 3rem) 7rem;
}

.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

.auth-card {
  width: min(560px, 100%);
  padding: 1.5rem;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
}

.auth-card__title {
  font-size: clamp(2.6rem, 8vw, 4.2rem);
}

.auth-card__copy {
  margin: 0.8rem 0 1.2rem;
  color: var(--muted);
  line-height: 1.7;
}

.setup-secret {
  margin-bottom: 1.1rem;
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.setup-secret p {
  margin: 0 0 0.75rem;
}

.setup-secret code {
  display: inline-block;
  padding: 0.2rem 0.45rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.setup-secret__uri {
  min-height: 120px;
}

.setup-secret__qr {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 236px;
  min-height: 236px;
  padding: 0.5rem;
  margin-bottom: 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.setup-secret__qr img {
  width: 220px;
  height: 220px;
}

.setup-secret__hint {
  color: var(--muted);
  line-height: 1.7;
}

.admin-page {
  padding: clamp(1.25rem, 3vw, 3rem) clamp(1.25rem, 3vw, 3rem) 7rem;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  margin: 0 auto 1.5rem;
}

.admin-tabs__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.admin-tabs__link.is-active,
.admin-tabs__link[aria-current="page"] {
  color: #111608;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
}

.admin-shell {
  width: min(1480px, 100%);
  margin: 0 auto;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(340px, 560px) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.admin-grid--wide {
  grid-template-columns: minmax(360px, 1.15fr) minmax(320px, 0.85fr);
}

.admin-panel {
  padding: 1.35rem;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
}

.admin-panel--separated {
  margin-top: 1.6rem;
}

.admin-panel__header {
  margin-bottom: 1.2rem;
}

.admin-panel__title {
  font-size: clamp(2rem, 5vw, 3rem);
}

.admin-panel__copy {
  margin: 0.8rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.admin-settings-group + .admin-settings-group {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-settings-group__header {
  margin-bottom: 1rem;
}

.admin-settings-group__title {
  font-size: 1.2rem;
}

.admin-notice {
  margin-bottom: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  line-height: 1.6;
}

.admin-notice p {
  margin: 0;
}

.admin-notice p + p {
  margin-top: 0.45rem;
}

.admin-notice--success {
  background: rgba(111, 214, 140, 0.12);
  border-color: rgba(111, 214, 140, 0.28);
  color: #c6f0cf;
}

.admin-notice--error {
  background: rgba(255, 120, 120, 0.12);
  border-color: rgba(255, 120, 120, 0.24);
  color: #ffd6d6;
}

.admin-form {
  display: grid;
  gap: 1rem;
}

.admin-filters {
  display: grid;
  grid-template-columns: minmax(220px, 1.3fr) repeat(2, minmax(160px, 0.8fr)) auto;
  gap: 0.9rem;
  align-items: end;
  margin-bottom: 1rem;
}

.admin-field {
  display: grid;
  gap: 0.45rem;
}

.admin-field__label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.admin-field__control {
  width: 100%;
  min-height: 52px;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
}

.admin-field__control--textarea {
  min-height: 144px;
  resize: vertical;
}

.admin-field__control--small {
  min-height: 100px;
}

.admin-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--muted);
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.admin-actions--toolbar {
  margin-bottom: 1rem;
}

.admin-actions form {
  margin: 0;
}

.admin-actions .hero__button,
.admin-actions .home-link {
  margin-top: 0;
}

.admin-seo-preview {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-seo-preview__header {
  margin-bottom: 0.85rem;
}

.admin-seo-preview__title {
  font-size: 1.15rem;
}

.admin-seo-card {
  padding: 1rem 1.05rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-seo-card--info {
  margin-bottom: 1rem;
}

.admin-seo-card__path {
  margin: 0 0 0.45rem;
  color: #9dd3a4;
  font-size: 0.82rem;
  line-height: 1.5;
  word-break: break-word;
}

.admin-seo-card__meta-title {
  margin: 0;
  color: #8ab4f8;
  font-size: 1rem;
  line-height: 1.45;
}

.admin-seo-card__description {
  margin: 0.45rem 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.admin-seo-list {
  display: grid;
  gap: 0.85rem;
  margin: 1rem 0 0;
}

.admin-seo-list dt {
  margin: 0 0 0.3rem;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.admin-seo-list dd {
  margin: 0;
  color: var(--text);
  line-height: 1.65;
  word-break: break-word;
}

.admin-keyword-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.admin-keyword {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1;
}

.admin-credentials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.admin-credentials__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-credentials__label {
  font-size: 0.9rem;
  color: var(--text);
}

.admin-youtube-check {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1rem 1.05rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-youtube-check__media {
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.admin-youtube-check__image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.admin-youtube-check__body {
  display: grid;
  gap: 0.6rem;
}

.admin-youtube-check__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

.admin-youtube-check__actions form {
  margin: 0;
}

.admin-youtube-check__status {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.admin-youtube-check__title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}

.admin-youtube-check__meta {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  word-break: break-word;
}

.admin-table-wrap {
  overflow: auto;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.admin-table th,
.admin-table td {
  padding: 0.95rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  vertical-align: top;
}

.admin-table__meta {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.admin-table__meta--prewrap {
  white-space: pre-wrap;
}

.admin-table__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.home-link--small {
  min-height: 34px;
  padding: 0.45rem 0.7rem;
  font-size: 0.68rem;
}

.home-link--danger {
  border: 0;
  cursor: pointer;
  background: rgba(255, 120, 120, 0.14);
  color: #ffd6d6;
}

.admin-table th {
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}

.admin-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-status--button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.admin-status.is-active {
  background: rgba(111, 214, 140, 0.14);
  color: #bce7c6;
}

.admin-status.is-draft {
  background: rgba(132, 188, 52, 0.14);
  color: var(--accent-soft);
}

.video-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.8fr);
  gap: 2rem;
  width: min(1400px, 100%);
  margin: 0 auto;
  align-items: start;
}

.video-main {
  display: grid;
  gap: 1.25rem;
  align-content: start;
}

.video-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
}

.video-player__embed {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: #000;
}

.video-player__iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-player__media {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.video-player__play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.35rem;
  border: 0;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.72);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  transition: transform 180ms ease, background 180ms ease;
}

.video-player__play:hover {
  transform: translate(-50%, -52%);
  background: rgba(18, 18, 18, 0.82);
}

.video-player__play-icon {
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid var(--accent-soft);
}

.video-player.is-playing .video-player__media,
.video-player.is-playing .video-player__play {
  display: none;
}

.video-sidebar {
  display: grid;
  gap: 1.2rem;
  align-content: start;
}

.video-panel {
  padding: 1.3rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
}

.video-panel__eyebrow {
  margin: 0 0 0.65rem;
  color: var(--accent-soft);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
}

.video-panel__title {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.45;
}

.video-panel__text {
  margin: 0.9rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.video-keyword-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.video-keyword-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(247, 242, 234, 0.78);
  text-decoration: none;
  letter-spacing: 0.04em;
  font-size: 0.68rem;
  line-height: 1;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease,
    transform 180ms ease;
}

.video-keyword-link:hover {
  transform: translateY(-1px);
  background: rgba(132, 188, 52, 0.1);
  border-color: rgba(197, 235, 69, 0.24);
  color: var(--text);
}

.video-meta {
  display: grid;
  gap: 0.8rem;
}

.video-meta__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.video-meta__item:first-child {
  padding-top: 0;
  border-top: 0;
}

.video-meta__label {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
}

.video-meta__value {
  font-weight: 700;
}

.video-share-panel {
  padding: 1.15rem 1.2rem 1rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
}

.video-share-panel__header {
  margin-bottom: 0.95rem;
}

.video-share-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.video-share-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.3rem;
  height: 3.3rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025)),
    rgba(17, 18, 20, 0.94);
  color: var(--text);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.video-share-icon:hover {
  transform: translateY(-1px);
  border-color: rgba(197, 235, 69, 0.34);
  background:
    linear-gradient(180deg, rgba(132, 188, 52, 0.16), rgba(132, 188, 52, 0.07)),
    rgba(17, 18, 20, 0.96);
  color: var(--accent-soft);
}

.video-share-icon__glyph {
  font-size: 1.2rem;
  line-height: 1;
}

.video-share-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.7rem;
  margin-top: 1rem;
}

.video-share-copy__field {
  min-height: 3rem;
  display: flex;
  align-items: center;
  padding: 0.8rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.video-share-copy__button {
  min-height: 3rem;
  padding: 0.78rem 1.05rem;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  color: #111608;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
  box-shadow: 0 16px 28px rgba(132, 188, 52, 0.22);
}

.video-share-copy__button:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 34px rgba(132, 188, 52, 0.28);
}

.video-share__status {
  min-height: 1.3rem;
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.videos--blog-preview {
  padding-top: 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.blog-grid--preview {
  margin-top: 2rem;
}

.blog-card {
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(33, 33, 36, 0.98), rgba(23, 23, 24, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.28);
}

.blog-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.blog-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.blog-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card__body {
  padding: 1.1rem 1.1rem 1.2rem;
}

.blog-card__title {
  margin: 0.5rem 0 0;
  font-size: 1.5rem;
  line-height: 1;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.03em;
}

.blog-card__excerpt {
  margin: 0.6rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.blog-empty {
  grid-column: 1 / -1;
  padding: 1.6rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  text-align: center;
}

.blog-preview__actions {
  margin-top: 1.6rem;
  display: flex;
  justify-content: center;
}

.blog-post {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  gap: 1.4rem;
}

.blog-post__media {
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.28);
}

.blog-post__image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-post__content {
  padding: 1.6rem 1.8rem;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(33, 33, 36, 0.98), rgba(23, 23, 24, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.28);
}

.blog-post__content p {
  margin: 0 0 1rem;
  line-height: 1.8;
  color: var(--text);
}

.blog-post__content p:last-child {
  margin-bottom: 0;
}

.blog-post__share {
  max-width: 920px;
  margin: 1.35rem auto 0;
}

.admin-actions--compact {
  gap: 0.45rem;
  flex-wrap: wrap;
}

.site-footer {
  margin-top: 2.5rem;
  padding: 1.8rem 1rem 2.8rem;
}

.site-footer__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 2rem 1.6rem 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(21, 21, 24, 0.96), rgba(16, 16, 18, 0.98));
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 0.72fr));
  gap: 1.8rem;
  align-items: start;
}

.site-footer__brand {
  max-width: 28rem;
}

.site-footer__brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--text);
  text-decoration: none;
  font-family: "Bebas Neue", sans-serif;
  font-size: 2rem;
  letter-spacing: 0.04em;
}

.site-footer__brand-mark img {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  object-fit: cover;
}

.site-footer__copy {
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.8;
  max-width: 30rem;
}

.site-footer__column {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.site-footer__heading {
  margin: 0 0 0.7rem;
  color: var(--text);
  font-weight: 700;
  font-size: 1rem;
}

.site-footer__text-link,
.site-footer__bottom-link {
  color: var(--muted);
  text-decoration: none;
  line-height: 1.7;
  transition: color 180ms ease, transform 180ms ease;
}

.site-footer__text-link:hover,
.site-footer__bottom-link:hover,
.site-footer__brand-mark:hover {
  color: var(--accent);
}

.site-footer__bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.site-footer__meta {
  margin: 0;
  color: rgba(214, 210, 201, 0.58);
  font-size: 0.92rem;
}

.site-footer__bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.legal-page {
  min-height: 40vh;
}

@keyframes loaderPulse {
  0%,
  80%,
  100% {
    transform: scale(0.65);
    opacity: 0.3;
  }

  40% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes typewriterCaret {
  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

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

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

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

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

@media (max-width: 720px) {
  .hero {
    min-height: 100svh;
    padding: 4.8rem 1rem 2.2rem;
  }

  .timer-nav {
    gap: 0.5rem;
  }

  .timer-nav__link {
    min-height: 29px;
    padding: 0.38rem 0.62rem;
    font-size: 0.58rem;
  }

  .countdown {
    gap: 0.45rem;
    padding: 0.8rem;
    border-radius: 24px;
  }

  .hero-toolbar {
    padding: 1.2rem 0.85rem 0;
    justify-content: center;
  }

  .hero-watermark {
    bottom: 0.95rem;
    font-size: 1.1rem;
    letter-spacing: 0.16em;
  }

  .hero-mark {
    width: 3.7rem;
    height: 3.7rem;
    margin-top: 0.45rem;
    margin-bottom: 0.8rem;
  }

  .hero-toolbar__controls {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
  }

  .timer-actions {
    gap: 0.55rem;
    margin-top: -0.35rem;
  }

  .hero__button {
    margin-top: 1.05rem;
    padding: 0.56rem 0.8rem;
    font-size: 0.72rem;
  }

  .countdown__segment {
    padding: 0.8rem 0.3rem;
    border-radius: 18px;
  }

  .countdown__label {
    letter-spacing: 0.1em;
    font-size: 0.62rem;
  }

  .countdown__separator {
    font-size: 1.8rem;
    margin-top: -0.3rem;
  }

  .videos {
    padding-top: 4rem;
  }

  .category-nav {
    top: 0.75rem;
    border-radius: 24px;
    padding: 0.9rem;
  }

  .category-nav__desktop {
    display: none;
  }

  .category-nav__mobile {
    display: block;
  }

  .category-nav__dropdown {
    max-height: min(68vh, calc(100vh - 7rem));
  }

  .category-nav__link {
    white-space: nowrap;
  }

  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
  }

  .video-layout {
    grid-template-columns: 1fr;
  }

  .video-share-panel {
    grid-column: auto;
    margin-top: 0;
  }

  .video-share-copy {
    grid-template-columns: 1fr;
  }

  .video-share-copy__button {
    width: 100%;
  }

  .error-page {
    margin-top: -2.5rem;
    padding-bottom: 5rem;
  }

  .error-card__actions {
    flex-direction: column;
  }

  .error-card__actions > * {
    width: 100%;
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-filters {
    grid-template-columns: 1fr;
  }

  .video-card {
    border-radius: 22px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-post__content {
    padding: 1.2rem;
  }

  .site-footer__inner {
    padding: 1.5rem 1.2rem 1.1rem;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
