/* Базовые стили и сброс */
*, ::after, ::before {
  box-sizing: border-box;
}

body {
  font-family: 'Arial', 'Times New Roman', Times, serif;
  color: #fff;
  min-height: 100vh;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
  background: linear-gradient(135deg, #30224e 0%, #1a1528 50%, #0f0820 100%);
  margin: 0;
  padding: 0;
}

ol, ul {
  padding: 0;
  list-style: none;
}

blockquote, body, dd, dl, figcaption, figure, h1, h2, h3, h4, li, ol, p, ul {
  margin: 0;
}

button, input, select, textarea {
  font: inherit;
}

a, button {
  padding: 0;
  margin: 0;
  border: none;
  outline: 0;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  background: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/* Базовый контейнер */
.base-block {
  max-width: 1296px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  row-gap: 48px;
  margin-top: 48px;
  padding: 0px 48px;
}

/* Базовая граница с градиентом */
.base-gradient-border {
  position: relative;
  box-shadow: 0px 2px 8px 0px rgba(182, 51, 254, 0.2);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(48, 34, 78, 0.9), rgba(26, 21, 40, 0.9));
}

.base-gradient-border::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 1px solid transparent;
  background: linear-gradient(180deg, rgba(182, 51, 254, 0.3) 0%, rgba(182, 51, 254, 0.1) 50%, rgba(182, 51, 254, 0) 100%) border-box;
  -webkit-mask: linear-gradient(#fff, #fff) padding-box, linear-gradient(#fff, #fff);
  mask-composite: exclude;
  pointer-events: none;
  border-radius: 8px;
}

/* Заголовки */
.h2-base-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: 0px;
  text-align: center;
  margin-bottom: 24px;
}

/* Иконка переключения */
.toggle-icon {
  transition: transform 0.3s ease-out;
}

/* Header - Шапка сайта */
.header {
  position: fixed;
  left: 0;
  top: 0;
  min-height: 64px;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(135deg, rgba(48, 34, 78, 0.95), rgba(26, 21, 40, 0.95));
  backdrop-filter: blur(10px);
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-width: 0px 0px 1px 0px;
  border-style: solid;
  border-color: transparent;
  width: 100%;
  height: 100%;
  background: radial-gradient(50% 2066.33% at 50% 100%, rgba(182, 51, 254, 0.3) 0%, rgba(182, 51, 254, 0) 100%);
  -webkit-mask: linear-gradient(#fff, #fff) padding-box, linear-gradient(#fff, #fff);
  mask-composite: exclude;
}

/* Логотип Mellstroy */
.mellstroy-logo-img {
  height: 45px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 10px rgba(182, 51, 254, 0.3));
  display: block;
  vertical-align: middle;
}

.mellstroy-logo-img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 20px rgba(182, 51, 254, 0.6));
}

.header-logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.mellstroy-logo {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #b633fe 0%, #d946ff 50%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 20px rgba(182, 51, 254, 0.5);
  transition: all 0.3s ease;
}

.mellstroy-logo:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
}

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

.header-logo {
  cursor: pointer;
  z-index: 1000;
  height: 28px;
}

.header-buttons-wrapper {
  display: flex;
  gap: 0px 20px;
  position: static;
  transform: none;
  width: auto;
  max-width: none;
  height: auto;
  box-shadow: none;
}

.header-close-btn-and-logo-wrapper,
.header-burger-button,
.header-nav {
  display: none;
}

.header-social-buttons-wrapper {
  display: flex;
  gap: 0px 20px;
}

.header-button {
  position: relative;
  height: 48px;
  padding: 0px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0px 4px 8px 0px rgba(182, 51, 254, 0.3);
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.header-button:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0px 8px 16px 0px rgba(182, 51, 254, 0.5);
  filter: brightness(1.15);
}

.header-button-content {
  z-index: 1;
  font-size: 14px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0px;
  text-align: center;
}

.header-button::before {
  border-radius: 4px;
}

.header-register-button {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #b633fe 0%, #9333ea 100%);
  transition: all 0.3s ease;
  border: 2px solid rgba(182, 51, 254, 0.3);
}

.header-register-button:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0px 8px 20px 0px rgba(182, 51, 254, 0.6);
  border-color: rgba(217, 70, 255, 0.8);
}

.header-register-button::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.05) 100%) border-box;
}

.header-register-button::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #d946ff 0%, #b633fe 100%);
  opacity: 0;
  transition: opacity 0.3s ease-out;
  z-index: 0;
}

.header-register-button:hover::after {
  opacity: 1;
}

.header-social-button,
.header-burger-button {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(48, 34, 78, 0.9), rgba(26, 21, 40, 0.9));
  transition: all 0.3s ease;
  border: 1px solid rgba(182, 51, 254, 0.2);
}

.header-social-button:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0px 8px 16px 0px rgba(182, 51, 254, 0.4);
  border-color: rgba(182, 51, 254, 0.5);
}

.header-social-button::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(182, 51, 254, 0.3) 0%, rgba(147, 51, 234, 0.3) 100%);
  opacity: 0;
  transition: opacity 0.3s ease-out;
  z-index: 0;
}

.header-social-button:hover::after {
  opacity: 1;
}

.header-vertical-divider {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, rgba(58, 58, 82, 0.08) 0%, #3A3A52 55.73%, rgba(58, 58, 82, 0.08) 100%);
}

.header-horizontal-divider {
  display: none;
}

/* Main - Основной контент */
.main {
  margin-top: 64px;
  background: linear-gradient(135deg, #30224e 0%, #1a1528 50%, #0f0820 100%);
}

/* Banner - Баннер */
.banner-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.banner {
  position: relative;
  width: 100%;
  display: block;
}

.banner-img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 300px;
  max-height: 600px;
  object-fit: cover;
  object-position: center;
}

/* Prize Fund - Призовой фонд */
.prize-fund-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -88px;
}

.prize-fund-wrapper > img {
  margin: -1px;
  padding: 0;
  align-self: flex-end;
  z-index: 100;
}

.desktop-rectangle {
  display: block;
}

.tablet-rectangle {
  display: none;
}

.prize-fund {
  display: flex;
  align-items: center;
  column-gap: 40px;
  position: relative;
  height: 88px;
  padding: 0 48px;
  border-radius: 32px 32px 0 0;
  background: linear-gradient(135deg, rgba(48, 34, 78, 0.95), rgba(26, 21, 40, 0.95));
  backdrop-filter: blur(10px);
  border: 2px solid rgba(182, 51, 254, 0.3);
}

.prize-fund::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-width: 2px 2px 0px 2px;
  border-style: solid;
  border-color: transparent;
  background: linear-gradient(180deg, rgba(182, 51, 254, 0.4) 0%, rgba(182, 51, 254, 0) 50%) border-box;
  -webkit-mask: linear-gradient(#fff, #fff) padding-box, linear-gradient(#fff, #fff);
  mask-composite: exclude;
  border-radius: 32px 32px 0 0;
}

.prize-fund-block {
  margin-right: 22px;
  display: flex;
  align-items: center;
}

.prize-fund-block img {
  margin-right: 16px;
}

.prize-fund-block-description p:nth-child(1) {
  margin-bottom: 4px;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0px;
}

.prize-fund-block-description p:nth-child(2) {
  font-size: 24px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 0em;
}

.prize-fund-button {
  position: relative;
  height: 48px;
  padding: 0px 57.5px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0px 4px 8px 0px rgba(182, 51, 254, 0.4);
  border-radius: 4px;
  background: linear-gradient(135deg, #b633fe 0%, #9333ea 100%);
  overflow: hidden;
  border: 2px solid rgba(217, 70, 255, 0.3);
  transition: all 0.3s ease;
}

.prize-fund-button:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0px 8px 16px 0px rgba(182, 51, 254, 0.6);
  border-color: rgba(217, 70, 255, 0.6);
}

.prize-fund-button-content {
  z-index: 1;
  font-size: 14px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 0px;
  text-align: center;
}

.prize-fund-button::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 100%) border-box;
  border-radius: 4px;
}

.prize-fund-button::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #d946ff 0%, #b633fe 100%);
  opacity: 0;
  transition: opacity 0.3s ease-out;
  z-index: -1;
  border-radius: 4px;
}

.prize-fund-button:hover::after {
  opacity: 1;
}

.prize-fund-mobile-section {
  display: none;
}

/* Промо-секция с изображением */
.promo-section {
  max-width: 1296px;
  margin: 60px auto 40px;
  padding: 0 48px;
}

.promo-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  background: linear-gradient(135deg, rgba(48, 34, 78, 0.9), rgba(26, 21, 40, 0.9));
  border: 2px solid rgba(182, 51, 254, 0.3);
  border-radius: 20px;
  padding: 50px;
  box-shadow: 0 8px 32px rgba(182, 51, 254, 0.3);
  position: relative;
  overflow: hidden;
}

.promo-content::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(182, 51, 254, 0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.promo-text {
  position: relative;
  z-index: 2;
}

.promo-title {
  font-size: 42px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 0 0 20px rgba(182, 51, 254, 0.5);
  line-height: 1.2;
}

.promo-description {
  font-size: 18px;
  color: #BCBCD1;
  margin-bottom: 30px;
  line-height: 1.6;
}

.promo-features {
  list-style: none;
  padding: 0;
  margin: 0 0 35px 0;
}

.promo-features li {
  font-size: 16px;
  color: #fff;
  margin-bottom: 15px;
  padding-left: 10px;
  position: relative;
  line-height: 1.5;
}

.promo-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px;
  background: linear-gradient(135deg, #b633fe 0%, #9333ea 100%);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(182, 51, 254, 0.4);
  border: 2px solid rgba(217, 70, 255, 0.3);
}

.promo-button:hover {
  background: linear-gradient(135deg, #d946ff 0%, #b633fe 100%);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 30px rgba(182, 51, 254, 0.6);
  border-color: rgba(217, 70, 255, 0.6);
}

.promo-button svg {
  transition: transform 0.3s ease;
}

.promo-button:hover svg {
  transform: translateX(5px);
}

.promo-image {
  position: relative;
  z-index: 2;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  border: 3px solid rgba(182, 51, 254, 0.4);
  transition: all 0.3s ease;
}

.promo-image:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 50px rgba(182, 51, 254, 0.4);
  border-color: rgba(182, 51, 254, 0.6);
}

.promo-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Navigation - Навигация */
.navigation {
  background: linear-gradient(135deg, rgba(48, 34, 78, 0.95), rgba(26, 21, 40, 0.95));
  box-shadow: 0px 2px 8px 0px rgba(182, 51, 254, 0.2);
  border-top: 1px solid rgba(182, 51, 254, 0.2);
  border-bottom: 1px solid rgba(182, 51, 254, 0.2);
}

.navigation-menu {
  display: flex;
  flex-wrap: nowrap;
  max-width: 1200px;
  margin: 0 auto;
}

.navigation-menu .menu-item {
  position: relative;
  height: 72px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  flex: 0 0 25%;
  box-sizing: border-box;
  transition: all 0.3s ease;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
}

.navigation-menu .menu-item:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, rgba(182, 51, 254, 0.15), rgba(147, 51, 234, 0.15));
  box-shadow: 0px 6px 16px rgba(182, 51, 254, 0.3);
}

.navigation-menu .menu-item:hover img {
  transform: scale(1.15) rotate(5deg);
  filter: brightness(1.3) drop-shadow(0 0 8px rgba(182, 51, 254, 0.6));
}

.navigation-menu .menu-item img {
  transition: all 0.3s ease;
}

.navigation-menu .menu-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%) border-box;
  border-width: 0px 1px;
  border-style: solid;
  border-color: transparent;
  -webkit-mask: linear-gradient(#fff, #fff) padding-box, linear-gradient(#fff, #fff);
  mask-composite: exclude;
  border-radius: 12px;
}

.navigation-menu .menu-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
}

.navigation-menu .menu-item img {
  margin-right: 12px;
}

.navigation-menu .menu-item .menu-item-text {
  font-size: 16px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0px;
}

.navigation-menu .menu-item:nth-child(1) {
  color: #07BCF7;
}

.navigation-menu .menu-item:nth-child(1):hover {
  box-shadow: 0px 6px 12px rgba(7, 188, 247, 0.2);
  background: radial-gradient(circle at center, rgba(7, 188, 247, 0.1) 0%, transparent 70%);
}

.navigation-menu .menu-item:nth-child(2) {
  color: #FB7903;
}

.navigation-menu .menu-item:nth-child(2):hover {
  box-shadow: 0px 6px 12px rgba(251, 121, 3, 0.2);
  background: radial-gradient(circle at center, rgba(251, 121, 3, 0.1) 0%, transparent 70%);
}

.navigation-menu .menu-item:nth-child(3) {
  color: #7DFA00;
}

.navigation-menu .menu-item:nth-child(3):hover {
  box-shadow: 0px 6px 12px rgba(125, 250, 0, 0.2);
  background: radial-gradient(circle at center, rgba(125, 250, 0, 0.1) 0%, transparent 70%);
}

.navigation-menu .menu-item:nth-child(4) {
  color: #FFDE26;
}

.navigation-menu .menu-item:nth-child(4):hover {
  box-shadow: 0px 6px 12px rgba(255, 222, 38, 0.2);
  background: radial-gradient(circle at center, rgba(255, 222, 38, 0.1) 0%, transparent 70%);
}

/* Зеркало блок */
.zerkalo-section-btn_wrapper-header {
  margin: 40px 0;
  border: 2px solid rgba(182, 51, 254, 0.3);
  background: linear-gradient(135deg, rgba(48, 34, 78, 0.9), rgba(26, 21, 40, 0.9));
  border-radius: 12px;
  padding: 40px 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  box-shadow: 0 4px 16px rgba(182, 51, 254, 0.2);
}

.zerkalo-section-btn_wrapper-header p {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 0 0 10px rgba(182, 51, 254, 0.5);
}

.btn-zerkalo {
  display: inline-block;
  box-shadow: 0px 4px 16px rgba(182, 51, 254, 0.5);
  background: linear-gradient(135deg, #b633fe 0%, #9333ea 50%, #d946ff 100%);
  text-decoration: none;
  border: 2px solid rgba(217, 70, 255, 0.4);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  font-size: 17px;
  font-weight: bold;
  padding: 16px 20px;
  color: #f4f4f4;
  text-transform: uppercase;
  margin: 30px 0 0;
  transition: all 0.3s ease;
}

.btn-zerkalo:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0px 8px 24px rgba(182, 51, 254, 0.7);
  border-color: rgba(217, 70, 255, 0.8);
  filter: brightness(1.15);
}

/* Текстовый блок и артикли */
.text-and-articles-block-title {
  font-size: 22px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: 0em;
}

.articles-block {
  border-radius: 10px !important;
}

.articles-block::before {
  border-radius: 10px !important;
}

.articles-header-wrapper {
  padding: 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.articles-header-wrapper img {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

.articles-header-wrapper.open img {
  transform: rotate(0deg);
}

.articles-items-wrapper {
  padding: 0px 16px;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;
}

.articles-items-wrapper .articles-item:last-child {
  margin-bottom: 16px;
}

.articles-items-wrapper.open {
  max-height: 1000px;
}

.articles-item {
  position: relative;
  display: flex;
  flex: 0 0 50%;
  align-items: center;
  padding: 16px 12px;
  border-radius: 4px;
  color: #7575A1;
  transition: color 0.3s ease-out;
  overflow: hidden;
  z-index: 1;
}

.articles-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(99.97% 100% at 50% 0%, #55557D 0%, #41415E 100%);
  opacity: 0;
  transition: opacity 0.3s ease-out;
  border-radius: inherit;
  z-index: -1;
}

.articles-item:hover::before {
  opacity: 1;
}

.articles-item:hover {
  color: #fff;
}

/* Текстовый блок второй */
.text-block-second {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.text-block-second-content {
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  letter-spacing: 0px;
}

.text-block-second-content h1 {
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
  margin: 30px 0 20px;
}

.text-block-second-content h2 {
  font-size: 28px;
  font-weight: 700;
  line-height: 36px;
  margin: 25px 0 15px;
}

.text-block-second-content h3 {
  font-size: 22px;
  font-weight: 600;
  line-height: 30px;
  margin: 20px 0 12px;
}

.text-block-second-content p {
  margin: 15px 0;
}

.text-block-second-content-hidden {
  display: none;
}

.text-block-second-content-hidden.show {
  display: block;
}

.text-block-second-button {
  display: flex;
  align-items: center;
  color: #8A8AAE;
  font-size: 18px;
  font-weight: 300;
  line-height: 23px;
  letter-spacing: 0px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.text-block-second-button:hover {
  color: #fff;
}

.text-block-second-button svg {
  transform: rotate(270deg);
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.text-block-second-button.active svg {
  transform: rotate(90deg);
}

/* Блок автора */
.author-box {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 40px auto;
  padding: 30px;
  border: 2px solid #b633fe;
  border-radius: 12px;
  max-width: 800px;
  text-align: left;
  background: linear-gradient(135deg, rgba(182, 51, 254, 0.1) 0%, rgba(147, 51, 234, 0.05) 100%);
  box-shadow: 0 4px 16px rgba(182, 51, 254, 0.2);
  transition: all 0.3s ease;
}

.author-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(182, 51, 254, 0.3);
  border-color: #d946ff;
}

.author-box img,
.author-avatar {
  border-radius: 50%;
  margin-right: 30px;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(182, 51, 254, 0.4);
}

.author-info {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.author-info h3 {
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}

.author-info p {
  font-size: 16px;
  line-height: 24px;
  color: #BCBCD1;
  margin-bottom: 10px;
}

.author-info a {
  color: #b633fe;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.author-info a:hover {
  color: #d946ff;
}

/* Стили для маркированных списков */
.styled-list {
  list-style: none;
  padding-left: 0;
  margin: 20px 0;
}

.styled-list li {
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  line-height: 1.6;
  color: #BCBCD1;
  font-size: 16px;
}

.styled-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #b633fe 0%, #d946ff 100%);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(182, 51, 254, 0.5);
}

.styled-list li::after {
  content: '✓';
  position: absolute;
  left: 5px;
  top: 3px;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
}

/* Стили для SVG изображений в контенте */
.content-image-wrapper {
  display: flex;
  justify-content: center;
  margin: 30px 0;
}

.content-illustration {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(182, 51, 254, 0.3);
  transition: all 0.3s ease;
}

.content-illustration:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(182, 51, 254, 0.4);
}

/* Преимущества */
.advantages-content {
  border-radius: 10px !important;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding: 24px;
}

.advantages-content::before {
  border-radius: 10px !important;
}

.advantages-item {
  position: relative;
  flex: 0 0 calc(33.33% - 8px);
  display: flex;
  align-items: center;
  padding: 12px 24px;
  background: linear-gradient(135deg, rgba(48, 34, 78, 0.8), rgba(26, 21, 40, 0.8));
  border-radius: 8px;
  z-index: 1;
  transition: all 0.3s ease;
  border: 1px solid rgba(182, 51, 254, 0.2);
}

.advantages-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-top: 1px solid transparent;
  background: linear-gradient(270deg, rgba(182, 51, 254, 0.2) 0%, rgba(182, 51, 254, 0.4) 50%, rgba(182, 51, 254, 0.2) 100%);
  -webkit-mask: linear-gradient(#fff, #fff) padding-box, linear-gradient(#fff, #fff);
  mask-composite: exclude;
  pointer-events: none;
  border-radius: 8px;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.advantages-item:hover::before {
  opacity: 1;
}

.advantages-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(182, 51, 254, 0.2), rgba(147, 51, 234, 0.2));
  opacity: 0;
  transition: opacity 0.3s ease-in;
  z-index: -1;
  border-radius: 8px;
}

.advantages-item:hover::after {
  opacity: 1;
}

.advantages-item:hover {
  transform: translateY(-4px);
  border-color: rgba(182, 51, 254, 0.5);
  box-shadow: 0 6px 16px rgba(182, 51, 254, 0.3);
}

.advantages-item-img {
  z-index: 2;
  margin-right: 16px;
}

.advantages-item-text {
  z-index: 2;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0px;
}

/* FAQ */
.review {
  margin-bottom: 48px;
}

.faq-content,
.review-content {
  display: flex;
  flex-direction: column;
  row-gap: 32px;
  margin-bottom: 24px;
}

.faq-item,
.review-item {
  cursor: pointer;
  padding: 24px;
  border-radius: 12px !important;
  transition: all 0.3s ease;
  border: 2px solid rgba(182, 51, 254, 0.2);
  background: linear-gradient(135deg, rgba(48, 34, 78, 0.8), rgba(26, 21, 40, 0.8));
}

.faq-item:hover,
.review-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(182, 51, 254, 0.3);
  border-color: rgba(182, 51, 254, 0.5);
}

.faq-item.active {
  border-color: rgba(182, 51, 254, 0.6);
  background: linear-gradient(135deg, rgba(48, 34, 78, 0.95), rgba(26, 21, 40, 0.95));
}

.faq-item::before,
.review-item::before {
  border-radius: 12px !important;
}

.faq-item-header-wrapper,
.review-item-header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: opacity 0.3s ease-out;
}

.faq-item-header-wrapper img {
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-item-header-wrapper img {
  transform: rotate(180deg);
}

.faq-item-title,
.review-item-title {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0px;
  color: #fff;
  background-color: transparent;
  border: 0;
  padding: 0;
}

.review-item-title {
  font-size: 14px;
  font-weight: 300;
  color: #8A8AAE;
}

/* Новые стили для отзывов - карточный дизайн */
.review-item {
  cursor: default;
  position: relative;
  overflow: hidden;
}

.review-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #b633fe 0%, #d946ff 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.review-item:hover::after {
  opacity: 1;
}

.review-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(182, 51, 254, 0.2);
}

.review-item-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.review-item-name {
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
  text-shadow: 0 0 8px rgba(182, 51, 254, 0.3);
}

.review-item-rating {
  display: flex;
  gap: 4px;
}

.review-item-rating .star {
  font-size: 18px;
  color: rgba(182, 51, 254, 0.3);
  transition: all 0.3s ease;
}

.review-item-rating .star.filled {
  color: #b633fe;
  text-shadow: 0 0 10px rgba(182, 51, 254, 0.6);
}

.review-item:hover .review-item-rating .star.filled {
  transform: scale(1.1);
}

.review-item-date {
  font-size: 13px;
  color: #8A8AAE;
  font-weight: 400;
  padding: 4px 12px;
  background: rgba(182, 51, 254, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(182, 51, 254, 0.2);
}

.faq-item-content,
.review-item-content {
  font-size: 16px;
  font-weight: 300;
  margin-top: 8px;
  max-height: none;
  overflow: visible;
  line-height: 1.8;
  color: #BCBCD1;
}

.review-item-content {
  padding: 12px;
  background: rgba(182, 51, 254, 0.05);
  border-radius: 8px;
  border-left: 3px solid #b633fe;
}

.review-item-content p {
  margin: 0;
}

.faq-item-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 12px;
  background: rgba(182, 51, 254, 0.05);
  border-radius: 8px;
  margin-top: 12px;
}

.faq-item.active .faq-item-content {
  max-height: 500px;
  padding: 16px 12px;
}

.faq-item-content-visible,
.review-item-content-visible {
  display: block;
  padding-top: 0;
}

/* Footer */
.footer {
  margin: 0px 28px;
}

.footer-first-part {
  border-top: 1px solid #1E1E2C;
  border-bottom: 1px solid #1E1E2C;
}

.footer-content-first-part,
.footer-content-second-part {
  padding: 32px 20px;
  display: flex;
  justify-content: space-between;
  column-gap: 40px;
  row-gap: 20px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  column-gap: 24px;
  row-gap: 4px;
}

.footer-nav-item {
  padding: 12px 4px;
  font-size: 16px;
  font-weight: 300;
  line-height: 16px;
  letter-spacing: 0px;
  color: #BCBCD1;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.footer-nav-item::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 4px;
  right: 4px;
  height: 2px;
  background: linear-gradient(90deg, #66BB6A 0%, #4CAF50 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.footer-nav-item:hover {
  color: #fff;
  transform: translateY(-2px);
}

.footer-nav-item:hover::after {
  transform: scaleX(1);
}

.footer-social-btns-wrappper {
  display: flex;
  column-gap: 8px;
}

.footer-social-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  width: 40px;
  border-radius: 4px;
  transition: transform 0.3s ease;
}

.footer-social-btn:hover {
  transform: translateY(-2px);
}

.footer-social-btn-instagram {
  background: radial-gradient(230.93% 230.93% at 102.01% 2.03%, #F9ED32 0%, #EE2A7B 36%, #D22A8A 44%, #8B2AB2 60%, #1B2AF0 83%, #002AFF 88%);
}

.footer-social-btn-vk {
  background: #0077FF;
}

.footer-social-btn-telegram {
  background: #0088cc;
}

.footer-social-btn-youtube {
  background: #F40000;
}

.footer-second-part-item {
  max-width: 465px;
  display: flex;
  align-items: center;
  column-gap: 16px;
}

.footer-second-part-item-text {
  font-size: 12px;
  font-weight: 300;
  line-height: 16px;
  letter-spacing: 0em;
  color: #8A8AAE;
}

/* Выбор языка */
.choose-lang {
  position: relative;
  cursor: pointer;
}

.header-lang .choose-lang-button span {
  display: none;
}

.header-lang .choose-lang-button,
.footer-lang .choose-lang-button {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s ease-out;
  background: radial-gradient(100.01% 100% at 50% 0%, #484868 0%, #33334A 100%);
  padding: 10px 8px;
  height: 48px;
}

.footer-lang .choose-lang-button {
  height: 60px;
  width: 174px;
  padding: 12px;
}

.header-lang .choose-lang-list,
.footer-lang .choose-lang-list {
  display: grid;
  position: absolute;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 4px;
  background-color: #1E1E2C;
  border: 1px solid #FFFFFF1A;
  visibility: hidden;
  transform: scale(0);
  transition: transform 0.3s ease-out, visibility 0.3s;
  z-index: 1000;
  border-radius: 4px;
  padding: 12px;
}

.header-lang .choose-lang-list {
  top: 0px;
  right: 0px;
  transform-origin: top right;
}

.footer-lang .choose-lang-list {
  border-radius: 8px;
  bottom: 0px;
  left: -200px;
  transform-origin: bottom right;
}

.choose-lang:hover .choose-lang-list {
  visibility: visible;
  transform: scale(1);
}

.header-lang .choose-lang-list li,
.footer-lang .choose-lang-list li {
  display: flex;
  align-items: center;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.header-lang .choose-lang-list li {
  padding: 10px 8px;
  height: 48px;
  width: 173px;
}

.footer-lang .choose-lang-list li {
  padding: 12px;
  height: 60px;
  width: 173px;
}

.header-lang .choose-lang-list li:hover,
.footer-lang .choose-lang-list li:hover {
  background: #41415E;
}

.choose-lang-list .choose-lang-box {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.choose-lang-box-first {
  background: #41415E;
}

.choose-lang span {
  padding-left: 12px;
  font-size: 14px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0px;
}

.header-lang .toggle-icon {
  margin-left: 10px;
}

.footer-lang .toggle-icon {
  margin-left: 16px;
}

/* Overlay для мобильного меню */
.overlay {
  position: fixed;
  display: none;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1049;
}

.overlay.active {
  display: block;
}

/* Стили для секции игр */
.games-grid-section {
  max-width: 1200px;
  margin: 30px auto;
  padding: 20px 15px;
  background: linear-gradient(135deg, rgba(48, 34, 78, 0.5), rgba(26, 21, 40, 0.5));
  border-radius: 16px;
  border: 2px solid rgba(182, 51, 254, 0.3);
  box-shadow: 0 4px 24px rgba(182, 51, 254, 0.2);
}

.games-grid-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 30px;
  text-shadow: 0 0 20px rgba(182, 51, 254, 0.5);
}

/* Панель фильтров */
.games-filters {
  background: linear-gradient(135deg, rgba(48, 34, 78, 0.9), rgba(26, 21, 40, 0.9));
  border: 2px solid rgba(182, 51, 254, 0.3);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 4px 16px rgba(182, 51, 254, 0.2);
}

/* Поиск */
.games-search-wrapper {
  position: relative;
  margin-bottom: 20px;
  max-width: 500px;
}

.games-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #b633fe;
  pointer-events: none;
}

.games-search-input {
  width: 100%;
  padding: 14px 16px 14px 48px;
  background: rgba(15, 8, 32, 0.8);
  border: 2px solid rgba(182, 51, 254, 0.3);
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
  transition: all 0.3s ease;
  outline: none;
}

.games-search-input::placeholder {
  color: #8A8AAE;
}

.games-search-input:focus {
  border-color: #b633fe;
  box-shadow: 0 0 16px rgba(182, 51, 254, 0.4);
}

/* Провайдеры */
.games-providers {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.provider-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: linear-gradient(135deg, rgba(48, 34, 78, 0.8), rgba(26, 21, 40, 0.8));
  border: 2px solid rgba(182, 51, 254, 0.2);
  border-radius: 8px;
  color: #BCBCD1;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.provider-btn:hover {
  border-color: rgba(182, 51, 254, 0.5);
  background: linear-gradient(135deg, rgba(182, 51, 254, 0.2), rgba(147, 51, 234, 0.2));
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(182, 51, 254, 0.3);
}

.provider-btn.active {
  background: linear-gradient(135deg, #b633fe 0%, #9333ea 100%);
  border-color: #d946ff;
  color: #fff;
  box-shadow: 0 4px 12px rgba(182, 51, 254, 0.4);
}

.provider-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  background: rgba(182, 51, 254, 0.3);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
}

.provider-btn.active .provider-count {
  background: rgba(255, 255, 255, 0.3);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
  padding: 5px;
}

.game-card {
  background: linear-gradient(135deg, rgba(48, 34, 78, 0.8), rgba(26, 21, 40, 0.8));
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(182, 51, 254, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
}

.game-card:hover {
  transform: translateY(-6px);
  border-color: #b633fe;
  box-shadow: 0 12px 32px rgba(182, 51, 254, 0.4);
}

.game-card-image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 133.33%; /* 3:4 соотношение сторон */
  overflow: hidden;
  background: linear-gradient(135deg, rgba(48, 34, 78, 0.9), rgba(26, 21, 40, 0.9));
}

.game-card-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.game-card:hover .game-card-image {
  transform: scale(1.05);
}

.game-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(15, 8, 32, 0.7) 0%, rgba(48, 34, 78, 0.95) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.game-card:hover .game-card-overlay {
  opacity: 1;
}

.game-card-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  width: 100%;
  align-items: center;
  justify-content: center;
}

.game-card-btn {
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 12px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 100px;
}

.game-card-btn-play {
  background: linear-gradient(135deg, #b633fe, #9333ea);
  color: #fff;
  font-weight: 700;
}

.game-card-btn-play:hover {
  background: linear-gradient(135deg, #d946ff, #b633fe);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(182, 51, 254, 0.5);
}

.game-card-btn-demo {
  background: transparent;
  color: #b633fe;
  border-color: #b633fe;
}

.game-card-btn-demo:hover {
  background: rgba(182, 51, 254, 0.2);
  color: #d946ff;
  border-color: #d946ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(182, 51, 254, 0.35);
}

.game-card-title {
  padding: 10px 8px 4px;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #FFFFFF;
  text-align: center;
  line-height: 1.3;
}

.game-card-provider {
  padding: 0 8px 10px;
  margin: 0;
  font-size: 11px;
  color: #b633fe;
  text-align: center;
  font-weight: 500;
}

/* Кнопка "Еще игры" */
.more-games-button-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  padding: 0 20px 20px;
}

.more-games-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;
  background: linear-gradient(135deg, #b633fe 0%, #9333ea 100%);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(182, 51, 254, 0.4);
  border: 2px solid rgba(217, 70, 255, 0.3);
}

.more-games-button:hover {
  background: linear-gradient(135deg, #d946ff 0%, #b633fe 100%);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 24px rgba(182, 51, 254, 0.6);
  border-color: rgba(217, 70, 255, 0.6);
}

.more-games-button:active {
  transform: translateY(-1px);
}

.more-games-button svg {
  transition: transform 0.3s ease;
}

.more-games-button:hover svg {
  transform: translateX(5px);
}

/* Стили для таблиц */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  background: linear-gradient(135deg, rgba(48, 34, 78, 0.9), rgba(26, 21, 40, 0.9));
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(182, 51, 254, 0.2);
  border: 1px solid rgba(182, 51, 254, 0.3);
}

.info-table th {
  background: linear-gradient(135deg, #b633fe 0%, #9333ea 100%);
  color: #fff;
  padding: 16px 20px;
  text-align: left;
  font-weight: 700;
  font-size: 16px;
  border-bottom: 2px solid rgba(217, 70, 255, 0.5);
}

.info-table td {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(182, 51, 254, 0.15);
  color: #BCBCD1;
  font-size: 15px;
}

.info-table tr:last-child td {
  border-bottom: none;
}

.info-table tr:hover {
  background: rgba(182, 51, 254, 0.1);
  transition: background 0.3s ease;
}

.info-table tr:nth-child(even) {
  background: rgba(182, 51, 254, 0.05);
}

.info-table .table-highlight {
  color: #d946ff;
  font-weight: 600;
}

.info-table .table-link {
  color: #b633fe;
  text-decoration: none;
  transition: color 0.3s ease;
}

.info-table .table-link:hover {
  color: #d946ff;
  text-decoration: underline;
}

