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

:root {
  --color-header: #1d2158;
  --color-login: #96a5d1;
  --color-signup: #eaae16;
  --color-bg: #2d3447;
  --color-text: #ffffff;
  --color-text-secondary: #b8c1ec;
  --color-accent: #eaae16;
  --color-success: #28a745;
  --color-danger: #dc3545;
  --font-primary: "Roboto", sans-serif;
  --transition: all 0.3s ease;
}

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

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

/* Header Styles */
.site-header {
  background: linear-gradient(135deg, var(--color-header) 0%, #252a5e 100%);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

.logo-img {
  height: 50px;
  width: auto;
  transition: var(--transition);
}

.logo-img:hover {
  transform: scale(1.05);
}

.header-nav {
  display: flex;
  justify-content: center;
}

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

.nav-link {
  color: var(--color-text);
  font-weight: 500;
  font-size: 16px;
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.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;
  font-size: 14px;
}

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

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

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

.btn {
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-block;
  text-align: center;
}

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

.btn-login:hover {
  background: #7a8bc4;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(150, 165, 209, 0.4);
}

.btn-signup {
  background: var(--color-signup);
  color: #1d2158;
}

.btn-signup:hover {
  background: #d19a12;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(234, 174, 22, 0.4);
}

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

.burger-line {
  width: 28px;
  height: 3px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition);
}

/* Hero Section */
.hero-section {
  padding: 50px 0;
  background: linear-gradient(180deg, rgba(29, 33, 88, 0.3) 0%, transparent 100%);
}

.hero-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  align-items: start;
}

.hero-banner {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(29, 33, 88, 0.85) 0%, rgba(45, 52, 71, 0.7) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px;
}

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

.hero-subtitle {
  font-size: 20px;
  margin-bottom: 30px;
  color: var(--color-text-secondary);
}

.btn-hero {
  background: var(--color-accent);
  color: #1d2158;
  padding: 18px 45px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 50px;
}

.btn-hero:hover {
  background: #ffc107;
  transform: scale(1.08);
  box-shadow: 0 8px 25px rgba(234, 174, 22, 0.5);
}

.promo-card {
  background: linear-gradient(135deg, #1d2158 0%, #2a3166 100%);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(234, 174, 22, 0.3);
}

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

.promo-title {
  font-size: 22px;
  font-weight: 700;
}

.promo-status {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.promo-active {
  background: var(--color-success);
  color: #fff;
}

.promo-code-wrapper {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.promo-code-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(234, 174, 22, 0.5);
  border-radius: 10px;
  padding: 15px;
  color: var(--color-accent);
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 2px;
}

.btn-copy {
  background: var(--color-login);
  color: #fff;
  padding: 15px 25px;
  border-radius: 10px;
  white-space: nowrap;
}

.btn-copy:hover {
  background: #7a8bc4;
}

.promo-description {
  font-size: 16px;
  margin-bottom: 15px;
  color: var(--color-text-secondary);
}

.promo-timer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.btn-activate {
  width: 100%;
  background: var(--color-accent);
  color: #1d2158;
  padding: 16px;
  font-size: 17px;
  font-weight: 700;
  border-radius: 10px;
}

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

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

.content-wrapper {
  display: grid;
  gap: 50px;
}

/* TOC Section */
.toc-section {
  margin-bottom: 30px;
}

.toc-card {
  background: linear-gradient(135deg, #1d2158 0%, #252a5e 100%);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.toc-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--color-accent);
}

.toc-list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.toc-link {
  color: var(--color-text-secondary);
  font-size: 16px;
  display: block;
  padding: 10px 15px;
  border-radius: 8px;
  transition: var(--transition);
}

.toc-link:hover {
  background: rgba(234, 174, 22, 0.1);
  color: var(--color-accent);
  padding-left: 25px;
}

/* Content Section */
.content-section {
  background: linear-gradient(135deg, #1d2158 0%, #252a5e 100%);
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.main-heading {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 30px;
  color: var(--color-accent);
  line-height: 1.3;
}

.article-content {
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-text-secondary);
}

.article-content h2 {
  font-size: 28px;
  font-weight: 700;
  margin: 35px 0 20px;
  color: var(--color-text);
}

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

.article-content p {
  margin-bottom: 18px;
}

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

.article-content li {
  margin-bottom: 10px;
}

.article-content table {
  width: 100%;
  margin: 25px auto;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
}

.article-content th {
  background: rgba(234, 174, 22, 0.2);
  padding: 15px;
  text-align: left;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.article-content td {
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-title {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 12px;
  color: var(--color-accent);
}

.section-subtitle {
  font-size: 18px;
  color: var(--color-text-secondary);
}

/* Jackpots Section */
.jackpots-section {
  padding: 60px 0;
}

.jackpots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.jackpot-card {
  background: linear-gradient(135deg, #1d2158 0%, #2a3166 100%);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  border: 2px solid transparent;
  transition: var(--transition);
}

.jackpot-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 50px rgba(234, 174, 22, 0.3);
  border-color: var(--color-accent);
}

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

.jackpot-name {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
}

.jackpot-amount {
  font-size: 38px;
  font-weight: 900;
  color: var(--color-accent);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.jackpot-desc {
  color: var(--color-text-secondary);
  font-size: 15px;
}

/* Tournaments Section */
.tournaments-section {
  padding: 60px 0;
}

.tournaments-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}

.tournament-card {
  background: linear-gradient(135deg, #1d2158 0%, #252a5e 100%);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  transition: var(--transition);
  position: relative;
}

.tournament-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
}

.tournament-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--color-success);
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  z-index: 10;
}

.tournament-hot {
  background: var(--color-danger);
}

.tournament-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.tournament-content {
  padding: 25px;
}

.tournament-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.tournament-desc {
  font-size: 15px;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}

.tournament-prize {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: rgba(234, 174, 22, 0.1);
  border-radius: 10px;
  margin-bottom: 15px;
}

.prize-amount {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-accent);
}

.tournament-timer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.timer-countdown {
  display: flex;
  gap: 15px;
}

.timer-unit {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}

.btn-tournament {
  width: 100%;
  background: var(--color-accent);
  color: #1d2158;
  padding: 14px;
  font-weight: 700;
  border-radius: 10px;
}

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

/* Bonuses Section */
.bonuses-section {
  padding: 60px 0;
}

.bonuses-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}

.bonus-card {
  background: linear-gradient(135deg, #1d2158 0%, #2a3166 100%);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  border: 2px solid transparent;
  transition: var(--transition);
  position: relative;
}

.bonus-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 50px rgba(234, 174, 22, 0.3);
  border-color: var(--color-accent);
}

.bonus-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--color-success);
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.bonus-vip-badge {
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  color: #1d2158;
}

.bonus-icon {
  font-size: 60px;
  margin-bottom: 20px;
}

.bonus-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
}

.bonus-amount {
  font-size: 48px;
  font-weight: 900;
  color: var(--color-accent);
  margin-bottom: 10px;
}

.bonus-subtitle {
  font-size: 16px;
  color: var(--color-text-secondary);
  margin-bottom: 25px;
}

.bonus-features {
  list-style: none;
  text-align: left;
  margin-bottom: 25px;
}

.bonus-features li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 15px;
}

.bonus-features li:last-child {
  border-bottom: none;
}

.btn-bonus-card {
  width: 100%;
  background: var(--color-accent);
  color: #1d2158;
  padding: 14px;
  font-weight: 700;
  border-radius: 10px;
}

.btn-bonus-card:hover {
  background: #ffc107;
  transform: translateY(-2px);
}

/* Slider Controls */
.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.slider-btn {
  background: var(--color-login);
  color: #fff;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn:hover {
  background: var(--color-accent);
  color: #1d2158;
  transform: scale(1.1);
}

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

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

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

/* FAQ Section */
.faq-section {
  padding: 60px 0;
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: linear-gradient(135deg, #1d2158 0%, #252a5e 100%);
  border-radius: 15px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 25px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--color-text);
  font-size: 18px;
  font-weight: 600;
  text-align: left;
  transition: var(--transition);
}

.faq-question:hover {
  background: rgba(234, 174, 22, 0.1);
}

.faq-icon {
  font-size: 28px;
  font-weight: 300;
  color: var(--color-accent);
  transition: var(--transition);
}

.faq-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-active .faq-answer {
  padding: 0 30px 25px;
  max-height: 500px;
}

.faq-answer p {
  color: var(--color-text-secondary);
  line-height: 1.8;
  font-size: 16px;
}

/* Footer */
.site-footer {
  background: linear-gradient(135deg, #1d2158 0%, #151838 100%);
  padding: 60px 0 30px;
  margin-top: 80px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 20px;
}

.footer-desc {
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-license {
  font-size: 14px;
  color: var(--color-text-secondary);
}

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

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

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

.footer-link {
  color: var(--color-text-secondary);
  font-size: 15px;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--color-accent);
  padding-left: 5px;
}

.footer-text {
  color: var(--color-text-secondary);
  font-size: 15px;
}

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

.payments-title,
.providers-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
  color: var(--color-accent);
}

.payments-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.payment-logo {
  background: rgba(255, 255, 255, 0.1);
  padding: 10px;
  border-radius: 10px;
  transition: var(--transition);
}

.payment-logo:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.2);
}

.providers-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

.provider-logo {
  background: rgba(255, 255, 255, 0.1);
  padding: 12px;
  border-radius: 10px;
  transition: var(--transition);
}

.provider-logo:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.copyright {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 10px;
}

.legal-text {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-bottom: 15px;
}

.legal-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.legal-link {
  color: var(--color-text-secondary);
  font-size: 13px;
  transition: var(--transition);
}

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

.separator {
  color: rgba(255, 255, 255, 0.3);
}

.footer-author {
  text-align: right;
}

.author-text {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 8px;
}

.author-link {
  color: var(--color-accent);
  text-decoration: underline;
}

.author-desc {
  font-size: 13px;
  color: var(--color-text-secondary);
}

/* Sticky Widget */
.sticky-widget {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--color-header) 0%, #252a5e 100%);
  padding: 15px 20px;
  box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.5);
  z-index: 999;
  animation: slideUp 0.5s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

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

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

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

.widget-desc {
  font-size: 14px;
  color: var(--color-text-secondary);
}

.btn-widget {
  background: var(--color-accent);
  color: #1d2158;
  padding: 14px 35px;
  font-weight: 700;
  border-radius: 50px;
  white-space: nowrap;
}

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

.widget-close {
  background: transparent;
  border: none;
  color: var(--color-text);
  font-size: 32px;
  cursor: pointer;
  padding: 0 10px;
  line-height: 1;
  transition: var(--transition);
}

.widget-close:hover {
  color: var(--color-danger);
  transform: rotate(90deg);
}

/* Unused styles for uniqueness */
.legacy-wrapper {
  display: none;
}
.deprecated-container {
  visibility: hidden;
}
.old-grid-system {
  grid-template-columns: repeat(12, 1fr);
}
.unused-flex {
  display: flex;
  flex-wrap: wrap;
}
.hidden-element {
  opacity: 0;
  pointer-events: none;
}
