* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #121212;
  color: #e8eaed;
  font-family: Roboto, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  overflow-x: hidden;
}
.site-header {
  background: #121212;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: hidden;
}
.site-topbar {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.brand-block {
  display: flex;
  align-items: center;
}
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: -0.03em;
}
.brand-logo-a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #0799ff, #21d4fd);
  color: #121212;
  font-size: 1.2rem;
}
.brand-logo-text {
  font-size: 1.25rem;
  color: #ffffff;
}
.search-container {
  flex: 1 1 350px;
  max-width: 640px;
}
.search-input {
  width: 100%;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  padding: 0 1rem;
  background: #181818;
  color: #fff;
}
.search-input::placeholder {
  color: #7e8187;
}
.menu-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.mobile-menu {
  display: none;
}
.nav-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: background .2s ease;
}
.nav-link:hover {
  background: rgba(33,212,253,0.15);
}
.tags-top {
  display: flex;
  justify-content: flex-start;
  overflow-x: auto;
  padding-bottom: 0.75rem;
}
.tags-ytb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tags-ytb li {
  display: inline-flex;
}
.tags-ytb li a {
  color: #fff;
  text-decoration: none;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  transition: background .2s ease, color .2s ease;
  font-size: 0.9rem;
}
.tags-ytb li.active a,
.tags-ytb li a:hover {
  background: linear-gradient(90deg, #0799ff, #21d4fd);
  color: #121212;
}
.main-container {
  max-width: 1920px;
  position: relative;
  display: block;
  margin: auto;
  padding: 0;
  clear: both;
}
.main-wrapper {
  width: 100%;
  float: left;
  margin: auto;
  position: relative;
}
.all_posts .row,
.widget-content .row {
  margin: 0 -10px;
}
.col-md-3 {
  padding: 0 10px 20px 10px;
  width: calc(25% - 3px);
  display: inline-block;
  vertical-align: top;
  position: relative;
}
.card {
  position: relative;
  display: block;
  background: #181818;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
}
.card-header {
  position: relative;
}
.featured-image-link {
  display: block;
  width: 100%;
  height: 100%;
}
.card-header .featured-image {
  display: flex;
  position: relative;
  padding-bottom: 56.25%;
}
.featured-image-container {
  background-color: rgba(0,0,0,0.8);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  object-fit: cover;
}
.card-header .demo {
  opacity: 0;
  transition: .5s ease;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
}
.card:hover .card-header .demo {
  opacity: 1;
}
.card-header .featured-image:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0,0,0,0.35);
  z-index: 1;
}
.card-header .demo a {
  position: relative;
  color: #ffffff;
  font-size: 13px;
  display: inline-block;
  padding: 8px 14px;
  border-radius: 4px;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.18);
}
.card-header .demo a.preview {
  background: #2ac4ea;
  border-color: #2ac4ea;
}
.card-header .demo a.preview:hover {
  background: #1d9fcb;
}
.content {
  padding: 18px;
}
.content .meta {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-bottom: 10px;
  font-size: 12px;
  color: rgba(255,255,255,.6);
}
.content .meta .date {
  font-size: 14px;
}
.title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}
.title a {
  color: #ffffff;
  text-decoration: none;
}
.title a:hover {
  color: #21d4fd;
}
.card-bottom {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 15px;
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #21d4fd;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #121212;
  font-size: 0.85rem;
  font-weight: 700;
}
.channel {
  color: rgba(255,255,255,.8);
  font-size: 0.9rem;
}
.home-page {
  padding-top: 20px;
}
@media (max-width: 1199px) {
  .col-md-3 {
    width: calc(50% - 3px);
  }
}
@media (max-width: 767px) {
  .site-topbar {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    min-width: 0;
  }
  .brand-block,
  .menu-actions {
    flex: 0 0 auto;
  }
  .search-container {
    flex: 1 1 100%;
    order: 2;
    margin-top: 0.5rem;
  }
  .menu-actions {
    order: 1;
    justify-content: flex-end;
    width: auto;
    gap: 0.5rem;
  }
  .site-topbar .search-input {
    width: 100%;
    min-width: 0;
  }
  .col-md-3 {
    width: 100%;
  }
  .menu-toggle {
    display: inline-flex;
    margin-left: 0.5rem;
    flex: 0 0 auto;
  }
  .mobile-menu {
    display: none;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.95);
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  }
  .mobile-menu.open {
    display: flex;
  }
  .mobile-menu .nav-link,
  .mobile-menu .btn {
    width: 100%;
    justify-content: flex-start;
    min-width: 0;
    padding: 0.9rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: #fff;
  }
  .mobile-menu .nav-link:hover,
  .mobile-menu .btn:hover {
    background: rgba(255, 255, 255, 0.14);
  }
  .menu-actions > .nav-link,
  .menu-actions > .btn:not(.menu-toggle) {
    display: none;
  }
}
.video-card,
.playlist-box,
.content-box,
.suggest-card,
.post-item,
.post-video,
.post-body,
.post-button-container,
.post-footer,
.related-posts {
  background: #181818;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
}
.video-card {
  transition: transform .2s ease, box-shadow .2s ease;
}
.video-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, .35);
}
.thumb-wrap {
  display: block;
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
}
.thumb-wrap img,
.suggest-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.play-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(13, 110, 253, .95);
  padding: .45rem .75rem;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
}
.line-2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.card-body {
  padding: 1.25rem;
}
.card-date {
  color: #8e99af;
}
.card-excerpt {
  min-height: 3rem;
  color: #c7c9cc;
}
.player-shell,
.post-video {
  background: #000;
  overflow: hidden;
}
 .post-video {
  position: relative;
  border-radius: 20px;
  padding-bottom: 56.25%;
  max-height: 560px;
  overflow: hidden;
}
.post-video-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.75);
  transition: opacity 0.2s ease;
}
.post-video-cover.d-none {
  display: none;
}
.video-cover-content {
  max-width: 420px;
  width: 100%;
  padding: 18px;
}
.post-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.playlist-items,
.suggest-card,
.content-box,
.post-body,
.post-footer,
.related-posts {
  padding: 1.25rem;
}
.playlist-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 70vh;
  overflow: auto;
}
.playlist-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 10px;
  background: #121212;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px;
  color: #fff;
  text-decoration: none;
}
.playlist-item img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}
.playlist-item.active {
  border-color: #0d6efd;
  background: rgba(13, 110, 253, .12);
}
.content-box {
  padding: 1.5rem;
  line-height: 1.8;
  color: #d9d9d9;
}
.suggest-card {
  transition: transform .2s ease, box-shadow .2s ease;
}
.suggest-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(0, 0, 0, .45);
}
.home-iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 1rem;
}
.breadcrumb-item + .breadcrumb-item::before {
  color: #adb5bd;
}
.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, 420px);
  gap: 24px;
  align-items: flex-start;
}
.post-main {
  display: grid;
  gap: 24px;
}
.post-sidebar {
  display: grid;
  gap: 20px;
}
.post-video-panel {
  position: relative;
  width: 100%;
  max-width: 960px;
}
.post-header {
  padding: 0;
}
.post-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.08;
  color: #ffffff;
  margin-bottom: 0.85rem;
}
.youtube-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: rgba(255,255,255,.75);
  align-items: center;
}
.post-tag {
  display: inline-flex;
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.88rem;
}
.post-tag:hover {
  background: rgba(13, 110, 253, .95);
}
.post-body {
  color: #d7d8db;
  font-size: 1rem;
  line-height: 1.85;
}
.post-description {
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}
.post-description p {
  margin: 0;
}
.post-body a {
  color: #4dc7ff;
}
.post-body img,
.post-body iframe,
.post-body video,
.post-body table,
.post-body pre,
.post-body code {
  max-width: 100%;
  width: 100%;
}
.post-body pre,
.post-body code {
  overflow-x: auto;
}
.post-body .box_tin {
  background-color: #181d27;
  color: #e8eaed;
  margin-top: 25px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
}
.post-body .box_tin:hover {
  border-color: #21d4fd;
}
.post-body .box_tin ul {
  margin: 12px 0 0 20px;
}
.post-footer {
  margin-top: 20px;
}
.post-footer .keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.post-footer .keywords span {
  color: #c7c9cc;
  margin-right: 0;
}
.post-footer .keywords a {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: #fff;
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease;
}
.post-footer .keywords a:hover {
  background: #0d6efd;
  border-color: #0d6efd;
}
.related-title {
  color: #ffffff;
  margin-bottom: 1rem;
}
.post-video-fixed {
  position: relative;
  background: #000;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}
.post-video {
  position: relative;
  border-radius: 0;
  padding-bottom: 56.25%;
}
.post-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.post-video-padding {
  display: none;
}
.sidebar-card {
  background: #181818;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 20px;
}
.sidebar-card h3,
.sidebar-card .related-title {
  margin: 0 0 16px;
  color: #ffffff;
}
.related-grid {
  display: grid;
  gap: 16px;
}
.suggest-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  align-items: stretch;
  background: #121212;
  border-radius: 18px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
}
.suggest-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.suggest-card .p-3 {
  padding: 14px;
}
.suggest-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.24);
}
.home-card {
  text-align: center;
}
.home-button {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 16px;
  background: linear-gradient(90deg, #0799ff, #21d4fd);
  color: #121212;
  font-weight: 700;
  text-decoration: none;
}
.home-button:hover {
  opacity: 0.95;
}
.page-intro,
.site-footer {
  border-top: none;
}
@media (max-width: 1199px) {
  .post-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 991px) {
  .post-layout,
  .post-main,
  .post-sidebar,
  .post-video-panel,
  .post-video-fixed,
  .post-video,
  .playlist-box,
  .related-grid,
  .suggest-card {
    max-width: 100%;
    width: 100%;
    min-width: 0;
  }
  .post-video {
    padding-bottom: 56.25%;
  }
  .post-video iframe {
    width: 100%;
    height: 100%;
  }
  .post-video-fixed {
    width: 100%;
  }
  .post-layout {
    grid-template-columns: 1fr;
    gap: 16px;
    min-width: 0;
  }
  .post-sidebar {
    width: 100%;
  }
}
@media (max-width: 767px) {
  .site-topbar {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    min-width: 0;
  }
  .brand-block,
  .menu-actions {
    flex: 0 0 auto;
  }
  .search-container {
    flex: 1 1 100%;
    order: 2;
    margin-top: 0.5rem;
  }
  .menu-actions {
    order: 1;
    justify-content: flex-end;
    width: auto;
    gap: 0.5rem;
  }
  .site-topbar .search-input {
    width: 100%;
    min-width: 0;
  }
  .col-md-3 {
    width: 100%;
  }
  .menu-toggle {
    display: inline-flex;
    margin-left: 0.5rem;
    flex: 0 0 auto;
  }
  .mobile-menu {
    display: none;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    margin-top: 0.75rem;
    padding: 0 0.75rem;
  }
  .mobile-menu.open {
    display: flex;
  }
  .mobile-menu .nav-link,
  .mobile-menu .btn {
    width: 100%;
    justify-content: flex-start;
    min-width: 0;
  }
  .menu-actions > .nav-link,
  .menu-actions > .btn:not(.menu-toggle) {
    display: none;
  }
  .playlist-item {
    grid-template-columns: 100px 1fr;
  }
  .post-video {
    padding-bottom: 56.25%;
  }
  .post-video-fixed,
  .ytmVideoCoverHost {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: #000;
    width: 100%;
  }
  .post-video-panel {
    padding-top: calc(100vw * 9 / 16 + 24px);
  }
  .post-video-fixed {
    display: block;
  }
  .post-video-fixed::after {
    content: '';
    display: block;
    height: 0;
  }
}
.site-footer {
  background: #121212;
  border-top: 1px solid rgba(255,255,255,.08);
}
.site-footer .text-muted {
  color: #7e8187;
}
.member-dashboard {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
}
.member-sidebar {
  position: sticky;
  top: 1rem;
}
.member-box {
  background: #181818;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 20px;
}
.member-box-title {
  margin-bottom: 18px;
  font-size: 1.1rem;
  color: #ffffff;
  font-weight: 700;
}
.list-group-item-action {
  color: #e8eaed;
  background: transparent;
  border: none;
  border-radius: 14px;
  padding: 12px 16px;
  margin-bottom: 8px;
}
.list-group-item-action.active,
.list-group-item-action:hover {
  color: #121212;
  background: #21d4fd;
}
.member-content {
  display: grid;
  gap: 20px;
}
.member-title {
  margin-bottom: 0.5rem;
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  color: #ffffff;
}
.member-intro {
  color: #c7c9cc;
  margin-bottom: 1.5rem;
}
.member-card {
  background: #121212;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 20px;
}
@media (max-width: 991px) {
  .member-dashboard {
    grid-template-columns: 1fr;
  }
  .member-sidebar {
    position: static;
  }
}
.btn-outline-primary {
  color: #0d6efd;
  border-color: #0d6efd;
}
.btn-outline-primary:hover {
  background: #0d6efd;
  color: #fff;
}
@media (max-width: 768px) {
  .page-intro,
  .site-header .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .tag-strip {
    justify-content: flex-start;
  }
  .playlist-item {
    display: block;
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .post-video {
    padding-bottom: 56.25%;
  }
}
