:root {
  --color-primary: #02504b;
  --color-secondary: #f9c719;
  --color-bg: #0e2f2b;
  --color-header: #222723;
  --color-text: #e8e8e8;
  --color-text-dark: #1a1a1a;
}

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

body {
  font-family: "Roboto", -apple-system, "BlinkMacSystemFont", "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Open Sans",
    "Helvetica Neue", "Arial", sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Header Styles */
.site-header {
  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;
  flex-wrap: wrap;
}

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

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

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

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

.main-nav a:hover {
  color: var(--color-secondary);
}

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

.online-counter {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 15px;
  border-radius: 20px;
}

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

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

.online-text {
  font-size: 14px;
  color: var(--color-text);
}

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

.btn {
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  display: inline-block;
}

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

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

.btn-signup {
  background-color: var(--color-secondary);
  color: var(--color-text-dark);
}

.btn-signup:hover {
  background-color: #ffd93d;
  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;
}

.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 */
.hero-section {
  position: relative;
  height: 500px;
  overflow: hidden;
}

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

.hero-slide {
  position: absolute;
  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;
  color: white;
  z-index: 2;
  background: rgba(0, 0, 0, 0.6);
  padding: 40px;
  border-radius: 15px;
}

.hero-content h2 {
  font-size: 42px;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-content p {
  font-size: 20px;
  margin-bottom: 25px;
}

.hero-btn {
  background-color: var(--color-secondary);
  color: var(--color-text-dark);
  padding: 15px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  display: inline-block;
  transition: all 0.3s;
}

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

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

.hero-prev,
.hero-next {
  background: rgba(255, 255, 255, 0.3);
  border: none;
  color: white;
  font-size: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
}

.hero-prev:hover,
.hero-next:hover {
  background: rgba(255, 255, 255, 0.5);
}

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

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

.breadcrumbs a {
  color: var(--color-secondary);
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

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

.breadcrumbs .current {
  color: var(--color-text);
}

/* Main Content */
.main-content {
  padding: 40px 0;
}

.content-wrapper {
  background: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 15px;
  margin-bottom: 30px;
}

.content-wrapper h1 {
  font-size: 36px;
  margin-bottom: 30px;
  color: var(--color-secondary);
  text-align: center;
}

.content-wrapper h2 {
  font-size: 28px;
  margin: 30px 0 20px;
  color: var(--color-secondary);
}

.content-wrapper h3 {
  font-size: 22px;
  margin: 25px 0 15px;
  color: var(--color-text);
}

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

.content-wrapper ul,
.content-wrapper ol {
  margin: 15px 0 15px 30px;
  line-height: 1.8;
}

.content-wrapper a {
  color: var(--color-primary);
  text-decoration: underline;
}

.content-wrapper a:hover {
  color: var(--color-secondary);
}

/* Info Table */
.info-table-wrapper {
  margin: 40px 0;
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
}

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

.info-table td {
  padding: 15px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  text-align: left;
}

.info-table td:first-child {
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  width: 35%;
}

/* Jackpots Section */
.jackpots-section {
  margin: 40px 0;
  background: linear-gradient(135deg, rgba(2, 80, 75, 0.3), rgba(249, 199, 25, 0.2));
  padding: 40px;
  border-radius: 15px;
}

.jackpots-section h2 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--color-secondary);
}

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

.jackpot-card {
  background: rgba(0, 0, 0, 0.4);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  border: 2px solid rgba(249, 199, 25, 0.3);
  transition: transform 0.3s;
}

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

.jackpot-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.jackpot-card h3 {
  margin-bottom: 15px;
  color: var(--color-secondary);
}

.jackpot-amount {
  font-size: 32px;
  font-weight: 700;
  color: #4ade80;
}

/* Screenshots Section */
.screenshots-section {
  margin: 40px 0;
  background: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 15px;
}

.screenshots-section h2 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--color-secondary);
}

.screenshots-slider {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.screenshots-slider::-webkit-scrollbar {
  display: none;
}

.screenshot-item {
  flex: 0 0 100%;
  scroll-snap-align: start;
  text-align: center;
}

.screenshot-item img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

.screenshot-item p {
  font-size: 16px;
  color: var(--color-text);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

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

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

/* Winners Section */
.winners-section {
  margin: 40px 0;
  background: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 15px;
}

.winners-section h2 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--color-secondary);
}

.winners-table-wrapper {
  overflow-x: auto;
}

.winners-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
}

.winners-table thead {
  background: rgba(2, 80, 75, 0.5);
}

.winners-table th {
  padding: 15px;
  text-align: left;
  font-weight: 600;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

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

.winners-table tbody tr:nth-child(odd) {
  background: rgba(255, 255, 255, 0.03);
}

.winners-table tbody tr:hover {
  background: rgba(249, 199, 25, 0.1);
}

/* Wheel Game Section */
.wheel-game-section {
  margin: 40px 0;
  background: linear-gradient(135deg, rgba(249, 199, 25, 0.2), rgba(2, 80, 75, 0.3));
  padding: 40px;
  border-radius: 15px;
  text-align: center;
}

.wheel-game-section h2 {
  margin-bottom: 30px;
  color: var(--color-secondary);
}

.wheel-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

#wheelCanvas {
  max-width: 100%;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(249, 199, 25, 0.5);
}

.spin-btn {
  background: var(--color-secondary);
  color: var(--color-text-dark);
  padding: 15px 50px;
  font-size: 20px;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

.spin-btn:hover:not(:disabled) {
  background: #ffd93d;
  transform: scale(1.05);
}

.spin-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.wheel-result {
  margin-top: 20px;
  font-size: 20px;
  font-weight: 600;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.wheel-result.win {
  color: #4ade80;
}

.wheel-result.lose {
  color: #f87171;
}

.claim-btn {
  background: #4ade80;
  color: var(--color-text-dark);
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
}

.claim-btn:hover {
  background: #22c55e;
  transform: scale(1.05);
}

/* Reviews Section */
.reviews-section {
  margin: 40px 0;
  background: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 15px;
}

.reviews-section h2 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--color-secondary);
}

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

.review-card {
  background: rgba(0, 0, 0, 0.3);
  padding: 25px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s;
}

.review-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-secondary);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.review-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.review-info h3 {
  margin: 0 0 5px 0;
  font-size: 18px;
  color: var(--color-text);
}

.review-rating {
  color: var(--color-secondary);
  font-size: 16px;
}

.review-card p {
  line-height: 1.7;
  color: var(--color-text);
}

/* Review Form */
.review-form-wrapper {
  background: rgba(0, 0, 0, 0.3);
  padding: 30px;
  border-radius: 12px;
  max-width: 600px;
  margin: 0 auto;
}

.review-form-wrapper h3 {
  text-align: center;
  margin-bottom: 25px;
  color: var(--color-secondary);
}

.review-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  color: var(--color-text);
}

.form-group input,
.form-group textarea {
  padding: 12px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-text);
  font-family: inherit;
  font-size: 14px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-secondary);
}

.submit-btn {
  background: var(--color-primary);
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.submit-btn:hover {
  background: #03635d;
  transform: translateY(-2px);
}

.form-message {
  margin-top: 15px;
  padding: 15px;
  border-radius: 6px;
  text-align: center;
  font-weight: 600;
  display: none;
}

.form-message.success {
  background: rgba(74, 222, 128, 0.2);
  color: #4ade80;
  border: 2px solid #4ade80;
  display: block;
}

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

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

.footer-section h4 {
  color: var(--color-secondary);
  margin-bottom: 20px;
  font-size: 18px;
}

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

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

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

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

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

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

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

.footer-payments h4,
.footer-providers h4 {
  color: var(--color-secondary);
  margin-bottom: 20px;
  text-align: center;
}

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

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

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
}

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

.legal-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.author-info {
  margin-top: 15px;
  font-size: 13px;
}

.author-info a {
  color: var(--color-secondary);
  text-decoration: none;
}

.author-info a:hover {
  text-decoration: underline;
}

/* Sticky Widget */
.sticky-widget {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  padding: 15px;
  z-index: 999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

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

.widget-bonus {
  font-size: 18px;
  font-weight: 700;
  color: white;
}

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

.widget-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--color-header);
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  }

  .main-nav.active {
    display: block;
  }

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

  .burger-menu {
    display: flex;
  }

  .online-counter {
    display: none;
  }

  .header-wrapper {
    flex-wrap: nowrap;
  }

  .hero-content h2 {
    font-size: 28px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .content-wrapper {
    padding: 25px 20px;
  }

  .content-wrapper h1 {
    font-size: 28px;
  }

  .screenshots-slider {
    scroll-behavior: smooth;
  }

  .screenshot-item {
    flex: 0 0 100%;
  }

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

  .widget-bonus {
    font-size: 16px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

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

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

  .hero-section {
    height: 350px;
  }

  .hero-content {
    padding: 25px;
  }

  .hero-content h2 {
    font-size: 22px;
  }

  .info-table td {
    padding: 10px;
    font-size: 14px;
  }

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

  .reviews-grid {
    grid-template-columns: 1fr;
  }
}
/* ==== Desktop side gutters (only ≥1024px) ==== */
:root{
    /* можна підкрутити значення: 48–80px */
    --gutter-desktop: clamp(40px, 4.5vw, 72px);
}

/* розширюємо контейнерні відступи на десктопі */
@media (min-width: 1024px){
    .container{
        padding-left: var(--gutter-desktop);
        padding-right: var(--gutter-desktop);
    }

    /* секції, що йдуть фул-вість без контейнера — даємо внутрішні поля */
    .info-table-wrapper,
    .jackpots-section,
    .screenshots-section,
    .winners-section,
    .wheel-game-section,
    .reviews-section,
    .breadcrumbs-wrapper{
        padding-left: var(--gutter-desktop);
        padding-right: var(--gutter-desktop);
    }

    /* нижній віджет теж вирівнюємо по «контейнеру» */
    .sticky-widget .widget-content{
        padding-left: var(--gutter-desktop);
        padding-right: var(--gutter-desktop);
        max-width: 1200px;       /* щоб контент не «лип» до країв на дуже широких екранах */
        margin: 0 auto;
    }
}

/* опційно: трішки ширше текстовий блок усередині container */
@media (min-width: 1200px){
    .content-wrapper{
        padding-left: calc(var(--gutter-desktop) * 0.75);
        padding-right: calc(var(--gutter-desktop) * 0.75);
    }
}
