/* =========================================================
   StarsWin365 – Custom CSS
   Prime Constellation Theme: Deep Emerald + Gold + Cosmic
   ========================================================= */

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  word-break: break-word;
  background-color: #0a0f0d;
  color: #fffbe6;
}

/* =========================================================
   TYPOGRAPHY / PROSE
   ========================================================= */

.prose-casino {
  color: #fffbe6;
  font-size: 0.95rem;
  line-height: 1.75;
}

.prose-casino h1 {
  font-family: Georgia, serif;
  color: #e8c84a;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  margin-top: 0;
}

.prose-casino h2 {
  font-family: Georgia, serif;
  color: #c9a227;
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid rgba(20, 163, 98, 0.3);
  padding-bottom: 0.5rem;
}

.prose-casino h3 {
  font-family: Georgia, serif;
  color: #f5e199;
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.prose-casino p {
  margin-bottom: 1rem;
  opacity: 0.9;
}

.prose-casino a {
  color: #e8c84a;
  text-decoration: underline;
  transition: color 0.2s;
}

.prose-casino a:hover {
  color: #f5e199;
}

.prose-casino ul,
.prose-casino ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.prose-casino li {
  margin-bottom: 0.4rem;
}

.prose-casino table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin: 1.5rem 0;
}

.prose-casino thead {
  background-color: #0d5c3a;
}

.prose-casino th {
  padding: 0.6rem 1rem;
  text-align: left;
  color: #f5e199;
  font-weight: 600;
}

.prose-casino td {
  padding: 0.6rem 1rem;
  border-bottom: 1px solid rgba(20, 163, 98, 0.2);
  color: #fffbe6;
}

.prose-casino tr:hover td {
  background-color: rgba(22, 32, 25, 0.8);
}

.prose-casino blockquote {
  border-left: 3px solid #c9a227;
  padding-left: 1rem;
  color: #f5e199;
  font-style: italic;
  margin: 1.5rem 0;
}

.prose-casino strong {
  color: #e8c84a;
  font-weight: 700;
}

/* Prose table scroll wrapper */
.prose-casino .prose-table-scroll {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  margin: 1.5em 0;
  border-radius: 0.5rem;
}

.prose-casino .prose-table-scroll table {
  margin-top: 0;
  margin-bottom: 0;
}

/* =========================================================
   HEADER / NAVBAR
   ========================================================= */

.header-nav {
  background: rgba(6, 12, 9, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(13, 92, 58, 0.5);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.nav-link {
  position: relative;
  padding-bottom: 2px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #c9a227;
  transition: width 0.3s ease;
}

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

.logo-text {
  letter-spacing: -0.02em;
  text-decoration: none;
}

.burger-btn {
  cursor: pointer;
  background: #162019;
}

.burger-btn.menu-open .burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger-btn.menu-open .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-btn.menu-open .burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
   CTA BUTTONS
   ========================================================= */

.cta-primary-btn {
  background: linear-gradient(135deg, #c9a227 0%, #e8c84a 50%, #c9a227 100%);
  color: #0a0f0d;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(201, 162, 39, 0.3);
  background-size: 200% 200%;
  background-position: left center;
}

.cta-primary-btn:hover {
  box-shadow: 0 0 30px rgba(201, 162, 39, 0.6);
  background-position: right center;
  transform: translateY(-1px);
  color: #060c09;
}

.cta-secondary-btn {
  background: transparent;
  border: 2px solid #c9a227;
  color: #e8c84a;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
}

.cta-secondary-btn:hover {
  background: rgba(201, 162, 39, 0.15);
  box-shadow: 0 0 20px rgba(201, 162, 39, 0.3);
  transform: translateY(-1px);
}

/* =========================================================
   HERO SECTION
   ========================================================= */

.hero-section {
  position: relative;
}

.hero-bg {
  transform: scale(1.05);
  transition: transform 20s ease;
}

.hero-bg:hover {
  transform: scale(1.0);
}

.hero-overlay {
  background: linear-gradient(
    135deg,
    rgba(6, 12, 9, 0.88) 0%,
    rgba(13, 92, 58, 0.55) 50%,
    rgba(6, 12, 9, 0.88) 100%
  );
}

.constellation-overlay {
  background-image:
    radial-gradient(ellipse at 20% 20%, rgba(201, 162, 39, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(20, 163, 98, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.bonus-badge-box {
  background: linear-gradient(
    135deg,
    rgba(13, 92, 58, 0.6) 0%,
    rgba(22, 32, 25, 0.8) 100%
  );
  border: 1px solid rgba(201, 162, 39, 0.5);
  box-shadow: 0 0 40px rgba(201, 162, 39, 0.2), inset 0 0 30px rgba(20, 163, 98, 0.1);
  backdrop-filter: blur(8px);
}

/* =========================================================
   STAR / CONSTELLATION DECORATIONS
   ========================================================= */

@keyframes twinkle {
  0%, 100% { opacity: 0.2; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes goldPulse {
  0%, 100% { box-shadow: 0 0 15px rgba(201, 162, 39, 0.3); }
  50% { box-shadow: 0 0 35px rgba(201, 162, 39, 0.7); }
}

@keyframes emeraldGlow {
  0%, 100% { box-shadow: 0 0 10px rgba(20, 163, 98, 0.2); }
  50% { box-shadow: 0 0 25px rgba(20, 163, 98, 0.5); }
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.step-badge {
  animation: goldPulse 2s ease-in-out infinite;
}

.review-block {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(20, 163, 98, 0.2);
}

/* =========================================================
   GAMES MARQUEE
   ========================================================= */

.games-strip-wrapper {
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.games-marquee-track {
  display: flex;
  animation: marqueeScroll 28s linear infinite;
  will-change: transform;
}

.games-marquee-track:hover {
  animation-play-state: paused;
}

.game-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 30px rgba(201, 162, 39, 0.3);
}

/* =========================================================
   WORD CLOUD (PROVIDERS)
   ========================================================= */

.word-cloud {
  line-height: 1.8;
}

.provider-tag {
  background: rgba(13, 92, 58, 0.3);
  border: 1px solid rgba(201, 162, 39, 0.3);
  color: #f5e199;
  transition: all 0.25s ease;
}

.provider-tag:hover {
  background: rgba(13, 92, 58, 0.7);
  border-color: #c9a227;
  color: #e8c84a;
  transform: scale(1.05);
}

/* =========================================================
   PROMO CARDS
   ========================================================= */

.promo-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(20, 163, 98, 0.2);
}

/* =========================================================
   FAQ
   ========================================================= */

.faq-icon {
  transition: transform 0.3s ease;
}

.rotate-45 {
  transform: rotate(45deg);
}

.faq-answer {
  transition: all 0.3s ease;
}

/* =========================================================
   FOOTER
   ========================================================= */

footer a {
  transition: color 0.2s ease;
}

/* =========================================================
   PAYMENT TABLE
   ========================================================= */

table thead tr th {
  font-weight: 600;
  text-align: left;
}

table tbody tr:last-child td {
  border-bottom: none;
}

/* =========================================================
   LANG SWITCHER
   ========================================================= */

.lang-btn {
  cursor: pointer;
  background: rgba(22, 32, 25, 0.8);
}

/* =========================================================
   SCROLLBAR STYLING
   ========================================================= */

::-webkit-scrollbar {
  height: 4px;
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #0a0f0d;
}

::-webkit-scrollbar-thumb {
  background: #0d5c3a;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #c9a227;
}

/* =========================================================
   UTILITIES
   ========================================================= */

.overflow-x-auto {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Parallax helper - used with JS intersection observer */
.parallax-slow {
  will-change: transform;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {
  .hero-section {
    min-height: 100svh;
  }

  .bonus-badge-box {
    padding: 1rem 1.25rem;
  }

  .prose-casino h1 {
    font-size: 1.6rem;
  }

  .prose-casino h2 {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .games-marquee-track {
    animation-duration: 20s;
  }
}
