/* ============================================================
   TycoonWin Casino – custom.css
   Arctic Fortune Theme: Icy Cyan / Silver / Midnight
   ============================================================ */

/* ---------- Reset & Base ---------- */
html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

body {
  background-color: #050d1a;
  color: #e8ecf4;
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  word-break: break-word;
  overflow-x: hidden;
}

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

/* ---------- CSS Variables ---------- */
:root {
  --color-midnight: #050d1a;
  --color-midnight-800: #071224;
  --color-midnight-700: #0a1a32;
  --color-midnight-600: #0d2040;
  --color-cyan: #00e5ff;
  --color-cyan-600: #0891b2;
  --color-silver: #c0c8d8;
  --color-silver-100: #e8ecf4;
  --color-silver-200: #d1d8e8;
  --color-silver-400: #94a3b8;
  --cyan-glow: 0 0 24px 4px rgba(0,229,255,0.35);
  --cyan-sm: 0 0 12px 2px rgba(0,229,255,0.2);
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track { background: var(--color-midnight); }
::-webkit-scrollbar-thumb { background: var(--color-cyan-600); border-radius: 3px; }

/* ---------- CTA Buttons ---------- */
.cta-btn-primary {
  display: inline-block;
  background: linear-gradient(90deg, #00e5ff 0%, #0891b2 100%);
  color: #050d1a;
  font-weight: 800;
  border-radius: 0.75rem;
  padding: 0.75rem 2rem;
  text-decoration: none;
  box-shadow: 0 0 24px 4px rgba(0,229,255,0.35);
  transition: box-shadow 0.2s, transform 0.2s, filter 0.2s;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  text-align: center;
}
.cta-btn-primary:hover {
  box-shadow: 0 0 40px 8px rgba(0,229,255,0.55);
  transform: translateY(-2px);
  filter: brightness(1.1);
  color: #050d1a;
  text-decoration: none;
}

.cta-btn-secondary {
  display: inline-block;
  background: transparent;
  color: #00e5ff;
  font-weight: 700;
  border-radius: 0.75rem;
  padding: 0.75rem 2rem;
  text-decoration: none;
  border: 2px solid #00e5ff;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  text-align: center;
}
.cta-btn-secondary:hover {
  background: rgba(0,229,255,0.1);
  box-shadow: 0 0 16px 2px rgba(0,229,255,0.25);
  color: #00e5ff;
  text-decoration: none;
}

/* ---------- Section Helpers ---------- */
.section-label {
  display: inline-block;
  color: #00e5ff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: #e8ecf4;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}
@media (min-width: 768px) {
  .section-title { font-size: 2.5rem; }
}

.section-sub {
  color: #94a3b8;
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- Hero Section ---------- */
.hero-section {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Frost Particles ---------- */
.frost-particles {
  pointer-events: none;
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.frost-particles::before,
.frost-particles::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,229,255,0.08) 0%, transparent 70%);
  animation: floatParticle 12s ease-in-out infinite alternate;
}
.frost-particles::before {
  width: 600px;
  height: 600px;
  top: -100px;
  left: -100px;
}
.frost-particles::after {
  width: 400px;
  height: 400px;
  bottom: -80px;
  right: -80px;
  animation-delay: -6s;
  animation-duration: 15s;
}

@keyframes floatParticle {
  0% { transform: translate(0, 0) scale(1); opacity: 0.5; }
  100% { transform: translate(40px, 30px) scale(1.1); opacity: 1; }
}

/* ---------- Bonus Badge Box ---------- */
.bonus-badge-box {
  animation: pulseGlow 3s ease-in-out infinite alternate;
}
@keyframes pulseGlow {
  0% { box-shadow: 0 0 24px 4px rgba(0,229,255,0.2); }
  100% { box-shadow: 0 0 60px 12px rgba(0,229,255,0.4); }
}

/* ---------- Step Cards ---------- */
.step-card {
  background: linear-gradient(145deg, #0a1a32, #071224);
  border: 1px solid rgba(0,229,255,0.2);
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.step-card:hover {
  box-shadow: 0 0 32px 6px rgba(0,229,255,0.2);
  transform: translateY(-4px);
}
.step-badge {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  background: linear-gradient(90deg, #00e5ff, #0891b2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1rem;
  color: #050d1a;
  box-shadow: 0 0 16px 4px rgba(0,229,255,0.4);
}
.step-icon-wrap {
  margin: 1.5rem auto 1rem;
}
.step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #e8ecf4;
  margin-bottom: 0.5rem;
}
.step-desc {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ---------- Review Cards ---------- */
.review-card {
  background: linear-gradient(145deg, #0a1a32, #071224);
  border: 1px solid rgba(0,229,255,0.15);
  border-radius: 1.25rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}
.review-card:hover {
  box-shadow: 0 0 24px 4px rgba(0,229,255,0.15);
}
.review-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #e8ecf4;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(0,229,255,0.12);
  background: rgba(0,229,255,0.04);
}
.review-card-body {
  padding: 1.5rem;
  flex: 1;
}

/* ---------- Provider Word Cloud ---------- */
.provider-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.provider-tag {
  background: rgba(0,229,255,0.06);
  border: 1px solid rgba(0,229,255,0.18);
  color: #c0c8d8;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
  cursor: default;
}
.provider-tag:hover {
  background: rgba(0,229,255,0.18);
  color: #00e5ff;
}

/* ---------- Games Grid ---------- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 640px) {
  .games-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .games-grid { grid-template-columns: repeat(6, 1fr); }
}

.game-card {
  background: linear-gradient(145deg, #0a1a32, #071224);
  border: 1px solid rgba(0,229,255,0.15);
  border-radius: 1rem;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.game-card:hover {
  box-shadow: 0 0 24px 6px rgba(0,229,255,0.3);
  transform: translateY(-4px);
}
.game-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: linear-gradient(135deg, #0a1a32, #071224);
}
.game-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.game-card:hover .game-img {
  transform: scale(1.05);
}
.game-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5,13,26,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.game-card:hover .game-overlay {
  opacity: 1;
}
.game-play-btn {
  background: linear-gradient(90deg, #00e5ff, #0891b2);
  color: #050d1a;
  font-weight: 800;
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.85rem;
  text-decoration: none;
  transition: filter 0.2s;
}
.game-play-btn:hover { filter: brightness(1.15); }

.game-info {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.game-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: #d1d8e8;
  line-height: 1.3;
}
.game-cta {
  display: block;
  text-align: center;
  background: linear-gradient(90deg, #00e5ff, #0891b2);
  color: #050d1a;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.4rem 0.5rem;
  border-radius: 0.4rem;
  text-decoration: none;
  transition: filter 0.2s;
}
.game-cta:hover { filter: brightness(1.15); }

/* ---------- Payments Table ---------- */
.payments-table {
  border-collapse: collapse;
  width: 100%;
  background: linear-gradient(145deg, #0a1a32, #071224);
  border-radius: 1rem;
  overflow: hidden;
  font-size: 0.9rem;
}
.payments-table th {
  background: rgba(0,229,255,0.08);
  color: #00e5ff;
  font-weight: 700;
  text-align: left;
  padding: 0.875rem 1rem;
  border-bottom: 2px solid rgba(0,229,255,0.2);
  white-space: nowrap;
}
.payments-table td {
  color: #d1d8e8;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(0,229,255,0.08);
  white-space: nowrap;
}
.payments-table tr:last-child td { border-bottom: none; }
.payments-table tbody tr:hover { background: rgba(0,229,255,0.04); }

/* ---------- Promo Cards ---------- */
.promo-card {
  background: linear-gradient(145deg, #0a1a32, #071224);
  border: 1px solid rgba(0,229,255,0.18);
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.promo-card:hover {
  box-shadow: 0 0 32px 6px rgba(0,229,255,0.2);
  transform: translateY(-4px);
}
.promo-icon {
  width: 52px;
  height: 52px;
  background: rgba(0,229,255,0.1);
  border: 1px solid rgba(0,229,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #00e5ff;
}
.promo-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #e8ecf4;
}
.promo-desc {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.6;
  flex: 1;
}
.promo-cta {
  display: inline-block;
  background: linear-gradient(90deg, #00e5ff, #0891b2);
  color: #050d1a;
  font-weight: 800;
  font-size: 0.875rem;
  padding: 0.625rem 1.5rem;
  border-radius: 0.625rem;
  text-decoration: none;
  transition: filter 0.2s, box-shadow 0.2s;
}
.promo-cta:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 16px 4px rgba(0,229,255,0.4);
}

/* ---------- FAQ ---------- */
.faq-item {
  border: 1px solid rgba(0,229,255,0.15);
  border-radius: 0.875rem;
  overflow: hidden;
  background: linear-gradient(145deg, #0a1a32, #071224);
  transition: border-color 0.2s;
}
.faq-item.open {
  border-color: rgba(0,229,255,0.35);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: transparent;
  border: none;
  color: #e8ecf4;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: left;
  cursor: pointer;
  gap: 1rem;
  transition: color 0.2s;
}
.faq-question:hover { color: #00e5ff; }
.faq-icon {
  color: #00e5ff;
  font-size: 0.6rem;
  flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-item.open .faq-icon {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  padding: 0 1.25rem;
}
.faq-answer p {
  padding-bottom: 1rem;
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ---------- Marquee ---------- */
.marquee-section { overflow: hidden; }
.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}
.marquee-item {
  white-space: nowrap;
  font-size: 0.85rem;
  font-weight: 600;
  color: #c0c8d8;
  padding: 0 1rem;
  user-select: none;
}
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- Prose Casino (single pages) ---------- */
.prose-casino {
  color: #d1d8e8;
  max-width: 800px;
  line-height: 1.8;
  font-size: 0.95rem;
}
.prose-casino h1 {
  font-size: 2.25rem;
  font-weight: 800;
  color: #e8ecf4;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.prose-casino h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #e8ecf4;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0,229,255,0.15);
}
.prose-casino h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #00e5ff;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.prose-casino p {
  margin-bottom: 1rem;
  color: #c0c8d8;
}
.prose-casino a {
  color: #00e5ff;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}
.prose-casino a:hover { color: #e8ecf4; }
.prose-casino ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
}
.prose-casino ul li {
  padding: 0.3rem 0 0.3rem 1.5rem;
  position: relative;
  color: #c0c8d8;
}
.prose-casino ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: #00e5ff;
  border-radius: 50%;
}
.prose-casino ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  counter-reset: item;
}
.prose-casino ol li {
  counter-increment: item;
  padding: 0.3rem 0;
  color: #c0c8d8;
}
.prose-casino strong { color: #e8ecf4; font-weight: 700; }
.prose-casino blockquote {
  border-left: 3px solid #00e5ff;
  padding: 0.75rem 1.25rem;
  margin: 1.5rem 0;
  background: rgba(0,229,255,0.04);
  border-radius: 0 0.5rem 0.5rem 0;
  color: #94a3b8;
  font-style: italic;
}

/* 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;
}

.prose-casino table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  background: linear-gradient(145deg, #0a1a32, #071224);
  border-radius: 0.5rem;
  overflow: hidden;
}
.prose-casino th {
  background: rgba(0,229,255,0.08);
  color: #00e5ff;
  font-weight: 700;
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 2px solid rgba(0,229,255,0.2);
}
.prose-casino td {
  color: #c0c8d8;
  padding: 0.625rem 1rem;
  border-bottom: 1px solid rgba(0,229,255,0.08);
}
.prose-casino tr:last-child td { border-bottom: none; }
.prose-casino tbody tr:hover { background: rgba(0,229,255,0.04); }

/* ---------- Burger Lines ---------- */
.burger-line {
  display: block;
  width: 1.5rem;
  height: 2px;
  background-color: #e8ecf4;
  transition: all 0.3s ease;
}

/* ---------- Utility: overflow-x-auto for tables ---------- */
.overflow-x-auto {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ---------- Parallax Hero ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-section {
    background-attachment: fixed;
  }
}
@media (max-width: 768px) {
  .hero-section {
    background-attachment: scroll;
  }
}

/* ---------- Glow Dividers ---------- */
.glow-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #00e5ff, transparent);
  opacity: 0.3;
  margin: 0;
}

/* ---------- Responsive Container ---------- */
.max-w-container {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- SVG Background Pattern ---------- */
.bg-arctic-pattern {
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300e5ff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
