:root {
  --color-primary: #1d2158;
  --color-secondary: #96a5d1;
  --color-accent: #eaae16;
  --color-bg: #2d3447;
  --color-text: #ffffff;
  --color-text-muted: #b8c1d9;
}

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

body {
  font-family: "Roboto", sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

.header {
  background-color: var(--color-primary);
  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;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header-left {
  flex-shrink: 0;
}

.logo img {
  display: block;
  height: 50px;
  width: auto;
}

.header-nav {
  flex-grow: 1;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--color-accent);
}

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

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

.online-dot {
  width: 8px;
  height: 8px;
  background-color: #4ade80;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

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

.btn {
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 14px;
  display: inline-block;
}

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

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

.btn-signup {
  background-color: var(--color-accent);
  color: var(--color-primary);
}

.btn-signup:hover {
  background-color: #f5bc2e;
  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 ease;
  border-radius: 2px;
}

.burger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.burger-menu.active span:nth-child(2) {
  opacity: 0;
}

.burger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

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

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

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

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

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  width: 90%;
  max-width: 800px;
}

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

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

.hero-btn {
  display: inline-block;
  padding: 15px 40px;
  background-color: var(--color-accent);
  color: var(--color-primary);
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(234, 174, 22, 0.4);
}

.hero-btn:hover {
  background-color: #f5bc2e;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(234, 174, 22, 0.6);
}

.hero-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 3;
}

.hero-prev,
.hero-next {
  background-color: rgba(29, 33, 88, 0.7);
  color: var(--color-text);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-prev:hover,
.hero-next:hover {
  background-color: rgba(29, 33, 88, 0.9);
  transform: scale(1.1);
}

.hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

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

.hero-dot.active {
  background-color: var(--color-accent);
  width: 30px;
  border-radius: 6px;
}

.breadcrumbs-wrapper {
  background-color: rgba(29, 33, 88, 0.5);
  padding: 15px 0;
  margin-bottom: 30px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.breadcrumb-item {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-item:hover {
  color: var(--color-accent);
}

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

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

.main-content {
  padding: 40px 0;
}

.page-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: var(--color-accent);
}

.content-wrapper {
  background-color: rgba(29, 33, 88, 0.3);
  border-radius: 15px;
  padding: 40px;
  margin-bottom: 40px;
}

.content-wrapper h2 {
  color: var(--color-accent);
  margin-top: 30px;
  margin-bottom: 15px;
}

.content-wrapper h3 {
  color: var(--color-secondary);
  margin-top: 25px;
  margin-bottom: 12px;
}

.content-wrapper p {
  margin-bottom: 15px;
  line-height: 1.8;
}

.content-wrapper ul,
.content-wrapper ol {
  margin-left: 25px;
  margin-bottom: 15px;
}

.content-wrapper li {
  margin-bottom: 8px;
}

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

.content-wrapper table th,
.content-wrapper table td {
  padding: 12px;
  border: 1px solid var(--color-secondary);
  text-align: left;
}

.content-wrapper table th {
  background-color: var(--color-primary);
  font-weight: 600;
}

.app-info-section,
.winners-section,
.video-section,
.games-section,
.wheel-section,
.author-section {
  background-color: rgba(29, 33, 88, 0.3);
  border-radius: 15px;
  padding: 40px;
  margin-bottom: 40px;
}

.app-info-section h2,
.winners-section h2,
.video-section h2,
.games-section h2,
.wheel-section h2,
.author-section h2 {
  font-size: 32px;
  color: var(--color-accent);
  margin-bottom: 20px;
  text-align: center;
}

.app-table-wrapper {
  overflow-x: auto;
  margin: 30px 0;
}

.app-info-table {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-collapse: collapse;
  background-color: rgba(29, 33, 88, 0.5);
  border-radius: 10px;
  overflow: hidden;
}

.app-info-table td {
  padding: 15px 20px;
  border: 1px solid var(--color-secondary);
}

.app-info-table td:first-child {
  width: 40%;
  background-color: rgba(29, 33, 88, 0.7);
}

.download-buttons-block {
  margin-top: 40px;
}

.download-buttons-block h3 {
  font-size: 24px;
  color: var(--color-secondary);
  margin-bottom: 25px;
  text-align: center;
}

.download-buttons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background-color: rgba(29, 33, 88, 0.7);
  border: 2px solid var(--color-secondary);
  border-radius: 12px;
  text-decoration: none;
  color: var(--color-text);
  transition: all 0.3s ease;
}

.download-btn:hover {
  background-color: rgba(29, 33, 88, 0.9);
  border-color: var(--color-accent);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.download-btn-icon {
  flex-shrink: 0;
}

.download-btn-text {
  display: flex;
  flex-direction: column;
}

.download-btn-label {
  font-size: 12px;
  color: var(--color-text-muted);
}

.download-btn-store {
  font-size: 18px;
  font-weight: 600;
}

.winners-subtitle,
.video-subtitle,
.games-subtitle,
.wheel-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  margin-bottom: 30px;
  font-size: 16px;
}

.winners-table-wrapper {
  overflow-x: auto;
  margin-top: 30px;
}

.winners-table {
  width: 100%;
  border-collapse: collapse;
  background-color: rgba(29, 33, 88, 0.5);
  border-radius: 10px;
  overflow: hidden;
}

.winners-table thead {
  background-color: var(--color-primary);
}

.winners-table th {
  padding: 15px;
  text-align: left;
  font-weight: 600;
  border: 1px solid var(--color-secondary);
}

.winners-table td {
  padding: 12px 15px;
  border: 1px solid rgba(150, 165, 209, 0.3);
}

.winners-table tbody tr:hover {
  background-color: rgba(150, 165, 209, 0.1);
}

.rank-cell {
  font-weight: 600;
  font-size: 16px;
}

.player-cell {
  color: var(--color-secondary);
  font-weight: 500;
}

.win-cell {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 16px;
}

.video-wrapper {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.game-card {
  background-color: rgba(29, 33, 88, 0.5);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.game-card:hover {
  transform: translateY(-10px);
  border-color: var(--color-accent);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.game-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.game-info {
  padding: 20px;
  text-align: center;
}

.game-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text);
}

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

.game-btn {
  display: inline-block;
  padding: 10px 30px;
  background-color: var(--color-accent);
  color: var(--color-primary);
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.game-btn:hover {
  background-color: #f5bc2e;
  transform: scale(1.05);
}

.wheel-game {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin: 40px 0;
}

#wheelCanvas {
  max-width: 100%;
  height: auto;
}

.spin-button {
  padding: 15px 50px;
  background-color: var(--color-accent);
  color: var(--color-primary);
  border: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(234, 174, 22, 0.4);
}

.spin-button:hover:not(:disabled) {
  background-color: #f5bc2e;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(234, 174, 22, 0.6);
}

.spin-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.wheel-result {
  background-color: rgba(29, 33, 88, 0.7);
  border: 2px solid var(--color-accent);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.wheel-result-content h3 {
  font-size: 28px;
  margin-bottom: 15px;
  color: var(--color-accent);
}

.wheel-result-content p {
  font-size: 16px;
  margin-bottom: 25px;
  line-height: 1.6;
}

.claim-button {
  display: inline-block;
  padding: 12px 40px;
  background-color: var(--color-accent);
  color: var(--color-primary);
  text-decoration: none;
  border-radius: 30px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.claim-button:hover {
  background-color: #f5bc2e;
  transform: scale(1.05);
}

.author-card {
  display: flex;
  gap: 30px;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.author-avatar {
  flex-shrink: 0;
}

.author-avatar img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 3px solid var(--color-accent);
}

.author-name {
  font-size: 24px;
  color: var(--color-accent);
  margin-bottom: 5px;
}

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

.author-bio {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.author-link {
  color: var(--color-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.author-link:hover {
  color: var(--color-accent);
}

.footer {
  background-color: var(--color-primary);
  padding: 50px 0 20px;
  margin-top: 60px;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo img {
  height: 45px;
  width: auto;
  margin-bottom: 20px;
}

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

.footer-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--color-accent);
}

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

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

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

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

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

.footer-contacts li {
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--color-text-muted);
}

.footer-subtitle {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--color-secondary);
  text-align: center;
}

.footer-payments,
.footer-providers {
  margin-bottom: 30px;
}

.payment-logos,
.provider-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  align-items: center;
}

.payment-logos img,
.provider-logos img {
  height: 40px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.payment-logos img:hover,
.provider-logos img:hover {
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(150, 165, 209, 0.2);
  padding-top: 30px;
  margin-top: 30px;
}

.footer-legal {
  text-align: center;
}

.footer-legal p {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 10px;
  line-height: 1.6;
}

.footer-license {
  color: var(--color-secondary);
  font-weight: 500;
}

.footer-warning {
  color: var(--color-accent);
}

.sticky-widget {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, #2a2f6b 100%);
  padding: 15px 20px;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
  z-index: 999;
  transform: translateY(100%);
  transition: transform 0.5s ease;
}

.sticky-widget.visible {
  transform: translateY(0);
}

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

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

.sticky-widget-bonus {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 3px;
}

.sticky-widget-label {
  font-size: 14px;
  color: var(--color-text-muted);
}

.sticky-widget-btn {
  padding: 12px 35px;
  background-color: var(--color-accent);
  color: var(--color-primary);
  text-decoration: none;
  border-radius: 30px;
  font-weight: 700;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.sticky-widget-btn:hover {
  background-color: #f5bc2e;
  transform: scale(1.05);
}

.sticky-widget-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-size: 24px;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.sticky-widget-close:hover {
  color: var(--color-text);
}

@media (max-width: 992px) {
  .header-nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background-color: var(--color-primary);
    padding: 20px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  }

  .header-nav.active {
    transform: translateX(0);
  }

  .nav-menu {
    flex-direction: column;
    gap: 15px;
  }

  .burger-menu {
    display: flex;
  }

  .online-counter {
    display: none;
  }

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

  .hero-text {
    font-size: 18px;
  }

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

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

  .author-card {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .content-wrapper,
  .app-info-section,
  .winners-section,
  .video-section,
  .games-section,
  .wheel-section,
  .author-section {
    padding: 25px 20px;
  }

  .hero-section {
    height: 400px;
  }

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

  .hero-text {
    font-size: 16px;
  }

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

  .download-buttons-grid {
    grid-template-columns: 1fr;
  }

  .games-grid {
    grid-template-columns: 1fr;
  }

  .sticky-widget-content {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .sticky-widget-text {
    align-items: center;
  }

  #wheelCanvas {
    width: 300px;
    height: 300px;
  }
}

@media (max-width: 480px) {
  .header-buttons {
    gap: 5px;
  }

  .btn {
    padding: 8px 15px;
    font-size: 13px;
  }

  .page-title {
    font-size: 24px;
  }

  .hero-controls {
    padding: 0 10px;
  }

  .hero-prev,
  .hero-next {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}

.unused-wp-class-1 {
  display: none;
}
.unused-wp-class-2 {
  visibility: hidden;
}
.elementor-hidden {
  opacity: 0;
}
.wp-block-spacer {
  height: 20px;
}
.yoast-schema-graph {
  display: none;
}
