:root {
  --de-primary: #d20d17;
  --de-silver: #c8ccd3;
  --de-bg: #050505;
  --de-panel: #101012;
  --de-panel-2: #17171a;
  --de-text: #f2f2f4;
  --de-muted: #a2a4ab;
  --de-line: rgba(200, 204, 211, 0.2);
  --de-shadow: 0 18px 56px rgba(0, 0, 0, 0.44);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(210, 13, 23, 0.16), transparent 28%),
    linear-gradient(180deg, #050505, #0a0a0b 40%, #050505);
  color: var(--de-text);
  font-family: Arial, "Segoe UI", system-ui, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.de-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.de-skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--de-primary);
  color: #fff;
}

.de-skip-link:focus {
  left: 12px;
}

.de-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--de-line);
  background: rgba(5, 5, 5, 0.9);
  backdrop-filter: blur(16px);
}

.de-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.de-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--de-text);
  text-decoration: none;
}

.de-brand-mark,
.de-skull {
  display: grid;
  place-items: center;
  color: var(--de-primary);
  text-shadow: 0 0 18px rgba(210, 13, 23, 0.8);
}

.de-brand-mark {
  width: 58px;
  height: 58px;
  border: 1px solid rgba(210, 13, 23, 0.5);
  border-radius: 8px;
  background: #080808;
  overflow: hidden;
  box-shadow: 0 0 18px rgba(210, 13, 23, 0.24);
}

.de-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.de-brand-copy {
  display: grid;
  line-height: 1.05;
}

.de-brand-title {
  color: var(--de-silver);
  font-family: Arial, "Segoe UI", system-ui, sans-serif;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.de-brand-subtitle {
  margin-top: 4px;
  color: var(--de-primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.de-menu {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.de-menu li {
  position: relative;
}

.de-menu a {
  color: var(--de-muted);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.de-menu a:hover,
.de-menu .current-menu-item > a {
  color: var(--de-text);
}

.de-menu-has-children > a::after {
  content: "▾";
  margin-left: 6px;
  color: var(--de-primary);
  font-size: 0.72rem;
}

.de-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 90;
  display: grid;
  gap: 2px;
  width: 260px;
  max-height: 420px;
  margin: 0;
  padding: 8px;
  overflow-y: auto;
  list-style: none;
  border: 1px solid rgba(200, 204, 211, 0.18);
  border-radius: 8px;
  background: rgba(7, 7, 8, 0.98);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.de-menu-has-children::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 8px;
}

.de-menu-has-children:hover .de-submenu,
.de-menu-has-children:focus-within .de-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.de-submenu a,
.de-submenu span {
  display: block;
  padding: 9px 10px;
  border-radius: 6px;
  color: var(--de-silver);
  font-size: 0.82rem;
  line-height: 1.3;
  text-transform: none;
}

.de-submenu a:hover {
  background: rgba(210, 13, 23, 0.14);
  color: #fff;
}

.de-home-layout {
  display: grid;
  grid-template-columns: minmax(0, calc(100% - 384px)) 360px;
  gap: 24px;
  padding: 28px 0 70px;
  align-items: start;
  isolation: isolate;
}

.de-main-column {
  min-width: 0;
  max-width: 100%;
}

.de-featured-slider {
  position: relative;
  height: 380px;
  max-height: 400px;
  overflow: hidden;
  border: 1px solid var(--de-line);
  border-radius: 8px;
  background: #050505;
  box-shadow: var(--de-shadow);
}

.de-slider-track,
.de-slide {
  height: 100%;
}

.de-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  background: var(--de-slide-image) center / cover no-repeat;
}

.de-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.de-slide-link {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  height: 100%;
  padding: 0;
  color: var(--de-text);
  text-decoration: none;
}

.de-kicker {
  margin: 0 0 8px;
  color: var(--de-primary);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.de-slide h1,
.de-section-head h1,
.de-section-head h2,
.de-single h1 {
  margin: 0;
  max-width: 760px;
  color: var(--de-silver);
  font-family: Arial, "Segoe UI", system-ui, sans-serif;
  line-height: 1.08;
  letter-spacing: 0;
}

.de-slide h1 {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 15px 20px;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  line-height: 1.24;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.84);
}

.de-slide p {
  max-width: 520px;
  margin: 8px 0 14px;
  color: #e6e6e9;
  font-size: 0.9rem;
  line-height: 1.45;
}

.de-primary-link,
.de-read-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(210, 13, 23, 0.65);
  border-radius: 6px;
  background: linear-gradient(180deg, #e11b24, #86070d);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 12px 28px rgba(210, 13, 23, 0.22);
}

.de-slider-controls {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.de-slider-controls button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(200, 204, 211, 0.35);
  border-radius: 8px;
  background: rgba(8, 8, 9, 0.86);
  color: var(--de-silver);
  cursor: pointer;
  font-size: 1.4rem;
}

.de-latest-posts {
  margin-top: 28px;
}

.de-section {
  padding: 54px 0;
}

.de-section-head {
  margin-bottom: 18px;
}

.de-section-head h1,
.de-section-head h2,
.de-single h1 {
  font-size: clamp(1.22rem, 2vw, 1.65rem);
}

.de-content-layout {
  display: grid;
  grid-template-columns: minmax(0, calc(100% - 384px)) 360px;
  gap: 24px;
  align-items: start;
  isolation: isolate;
}

.de-content-main {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.de-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.de-post-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.de-card,
.de-widget {
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--de-line);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--de-panel-2), var(--de-panel));
  box-shadow: var(--de-shadow);
}

.de-widget {
  position: relative;
}

.de-widget::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--de-primary), rgba(200, 204, 211, 0.7), transparent);
}

.de-card-image {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: radial-gradient(circle, rgba(210, 13, 23, 0.22), #070707 68%);
  color: var(--de-primary);
  font-size: 3rem;
  text-decoration: none;
}

.de-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.de-card:hover .de-card-image img {
  transform: scale(1.04);
}

.de-card-body {
  padding: 18px;
}

.de-card-meta {
  margin: 0 0 8px;
  color: var(--de-primary);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.de-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.de-post-views {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--de-silver);
}

.de-post-views::before {
  content: "•";
  color: rgba(200, 204, 211, 0.55);
}

.de-card h3 {
  margin: 0 0 8px;
  color: var(--de-text);
  font-size: 0.95rem;
  line-height: 1.28;
}

.de-card h3 a {
  text-decoration: none;
}

.de-card p,
.de-widget p {
  color: var(--de-muted);
}

.de-sidebar {
  display: grid;
  gap: 22px;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.de-widget {
  padding: 22px;
}

.de-widget-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--de-silver);
  font-family: Arial, "Segoe UI", system-ui, sans-serif;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.de-widget-title::before {
  content: "";
  width: 10px;
  height: 10px;
  border: 1px solid rgba(210, 13, 23, 0.85);
  background: var(--de-primary);
  box-shadow: 0 0 12px rgba(210, 13, 23, 0.7);
}

.de-widget ul {
  margin: 0;
  padding-left: 18px;
  color: var(--de-muted);
}

.de-widget a {
  color: var(--de-silver);
  text-decoration: none;
}

.de-widget a:hover {
  color: var(--de-primary);
}

.de-widget .wp-block-search__inside-wrapper,
.de-widget .search-form {
  display: flex;
  gap: 8px;
  width: 100%;
}

.de-widget .wp-block-search__label,
.de-widget .screen-reader-text {
  color: var(--de-silver);
  font-size: 0.86rem;
  font-weight: 700;
}

.de-widget input[type="search"],
.de-widget .wp-block-search__input,
.search-form input[type="search"],
.wp-block-search__input {
  width: 100%;
  min-height: 44px;
  min-width: 0;
  border: 1px solid rgba(200, 204, 211, 0.22);
  border-radius: 8px;
  background: linear-gradient(180deg, #0b0b0d, #050505);
  color: #fff;
  padding: 0 13px;
  font: inherit;
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.45);
}

.de-widget input[type="search"]::placeholder,
.search-form input[type="search"]::placeholder,
.wp-block-search__input::placeholder {
  color: rgba(200, 204, 211, 0.58);
}

.de-widget input[type="search"]:focus,
.search-form input[type="search"]:focus,
.wp-block-search__input:focus {
  border-color: rgba(210, 13, 23, 0.85);
  box-shadow: 0 0 0 3px rgba(210, 13, 23, 0.16), inset 0 0 0 1px rgba(0, 0, 0, 0.45);
}

.de-widget .wp-block-search__button,
.de-widget .search-submit,
.search-form .search-submit,
.wp-block-search__button {
  min-height: 44px;
  border: 1px solid rgba(210, 13, 23, 0.75);
  border-radius: 8px;
  background: linear-gradient(180deg, #d20d17, #75070c);
  color: #fff;
  padding: 0 14px;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(210, 13, 23, 0.18);
}

.de-widget .wp-block-search__button:hover,
.de-widget .search-submit:hover,
.search-form .search-submit:hover,
.wp-block-search__button:hover {
  filter: brightness(1.12);
}

.darknesselo-profile-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(200, 204, 211, 0.16);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 34%),
    #070708;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.42);
}

.darknesselo-profile-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(210, 13, 23, 0.18) 42%, transparent 62%);
  opacity: 0.55;
  transform: translateX(-100%);
  animation: darknesseloCardSweep 6s ease-in-out infinite;
  pointer-events: none;
}

.darknesselo-profile-inner {
  position: relative;
  z-index: 1;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(18, 18, 20, 0.88), rgba(7, 7, 8, 0.96));
  overflow: hidden;
}

.darknesselo-profile-image {
  position: relative;
  height: 160px;
  overflow: hidden;
}

.darknesselo-profile-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(7, 7, 8, 0.52));
}

.darknesselo-profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  animation: darknesseloImageDrift 12s ease-in-out infinite alternate;
}

.darknesselo-profile-body {
  position: relative;
  padding: 18px;
  margin-top: 0;
}

.darknesselo-profile-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-bottom: 11px;
  padding: 0 9px;
  border-left: 3px solid var(--de-primary);
  background: rgba(210, 13, 23, 0.1);
  color: #f1f1f3;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.darknesselo-profile-card h3 {
  margin: 0 0 9px;
  color: #fff;
  font-size: 1.08rem;
  line-height: 1.28;
}

.darknesselo-profile-card p {
  margin: 0 0 15px;
  color: #c8ccd3;
  font-size: 0.88rem;
  line-height: 1.62;
}

.darknesselo-profile-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  margin-bottom: 16px;
}

.darknesselo-profile-points span {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 10px 12px 10px 38px;
  border: 1px solid rgba(200, 204, 211, 0.1);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.025));
  color: #aeb1ba;
  font-size: 0.78rem;
}

.darknesselo-profile-points span::before {
  content: "✓";
  position: absolute;
  left: 12px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--de-primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 900;
  box-shadow: 0 0 14px rgba(210, 13, 23, 0.45);
  transform: translateY(-50%);
}

.darknesselo-profile-points strong {
  color: #fff;
  font-size: 0.82rem;
}

.darknesselo-profile-actions {
  display: grid;
  gap: 8px;
}

.darknesselo-profile-actions a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 8px;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease, border-color 0.2s ease;
}

.darknesselo-profile-actions a::after {
  content: "›";
  font-size: 1.2rem;
  line-height: 1;
}

.darknesselo-profile-actions a:first-child {
  border: 1px solid rgba(210, 13, 23, 0.82);
  background: linear-gradient(180deg, #d20d17, #72070c);
}

.darknesselo-profile-actions a:hover {
  transform: translateY(-2px);
  filter: brightness(1.12);
}

.de-total-views-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(210, 13, 23, 0.38);
  border-radius: 10px;
  background:
    radial-gradient(circle at 92% 8%, rgba(210, 13, 23, 0.28), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    #070708;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.42);
}

.de-total-views-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--de-primary);
  box-shadow: 0 0 18px rgba(210, 13, 23, 0.7);
}

.de-total-views-label {
  color: var(--de-muted);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}

.de-total-views-number {
  color: #fff;
  font-size: clamp(2rem, 4vw, 2.7rem);
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 0 18px rgba(210, 13, 23, 0.34);
}

@keyframes darknesseloCardSweep {
  0%,
  62% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

@keyframes darknesseloImageDrift {
  from {
    transform: scale(1.02) translateX(-1%);
  }

  to {
    transform: scale(1.07) translateX(1%);
  }
}

.de-single-header {
  margin-bottom: 24px;
}

.de-single-image {
  margin: 0 0 28px;
  border: 1px solid var(--de-line);
  border-radius: 8px;
  overflow: hidden;
}

.de-content {
  width: 100%;
  max-width: 100%;
  color: #e9e9ec;
  font-size: 1.05rem;
  overflow-wrap: anywhere;
}

.de-content > * {
  max-width: 100%;
}

.de-content img,
.de-content iframe,
.de-content video {
  max-width: 100%;
}

.de-content table,
.de-content pre {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

.de-content h2,
.de-content h3 {
  color: var(--de-silver);
  font-family: Arial, "Segoe UI", system-ui, sans-serif;
  letter-spacing: 0;
}

.de-content h2 {
  font-size: 1.35rem;
}

.de-content h3 {
  font-size: 1.16rem;
}

.de-content a {
  color: var(--de-primary);
}

.de-tags {
  margin-top: 32px;
}

.de-floating {
  position: fixed;
  right: 18px;
  top: 50%;
  z-index: 80;
  display: grid;
  gap: 10px;
  transform: translateY(-50%);
}

.de-skull-button {
  width: 82px;
  min-height: 82px;
  padding: 8px;
  border: 1px solid rgba(200, 204, 211, 0.28);
  border-radius: 8px;
  background: rgba(8, 8, 9, 0.9);
  color: var(--de-silver);
  cursor: pointer;
  font: inherit;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
}

.de-skull-button .de-skull {
  font-size: 2.05rem;
  line-height: 1;
}

.de-skull-button.is-active,
.de-skull-button:hover {
  border-color: rgba(210, 13, 23, 0.8);
  color: #fff;
}

.de-social-rail {
  display: grid;
  gap: 8px;
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  transform: translateY(-10px);
  transition: max-height 0.28s ease, opacity 0.22s ease, transform 0.28s ease;
}

.de-social-rail.is-open {
  max-height: 320px;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.de-social-rail a {
  display: grid;
  place-items: center;
  width: 82px;
  height: 42px;
  border: 1px solid rgba(210, 13, 23, 0.58);
  border-radius: 8px;
  background: #09090a;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
}

.de-social-rail svg {
  width: 22px;
  height: 22px;
  fill: var(--de-silver);
  filter: drop-shadow(0 0 8px rgba(210, 13, 23, 0.35));
}

.de-social-rail a:hover svg {
  fill: #fff;
}

.de-site-footer {
  border-top: 1px solid var(--de-line);
  background: #050505;
}

.de-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 0;
  color: var(--de-muted);
  font-size: 0.9rem;
}

.de-footer-inner p {
  margin: 0;
}

.pagination {
  margin-top: 34px;
}

.nav-links {
  display: flex;
  gap: 8px;
}

.page-numbers {
  min-width: 38px;
  padding: 8px 11px;
  border: 1px solid var(--de-line);
  color: var(--de-silver);
  text-align: center;
  text-decoration: none;
}

.page-numbers.current {
  background: var(--de-primary);
  color: #fff;
}

@media (max-width: 1040px) {
  .de-home-layout,
  .de-content-layout,
  .de-post-list,
  .de-post-grid {
    grid-template-columns: 1fr;
  }

  .de-content-main {
    overflow: visible;
  }

  .de-sidebar {
    order: 2;
  }
}

@media (max-width: 720px) {
  .de-header-inner,
  .de-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .de-menu {
    flex-wrap: wrap;
  }

  .de-submenu {
    position: static;
    width: min(100%, 320px);
    max-height: 260px;
    margin-top: 8px;
  }

  .de-featured-slider {
    height: 330px;
  }

  .de-floating {
    right: 10px;
  }

  .de-skull-button,
  .de-social-rail a {
    width: 72px;
  }

  .de-skull-button {
    min-height: 72px;
    font-size: 0.64rem;
  }

  .de-widget .wp-block-search__inside-wrapper,
  .de-widget .search-form {
    flex-direction: column;
  }
}
