/*
Theme Name: MOVIESDRIVE
Theme URI: /
Author: WapMash
Author URI: t.me/WapmashBot
Description: Just Another Wordpress Movies Theme 
Version: 1.1.0
*/
@import url(https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap);
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
a {
  text-decoration: none !important;
}
:root {
  --bg-dark: #0c0c10;
  --bg-card: #141418;
  --bg-hover: #1c1c22;
  --accent: #7c5cfc;
  --accent-light: #a78bfa;
  --accent-soft: rgba(124, 92, 252, 0.12);
  --text-primary: #e8e8f0;
  --text-secondary: #a0a0b0;
  --text-muted: #6a6a78;
  --border: #222230;
  --notice-bg: #12121a;
  --notice-border: rgba(124, 92, 252, 0.35);
  --font-xs: 0.75rem;
  --font-sm: 1rem;
  --font-base: 0.875rem;
  --font-md: 0.95rem;
  --font-lg: 1.125rem;
  --font-xl: 1.35rem;
  --font-2xl: 1.75rem;
}
html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body {
  font-family: -apple-system, "Inter", BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(
      900px 500px at 15% 10%,
      #000000 0%,
      transparent 60%
    ),
    radial-gradient(700px 400px at 85% 20%, #2a1d3f 0%, transparent 60%),
    linear-gradient(217deg, #000000e8, #0f1424);
  color: #fff;
  min-height: 100vh;
  line-height: 1.55;
  letter-spacing: -0.01em;
}
.glass {
  background: linear-gradient(
    180deg,
    rgb(255 255 255 / 0.06),
    rgb(255 255 255 / 0.02)
  );
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 16px;
}
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(121deg, #201935, rgb(0 0 0 / 30%));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgb(255 255 255 / 0.1);
  border-bottom: 1px solid rgb(60 60 90 / 0.25);
}
.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}
.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.logo-icon {
  width: 24px;
  height: 24px;
  color: var(--accent);
}
.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(
    135deg,
    var(--accent) 0%,
    var(--accent-light) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: #fff0;
  background-clip: text;
}
.nav-menu {
  flex: 1;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-item {
  position: relative;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 15px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: var(--font-sm);
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.2s;
}
.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: var(--bg-hover);
}
.dropdown-icon {
  width: 12px;
  height: 12px;
  opacity: 0.6;
  transition: transform 0.2s;
}
.nav-item.has-submenu:hover .dropdown-icon {
  transform: rotate(180deg);
}
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 170px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s;
  box-shadow: 0 12px 40px rgb(0 0 0 / 0.5);
}
.nav-item.has-submenu:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.submenu li a {
  display: block;
  padding: 10px 16px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: var(--font-sm);
  transition: all 0.2s;
}
.submenu li a:hover {
  color: var(--text-primary);
  background: var(--bg-hover);
}
.search-bar {
  position: relative;
  max-width: 300px;
}
.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-muted);
}
.search-input {
  width: 100%;
  padding: 10px 30px 10px 40px;
  background: #fff0;
  border: 1px solid #8d8da5;
  border-radius: 8px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: var(--font-sm);
  transition: all 0.2s;
}
.search-input:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-hover);
}
.search-input::placeholder {
  color: var(--text-muted);
}
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgb(0 0 0 / 0.7);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}
.side-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 100vh;
  background: #1414183b;
  backdrop-filter: blur(3px);
  z-index: 1002;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}
.side-menu.active {
  transform: translateX(0);
}
.side-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
}
.close-menu {
  width: 34px;
  height: 34px;
  background: var(--bg-hover);
  border: none;
  border-radius: 8px;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.close-menu:hover {
  background: var(--bg-dark);
  color: var(--text-primary);
}
.close-menu svg {
  width: 16px;
  height: 16px;
}
.side-nav {
  padding: 12px 0;
}
.side-nav-list {
  list-style: none;
}
.side-nav-item {
  border-bottom: 1px solid var(--border);
}
.side-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s;
}
.side-nav-link:hover,
.side-nav-link.active {
  color: var(--text-primary);
  background: #33334d69;
}
.side-nav-link .dropdown-icon {
  width: 14px;
  height: 14px;
  opacity: 0.6;
  transition: transform 0.3s;
}
.side-nav-item.open .dropdown-icon {
  transform: rotate(180deg);
}
.side-submenu {
  display: none;
  list-style: none;
}
.side-nav-item.open .side-submenu {
  display: block;
}
.side-submenu li a {
  display: block;
  padding: 12px 18px 12px 32px;
  color: #fff;
  text-decoration: none;
  font-size: 0.8rem;
  transition: all 0.2s;
}
.side-submenu li a:hover {
  color: var(--text-primary);
  background: var(--bg-hover);
}
.app-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 72px 32px 36px;
}
.notice-section {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--notice-bg);
  border: 1px solid var(--notice-border);
  border-radius: 10px;
  padding: 3px 16px;
  margin-bottom: 20px;
}
.notice-icon {
  padding-top: 8px;
  flex-shrink: 0;
}
.notice-icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}
.notice-text {
  flex: 1;
  font-size: var(--font-sm);
  color: var(--text-secondary);
  line-height: 1.5;
}
.notice-text strong {
  color: var(--accent-light);
  font-weight: 600;
}
.notice-close {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: #fff0;
  border: none;
  color: #fc0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.2s;
}
.notice-close:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}
.notice-close svg {
  width: 14px;
  height: 14px;
}
.notice-section.hidden {
  display: none;
}
.hero-section {
  padding-top: 16px;
  position: relative;
  margin-bottom: 28px;
}
.hero-slider {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}
.hero-banner {
  position: relative;
  height: 300px;
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}
.hero-banner.active {
  display: block;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.hero-image {
  position: absolute;
  inset: 0;
}
.hero-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgb(12 12 16) 0%,
    rgb(12 12 16 / 0.98) 15%,
    rgb(12 12 16 / 0.92) 30% 30%,
    #fff0 50%,
    #fff0 70%,
    rgb(12 12 16 / 0.1) 90%,
    #fff0 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 28px 50px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 480px;
}
.hero-title {
  font-size: var(--font-2xl);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.hero-description {
  font-size: var(--font-sm);
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}
.btn {
  padding: 10px 24px;
  border: none;
  border-radius: 6px;
  font-family: inherit;
  font-size: var(--font-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  width: fit-content;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: #6b4ce0;
  transform: translateY(-1px);
}
.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  background: rgb(0 0 0 / 0.5);
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.hero-nav:hover {
  background: rgb(0 0 0 / 0.7);
}
.hero-nav svg {
  width: 33px;
  height: 26px;
}
.hero-prev {
  left: 14px;
}
.hero-next {
  right: 14px;
}
.hero-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s;
}
.dot.active {
  width: 34px;
  border-radius: 4px;
  background: var(--accent);
}
.logo-image {
  padding-top: 10px;
  width: 250px;
}
.content-section {
  margin-bottom: 32px;
}
.section-title {
  display: flex;
  font-size: var(--font-xl);
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.material-icons {
  padding-top: 4px;
}
.movies-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.poster-card {
  background: linear-gradient(
    145deg,
    rgb(255 255 255 / 0.08) 0%,
    rgb(255 255 255 / 0.02) 100%
  );
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 20px;
  padding: 8px;
  cursor: pointer;
  transition: all 0.35s ease;
  box-shadow: 0 4px 24px rgb(0 0 0 / 0.2), inset 0 1px 0 rgb(255 255 255 / 0.1);
}
.poster-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 18px #505ca1, 0 0 32px #fff0, 0 0 50px rgb(255 110 199 / 64%);
}
.poster-inner {
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
}
.poster-image {
  position: relative;
  aspect-ratio: 2/3;
  overflow: hidden;
  background: #14182a;
}
.poster-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.poster-card:hover .poster-image img {
  transform: scale(1.05);
}
.poster-quality {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgb(0 0 0 / 70%);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
}
.poster-info {
  padding: 10px 4px;
}
.poster-title {
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
}
.poster-year {
  font-size: 0.8rem;
  color: #9aa3b2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px 0 40px;
}
.page-btn {
  width: 38px;
  height: 38px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.page-btn:hover:not(:disabled) {
  background: var(--bg-hover);
  color: var(--text-primary);
  border-color: var(--accent);
}
.page-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.page-btn svg {
  width: 16px;
  height: 16px;
}
.page-numbers {
  display: flex;
  align-items: center;
  gap: 6px;
}
.page-num {
  min-width: 38px;
  height: 38px;
  padding: 0 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: var(--font-sm);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-num:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}
.page-num.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.page-dots {
  color: var(--text-muted);
  padding: 0 4px;
  font-size: var(--font-sm);
}
@media (max-width: 1200px) {
  .movies-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
@media (max-width: 992px) {
  .header-container {
    padding: 10px 20px;
  }
  .nav-menu {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .search-bar {
    max-width: none;
    flex: 1;
  }
  .app-container {
    padding: 65px 20px 30px;
  }
  .movies-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
  .hero-banner {
    height: 250px;
  }
  .hero-title {
    font-size: 1.5rem;
  }
}
@media (max-width: 768px) {
  :root {
    --font-xs: 0.7rem;
    --font-sm: 0.78rem;
    --font-base: 0.825rem;
  }
  .header-container {
    padding: 10px 14px;
    gap: 10px;
  }
  .logo-text {
    font-size: 1.1rem;
  }
  .search-input {
    padding: 9px 12px 9px 34px;
  }
  .app-container {
    padding: 60px 14px 26px;
  }
  .notice-section {
    padding: 10px 12px;
    gap: 10px;
  }
  .hero-banner {
    height: 220px;
  }
  .hero-content {
    padding: 20px;
  }
  .hero-title {
    font-size: 1.35rem;
    margin-bottom: 8px;
  }
  .hero-description {
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .btn {
    padding: 9px 20px;
  }
  .hero-nav {
    width: 34px;
    height: 34px;
  }
  .hero-nav svg {
    width: 16px;
    height: 16px;
  }
  .hero-prev {
    left: 10px;
  }
  .hero-next {
    right: 10px;
  }
  .movies-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .section-title {
    font-size: 1.1rem;
  }
  .page-btn,
  .page-num {
    min-width: 34px;
    width: 34px;
    height: 34px;
  }
}
@media (max-width: 480px) {
  :root {
    --font-xs: 0.65rem;
    --font-sm: 0.72rem;
    --font-base: 0.78rem;
  }
  .breadcrumb {
    display: none;
  }
  .logo-image {
    height: 40px;
    width: 150px;
    padding-top: 6px;
  }
  .hero-section {
    margin-bottom: 10px;
  }
  .header-container {
    gap: 8px;
  }
  .logo-icon {
    width: 20px;
    height: 20px;
  }
  .logo-text {
    font-size: 1rem;
  }
  .search-input {
    padding: 8px 10px 8px 32px;
  }
  .app-container {
    padding: 56px 10px 22px;
  }
  .notice-section {
    flex-wrap: wrap;
    padding: 10px;
    position: relative;
  }
  .notice-icon {
    display: none;
  }
  .notice-text {
    flex: 1 1 100%;
    order: 1;
    padding-right: 24px;
  }
  .notice-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
  }
  .hero-banner {
    height: 180px;
    display: none;
    animation: fadeIn 0.5s ease-in-out;
  }
  .hero-banner.active {
    display: block;
  }
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  .hero-content {
    padding: 14px;
    background: #00000030;
  }
  .hero-title {
    font-size: 1.15rem;
    margin-bottom: 6px;
  }
  .hero-description {
    margin-bottom: 12px;
  }
  .btn {
    padding: 8px 16px;
  }
  .hero-nav {
    width: 30px;
    height: 30px;
  }
  .hero-prev {
    left: 8px;
  }
  .hero-next {
    right: 8px;
  }
  .movies-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .poster-card {
    border-radius: 14px;
  }
  .poster-inner {
    border-radius: 12px;
  }
  .poster-info {
    padding: 10px 2px;
  }
  .poster-title {
    font-size: 0.9rem;
  }
  .poster-year {
    font-size: 0.75rem;
  }
  .section-title {
    font-size: 1rem;
    margin-bottom: 14px;
  }
  .pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
  }
  .page-btn,
  .page-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 6px;
    border-radius: 6px;
    background: #1a1a1a;
    color: #fff;
    border: 1px solid #333;
    text-decoration: none;
    transition: all 0.2s ease;
  }
  .page-num:hover,
  .page-btn:hover:not(:disabled) {
    background: #333;
    color: #fff;
  }
  .page-num.active {
    background: #7b6ef6;
    border-color: #7b6ef6;
    color: #fff;
  }
  .page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #fff0;
    border-color: #fff0;
  }
  .page-dots {
    color: #666;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
  }
  .page-numbers {
    gap: 4px;
    display: inline-flex;
  }
  .side-menu {
    width: 260px;
  }
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  font-size: 0.85rem;
  margin-bottom: 20px;
}
.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover {
  color: var(--accent);
}
.breadcrumb-separator {
  color: var(--text-muted);
  opacity: 0.5;
}
.breadcrumb-current {
  color: var(--text-secondary);
}
.post-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 30px;
}
.post-content {
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: 16px;
  padding: 30px;
}
.post-header {
  margin-bottom: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
}
.post-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 15px;
}
.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
}
.post-date {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.post-date svg {
  width: 16px;
  height: 16px;
}
.post-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.category-tag {
  background: linear-gradient(135deg, var(--accent), #a78bfa);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}
.category-tag:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgb(139 92 246 / 0.4);
}
.page-body {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 0.95rem;
}
.page-body p {
  margin-bottom: 15px;
}
.page-body a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}
.page-body a:hover {
  color: #a78bfa;
  text-decoration: underline;
}
.page-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 15px auto;
  display: block;
}
.page-body h3,
.page-body h4,
.page-body h5 {
  color: #fff;
  margin: 25px 0 15px;
}
.page-body h3 {
  font-size: 1.3rem;
}
.page-body h4 {
  font-size: 1.1rem;
}
.page-body h5 {
  font-size: 1rem;
}
.page-body h5 a {
  display: inline-block;
  background: linear-gradient(
    135deg,
    #5f7cff 0%,
    #7a5cff 45%,
    #d46bff 75%,
    #ff6ec7 100%
  );
  color: #fff !important;
  padding: 12px 30px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgb(122 92 255 / 0.3);
}
.page-body h5 a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgb(122 92 255 / 0.5);
}
.page-body hr {
  border: none;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgb(255 255 255 / 0.15),
    transparent
  );
  margin: 25px 0;
}
.page-body strong {
  color: #fff;
}
.post-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 20px 0;
  margin-top: 20px;
  border-top: 1px solid rgb(255 255 255 / 0.08);
}
.tags-label {
  color: var(--text-secondary);
  font-weight: 500;
}
.tags {
  background: rgb(255 255 255 / 0.05);
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  text-decoration: none;
  border: 1px solid rgb(255 255 255 / 0.1);
  transition: all 0.2s;
}
.tags:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.telegram-cta {
  display: flex;
  align-items: center;
  gap: 15px;
  background: linear-gradient(
    135deg,
    rgb(0 136 204 / 0.15),
    rgb(0 136 204 / 0.05)
  );
  border: 1px solid rgb(0 136 204 / 0.3);
  border-radius: 12px;
  padding: 20px;
  margin: 25px 0;
}
.telegram-icon {
  width: 40px;
  height: 40px;
  color: #08c;
  flex-shrink: 0;
}
.telegram-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.telegram-title {
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
}
.telegram-subtitle {
  color: var(--text-muted);
  font-size: 0.8rem;
}
.telegram-btn {
  background: #08c;
  color: #fff;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.2s;
}
.telegram-btn:hover {
  background: #069;
  transform: translateY(-1px);
}
.comments-section {
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid rgb(255 255 255 / 0.08);
}
.post-sidebar {
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.sidebar-widget {
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: 12px;
  padding: 20px;
  backdrop-filter: blur(10px);
}
.widget-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 15px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
}
.search-widget {
  display: flex;
  gap: 8px;
}
.widget-search-input {
  flex: 1;
  background: rgb(255 255 255 / 0.05);
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 8px;
  padding: 10px 14px;
  color: #fff;
  font-size: 0.85rem;
}
.widget-search-input:focus {
  outline: none;
  border-color: var(--accent);
}
.widget-search-btn {
  background: var(--accent);
  border: none;
  border-radius: 8px;
  padding: 10px 14px;
  cursor: pointer;
  transition: background 0.2s;
}
.widget-search-btn:hover {
  background: #6d28d9;
}
.widget-search-btn svg {
  width: 18px;
  height: 18px;
  color: #fff;
}
.recent-posts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.recent-post-item a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.4;
  display: block;
  padding: 10px 12px;
  background: rgb(255 255 255 / 0.03);
  border-radius: 8px;
  border-left: 3px solid #fff0;
  transition: all 0.2s;
}
.recent-post-item a:hover {
  color: #fff;
  background: rgb(255 255 255 / 0.06);
  border-left-color: var(--accent);
}
.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.category-list li a {
  display: block;
  background: rgb(255 255 255 / 0.05);
  color: var(--text-secondary);
  padding: 6px 9px;
  border-radius: 20px;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid rgb(255 255 255 / 0.08);
  transition: all 0.2s;
}
.category-list li a:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.footer {
  margin-top: 50px;
  padding: 30px 0;
  border-top: 1px solid rgb(255 255 255 / 0.08);
  text-align: center;
}
.footer-content {
  color: var(--text-muted);
  font-size: 0.85rem;
}
.footer-content a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}
.footer-content a:hover {
  text-decoration: underline;
}
@media (max-width: 1024px) {
  .post-layout {
    padding-top: 18px;
    grid-template-columns: 1fr;
  }
  .post-sidebar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .post-content {
    padding: 20px;
  }
  .post-title {
    font-size: 1.3rem;
  }
  .post-meta {
    flex-direction: column;
    align-items: flex-start;
  }
  .telegram-cta {
    flex-direction: column;
    text-align: center;
  }
  .telegram-content {
    align-items: center;
  }
  .post-sidebar {
    grid-template-columns: 1fr;
  }
  .page-body h5 a {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}
@media (max-width: 480px) {
  .post-content {
    padding: 15px;
    border-radius: 12px;
    overflow-x: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  .post-title {
    font-size: 1.1rem;
    word-break: break-word;
  }
  .page-body img,
  .page-body iframe,
  .page-body video,
  .page-body table {
    max-width: 100% !important;
    height: auto !important;
  }
  .page-body,
  .page-body p,
  .page-body a {
    max-width: 100%;
    word-break: break-word;
  }
  .post-categories {
    display: none;
  }
  .breadcrumb {
    display: none;
  }
  .category-tag {
    font-size: 0.7rem;
    padding: 3px 10px;
  }
}
.nmf-wrapper {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.nmf-card {
    max-width: 600px;
    width: 100%;
    padding: 50px 40px;
    text-align: center;
}

@keyframes nmfSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nmf-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.nmf-icon svg {
    width: 50px;
    height: 50px;
}

.nmf-title {
    font-size: 32px;
    font-weight: 700;
    color: #eee;
    margin: 0 0 20px;
    line-height: 1.2;
}

.nmf-message {
    font-size: 18px;
    color: #ccc;
    line-height: 1.6;
    margin: 0 0 30px;
}

/* Button Styles */
.nmf-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.nmf-button svg {
    width: 20px;
    height: 20px;
}

.nmf-primary-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.nmf-primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.4);
}

.nmf-secondary-button {
    color: #667eea;
    border: 2px solid #252c32ff;
}

.nmf-secondary-button:hover {
    background: #161b26ff;
    border-color: #667eea;
    transform: translateY(-2px);
}

.nmf-text-button {
    background: transparent;
    color: #667eea;
    padding: 14px 20px;
}

.nmf-text-button:hover {
    background: #161b26ff;
    border: 2px solid #667eea;
}

/* Search Form Styles */
.nmf-search-wrapper {
    margin: 30px 0;
}

.nmf-search-wrapper .search-form {
    display: block;
    max-width: 400px;
    margin: 0 auto;
}

.nmf-search-wrapper .search-form input[type="search"] {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s;
}

.nmf-search-wrapper .search-form input[type="search"]:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.nmf-search-wrapper .search-form input[type="submit"] {
    padding: 14px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.nmf-search-wrapper .search-form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

/* Suggestions List */
.nmf-suggestions {
    text-align: left;
    margin: 30px 0;
    padding: 20px;
    background: #1b2024ff;
    border-radius: 10px;
}

.nmf-suggestions h3 {
    font-size: 16px;
    color: #d0ccccff;
    margin: 0 0 15px;
}

.nmf-suggestions ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nmf-suggestions li {
    padding: 8px 0 8px 25px;
    position: relative;
    color: #aeadadff;
}

.nmf-suggestions li:before {
    content: "•";
    position: absolute;
    left: 8px;
    color: #667eea;
    font-size: 20px;
}

/* Help Text */
.nmf-help-text {
    margin-top: 30px;
    font-size: 14px;
    color: #999;
}

.nmf-help-text a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.nmf-help-text a:hover {
    text-decoration: underline;
}

/* Actions Container */
.nmf-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.nmf-icon-404 {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nmf-card {
        padding: 40px 20px;
    }
    
    .nmf-title {
        font-size: 28px;
    }
    
    .nmf-message {
        font-size: 16px;
    }
    
    .nmf-search-wrapper .search-form {
        flex-direction: column;
    }
    
    .nmf-actions {
        flex-direction: column;
    }
    
    .nmf-button {
        width: 100%;
    }

    .nmf-icon-404 {
        width: 100px;
        height: 100px;
        font-size: 40px;
    }
}

@media (max-width: 480px) {
    .nmf-card {
        padding: 30px 15px;
    }
    
    .nmf-icon {
        width: 80px;
        height: 80px;
    }
    
    .nmf-icon svg {
        width: 40px;
        height: 40px;
    }
    
    .nmf-title {
        font-size: 24px;
    }

    .nmf-icon-404 {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }
}
.search-bar-wrapper {
	display: flex;
	width: 100%;
	max-width: 600px;
	gap: 10px;
	margin-bottom: 15px;
}
.search-inputs {
	flex: 1;
	background-color: #111;
	border: 1px solid #333;
	color: #fff;
	padding: 10px 15px;
	font-size: 15px;
	border-radius: 4px;
	outline: none;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.search-inputs:focus {
	border-color: #007bff;
	background-color: #161616;
}

.search-btn {
	background-color: #222;
	border: 1px solid #333;
	color: #aaa;
	padding: 0 15px;
	border-radius: 4px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
}

.search-btn:hover { background-color: #333; color: #fff; }

.search-title-wrapper {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	width: 100%;
	margin-bottom: 20px;
	border-bottom: 1px solid #222;
	padding-bottom: 15px;
}

.search-title { font-size: 20px; font-weight: 400; color: #fff; margin: 0; }
.search-meta { font-size: 12px; color: #666; }

@media (max-width: 768px) {
	.search-bar-wrapper { margin: 0 auto 15px auto; }
}

/* =============================================
   COMMENTS SECTION - Modern Dark Design
   ============================================= */

.comments-area {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(20, 20, 24, 0.5) 0%, rgba(20, 20, 24, 0.8) 100%);
    border-radius: 20px;
    padding: 30px;
}

.comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border);
}

.comments-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.comments-title .material-icons {
    color: var(--accent);
    font-size: 28px;
}

/* Comment List */
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
}

.comment-item {
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.comment-item:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--accent-soft);
    transform: translateX(5px);
}

.comment-item.parent {
    border-left: 3px solid var(--accent);
}

.comment-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.comment-author-avatar {
    flex-shrink: 0;
}

.comment-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--accent);
    object-fit: cover;
}

.comment-author-info {
    flex: 1;
}

.comment-author-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.comment-author-name a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s;
}

.comment-author-name a:hover {
    color: var(--accent-light);
}

.comment-post-author-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    background: linear-gradient(135deg, var(--accent), #a78bfa);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 500;
    border-radius: 12px;
    text-transform: uppercase;
}

.comment-metadata {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.comment-metadata a {
    color: var(--text-muted);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.3s;
}

.comment-metadata a:hover {
    color: var(--accent);
}

.comment-metadata .material-icons {
    font-size: 14px;
}

.comment-content {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 15px;
    padding-left: 65px;
}

.comment-content p {
    margin-bottom: 10px;
}

.comment-content p:last-child {
    margin-bottom: 0;
}

.comment-awaiting-moderation {
    padding: 8px 15px;
    background: rgba(124, 92, 252, 0.1);
    border-left: 3px solid var(--accent);
    color: var(--accent-light);
    font-size: 0.85rem;
    border-radius: 0 8px 8px 0;
    margin-bottom: 15px;
}

.comment-actions {
    display: flex;
    gap: 15px;
    padding-left: 65px;
}

.comment-reply-link,
.comment-edit-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: var(--bg-hover);
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
}

.comment-reply-link .material-icons,
.comment-edit-link .material-icons {
    font-size: 16px;
}

.comment-reply-link:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: translateY(-2px);
}

.comment-edit-link:hover {
    background: #f39c12;
    border-color: #f39c12;
    color: #fff;
    transform: translateY(-2px);
}

/* Nested Comments */
.comment-list .children {
    list-style: none;
    padding-left: 50px;
    margin-top: 20px;
    border-left: 2px dashed var(--border);
}

.comment-list .children .comment-item {
    background: rgba(255, 255, 255, 0.01);
}

/* Comments Navigation */
.comments-navigation,
.comments-navigation-bottom {
    margin: 30px 0;
}

.comments-navigation .nav-links,
.comments-navigation-bottom .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.comments-navigation a,
.comments-navigation-bottom a {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: var(--bg-hover);
    border: 1px solid var(--border);
    border-radius: 25px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
}

.comments-navigation a:hover,
.comments-navigation-bottom a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: translateY(-2px);
}

/* No Comments Message */
.no-comments {
    padding: 20px;
    text-align: center;
    background: var(--bg-hover);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* =============================================
   COMMENT FORM
   ============================================= */

.comment-respond {
    margin-top: 40px;
    padding: 30px;
    background: rgba(20, 20, 24, 0.8);
    border: 1px solid var(--border);
    border-radius: 20px;
}

.comment-reply-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.comment-reply-title .reply-title-icon {
    color: var(--accent);
    font-size: 24px;
}

.comment-reply-title small {
    margin-left: auto;
}

.comment-reply-title a {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    padding: 4px 12px;
    background: var(--bg-hover);
    border: 1px solid var(--border);
    border-radius: 20px;
    transition: all 0.3s;
}

.comment-reply-title a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/* Form Fields */
.comment-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comment-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.comment-form-field {
    width: 100%;
}

.comment-form-field input,
.comment-form-field textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s;
}

.comment-form-field input:focus,
.comment-form-field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(124, 92, 252, 0.1);
    background: var(--bg-hover);
}

.comment-form-field input::placeholder,
.comment-form-field textarea::placeholder {
    color: var(--text-muted);
}

.comment-form-field textarea {
    resize: vertical;
    min-height: 120px;
}

/* Logged in messages */
.logged-in-as,
.must-log-in {
    padding: 12px 18px;
    background: rgba(124, 92, 252, 0.05);
    border: 1px solid var(--accent-soft);
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.logged-in-as a,
.must-log-in a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.logged-in-as a:hover,
.must-log-in a:hover {
    color: var(--accent-light);
    text-decoration: underline;
}

/* Submit Button */
.form-submit {
    margin-top: 10px;
}

.comment-submit-btn {
    padding: 14px 35px;
    background: linear-gradient(135deg, var(--accent), #9370db);
    border: none;
    border-radius: 50px;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(124, 92, 252, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.comment-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 92, 252, 0.4);
    background: linear-gradient(135deg, #8b5cfc, #a78bfa);
}

.comment-submit-btn:active {
    transform: translateY(0);
}

/* Cookies consent */
.comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.comment-form-cookies-consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
    cursor: pointer;
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 768px) {
    .comments-area {
        padding: 20px;
    }
    
    .comment-form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .comment-content {
        padding-left: 0;
    }
    
    .comment-actions {
        padding-left: 0;
    }
    
    .comment-list .children {
        padding-left: 20px;
    }
    
    .comments-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .comment-meta {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .comment-author-avatar {
        width: 40px;
        height: 40px;
    }
    
    .comment-avatar {
        width: 40px;
        height: 40px;
    }
    
    .comment-author-name {
        font-size: 0.9rem;
    }
    
    .comment-respond {
        padding: 20px;
    }
    
    .comment-submit-btn {
        width: 100%;
    }
}