/* ============================================
   THEME CASINO - Blue
   ============================================ */

:root {
  --color-1: #1565C0;
  --color-2: #42A5F5;
  --color-3: #0A1929;
  --color-4: #071321;
  --color-5: #FFEB3B;
  --bg-color: #030B1A;
  --light-color: #FFFFFF;
  --dark-color: #000000;
  --h-color: var(--color-2);
  --accent-text-color: var(--color-2);
  --link-color: var(--light-color);
  --text-color: var(--light-color);
  --current-link-color: var(--color-1);
  --button-color: linear-gradient(92.58deg, var(--color-1) 2.15%, var(--color-2) 100%);
  --content-bg-color: var(--color-4);
  --banner-container-bg-color: linear-gradient(92.58deg, var(--color-1) 2.15%, var(--color-2) 100%);
  --banner-bg-color: rgba(10, 25, 50, 1);
  --decore-line-color: rgba(255, 255, 255, 0.05);
  --bg-blur-color: var(--color-1);
  --bg-card-color: rgba(255, 255, 255, 0.13);
  --thead-bg-color: var(--color-1);
  --td-first-bg-color: var(--color-3);
  --thead-second-bg-color: var(--color-2);
  --autor-work-color: rgba(141, 141, 141, 1);
  --scrollbar-bg: rgba(91, 91, 95, 1);
  --scrollbar-track: rgba(249, 249, 253, 1);
  --border-color: rgba(204, 204, 204, 1);
  --menu-item-color: rgba(51, 51, 51, 1);
  --menu-hover-color: rgba(207, 216, 220, 1);
  --warning-color: rgba(255, 204, 0, 1);
  --error-color: rgba(139, 0, 0, 1);
  --gold-color: rgba(255, 215, 0, 1);
  --shadow-light: rgba(0, 0, 0, 0.1);
  --shadow-medium: rgba(0, 0, 0, 0.2);
  --transparent: transparent;
}

/* Font fallback - replace with actual font files if available */
@font-face {
  font-family: 'SF Pro Text';
  src: url(../fonts/SFProText-Regular.woff2) format('woff2'),
       url(../fonts/SFProText-Regular.woff) format('woff'),
       url(../fonts/SFProText-Regular.ttf) format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SF Pro Text';
  src: url(../fonts/SFProText-Bold.woff2) format('woff2'),
       url(../fonts/SFProText-Bold.woff) format('woff'),
       url(../fonts/SFProText-Bold.ttf) format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SF Pro Text';
  src: url(../fonts/SFProText-Medium.woff2) format('woff2'),
       url(../fonts/SFProText-Medium.woff) format('woff'),
       url(../fonts/SFProText-Medium.ttf) format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ============================================
   SCROLLBAR
   ============================================ */
*::-webkit-scrollbar {
  width: 10px;
  background-color: var(--scrollbar-bg);
}

*::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: var(--dark-color);
  border: 1px solid var(--border-color);
}

*::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px var(--shadow-medium);
  border-radius: 10px;
  background-color: var(--scrollbar-track);
}

/* ============================================
   RESET
   ============================================ */
* {
  padding: 0;
  margin: 0;
  border: 0;
}

*, *:before, *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

:focus, :active { outline: none; }
a:focus, a:active { outline: none; }
nav, footer, header, aside { display: block; }

html, body {
  min-height: 100%;
  width: 100%;
  font-size: 100%;
  line-height: 1.2;
  font-size: 20px;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  overflow-x: hidden;
}

html:has(#menu__toggle:checked),
html:has(#menu__toggle:checked) body {
  overflow: hidden;
}

input, button, textarea { font-family: inherit; }
input::-ms-clear { display: none; }
button { cursor: pointer; }
button::-moz-focus-inner { padding: 0; border: 0; }
a, a:visited { text-decoration: none; }
a:hover { text-decoration: none; }
ul li { list-style: none; }
img { vertical-align: top; }

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: 700;
  color: var(--h-color);
  text-transform: uppercase;
  line-height: 1.3;
}

h1 { font-size: 34px; }
h2 { font-size: 32px; margin: 24px 0 18px; }
h3 { font-size: 30px; margin: 24px 0 18px; }
h4 { font-size: 28px; margin: 24px 0 18px; }
h5 { font-size: 26px; margin: 24px 0 18px; }
h6 { font-size: 24px; margin: 24px 0 18px; }

/* ============================================
   CONTAINER
   ============================================ */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 13px;
  position: relative;
}

section { margin: 30px 0; }

/* ============================================
   HEADER
   ============================================ */
.header {
  padding: 10px 0;
  z-index: 998;
  background: var(--color-3);
  border-bottom: 2px solid var(--color-1);
  position: relative;
  transition: all 0.3s ease;
}

.header.header--sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  box-shadow: 0 4px 20px rgb(0 0 0 / .3);
  pointer-events: none;
}

.header.header--sticky.header--visible {
  transform: translateY(0);
  pointer-events: auto;
}

.menu__box {
  display: flex;
  gap: 30px;
}

.menu__logo, .menu__buttons { display: none; }

.header__logo img {
  border-radius: 10px;
  width: fit-content;
}

.header__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__menu_box {
  display: flex;
  gap: 20px;
  align-items: center;
}

.header__menu_link {
  text-transform: uppercase;
  font-size: 16px;
  color: var(--link-color);
}

a.current__item { color: var(--current-link-color); }

.header__menu_btn {
  display: flex;
  gap: 10px;
  align-items: center;
}

.header__btn_play {
  background-color: var(--color-5);
  color: var(--current-link-color);
  border: 1px solid var(--color-5);
  border-radius: 12px;
  padding: 10px 30px;
  transition: all 0.3s ease;
  animation: btnGlow 2s ease-in-out infinite;
  font-weight: 600;
}

@keyframes btnGlow {
  0%, 100% { filter: drop-shadow(0 0 6px var(--color-5)); }
  50% { filter: drop-shadow(0 0 12px var(--color-5)); }
}

.header__btn_play:hover {
  background-color: var(--color-5);
  color: var(--current-link-color);
  border: 1px solid var(--color-5);
  filter: drop-shadow(0 0 16px var(--color-5));
}

.header__btn_reg {
  background: var(--button-color);
  border-radius: 12px;
  padding: 10px 30px;
  color: var(--link-color);
  font-weight: 600;
}

.menu__btn, .input__burger { display: none; }
.header__mobile_actions { display: none; }
.header__desktop_buttons { display: flex; }

/* ============================================
   BANNER SECTION
   ============================================ */
.banner__section {
  margin-top: 0;
  position: relative;
}

.banner__section::before {
  content: '';
  background: var(--bg-blur-color);
  display: block;
  position: absolute;
  width: 300px;
  height: 300px;
  filter: blur(200px);
  z-index: 0;
  top: 35%;
  left: 100px;
  transform: translateY(-50%);
  pointer-events: none;
}

.banner__section::after {
  content: '';
  background: var(--bg-blur-color);
  display: block;
  position: absolute;
  width: 300px;
  height: 300px;
  filter: blur(200px);
  z-index: 0;
  top: 35%;
  right: 100px;
  transform: translateY(-50%);
  pointer-events: none;
}

.banner__container {
  background: var(--banner-container-bg-color);
  padding: 16px;
  border-radius: 20px;
  margin-top: 30px;
  position: relative;
  z-index: 1;
}

.banner__content {
  background: var(--color-3);
  width: 100%;
  position: relative;
  z-index: 1;
  border-radius: 12px;
  padding: 30px;
  display: flex;
  gap: 24px;
}

.banner__logo {
  display: flex;
  justify-content: center;
  margin: 25px 0 50px 0;
}

.banner__logo img { position: relative; z-index: 1; }

.banner__logo::after {
  content: '';
  background: var(--bg-blur-color);
  display: block;
  position: absolute;
  width: 600px;
  height: 400px;
  filter: blur(310px);
  z-index: 0;
}

.banner__image_box {
  display: flex;
  flex-direction: column;
  gap: 26px;
  max-width: 290px;
  width: 100%;
  flex: 1 0 290px;
  align-items: center;
  background-color: var(--content-bg-color);
  border-radius: 18px;
  padding: 24px;
  height: fit-content;
}

.banner__image_box img {
  max-width: 185px;
  width: 100%;
  border-radius: 20px;
}

.social__icon img { border-radius: 0; }

.banner__button {
  background: var(--button-color);
  color: var(--link-color);
  font-size: 16px;
  font-weight: 500;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 0;
  border-radius: 16px;
  transition: all 0.3s ease;
  animation: bannerBtnGlow 2s ease-in-out infinite;
}

@keyframes bannerBtnGlow {
  0%, 100% { filter: drop-shadow(0 0 6px var(--color-1)); }
  50% { filter: drop-shadow(0 0 12px var(--color-1)); }
}

.banner__button:hover {
  filter: drop-shadow(0 0 16px var(--color-1));
}

.social__icon {
  display: flex;
  gap: 30px;
}

/* ============================================
   BANNER FUNCTION GRID (Specs)
   ============================================ */
.banner__function_box {
  display: block !important;
  gap: 0;
}

.banner__function_wrapper {
  background: var(--content-bg-color);
  border-radius: 12px;
  overflow: hidden;
  font-size: 16px;
  border: 2px solid var(--decore-line-color);
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
}

.banner__function_item {
  padding: 16px;
  border-right: 2px solid var(--decore-line-color);
  border-bottom: 2px solid var(--decore-line-color);
  display: flex !important;
  flex-direction: column;
  gap: 8px;
  transition: background 0.2s ease;
  width: auto !important;
  min-width: 0;
}

.banner__function_item:nth-child(4n) { border-right: none; }

.function__name {
  font-weight: 700;
  color: var(--accent-text-color);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.function__var {
  font-size: 16px;
  color: var(--text-color);
}

.banner__text_box {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ============================================
   CARD SECTION
   ============================================ */
.card__title {
  text-align: center;
  margin-bottom: 35px;
  position: relative;
}

.card__wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  position: relative;
  margin-top: 50px;
}

.card__wrapper::before {
  content: '';
  background: var(--bg-blur-color);
  display: block;
  position: absolute;
  width: 400px;
  height: 400px;
  filter: blur(250px);
  z-index: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.card__box {
  max-width: 100%;
  width: 100%;
  position: relative;
  background: var(--content-bg-color);
  border-radius: 20px;
  padding: 50px 10px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card__num {
  position: absolute;
  top: -28px;
  left: 40%;
  width: 57px;
  height: 57px;
  background-color: var(--bg-card-color);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
}

.card__text {
  max-width: 870px;
  text-align: center;
  margin: 0 auto;
  position: relative;
}

.card__image_wrapper {
  background: var(--bg-card-color);
  border-radius: 12px;
  padding: 12px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card__image_wrapper img {
  width: 100%;
  height: 85px;
  max-width: fit-content;
  object-fit: contain;
}

.card__name { font-size: 24px; text-align: center; }

.card__bonus {
  color: var(--accent-text-color);
  font-size: 16px;
  border: 1px solid;
  border-radius: 12px;
  padding: 12px 20px;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.card__star_box {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.card__button {
  color: var(--link-color);
  background: var(--button-color);
  font-weight: 500;
  font-size: 16px;
  display: flex;
  justify-content: center;
  padding: 10px 0;
  border-radius: 16px;
}

.recens__button {
  color: var(--link-color);
  font-weight: 500;
  font-size: 16px;
  text-align: center;
  text-decoration: underline;
}

/* ============================================
   CONTENT WRAPPER
   ============================================ */
.contecnt_wrapper {
  background: var(--content-bg-color);
  padding: 24px;
  border-radius: 20px;
  line-height: 1.7;
}

.contecnt_wrapper h3 {
  font-size: 26px;
  margin: 32px 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--decore-line-color);
  position: relative;
}

.contecnt_wrapper h3::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--color-1);
}

.contecnt_wrapper h4 {
  font-size: 24px;
  margin: 28px 0 14px;
  color: var(--accent-text-color);
}

.contecnt_wrapper h5 {
  font-size: 22px;
  margin: 24px 0 12px;
  color: var(--accent-text-color);
  font-weight: 600;
}

.contecnt_wrapper h6 {
  font-size: 20px;
  margin: 20px 0 10px;
  color: var(--text-color);
  font-weight: 600;
  text-transform: none;
}

.contecnt_wrapper table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  box-shadow: 0 2px 5px var(--shadow-light);
}

.contecnt_wrapper table tbody { display: block; }

.contecnt_wrapper tr, td {
  padding: 8px;
  text-align: left;
}

.contecnt_wrapper th { background: var(--thead-bg-color); }

.contecnt_wrapper th:first-child { border-radius: 20px 0 0 20px; }
.contecnt_wrapper th:last-child { border-radius: 0 20px 20px 0; }

.contecnt_wrapper tr td:nth-child(even) {
  background: var(--thead-second-bg-color);
  border-radius: 20px;
}

.contecnt_wrapper table tbody tr {
  display: grid;
  grid-template: 1fr / 1fr 1fr;
}

.contecnt_wrapper table tbody tr:not(:first-child) {
  background: var(--td-first-bg-color);
  border-radius: 20px;
}

.contecnt_wrapper table tbody tr:first-child {
  background: var(--thead-bg-color);
  border-radius: 20px;
}

.contecnt_wrapper table tbody tr:first-child td:nth-child(even) {
  background-color: var(--transparent);
}

.contecnt_wrapper table tbody tr:not(:last-child) { margin-bottom: 8px; }

.contecnt_wrapper img {
  width: 100%;
  max-width: fit-content;
  margin: 24px 0;
  border-radius: 20px;
}

.contecnt_wrapper p,
.contecnt_wrapper ul,
.contecnt_wrapper ol {
  margin: 16px 0;
  line-height: 1.8;
}

.contecnt_wrapper p:first-child { margin-top: 0; }
.contecnt_wrapper p:last-child { margin-bottom: 0; }
.contecnt_wrapper table p { margin: 0; line-height: 1.5; }

.contecnt_wrapper ul,
.contecnt_wrapper ol {
  padding-left: 0;
  list-style-position: outside;
}

.contecnt_wrapper ul li {
  margin: 10px 0;
  padding-left: 32px;
  list-style: none;
  line-height: 1.7;
  position: relative;
}

.contecnt_wrapper ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent-text-color);
  font-size: 48px;
  font-weight: 700;
  line-height: .5;
}

.contecnt_wrapper ol li {
  margin: 10px 0;
  padding-left: 8px;
  line-height: 1.7;
  margin-left: 24px;
}

.contecnt_wrapper ol li::marker {
  color: var(--accent-text-color);
  font-weight: 600;
}

.contecnt_wrapper ul ul,
.contecnt_wrapper ol ol,
.contecnt_wrapper ul ol,
.contecnt_wrapper ol ul {
  margin: 8px 0;
  padding-left: 20px;
}

.contecnt_wrapper strong,
.contecnt_wrapper b {
  font-weight: 700;
  color: var(--accent-text-color);
}

.contecnt_wrapper a {
  color: var(--accent-text-color);
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

.contecnt_wrapper a:hover { opacity: .8; }

/* ============================================
   TABLE OF CONTENTS
   ============================================ */
.table-of-contents {
  background: var(--content-bg-color);
  border-radius: 16px;
  padding: 20px;
  margin: 0 0 32px 0;
  border: 2px solid var(--decore-line-color);
}

.toc-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff0;
  border: none;
  color: var(--text-color);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0;
  transition: color 0.3s ease;
}

.toc-toggle:hover { color: var(--accent-text-color); }

.toc-toggle-icon {
  font-size: 14px;
  transition: transform 0.3s ease;
  color: var(--accent-text-color);
}

.toc-toggle[aria-expanded="true"] .toc-toggle-icon {
  transform: rotate(180deg);
}

.toc-nav {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, margin-top 0.3s ease;
}

.toc-nav.active {
  max-height: 1000px;
  margin-top: 20px;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc-counter;
}

.toc-item {
  margin: 0;
  padding: 0;
  counter-increment: toc-counter;
}

.toc-link {
  display: block;
  padding: 12px 16px;
  color: var(--text-color);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
  position: relative;
  padding-left: 50px;
}

.toc-link::before {
  content: counter(toc-counter) ".";
  position: absolute;
  left: 16px;
  color: var(--accent-text-color);
  font-weight: 700;
}

.toc-link:hover {
  background: var(--bg-card-color);
  color: var(--accent-text-color);
  transform: translateX(4px);
}

.toc-link:active { transform: translateX(2px); }

.contecnt_wrapper h2[id] { scroll-margin-top: 100px; }

/* ============================================
   FAQ
   ============================================ */
.faq__content {
  background: var(--content-bg-color);
  border-radius: 20px;
  padding: 30px;
}

.faq__content h2 {
  text-align: center;
  font-size: 44px;
}

.faq_content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.accordion {
  cursor: pointer;
  padding: 20px 20px 20px 45px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 16px;
  font-weight: 400;
  transition: 0.4s;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  position: relative;
  margin: 0;
  border-radius: 16px;
}

h3.accordion {
  color: var(--text-color);
  background: var(--color-4);
}

.accordion span {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 25px;
  right: 25px;
  width: 14px;
  height: 14px;
}

.accordion span svg {
  transition: ease all .3s;
}

.accordion.activeted span svg {
  transform: rotate(180deg);
}

.accordion:hover { background-color: var(--bg-card-color); }

.activeted {
  background-color: var(--bg-blur-color);
  border-radius: 20px 20px 0 0;
}

.panel {
  padding: 0 18px;
  background-color: var(--bg-blur-color);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  border-radius: 0 0 20px 20px;
}

.accordion.activeted + .panel { padding: 5px 18px; }

.faq_answer { padding: 5px 5px 5px 30px; }

/* ============================================
   EXPERT / AUTHOR CARD
   ============================================ */
.expert__card {
  display: flex;
  gap: 32px;
  background: var(--content-bg-color);
  border-radius: 24px;
  padding: 32px;
  border: 2px solid var(--color-1);
  position: relative;
  animation: expertCardGlow 2s ease-in-out infinite;
}

@keyframes expertCardGlow {
  0%, 100% { box-shadow: 0 0 10px var(--color-1); }
  50% { box-shadow: 0 0 20px var(--color-1); }
}

.expert__avatar {
  flex-shrink: 0;
  width: 180px;
  height: 180px;
  border-radius: 20px;
  background: var(--color-4);
  padding: 12px;
  position: relative;
}

.expert__avatar::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 24px;
  background: var(--button-color);
  z-index: -1;
}

.expert__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.expert__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  min-width: 0;
}

.expert__header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.expert__name {
  font-size: 32px;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0;
  color: var(--h-color);
  line-height: 1.2;
}

.expert__role {
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-2);
  letter-spacing: 1px;
}

.expert__bio {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-color);
  margin: 0;
}

.expert__socials {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

.expert__social {
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: var(--button-color);
  padding: 10px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.expert__social:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 0 8px var(--color-1));
}

.expert__social img,
.expert__social svg {
  width: 100%;
  height: 100%;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--content-bg-color);
  margin-top: 120px;
}

.footer__content { padding: 16px 0; }

.footer__image_content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 20px 0;
  border-bottom: 1px solid var(--decore-line-color);
}

.footer__nav {
  padding: 30px 0;
  border-bottom: 1px solid var(--decore-line-color);
  display: flex;
  gap: 50px;
}

.footer__link { color: var(--light-color); }

.footer__disclamer {
  padding-top: 30px;
  font-size: 16px;
  font-weight: 500;
  color: var(--autor-work-color);
}

/* ============================================
   ERROR PAGE
   ============================================ */
.errore__title {
  font-size: calc(200px + (120 + 200 * 0.7) * ((100vw - 768px) / 1280));
  text-align: center;
  line-height: 1;
}

.errore__subtitle {
  font-size: calc(22px + 36 * (100vw / 1280));
  text-align: center;
  margin: 0 0 30px 0;
  line-height: 1;
}

.errore__button_box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

/* ============================================
   REVIEWS
   ============================================ */
.reviews {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 40px;
}

.review-card {
  display: flex;
  flex-direction: column;
  background: var(--content-bg-color);
  border: 1px solid var(--decore-line-color);
  border-radius: 8px;
  padding: 20px;
  flex: 1 1 calc(50% - 40px);
  box-sizing: border-box;
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.review-meta { flex: 1; }
.review-title { font-size: 18px; margin: 0 0 5px; }
.review-author { font-size: 14px; margin: 0 0 10px; }
.review-rating .star { font-size: 16px; }
.review-rating .star.filled { color: var(--gold-color); }
.review-body { font-size: 16px; margin-bottom: 15px; }
.review-footer { text-align: right; margin-top: auto; }
.review-date { font-size: 14px; }

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  background: var(--color-3);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  border: 2px solid var(--color-1);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgb(0 0 0 / .15);
  max-width: 900px;
  width: calc(100vw - 40px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(.4, 0, .2, 1);
}

.cookie-banner:not([hidden]) {
  opacity: 1;
  visibility: visible;
}

.cookie-banner__container {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.cookie-banner__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: #fff;
  opacity: .9;
  margin-top: 1px;
}

.cookie-banner__content { flex: 1; min-width: 0; }

.cookie-banner__title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 6px 0;
  color: #fff;
  line-height: 1.3;
  text-transform: none;
}

.cookie-banner__description {
  font-size: 14px;
  line-height: 1.4;
  margin: 0 0 10px 0;
  color: #fff;
}

.cookie-banner__policy-link {
  color: #fff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
  display: inline-block;
  margin-top: 2px;
}

.cookie-banner__policy-link:focus,
.cookie-banner__policy-link:hover {
  color: rgb(255 255 255 / .8);
  text-decoration: none;
}

.cookie-banner__actions {
  flex-shrink: 0;
  display: flex;
  gap: 12px;
  margin-top: 8px;
  align-items: center;
}

.cookie-banner__button {
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  min-height: 40px;
  min-width: 100px;
}

.cookie-banner__button--accept {
  background: var(--color-2);
  color: #fff;
}

.cookie-banner__button--accept:hover {
  background: color-mix(in srgb, var(--color-2) 85%, #fff);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgb(0 0 0 / .2);
}

.cookie-banner__button--decline {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}

.cookie-banner__button--decline:hover {
  background: var(--color-2);
  color: #fff;
  border-color: var(--color-2);
}

.cookie-banner[hidden] {
  opacity: 0;
  visibility: hidden;
}

/* ============================================
   STICKY BOTTOM BAR
   ============================================ */
.sticky-bar {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(150%);
  z-index: 998;
  background: var(--color-3);
  border: 2px solid var(--color-1);
  border-radius: 16px;
  padding: 12px 16px;
  transition: transform 0.4s ease;
  box-shadow: 0 4px 20px rgb(0 0 0 / .3);
}

.sticky-bar--visible {
  transform: translateX(-50%) translateY(0);
}

.sticky-bar__content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sticky-bar__logo {
  width: auto;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.sticky-bar__text {
  color: var(--text-color);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.sticky-bar__btn {
  background: var(--button-color);
  color: var(--link-color);
  padding: 10px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.3s ease;
  animation: bannerBtnGlow 2s ease-in-out infinite;
}

.sticky-bar__btn:hover {
  filter: drop-shadow(0 0 12px var(--color-1));
  opacity: 1;
}

.sticky-bar__btn:hover { opacity: .9; }

.sticky-bar__close {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 24px;
  height: 24px;
  background: var(--color-4);
  border: 2px solid var(--color-1);
  border-radius: 50%;
  color: var(--text-color);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
  line-height: 1;
  padding: 0;
}

.sticky-bar__close:hover { opacity: .8; }

/* ============================================
   UPDATE INFO
   ============================================ */
.update-info {
  background: var(--content-bg-color);
  border-radius: 16px;
  padding: 20px;
  margin: 24px 0;
  border-left: 4px solid var(--color-1);
}

.update-date {
  font-size: 14px;
  color: var(--autor-work-color);
  margin-bottom: 12px;
}

.modifications-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-text-color);
  margin-bottom: 8px;
}

.modifications-list {
  padding-left: 20px;
}

.modifications-list li {
  font-size: 14px;
  color: var(--autor-work-color);
  margin: 6px 0;
  list-style: disc;
}

/* ============================================
   PROS & CONS TABLE
   ============================================ */
.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0;
}

.pros-box, .cons-box {
  background: var(--color-4);
  border-radius: 16px;
  padding: 20px;
  border: 2px solid var(--decore-line-color);
}

.pros-box { border-top: 3px solid #4CAF50; }
.cons-box { border-top: 3px solid #f44336; }

.pros-box h4, .cons-box h4 {
  margin-top: 0;
  margin-bottom: 16px;
}

.pros-box ul li::before { content: '✅'; font-size: 16px; }
.cons-box ul li::before { content: '❌'; font-size: 16px; }

/* ============================================
   RESPONSIVE: TABLET (max-width: 992px)
   ============================================ */
@media (max-width: 992px) {
  .header__mobile_actions {
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: 50px;
  }

  .header__btn_mobile {
    padding: 8px 16px;
    font-size: 14px;
    white-space: nowrap;
  }

  .header__mobile_actions--no-menu { margin-right: 0; }

  .header__mobile_actions--no-menu .header__btn_play {
    padding: 10px 20px;
    font-size: 14px;
  }

  .header__desktop_buttons { display: none; }

  #menu__toggle { opacity: 0; }

  .menu__btn {
    display: flex;
    align-items: center;
    position: absolute;
    top: 10px;
    right: 20px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 10000;
  }

  #menu__toggle:checked ~ .menu__btn {
    position: fixed;
    top: 20px;
    right: 20px;
  }

  .menu__btn > span,
  .menu__btn > span::before,
  .menu__btn > span::after {
    display: block;
    position: absolute;
    width: 100%;
    height: 3px;
    background: var(--button-color);
    transition: all 0.3s ease;
  }

  .menu__btn > span::before { content: ''; top: -8px; }
  .menu__btn > span::after { content: ''; top: 8px; }

  .menu__box {
    z-index: 9999;
    display: flex;
    position: fixed;
    visibility: hidden;
    opacity: 0;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 40px 20px;
    list-style: none;
    text-align: center;
    background: var(--color-3);
    backdrop-filter: blur(10px);
    align-items: center;
    flex-direction: column;
    justify-content: flex-start;
    gap: 30px;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .header__menu_box, .header__menu_btn { flex-direction: column; width: 100%; }
  .menu__box .header__menu_btn { display: none; }

  .menu__logo {
    display: block;
    margin-bottom: 30px;
  }

  .menu__logo img {
    height: 100px;
    width: auto;
    border-radius: 16px;
  }

  .menu__buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 300px;
    margin-top: 20px;
  }

  .menu__buttons .header__btn_play,
  .menu__buttons .header__btn_reg {
    width: 100%;
    text-align: center;
    padding: 16px 24px;
    font-size: 16px;
    border-radius: 12px;
  }

  .header__menu_box {
    gap: 15px;
    width: 100%;
    max-width: 400px;
  }

  .menu__box li {
    width: 100%;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
  }

  .menu__box li a {
    color: var(--link-color);
    display: block;
    padding: 18px 24px;
    background: var(--content-bg-color);
    border-radius: 12px;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
  }

  .menu__box li a:hover {
    background: var(--bg-card-color);
    transform: translateX(8px);
  }

  #menu__toggle:checked ~ .menu__btn > span {
    transform: rotate(45deg);
    background: var(--link-color);
  }

  #menu__toggle:checked ~ .menu__btn > span::before {
    top: 0;
    transform: rotate(0);
    background: var(--link-color);
  }

  #menu__toggle:checked ~ .menu__btn > span::after {
    top: 0;
    transform: rotate(90deg);
    background: var(--link-color);
  }

  #menu__toggle:checked ~ .menu__box {
    visibility: visible;
    opacity: 1;
  }

  .banner__content {
    flex-direction: column;
    align-items: center;
  }

  .banner__image_box { flex: 1 1 100%; width: 100%; }

  h1 { font-size: 30px; }
  h2 { font-size: 28px; }
  h3 { font-size: 24px; }
  html, body { font-size: 18px; }

  .faq__content { padding: 20px; }
  .accordion { padding: 20px 55px 20px 20px; }
  .accordion span { right: 15px; }
  .faq_answer { padding: 5px; }

  .footer__nav { flex-direction: column; }
}

/* ============================================
   RESPONSIVE: MOBILE (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {
  .banner__function_wrapper {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .banner__function_item:nth-child(3n) { border-right: 2px solid var(--decore-line-color); }
  .banner__function_item:nth-child(4n) { border-right: 2px solid var(--decore-line-color); }
  .banner__function_item:nth-child(2n) { border-right: none; border-bottom: 2px solid var(--decore-line-color); }
  .banner__function_item:nth-last-child(-n+2) { border-bottom: none; }

  .banner__text_box { width: 100%; }

  .card__wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .footer { margin: 0; }
  .accordion span { top: 40%; }

  .review-card { flex: 1 1 100%; }

  .contecnt_wrapper { padding: 16px; }
  .contecnt_wrapper h3 { font-size: 22px; margin: 24px 0 12px; }
  .contecnt_wrapper h4 { font-size: 20px; margin: 20px 0 10px; }
  .contecnt_wrapper h5 { font-size: 18px; margin: 18px 0 8px; }
  .contecnt_wrapper h6 { font-size: 16px; margin: 16px 0 8px; }
  .contecnt_wrapper p, .contecnt_wrapper ul, .contecnt_wrapper ol { font-size: 16px; }

  .table-of-contents { padding: 16px; margin: 0 0 24px 0; }
  .toc-toggle { font-size: 16px; }
  .toc-link { padding: 10px 12px; padding-left: 46px; font-size: 14px; }
  .toc-link::before { left: 12px; }

  .pros-cons-grid { grid-template-columns: 1fr; }

  .contecnt_wrapper table { font-size: 14px; }
  .contecnt_wrapper table tbody tr { grid-template: 1fr / 1fr; gap: 0; }
  .contecnt_wrapper table tbody tr:first-child { display: none; }
  .contecnt_wrapper tr td:nth-child(even) { background: var(--transparent); border-radius: 0; }
  .contecnt_wrapper table tbody tr:not(:first-child) { margin-bottom: 12px; padding: 12px; border: 1px solid var(--decore-line-color); }
  .contecnt_wrapper table td { display: block; text-align: left; padding: 8px 12px; border: none; }
  .contecnt_wrapper table td::before { content: attr(data-label); font-weight: 700; color: var(--accent-text-color); display: block; margin-bottom: 4px; text-transform: uppercase; font-size: 12px; }

  .cookie-banner { bottom: 16px; padding: 16px; width: calc(100vw - 32px); max-width: none; border-radius: 10px; }
  .cookie-banner__title { font-size: 14px; margin-bottom: 4px; }
  .cookie-banner__description { font-size: 12px; margin-bottom: 8px; }
  .cookie-banner__button { padding: 8px 14px; font-size: 12px; min-height: 36px; min-width: 90px; border-radius: 6px; }
}

/* ============================================
   RESPONSIVE: EXPERT CARD
   ============================================ */
@media (max-width: 600px) {
  .expert__card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 20px;
  }

  .expert__avatar { width: 120px; height: 120px; }
  .expert__header { align-items: center; }
  .expert__name { font-size: 22px; }
  .expert__socials { justify-content: center; }
}

/* ============================================
   RESPONSIVE: SMALL MOBILE (max-width: 520px)
   ============================================ */
@media (max-width: 520px) {
  .card__wrapper { grid-template-columns: 1fr; gap: 20px; }
}

/* ============================================
   RESPONSIVE: EXTRA SMALL (max-width: 492px)
   ============================================ */
@media (max-width: 492px) {
  .banner__function_wrapper { grid-template-columns: 1fr !important; }

  .banner__function_item,
  .banner__function_item:nth-child(2n),
  .banner__function_item:nth-child(3n),
  .banner__function_item:nth-child(4n) {
    border-right: none;
  }

  .banner__function_item:nth-last-child(-n+2) { border-bottom: 2px solid var(--decore-line-color); }
  .banner__function_item:last-child { border-bottom: none; }
  .banner__container { padding: 8px; }
  .banner__content { padding: 10px; }

  h1 { font-size: 28px; }
  h2 { font-size: 24px; }
  h3 { font-size: 20px; }
  html, body { font-size: 16px; }
  .banner__logo img { width: 100%; }
}

@media (max-width: 480px) {
  .sticky-bar {
    bottom: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    left: 12px;
    right: 12px;
    transform: translateX(0) translateY(150%);
    width: auto;
  }

  .sticky-bar--visible { transform: translateX(0) translateY(0); }
  .sticky-bar__content { gap: 8px; justify-content: space-between; }
  .sticky-bar__logo { width: 32px; height: 32px; flex-shrink: 0; }
  .sticky-bar__text { font-size: 11px; white-space: normal; flex: 1; min-width: 0; }
  .sticky-bar__btn { padding: 8px 12px; font-size: 11px; flex-shrink: 0; }
  .sticky-bar__close { top: -8px; right: -8px; width: 20px; height: 20px; font-size: 14px; }

  .cookie-banner__actions { flex-direction: column; gap: 6px; margin-top: 6px; align-items: stretch; }
  .cookie-banner__button { width: 100%; min-width: unset; padding: 8px 12px; font-size: 11px; min-height: 34px; border-radius: 6px; }
}

@media (max-width: 420px) {
  .header__btn_mobile { padding: 6px 10px; font-size: 12px; white-space: nowrap; }
}

@media (max-width: 400px) {
  .banner__section::before,
  .banner__section::after,
  .banner__logo::after,
  .card__wrapper::before {
    display: none;
  }
}

/* ============================================
   LARGE SCREEN
   ============================================ */
@media (min-width: 1101px) {
  .banner__function_item:nth-last-child(-n+4) { border-bottom: none; }
}

@media (min-width: 1100px) and (max-width: 1100px) {
  .banner__function_wrapper { grid-template-columns: repeat(3, 1fr) !important; }
  .card__wrapper { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (min-width: 1300px) {
  .errore__title { font-size: 360px; }
  .errore__subtitle { font-size: 80px; }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-contrast: high) {
  .cookie-banner {
    background: var(--color-1);
    border: 3px solid #fff;
    box-shadow: 0 6px 30px rgb(0 0 0 / .4);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-banner,
  .cookie-banner__button,
  .cookie-banner__policy-link {
    transition: none;
  }

  .cookie-banner__button:hover {
    transform: none;
    box-shadow: none;
  }
}

