/* ============================================================
   BestSpinsCA — Design System
   Premium Social Free-to-Play Games Entertainment Hub
   Stack: Bootstrap 5 + Font Awesome 6 + Google Fonts (Sora + Inter)
   ============================================================ */

/* ----------------------------------------------------------
   1. CSS Custom Properties
   ---------------------------------------------------------- */
:root {
  /* Brand colors */
  --primary: #4F46E5;
  --primary-light: #6366F1;
  --primary-dark: #3730A3;
  --accent: #06B6D4;
  --accent-light: #22D3EE;
  --cta: #F59E0B;
  --cta-hover: #D97706;

  /* Dark palette */
  --dark: #0B1120;
  --dark-light: #111827;
  --dark-card: #1E293B;
  --dark-card-glass: rgba(30, 41, 59, 0.6);

  /* Text */
  --text: #E2E8F0;
  --text-muted: #94A3B8;
  --white: #FFFFFF;

  /* Borders & surfaces */
  --border: rgba(255, 255, 255, 0.08);
  --border-glass: rgba(255, 255, 255, 0.12);

  /* Radii */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  /* Shadows */
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 30px rgba(79, 70, 229, 0.15);

  /* Motion */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ----------------------------------------------------------
   2. Base / Reset
   ---------------------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Sora', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 0.5em;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

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

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

a:hover {
  color: var(--accent-light);
}

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

ul, ol {
  padding-left: 1.25rem;
}

/* Selection */
::selection {
  background: var(--primary);
  color: var(--white);
}

::-moz-selection {
  background: var(--primary);
  color: var(--white);
}

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

::-webkit-scrollbar-track {
  background: var(--dark);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-dark);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* ----------------------------------------------------------
   3. Animated Background Blobs
   ---------------------------------------------------------- */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: var(--primary);
  top: -150px;
  right: -100px;
  animation: blob-drift 20s ease-in-out infinite;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: var(--accent);
  bottom: -100px;
  left: -80px;
  animation: blob-drift 25s ease-in-out infinite reverse;
}

.blob-3 {
  width: 350px;
  height: 350px;
  background: var(--cta);
  top: 40%;
  left: 50%;
  animation: blob-drift 18s ease-in-out infinite 3s;
}

/* Section-level decorative pseudo-element blobs */
.banner::before,
.games::before,
.faq::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

.banner::before {
  background: var(--primary);
  top: -200px;
  right: -200px;
}

.games::before {
  background: var(--accent);
  bottom: -200px;
  left: -200px;
}

.faq::before {
  background: var(--primary-light);
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
}

/* ----------------------------------------------------------
   4. Header / Navbar
   ---------------------------------------------------------- */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.navbar {
  background: rgba(11, 17, 32, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
  transition: var(--transition);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.navbar-brand img {
  height: 38px;
  width: auto;
}

.logo-text {
  font-family: 'Sora', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.logo-text span {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar-nav .nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  position: relative;
  transition: var(--transition);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  transition: width 0.3s ease, left 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--white);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 60%;
  left: 20%;
}

.navbar-toggler {
  border: 1px solid var(--border-glass);
  background: var(--dark-card-glass);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.navbar-toggler:hover {
  background: rgba(79, 70, 229, 0.15);
  border-color: var(--primary);
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}

.navbar-toggler-icon {
  filter: brightness(0) invert(1);
}

.navbar-collapse {
  background: rgba(11, 17, 32, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* ----------------------------------------------------------
   5. Alert Banner
   ---------------------------------------------------------- */
.alert-sec {
  background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--accent), var(--primary));
  background-size: 300% 100%;
  animation: gradient-shift 8s ease infinite;
  padding: 10px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.alert-sec::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shimmer 4s ease-in-out infinite;
}

.alert-sec p {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--white);
  position: relative;
  z-index: 1;
}

.alert-sec p i {
  margin-right: 6px;
}

/* ----------------------------------------------------------
   6. Hero / Banner
   ---------------------------------------------------------- */
.banner {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 100px 0 80px;
  overflow: hidden;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(79, 70, 229, 0.2) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 80%, rgba(6, 182, 212, 0.12) 0%, transparent 50%),
              radial-gradient(ellipse at 50% 50%, rgba(11, 17, 32, 0.5) 0%, var(--dark) 80%);
  z-index: 1;
}

.banner-wrapper {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.banner-wrapper h2 {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 16px;
}

.banner-wrapper h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}

.banner-wrapper h1 span {
  background: linear-gradient(135deg, var(--primary-light), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.banner-wrapper > p {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 32px;
  line-height: 1.8;
}

/* Banner buttons */
.banner-btns {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

/* Banner stats */
.banner-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.banner-stats .stat-item {
  text-align: center;
}

.banner-stats .stat-item .stat-number {
  font-family: 'Sora', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  display: block;
}

.banner-stats .stat-item .stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Banner particles */
.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.3;
  z-index: 1;
  animation: float 6s ease-in-out infinite;
}

.particle:nth-child(2) {
  width: 6px;
  height: 6px;
  background: var(--primary-light);
  animation-duration: 8s;
  animation-delay: 1s;
}

.particle:nth-child(3) {
  width: 3px;
  height: 3px;
  background: var(--cta);
  animation-duration: 10s;
  animation-delay: 2s;
}

.particle:nth-child(4) {
  width: 5px;
  height: 5px;
  background: var(--accent-light);
  animation-duration: 7s;
  animation-delay: 0.5s;
}

/* ----------------------------------------------------------
   7. Primary & Secondary Buttons
   ---------------------------------------------------------- */
.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: 'Sora', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  background: linear-gradient(135deg, var(--cta), var(--cta-hover));
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
  position: relative;
  overflow: hidden;
}

.primary-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--cta-hover), var(--cta));
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 50px;
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
  color: var(--dark);
}

.primary-btn:hover::before {
  opacity: 1;
}

.primary-btn span,
.primary-btn i {
  position: relative;
  z-index: 1;
}

.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: 'Sora', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  background: transparent;
  border: 2px solid var(--border-glass);
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}

.secondary-btn:hover {
  border-color: var(--primary-light);
  background: rgba(79, 70, 229, 0.1);
  color: var(--white);
  transform: translateY(-2px);
}

/* ----------------------------------------------------------
   8. Live Activity Feed
   ---------------------------------------------------------- */
.activity-feed {
  padding: 20px 0;
  overflow: hidden;
  position: relative;
  background: var(--dark-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.activity-feed::before,
.activity-feed::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.activity-feed::before {
  left: 0;
  background: linear-gradient(90deg, var(--dark-light), transparent);
}

.activity-feed::after {
  right: 0;
  background: linear-gradient(270deg, var(--dark-light), transparent);
}

.activity-track {
  display: flex;
  gap: 16px;
  animation: slide-ticker 30s linear infinite;
  width: max-content;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: var(--dark-card-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  border-radius: 50px;
  white-space: nowrap;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.activity-item i {
  color: var(--accent);
  font-size: 0.75rem;
}

.activity-item strong {
  color: var(--white);
  font-weight: 600;
}

/* ----------------------------------------------------------
   9. Notice Card (.bet-card)
   ---------------------------------------------------------- */
.bet-card {
  padding: 40px 0;
  position: relative;
}

.single-card {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  position: relative;
  overflow: hidden;
}

.single-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.single-card::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -10%;
  width: 200px;
  height: 200px;
  background: rgba(6, 182, 212, 0.1);
  border-radius: 50%;
}

.card-desc {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 20px;
}

.card-desc i {
  font-size: 2rem;
  color: var(--cta);
}

.card-desc h3 {
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 4px;
}

.card-desc p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

/* ----------------------------------------------------------
   10. Section Titles (.title-wrapper)
   ---------------------------------------------------------- */
.title-wrapper {
  text-align: center;
  margin-bottom: 48px;
}

.title-wrapper h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.title-wrapper h2 span {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.title-wrapper p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ----------------------------------------------------------
   11. Games Grid (.games / .single-game)
   ---------------------------------------------------------- */
.games {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  background: var(--dark);
}

.single-game {
  background: var(--dark-card-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.single-game:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow), 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(79, 70, 229, 0.3);
}

.game-thumb,
.game-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--dark-card);
}

.game-thumb img,
.game-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.single-game:hover .game-thumb img,
.single-game:hover .game-img img {
  transform: scale(1.08);
}

.game-thumb::after,
.game-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.3), rgba(6, 182, 212, 0.2));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.single-game:hover .game-thumb::after,
.single-game:hover .game-img::after {
  opacity: 1;
  animation: shimmer 1.5s ease-in-out;
}

.game-category {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  background: rgba(79, 70, 229, 0.85);
  backdrop-filter: blur(4px);
  border-radius: 50px;
  z-index: 2;
}

.game-info {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.game-info h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--white);
}

.game-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex: 1;
}

.game-info .play-link,
.game-info .game-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  transition: var(--transition);
  text-decoration: none;
}

.game-info .play-link:hover,
.game-info .game-link:hover {
  color: var(--accent-light);
  gap: 10px;
}

.game-info .play-link i,
.game-info .game-link i {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.single-game:hover .play-link i,
.single-game:hover .game-link i {
  transform: translateX(4px);
}

/* Game grid row spacing */
.games .row > [class*="col-"] {
  margin-bottom: 24px;
}

/* ----------------------------------------------------------
   12. Category Buttons (.category-section)
   ---------------------------------------------------------- */
.category-section {
  margin-bottom: 40px;
}

.category-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.category-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--dark-card-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}

.category-tag:hover,
.category-tag.active {
  color: var(--white);
  border-color: var(--primary);
  background: rgba(79, 70, 229, 0.15);
}

.category-tag i {
  font-size: 0.8rem;
}

/* ----------------------------------------------------------
   13. Benefits / Features (.bonus / .single-bonus)
   ---------------------------------------------------------- */
.bonus {
  padding: 80px 0;
  position: relative;
  background: var(--dark-light);
}

.single-bonus {
  background: var(--dark-card-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
}

.single-bonus:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(79, 70, 229, 0.25);
}

.bonus-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  font-size: 1.5rem;
  color: var(--white);
  transition: var(--transition);
}

.single-bonus:hover .bonus-icon {
  transform: scale(1.1);
  box-shadow: 0 0 25px rgba(79, 70, 229, 0.3);
}

.single-bonus h2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.single-bonus p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.65;
}

/* Row spacing for bonus cards */
.bonus .row > [class*="col-"] {
  margin-bottom: 24px;
}

/* ----------------------------------------------------------
   14. How It Works (.how-it-works)
   ---------------------------------------------------------- */
.how-it-works {
  padding: 80px 0;
  position: relative;
  background: var(--dark);
}

.steps-row {
  display: flex;
  gap: 16px;
  position: relative;
  justify-content: center;
  align-items: flex-start;
}

.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 40px;
  color: var(--primary-light);
  font-size: 1.25rem;
  opacity: 0.5;
  flex-shrink: 0;
}

.step-item {
  text-align: center;
  position: relative;
  z-index: 1;
  flex: 1;
  max-width: 280px;
}

.step-number {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  border: 3px solid var(--dark);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.3);
  position: relative;
}

.step-icon {
  font-size: 1.75rem;
  color: var(--accent);
  margin-bottom: 14px;
}

.step-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.step-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ----------------------------------------------------------
   15. Why Choose Us (.why-choose-us)
   ---------------------------------------------------------- */
.why-choose-us {
  padding: 80px 0;
  position: relative;
  background: var(--dark-light);
}

.why-choose-us .title-wrapper {
  text-align: left;
}

.why-choose-us .content-wrapper {
  background: var(--dark-card-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 48px;
  margin-top: 32px;
}

.why-choose-us .intro-text {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 32px;
  line-height: 1.8;
}

.why-choose-us .feature-img {
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
}

.why-choose-us .feature-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.why-choose-us .feature-blocks {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feature-block {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-block-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(79, 70, 229, 0.15);
  color: var(--primary-light);
  font-size: 1.1rem;
}

.feature-block h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.feature-block p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* Analyze block */
.analyze {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius);
  padding: 32px;
  margin-top: 40px;
  position: relative;
  overflow: hidden;
}

.analyze::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 300px;
  height: 300px;
  background: rgba(6, 182, 212, 0.1);
  border-radius: 50%;
}

.analyze-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.analyze-logo img {
  height: 32px;
  width: auto;
}

.analyze-logo span {
  font-family: 'Sora', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.analyze p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.analyze-icons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.analyze-icons img {
  height: 40px;
  width: 40px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.analyze-icons img:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* ----------------------------------------------------------
   16. Testimonials (.testimonials)
   ---------------------------------------------------------- */
.testimonials {
  padding: 80px 0;
  position: relative;
  background: var(--dark);
}

.single-testimonial {
  background: var(--dark-card-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  padding: 32px;
  height: 100%;
  transition: var(--transition);
}

.single-testimonial:hover {
  transform: translateY(-4px);
  border-color: rgba(79, 70, 229, 0.25);
  box-shadow: var(--shadow-glow);
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
  position: relative;
  padding-left: 20px;
  border-left: 3px solid var(--primary);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.testimonial-author h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.testimonial-author p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

.testimonial-stars {
  color: var(--cta);
  font-size: 0.85rem;
  margin-bottom: 16px;
  display: flex;
  gap: 2px;
}

/* ----------------------------------------------------------
   17. FAQ (.faq / .faq-wrapper)
   ---------------------------------------------------------- */
.faq {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  background: var(--dark-light);
}

.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion-item {
  background: var(--dark-card-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass) !important;
  border-radius: var(--radius) !important;
  overflow: hidden;
  transition: var(--transition);
}

.accordion-item:hover {
  border-color: rgba(79, 70, 229, 0.2) !important;
}

.accordion-button {
  background: transparent !important;
  color: var(--white) !important;
  font-family: 'Sora', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 20px 24px;
  box-shadow: none !important;
  border: none;
  transition: var(--transition);
}

.accordion-button:not(.collapsed) {
  background: rgba(79, 70, 229, 0.08) !important;
  color: var(--accent-light) !important;
}

.accordion-button::after {
  filter: brightness(0) invert(1);
  opacity: 0.5;
  transition: var(--transition);
}

.accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(0.6) sepia(1) saturate(5) hue-rotate(160deg);
  opacity: 1;
}

.accordion-button:focus {
  box-shadow: none !important;
}

.accordion-body {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.accordion-body p {
  margin-bottom: 0.75rem;
  color: var(--text-muted);
}

.accordion-body p:last-child {
  margin-bottom: 0;
}

.accordion-body ul {
  margin-bottom: 0.75rem;
}

.accordion-body ul li {
  margin-bottom: 6px;
  color: var(--text-muted);
}

.accordion-collapse {
  transition: height 0.35s ease;
}

/* ----------------------------------------------------------
   18. CTA Section (.leading-swc)
   ---------------------------------------------------------- */
.leading-swc {
  padding: 80px 0;
  position: relative;
  background: var(--dark);
}

.leading-swc-wrapper {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius-lg);
  padding: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.leading-swc-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1), transparent 60%),
              radial-gradient(circle at 80% 80%, rgba(0, 0, 0, 0.15), transparent 50%);
}

.leading-swc-wrapper h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.leading-swc-wrapper p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 550px;
  margin: 0 auto 32px;
  position: relative;
  z-index: 1;
}

.leading-swc-wrapper .primary-btn {
  background: var(--white);
  color: var(--primary-dark);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.leading-swc-wrapper .primary-btn::before {
  background: rgba(255, 255, 255, 0.9);
}

.leading-swc-wrapper .primary-btn:hover {
  color: var(--primary-dark);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* ----------------------------------------------------------
   19. Footer
   ---------------------------------------------------------- */
footer {
  background: var(--dark-light);
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand {
  max-width: 320px;
}

.footer-brand .logo-text {
  font-size: 1.2rem;
  margin-bottom: 12px;
  display: block;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-links h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-page-link {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-page-link li a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-page-link li a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--dark-card-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.copyright {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-bottom-links a:hover {
  color: var(--accent);
}

/* ----------------------------------------------------------
   20. Breadcrumb (.breadcrumb-cc) — Subpages
   ---------------------------------------------------------- */
.breadcrumb-cc {
  padding: 80px 0 40px;
  position: relative;
  background: var(--dark);
}

.breadcrumb-cc h1 {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
}

.breadcrumb-cc h1 span {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.breadcrumb-cc .breadcrumb-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.9rem;
}

.breadcrumb-cc .breadcrumb-nav a {
  color: var(--text-muted);
}

.breadcrumb-cc .breadcrumb-nav a:hover {
  color: var(--accent);
}

.breadcrumb-cc .breadcrumb-nav span {
  color: var(--text-muted);
}

.breadcrumb-cc .breadcrumb-nav .current {
  color: var(--white);
}

/* ----------------------------------------------------------
   21. Content Pages (.content / .content-wrapper)
   ---------------------------------------------------------- */
.content {
  padding: 40px 0 80px;
}

.content .content-wrapper {
  background: var(--dark-card-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 48px;
}

.content .content-wrapper h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-top: 32px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.content .content-wrapper h2:first-child {
  margin-top: 0;
}

.content .content-wrapper h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  margin-top: 24px;
  margin-bottom: 12px;
}

.content .content-wrapper p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 16px;
}

.content .content-wrapper ul,
.content .content-wrapper ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.content .content-wrapper ul li,
.content .content-wrapper ol li {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 8px;
}

.content .content-wrapper a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.content .content-wrapper a:hover {
  color: var(--accent-light);
}

.content .content-wrapper strong {
  color: var(--white);
}

/* ----------------------------------------------------------
   22. Keyframe Animations
   ---------------------------------------------------------- */

/* Gentle floating for blobs and decorative elements */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Light sweep shimmer for card overlays */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Pulsing glow effect for interactive elements */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(79, 70, 229, 0.2);
  }
  50% {
    box-shadow: 0 0 30px rgba(79, 70, 229, 0.4);
  }
}

/* Horizontal infinite scroll for activity feed */
@keyframes slide-ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Scroll reveal animation */
@keyframes fade-in-up {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Slow random drift for background blobs */
@keyframes blob-drift {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(30px, -30px) scale(1.05);
  }
  50% {
    transform: translate(-20px, 20px) scale(0.95);
  }
  75% {
    transform: translate(15px, 10px) scale(1.02);
  }
}

/* Background gradient movement for alert banner */
@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Sparkle animation */
@keyframes sparkle {
  0%, 100% {
    opacity: 0.2;
    transform: scale(0.8);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.2);
  }
}

/* ----------------------------------------------------------
   23. Utility Classes
   ---------------------------------------------------------- */

/* Gradient text fill */
.gradient-text {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Reusable glassmorphism card */
.glass-card {
  background: var(--dark-card-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  transition: var(--transition);
}

.glass-card:hover {
  border-color: rgba(79, 70, 229, 0.2);
  box-shadow: var(--shadow-glow);
}

/* Animated border glow */
.glow-border {
  position: relative;
  border: 1px solid transparent;
  background-clip: padding-box;
}

.glow-border::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--primary), var(--accent), var(--primary));
  background-size: 200% 200%;
  animation: gradient-shift 4s ease infinite;
  z-index: -1;
  opacity: 0.5;
}

/* Scroll animation trigger */
.fade-in-up {
  animation: fade-in-up 0.6s ease forwards;
}

/* ----------------------------------------------------------
   24. Hero Badge (replaces standalone alert banner)
   ---------------------------------------------------------- */
.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.2), rgba(6, 182, 212, 0.2));
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--accent-light);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.hero-badge i {
  color: var(--cta);
  margin-right: 4px;
}

/* ----------------------------------------------------------
   25. Category Buttons inside Games section
   ---------------------------------------------------------- */
.games .category-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* ----------------------------------------------------------
   26. Features Combined (How It Works + Benefits merged)
   ---------------------------------------------------------- */
.features-combined {
  padding: 80px 0;
  position: relative;
  background: var(--dark-light);
}

.features-combined .section-divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-glass), rgba(79, 70, 229, 0.3), var(--border-glass), transparent);
  margin: 60px auto;
  max-width: 600px;
}

/* ----------------------------------------------------------
   27. Inline Notice Banner (slimmer than full card)
   ---------------------------------------------------------- */
.notice-banner {
  padding: 16px 0;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(6, 182, 212, 0.08));
  border-top: 1px solid rgba(79, 70, 229, 0.15);
  border-bottom: 1px solid rgba(6, 182, 212, 0.15);
}

.notice-banner p {
  text-align: center;
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.notice-banner i {
  color: var(--primary-light);
  margin-right: 8px;
}

/* ----------------------------------------------------------
   28. Trust Section (Why Choose Us + Testimonials merged)
   ---------------------------------------------------------- */
.trust-section {
  padding: 80px 0;
  position: relative;
  background: var(--dark);
}

.trust-content {
  padding: 32px;
  height: 100%;
}

.trust-content .intro-text {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.trust-content .feature-image img {
  border-radius: var(--radius-sm);
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.trust-content .feature-text-blocks {
  margin-bottom: 24px;
}

.trust-content .feature-block {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.trust-content .feature-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.trust-content .feature-block h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.trust-content .feature-block h3 i {
  color: var(--accent);
  margin-right: 8px;
}

.trust-content .feature-block p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* Testimonials stacked in trust section */
.testimonials-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}

.testimonials-stack .testimonial-card {
  flex: 1;
}

/* ----------------------------------------------------------
   29. FAQ CTA (merged at bottom of FAQ)
   ---------------------------------------------------------- */
.faq-cta {
  text-align: center;
  margin-top: 60px;
  padding: 48px 32px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.faq-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 60%);
}

.faq-cta h3 {
  font-family: 'Sora', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  position: relative;
}

.faq-cta p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
  font-size: 1rem;
  position: relative;
}

.faq-cta .primary-btn {
  background: var(--white);
  color: var(--primary-dark);
  font-weight: 600;
  position: relative;
}

.faq-cta .primary-btn:hover {
  background: rgba(255,255,255,0.9);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* Section spacing consistency */
section {
  position: relative;
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Text alignment helpers */
.text-gradient {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Divider line */
.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 3px;
  margin: 0 auto 24px;
}

/* Badge / tag */
.badge-tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 50px;
}

/* Container max-width override for wider layouts */
.container-wide {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ----------------------------------------------------------
   24. Misc / Overrides
   ---------------------------------------------------------- */

/* Bootstrap overrides for dark theme */
.btn:focus,
.form-control:focus {
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.25);
}

.form-control {
  background: var(--dark-card);
  border: 1px solid var(--border-glass);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  transition: var(--transition);
}

.form-control:focus {
  background: var(--dark-card);
  border-color: var(--primary);
  color: var(--white);
}

.form-control::placeholder {
  color: var(--text-muted);
}

/* Ensure images in game grid are correct aspect */
.games .single-game .game-thumb {
  background: var(--dark-card);
}

/* Smooth all transitions on interactive elements */
button,
a,
input,
.nav-link,
.single-game,
.single-bonus,
.single-testimonial,
.accordion-item,
.category-tag {
  transition: var(--transition);
}

/* Remove blue highlight on mobile tap */
* {
  -webkit-tap-highlight-color: transparent;
}

/* Fix accordion border radius */
.accordion-item:first-of-type,
.accordion-item:last-of-type {
  border-radius: var(--radius) !important;
}

.accordion-item:first-of-type .accordion-button {
  border-radius: var(--radius) var(--radius) 0 0 !important;
}

.accordion-item:last-of-type .accordion-button.collapsed {
  border-radius: var(--radius) !important;
}

/* Disabled / loading states */
.primary-btn:disabled,
.primary-btn.loading {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Back to top button (if used) */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
  background: var(--primary-light);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}
