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

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

.author-avatar,
.demo-image img {
  width: auto;
  height: auto;
}

.author-info {
  min-height: 80px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.article-header {
  min-height: 200px;
}

.lang-dropdown {
  width: 170px;
}
/* Reserve space for dynamic content */
.toc-content {
  min-height: 50px;
  transition: max-height 0.3s ease;
}

.faq-answer {
  transition: max-height 0.3s ease;
  overflow: hidden;
}
.fadeInUp,
.pulse {
  will-change: transform, opacity;
}

table {
  table-layout: fixed;
}

body {
  font-family: "Arial", sans-serif;
  background: linear-gradient(135deg, #1a0000 0%, #330000 50%, #1a0000 100%);
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
  font-display: swap;
}

.main-content{
margin-left: 20px;
margin-right: 20px;
}

.casino-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 20% 50%,
      rgba(255, 215, 0, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(circle at 80% 20%, rgba(255, 0, 0, 0.1) 0%, transparent 50%),
    radial-gradient(
      circle at 40% 80%,
      rgba(255, 215, 0, 0.05) 0%,
      transparent 50%
    );
  z-index: -1;
  animation: casinoPulse 6s ease-in-out infinite;
}

@keyframes casinoPulse {
  0%,
  100% {
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
}

.header {
  background: linear-gradient(90deg, #8b0000 0%, #dc143c 50%, #8b0000 100%);
  padding: 1rem 0;
  box-shadow: 0 4px 20px rgba(220, 20, 60, 0.4);
  position: relative;
  overflow: hidden;
}


@keyframes headerShine {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  font-size: 2rem;
  font-weight: bold;
  color: #ffd700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  animation: logoGlow 2s ease-in-out infinite alternate;
}

@keyframes logoGlow {
  from {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 10px #ffd700;
  }
  to {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 20px #ffd700,
      0 0 30px #ffd700;
  }
}

.nav-links {
  display: flex;
  gap: 1rem;
}

.nav-link {
  color: #ffd700;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: bold;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #ffa500;
}

.cta-button {
  background: linear-gradient(45deg, #ffd700, #ffa500, #ffd700);
  color: #000;
  padding: 15px 30px;
  border: none;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  will-change: transform;
  min-height: 50px;
}

@media (max-width: 768px) {
  .cta-button {
    padding: 10px 20px;
    font-size: 1rem;
  }
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6);
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.5s;
}

.cta-button:hover::before {
  left: 100%;
}

.hero {
  padding: 4rem 0;
  padding-bottom: 1rem;
  text-align: center;
  background: radial-gradient(
    ellipse at center,
    rgba(220, 20, 60, 0.1) 0%,
    transparent 70%
  );
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #ffd700, #ff6b6b, #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: titlePulse 2s ease-in-out infinite;
}

@keyframes titlePulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: #f0f0f0;
}

.section {
  margin: 1rem auto;
  padding: 1rem 0;
  text-align: center;
}

.section h2 {
  color: #ffd700;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.section h3 {
  color: #ffd700;
  font-size: 1.8rem;
  margin: 2rem 0 1rem 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.section p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #f0f0f0;
  text-align: left;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
}

.step-list {
  background: linear-gradient(
    135deg,
    rgba(139, 0, 0, 0.8) 0%,
    rgba(220, 20, 60, 0.6) 100%
  );
  padding: 2rem;
  border-radius: 15px;
  border: 2px solid #ffd700;
  margin: 2rem auto;
  max-width: 900px;
}

.step-list ol {
  padding-left: 2rem;
}

.step-list li {
  padding: 1rem 0;
  color: #f0f0f0;
  font-size: 1.1rem;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.step-list li:last-child {
  border-bottom: none;
}

.step-list li strong {
  color: #ffd700;
}

.features-list {
  background: linear-gradient(
    135deg,
    rgba(139, 0, 0, 0.8) 0%,
    rgba(220, 20, 60, 0.6) 100%
  );
  padding: 2rem;
  border-radius: 15px;
  border: 2px solid #ffd700;
  margin: 2rem auto;
  max-width: 800px;
}

.features-list ul {
  list-style: none;
  padding: 0;
}

.features-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.features-list li:before {
  content: "🎯 ";
  color: #ffd700;
}

.risk-levels {
  background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
  border-radius: 15px;
  padding: 2rem;
  margin: 3rem auto;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  border: 2px solid #ffd700;
  max-width: 900px;
}

.risk-level {
  background: rgba(0, 0, 0, 0.3);
  margin: 1rem 0;
  padding: 1.5rem;
  border-radius: 10px;
  border-left: 4px solid #ffd700;
}

.risk-level h4 {
  color: #ffd700;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.comparison-table {
  background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
  border-radius: 15px;
  padding: 2rem;
  margin: 3rem auto;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  border: 2px solid #ffd700;
  max-width: 800px;
  overflow-x: auto;
}

.comparison-table h3 {
  color: #ffd700;
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  overflow: hidden;
}

th,
td {
  padding: 1rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 215, 0, 0.3);
}

th {
  background: linear-gradient(90deg, #8b0000, #dc143c);
  color: #ffd700;
  font-weight: bold;
  text-transform: uppercase;
}

td {
  background: rgba(0, 0, 0, 0.2);
}

tr:hover td {
  background: rgba(255, 215, 0, 0.1);
}

.strategy-box {
  background: linear-gradient(
    135deg,
    rgba(0, 100, 0, 0.3) 0%,
    rgba(0, 150, 0, 0.1) 100%
  );
  padding: 2rem;
  border-radius: 15px;
  margin: 2rem auto;
  border: 2px solid #32cd32;
  max-width: 900px;
}

.strategy-box h4 {
  color: #32cd32;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin: 2rem auto;
  max-width: 900px;
}

.tip-card {
  background: linear-gradient(
    135deg,
    rgba(139, 0, 0, 0.8) 0%,
    rgba(220, 20, 60, 0.6) 100%
  );
  padding: 1.5rem;
  border-radius: 10px;
  border: 2px solid #ffd700;
}

.tip-card h4 {
  color: #ffd700;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.warning-box {
  background: linear-gradient(135deg, #ff4500 0%, #dc143c 100%);
  padding: 2rem;
  border-radius: 10px;
  margin: 2rem auto;
  border-left: 5px solid #ffd700;
  box-shadow: 0 5px 15px rgba(220, 20, 60, 0.3);
  max-width: 900px;
}

.faq-section {
  margin: 3rem auto;
  max-width: 900px;
}

.faq-item {
  background: rgba(0, 0, 0, 0.3);
  margin-bottom: 1rem;
  border-radius: 10px;
  overflow: hidden;
  border-left: 4px solid #ffd700;
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  background: linear-gradient(
    90deg,
    rgba(139, 0, 0, 0.3),
    rgba(220, 20, 60, 0.3)
  );
  transition: all 0.3s ease;
  font-weight: bold;
}

.faq-question:hover {
  background: linear-gradient(
    90deg,
    rgba(139, 0, 0, 0.5),
    rgba(220, 20, 60, 0.5)
  );
}

.faq-answer {
  padding: 1.5rem;
  display: none;
  background: rgba(0, 0, 0, 0.2);
}

.footer {
  background: linear-gradient(90deg, #000000 0%, #1a0000 50%, #000000 100%);
  padding: 2rem 0;
  text-align: center;
  border-top: 2px solid #ffd700;
}

.expert-signature {
  font-style: italic;
  color: #ffd700;
  text-align: right;
  margin-top: 2rem;
  padding: 1rem;
  border-top: 1px solid rgba(255, 215, 0, 0.3);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .hero h2 {
    font-size: 2rem;
  }

  .nav {
    flex-direction: column;
    gap: 1rem;
  }

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

  th,
  td {
    padding: 0.5rem;
    font-size: 0.9rem;
  }

  .section h2 {
    font-size: 2rem;
  }
}

/* Animations */
.fadeInUp {
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #1a0000;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ffd700, #dc143c);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ffa500, #8b0000);
}

.lang-dropdown {
  position: fixed;
  top: 70px;
  right: 30px;
  z-index: 9999;
}
.lang-btn {
  background: #2d2d36;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 22px 10px 14px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  position: relative;
}
.lang-btn .arrow {
  margin-left: 8px;
  font-size: 13px;
}
.lang-menu {
  display: none;
  position: absolute;
  top: 110%;
  right: 0;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  min-width: 170px;
  overflow: hidden;
  margin-top: 6px;
  z-index: 100;
}
.lang-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  color: #222;
  text-decoration: none;
  font-size: 15px;
  background: #fff;
  transition: background 0.2s;
  position: relative;
}
.lang-menu a:hover {
  background: #f5f5f5;
}
.lang-menu a.active {
  background: #f0f0f0;
  font-weight: bold;
}
.lang-menu .check {
  margin-left: auto;
  color: #007cba;
}
.lang-dropdown.open .lang-menu {
  display: block;
}

.casino-table {
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  justify-content: flex-start;
}

.breadcrumbs {
  background: rgba(255, 255, 255, 0.05);
  padding: 10px 0;
  margin-top: 0px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  color: var(--gray-color);
  font-size: 14px;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: var(--gray-color);
}

.breadcrumbs a {
  color: var(--gray-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumbs a:hover {
  color: var(--primary-color);
}

/* Article Header */
.article-header {
  max-width: 1000px;
  margin: 30px auto 0 auto;
  color: white;

}

.article-header h1 {
  color: #fff !important;
  font-size: 2.5rem;
  font-weight: 700;
  border: none !important;
  padding: 0 !important;
}

.article-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 16px;
}


.publish-date,
.read-time {
  color: #c8ccda !important;
}

.author-info {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid #ffd700;
  flex-shrink: 0;
  object-fit: cover;
}

.author-details {
  flex: 1;
  min-width: 200px;
}

.author-name {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.author-title {
  display: block;
  font-size: 0.95rem;
  color: #ffd700;
  margin-bottom: 12px;
}

.article-intro {
  color: #fff;
  line-height: 1.6;
  margin: 0 0 12px 0;
  flex-basis: 100%;
}

.article-intro strong {
  color: var(--primary-color);
  font-weight: 700;
}

/* Table of Contents Styles */
.table-of-contents {
  max-width: 1000px;
  margin: 24px auto;
  background: rgba(0, 0, 0, 0.3);
  margin-bottom: 1rem;
  border-radius: 10px;
  overflow: hidden;
  border-left: 4px solid #ffd700;
  min-height: 60px;
}

.toc-header {
 padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
  cursor: pointer;
  background: linear-gradient(
    90deg,
    rgba(139, 0, 0, 0.3),
    rgba(220, 20, 60, 0.3)
  );
}

.toc-header:hover {
  background: linear-gradient(
    90deg,
    rgba(139, 0, 0, 0.3),
    rgba(150, 20, 46, 0.3)
  );
}

.toc-title {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.toc-toggle-icon {
  color: #ffd700;
  font-size: 14px;
  transition: transform 0.3s ease;
}

.toc-header.active .toc-toggle-icon {
  transform: rotate(180deg);
}

.toc-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: linear-gradient(
    90deg,
    rgba(139, 0, 0, 0.3),
    rgba(220, 20, 60, 0.3)
  );
  will-change: max-height;
}

.toc-content.open {
  max-height: 800px;
  overflow-y: auto;
}

.toc-list {
  padding: 20px;
  margin: 0;
  list-style: none;
  counter-reset: toc-counter;
}

.toc-list li {
  counter-increment: toc-counter;
  margin-bottom: 8px;
}

.toc-link {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
}

.toc-link:before {
  content: counter(toc-counter) ".";
  color: #ffd700;
  font-weight: 600;
  margin-right: 8px;
}

.toc-link:hover {
  color: #ffc107;
  background: rgba(255, 193, 7, 0.1);
  transform: translateX(4px);
}

.toc-link:active {
  background: rgba(233, 30, 99, 0.2);
}

@media (max-width: 768px) {
  .table-of-contents {
    margin: 16px 0;
  }

  .toc-header {
    padding: 12px 16px;
  }

  .toc-list {
    padding: 16px;
  }

  .toc-link {
    font-size: 13px;
    padding: 6px 10px;
  }
}
/* Expert Conclusion */
.expert-conclusion {
  max-width: 1000px;
  margin: 30px auto 0 auto;
  color: white;
  padding: 32px 24px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  background: linear-gradient(
    135deg,
    rgba(139, 0, 0, 0.8) 0%,
    rgba(220, 20, 60, 0.6) 100%
  );
  padding: 2rem;
  border-radius: 15px;
  border: 2px solid #ffd700;
}

.expert-header {
  margin-bottom: 24px;
}

.expert-info {
  display: flex;
  gap: 20px;
  align-items: center;
}

.expert-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffd700;
}

.expert-credentials {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}

.expert-name {
  color: #ffffff;
  font-weight: 600;
  font-size: 16px;
}

.expert-title {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.expert-social {
  display: flex;
  gap: 12px;
}

.expert-social a {
  width: 24px;
  height: 24px;
  transition: opacity 0.3s ease;
}

.expert-social a:hover {
  opacity: 0.8;
}

.expert-social img {
  width: 100%;
  height: 100%;
}

.expert-content {
  color: #ffffff;
  line-height: 1.6;
}

.expert-content p {
  margin-bottom: 16px;
}

.expert-content p:last-child {
  margin-bottom: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.characteristics-table{
  margin-bottom: 20px;
}

/* Footer Links */
.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 215, 0, 0.3);
}

.footer-links a {
  color: #ffd700;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ffa500;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer-links {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
}

/* No Bullets Lists */
.no-bullets {
  list-style: none;
  padding-left: 0;
}

.no-bullets li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.no-bullets li:before {
  content: "✓ ";
  color: #ffd700;
  font-weight: bold;
  margin-right: 0.5rem;
}

/* Contact Page Styles */
.contact-page {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.contact-card {
  background: linear-gradient(135deg, rgba(139, 0, 0, 0.8) 0%, rgba(220, 20, 60, 0.6) 100%);
  padding: 2rem;
  border-radius: 15px;
  border: 2px solid #ffd700;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.contact-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.contact-card h3 {
  color: #ffd700;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.contact-card > p {
  color: #f0f0f0;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.contact-details {
  margin-bottom: 1.5rem;
  text-align: left;
}

.contact-details p {
  color: #f0f0f0;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  text-align: left;
}

.contact-details strong {
  color: #ffd700;
}

.response-time {
  background: rgba(0, 0, 0, 0.3);
  padding: 0.75rem;
  border-radius: 8px;
  color: #32cd32;
  font-size: 0.9rem;
  font-weight: bold;
  text-align: center;
}

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

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.faq-card {
  background: rgba(0, 0, 0, 0.3);
  padding: 1.5rem;
  border-radius: 10px;
  border-left: 4px solid #ffd700;
  transition: transform 0.3s ease;
}

.faq-card:hover {
  transform: translateY(-2px);
  background: rgba(0, 0, 0, 0.4);
}

.faq-card h4 {
  color: #ffd700;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.faq-card p {
  color: #f0f0f0;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
  text-align: left;
}

/* Legal Content Styles */
.legal-content {
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}

.legal-content h2 {
  color: #ffd700;
  font-size: 1.8rem;
  margin: 2rem 0 1rem 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  text-align: left;
}

.legal-content p {
  color: #f0f0f0;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.last-updated {
  background: rgba(255, 215, 0, 0.1);
  padding: 1rem;
  border-radius: 8px;
  margin-top: 2rem;
  border-left: 4px solid #ffd700;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .contact-card {
    padding: 1.5rem;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-icon {
    font-size: 2.5rem;
  }
}

/* Demo Section Styles */
.demo-section {
  padding: 2.5rem 0;
  margin: 2rem 0;
  border-radius: 20px;
  border: 2px solid rgba(255, 215, 0, 0.3);
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 0, 0, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
}


.demo-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.demo-header {
  text-align: center;
  margin-bottom: 2rem;
}

.demo-title {
  color: #ffd700;
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.demo-subtitle {
  color: #e2e8f0;
  font-size: 1.05rem;
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
}

.demo-showcase {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  max-width: 100%;
  margin: 0 auto;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
}

.demo-image {
  text-align: center;
  max-width: 400px;
  margin: 0 auto;
  min-height: 390px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.demo-image img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  transition: transform 0.3s ease;
}

.demo-image img:hover {
  transform: scale(1.04);
}

.demo-info {
  padding: 1.2rem 0.5rem 1.2rem 1.2rem;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.demo-text {
  margin-bottom: 1.5rem;
}

.demo-text h3 {
  color: #f0f0f0;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  text-align: center;
}

.demo-text p {
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
}

.demo-stats {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 1.2rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  border: 1px solid rgba(255, 215, 0, 0.18);
}

.stat-item {
  text-align: center;
  padding: 0.5rem;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.stat-value {
  color: #00ff88;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  text-shadow: 0 0 8px rgba(0, 255, 136, 0.4);
}

.stat-label {
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.demo-cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  color: white;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 18px rgba(238, 90, 36, 0.3);
  border: 2px solid transparent;
  margin-bottom: 1rem;
  width: 100%;
  text-align: center;
  cursor: pointer;
  font-family: inherit;
}

.demo-cta-btn:hover {
  background: linear-gradient(135deg, #ee5a24, #c44569);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(238, 90, 36, 0.5);
  border-color: #ffd700;
}

.real-money-btn {
  background: linear-gradient(135deg, #ffd700, #f39c12, #ffd700) !important;
  color: #000 !important;
  font-weight: 600 !important;
  box-shadow: 0 6px 18px rgba(255, 215, 0, 0.4) !important;
  border: 2px solid #ffa500 !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.real-money-btn:hover {
  background: linear-gradient(135deg, #f39c12, #e67e22, #f39c12) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255, 215, 0, 0.6) !important;
  border-color: #ff8c00 !important;
  color: #000 !important;
}

.demo-disclaimer {
  color: #94a3b8;
  font-size: 0.8rem;
  text-align: center;
  margin: 0;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .demo-section {
    padding: 1.2rem 0;
    margin: 1rem 0;
  }
  
  .demo-title {
    font-size: 1.3rem;
  }
  
  .demo-subtitle {
    font-size: 0.95rem;
  }
  
  .demo-showcase {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 1.2rem;
  }
  
  .demo-info {
    padding: 0.5rem;
  }
  
  .demo-text h3 {
    font-size: 1.1rem;
  }
  
  .demo-stats {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.5rem;
  }
  
  .stat-value {
    font-size: 1rem;
  }
  
  .demo-cta-btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.95rem;
  }
  .demo-image {
    max-width: 220px;
  }
}

/* FAQ Accordion Styles */
.faq-accordion {
  max-width: 800px;
  margin: 2rem auto 0;
}

.faq-item {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: #3b82f6 !important;
  font-size: 1.1rem !important;
  font-weight: 600;
  padding: 1.5rem;
  text-align: left !important;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 !important;
}

.faq-question:hover {
  background: rgba(59, 130, 246, 0.1);
  color: #60a5fa;
}

.faq-question:after {
  content: "+";
  font-size: 1.5rem;
  color: #ffd700;
  font-weight: bold;
}

.faq-question.active:after {
  content: "−";
}

.faq-answer {
  display: none;
  color: #f0f0f0;
  line-height: 1.6;
  border-top: 1px solid rgba(255, 215, 0, 0.2);
  background: rgba(0, 0, 0, 0.2);
  /* Prevent CLS during toggle */
  transition: none;
  overflow: hidden;
}

.faq-answer.show {
  display: block;
  animation: fadeIn 0.3s ease;
}

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

/* Contact Form Styles */
.contact-form-section {
  max-width: 800px;
  margin: 4rem auto 0;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 15px;
  border: 2px solid #ffd700;
}

.contact-form-section h2 {
  color: #ffd700;
  text-align: center;
  margin-bottom: 1rem;
  font-size: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.contact-form-section > p {
  text-align: center;
  color: #f0f0f0;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.success-notification {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  text-align: center;
  border: 2px solid #065f46;
  animation: slideDown 0.5s ease;
}

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

.contact-form {
  display: grid;
  gap: 1.5rem;
}

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

.form-group label {
  color: #ffd700;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: 8px;
  padding: 0.75rem;
  color: #f0f0f0;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ffd700;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(240, 240, 240, 0.6);
}

.form-group select option {
  background: #1a1a1a;
  color: #f0f0f0;
}

.checkbox-group {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.75rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #f0f0f0;
  font-size: 0.95rem;
  line-height: 1.4;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  margin: 0;
  min-width: 18px;
  height: 18px;
  accent-color: #ffd700;
  cursor: pointer;
}

.checkbox-label a {
  color: #3b82f6;
  text-decoration: none;
  transition: color 0.3s ease;
}

.checkbox-label a:hover {
  color: #60a5fa;
  text-decoration: underline;
}

.submit-btn {
  background: linear-gradient(135deg, #ffd700, #f59e0b);
  color: #000;
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 1rem;
}

.submit-btn:hover {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.submit-btn:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .contact-form-section {
    margin: 2rem auto 0;
    padding: 1.5rem;
  }
  
  .contact-form-section h2 {
    font-size: 1.5rem;
  }
  
  .faq-question {
    font-size: 1rem;
    padding: 1rem;
  }
  

  
  .checkbox-label {
    font-size: 0.9rem;
  }
}

/* Таблицы: выравнивание */
td, th {
  vertical-align: center;
}
td.align-right {
  text-align: center;
}

/* Game Demo Modal Styles */
.game-demo-modal {
  display: none !important;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  /* Fallback for older browsers */
  text-align: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.game-demo-modal.show-modal {
  visibility: visible !important;
  opacity: 1 !important;
}

.game-demo-modal:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

/* Modern browsers - only when modal is shown */
@supports (display: flex) {
  .game-demo-modal.show-modal {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-align: initial;
  }
  
  .game-demo-modal.show-modal:before {
    display: none;
  }
}

.game-demo-modal__content {
  position: relative;
  background: linear-gradient(135deg, #1a0000 0%, #330000 50%, #1a0000 100%);
  border-radius: 15px;
  width: 90%;
  max-width: 1200px;
  height: 90%;
  max-height: 800px;
  border: 2px solid #ffd700;
  box-shadow: 0 15px 35px rgba(255, 215, 0, 0.3);
  overflow: hidden;
  /* Fallback for older browsers */
  display: inline-block;
  vertical-align: middle;
  text-align: left;
}

/* Modern browsers */
@supports (display: flex) {
  .game-demo-modal__content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
}

.game-demo-modal__close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #ffd700;
  cursor: pointer;
  z-index: 10001;
  transition: color 0.3s ease;
  font-weight: bold;
}

.game-demo-modal__close:hover {
  color: #ffa500;
}

.game-demo-modal__header {
  padding: 20px;
  text-align: center;
  background: linear-gradient(90deg, #8b0000 0%, #dc143c 50%, #8b0000 100%);
}

.game-demo-modal__header h2 {
  color: #ffd700;
  margin: 0 0 10px 0;
  font-size: 1.8rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.game-demo-modal__header p {
  color: #ffffff;
  margin: 0;
  font-size: 1rem;
}

.game-demo-modal iframe {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  width: 100%;
  border: none;
  background: #000;
}

/* Prevent scrolling when modal is open */
body.modal-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .game-demo-modal__content {
    width: 95%;
    height: 95%;
  }
  
  .game-demo-modal__header {
    padding: 15px;
  }
  
  .game-demo-modal__header h2 {
    font-size: 1.5rem;
  }
  
  .game-demo-modal__close {
    top: 10px;
    right: 15px;
    font-size: 1.8rem;
  }
}

/* Performance optimizations to prevent layout shift */

/* Optimize animations for better performance */
.fadeInUp,
.pulse {
  will-change: transform, opacity;
  transform: translateZ(0); /* Force hardware acceleration */
}

/* Optimize table layout */
.characteristics-table table,
.casino-table table {
  table-layout: fixed;
  width: 100%;
  min-height: 200px;
}

.characteristics-table td,
.casino-table td {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Reserve space for modal and dynamic content */
.game-demo-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: none;
  contain: layout style paint;
}

/* Optimize YouTube embed container */
.youtube-lazy-container {
  contain: layout style paint;
  transform: translateZ(0);
}

/* Optimize FAQ section */
.faq-item {
  min-height: 60px;
  contain: layout;
}

.faq-answer {
  max-height: 0;
  transition: max-height 0.3s ease;
  overflow: hidden;
}

.faq-answer[style*="display: block"] {
  max-height: 200px;
}

/* Optimize images for loading */
img[loading="lazy"] {
  content-visibility: auto;
}

/* Optimize navigation */
.nav {
  min-height: 60px;
  contain: layout;
}

/* Optimize sections */
.section {
  contain: layout style;
  min-height: 100px;
}

/* Critical CSS for above-the-fold content */
.header,
.main-content,
.demo-section {
  contain: layout style;
}

/* Optimize footer */
.footer {
  contain: layout style;
  min-height: 120px;
}