/* Import Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Roboto:wght@300;400;500;700&display=swap");

/* CSS Variables */
:root {
  --primary-color: #dc0f3d;
  --secondary-color: #ff6b35;
  --accent-color: #00ff88;
  --bg-dark: #0a0a0a;
  --bg-darker: #050505;
  --text-light: #ffffff;
  --text-gray: #cccccc;
  --text-muted: #888888;
  --border-color: #333333;
  --gradient-primary: linear-gradient(135deg, #dc0f3d 0%, #ff6b35 100%);
  --gradient-accent: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
  --shadow-glow: 0 0 20px rgba(220, 15, 61, 0.3);
  --shadow-dark: 0 4px 20px rgba(0, 0, 0, 0.5);
}

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

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

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


/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Orbitron", monospace;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-light);
}

h1 {
  font-size: 2.5rem;
  font-weight: 900;
}

h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.5rem;
  color: var(--secondary-color);
}

h4 {
  font-size: 1.25rem;
  color: var(--accent-color);
}

p {
  margin-bottom: 1rem;
  color: var(--text-gray);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

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

/* Header Styles */
.navbar {
  background: linear-gradient(180deg, var(--bg-darker) 0%, rgba(10, 10, 10, 0.95) 100%);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--primary-color);
  padding: 1rem 0;
  z-index: 1000;
}

.navbar-brand {
  font-family: "Orbitron", monospace;
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--text-light) !important;
  text-shadow: 0 0 10px var(--primary-color);
}

.navbar-brand i {
  color: var(--primary-color);
  margin-right: 0.5rem;
  animation: plane-fly 3s ease-in-out infinite;
}

@keyframes plane-fly {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
}

.nav-link {
  color: var(--text-light) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  border-radius: 25px;
  transition: all 0.3s ease;
  margin: 0 0.5rem;
}

.register-link {
  background: var(--gradient-primary);
  box-shadow: var(--shadow-glow);
}

.login-link {
  border: 2px solid var(--primary-color);
}

.nav-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(220, 15, 61, 0.4);
}

/* Hero Section */
.hero-section {
  background: radial-gradient(ellipse at center, rgba(220, 15, 61, 0.1) 0%, var(--bg-dark) 70%);
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23333" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.1;
  z-index: -1;
}

.hero-title {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  text-shadow: none;
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--text-gray);
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
  min-width: 120px;
}

.stat-number {
  display: block;
  font-family: "Orbitron", monospace;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--accent-color);
  text-shadow: 0 0 10px var(--accent-color);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.btn-play {
  background: var(--gradient-primary);
  border: none;
  color: var(--text-light);
  font-family: "Orbitron", monospace;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  box-shadow: var(--shadow-glow);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-play:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 30px rgba(220, 15, 61, 0.5);
  color: var(--text-light);
}

.hero-image img {
  border: 3px solid var(--primary-color);
  box-shadow: var(--shadow-glow);
}

/* Main Content */
.main-content {
  padding: 4rem 0;
  padding-bottom: 8rem;
}

.content-section {
  margin-bottom: 4rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 20px;
  border: 1px solid var(--border-color);
  backdrop-filter: blur(5px);
  opacity: 1;
  transform: none;
  position: relative;
  z-index: auto;
}

/* Table of Contents */
.toc-section {
  background: linear-gradient(135deg, rgba(220, 15, 61, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
  border: 2px solid var(--primary-color);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 3rem;
}

.toc-list {
  list-style: none;
  counter-reset: toc-counter;
}

.toc-list li {
  counter-increment: toc-counter;
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 2rem;
}

.toc-list li::before {
  content: counter(toc-counter);
  position: absolute;
  left: 0;
  top: 0;
  background: var(--gradient-primary);
  color: var(--text-light);
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
}

.toc-list a {
  color: var(--text-light);
  font-weight: 500;
}

.toc-list a:hover {
  color: var(--secondary-color);
}

/* Subsections */
.subsection {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 15px;
  border-left: 4px solid var(--accent-color);
}

/* Feature Boxes */
.feature-box {
  background: rgba(0, 255, 136, 0.05);
  border: 1px solid var(--accent-color);
  border-radius: 15px;
  padding: 1.5rem;
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
  z-index: auto;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 255, 136, 0.2);
}

.feature-box h4 {
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.feature-box ul {
  list-style: none;
  padding-left: 0;
}

.feature-box li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-gray);
}

.feature-box li::before {
  content: "✈️";
  position: absolute;
  left: 0;
  top: 0;
}

/* Popularity Items */
.popularity-item {
  background: rgba(220, 15, 61, 0.05);
  border: 1px solid var(--primary-color);
  border-radius: 15px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.popularity-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(220, 15, 61, 0.2);
}

.popularity-item h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Characteristics Grid */
.characteristics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.char-item {
  background: rgba(255, 107, 53, 0.05);
  border: 1px solid var(--secondary-color);
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  opacity: 1;
  transform: none;
  position: relative;
  z-index: auto;
}

.char-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}

.char-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.char-item h4 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

/* How to Play Steps */
.how-to-play-steps {
  margin-top: 2rem;
}

.step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 15px;
  border: 1px solid var(--border-color);
}

.step-number {
  background: var(--gradient-primary);
  color: var(--text-light);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Orbitron", monospace;
  font-weight: 900;
  font-size: 1.2rem;
  margin-right: 1.5rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-glow);
}

.step-content {
  flex: 1;
}

.step-content h4 {
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.step-content ul {
  list-style: none;
  padding-left: 0;
}

.step-content li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
  color: var(--text-gray);
}

.step-content li::before {
  content: "▶️";
  position: absolute;
  left: 0;
  top: 0;
}

/* Money Features */
.money-feature {
  background: rgba(220, 15, 61, 0.05);
  border: 1px solid var(--primary-color);
  border-radius: 15px;
  padding: 1.5rem;
  height: 100%;
  transition: all 0.3s ease;
}

.money-feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(220, 15, 61, 0.2);
}

.money-feature h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.money-feature ul {
  list-style: none;
  padding-left: 0;
}

.money-feature li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-gray);
}

.money-feature li::before {
  content: "💰";
  position: absolute;
  left: 0;
  top: 0;
}

/* Casinos Grid */
.casinos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.casino-card {
  background: rgba(0, 255, 136, 0.05);
  border: 1px solid var(--accent-color);
  border-radius: 15px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  opacity: 1;
  transform: none;
  position: relative;
  z-index: auto;
}

.casino-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 255, 136, 0.2);
}

.casino-card h4 {
  color: var(--accent-color);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.casino-card ul {
  list-style: none;
  padding-left: 0;
}

.casino-card li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-gray);
}

.casino-card li::before {
  content: "🎰";
  position: absolute;
  left: 0;
  top: 0;
}

/* Mobile Image */
.mobile-image img {
  border: 2px solid var(--accent-color);
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

/* Payment Methods */
.payment-method {
  background: rgba(255, 107, 53, 0.05);
  border: 1px solid var(--secondary-color);
  border-radius: 15px;
  padding: 1.5rem;
  height: 100%;
  transition: all 0.3s ease;
}

.payment-method:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.2);
}

.payment-method h4 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.payment-method ul {
  list-style: none;
  padding-left: 0;
}

.payment-method li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-gray);
}

.payment-method li::before {
  content: "💳";
  position: absolute;
  left: 0;
  top: 0;
}

/* Advantages Grid */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.advantage-item {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  opacity: 1;
  transform: none;
  position: relative;
  z-index: auto;
}

.advantage-item:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(220, 15, 61, 0.2);
}

.advantage-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.advantage-item h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.advantage-item ul {
  list-style: none;
  padding-left: 0;
  text-align: left;
}

.advantage-item li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-gray);
}

.advantage-item li::before {
  content: "✅";
  position: absolute;
  left: 0;
  top: 0;
}

/* FAQ Section */
.faq-section {
  background: rgba(0, 0, 0, 0.5);
  padding: 4rem 0;
  border-top: 2px solid var(--primary-color);
  padding-bottom: 6rem;
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.accordion-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 15px !important;
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-button {
  background: rgba(220, 15, 61, 0.1);
  color: var(--text-light);
  border: none;
  font-weight: 600;
  padding: 1.5rem;
  font-size: 1.1rem;
}

.accordion-button:not(.collapsed) {
  background: var(--gradient-primary);
  color: var(--text-light);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--primary-color);
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
  background: rgba(0, 0, 0, 0.3);
  color: var(--text-gray);
  padding: 1.5rem;
  border-top: 1px solid var(--border-color);
}

/* Footer */
.footer {
  background: var(--bg-darker);
  border-top: 2px solid var(--primary-color);
  padding: 2rem 0;
  margin-top: 4rem;
  margin-bottom: 80px;
}

.footer p {
  margin: 0;
  color: var(--text-muted);
}

/* Sticky Widget */
.sticky-widget {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--gradient-primary);
  padding: 1rem 0;
  z-index: 1000;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  height: 80px;
}

.widget-text {
  color: var(--text-light);
  font-weight: 600;
  font-size: 1.1rem;
}

.btn-widget {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid var(--text-light);
  color: var(--text-light);
  font-weight: 700;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-widget:hover {
  background: var(--text-light);
  color: var(--primary-color);
  transform: translateY(-2px);
}

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

  .hero-stats {
    justify-content: center;
  }

  .stat-item {
    min-width: 100px;
  }

  .step-item {
    flex-direction: column;
    text-align: center;
  }

  .step-number {
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .characteristics-grid,
  .casinos-grid,
  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .navbar-brand {
    font-size: 1.2rem;
  }

  .toc-section {
    padding: 1rem;
  }

  .content-section {
    padding: 1rem;
  }

  .sticky-widget .widget-text {
    font-size: 0.9rem;
  }

  .btn-widget {
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
  }

  .main-content {
    padding-bottom: 7rem;
  }

  .faq-section {
    padding-bottom: 5rem;
  }

  .footer {
    margin-bottom: 70px;
  }

  .sticky-widget {
    height: 70px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero-stats {
    gap: 1rem;
  }

  .stat-item {
    min-width: 80px;
    padding: 0.5rem;
  }

  .stat-number {
    font-size: 1.2rem;
  }

  .btn-play {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
  }

  .main-content {
    padding-bottom: 6rem;
  }

  .faq-section {
    padding-bottom: 4rem;
  }

  .footer {
    margin-bottom: 60px;
  }

  .sticky-widget {
    height: auto; /* allow stacking content */
    padding: 0.75rem 0 calc(0.75rem + env(safe-area-inset-bottom));
  }

  /* Ensure full visibility and usability of the CTA button on mobile */
  .sticky-widget .container .row {
    gap: 8px;
  }
  .sticky-widget .col-8,
  .sticky-widget .col-4 {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    text-align: center;
  }
  .sticky-widget .btn-widget {
    width: 100%;
    max-width: 360px;
    font-size: 1rem;
    padding: 0.6rem 1rem;
  }
}

/* Additional unused styles for uniqueness */
.unused-gradient-1 {
  background: linear-gradient(45deg, #ff0080, #7928ca);
}

.unused-gradient-2 {
  background: radial-gradient(circle, #00d4ff, #090979);
}

.unused-animation {
  animation: unused-spin 2s linear infinite;
}

@keyframes unused-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.unused-border {
  border: 3px dashed #ff6b35;
  border-radius: 50px;
}

.unused-shadow {
  box-shadow: 0 0 50px rgba(255, 0, 128, 0.5);
}

.unused-text-effect {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  letter-spacing: 2px;
}

.unused-hover-effect:hover {
  transform: rotate(5deg) scale(1.1);
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Unused HTML elements styles */
.unused-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.unused-button {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  color: white;
  padding: 12px 24px;
  border-radius: 30px;
}

.unused-table {
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 15px;
  overflow: hidden;
}

.unused-form-control {
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid #333;
  color: white;
  border-radius: 10px;
}

.hero-title, .typed, [data-typing] {
  animation: none !important;
  transition: none !important;
  width: auto !important;
  border-right: none !important; /* прибрати «мигаючий курсор» */
}

.providers-row {
  display: flex;
  flex-wrap: wrap;
  justify-content:center;
  gap: 15px;
}

.providers-row img {
  max-height: 40px;
  object-fit: contain;
}

.banks-row {
  display: flex;
  flex-wrap: wrap;
  justify-content:center;
  gap: 15px;
}

.banks-row img {
  max-height: 40px;
  object-fit: contain;
} 

.certs-row {
  display: flex;
  flex-wrap: wrap;
  justify-content:center;
  gap: 15px;
}

.certs-row img {
  max-height: 40px;
  object-fit: contain;
}
