:root {
  --sidebar-width: 230px;
  --sidebar-collapsed-width: 70px;
  --primary-dark: #020111;
  --sidebar-color: #0f1127;
  --accent-red: #ff2400;
  --secondary-dark: #021f1e;
  --white: #fff;
  --dark-green: #3c6f6d;
  --light-teal: #d3eeed;
  --transition-speed: 0.3s;
  --gold: linear-gradient(180deg, #ffc700 26.48%, #ff8a00);
  --primary-blue: #00b6ef;
  --secondary-blue: #75acff;
  --gradient-blue: linear-gradient(to right, #00b6ef, #75acff);
  --dark-blue: #131a2d;
  --medium-blue: #242d48;
  --light-blue: #8194c8;
  --card-bg: #252a37;
  --section-bg: #141a24;
  --hover-bg: #1b2433;
  --accent-purple: #cd7dfc;
  --accent-orange: #ff5c00;
  --accent-red: #e74c3c;
  --info-blue: #3498db;
  --bonus-bg: #1e1ea7;
  --telegram-bg: #27aefb;
  --border-color: #232e4a;
  --text-muted: #b0b0b0;
  --text-light: #ccc;
  --overlay-bg: rgba(0, 0, 0, 0.7);
  --menu-section-bg: rgba(48, 62, 100, 0.4);
  --language-active: rgba(60, 111, 109, 0.3);
}

html,
body {
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Mulish', sans-serif;
}

body {
  background-color: #000000;
  color: var(--light-teal);
  overflow-x: hidden;
}

header {
  position: fixed;
  top: 0;
  left: var(--sidebar-width);
  right: 0;
  z-index: 998;
  background: linear-gradient(180deg, #050311, #060727);
  transition: all var(--transition-speed);
  width: calc(100% - var(--sidebar-width));
}
a {
  text-decoration: none;
}
header,
.footer {
  transition: all var(--transition-speed);
  position: relative;
  z-index: 997;
}
/* Секции */
section {
  margin-bottom: 40px;
  width: 100%;
  max-width: 100%;
}

p {
  margin: 10px 0;
  line-height: 1.6;
}

h1,
h2,
h3 {
  color: var(--light-teal);
  margin-bottom: 15px;
}

h1 {
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.sidebar.active ~ header,
.sidebar.active ~ .footer {
  margin-left: 280px;
  width: calc(100% - 280px);
}

.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 996;
  backdrop-filter: blur(2px);
}

.sidebar-overlay.active {
  display: block;
}
.header-wrapper {
  background: linear-gradient(180deg, #050311, #060727);
  width: 100%;
  max-width: 100%;
}

.sidebar.collapsed ~ header {
  left: var(--sidebar-collapsed-width);
  width: calc(100% - var(--sidebar-collapsed-width));
}

.sidebar {
  width: var(--sidebar-width);
  background: var(--sidebar-color);
  transition: all var(--transition-speed);
  position: fixed;
  height: 100vh;
  z-index: 1000;
  border-right: 0.5px solid rgba(255, 255, 255, 0.1);
  top: 0;
  left: 0;
}

.main-content {
  flex: 1;
  margin-left: var(--sidebar-width);
  transition: margin-left var(--transition-speed);
  padding: 0 10rem;
  background: radial-gradient(
    117.25% 64.17% at 46.15% 100%,
    rgba(117, 230, 255, 0.2),
    rgba(117, 230, 255, 0) 70.03%
  );
  min-height: calc(100vh - 70px);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.sidebar.collapsed ~ .main-content {
  margin-left: var(--sidebar-collapsed-width);
}

.container {
  display: flex;
  min-height: 100vh;
  max-width: 100%;
  overflow-x: hidden;
  width: 100%;
}

.sidebar {
  width: var(--sidebar-width);
  background: var(--sidebar-color);
  transition: all var(--transition-speed);
  position: fixed;
  height: 100vh;
  z-index: 1000;
  border-right: 0.5px solid rgba(255, 255, 255, 0.1);
}

.sidebar.collapsed {
  width: var(--sidebar-collapsed-width);
}
.sidebar.collapsed .logo-header .logo {
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
  overflow: hidden;
}

.sidebar.collapsed .header-link-name {
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
  overflow: hidden;
}

.sidebar.collapsed .header-link-btn {
  justify-content: center;
  padding: 12px;
}

.sidebar.collapsed .header-link-btn img {
  margin-right: 0;
}

.header-link-icon {
  transition: margin var(--transition-speed);
}

.sidebar.collapsed .header-link-icon {
  margin-right: 0;
}

.toggle-btn {
  color: #000;
  align-items: center;
  display: flex;
  padding-right: 10px;
}

.toggle-btn svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
  background-color: transparent;
  transform: scaleX(-1);
  color: var(--light-blue);
  opacity: 0.47;
}

.collapsed .toggle-btn svg {
  transform: rotate(0);
  color: #ffffffde;
  opacity: 1;
}

.logo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 8px 8px 30px;
  gap: 30px;
  transition: all var(--transition-speed);
}
.sidebar.collapsed .logo-header {
  padding: 8px;
  gap: 0;
  justify-content: center;
}
.logo-header .logo svg {
  width: 100px;
  height: 30px;
}
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.logo svg,
.logo img {
  width: 200px;
  height: auto;
}
.header-link-btn {
  display: flex;
  gap: 8px;
  text-decoration: none;
  background-color: var(--primary-blue);
  padding: 12px;
  border-radius: 10px;
  margin: 8px;
  align-items: center;
}

.header-link-name {
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
}

/* Стили для секций меню */
.menu-section {
  padding: 15px 10px 5px;
  color: var(--dark-green);
  font-weight: bold;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  margin: 8px;
  border-radius: 12px;
}

.menu-section-text {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  transition: opacity var(--transition-speed);
  color: var(--light-blue);
}

.sidebar.collapsed .menu-section-text {
  opacity: 0;
  pointer-events: none;
}

.menu {
  list-style: none;
}

.menu-item {
  padding: 15px 0px;
  display: flex;
  align-items: center;
  transition: all 0.3s;
  cursor: pointer;
  border-left: 3px solid transparent;
}

.menu-item a {
  text-decoration: none;
  color: #fff;
  display: flex;
  align-items: center;
  width: 100%;
}

.menu-item:hover,
.menu-item.active {
  color: var(--white);
}

.menu-item:hover i,
.menu-item.active i {
  color: var(--white);
}

.menu-icon {
  font-size: 1.2rem;
  margin-right: 10px;
  min-width: 30px;
  text-align: center;
  color: #fff;
}

.menu-text {
  transition: opacity var(--transition-speed);
  font-weight: 500;
  font-size: 14px;
}

.sidebar.collapsed .menu-text {
  opacity: 0;
  pointer-events: none;
}
.language-selector {
  position: relative;
  display: flex;
  align-items: center;
  padding: 15px 25px;
  cursor: pointer;
  color: var(--light-teal);
}

.language-arrow {
  margin-left: auto;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
}

.sidebar.collapsed .language-arrow {
  opacity: 0;
  pointer-events: none;
}

.language-selector.active .language-arrow {
  transform: rotate(180deg);
}

.language-arrow i {
  font-size: 12px;
  color: var(--light-teal);
  transition: color 0.2s;
}

.language-selector:hover .language-arrow i {
  color: var(--white);
}

.language-text {
  font-weight: 500;
  font-size: 14px;
  transition: opacity var(--transition-speed);
  margin-right: 8px;
}

.sidebar.collapsed .language-text {
  opacity: 0;
  pointer-events: none;
}

.language-dropdown {
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 100%;
  background-color: var(--sidebar-color);
  border-radius: 5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.language-selector.active .language-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-option {
  padding: 12px 15px;
  display: flex;
  align-items: center;
  color: var(--light-teal);
  transition: all 0.2s;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.language-option:last-child {
  border-bottom: none;
}

.language-option:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--white);
}

.language-option.active {
  background-color: var(--language-active);
  color: var(--white);
}

.language-flag {
  width: 20px;
  height: 15px;
  margin-right: 10px;
  background-color: #ddd;
  border-radius: 2px;
}

.language-name {
  font-size: 14px;
}
.language-arrow {
  margin-left: auto;
  transition: transform 0.3s ease;
  color: var(--light-blue);
  font-size: 12px;
}

.language-selector.active .language-arrow {
  transform: rotate(180deg);
}

.sidebar.collapsed .language-text {
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
  overflow: hidden;
}

.sidebar.collapsed .language-arrow {
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
  overflow: hidden;
}

.sidebar.collapsed .language-selector {
  justify-content: center;
  padding: 15px 5px;
}

.sidebar.collapsed .language-flag {
  margin-right: 0;
}

.sidebar.collapsed .language-dropdown {
  display: none !important;
}

.sidebar.collapsed .language-selector > .language-flag {
  display: flex;
  justify-content: center;
  align-items: center;
}

.sidebar.collapsed .language-selector {
  padding: 12px 0px 0px 25px;
}
/* Основной контент */
.main-content {
  flex: 1;
  margin-left: var(--sidebar-width);
  transition: margin-left var(--transition-speed);
  padding: 0 9rem;
  background: var(--primary-dark);
  min-height: calc(100vh - 70px);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.sidebar.collapsed ~ .main-content {
  margin-left: var(--sidebar-collapsed-width);
}

/* Блок с двумя колонками */
.two-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
  width: 100%;
  max-width: 100%;
  padding: 50px 0;
}

.column {
  padding: clamp(20px, 5vw, 40px) clamp(15px, 4vw, 30px);
  border-radius: 15px;
  position: relative;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: all 0.3s ease;
  width: 100%;
}

.column-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.column-title {
  font-size: clamp(2rem, 6vw, 1.8rem);
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin: 10px 0;
}

.column-bonus {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
  margin: 10px 0;
}

.column-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.column-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  max-width: 100%;
}

.btn {
  display: inline-block;
  padding: clamp(10px, 3vw, 12px) clamp(40px, 4vw, 30px);
  background: linear-gradient(180deg, #75e6ff 0%, #75e6ff 0.01%, #878bff 100%);
  color: var(--white);
  text-decoration: none;
  border-radius: 100px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: auto;
  align-self: flex-start;
  font-size: clamp(12px, 3vw, 14px);
  white-space: nowrap;
}

.btn:hover {
  background-color: #00b7efbe;
}

.main-nav {
  display: flex;
  padding: 20px 9rem;
  transition: left var(--transition-speed);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 100%;
}

.main-nav .logo {
  display: flex;
  justify-content: flex-start;
  gap: 15px;
  flex: 1;
  padding-left: 10px;
}

.search-section {
  display: flex;
  align-items: center;
  flex: 2;
  max-width: 400px;
  margin: 0;
}

.search-container {
  display: flex;
  align-items: center;
  background-color: #0f1127;
  border-radius: 100px;
  padding: 8px 10px;
  margin: 0px 20px;
  width: 100%;
  height: 40px;
  font-size: 16px;
  font-weight: 400;
  margin-right: 8px;
}

.search-icon svg {
  width: 20px;
  height: 20px;
  color: #7886ab;
  margin-right: 8px;
}

.search-input {
  background: transparent;
  border: none;
  color: var(--white);
  flex: 1;
  outline: none;
  color: var(--light-blue) !important;
  font-size: 14px;
  max-width: 100%;
}

.search-input::placeholder {
  color: #8194c8;
  font-size: 16px;
}

.promo-section {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
  margin-left: 10px;
}

.register-btn {
  background: linear-gradient(32.86deg, #ff00e5 0%, #ff008a 100%);
  color: var(--white);
  border-radius: 100px;
  padding: 10px 40px;
  cursor: pointer;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}

.register-btn-log {
  position: relative;
  z-index: 3;
  display: inline-block;
  padding: 10px 20px;
  background-color: #59b8ff;
  color: #fff;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
}

/* Категории игр */
.categories {
  display: flex;
      flex-wrap: wrap;
  padding: 10px;
  border-radius: 5px;
}

.category {
  padding: 12px 10px;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  border-right: 1px solid #2d3748;
  overflow-x: none;
}

.category:last-child {
  border-right: none;
}

.category.active {
  color: #fff;
  border-bottom-color: #fff;
}

.icon {
  font-size: 16px;
}
/* Игры */
.games-section {
  margin-top: 20px;
  width: 100%;
  max-width: 100%;
}
.games {
  margin-top: 30px;
}
.games-pop,
.games-new {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 50px 0px;
  width: 100%;
}
.games-pop-container {
  display: flex;
  gap: 10px;
}
.games-pop-container svg {
  width: 20px;
  font-size: 26px;
  font-weight: 900;
  color: var(--white);
}
.pop-title,
.new-title {
  font-size: 26px;
  text-transform: uppercase;
  font-weight: 900;
  color: var(--white);
}

.games-pop-title {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  gap: 20px;
}

.all96-btn {
  font-size: 16px;
  color: #7baff3;
  padding: 10px;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  width: 100%;
  max-width: 100%;
}

.games-card {
  background: #0f1127;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
  aspect-ratio: 3/4;
  width: 100%;
  border: 2px solid transparent;
}

.games-card:hover {
  transform: translateY(-5px);
  border-color: #00d4ff;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.game-image-container {
  width: 100%;
  height: 65%;
  position: relative;
  overflow: hidden;
}

.games-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-width: 100%;
}

.play-overlay {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--overlay-bg);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.play-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.play-icon::after {
  content: '';
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 20px solid var(--info-blue);
  margin-left: 4px;
}

.play-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--info-blue);
}

.games-card:hover .play-overlay {
  opacity: 1;
}

.games-card:hover .play-icon {
  transform: scale(1);
}

.new-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #00b6ef;
  color: var(--white);
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 10px;
  font-weight: bold;
  z-index: 3;
}

.game-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  padding: 10px;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-provider {
  font-size: 16px;
  color: #7baff3;
  padding: 10px;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.telegram-block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 40px 0px;
  background-color: #0088cc;
  color: white;
  padding: 40px 30px;
  border-radius: 50px;
  width: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

.telegram-text {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  flex: 1;
  margin-bottom: 0;
}

.telegram-text p {
  text-align: left;
  font-size: 24px;
  line-height: 1.4;
  margin-bottom: 8px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
}

.telegram-block img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 30px;
}

.telegram-block a {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.subscribe-button {
  width: 200px;
  height: 50px;
  background-color: white;
  color: #0088cc;
  border: none;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.subscribe-button:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.casino-container {
  width: 100%;
  padding: 40px 0px;
}

.casino-header {
  display: flex;
  text-align: center;
  margin-bottom: 40px;
}
.pop-title span {
  background: linear-gradient(180deg, #75e6ff 0%, #75e6ff 0.01%, #878bff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background: radial-gradient(
    117.25% 64.17% at 46.15% 100%,
    rgba(117, 230, 255, 0.2),
    rgba(117, 230, 255, 0) 70.03%
  );
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #75e6ff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(255, 204, 0, 0.2);
}

.feature-img {
  margin-bottom: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.feature-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
  background: linear-gradient(180deg, #75e6ff 0%, #75e6ff 0.01%, #878bff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: bold;
}

.feature-description {
  font-size: 1rem;
  line-height: 1.5;
  color: #e0e0e0;
}

.highlight {
  background: linear-gradient(180deg, #75e6ff 0%, #75e6ff 0.01%, #878bff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: bold;
}

@media (max-width: 768px) {
  .casino-container {
    padding: 20px;
  }

  .casino-title {
    font-size: 2rem;
  }

  .casino-suptitle {
    font-size: 1.4rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature-card {
    padding: 20px;
  }

  .feature-img {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }
}
.loyalty-card {
  position: relative;
  margin: 40px 0px;
  width: 100%;
  background: radial-gradient(
    36% 110% at -7.94% -29.28%,
    rgba(117, 230, 255, 0.4),
    rgba(117, 230, 255, 0)
  );
  border-radius: 20px;
}

.card-content-banner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3;
}

.card-content-block {
  display: flex;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.card-content-left {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
}

.card-content-logo {
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(180deg, #75e6ff 0%, #75e6ff 0.01%, #878bff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  letter-spacing: 1px;
}

.program-title {
  font-size: 40px;
  font-weight: 700;
  color: #f0f0f0;
}

.description {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #ffffff;
}

.card-content-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.card-content-right img {
  max-width: 600px;
  height: 300px;
  position: absolute;
  bottom: 0;
  z-index: 1;
}
.wins {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 100%;
}

.latest-wins {
  border: 1px solid var(--primary-blue);
  border-radius: 30px;
  padding: 30px;
  color: var(--white);
  width: 100%;
  background: radial-gradient(
    117.25% 64.17% at 46.15% 100%,
    rgba(117, 230, 255, 0.2),
    rgba(117, 230, 255, 0) 70.03%
  );
}

.latest-wins h3 {
  margin: 0 0 15px 0;
  font-size: 16px;
  font-weight: 600;
}

.latest-wins .highlight {
  text-transform: uppercase;
  color: var(--primary-blue);
}

.win-item {
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  transition: background 0.2s;
  gap: 10px;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.win-item:hover {
  background-color: var(--hover-bg);
}

.win-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.win-left img {
  width: 56px;
  height: 56px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  max-width: 100%;
}

.win-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  gap: 10px;
}

.win-title {
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.win-user {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--text-light);
}

.win-user img {
  width: 20px;
  height: 16px;
  border-radius: 2px;
  flex-shrink: 0;
  max-width: 100%;
}

.win-amount {
  font-weight: 600;
  color: var(--white);
  padding: 6px 10px;
  font-size: 20px;
  white-space: nowrap;
  flex-shrink: 0;
  font-weight: 700;
}

.tournament-container .bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.9;
}

.latest-wins {
  position: relative;
  display: inline-block;
  padding: 40px;
  border-radius: 20px;
  overflow: hidden;
  color: #fff;
  font-family: 'Poppins', sans-serif;
}

.latest-wins .bg-img {
  position: absolute;
  top: 45%;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  opacity: 0.9;
  border-radius: 20px;
  filter: brightness(0.6) blur(1px);
}

.btn-one,
.btn-two {
  text-decoration: none;
  color: white;
  font-size: 16px;
  font-weight: 600;
  padding: 10px 25px;
  border-radius: 20px;
}

.btn-one {
  background: linear-gradient(32.86deg, #ff00e5 0%, #ff008a 100%);
}

.btn-two {
  border: 1px solid #ff00e5;
}

.latest-wins-title {
  position: relative;
  z-index: 10;
  font-size: 30px;
  font-weight: 900;
  margin: 20px 0px;
}

.latest-wins-card {
  position: relative;
  z-index: 10;
  background: linear-gradient(135deg, #ff4dbc, #ff7ad9);
  border-radius: 100px;
  padding: 25px 70px;
  margin-bottom: 20px;
  max-width: 300px;
}

.card-head {
  font-size: 14px;
  opacity: 0.9;
}

.card-num {
  font-size: 36px;
  font-weight: 800;
  margin-top: 5px;
}

.latest-wins-time {
  position: relative;
  z-index: 10;
  font-size: 13px;
  opacity: 0.9;
  margin-bottom: 15px;
}
.latest-wins-time svg {
  width: 15px;
  height: 15px;
  margin-right: 5px;
}
.latest-wins-btn {
  display: flex;
  margin: 15px 0px;
  gap: 10px;
}
.latest-wins-btn:last-of-type {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: start;
  gap: 12px;
}

.btn,
.btn-two-color {
  text-decoration: none;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 25px;
  transition: 0.3s;
  text-transform: uppercase;
}

.btn:hover {
  transform: scale(1.05);
}

.btn-two-color {
  position: relative;
  border: 2px solid #00b6ef;
  color: #fff;
  padding-left: 30px;
  padding-right: 30px;
}
.btn-text {
  text-transform: none;
}

.btn-two-color:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}
.jackpot-section {
  position: relative;
  width: 100%;
  height: 60vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 30px;
  background: radial-gradient(
    150% 100% at 50% 70%,
    rgba(117, 230, 255, 0.4),
    rgba(117, 230, 255, 0) 80%
  );
  margin: 30px 0px;
}

.bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.jackpot-content {
  text-align: center;
  width: 100%;
}

.jackpot-header {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 3;
}

.jackpot-header .jackpot-label {
  display: inline-block;
  background: linear-gradient(90deg, #59b8ff, #87a8ff);
  color: #fff;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 12px 0 12px 0;
  font-size: 14px;
  white-space: nowrap;
}

.jackpot-total {
  font-size: 80px;
  font-weight: 900;
  color: #7fb8ff;
  margin: 30px 0;
}

.jackpot-cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.card {
  position: relative;
  width: 210px;
  height: 160px;
  border-radius: 14px;
  overflow: hidden;
  background: #101935;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  text-decoration: none;
}

.card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.9;
}

.badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background-color: #ff7fcb;
  color: white;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  z-index: 2;
}

.amount {
  position: relative;
  z-index: 2;
  background: #020111;
  width: 100%;
  text-align: center;
  padding: 10px 0px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 0 0 12px 12px;
  text-decoration: none;
  color: #87a8ff;
}


/* Provider Section */
.provider {
  margin: 30px 0;
  width: 100%;
  max-width: 100%;
}

.providers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  padding: 15px 0;
  width: 100%;
  max-width: 100%;
}

.provider-card {
  background: var(--dark-blue);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: transform 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  width: 100%;
}

.provider-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.provider-logo {
  width: 100%;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.provider-logo img {
  width: auto;
  height: 100%;
  object-fit: contain;
  max-width: 100%;
}
/* Футер */
.footer {
  background: var(--primary-dark);
  color: var(--light-teal);
  padding: 40px 9rem;
  margin-left: var(--sidebar-width);
  transition: margin-left var(--transition-speed);
  width: calc(100% - var(--sidebar-width));
  max-width: 100%;
  box-sizing: border-box;
}

.sidebar.collapsed ~ .footer {
  margin-left: var(--sidebar-collapsed-width);
  width: calc(100% - var(--sidebar-collapsed-width));
}

.footer-header {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 25px;
}

.footer-top {
  align-items: flex-start;
  width: 100%;
  margin-bottom: 30px;
  gap: 20px;
}

.footer-logo {
  display: inline-block;
  width: auto !important;
  flex-shrink: 0;
}

.footer-logo svg {
  width: 150px !important;
  height: 45px !important;
  max-width: none !important;
}

.affiliate-block {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-left: auto;
  flex-shrink: 0;
  margin-top: 30px;
}

.telegram-icon {
  display: flex;
  align-items: center;
}

.telegram-icon svg {
  width: 35px;
  height: 35px;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
  width: 100%;
  max-width: 100%;
}

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

.footer-column a {
  color: var(--white);
  font-size: 12px;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.2s ease;
  line-height: 1.4;
}

.footer-column a:hover {
  color: var(--primary-blue);
}

.footer-payments {
  padding: 30px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 25px;
  opacity: 0.8;
  width: 100%;
  max-width: 100%;
  border-top: 1px solid var(--border-color);
}

.footer-payments img {
  margin: 10px;
  height: 24px;
  filter: invert(62%) sepia(14%) saturate(800%) hue-rotate(195deg)
    brightness(110%) contrast(90%);
  opacity: 0.9;
  transition: filter 0.3s ease, opacity 0.3s ease;
  max-width: 100%;
}

.footer-payments img:hover {
  filter: invert(62%) sepia(14%) saturate(1000%) hue-rotate(195deg)
    brightness(130%) contrast(100%);
  opacity: 1;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--light-blue);
  cursor: pointer;
  padding: 8px;
  z-index: 1004;
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(19, 26, 45, 0.9);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  background: var(--medium-blue);
  color: var(--white);
}

.mobile-menu-toggle svg {
  width: 24px;
  height: 24px;
}

.mobile-nav {
  display: none;
  position: fixed;
  left: 0;
  top: 70px;
  background: var(--primary-dark);
  z-index: 1000;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 5px 0;
  width: 100%;
}

.mobile-nav-items {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding: 5px 0;
  width: 100%;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--light-teal);
  text-decoration: none;
  font-size: 0.7rem;
  padding: 5px;
  flex: 1;
  transition: color 0.3s ease;
}

.mobile-nav-item i {
  font-size: 1.1rem;
  margin-bottom: 3px;
}

.mobile-nav-item.active {
  color: var(--primary-blue);
}

.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  backdrop-filter: blur(2px);
}

.sidebar-overlay.active {
  display: block;
}
/* Общие стили для всех адаптивных контейнеров */
.main-content,
footer,
.two-columns,
.games-section,
.container,
.bonus,
.provider,
.wins {
  box-sizing: border-box;
}

/* Убедимся, что все медиа-элементы адаптивны */
img,
video,
iframe {
  max-width: 100%;
  height: auto;
}

/* Исправление горизонтального скролла для таблиц */
table {
  max-width: 100%;
  overflow-x: auto;
  display: block;
}

/* Большие экраны (1500px и меньше) */
@media (max-width: 1500px) {
  .main-content,
  .footer {
    padding: 0 15px;
  }
  
  .main-nav {
    padding: 15px;
  }
}

/* Планшеты и маленькие ноутбуки (1024px и меньше) */
@media (max-width: 1024px) {
  .main-content,
  footer {
    padding: 0 15px;
  }

  .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .mobile-nav {
    display: block;
  }

  .search-section {
    max-width: 100%;
    width: 100%;
  }

  .promo-section {
    width: 100%;
    justify-content: flex-end;
  }

  .column {
    min-height: 180px;
    padding: 25px 20px;
  }

  .wins {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .footer-header {
    padding: 30px 0 15px;
    gap: 25px;
    justify-content: space-between;
  }

  .header-link-btn {
    justify-content: center;
  }

  /* Telegram block styles */
  .telegram-block {
    padding: 30px 25px;
    border-radius: 40px;
  }

  .telegram-text p {
    font-size: 20px;
  }

  .telegram-block img {
    margin: 0 20px;
    max-width: 80px;
  }

  .subscribe-button {
    width: 180px;
    height: 45px;
    font-size: 15px;
  }

  /* Footer styles */
  .footer {
    padding: 40px 15px;
  }
}

/* Планшеты и мобильные устройства (808px и меньше) */
@media (max-width: 808px) {
  /* Header and navigation */
  .main-nav {
    position: fixed;
    display: flex;
    left: 0 !important;
    right: 0 !important;
    margin: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    z-index: 999;
    background-color: var(--primary-dark);
    transition: left var(--transition-speed);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    padding: 10px 15px;
  }

  /* Sidebar styles */
  .sidebar {
    transform: translateX(-100%);
    width: 280px;
    transition: transform 0.3s ease;
    box-shadow: none;
  }

  .sidebar.active {
    transform: translateX(0);
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.3);
  }

  .sidebar.active ~ header {
    position: fixed;
    left: 280px;
    width: calc(100% - 280px);
    transition: left 0.3s ease;
  }

  .sidebar.active ~ .main-content,
  .sidebar.active ~ footer {
    margin-left: 280px;
    transition: margin-left 0.3s ease;
  }

  .collapsed .toggle-btn svg {
    display: none;
  }

  /* Main content adjustments */
  .main-content {
    margin-left: 0 !important;
    padding: 70px 15px 15px !important;
  }

  .search-container {
    display: none;
  }

  .logo svg {
    position: relative;
    right: 0;
    margin-left: auto;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .main-nav .logo {
    padding-left: 60px;
  }

  /* Layout adjustments */
  .two-columns {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  /* Footer adjustments */
  .footer {
    margin-left: 0 !important;
    width: 100% !important;
    padding: 30px 15px !important;
  }

  .footer-top {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .affiliate-block {
    justify-content: center;
  }

  .footer-header {
    flex-direction: column;
  }
}

/* Маленькие планшеты (794px и меньше) */
@media (max-width: 794px) {
  .footer-links {
    grid-template-columns: 1fr 1fr;
  }
}

/* Планшеты и большие телефоны (768px и меньше) */
@media (max-width: 768px) {
  .card-content-block {
    flex-direction: column;
  }

  .card-content-left {
    padding: 30px 20px;
  }

  .card-content-right {
    min-height: 250px;
  }
}

/* Мобильные устройства (767px и меньше) */
@media (max-width: 767px) {
  .telegram-block {
    flex-direction: column;
    text-align: center;
    padding: 25px 20px;
    border-radius: 30px;
    margin: 30px 0px;
  }

  .telegram-text {
    align-items: center;
    margin-bottom: 20px;
  }

  .telegram-text p {
    text-align: center;
    font-size: 18px;
    margin-bottom: 15px;
  }

  .telegram-block img {
    display: none;
  }

  .subscribe-button {
    width: 160px;
    height: 45px;
    font-size: 14px;
  }
}

/* Средние телефоны (600px и меньше) */
@media (max-width: 600px) {
  .jackpot-section {
    height: auto;
    padding: 40px 0;
  }

  .jackpot-header {
    top: 10px;
    left: 15px;
  }

  .jackpot-header .jackpot-label {
    font-size: 14px;
    padding: 4px 10px;
  }

  .jackpot-total {
    font-size: 40px;
  }
}

/* Маленькие телефоны (576px и меньше) */
@media (max-width: 576px) {
  .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px;
  }

  .categories {
    padding: 8px;
    gap: 3px;
  }

  .category {
    padding: 10px 15px;
    font-size: 14px;
  }

  .bonus-cards {
    flex-direction: column;
  }

  .wlc-bonus-item__wrapper {
    min-width: auto;
    height: 140px;
  }

  .wlc-bonus-item__visual {
    width: 120px;
  }

  .providers-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
  }

  .provider-card {
    min-height: 50px;
    padding: 10px;
  }

  .footer {
    padding: 30px 10px !important;
  }

  .footer-payments {
    gap: 12px;
    justify-content: center;
  }

  .footer-payments img {
    height: 20px;
    max-width: 80px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}

/* Очень маленькие телефоны (480px и меньше) */
@media (max-width: 480px) {
  .telegram-block {
    padding: 20px 15px;
    border-radius: 20px;
    margin: 20px 0px;
  }

  .telegram-text p {
    font-size: 16px;
    line-height: 1.3;
  }

  .subscribe-button {
    width: 140px;
    height: 40px;
    font-size: 13px;
    padding: 10px 20px;
  }

  .card-content-logo {
    font-size: 28px;
  }

  .program-title {
    font-size: 22px;
  }

  .description {
    font-size: 14px;
  }
}

/* Маленькие мобильные устройства (400px и меньше) */
@media (max-width: 400px) {
  .games-grid {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  }

  .column {
    padding: 20px 15px;
    min-height: 160px;
  }

  .main-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    padding: 10px;
  }

  .promo-section {
    width: 100%;
    justify-content: center;
  }

  .latest-wins-btn {
    flex-direction: column;
  }

  .win-item {
    padding: 10px;
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .win-left {
    flex-direction: column;
    text-align: center;
  }

  .register-btn,
  .btn-two-color {
    padding: 8px 16px;
    font-size: 13px;
  }

  .affiliate-btn {
    padding: 10px 20px;
    font-size: 13px;
  }

  .footer-logo svg {
    width: 120px !important;
    height: 36px !important;
  }
}

/* Очень маленькие устройства (320px и меньше) */
@media (max-width: 320px) {
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .category {
    padding: 8px 12px;
    font-size: 13px;
  }

  .btn {
    padding: 8px 16px;
    font-size: 12px;
  }
}

/* Специальные стили для устройств */
/* Высокие устройства в альбомной ориентации */
@media (max-height: 600px) and (orientation: landscape) {
  .sidebar {
    overflow-y: auto;
  }

  .logo-header {
    padding: 5px;
  }

  .menu-section {
    padding: 10px 8px 3px;
    margin: 5px;
  }

  .menu-item {
    padding: 8px 0;
  }

  .header-link-btn {
    padding: 8px;
    margin: 5px;
  }
}

/* Темная тема по умолчанию */
@media (prefers-color-scheme: dark) {
  body {
    background-color: var(--primary-dark);
    color: var(--light-teal);
  }
}

/* Улучшения для доступности */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Поддержка касаний */
@media (hover: none) and (pointer: coarse) {
  .games-card:hover {
    transform: none;
  }

  .play-overlay {
    opacity: 0.7;
  }

  .menu-item:hover {
    background-color: transparent;
  }
}
/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



/* ===== ЗАГОЛОВКИ ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--primary-blue);
    padding-bottom: 0.5rem;
}

h2 {
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 1.25rem;
    border-left: 4px solid var(--primary-blue);
    padding-left: 1rem;
}

h3 {
    font-size: 1.75rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.5rem;
    margin-top: 1.25rem;
    margin-bottom: 0.75rem;
}

h5 {
    font-size: 1.25rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

h6 {
    font-size: 1rem;
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
    color: #7f8c8d;
}

/* ===== ПАРАГРАФЫ ===== */
p {
    margin-bottom: 1rem;
    line-height: 1.6;
    text-align: left;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
    color: #5d6d7e;
}

.small {
    font-size: 0.875rem;
    color: #7f8c8d;
}

/* ===== ССЫЛКИ ===== */
.text-section a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.text-section a:hover,
.text-section a:focus {
    color: #2980b9;
    text-decoration: underline;
}

.text-section a:active {
    color: #21618c;
    transform: translateY(1px);
}

/* Ссылки в тексте */
.text-section p a,
.text-section li a {
    font-weight: 500;
    border-bottom: 1px dotted var(--primary-blue);
}

.text-section p a:hover,
.text-section li a:hover {
    border-bottom-style: solid;
}

/* Кнопко-подобные ссылки */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-blue);
    color: white;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--primary-blue);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn:active {
    transform: translateY(0);
}

/* ===== СПИСКИ ===== */
.text-section ul, .text-section ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.text-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Маркированный список */
.text-section ul {
    list-style-type: disc;
}

.text-section ul ul {
    list-style-type: circle;
    margin-bottom: 0.5rem;
}

.text-section ul ul ul {
    list-style-type: square;
}

/* Нумерованный список */
.text-section ol {
    list-style-type: decimal;
}

.text-section ol ol {
    list-style-type: lower-alpha;
    margin-bottom: 0.5rem;
}

.text-section ol ol ol {
    list-style-type: lower-roman;
}

/* Список без маркеров */
.list-unstyled {
    list-style: none;
    padding-left: 0;
}

/* Инлайн список */
.list-inline {
    list-style: none;
    padding-left: 0;
}

.list-inline li {
    display: inline-block;
    margin-right: 1rem;
    margin-bottom: 0;
}

/* ===== ТАБЛИЦЫ ===== */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border-radius: 4px;
    overflow: hidden;
}

caption {
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--primary-blue);
}

th {
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}



/* Чередование строк */
tr:nth-child(even) {
    background-color: #151924;
}

tr:nth-child(even):hover {
    background-color: #1E202B;
}

/* Компактная таблица */
.table-sm th,
.table-sm td {
    padding: 0.5rem;
}

/* Таблица с границами */
.table-bordered {
    border: 1px solid #1E202B;
}

.table-bordered th,
.table-bordered td {
    border: 1px solid #1E202B;
}

/* ===== ДОПОЛНИТЕЛЬНЫЕ ЭЛЕМЕНТЫ ===== */

/* Горизонтальная линия */
hr {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #bdc3c7, transparent);
    margin: 2rem 0;
}

/* Выделение текста */
strong, b {
    font-weight: 600;
}

em, i {
    font-style: italic;
    color: #7f8c8d;
}

mark {
    background-color: #fff3cd;
    color: #856404;
    padding: 0.1rem 0.3rem;
    border-radius: 2px;
}

/* Цитаты */
blockquote {
    border-left: 4px solid var(--primary-blue);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background-color: #f8f9fa;
    font-style: italic;
    color: #5d6d7e;
}

blockquote p {
    margin-bottom: 0.5rem;
}

blockquote footer {
    font-size: 0.875rem;
    color: #7f8c8d;
    text-align: right;
}

/* Код */
code {
    background-color: #f8f9fa;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: "Courier New", Monaco, monospace;
    font-size: 0.875rem;
    color: #e74c3c;
}

pre {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 1rem;
    border-radius: 4px;
    overflow-x: auto;
    margin-bottom: 1.5rem;
    font-family: "Courier New", Monaco, monospace;
    font-size: 0.875rem;
    line-height: 1.4;
}

pre code {
    background: none;
    padding: 0;
    color: inherit;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .list-inline li {
        display: block;
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 13px;
    }
    
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    
    ul, ol {
        padding-left: 1.5rem;
    }
}
/* ===== УТИЛИТНЫЕ КЛАССЫ ===== */

/* Выравнивание текста */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-justify { text-align: justify; }

/* Цвета текста */
.text-primary { color: var(--primary-blue); }
.text-success { color: #27ae60; }
.text-warning { color: #f39c12; }
.text-danger { color: #e74c3c; }
.text-muted { color: #7f8c8d; }

/* Фоновые цвета */
.bg-primary { background-color: var(--primary-blue); color: white; }
.bg-success { background-color: #27ae60; color: white; }
.bg-warning { background-color: #f39c12; color: white; }
.bg-danger { background-color: #e74c3c; color: white; }
.bg-light { background-color: #ecf0f1; color: #2c3e50; }

/* Отступы */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 0.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mb-2 { margin-bottom: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-3 { margin-bottom: 1.5rem; }

.strong-form-inner{
  padding: 0 !important;
}
.strong-form input,
.strong-form textarea{
  background: none;
  padding: 20px;
border-radius: 20px;
border: 2px solid #0088cc;
margin: 10px 0;
color: #fff !important;
}