* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    background-color: #0d0d0d;
    color: #ffffff;
    font-family: Arial, sans-serif;
    padding-bottom: 200px;
  }
  .main-text {
    max-width: 720px;       /* Ограничиваем ширину */
    margin: 0 auto;         /* Центрируем блок */
    padding: 0 20px;        /* Отступы слева и справа */
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    line-height: 1.6;       /* Межстрочный интервал */
    color: #ddd;            /* Светлый цвет текста на тёмном фоне */
  }
  
  .main-text p {
    margin-bottom: 1.2em;   /* Отступы между абзацами */
  }
  
  .main-text ul,
  .main-text ol {
    margin: 1.2em 0;
    padding-left: 1.5em;    /* Отступ списков */
  }
  
  .main-text li {
    margin-bottom: 0.6em;   /* Отступ между элементами списка */
  }
  /* Header */
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #111;
    position: sticky;
    top: 0;
    z-index: 999;
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  a .logo {
    text-decoration: none;
  }
  
  .logo {
    font-size: 30px;
    font-weight: bold;
    color: #00bfff;
    background: linear-gradient(90deg, #00bfff, #1e90ff, #00bfff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.3s ease, background-position 0.5s ease;
  }
  
  .logo:hover {
    transform: scale(1.1);
    background-position: right center;
  }
  
  .nav-links a {
    margin: 0 10px;
    color: #fff;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
  }
  
  .nav-links a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -3px;
    left: 0;
    background-color: #00ffe5;
    transition: width 0.4s ease;
  }
  
  .nav-links a:hover {
    color: #00ffe5;
  }
  
  .nav-links a:hover::after {
    width: 100%;
  }
  
  .auth-buttons .btn {
    margin-left: 10px;
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
  }
  
  .btn.login {
    background-color: #333;
    color: #fff;
  }
  
  .btn.register {
    background-color: #1fff73;
    color: #000;
    animation: neonPulse 2.5s infinite alternate;
    box-shadow: 0 0 10px #1fff73;
    transition: transform 0.3s ease;
  }
  
  .btn.register:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px #1fff73, 0 0 50px #1fff73 inset;
  }
  
  @keyframes neonPulse {
    0% { box-shadow: 0 0 5px #1fff73; }
    100% { box-shadow: 0 0 20px #1fff73; }
  }
  /* Мобильная адаптация */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  cursor: pointer;
  z-index: 1000;
}

.menu-toggle span {
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s ease;
}

/* Анимация крестика */
.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Мобильное меню */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: #111;
    display: none;
    padding: 20px 0;
    align-items: center;
    gap: 15px;
  }

  .nav-links.active {
    display: flex;
  }

  .auth-buttons {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }
}

  .cyber-title {
    font-size: 35px;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    text-align: center;
    background: linear-gradient(270deg, #0077ff, #00aaff, #0055cc);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: cyberPulse 6s ease-in-out infinite;
    text-shadow: 0 0 8px #0077ff88, 0 0 15px #00aaffaa;
    margin: 20px 0;
  }
  
  @keyframes cyberPulse {
    0%, 100% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
  }
  .custom-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #111;
    color: #fff;
    font-family: Arial, sans-serif;
    border: 1px solid #1e90ff;
    box-shadow: 0 0 10px rgba(30, 144, 255, 0.3);
    overflow: hidden;
    border-radius: 10px;
  }
  
  .custom-table thead {
    background-color: #1e90ff;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
  }
  
  .custom-table th,
  .custom-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #1e90ff;
  }
  
  .custom-table tbody tr:hover {
    background-color: rgba(30, 144, 255, 0.1);
    transition: background 0.3s ease;
  }
  
  @keyframes cyberGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }
  /* Центруем баннер */
.wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 10vh; /* центрирование по вертикали */
    background-color: #0f0f0f; /* фон страницы */
    padding: 40px 20px;
    box-sizing: border-box;
  }
  
  /* Увеличенный баннер */
  .banner {
    width: 100%;
    max-width: 1100px;
    background-color: #1c1c1c;
    padding: 10px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 0 20px #00ffff44;
  }
  
  /* Изображение больше */
  .banner img {
    width: 58%;
    height: auto;
    border-radius: 14px;
    object-fit: cover;
    transition: transform 0.4s ease;
  }
  
  .banner img:hover {
    transform: scale(1.01);
  }
  
  /* Сайдбар справа */
  .banner .sidebar {
    width: 38%;
    padding: 25px;
    background-color: #222;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.3);
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  /* Заголовок */
  .banner .sidebar h3 {
    margin-bottom: 25px;
    font-size: 22px;
    text-align: center;
    background: linear-gradient(90deg, #00f0ff, #00ff88, #00f0ff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: cyber-glow 3s linear infinite;
  }
  
  /* Список */
  .banner .sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: left;
  }
  
  .banner .sidebar li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    font-size: 17px;
    color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .banner .sidebar li::before {
    content: "➤";
    color: #00f0ff;
    position: absolute;
    left: 0;
    top: 0;
  }
  
  .banner .sidebar li:hover {
    color: #00f0ff;
    text-shadow: 0 0 5px #00f0ff;
    transform: translateX(5px);
  }
  
  @keyframes cyber-glow {
    0% {
      background-position: 0% center;
    }
    100% {
      background-position: 200% center;
    }
  }
  
  
  /* Категории */
  .categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 30px 10px;
  }
  
  .card {
    background: linear-gradient(135deg, #111, #1f1f1f);
    padding: 20px;
    margin: 10px;
    border-radius: 12px;
    width: 180px;
    text-align: center;
    font-weight: bold;
    color: #00f0ff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0,255,255,0.15) 0%, transparent 70%);
    animation: pulseGlow 5s infinite ease-in-out;
  }
  
  .card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #00f0ff;
  }
  
  @keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
  }
  
  
  /* Игры */
  .games {
    padding: 20px;
  }
  
  .game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    margin-top: 20px;
  }
  
  .game-card {
    background-color: #222;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
  }
  

  
  /* Rating Popup */
  .rating-popup {
    position: fixed;
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #1e1e1e;
    color: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 10px #000;
    transition: bottom 0.4s ease;
  }
  

  @keyframes twinkle {
    0% { opacity: 0.7; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.1); }
  }
  
  /* Responsive */
  @media screen and (max-width: 768px) {
    .nav-links, .sidebar {
      display: none;
    }
  
    .categories {
      flex-direction: column;
      align-items: center;
    }
  
    .banner-text h1 {
      font-size: 28px;
    }
  
    .game-grid {
      grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
  }
  @media (max-width: 768px) {
  
    .banner {
      flex-direction: column;
      align-items: center;
      padding: 20px;
      width: 95%;
    }
  
    .banner img {
      width: 100%;
      margin-bottom: 20px;
      border-radius: 12px;
    }
  
    .banner .sidebar {
      width: 100%;
      padding: 20px;
      margin-top: 10px;
      text-align: center;
    }
  
    .banner .sidebar h3 {
      font-size: 18px;
      margin-bottom: 15px;
    }
  
    .banner .sidebar ul {
      padding: 0;
    }
  
    .banner .sidebar li {
      font-size: 16px;
      margin-bottom: 12px;
      text-align: center;
      padding-left: 0;
    }
  
    .banner .sidebar li::before {
      display: none;
    }
  }
  .win-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; } .win-table-scroll table { width: 100%; border-collapse: collapse; }
  .bottom-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, #2e2f45, #1c1d2f);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 26px 24px;
    font-family: Arial, sans-serif;
    z-index: 999;
  }
  .bottom-banner {
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.4s ease, transform 0.4s ease;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 1000;
  }
  
  .bottom-banner.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  .banner-left {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  
  .logo {
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
  }
  
  .stars {
    display: flex;
    gap: 2px;
  }
  
  .star {
    font-size: 18px;
    color: gold;
  }
  
  .star.half {
    background: linear-gradient(90deg, gold 50%, #555 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  .rating {
    font-size: 14px;
    color: #ccc;
  }
  
  .banner-right {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  
  .bonus-text {
    font-size: 16px;
    color: #fff;
  }
  
  .bonus-button {
    background: linear-gradient(90deg, #9a4dff, #28cfff);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 14px;
    padding: 8px 16px;
    cursor: pointer;
    font-weight: bold;
    transition: opacity 0.3s ease;
  }
  
  .bonus-button:hover {
    opacity: 0.85;
  }
  @media (max-width: 768px) {
    .bottom-banner {
      flex-direction: column; /* Столбиком */
      align-items: center;
      text-align: center;
      padding: 12px;
      gap: 10px;
    }
  
    .bottom-banner a {
      font-size: 14px;
    }
  
    .bottom-banner .dot {
      display: none; /* Убрать точки между ссылками на мобильных */
    }
  }
  
  .footer {
    background-color: #000;
    color: #aaa;
    text-align: center;
    padding: 24px 16px;
    font-family: Arial, sans-serif;
    font-size: 14px;
  }
  
  .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
  }
  
  .footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.2s ease;
  }
  
  .footer-links a:hover {
    color: #fff;
  }
  
  .footer-links .dot {
    color: #555;
  }
  
  .footer-copy p {
    margin: 4px 0;
    color: #ccc;
  }
  
  .footer-copy .brand {
    color: #fff;
    font-weight: bold;
    text-decoration: underline;
  }
  