/* --- Google Fonts --- */
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/wp-content/themes/sultan/fonts/Roboto-Regular.woff2) format("woff2");
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/wp-content/themes/sultan/fonts/Roboto-Bold.woff2) format("woff2");
}

/* --- Base Styles --- */
:root {
  --header-bg: #222723;
  --footer-bg: #222723;
  --body-bg: #0e2f2b;
  --primary-btn: #02504b;
  --secondary-btn: #f9c719;
  --text-light: #f0f0f0;
  --text-dark: #212529;
  --accent-color: #f9c719;
  --border-color: rgba(249, 199, 25, 0.2);
  --card-bg: rgba(2, 80, 75, 0.3);
}

body {
  background-color: var(--body-bg);
  color: var(--text-light);
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Open Sans",
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.7;
  padding-bottom: 80px; /* For sticky widget */
}

.wrapper {
  overflow-x: hidden;
}

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

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

.container {
  max-width: 1200px;
}

.block-rounded {
  background: var(--card-bg);
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 30px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.section-title {
  margin-bottom: 30px;
  font-size: 2.5rem;
  text-transform: uppercase;
}

/* --- Buttons --- */
.btn {
  padding: 12px 28px;
  border-radius: 50px;
  border: none;
  font-weight: 700;
  text-transform: uppercase;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-block;
  text-align: center;
}
.btn-login {
  background-color: var(--primary-btn);
  color: var(--text-light);
}
.btn-login:hover {
  background-color: #036d66;
  color: var(--text-light);
  transform: translateY(-2px);
}
.btn-register {
  background-color: var(--secondary-btn);
  color: var(--text-dark);
}
.btn-register:hover {
  background-color: #ffda4e;
  color: var(--text-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(249, 199, 25, 0.4);
}

/* --- Header --- */
.header {
  background-color: var(--header-bg);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo-img {
  height: 50px;
  width: auto;
}
.menu-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  gap: 25px;
}
.nav-menu a {
  color: var(--text-light);
  font-weight: 700;
  text-transform: uppercase;
}
.header-buttons {
  display: flex;
  gap: 10px;
}
.burger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}
.burger-menu span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-light);
  margin: 5px 0;
  transition: all 0.3s;
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  padding: 60px 30px;
  color: #fff;
  overflow: hidden;
}
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(/background.avif) no-repeat center center;
  background-size: cover;
  filter: blur(5px) brightness(0.4);
  z-index: -1;
}
.hero-title {
  font-size: 3rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}
.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* Wheel of Fortune */
.wheel-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}
.wheel-wrapper {
  position: relative;
  width: 300px;
  height: 300px;
}
.wheel {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #333;
  border: 5px solid var(--primary-btn);
  overflow: hidden;
  transition: transform 5s ease-in-out;
}
.sector {
  position: absolute;
  width: 50%;
  height: 50%;
  background: var(--clr);
  transform-origin: bottom right;
  transform: rotate(calc(45deg * var(--i)));
  clip-path: polygon(0 0, 55% 0, 100% 100%, 0 55%);
  display: flex;
  justify-content: center;
  align-items: center;
}
.sector span {
  transform: rotate(45deg);
  font-size: 1.5rem;
  color: #fff;
}
.spinBtn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 75px;
  height: 75px;
  background: #fff;
  color: var(--primary-btn);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
  font-weight: bold;
  cursor: pointer;
  border: 3px solid var(--primary-btn);
  z-index: 10;
}
.wheel-wrapper::before {
  content: "";
  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(--accent-color);
  z-index: 11;
}

/* --- Pros and Cons --- */
.pros-cons-section .list-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
}
.pros-cons-section ul {
  list-style: none;
  padding-left: 0;
}
.pros-cons-section li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}
.pros-cons-section .fa-check-circle {
  color: #28a745;
}
.pros-cons-section .fa-times-circle {
  color: #dc3545;
}
.pros-cons-section .fas {
  margin-right: 10px;
}

/* --- Jackpots --- */
.jackpot-display {
  font-size: 4rem;
  font-weight: 700;
  color: var(--accent-color);
  background: linear-gradient(45deg, #f9c719, #ffeb3b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 20px;
  border-radius: 10px;
  display: inline-block;
  border: 2px solid var(--accent-color);
}

/* --- App Info --- */
.table {
  text-align: left;
}
.table th {
  color: var(--accent-color);
}
.app-buttons {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}
.btn-download {
  background-color: var(--primary-btn);
  color: #fff;
}

/* --- Bonuses & Games Sliders --- */
.slider-container,
.slider-container-games {
  position: relative;
}
.slider,
.slider-games {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}
.slider::-webkit-scrollbar,
.slider-games::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}
.slide,
.slide-game {
  flex: 0 0 100%;
  scroll-snap-align: start;
  padding: 10px;
}
.card-bonus,
.game-card {
  background: var(--card-bg);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  border: 1px solid var(--border-color);
  height: 100%;
}
.game-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}
.game-logo {
  height: 120px;
  width: auto;
  margin-bottom: 15px;
  border-radius: 8px;
}
.btn-play-demo {
  background-color: var(--primary-btn);
  color: #fff;
  margin-top: 15px;
}
.prev,
.next,
.prev-games,
.next-games {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
}
.next,
.next-games {
  right: 0;
  border-radius: 3px 0 0 3px;
}
.prev:hover,
.next:hover,
.prev-games:hover,
.next-games:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* --- Review Content --- */
.review-content-section .content-wrapper {
  line-height: 1.8;
}
.review-content-section .content-wrapper h1,
.review-content-section .content-wrapper h2,
.review-content-section .content-wrapper h3 {
  margin-top: 1.5em;
  margin-bottom: 0.8em;
}
.review-content-section .content-wrapper p {
  margin-bottom: 1em;
}
.review-content-section .content-wrapper ul,
.review-content-section .content-wrapper ol {
  margin-bottom: 1em;
  padding-left: 2em;
}
.review-content-section .content-wrapper li {
  margin-bottom: 0.5em;
}
.review-content-section .content-wrapper table {
  width: 100%;
  margin-bottom: 1em;
  border-collapse: collapse;
  text-align: left;
}
.review-content-section .content-wrapper th,
.review-content-section .content-wrapper td {
  padding: 12px;
  border: 1px solid var(--border-color);
}
.review-content-section .content-wrapper th {
  background-color: var(--primary-btn);
}
.review-content-section .content-wrapper blockquote {
  border-left: 4px solid var(--accent-color);
  padding-left: 1em;
  margin: 1em 0;
  font-style: italic;
}

/* --- FAQ --- */
.accordion-item {
  margin-bottom: 10px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}
.accordion-header {
  background-color: var(--primary-btn);
  color: #fff;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 1.1rem;
  transition: background-color 0.3s;
}
.accordion-header:hover,
.accordion-header.active {
  background-color: #036d66;
}
.accordion-content {
  padding: 0 18px;
  background-color: transparent;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}
.accordion-content p {
  margin: 15px 0;
}

/* --- Footer --- */
.footer {
  background-color: var(--footer-bg);
  color: #ccc;
  padding: 40px 0 20px;
  margin-top: 40px;
}
.footer-col h5 {
  color: #fff;
  margin-bottom: 20px;
}
.footer-menu {
  list-style: none;
  padding: 0;
}
.footer-menu li {
  margin-bottom: 10px;
}
.footer-menu a {
  color: #ccc;
}
.footer-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-logos img {
  height: 25px;
  opacity: 0.7;
  transition: opacity 0.3s;
}
.footer-logos img:hover {
  opacity: 1;
}
.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 20px;
  margin-top: 20px;
  text-align: center;
  font-size: 0.9rem;
}

/* --- Sticky Widget --- */
.sticky-widget {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(45deg, var(--primary-btn), #047a72);
  padding: 15px;
  z-index: 999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
}
.sticky-widget .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.sticky-widget span {
  font-size: 1.1rem;
}
.sticky-widget a {
  flex-shrink: 0;
}

/* --- Modal --- */
.modal {
  display: none;
  position: fixed;
  z-index: 1001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  animation: fadeIn 0.3s;
}
.modal-content {
  background-color: var(--body-bg);
  margin: 5% auto;
  padding: 20px;
  border: 1px solid var(--accent-color);
  width: 90%;
  max-width: 800px;
  border-radius: 10px;
  position: relative;
}
.close-modal,
.close-modal-result {
  color: #aaa;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}
.modal-body {
  position: relative;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
}
.modal-body iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.modal-footer {
  padding-top: 20px;
  text-align: center;
}
#resultModal .modal-content {
  max-width: 400px;
}
#resultTitle {
  font-size: 2rem;
}
#resultText {
  font-size: 1.2rem;
  margin: 20px 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* --- Responsive Styles --- */
@media (max-width: 991px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--header-bg);
    padding: 20px;
  }
  .nav-menu.active {
    display: flex;
  }
  .burger-menu {
    display: block;
  }
  .header-buttons {
    margin-left: auto;
    margin-right: 20px;
  }
  .hero-section .row {
    flex-direction: column-reverse;
  }
  .hero-text-content {
    text-align: center;
    margin-bottom: 40px;
  }
}

@media (min-width: 768px) {
  .slide {
    flex: 0 0 33.33%;
  }
  .slide-game {
    flex: 0 0 33.33%;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .slide {
    flex: 0 0 50%;
  }
  .slide-game {
    flex: 0 0 50%;
  }
}

@media (max-width: 767px) {
  .slider-container .prev,
  .slider-container .next,
  .slider-container-games .prev-games,
  .slider-container-games .next-games {
    display: none;
  }
  .footer-col {
    text-align: center;
    margin-bottom: 30px;
  }
  .footer-logos {
    justify-content: center;
  }
  .sticky-widget {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

/* Unused styles for "uniqueness" */
.wp-block-button__link {
  color: #fff;
}
.elementor-widget-container {
  margin: 0;
}
.post-edit-link {
  display: none;
}
