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

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
            background: #1a1d2e;
            color: #d4d9e5;
        }
        h2,h3 {
            margin-bottom: 10px;
        }

        a{
          color: #75aadb;
          text-decoration: none;
          font-weight: 700;
        }

        .btn-content a{
          color: white;
        }

        img{
          margin: 0 auto;
          display: block;
          border-radius: 10px;
          max-width: 50%;
        }

        .anchor{
          color: #d4d9e5;
        }

        /* Header */
        .header {
            background: #2a3650;
            height: 60px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 20px;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            border-bottom: 1px solid #3d4968;
        }

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

        .menu-icon {
            background: none;
            border: none;
            color: #d4d9e5;
            font-size: 24px;
            cursor: pointer;
            padding: 8px;
        }

        .nav-tabs {
            display: flex;
            gap: 10px;
        }

        .nav-tab {
            background: #1a1d2e;
            border: none;
            color: #d4d9e5;
            padding: 8px 15px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 16px;
            font-weight: 700;
            transition: all 0.3s;
        }

        .nav-tab:hover {
            background: #3d4968;
        }

        .logo {
            font-size: 22px;
            font-weight: bold;
            color: #fff;
            font-style: italic;
            letter-spacing: -1px;
        }

        .header-right {
            display: flex;
            gap: 15px;
            align-items: center;
        }

        .btn-login {
            background: transparent;
            border: 1px solid #5a6a8a;
            color: #d4d9e5;
            padding: 8px 24px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 14px;
            font-weight: 500;
            transition: all 0.3s;
        }

        .btn-login:hover {
            border-color: #fd2b48;
            color: #fd2b48;
        }

        .btn-register {
            background: #fd2b48;
            border: none;
            color: #1a1d2e;
            padding: 8px 24px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 14px;
            font-weight: 600;
            transition: all 0.3s;
        }

        .btn-register:hover {
            background: #fd2b48;
        }

        .btn-content{
            background: #fd2b48;
            border: none;
            color: #1a1d2e;
            padding: 8px 24px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 20px;
            font-weight: 600;
            transition: all 0.3s;
            margin: 0 auto;
            display: block;
        }
        .btn-content:hover {
            background: #fd2b48;
        }

        /* Main Layout */
        .main-container {
            display: flex;
            margin-top: 60px;
            min-height: calc(100vh - 60px);
        }

        /* Sidebar */
        .sidebar {
            width: 280px;
            background: #2a3650;
            margin: 20px 10px;
            position: fixed;
            left: 0;
            top: 60px;
            bottom: 0;
            overflow-y: auto;
            border-right: 1px solid #3d4968;
            border-radius: 15px;
        }

        .sidebar-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 14px 20px;
            color: #d4d9e5;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 15px;
            font-weight: 500;
            border-left: 3px solid transparent;
        }

        .sidebar-item:hover {
            background: #3d4968;
            color: #fff;
        }

        .sidebar-item.active {
            background: #3d4968;
            color: #fff;
            border-left-color: #75aadb;
        }

        .sidebar-item-icon {
            font-size: 18px;
            width: 24px;
        }

        .sidebar-item-arrow {
            margin-left: auto;
            font-size: 12px;
        }

        .sidebar-divider {
            height: 1px;
            background: #3d4968;
            margin: 10px 0;
        }

        /* Content */
        .content {
            flex: 1;
            margin-left: 280px;
            padding: 40px;
        }

        /* Hero Section */
        .hero-section {
            background: linear-gradient(135deg, #2a3650 0%, #1a1d2e 100%);
            border-radius: 16px;
            padding: 0;
            margin-bottom: 40px;
            overflow: hidden;
        }

        .dark-background {
            background: #1a1d2e;
        }

        .group {
            width: 100%;
        }

        .container {
            width: 100%;
        }

        .hero-header {
            padding: 0px 40px;
        }

        .header-wrapper {
            display: grid;
            grid-gap: 24px;
            grid-template-columns: 1fr 1fr;
            align-items: center;
        }

        .header-wrapper-title {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .hero-title {
            font-size: 32px;
            font-weight: 700;
            color: #ffffff;
            margin: 0;
            line-height: 1.1;
            letter-spacing: -0.02em;
        }

        .hero-subtitle {
            font-size: 14px;
            color: #d4d9e5;
            font-weight: 400;
            line-height: 1.4;
        }

        .header-image {
            width: 100%;
            height: 200px;
            max-height: 200px;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            border-radius: 12px;
        }

        .hero-content {
            display: grid;
            grid-template-columns: 1fr;
            gap: 0;
        }

        .hero-text {
            padding: 40px;
        }

        .hero-image {
            position: relative;
            min-height: 400px;
            background: linear-gradient(135deg, #3d4968 0%, #2a3650 100%);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .hero-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .section-title {
            font-size: 28px;
            font-weight: bold;
            color: #fff;
            margin-bottom: 20px;
        }

        .section-text {
            font-size: 16px;
            line-height: 1.8;
            color: #d4d9e5;
            margin-bottom: 30px;
        }

        .section-text a {
            color: #75aadb;
            text-decoration: none;
            border-bottom: 1px solid transparent;
            transition: all 0.3s;
        }

        .section-text a:hover {
            border-bottom-color: #75aadb;
        }

        /* Content Card */
        .content-card {
            background: #2a3650;
            border-radius: 16px;
            padding: 40px;
            margin-bottom: 30px;
            border: 1px solid #3d4968;
        }

        /* Scrollbar */
        .sidebar::-webkit-scrollbar {
            width: 6px;
        }

        .sidebar::-webkit-scrollbar-track {
            background: #2a3650;
        }

        .sidebar::-webkit-scrollbar-thumb {
            background: #5a6a8a;
            border-radius: 3px;
        }

        .sidebar::-webkit-scrollbar-thumb:hover {
            background: #6a7a9a;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .sidebar {
                transform: translateX(-100%);
                transition: transform 0.3s;
            }

            .sidebar.open {
                transform: translateX(0);
            }

            .content {
                margin-left: 0;
            }

            .hero-content {
                grid-template-columns: 1fr;
            }

            .hero-title {
                font-size: 32px;
            }

            .header-wrapper {
                grid-template-columns: 1fr;
            }

            .hero-header {
                padding: 40px 20px;
            }

            .hero-title {
                font-size: 36px;
            }

            .header-image {
                height: 300px;
            }
        }

    /*CARDS*/
    :root {
  --bg-main: #1a1d2e;
  --bg-card: #2a3650;
  --bg-featured: #3d4968;
  --text-main: #ecf3f6;
  --accent-primary: #75aadb;
  --accent-secondary: #8091b1;
  --danger: #e74c3c;
  --radius: 14px;
}

.tw-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tw-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 16px;
  border: 1px solid rgba(117,170,219,0.15);
  color: var(--text-main);
  transition: 0.25s ease;
}

.tw-row:hover {
  transform: translateY(-2px);
  border-color: var(--accent-primary);
  box-shadow: 0 4px 12px rgba(117,170,219,0.2);
}

/* Featured Card */

.tw-featured {
  background: var(--bg-featured);
  border: 2px solid var(--accent-primary);
  transform: scale(1.01);
}

.tw-featured::before {
  content: "TOP 1";
  position: absolute;
  top: -10px;
  left: -10px;
  background: linear-gradient(135deg, #fd2b48 0%, #fd2b48 100%);
  color: #fff;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(117,170,219,0.4);
}

/* Rank */

.tw-rank {
  font-size: 26px;
  font-weight: 800;
  color: #fd2b48;
  min-width: 28px;
  text-align: center;
}

/* Logo */

.tw-logo img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

/* Content */

.tw-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tw-name {
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tw-badge {
  background: var(--accent-secondary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
}

/* Bonus */

.tw-bonus {
  font-size: 14px;
  opacity: 0.9;
}

/* Rating */

.tw-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 55px;
}

.tw-score {
  font-size: 16px;
  font-weight: 700;
}

/* Buttons */

.tw-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 135px;
}

.tw-btn {
  display: inline-block;
  text-align: center;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  transition: 0.25s ease;
}

.tw-btn--primary {
  background: linear-gradient(135deg, #fd2b48 0%, #fd2b48 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(117,170,219,0.3);
}

.tw-btn--primary:hover {
  background: linear-gradient(135deg, #fd2b48 0%, #fd2b48 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(117,170,219,0.4);
}

.tw-btn--secondary {
  background: transparent;
  border: 1px solid var(--accent-secondary);
  color: var(--accent-secondary);
}

.tw-btn--secondary:hover {
  background: var(--accent-secondary);
  color: #fff;
}

/* ✅ Mobile Responsive */

@media (max-width: 640px) {
  .tw-row {
    flex-direction: column;
    text-align: center;
  }

  .tw-logo img {
    width: 80px;
    height: 80px;
  }

  .tw-actions {
    width: 100%;
  }

  .tw-btn {
    width: 100%;
  }
}

/*TABLE*/

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 15px;
}

table th,
table td {
  border: 1px solid #8091b1;
  padding: 10px 12px;
  text-align: left;
}

table th {
  font-weight: 600;
  background: #2a3650;
}


table tr:hover {
  background-color: #232942;
}

/*BLOQUOTE*/
blockquote{
    background: #232942;
    border-radius: var(--radius);
    padding: 25px 5px 0px 25px;
    border: 1px solid #5a6a8a;
    margin-bottom: 10px;
}

/*UL-LI*/
ul {
  list-style: none;
  padding: 0;
  margin: 12px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

ul li {
  flex: 1 1 auto;
  background-color: #232942;
  border: 1px solid #5a6a8a;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 15px;
  text-align: center;
  min-width: 140px;
  transition: all 0.2s ease;
}

ul li:hover {
  border-color: #75aadb;
  background-color: #2a3650;
}

ul li:last-child {
  background-color: #232942;
  border-color: #e74c3c;
}

@media (max-width: 768px) {
  ul {
    flex-direction: column;
    gap: 6px;
  }

  ul li {
    text-align: left;
    width: 100%;
  }
}

/*BONUS*/
.bonus-container {
  padding: 20px;
}

.bonus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.bonus-card {
  background-color: #232942;
  border: 1px solid #5a6a8a;
  border-radius: 10px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.bonus-card:hover {
  border-color: #75aadb;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(117,170,219,0.2);
}

.bonus-title {
  color: #d4d9e5;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.bonus-text {
  color: #d4d9e5;
  font-size: 15px;
  line-height: 1.5;
}

@media (min-width: 1024px) {
  .bonus-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .bonus-card--wide {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1023px) {
  .bonus-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .bonus-grid {
    grid-template-columns: 1fr;
  }
  .bonus-card {
    padding: 16px;
  }
}

/*FAQ*/
.faq-section {
  background: linear-gradient(180deg, #232942 0%, #1a1d2e 100%);
  border: 1px solid #5a6a8a;
  border-radius: 12px;
  padding: 24px;
  margin-top: 30px;
}

.faq-heading {
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: left;
  border-bottom: 2px solid #75aadb;
  padding-bottom: 10px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.faq-item {
  border-bottom: 1px solid #3d4968;
  padding-bottom: 14px;
}

.faq-question {
  color: #ffffff;
  font-size: 17px;
  font-weight: 600;
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.faq-icon {
  background: linear-gradient(135deg, #75aadb 0%, #5a92c7 100%);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  font-size: 15px;
}

.faq-answer {
  color: #d4d9e5;
  font-size: 15px;
  line-height: 1.6;
}

.faq-answer a {
  color: #75aadb;
  text-decoration: underline;
}

@media (max-width: 600px) {
  .faq-section {
    padding: 18px;
  }
  .faq-heading {
    font-size: 20px;
  }
  .faq-question {
    font-size: 16px;
  }
  .faq-answer {
    font-size: 14px;
  }
}

.kun-horizontal-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  display: flex;
  align-items: center;
  background: #2a3650;
  border: 2px solid #75aadb;
  border-radius: 12px;
  padding: 12px 20px;
  box-shadow: 0 8px 24px rgba(117,170,219,0.3);
  color: #fff;
  z-index: 9999;
  opacity: 0;
  transition: all 0.5s ease;
  max-width: 950px;
  width: calc(100% - 40px);
  gap: 20px;
}

.kun-horizontal-banner.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.kun-banner-logo img.stake-logo {
  width: 60px;
  height: auto;
  border-radius: 8px;
}

.kun-banner-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.kun-banner-title {
  display: flex;
  align-items: center;
  font-weight: bold;
  gap: 8px;
}

.kun-brand-name {
  color: #75aadb;
  font-size: 18px;
}

.kun-rating {
  background: #3d4968;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 14px;
}

.kun-star {
  color: #ffd700;
}

.kun-banner-description {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
}

.kun-fire {
  color: #fd2b48;
}

.kun-banner-subtitle {
  font-size: 13px;
  color: #d4d9e5;
}

.kun-banner-button .kun-jugar-btn {
  background: linear-gradient(135deg, #fd2b48 0%, #fd2b48 100%);
  color: #fff;
  font-weight: bold;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(117,170,219,0.3);
}

.kun-banner-button .kun-jugar-btn:hover {
  background: linear-gradient(135deg, #fd2b48 0%, #fd2b48 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(117,170,219,0.4);
}

@media (max-width: 600px) {
  .kun-horizontal-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px;
  }
  .kun-banner-button {
    width: 100%;
    margin-top: 8px;
  }
  .kun-jugar-btn {
    width: 100%;
    text-align: center;
  }
}

/*GALLERY*/
        .gallery {
            display: grid;
            grid-auto-flow: column;
            grid-auto-columns: 180px;
            gap: 11px;
            overflow-x: auto;
            overflow-y: hidden;
            padding: 10px 0;
            scroll-behavior: smooth;
        }

        /* Скрыть scrollbar */
        .gallery::-webkit-scrollbar {
            display: none;
        }
        .gallery {
            -ms-overflow-style: none;
            scrollbar-width: none;
        }

        .game-card {
            position: relative;
            width: 180px;
            transition: transform 0.3s ease;
        }

        .game-card:hover {
            transform: translateY(-8px);
        }

        .game-link {
            text-decoration: none;
            display: block;
            position: relative;
        }

        .image-container {
            position: relative;
            width: 180px;
            height: 236px;
            border-radius: 8px;
            overflow: hidden;
            margin-bottom: 8px;
            border: 1px solid #5a6a8a;
        }

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

        /* Бейдж "Exclusive" и "New" */
        .tags-overlay {
            position: absolute;
            top: 8px;
            right: 8px;
            display: flex;
            gap: 6px;
            z-index: 2;
        }

        .tag-badge {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: rgba(117, 170, 219, 0.9);
            display: flex;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(10px);
        }

        .tag-badge.exclusive {
            background: #8091b1;
        }

        .tag-badge.new {
            background: #75aadb;
        }

        .tag-badge svg {
            width: 20px;
            height: 20px;
            fill: white;
        }

        /* Кнопка при наведении */
        .hover-button {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: 3;
        }

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

        .hover-button button {
            background: linear-gradient(135deg, #75aadb 0%, #5a92c7 100%);
            color: white;
            border: none;
            border-radius: 8px;
            padding: 12px 16px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            font-weight: 600;
            box-shadow: 0 4px 12px rgba(117, 170, 219, 0.4);
            transition: all 0.2s ease;
        }

        .hover-button button:hover {
            background: linear-gradient(135deg, #5a92c7 0%, #4a7fb5 100%);
            transform: scale(1.05);
        }

        .hover-button svg {
            width: 16px;
            height: 16px;
        }

        /* Оверлей при наведении */
        .game-card:hover .image-container::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(26, 29, 46, 0.5);
            z-index: 1;
        }

        /* Информация о игре */
        .game-info {
            margin-top: 8px;
        }

        .game-title {
            color: white;
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 6px;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            overflow: hidden;
            line-height: 1.3;
        }

        .game-provider {
            color: #8091b1;
            font-size: 12px;
            margin-bottom: 8px;
        }

        /* Статус игроков */
        .players-status {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 12px;
            color: #8091b1;
        }

        .status-dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: #75aadb;
            animation: pulse 2s ease-in-out infinite;
        }

        @keyframes pulse {
            0%, 100% {
                opacity: 1;
                transform: scale(1);
            }
            50% {
                opacity: 0.7;
                transform: scale(1.2);
            }
        }

        .player-count {
            color: white;
            font-weight: 500;
        }

        /* Play иконка в overlay */
        .play-icon-overlay {
            position: absolute;
            bottom: 12px;
            right: 12px;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(117, 170, 219, 0.95);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 2;
        }

        .play-icon-overlay svg {
            width: 20px;
            height: 20px;
            fill: #ffffff;
        }
