/* Google Font */
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap");

/* Variables */
:root {
  --sl-color-primary: #0255c2;
  --sl-color-secondary: #54b146;
  --sl-color-background: #f5f5f5;
  --sl-color-dark: #212529;
  --sl-color-light: #ffffff;
  --sl-color-text: #333;
}

/* Base Styles */
body {
  font-family: "Roboto", sans-serif;
  background-color: var(--sl-color-background);
  color: var(--sl-color-text);
  line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  color: var(--sl-color-dark);
}

a {
  color: var(--sl-color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #013d91;
}

.btn-login {
  background-color: var(--sl-color-primary);
  color: var(--sl-color-light);
  border: none;
}
.btn-login:hover {
  background-color: #013d91;
  color: var(--sl-color-light);
}

.btn-signup {
  background-color: var(--sl-color-secondary);
  color: var(--sl-color-light);
  border: none;
}
.btn-signup:hover {
  background-color: #438c38;
  color: var(--sl-color-light);
}

.sl-section {
  margin-bottom: 2rem;
  padding: 1.5rem;
  border-radius: 15px;
  background-color: var(--sl-color-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sl-section:hover {
  transform: translateY(-5px);
}
.sl-section .card-title {
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--sl-color-secondary);
  display: inline-block;
}

/* Header */
.sl-header {
  background-color: var(--sl-color-light);
}
.sl-header .navbar-nav .nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem;
}
.online-indicator {
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: var(--sl-color-secondary);
  border-radius: 50%;
  margin-right: 5px;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(84, 177, 70, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(84, 177, 70, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(84, 177, 70, 0);
  }
}

/* Hero Section */
.sl-hero {
  min-height: 60vh;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(/images/hero-banner.jpg) no-repeat center
    center;
  background-size: cover;
}
.sl-hero h1 {
    color: var(--sl-color-light);
}

/* Content Wrapper for raw HTML */
.content-wrapper p {
  margin-bottom: 1rem;
}
.content-wrapper ul,
.content-wrapper ol {
  padding-left: 2rem;
  margin-bottom: 1rem;
}
.content-wrapper table {
  width: 100%;
  margin-bottom: 1rem;
  border-collapse: collapse;
}
.content-wrapper th,
.content-wrapper td {
  padding: 0.75rem;
  border: 1px solid #dee2e6;
  text-align: left;
}
.content-wrapper th {
  background-color: #f8f9fa;
}

/* Jackpots */
.sl-section--jackpots {
  background: linear-gradient(45deg, var(--sl-color-primary), #013d91);
}
.sl-section--jackpots .card-title {
  color: var(--sl-color-light);
  border-bottom-color: var(--sl-color-light);
}

/* Swiper Sliders */
.swiper-slide {
  padding-bottom: 40px; /* For pagination */
}
.swiper-pagination-bullet-active {
  background-color: var(--sl-color-primary) !important;
}
.game-slider .card {
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}
.game-slider .card:hover {
  transform: scale(1.05);
}

/* Mini Games */
#slot-machine {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 4rem;
}
.slot-reel {
  width: 80px;
  height: 100px;
  border: 2px solid #ccc;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.wheel-container {
  position: relative;
  width: 250px;
  height: 250px;
  margin: 0 auto;
}
.wheel {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-image: conic-gradient(
    #ff5722 0deg 45deg,
    #ffc107 45deg 90deg,
    #8bc34a 90deg 135deg,
    #03a9f4 135deg 180deg,
    #9c27b0 180deg 225deg,
    #e91e63 225deg 270deg,
    #4caf50 270deg 315deg /* Bonus sector */,
    #607d8b 315deg 360deg
  );
  transition: transform 4s cubic-bezier(0.25, 0.1, 0.25, 1);
  border: 5px solid #fff;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}
.wheel-pointer {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 25px solid var(--sl-color-primary);
}

/* Reviews */
.review-card {
  display: flex;
  gap: 15px;
  margin-bottom: 1.5rem;
}
.review-card .avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}
.review-card .stars {
  color: #ffc107;
}

/* Footer */
.sl-footer a:not(.btn) {
  text-decoration: none;
}
.sl-footer a:hover {
  text-decoration: underline;
}
.sl-footer-pics {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.sl-footer-pics img {
    max-height: 30px;
}

    /* Sticky Widget */
.sl-sticky-widget {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(33, 37, 41, 0.95);
  color: var(--sl-color-light);
  padding: 1rem;
  z-index: 1040;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
  animation: slideInUp 0.5s ease-out;
}
@keyframes slideInUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

/* Unused styles for obfuscation */
.wp-block-gallery {
  display: none;
}
.elementor-widget-container {
  visibility: hidden;
}
.post-edit-link {
  position: absolute;
  left: -9999px;
}

/* Responsive */
@media (max-width: 991.98px) {
  .sl-header .ms-auto {
    margin-left: 0 !important;
  }
  .sl-header .navbar-collapse {
    background-color: var(--sl-color-light);
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
}
@media (max-width: 767.98px) {
  .sl-hero {
    min-height: 50vh;
  }
  .sl-hero h1 {
    font-size: 2.5rem;
  }
  .sl-sticky-widget {
    flex-direction: column;
    text-align: center;
  }
  .sl-sticky-widget .btn {
    margin-top: 0.5rem;
  }
}
