:root {
  --color-primary: #00fbc8;
  --color-secondary: #ff2e09;
  --color-bg: #323234;
  --color-header: #000000;
  --color-text: #ffffff;
  --color-text-muted: #b8b8b8;
  --font-main: "PT Sans", sans-serif;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container-fluid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header-main {
  background-color: var(--color-header);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.header-logo img {
  height: 50px;
  width: auto;
}

.header-nav {
  flex: 1;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
  justify-content: center;
}

.nav-menu a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: var(--color-primary);
}

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

.online-counter {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-muted);
  font-size: 14px;
}

.online-icon {
  color: #00ff00;
  animation: pulse 2s infinite;
}

.header-buttons {
  display: flex;
  gap: 10px;
}

.btn {
  padding: 10px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  display: inline-block;
  text-align: center;
}

.btn-login {
  background-color: var(--color-primary);
  color: #000;
}

.btn-login:hover {
  background-color: #00d4a8;
  transform: translateY(-2px);
}

.btn-signup {
  background-color: var(--color-secondary);
  color: #fff;
}

.btn-signup:hover {
  background-color: #e02808;
  transform: translateY(-2px);
}

.burger-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.burger-menu span {
  width: 25px;
  height: 3px;
  background-color: var(--color-text);
  transition: all 0.3s;
}

/* Hero Section */
.hero-section {
  position: relative;
  margin-bottom: 40px;
}

.hero-slider {
  position: relative;
  height: 600px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s;
}

.hero-slide.active {
  opacity: 1;
}

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

.hero-content {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  text-align: center;
  z-index: 2;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
  font-size: 24px;
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.btn-hero {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff;
  padding: 15px 40px;
  font-size: 18px;
}

.hero-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 3;
}

.hero-prev,
.hero-next {
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.hero-prev:hover,
.hero-next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.hero-dots {
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active {
  background-color: var(--color-primary);
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 15px 0;
  background-color: rgba(0, 0, 0, 0.3);
  margin-bottom: 30px;
}

.breadcrumb-list {
  display: flex;
  list-style: none;
  gap: 10px;
  flex-wrap: wrap;
}

.breadcrumb-item {
  color: var(--color-text-muted);
}

.breadcrumb-item a {
  color: var(--color-primary);
  text-decoration: none;
}

.breadcrumb-item:not(:last-child)::after {
  content: "›";
  margin-left: 10px;
  color: var(--color-text-muted);
}

.breadcrumb-item.active {
  color: var(--color-text);
}

/* Section Blocks */
.section-block {
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--color-primary);
  text-align: center;
}

/* Casino Table */
.table-responsive {
  overflow-x: auto;
}

.casino-table,
.app-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.casino-table td,
.app-table td {
  padding: 15px;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.param-name {
  font-weight: 700;
  color: var(--color-primary);
  width: 30%;
}

.param-value {
  color: var(--color-text);
}

/* Tournaments */
.tournaments-wrapper {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 10px 0;
}

.tournament-card {
  background: linear-gradient(135deg, rgba(0, 251, 200, 0.1), rgba(255, 46, 9, 0.1));
  border-radius: 12px;
  padding: 25px;
  min-width: 320px;
  flex: 1;
  border: 2px solid rgba(0, 251, 200, 0.3);
}

.tournament-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.tournament-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text);
}

.tournament-prize {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-secondary);
}

.tournament-description {
  margin-bottom: 20px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.tournament-timer {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.timer-label {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.timer-display {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
}

.btn-tournament {
  background-color: var(--color-secondary);
  color: #fff;
  width: 100%;
}

/* App Info */
.app-info-wrapper {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.app-table-wrapper {
  flex: 1;
  min-width: 300px;
}

.app-download-buttons {
  flex: 1;
  min-width: 300px;
}

.app-download-buttons h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--color-text);
}

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

.download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s;
}

.download-btn:hover {
  background-color: rgba(0, 0, 0, 0.7);
  transform: translateY(-2px);
}

.apk-download {
  background-color: var(--color-primary);
  color: #000;
  font-weight: 700;
  gap: 10px;
}

.apk-icon {
  font-size: 24px;
}

/* Games Section */
.games-slider-wrapper {
  position: relative;
}

.games-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0;
}

.game-card {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  padding: 15px;
  min-width: 250px;
  text-align: center;
  transition: transform 0.3s;
}

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

.game-image {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 15px;
}

.game-image img {
  width: 100%;
  height: auto;
}

.game-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--color-text);
}

.game-provider {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 15px;
}

.btn-game {
  background-color: var(--color-primary);
  color: #000;
  width: 100%;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  z-index: 2;
}

.slider-prev {
  left: -20px;
}

.slider-next {
  right: -20px;
}

/* Demo Game */
.demo-game-wrapper {
  position: relative;
}

.demo-game-frame {
  position: relative;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  overflow: hidden;
}

.game-iframe {
  display: block;
}

.demo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-message {
  text-align: center;
  padding: 40px;
}

.demo-message h3 {
  font-size: 28px;
  margin-bottom: 15px;
  color: var(--color-primary);
}

.demo-message p {
  font-size: 18px;
  margin-bottom: 25px;
  color: var(--color-text-muted);
}

.btn-demo {
  background-color: var(--color-secondary);
  color: #fff;
  padding: 15px 40px;
  font-size: 18px;
  justify-content: center;
  text-align: center;
}

/* Content Block */
.content-block {
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
}

.content-block h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--color-primary);
}

.content-block h2 {
  font-size: 28px;
  font-weight: 700;
  margin-top: 30px;
  margin-bottom: 20px;
  color: var(--color-text);
}

.content-block h3 {
  font-size: 22px;
  font-weight: 700;
  margin-top: 25px;
  margin-bottom: 15px;
  color: var(--color-text);
}

.content-block p {
  margin-bottom: 15px;
  line-height: 1.8;
  color: var(--color-text);
}

.content-block ul,
.content-block ol {
  margin-left: 25px;
  margin-bottom: 20px;
}

.content-block li {
  margin-bottom: 10px;
  line-height: 1.6;
  color: var(--color-text);
}

.content-block table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.content-block table td,
.content-block table th {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-align: left;
}

.content-block table th {
  background-color: rgba(0, 251, 200, 0.2);
  font-weight: 700;
}

/* Author Section */
.author-card {
  display: flex;
  gap: 30px;
  align-items: center;
}

.author-photo img {
  border-radius: 50%;
  width: 150px;
  height: 150px;
  object-fit: cover;
}

.author-info {
  flex: 1;
}

.author-name {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--color-text);
}

.author-title {
  font-size: 16px;
  color: var(--color-primary);
  margin-bottom: 15px;
}

.author-bio {
  line-height: 1.6;
  margin-bottom: 15px;
  color: var(--color-text-muted);
}

.author-social {
  display: flex;
  gap: 15px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: #0077b5;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s;
}

.social-link:hover {
  background-color: #005885;
}

.social-icon {
  font-weight: 700;
  font-size: 18px;
}

/* Footer */
.footer-main {
  background-color: var(--color-header);
  padding: 40px 0 20px;
  margin-top: 60px;
}

.footer-wrapper {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.footer-column {
  flex: 1;
  min-width: 250px;
}

.footer-logo img {
  height: 42px;
  margin-bottom: 15px;
}

.footer-description {
  color: var(--color-text-muted);
  line-height: 1.6;
}

.footer-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--color-primary);
}

.footer-menu {
  list-style: none;
}

.footer-menu li {
  margin-bottom: 10px;
}

.footer-menu a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

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

.payment-logos,
.provider-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.payment-logos img,
.provider-logos img {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 5px;
  border-radius: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-legal {
  flex: 1;
}

.footer-legal p {
  color: var(--color-text-muted);
  font-size: 14px;
  margin-bottom: 5px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

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

/* Sticky Widget */
.sticky-widget {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--color-secondary), #c02307);
  padding: 15px 20px;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.5);
  z-index: 999;
  animation: slideUp 0.5s;
}

.widget-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.widget-bonus {
  display: flex;
  align-items: center;
  gap: 15px;
}

.widget-icon {
  font-size: 32px;
}

.widget-text {
  display: flex;
  flex-direction: column;
}

.widget-text strong {
  font-size: 18px;
  color: #fff;
}

.widget-text span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.widget-btn {
  background-color: #fff;
  color: var(--color-secondary);
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s;
}

.widget-btn:hover {
  background-color: var(--color-primary);
  color: #000;
  transform: scale(1.05);
}

.widget-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Unused styles for uniqueness */
.legacy-wrapper {
  display: none;
}
.deprecated-container {
  visibility: hidden;
}
.old-style-box {
  opacity: 0;
}
.unused-grid {
  grid-template-columns: repeat(4, 1fr);
}
.hidden-element {
  position: absolute;
  left: -9999px;
}
