/* ============================================
   SpinFinder247 — Custom Styles
   Bootstrap 5 + Font Awesome 6 base
   ============================================ */

:root {
  --primary: #6600c6;
  --primary-light: #8b33d9;
  --primary-dark: #4d0099;
  --accent: #ff6b00;
  --dark: #0d0d1a;
  --dark-light: #1a1a2e;
  --dark-card: #16162a;
  --text: #e0e0e0;
  --text-muted: #9a9ab0;
  --white: #ffffff;
  --border: rgba(255, 255, 255, 0.08);
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

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

body {
  font-family: 'Lato', sans-serif;
  background-color: var(--dark);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Orbitron', sans-serif;
  color: var(--white);
  line-height: 1.3;
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: color 0.3s;
}
a:hover { color: var(--accent); }

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

section { padding: 80px 0; }

/* ---- Header / Navbar ---- */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13, 13, 26, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.navbar { padding: 0; }

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  color: var(--white) !important;
  font-size: 1.2rem;
}

.navbar-brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.logo-text {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
}

.navbar-nav .nav-link {
  color: var(--text-muted) !important;
  font-weight: 500;
  padding: 10px 16px !important;
  transition: color 0.3s;
  font-size: 0.95rem;
}

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

.navbar-toggler {
  border: 1px solid var(--border);
  padding: 6px 10px;
}

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

/* ---- Alert Section ---- */
.alert-sec {
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  padding: 12px 0;
  text-align: center;
}

.alert-sec .alert {
  color: var(--white);
  background: transparent;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* ---- Banner / Hero ---- */
.banner {
  position: relative;
  padding: 120px 0 100px;
  background: linear-gradient(180deg, var(--dark) 0%, var(--dark-light) 100%);
  overflow: hidden;
}

.banner-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at center, rgba(102, 0, 198, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.banner-wrapper {
  position: relative;
  z-index: 1;
}

.banner-wrapper h2 {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 16px;
  font-family: 'Lato', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.banner-wrapper h1 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 20px;
}

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

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

/* ---- Primary Button ---- */
.primary-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  letter-spacing: 0.5px;
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(102, 0, 198, 0.4);
  color: var(--white);
}

/* ---- Bet Card / Notice Card ---- */
.bet-card {
  padding: 60px 0;
}

.single-card .row {
  border-radius: var(--radius);
  overflow: hidden;
  padding: 40px;
}

.card-desc h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--white);
}

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

/* ---- Section Titles ---- */
.title-wrapper {
  text-align: center;
  margin-bottom: 50px;
}

.title-wrapper h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.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 {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 650px;
  margin: 0 auto;
}

/* ---- Games Section ---- */
.games {
  background: var(--dark-light);
}

.single-game {
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  background: var(--dark-card);
  border: 1px solid var(--border);
}

.single-game:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(102, 0, 198, 0.2);
}

.single-game img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

/* ---- Bonus Section ---- */
.bonus {
  background: var(--dark);
}

.single-bonus {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  height: 100%;
  transition: transform 0.3s, box-shadow 0.3s;
}

.single-bonus:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.bonus-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: rgba(102, 0, 198, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.bonus-icon i {
  font-size: 24px;
  color: var(--primary-light);
}

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

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

/* ---- Why Choose Us Section ---- */
.why-choose-us {
  background: var(--dark-light);
}

.content-wrapper {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

.content-wrapper > p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 20px;
}

.content-wrapper h2 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  margin-top: 24px;
}

.content-wrapper p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.content-wrapper img {
  border-radius: var(--radius);
  width: 100%;
  object-fit: cover;
}

/* Analyze block */
.analyze {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius);
  padding: 40px;
}

.analyze-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.analyze-logo img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

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

.analyze h2 {
  color: var(--white);
}

.analyze p {
  color: rgba(255, 255, 255, 0.8);
}

.analyze .list-inline-item img {
  width: 50px;
  height: 50px;
  margin: 4px;
}

/* ---- FAQ Section ---- */
.faq {
  background: var(--dark);
}

.faq-wrapper {
  background: transparent;
}

.accordion-item {
  background: var(--dark-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  overflow: hidden;
}

.accordion-button {
  background: var(--dark-card) !important;
  color: var(--white) !important;
  font-weight: 600;
  font-size: 1rem;
  padding: 18px 24px;
  box-shadow: none !important;
}

.accordion-button::after {
  filter: invert(1);
}

.accordion-button:not(.collapsed) {
  background: var(--dark-light) !important;
  color: var(--primary-light) !important;
}

.accordion-body {
  background: var(--dark-card);
  color: var(--text-muted);
  padding: 16px 24px 24px;
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ---- Leading SWC / CTA Section ---- */
.leading-swc {
  background: var(--dark-light);
  padding: 80px 0;
}

.leading-swc-wrapper {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius);
  padding: 50px 40px;
}

.leading-swc-wrapper h2 {
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 16px;
}

.leading-swc-wrapper p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  line-height: 1.8;
}

/* ---- Footer ---- */
footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 30px 0;
}

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

footer .copyright span {
  color: var(--primary-light);
  font-weight: 600;
}

.footer-page-link {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.footer-page-link li a {
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 4px 8px;
  transition: color 0.3s;
}

.footer-page-link li a:hover,
.footer-page-link li.active a {
  color: var(--white);
}

/* ---- Breadcrumb (Privacy / Terms pages) ---- */
.breadcrumb-cc {
  background: linear-gradient(180deg, var(--dark-light), var(--dark));
  padding: 80px 0 40px;
}

.breadcrumb-cc h1 {
  font-size: 2.2rem;
  text-align: center;
}

/* ---- Content Section (Privacy / Terms) ---- */
.content {
  background: var(--dark);
  padding: 60px 0;
}

.content .content-wrapper {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 50px;
}

.content .content-wrapper p,
.content .content-wrapper li {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.9;
}

.content .content-wrapper h2 {
  font-size: 1.3rem;
  margin-top: 32px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.content .content-wrapper h3 {
  font-size: 1.1rem;
  color: var(--primary-light);
  margin-top: 20px;
  margin-bottom: 10px;
}

.content .content-wrapper ul {
  padding-left: 20px;
}

.content .content-wrapper ul li {
  margin-bottom: 6px;
}

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

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

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

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