:root {
  /* Бордовый акцент */
  --accent-color: #900c3f;
  --accent-hover: #c70039;
  /* Графитовый для заголовков */
  --neutral-dark: #2c3e50;
  /* Мягкий серый для текста */
  --text-main: #4a4a4a;
  /* Светлый фон всего сайта */
  --bg-main: #f4f6f9;
  /* Белый для карточек */
  --bg-white: #ffffff;
  --border-light: #e1e4e8;

  --pros-bg: #f0fdf4;
  --pros-border: #22c55e;
  --cons-bg: #fef2f2;
  --cons-border: #ef4444;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  font-size: 16px;
}

/* Header */
header {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 48px;
  width: 150px; /* Чтобы пустое лого занимало место */
  display: block;
}

.logo img {
  height: inherit;
}

.header-actions {
  display: flex;
  gap: 15px;
}

/* Buttons */
.button {
  background-color: var(--accent-color);
  color: var(--bg-white);
  padding: 12px 26px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  transition: all 0.3s ease;
  display: inline-block;
  border: 2px solid var(--accent-color);
  box-shadow: 0 4px 15px rgba(144, 12, 63, 0.2);
  cursor: pointer;
  font-size: 16px;
  font-family: inherit;
}

.button:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(199, 0, 57, 0.3);
}

.button.outline {
  background-color: transparent;
  color: var(--accent-color);
  box-shadow: none;
}

.button.outline:hover {
  background-color: var(--accent-color);
  color: var(--bg-white);
}

/* Layout & Sections */
.section {
  max-width: 1000px;
  margin: 40px auto;
  padding: 40px;
  background: var(--bg-white);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
}

/* Typography */
h1 {
  font-size: 36px;
  color: var(--neutral-dark);
  margin-bottom: 20px;
  line-height: 1.3;
  font-weight: 900;
}

h2 {
  font-size: 28px;
  color: var(--neutral-dark);
  margin-top: 40px;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
  font-weight: 800;
}

h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: var(--accent-color);
  border-radius: 2px;
}

h3 {
  font-size: 22px;
  color: var(--neutral-dark);
  margin-top: 35px;
  margin-bottom: 15px;
  font-weight: 700;
}

p {
  margin-bottom: 20px;
}

/* Витрина */
.showcase-wrapper {
  background: var(--bg-main);
  border-radius: 16px;
  padding: 25px;
  margin: 30px 0;
  border: 1px solid var(--border-light);
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 12px;
}

tr.brand-row {
  background: var(--bg-white);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

tr.brand-row:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

td {
  padding: 20px;
  vertical-align: middle;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

tr:first-child td {
  border: none;
  background: transparent;
  box-shadow: none;
  padding: 0 20px 10px;
  color: var(--text-muted);
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 700;
}

tr.brand-row td:first-child {
  border-left: 1px solid var(--border-light);
  border-radius: 12px 0 0 12px;
  width: 80px;
  text-align: center;
}

tr.brand-row td:last-child {
  border-right: 1px solid var(--border-light);
  border-radius: 0 12px 12px 0;
  text-align: right;
}

.casino-icon {
  width: 50px;
  height: 50px;
  background: var(--bg-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-light);
  margin: 0 auto;
}

.brand-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--neutral-dark);
  display: block;
}

.bonus-highlight {
  font-weight: 700;
  color: var(--accent-color);
  font-size: 18px;
}

/* Pros and Cons */
.pros-cons {
  display: flex;
  gap: 24px;
  margin: 30px 0;
}

.pros-cons > div {
  flex: 1;
  padding: 30px 25px;
  border-radius: 12px;
  position: relative;
}

.pros-cons > div:first-child {
  background-color: var(--pros-bg);
  border-top: 4px solid var(--pros-border);
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.05);
}

.pros-cons > div:last-child {
  background-color: var(--cons-bg);
  border-top: 4px solid var(--cons-border);
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.05);
}

.pros-cons h3 {
  font-size: 20px;
  margin-top: 0;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pros-cons > div:first-child h3 {
  color: #166534;
}
.pros-cons > div:last-child h3 {
  color: #991b1b;
}

.pros-cons ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pros-cons li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--neutral-dark);
  font-weight: 500;
}

.pros-cons > div:first-child li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--bg-white);
  background-color: var(--pros-border);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.pros-cons > div:last-child li::before {
  content: "✕";
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--bg-white);
  background-color: var(--cons-border);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

/* Списки */
ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

ol {
  list-style: none;
  counter-reset: step;
  padding: 0 0 0 25px;
  margin: 40px 0;
}

ol li {
  position: relative;
  background: var(--bg-white);
  padding: 25px 30px 25px 50px;
  margin-bottom: 25px;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  font-weight: 500;
  color: var(--neutral-dark);
  transition:
    transform 0.2s,
    border-color 0.2s;
}

ol li:hover {
  transform: translateX(5px);
  border-color: var(--accent-color);
}

ol li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: -24px;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: var(--accent-color);
  color: var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 22px;
  box-shadow: 0 4px 15px rgba(144, 12, 63, 0.4);
  border: 4px solid var(--bg-white);
}

/* Expert Note */
.expert-note {
  background-color: var(--bg-main);
  border-left: 4px solid var(--accent-color);
  padding: 25px;
  margin: 30px 0;
  border-radius: 0 12px 12px 0;
}

.expert-note p {
  margin: 0;
  color: var(--text-main);
  font-weight: 500;
}

/* FAQ System */
.faq-container {
  margin-top: 30px;
}

.faq-item {
  position: relative;
  margin-bottom: 15px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.faq-item:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.toggle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  opacity: 0;
  cursor: pointer;
  z-index: 10;
}

.faq-question {
  padding: 20px 60px 20px 25px;
  margin: 0;
  font-size: 18px;
  color: var(--neutral-dark);
  font-weight: 700;
  background: var(--bg-main);
}

.icon {
  position: absolute;
  top: 24px;
  right: 25px;
  width: 16px;
  height: 16px;
  pointer-events: none;
}

.icon::before,
.icon::after {
  content: "";
  position: absolute;
  background-color: var(--accent-color);
  border-radius: 2px;
  transition: transform 0.3s;
}

.icon::before {
  top: 7px;
  left: 0;
  width: 16px;
  height: 3px;
}

.icon::after {
  top: 0;
  left: 6.5px;
  width: 3px;
  height: 16px;
}

.faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    padding 0.4s ease;
  margin: 0;
  color: var(--text-main);
}

.toggle:checked ~ .faq-answer {
  max-height: 500px;
  padding: 20px 25px 25px;
}

.toggle:checked ~ .icon::after {
  transform: rotate(90deg);
}

/* Author Block Emoji */
.author-block {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 30px;
  background: var(--bg-main);
  border-radius: 12px;
  border: 1px solid var(--border-light);
  margin-top: 40px;
}

.author-emoji {
  font-size: 50px;
  line-height: 1;
  background: var(--bg-white);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-light);
}

.author-info h4 {
  margin: 0 0 5px;
  color: var(--neutral-dark);
  font-size: 18px;
}

/* Footer */
footer {
  background-color: var(--neutral-dark);
  color: var(--bg-white);
  padding: 60px 20px 40px;
  margin-top: 60px;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding-bottom: 25px;
}

.footer-inner:last-child {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  padding-bottom: 0;
  text-align: center;
}

.footer-brand p {
  margin-bottom: 5px;
}

.footer-inner p {
  color: #a0aec0;
  font-size: 14px;
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    gap: 15px;
  }

  .section {
    margin: 20px 15px;
    padding: 25px 20px;
  }

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

  tr:first-child {
    display: none;
  }

  tr.brand-row {
    margin-bottom: 15px;
  }

  tr.brand-row td:first-child {
    border-radius: 12px 12px 0 0;
    border-right: 1px solid var(--border-light);
    border-bottom: none;
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
  }

  tr.brand-row td:last-child {
    border-radius: 0 0 12px 12px;
    border-left: 1px solid var(--border-light);
    border-top: none;
    text-align: center;
  }

  td {
    text-align: center;
  }

  .pros-cons {
    flex-direction: column;
    gap: 15px;
  }

  ol li {
    padding: 20px 20px 20px 40px;
  }

  ol li::before {
    width: 40px;
    height: 40px;
    font-size: 18px;
    left: -20px;
  }
}
