:root {
  --canvas-bg: #f7f7f7;
  --color-dark: #1a1c1c;
  --color-white: #ffffff;
  --color-accent: #FFD700;
  --color-muted: #666666;

  --border-thick: 4px solid var(--color-dark);
  --border-thin: 2px solid var(--color-dark);
  --shadow-flat: 4px 4px 0px 0px var(--color-dark);
  --shadow-deep: 8px 8px 0px 0px var(--color-dark);

  --wobbly-radius-a: 255px 15px 225px 15px / 15px 225px 15px 255px;
  --wobbly-radius-b: 15px 225px 15px 255px / 255px 15px 225px 15px;

  --font-head: 'Bricolage Grotesque', sans-serif;
  --font-body: 'Public Sans', sans-serif;
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x: ;
  --tw-pan-y: ;
  --tw-pinch-zoom: ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position: ;
  --tw-gradient-via-position: ;
  --tw-gradient-to-position: ;
  --tw-ordinal: ;
  --tw-slashed-zero: ;
  --tw-numeric-figure: ;
  --tw-numeric-spacing: ;
  --tw-numeric-fraction: ;
  --tw-ring-inset: ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
}

* {
  margin: 0;
  padding: 0;
  -moz-box-sizing: border-box;
       box-sizing: border-box;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.ad-container {
  margin: 16px auto;
}

.ad-container[data-ad-index="0"] {
  margin-top: 0;
}

.gptslot {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
     -moz-box-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  min-height: 250px;
  max-width: 300px;
  margin: 0 auto;
}

.ad-label {
  width: 100%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
     -moz-box-pack: center;
          justify-content: center;
  -webkit-box-align: start;
  -webkit-align-items: start;
     -moz-box-align: start;
          align-items: start;
  position: relative;
  padding: 5px 0px 2px 0px;
  font-size: 14px;
  color: rgb(73, 73, 73);
}

body {
  background-color: var(--canvas-bg);
  color: var(--color-dark);
  font-family: var(--font-body);
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
     -moz-box-orient: vertical;
     -moz-box-direction: normal;
          flex-direction: column;
  min-height: 100vh;
}

.dr-header {
  width: 100%;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--color-white);
  border-bottom: var(--border-thin);
  padding: 1rem 2rem;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
     -moz-box-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
}

.dr-logo {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-dark);
  text-transform: uppercase;
  -webkit-transform: rotate(-1deg);
          transform: rotate(-1deg);
  text-decoration: none;
}

.dr-search-box {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  background-color: #ffffff;
  border: 2px solid #1a1c1c;
  overflow: hidden;
  position: relative;
  -webkit-transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  width: 240px;
  height: 38px;
}

.dr-search-box.dr-search-expanded {
  width: 320px;
  background-color: #ffffff;
}

.dr-search-box input {
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  padding: 0 12px;
  font-family: 'Public Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #1a1c1c;
  background: transparent;
}

.dr-search-box input::-webkit-input-placeholder {
  color: #a0a0a0;
  font-weight: 500;
}

.dr-search-box input::-moz-placeholder {
  color: #a0a0a0;
  font-weight: 500;
}

.dr-search-box input::placeholder {
  color: #a0a0a0;
  font-weight: 500;
}

.dr-search-box button {
  width: 44px;
  height: 100%;
  color: #000;
  background: transparent;
  border: none;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
     -moz-box-pack: center;
          justify-content: center;
  cursor: pointer;
  -webkit-flex-shrink: 0;
          flex-shrink: 0;
  -webkit-transition: background-color 0.15s, color 0.15s;
  transition: background-color 0.15s, color 0.15s;
}

.dr-search-box button:hover {
  background-color: #FFD700;
  color: #1a1c1c;
}

.dr-search-box button .material-symbols-outlined {
  font-size: 20px;
  font-weight: bold;
}

.dr-footer {
  margin-top: auto;
  background-color: var(--color-accent);
  border-top: var(--border-thick);
  padding: 3rem 2rem;
}

.footer-content {
  max-width: 1440px;
  margin: 0 auto;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
     -moz-box-orient: vertical;
     -moz-box-direction: normal;
          flex-direction: column;
  gap: 1.5rem;
}

.footer-brand {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

@media (min-width: 768px) {
  .footer-content {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
       -moz-box-orient: horizontal;
       -moz-box-direction: normal;
            flex-direction: row;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
       -moz-box-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
       -moz-box-align: center;
            align-items: center;
  }
}

.footer-nav {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  gap: 1.5rem;
  font-weight: 700;
}

.footer-nav a {
  color: var(--color-dark);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.footer-nav a:hover {
  border-bottom-color: var(--color-dark);
}

.copyright-badge {
  background: var(--color-white);
  border: var(--border-thin);
  padding: 4px 8px;
  font-size: 0.75rem;
  font-weight: bold;
  -webkit-transform: rotate(2deg);
          transform: rotate(2deg);
  display: inline-block;
  box-shadow: 2px 2px 0 0 var(--color-dark);
}

.main-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  width: 100%;
}

.section-wrapper {
  margin-bottom: 4.5rem;
}

.section-title {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-title h2 {
  font-family: var(--font-head);
  font-size: 2.25rem;
  font-weight: 900;
  text-transform: uppercase;
  border-bottom: 4px solid var(--color-accent);
  display: inline-block;
  padding-bottom: 0.5rem;
  white-space: nowrap;
}

.text-deco {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
     -moz-box-flex: 1;
          flex: 1;
  height: 1px;
  border-top: 1px dashed #7e7576;
}

.tags-grid-flow {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-flex-wrap: wrap;
          flex-wrap: wrap;
  gap: 1rem;
}

#container-tags {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-flex-wrap: wrap;
          flex-wrap: wrap;
  gap: 12px;
  padding: 10px 0;
}

.vtx-nav-drop-item {
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -moz-inline-box;
  display: inline-flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
     -moz-box-pack: center;
          justify-content: center;
  padding: 8px 20px;
  background-color: #ffffff;
  color: #1a1c1c;
  font-family: 'Bricolage Grotesque', 'Public Sans', sans-serif;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 2px solid #1a1c1c;
  border-radius: 4px;
  box-shadow: 3px 3px 0px 0px #1a1c1c;
  cursor: pointer;
  -webkit-transition: all 0.15s ease-in-out;
  transition: all 0.15s ease-in-out;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  -webkit-transform: rotate(1deg);
          transform: rotate(1deg);
}

#container-tags .vtx-nav-drop-item:nth-child(even) {
  -webkit-transform: rotate(-3deg);
          transform: rotate(-3deg);
}

#container-tags .vtx-nav-drop-item:nth-child(even):hover {
  -webkit-transform: rotate(0);
          transform: rotate(0);
}

#container-tags .vtx-nav-drop-item:nth-child(odd):hover {
  -webkit-transform: rotate(0);
          transform: rotate(0);
}

.vtx-nav-drop-item:hover,
.vtx-nav-drop-item.active {
  background-color: #FFD700;
  -webkit-transform: translate(1px, 1px);
          transform: translate(1px, 1px);
  box-shadow: 2px 2px 0px 0px #1a1c1c;
}

.vtx-nav-drop-item:active {
  -webkit-transform: translate(3px, 3px);
          transform: translate(3px, 3px);
  box-shadow: 0px 0px 0px 0px #1a1c1c;
}

.grid-layout-6 {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.5rem;
}

.grid-layout-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.neo-card {
  background-color: var(--color-white);
  border: var(--border-thick);
  box-shadow: var(--shadow-flat);
  cursor: pointer;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
     -moz-box-orient: vertical;
     -moz-box-direction: normal;
          flex-direction: column;
  position: relative;
  -webkit-transition: box-shadow 0.2s, -webkit-transform 0.2s;
  transition: box-shadow 0.2s, -webkit-transform 0.2s;
  transition: transform 0.2s, box-shadow 0.2s;
  transition: transform 0.2s, box-shadow 0.2s, -webkit-transform 0.2s;
  overflow: hidden;
}

.neo-card:nth-child(even) {
  border-radius: var(--wobbly-radius-a);
}

.neo-card:nth-child(odd) .duration-top-right {
  -webkit-transform: rotate(2deg);
          transform: rotate(2deg);
}

.neo-card:nth-child(odd) {
  border-radius: var(--wobbly-radius-b);
}

.neo-card:hover {
  -webkit-transform: translate(-4px, -4px);
          transform: translate(-4px, -4px);
  box-shadow: var(--shadow-deep);
  z-index: 10;
}

.card-media-box {
  position: relative;
  width: 100%;
  aspect-ratio: 0.8;
  background: #e5e7eb;
  overflow: hidden;
}

.card-media-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.duration-top-right {
  position: absolute;
  top: 8px;
  right: 8px;
  background-color: var(--color-accent);
  color: var(--color-dark);
  font-family: monospace;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 8px;
  z-index: 2;
  -webkit-transform: rotate(-2deg);
          transform: rotate(-2deg);
  box-shadow: 2px 2px 0 0 var(--color-dark);
}

.card-meta-box {
  padding: 1rem;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
     -moz-box-orient: vertical;
     -moz-box-direction: normal;
          flex-direction: column;
  -webkit-box-flex: 1;
  -webkit-flex-grow: 1;
     -moz-box-flex: 1;
          flex-grow: 1;
  gap: 0.5rem;
}

.video-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  height: 39px !important;
  overflow: hidden;
}

.video-category {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-muted);
  text-transform: uppercase;
}

.card-action-bar {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
     -moz-box-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  margin-top: auto;
  padding-top: 0.5rem;
}

.play-icon-btn {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
     -moz-box-pack: center;
          justify-content: center;
  border: 2px solid var(--color-dark);
}

.play-icon-btn::after {
  content: '';
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid var(--color-dark);
  margin-left: 2px;
}

.text-only-card {
  background-color: var(--color-white);
  min-height: 160px;
  -webkit-box-pack: start;
  -webkit-justify-content: flex-start;
     -moz-box-pack: start;
          justify-content: flex-start;
  border-radius: var(--wobbly-radius-a) !important;
}

.text-card-header {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
     -moz-box-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  margin-bottom: 0.5rem;
  -webkit-transform: rotate(-1deg);
          transform: rotate(-1deg);
}

.inline-duration-badge,
.text-only-card .video-category {
  background-color: var(--color-accent);
  color: var(--color-dark);
  font-family: monospace;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 6px;
  border: 2px solid var(--color-dark);
}

.watch-now-btn {
  width: 98%;
  color: var(--color-dark);
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: bold;
  border-radius: 4px;
  text-transform: uppercase;
  text-align: center;
  border: 2px solid var(--color-dark);
  -webkit-transform: rotate(-1deg);
          transform: rotate(-1deg);
  white-space: nowrap;
}

.text-only-card:hover .watch-now-btn {
  background-color: var(--color-accent);
  color: var(--color-dark);
}

.featured-split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .featured-split-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.featured-column-box {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
     -moz-box-orient: vertical;
     -moz-box-direction: normal;
          flex-direction: column;
  gap: 1.25rem;
}

.text-style-item {
  border: 1px solid var(--color-dark);
  padding: 1.1rem 1rem 2rem;
  position: relative;
  background-color: var(--color-white);
  -webkit-transform: rotate(-1deg);
          transform: rotate(-1deg);
}

.text-style-item:nth-child(-n+3) {
  grid-column: span 2;
}

.text-style-item:nth-child(odd) {
  -webkit-transform: rotate(1deg);
          transform: rotate(1deg);
}

.text-style-item:hover {
  background-color: #dedede;
  -webkit-transform: rotate(0);
          transform: rotate(0);
  cursor: pointer;
}

.video-tags {
  position: absolute;
  top: -9px;
  left: 8px;
  background-color: var(--color-accent);
  color: var(--color-dark);
  font-family: monospace;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 6px;
  border: 1px solid var(--color-dark);
}

@media (max-width: 900px) {
  .main-container {
    padding: 2rem 1rem;
  }

  .grid-layout-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-layout-6 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .section-title h2 {
    font-size: 1.5rem;
    overflow: hidden;
  }
}

@media (max-width: 480px) {
  .footer-brand {
    -webkit-flex-wrap: wrap;
            flex-wrap: wrap;
  }

  .dr-header {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
            flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
       -moz-box-align: start;
            align-items: flex-start;
  }

  .dr-search-box,
  .dr-search-box.dr-search-expanded {
    width: 100%;
  }

  .grid-layout-4,
  .grid-layout-6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .card-media-box {
    aspect-ratio: auto;
    height: 240px;
  }

  .featured-split-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .text-style-item:nth-child(-n+3) {
    grid-column: auto;
  }

  .footer-content {
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
       -moz-box-align: start;
            align-items: flex-start;
    gap: 2rem;
  }

  .footer-nav {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
       -moz-box-orient: vertical;
       -moz-box-direction: normal;
            flex-direction: column;
    gap: 1rem;
  }

  #container-tags {
    max-height: 233px;
    overflow: auto;
  }
}
#container-trending .card-media-box,
#container-most-liked .neo-card:nth-child(-n+6) .card-media-box {
    aspect-ratio: 0.7;
}

#container-popular .card-media-box,
#container-most-liked .neo-card:nth-child(n+6) .card-media-box {
    aspect-ratio: 1;
}

#container-most-liked .neo-card:nth-child(n+6) .card-media-box {
    aspect-ratio: 1;
}

#container-editors-choice .play-icon-btn {
    margin-left: auto;
    border: none;
}

@media (max-width: 480px) {

    #container-trending .neo-card:nth-child(n+7),
    #container-popular .neo-card:nth-child(n+9),
    #container-most-liked .neo-card:nth-child(n+9) {
        display: none;
    }
}
