/* Reset and Base Styles */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: #0255c2;
  transition: color 0.3s ease;
}

a:hover {
  color: #54b146;
}

img {
  max-width: 100%;
  height: auto;
}

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

.header-wrapper {
  position: relative;
}

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

.main-navigation .nav-menu {
  gap: 25px;
  margin-left: 40px;
}

.main-navigation .menu-item a {
  color: #333;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
}

.main-navigation .menu-item a:hover {
  color: #0255c2;
}

.online-counter {
  background: #f0f0f0;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 14px;
}

.online-icon {
  animation: pulse 2s infinite;
}

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

.btn {
  padding: 10px 25px;
  border-radius: 5px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-login {
  background: #0255c2;
  color: #fff;
}

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

.btn-signup {
  background: #54b146;
  color: #fff;
}

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

.burger-menu {
  background: none;
  border: none;
  width: 30px;
  height: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  padding: 0;
}

.burger-menu span {
  display: block;
  width: 100%;
  height: 3px;
  background: #333;
  transition: all 0.3s ease;
}

.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);
}

.mobile-menu {
  display: none;
  background: #fff;
  padding: 20px;
  margin-top: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
  display: block;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-nav-menu {
  margin: 0;
  padding: 0;
}

.mobile-menu-item {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.mobile-menu-item:last-child {
  border-bottom: none;
}

.mobile-menu-item a {
  color: #333;
  font-weight: 500;
  display: block;
}

/* Hero Banner */
.hero-banner-section {
  position: relative;
  margin-bottom: 30px;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  height: 500px;
}

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

.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: #fff;
  z-index: 2;
  width: 90%;
  max-width: 800px;
}

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

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

.hero-btn {
  background: #54b146;
  color: #fff;
  padding: 15px 40px;
  font-size: 20px;
  border-radius: 8px;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
}

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

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

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

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

/* Breadcrumbs */
.breadcrumbs-wrapper {
  margin: 20px 0;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #666;
}

.breadcrumb-item {
  color: #0255c2;
}

.breadcrumb-item.active {
  color: #666;
}

.breadcrumb-separator {
  color: #999;
}

/* Main Content */
.container-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.main-content {
  margin-bottom: 40px;
}

.content-box {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.main-heading {
  font-size: 36px;
  color: #222;
  margin-bottom: 25px;
  font-weight: 700;
}

.author-info-block {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 30px;
  border-left: 4px solid #0255c2;
}

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

.author-name {
  font-weight: 600;
  font-size: 16px;
  display: block;
  margin-bottom: 5px;
}

.author-bio {
  font-size: 14px;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

.text-content {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
}

.text-content h2 {
  font-size: 28px;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #222;
}

.text-content h3 {
  font-size: 22px;
  margin-top: 25px;
  margin-bottom: 12px;
  color: #333;
}

.text-content p {
  margin-bottom: 15px;
}

.text-content ul,
.text-content ol {
  margin: 15px 0;
  padding-left: 30px;
}

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

.text-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px auto;
  max-width: 800px;
}

.text-content table th,
.text-content table td {
  border: 2px solid #ddd;
  padding: 12px;
  text-align: left;
}

.text-content table th {
  background: #f5f5f5;
  font-weight: 600;
}

/* Promo Code Section */
.promo-code-section {
  margin: 30px 0;
}

.promo-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 30px;
  border-radius: 15px;
  color: #fff;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.promo-title {
  font-size: 28px;
  margin-bottom: 20px;
  text-align: center;
}

.promo-content {
  text-align: center;
}

.promo-code-wrapper {
  background: rgba(255, 255, 255, 0.2);
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 15px;
  display: inline-block;
}

.promo-code {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 3px;
  display: block;
  margin-bottom: 10px;
}

.promo-status {
  display: inline-block;
  padding: 5px 15px;
  background: #54b146;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

.promo-description {
  font-size: 18px;
  margin: 15px 0;
}

.promo-timer {
  font-size: 16px;
  margin-bottom: 20px;
  font-weight: 500;
}

.promo-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-copy,
.btn-activate {
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-copy {
  background: #fff;
  color: #667eea;
}

.btn-copy:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

.btn-activate {
  background: #54b146;
  color: #fff;
}

.btn-activate:hover {
  background: #3d8a32;
  transform: translateY(-2px);
  color: #fff;
}

/* Pros and Cons */
.pros-cons-section {
  margin: 30px 0;
}

.pros-card,
.cons-card {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.pros-card {
  border-top: 4px solid #54b146;
}

.cons-card {
  border-top: 4px solid #ff6b6b;
}

.pros-title,
.cons-title {
  font-size: 22px;
  margin-bottom: 20px;
  font-weight: 600;
}

.pros-list,
.cons-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pros-list li,
.cons-list li {
  padding: 10px 0;
  padding-left: 30px;
  position: relative;
  border-bottom: 1px solid #f0f0f0;
}

.pros-list li:last-child,
.cons-list li:last-child {
  border-bottom: none;
}

.pros-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #54b146;
  font-weight: 700;
  font-size: 18px;
}

.cons-list li:before {
  content: "✗";
  position: absolute;
  left: 0;
  color: #ff6b6b;
  font-weight: 700;
  font-size: 18px;
}

/* Screenshots Section */
.screenshots-section {
  margin: 30px 0;
}

.section-title {
  font-size: 28px;
  margin-bottom: 25px;
  text-align: center;
  color: #222;
  font-weight: 700;
}

.screenshots-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.screenshot-item {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.screenshot-item:hover {
  transform: translateY(-5px);
}

.screenshot-item img {
  width: 100%;
  height: auto;
  display: block;
}

.screenshot-caption {
  padding: 15px;
  text-align: center;
  font-weight: 500;
  color: #333;
}

/* Tournaments Section */
.tournaments-section {
  margin: 30px 0;
}

.tournaments-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.tournament-card {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: transform 0.3s ease;
}

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

.tournament-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #ff6b6b;
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.tournament-name {
  font-size: 22px;
  margin-bottom: 12px;
  color: #222;
  font-weight: 700;
}

.tournament-desc {
  color: #666;
  margin-bottom: 15px;
  line-height: 1.6;
}

.tournament-prize {
  font-size: 20px;
  font-weight: 700;
  color: #54b146;
  margin-bottom: 15px;
}

.tournament-timer {
  background: #f9f9f9;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 15px;
  text-align: center;
}

.timer-label {
  display: block;
  font-size: 14px;
  color: #666;
  margin-bottom: 5px;
}

.timer-value {
  font-size: 18px;
  font-weight: 700;
  color: #0255c2;
}

.tournament-btn {
  display: block;
  width: 100%;
  padding: 12px;
  background: #0255c2;
  color: #fff;
  text-align: center;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.tournament-btn:hover {
  background: #013d8f;
  color: #fff;
}

/* Slot Game Section */
.slot-game-section {
  margin: 30px 0;
}

.slot-machine {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(245, 87, 108, 0.3);
}

.slot-display {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.slot-reel {
  background: #fff;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.slot-spin-btn {
  background: #54b146;
  color: #fff;
  padding: 15px 50px;
  font-size: 20px;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slot-spin-btn:hover {
  background: #3d8a32;
  transform: scale(1.05);
}

.slot-spin-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.slot-result {
  margin-top: 20px;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  min-height: 30px;
}

/* Reviews Section */
.reviews-section {
  margin: 30px 0;
}

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

.review-card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.review-card:hover {
  transform: translateY(-3px);
}

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

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

.review-author {
  font-weight: 600;
  font-size: 16px;
  display: block;
  margin-bottom: 5px;
}

.review-rating {
  color: #ffc107;
  font-size: 18px;
}

.review-text {
  color: #555;
  line-height: 1.7;
  font-size: 15px;
}

/* Review Form */
.review-form-wrapper {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.review-form-title {
  font-size: 24px;
  margin-bottom: 20px;
  color: #222;
  font-weight: 700;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 15px;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: #0255c2;
}

.btn-submit-review {
  background: #54b146;
  color: #fff;
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit-review:hover {
  background: #3d8a32;
  transform: translateY(-2px);
}

.review-success {
  background: #d4edda;
  color: #155724;
  padding: 15px;
  border-radius: 8px;
  margin-top: 20px;
  text-align: center;
  font-weight: 500;
}

/* Footer */
.footer-main {
  background: #ffffff;
  padding: 40px 0 20px;
  margin-top: 50px;
  border-top: 1px solid #e0e0e0;
}

.footer-content {
  color: #555;
}

.footer-column {
  margin-bottom: 30px;
}

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

.footer-description {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

.footer-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #222;
}

.footer-menu {
  margin: 0;
  padding: 0;
}

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

.footer-menu a {
  color: #555;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-menu a:hover {
  color: #0255c2;
}

.footer-contacts {
  font-size: 14px;
  color: #555;
}

.footer-contacts p {
  margin-bottom: 10px;
}

.footer-payments,
.footer-providers {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #e0e0e0;
}

.payments-title,
.providers-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
  text-align: center;
  color: #222;
}

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

.payment-icons img,
.provider-logos img {
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.payment-icons img:hover,
.provider-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.footer-legal {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
  text-align: center;
}

.legal-text p {
  font-size: 13px;
  color: #777;
  margin-bottom: 8px;
}

.disclaimer {
  color: #ff6b6b !important;
  font-weight: 500;
}

/* Fixed Widget */
.fixed-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
  z-index: 999;
  max-width: 320px;
  animation: slideInRight 0.5s ease;
}

@keyframes slideInRight {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.widget-content {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #fff;
}

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

.widget-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 5px;
}

.widget-subtitle {
  font-size: 14px;
}

.widget-btn {
  background: #54b146;
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.widget-btn:hover {
  background: #3d8a32;
  transform: scale(1.05);
  color: #fff;
}

.widget-close {
  position: absolute;
  top: 5px;
  right: 5px;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  color: #fff;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  transition: background 0.3s ease;
}

.widget-close:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 991px) {
  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .screenshots-slider,
  .tournaments-slider {
    grid-template-columns: 1fr;
  }

  .slot-display {
    gap: 10px;
  }

  .slot-reel {
    width: 80px;
    height: 80px;
    font-size: 50px;
  }
}

@media (max-width: 768px) {
  .main-heading {
    font-size: 28px;
  }

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

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

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

  .promo-code {
    font-size: 24px;
  }

  .promo-buttons {
    flex-direction: column;
  }

  .fixed-widget {
    bottom: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
  }

  .widget-content {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .slot-display {
    gap: 5px;
  }

  .slot-reel {
    width: 60px;
    height: 60px;
    font-size: 40px;
  }

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

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