/* ===== CRIMSON PULSE PAGES THEME ===== */

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  color: #ffffff;
  background: #120304;
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

a {
  color: inherit;
}

.cp-page {
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 53, 53, 0.24), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(255, 179, 71, 0.18), transparent 30%),
    radial-gradient(circle at 50% 110%, rgba(255, 53, 53, 0.14), transparent 36%),
    linear-gradient(135deg, #150405 0%, #280609 48%, #0b0102 100%);
}

.cp-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HEADER ===== */

.cp-header {
  position: relative;
  z-index: 50;
  width: 100%;
  padding: 18px 18px 0;
}

.cp-header-inner {
  width: 100%;
  max-width: 1240px;
  min-height: 76px;
  margin: 0 auto;
  padding: 14px 16px 14px 20px;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 18px;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(255, 53, 53, 0.13), rgba(255, 255, 255, 0.055)),
    rgba(8, 0, 1, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-left: 4px solid #ff3535;
  border-radius: 18px;
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.cp-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  text-decoration: none;
  min-width: 0;
}

.cp-brand-logo {
  display: block;
  width: auto;
  max-width: 230px;
  max-height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(255, 56, 56, 0.32));
}

.cp-brand-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.36), transparent 30%),
    linear-gradient(135deg, #ff3535, #ff7043, #ffb347);
  box-shadow: 0 14px 34px rgba(255, 56, 56, 0.32);
}

.cp-brand-icon i {
  font-size: 24px;
}

.cp-brand-text {
  color: #ffffff;
  font-size: 23px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -1px;
  white-space: nowrap;
}

.cp-header-status {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.cp-status-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #ffb347;
  box-shadow: 0 0 0 5px rgba(255, 179, 71, 0.12);
}

.cp-header-links {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.cp-header-links a {
  min-height: 42px;
  padding: 0 13px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.74);
  background: transparent;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
  transition: all 0.22s ease;
}

.cp-header-links a i {
  color: #ffb19d;
  font-size: 17px;
}

.cp-header-links a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.085);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.cp-header-links a:hover i {
  color: #ffffff;
}

.cp-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.cp-action-chip {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, #ff3535 0%, #ff7043 55%, #ffb347 100%);
  border: 1px solid transparent;
  box-shadow: 0 15px 34px rgba(255, 56, 56, 0.3);
  font-size: 13px;
  font-weight: 950;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.22s ease;
}

.cp-action-chip:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(255, 56, 56, 0.4);
}

/* ===== MAIN ===== */

.cp-main {
  position: relative;
  padding: 64px 0 92px;
}

.cp-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.86), transparent);
  pointer-events: none;
}

.cp-bg-orb {
  position: absolute;
  z-index: 0;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(2px);
  animation: cpFloat 10s ease-in-out infinite;
}

.cp-bg-orb-one {
  width: 270px;
  height: 270px;
  left: -90px;
  top: 110px;
  background: rgba(255, 53, 53, 0.18);
}

.cp-bg-orb-two {
  width: 320px;
  height: 320px;
  right: -120px;
  bottom: 80px;
  background: rgba(255, 179, 71, 0.14);
  animation-delay: 1.5s;
}

.cp-bg-orb-three {
  width: 190px;
  height: 190px;
  left: 38%;
  bottom: 10px;
  background: rgba(255, 112, 67, 0.11);
  animation-delay: 3s;
}

/* ===== HERO ===== */

.cp-page-hero {
  position: relative;
  z-index: 2;
  margin-bottom: 28px;
}

.cp-hero-card {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 179, 71, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.095);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 34px 86px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.cp-hero-card::after {
  content: "";
  position: absolute;
  right: -100px;
  top: -120px;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255, 179, 71, 0.22), transparent 62%),
    radial-gradient(circle, rgba(255, 53, 53, 0.16), transparent 70%);
  pointer-events: none;
}

.cp-breadcrumb {
  position: relative;
  z-index: 2;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 22px;
  padding: 10px 13px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 13px;
  font-weight: 850;
}

.cp-breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffb19d;
  text-decoration: none;
}

.cp-breadcrumb a:hover {
  color: #ffffff;
}

.cp-breadcrumb-sep {
  color: rgba(255, 255, 255, 0.32);
}

.cp-eyebrow {
  position: relative;
  z-index: 2;
  width: fit-content;
  margin-bottom: 18px;
  padding: 10px 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffd9d9;
  background: rgba(255, 82, 82, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 14px;
  font-weight: 950;
}

.cp-eyebrow i {
  color: #ffb347;
  font-size: 18px;
}

.cp-hero-card h1 {
  position: relative;
  z-index: 2;
  max-width: 850px;
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -2.5px;
}

.cp-meta {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cp-meta span {
  min-height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  font-weight: 850;
}

.cp-meta i {
  color: #ffb19d;
  font-size: 17px;
}

/* ===== CONTENT LAYOUT ===== */

.cp-content-section {
  position: relative;
  z-index: 2;
}

.cp-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
}

.cp-article-card {
  overflow: hidden;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.095);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.cp-article-body {
  padding: 34px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.85;
}

.cp-article-body > *:first-child {
  margin-top: 0;
}

.cp-article-body > *:last-child {
  margin-bottom: 0;
}

.cp-article-body h1,
.cp-article-body h2,
.cp-article-body h3,
.cp-article-body h4,
.cp-article-body h5,
.cp-article-body h6 {
  color: #ffffff;
  line-height: 1.16;
  font-weight: 950;
  letter-spacing: -0.6px;
  margin: 1.2em 0 0.55em;
}

.cp-article-body h1 {
  font-size: 38px;
}

.cp-article-body h2 {
  font-size: 31px;
}

.cp-article-body h3 {
  font-size: 25px;
}

.cp-article-body h4 {
  font-size: 21px;
}

.cp-article-body p {
  margin: 0 0 18px;
}

.cp-article-body a {
  color: #ffb19d;
  font-weight: 900;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 177, 157, 0.45);
}

.cp-article-body a:hover {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.75);
}

.cp-article-body ul,
.cp-article-body ol {
  margin: 0 0 20px;
  padding-left: 24px;
}

.cp-article-body li {
  margin: 8px 0;
}

.cp-article-body blockquote {
  margin: 24px 0;
  padding: 20px 22px;
  border-left: 4px solid #ff3535;
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.84);
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 179, 71, 0.1), transparent 34%),
    rgba(0, 0, 0, 0.22);
}

.cp-article-body code {
  padding: 3px 7px;
  border-radius: 8px;
  color: #ffd9d9;
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.92em;
}

.cp-article-body pre {
  overflow: auto;
  padding: 18px;
  border-radius: 18px;
  color: #ffd9d9;
  background: rgba(0, 0, 0, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cp-article-body pre code {
  padding: 0;
  border: 0;
  background: transparent;
}

.cp-article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 18px;
  display: block;
  margin: 22px auto;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.cp-article-body iframe {
  max-width: 100%;
  border: 0;
  border-radius: 18px;
  background: #000000;
}

.cp-article-body hr {
  height: 1px;
  margin: 28px 0;
  border: 0;
  background: rgba(255, 255, 255, 0.14);
}

/* ===== SIDEBAR ===== */

.cp-sidebar {
  display: grid;
  gap: 18px;
}

.cp-sidebar-card {
  overflow: hidden;
  padding: 18px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 179, 71, 0.1), transparent 34%),
    rgba(255, 255, 255, 0.085);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 26px 62px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.cp-sidebar-label {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffb19d;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.cp-sidebar-label i {
  font-size: 18px;
}

.cp-rectangle-ad {
  width: 300px;
  max-width: 100%;
  min-height: 250px;
  margin: 0 auto;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #190305;
  border-radius: 12px;
  line-height: 0;
}

.cp-rectangle-ad a,
.cp-rectangle-ad img,
.cp-rectangle-ad iframe,
.cp-rectangle-ad object,
.cp-rectangle-ad embed {
  display: block;
  width: 300px;
  max-width: 100%;
  height: 250px;
  max-height: 250px;
  margin: 0;
  padding: 0;
  border: 0;
}

.cp-rectangle-ad img {
  object-fit: fill;
}

.cp-help-card {
  text-align: center;
}

.cp-help-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, #ff3535, #ff7043, #ffb347);
  box-shadow: 0 16px 36px rgba(255, 56, 56, 0.3);
}

.cp-help-icon i {
  font-size: 28px;
}

.cp-help-card h3 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 22px;
  font-weight: 950;
}

.cp-help-card p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.65;
}

.cp-help-card a {
  min-height: 44px;
  padding: 0 17px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, #ff3535, #ff7043, #ffb347);
  box-shadow: 0 14px 32px rgba(255, 56, 56, 0.28);
  font-size: 14px;
  font-weight: 950;
  text-decoration: none;
  transition: all 0.22s ease;
}

.cp-help-card a:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(255, 56, 56, 0.38);
}

/* ===== FOOTER ===== */

.cp-footer {
  position: relative;
  z-index: 3;
  padding: 0 0 28px;
}

.cp-footer-wrap {
  padding: 20px;
  border-radius: 24px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 22px;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(255, 53, 53, 0.12), rgba(255, 255, 255, 0.045)),
    rgba(8, 0, 1, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-left: 4px solid #ff3535;
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.cp-footer-brand {
  min-width: 0;
}

.cp-footer-logo {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 17px;
  font-weight: 950;
  letter-spacing: -0.4px;
  text-decoration: none;
}

.cp-footer-logo-img {
  display: block;
  width: auto;
  max-width: 220px;
  max-height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(255, 56, 56, 0.28));
}

.cp-footer-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.38), transparent 30%),
    linear-gradient(135deg, #ff3535, #ff7043, #ffb347);
  box-shadow: 0 12px 26px rgba(255, 56, 56, 0.24);
}

.cp-footer-mark i {
  font-size: 20px;
}

.cp-footer-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cp-footer-links a {
  min-height: 38px;
  padding: 0 13px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.22s ease;
}

.cp-footer-links a:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #ff3535, #ff7043);
  transform: translateY(-2px);
}

.cp-footer-powered {
  min-height: 42px;
  padding: 0 15px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.62);
  background: rgba(0, 0, 0, 0.22);
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

.cp-footer-powered a {
  color: #ffb19d;
  font-weight: 950;
  text-decoration: none;
}

.cp-footer-powered a:hover {
  color: #ffffff;
}

/* ===== ANIMATION ===== */

@keyframes cpFloat {
  0%,
  100% {
    transform: translateY(0) translateX(0);
  }

  50% {
    transform: translateY(-22px) translateX(14px);
  }
}

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

@media (max-width: 1120px) {
  .cp-header-inner {
    grid-template-columns: 1fr auto;
  }

  .cp-header-status {
    display: none;
  }

  .cp-header-links {
    order: 3;
    grid-column: 1 / -1;
    justify-content: center;
    padding-top: 4px;
  }

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

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

  .cp-help-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .cp-header {
    padding: 10px 10px 0;
  }

  .cp-header-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 16px;
    border-radius: 18px;
  }

  .cp-brand {
    justify-content: center;
  }

  .cp-brand-logo {
    max-width: 210px;
    max-height: 48px;
  }

  .cp-brand-text {
    font-size: 20px;
  }

  .cp-header-links {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    order: unset;
    grid-column: auto;
  }

  .cp-header-links a {
    flex: 1 1 auto;
    min-width: 92px;
    justify-content: center;
    background: rgba(255, 255, 255, 0.055);
    border-color: rgba(255, 255, 255, 0.08);
  }

  .cp-header-actions {
    width: 100%;
    display: grid;
  }

  .cp-action-chip {
    width: 100%;
  }

  .cp-main {
    padding: 46px 0 64px;
  }

  .cp-hero-card {
    padding: 26px;
    border-radius: 28px;
  }

  .cp-hero-card h1 {
    font-size: clamp(34px, 11vw, 52px);
    letter-spacing: -1.8px;
  }

  .cp-article-card {
    border-radius: 26px;
  }

  .cp-article-body {
    padding: 26px;
    font-size: 15px;
  }

  .cp-article-body h1 {
    font-size: 31px;
  }

  .cp-article-body h2 {
    font-size: 27px;
  }

  .cp-article-body h3 {
    font-size: 23px;
  }

  .cp-sidebar {
    grid-template-columns: 1fr;
  }

  .cp-sidebar-card {
    border-radius: 22px;
  }

  .cp-footer-wrap {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .cp-footer-logo {
    margin-left: auto;
    margin-right: auto;
  }

  .cp-footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 430px) {
  .cp-container {
    padding: 0 14px;
  }

  .cp-brand {
    width: 100%;
  }

  .cp-brand-logo {
    max-width: 190px;
    max-height: 44px;
  }

  .cp-brand-text {
    white-space: normal;
  }

  .cp-header-links a {
    min-width: calc(50% - 6px);
  }

  .cp-breadcrumb {
    border-radius: 18px;
  }

  .cp-hero-card {
    padding: 22px;
  }

  .cp-article-body {
    padding: 22px;
  }

  .cp-rectangle-ad {
    transform: scale(0.86);
    transform-origin: center;
  }

  .cp-sidebar-card {
    min-height: 260px;
  }

  .cp-footer-wrap {
    padding: 18px;
    border-radius: 20px;
  }

  .cp-footer-logo-img {
    max-width: 190px;
    max-height: 42px;
  }

  .cp-footer-links {
    display: grid;
    width: 100%;
  }

  .cp-footer-links a,
  .cp-footer-powered {
    width: 100%;
    justify-content: center;
  }
}