:root {
  --bg: #121010;
  --bg-elev: #1d1414;
  --card: #231717;
  --card-alt: #1c1313;
  --text: #f7efef;
  --muted: #c6b9b9;
  --red-dark: #5c0f17;
  --red: #b71c2a;
  --red-soft: #da4a56;
  --green-dark: #0f3f2a;
  --green: #1f7a4e;
  --line: #3a2424;
  --shadow: 0 10px 35px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.65;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    radial-gradient(1200px 500px at 10% -10%, rgba(183, 28, 42, 0.34), transparent),
    radial-gradient(900px 500px at 95% 0%, rgba(31, 122, 78, 0.28), transparent),
    var(--bg);
  background-size: 24px 24px, 24px 24px, auto, auto, auto;
}

a {
  color: #ff8892;
  text-underline-offset: 3px;
}

a:hover {
  color: #ffc6cd;
}

.main {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 10px 14px 30px;
}

.content {
  position: relative;
  background: linear-gradient(180deg, rgba(35, 23, 23, 0.95), rgba(22, 15, 15, 0.95));
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.content::before,
.content::after {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(31, 122, 78, 0.22), transparent 70%);
  pointer-events: none;
}

.content::after {
  inset: 0 0 auto auto;
  background: radial-gradient(circle, rgba(183, 28, 42, 0.24), transparent 72%);
}

.container {
  width: min(1080px, 100%);
  margin: 0 auto;
  padding: 0 16px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(8px);
  background: rgba(18, 16, 16, 0.84);
  border-bottom: 1px solid var(--line);
  padding: 12px 16px;
}

.header::after {
  content: "";
  display: block;
  width: 120px;
  height: 3px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--red-soft), transparent);
}

.logo img {
  width: 130px;
  height: auto;
  display: block;
}

.banner {
  padding: 18px 0 14px;
}

.banner-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  align-items: center;
}

.info {
  position: relative;
  background: linear-gradient(145deg, rgba(92, 15, 23, 0.5), rgba(15, 63, 42, 0.28));
  border: 1px solid #4f2c2f;
  border-radius: 22px;
  padding: 20px;
  overflow: hidden;
}

.info::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), transparent 65%);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  pointer-events: none;
}

.info::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 0 0 22px rgba(255,255,255,0.03), 0 0 0 44px rgba(255,255,255,0.02);
  pointer-events: none;
}

.subtitle {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.3px;
  color: #ffd6da;
  background: rgba(183, 28, 42, 0.32);
  border: 1px solid rgba(255, 170, 178, 0.25);
  padding: 6px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.hero-flags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.hero-flags span {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.42);
  border: 1px solid rgba(255,255,255,0.08);
  color: #efe7e7;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.title {
  margin: 0 0 8px;
  font-size: clamp(1.55rem, 3.2vw, 2.35rem);
  line-height: 1.2;
}

.txt {
  color: var(--muted);
  font-size: 0.98rem;
}

.btns {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.stat-card {
  padding: 10px 12px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(17,17,17,0.28), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(3px);
}

.stat-card strong {
  display: block;
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.stat-card span {
  display: block;
  color: #d9cccc;
  font-size: 0.87rem;
}

.main-btn,
.gray-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  padding: 11px 16px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.16s ease, filter 0.16s ease, border-color 0.16s ease;
}

.main-btn {
  background: linear-gradient(120deg, var(--red-dark), var(--red));
  color: #fff;
}

.gray-btn {
  background: linear-gradient(120deg, #2f2525, #3b2a2a);
  border-color: #6b4747;
  color: #ffe8eb;
}

.main-btn:hover,
.gray-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.images {
  display: grid;
  gap: 10px;
  position: relative;
}

.images img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  border: 1px solid #4a2f2f;
  background: #1a1111;
}

.images img:first-child {
  transform: rotate(-1.2deg);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.images img.two {
  width: 72%;
  justify-self: end;
  margin-top: -48px;
  transform: rotate(3deg);
  border-color: #28533e;
}

.info-section {
  padding: 10px 0 18px;
}

.content-wrap {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 16px;
  align-items: start;
}

.sidebar {
  position: sticky;
  top: 72px;
}

.sidebar-menu {
  margin: 0;
  padding: 10px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(92, 15, 23, 0.16), rgba(15, 63, 42, 0.12)),
    linear-gradient(180deg, #1b1313, #181111);
}

.sidebar-menu li + li {
  margin-top: 6px;
}

.sidebar-menu a {
  display: block;
  padding: 10px 11px;
  color: #ffd9dd;
  text-decoration: none;
  border-radius: 10px;
  border: 1px solid transparent;
  position: relative;
  padding-left: 34px;
}

.sidebar-menu a:hover {
  background: rgba(183, 28, 42, 0.2);
  border-color: #6a3238;
}

.sidebar-menu a::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--green), var(--red-soft));
  box-shadow: 0 0 0 4px rgba(255,255,255,0.03);
}

.main-content {
  min-width: 0;
}

.text-content section {
  position: relative;
  margin-bottom: 14px;
  padding: 18px 18px 18px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, var(--card), var(--card-alt));
  overflow: hidden;
}

.text-content section::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 4px;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(180deg, var(--red-soft), var(--green));
}

.text-content section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.04), transparent 26%);
  pointer-events: none;
}

h1,
h2,
h3 {
  margin: 0 0 10px;
  line-height: 1.28;
}

h2 {
  font-size: clamp(1.18rem, 2vw, 1.55rem);
}

h3 {
  font-size: clamp(1.02rem, 1.8vw, 1.2rem);
}

p {
  margin: 0 0 10px;
  color: var(--muted);
}

strong {
  color: #fff1f2;
}

ul,
ol {
  margin: 0 0 10px;
  padding-left: 22px;
  color: #e7dede;
}

li + li {
  margin-top: 6px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0 12px;
  border: 1px solid #503030;
  border-radius: 12px;
  overflow: hidden;
}

th,
td {
  border: 1px solid #452c2c;
  padding: 10px 8px;
  text-align: left;
}

th {
  background: linear-gradient(120deg, rgba(92, 15, 23, 0.64), rgba(31, 122, 78, 0.36));
  color: #fff;
  font-weight: 700;
}

td {
  color: #f2e8e8;
  background: rgba(255, 255, 255, 0.01);
}

tbody tr:nth-child(even) td {
  background: rgba(255,255,255,0.025);
}

.quick-grid {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.quick-grid li {
  margin: 0;
  padding: 14px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(183, 28, 42, 0.14), rgba(31, 122, 78, 0.1)),
    rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.07);
}

.faq-item {
  border: 1px solid #4c2c2c;
  background: linear-gradient(180deg, #2b1a1a, #251717);
  border-radius: 16px;
  padding: 14px;
  margin-top: 10px;
  position: relative;
}

.faq-item::before {
  content: "Q";
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(255,255,255,0.06);
}

.author-section {
  border-color: #5f3035 !important;
  background:
    linear-gradient(135deg, rgba(92, 15, 23, 0.26), rgba(15, 63, 42, 0.16)),
    linear-gradient(180deg, #231717, #191212) !important;
}

.footer {
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding: 16px 0 20px;
  background: linear-gradient(180deg, rgba(92, 15, 23, 0.2), rgba(15, 63, 42, 0.2));
}

.payments {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: center;
}

.payments img {
  width: 100%;
  max-width: min(100%, 860px);
  margin: 0 auto;
  height: auto;
  display: block;
  filter: saturate(0.95) contrast(1.03);
}

.copyright {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid #4c3232;
  border-radius: 16px;
  background: rgba(25, 16, 16, 0.7);
}

.copyright .img img {
  width: 52px;
  height: auto;
  margin: 0 auto 6px;
  display: block;
}

.copyright p {
  text-align: center;
  margin: 0;
}

@media (max-width: 980px) {
  .content-wrap {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .sidebar-menu {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    white-space: nowrap;
    padding: 8px;
  }

  .sidebar-menu li {
    margin: 0;
    flex: 0 0 auto;
  }

  .sidebar-menu li + li {
    margin-top: 0;
  }
}

@media (max-width: 760px) {
  .main {
    padding: 8px 8px 16px;
  }

  .header {
    padding: 10px 12px;
  }

  .logo img {
    width: 112px;
  }

  .banner-wrap {
    grid-template-columns: 1fr;
  }

  .info {
    padding: 14px;
    border-radius: 14px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .text-content section {
    padding: 13px;
  }

  .quick-grid {
    grid-template-columns: 1fr;
  }

  .btns {
    flex-direction: column;
  }

  .main-btn,
  .gray-btn {
    width: 100%;
    min-width: 0;
  }

  table,
  thead,
  tbody,
  th,
  td,
  tr {
    display: block;
  }

  thead {
    display: none;
  }

  tr {
    border-bottom: 1px solid #4f2f2f;
  }

  td {
    border: 0;
    border-bottom: 1px dashed #3a2626;
    padding: 8px 0;
  }

  .payments img {
    max-width: 100%;
  }

  .images img.two {
    width: 82%;
    margin-top: -28px;
  }
}