@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");
:root {
  --bg: #2c1753;
  --panel: #3a216b;
  --header: #463195;
  --blue: #4172c1;
  --yellow: #ffdc41;
  --white: #fff;
  --muted: #cbbde2;
  --line: #684b99;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: radial-gradient(circle at 80% 0, #4d2c83 0, #2c1753 42%);
  color: var(--white);
  font:
    16px/1.65 Inter,
    Arial,
    sans-serif;
}
a {
  color: #a8cfff;
  text-decoration: none;
}
a:hover {
  color: var(--yellow);
}
.shell {
  width: min(1180px, calc(100% - 32px));
  margin: auto;
}
.topbar {
  background: var(--header);
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 3px 18px #180b31;
}
.headrow {
  min-height: 80px;
  display: grid;
  grid-template-columns: 170px 1fr auto;
  align-items: center;
  gap: 20px;
}
.logo img {
  filter: brightness(0) saturate(100%) invert(30%) sepia(90%) saturate(4000%)
    hue-rotate(300deg) brightness(95%) contrast(105%);
  width: 150px;
  height: 52px;
  object-fit: cover;
  border-radius: 10px;
}
.nav {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.nav a {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 17px;
  border-radius: 9px;
  border: 0;
  font-weight: 700;
  cursor: pointer;
  transition:
    0.2s transform,
    0.2s filter;
}
.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  color: #1a0a3e;
}
.secondary {
  background: var(--blue);
  color: #fff;
}
.primary {
  background: var(--yellow);
  color: #1a0a3e;
}
.burger {
  display: none;
  background: transparent;
  color: #fff;
  border: 1px solid #aa91da;
  border-radius: 7px;
  font-size: 22px;
  padding: 4px 10px;
}
.hero {
  margin: 30px 0;
  padding: 58px clamp(24px, 6vw, 78px);
  min-height: 310px;
  border-radius: 24px;
  background:
    linear-gradient(100deg, #241044bb, #50338bd9),
    url("/laban.png") center/cover;
  display: flex;
  align-items: center;
}
.hero h1 {
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.1;
  margin: 0 0 14px;
}
.hero p {
  color: #eee4ff;
  max-width: 650px;
  font-size: 18px;
}
.grid {
  display: grid;
  gap: 20px;
}
.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.box {
  background: #3a216bcc;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  margin: 22px 0;
  box-shadow: 0 10px 35px #160a2d44;
}
.box h2 {
  margin-top: 0;
}
.card {
  background: #4b2b7c;
  border: 1px solid #7654a9;
  border-radius: 14px;
  padding: 20px;
}
.card h3 {
  margin-top: 0;
  color: var(--yellow);
}
.eyebrow {
  color: var(--yellow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.crumbs {
  margin: 22px 0;
  color: var(--muted);
}
.toc ol {
  columns: 2;
}
.toc li {
  padding: 5px;
}
.tablewrap {
  overflow: auto;
}
.table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}
.table th,
.table td {
  padding: 13px 15px;
  text-align: left;
  border: 1px solid var(--line);
}
.table th {
  background: #50328a;
  color: var(--yellow);
}
.highlight {
  background: linear-gradient(110deg, #52308b, #2e71ba);
  border: 2px solid var(--yellow);
}
.tag {
  display: inline-block;
  background: #27134b;
  color: var(--yellow);
  padding: 5px 10px;
  border-radius: 99px;
  margin: 3px;
  font-size: 13px;
}
.rating {
  font-size: 32px;
  color: var(--yellow);
  font-weight: 800;
}
.winner {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #654993;
  padding: 8px;
}
.author {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 18px;
  align-items: center;
}
.author img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}
.content-body h2,
.content-body h3 {
  color: var(--yellow);
}
.content-body p,
.content-body li {
  color: #f1eaff;
}
.content-body table {
  border-collapse: collapse;
  width: 100%;
}
.content-body td,
.content-body th {
  border: 1px solid var(--line);
  padding: 10px;
}

.footer .footgrid > div:first-child > img {
  filter: brightness(0) saturate(100%) invert(30%) sepia(90%) saturate(4000%) hue-rotate(300deg) brightness(95%) contrast(105%);
  width: 150px;
  height: auto;
  object-fit: contain;
}

.footer {
  background: var(--header);
  margin-top: 55px;
  padding: 38px 0;
}
.footgrid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 28px;
}
.footgrid h3 {
  color: var(--yellow);
}
.footlinks {
  display: grid;
  gap: 7px;
}
.widget {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: var(--yellow);
  color: #1a0a3e;
  padding: 13px 18px;
  border-radius: 14px;
  box-shadow: 0 8px 30px #130727cc;
  z-index: 9;
}
.widget strong {
  display: block;
}
.range {
  height: 8px;
  border-radius: 9px;
  background: linear-gradient(90deg, var(--yellow) 0 84%, #60458a 84%);
}
form {
  display: grid;
  gap: 12px;
}
input,
textarea,
select {
  width: 100%;
  background: #281447;
  color: #fff;
  border: 1px solid #8062b1;
  border-radius: 8px;
  padding: 12px;
  font: inherit;
}
.swiper {
  overflow: hidden;
}
.slides {
  display: flex;
  gap: 16px;
}
.slides > * {
  min-width: 280px;
  flex: 1;
}
@media (max-width: 850px) {
  .headrow {
    grid-template-columns: 1fr auto auto;
  }
  .burger {
    display: block;
  }
  .nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--header);
    padding: 20px;
    flex-direction: column;
  }
  .nav.open {
    display: flex;
  }
  .actions .bonus {
    display: none;
  }
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footgrid {
    grid-template-columns: 1fr 1fr;
  }
  .hero {
    padding: 38px 25px;
  }
}
@media (max-width: 560px) {
  .shell {
    width: min(100% - 20px, 1180px);
  }
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .headrow {
    gap: 8px;
  }
  .actions .btn {
    padding: 8px;
    font-size: 12px;
  }
  .logo img {
    width: 125px;
  }
  .hero {
    min-height: 280px;
  }
  .toc ol {
    columns: 1;
  }
  .box {
    padding: 19px;
  }
  .footgrid {
    grid-template-columns: 1fr;
  }
  .widget {
    left: 10px;
    right: 10px;
    text-align: center;
  }
}
.wp-content,
.elementor-widget,
.q9m3p {
  opacity: 1;
}
.fade-in {
  animation: fade 0.7s ease both;
}
@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
