/*
Theme Name: Sultan Games KZ
Version: 1.2
*/

:root {
  --sg-bg: #0e2f2b;
  --sg-header-footer-bg: #222723;
  --sg-primary: #02504b;
  --sg-accent: #f9c719;
  --sg-text-light: #f8f9fa;
  --sg-text-dark: #212529;
  --sg-text-muted: #adb5bd;
}

body {
  font-family: "Roboto", -apple-system, "BlinkMacSystemFont", "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Open Sans",
    "Helvetica Neue", "Arial", sans-serif;
  background-color: var(--sg-bg);
  color: var(--sg-text-light);
  line-height: 1.7;
}

/* Helper classes */
.text-primary {
  color: var(--sg-text-light) !important;
}
.text-accent {
  color: var(--sg-accent) !important;
}
.bg-primary {
  background-color: var(--sg-primary) !important;
}
.bg-accent {
  background-color: var(--sg-accent) !important;
}

/* Header */
.sg-header {
  background-color: var(--sg-header-footer-bg);
  padding: 0.5rem 0;
  border-bottom: 3px solid var(--sg-accent);
  transition: all 0.3s ease;
}
.sg-header .navbar-brand img {
  transition: transform 0.3s ease;
}
.sg-header .navbar-brand:hover img {
  transform: scale(1.05);
}
.sg-header .nav-link {
  color: var(--sg-text-muted);
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 1rem;
  transition: color 0.3s ease;
}
.sg-header .nav-link:hover,
.sg-header .nav-link.active {
  color: var(--sg-text-light);
}
.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.2);
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28249, 199, 25, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Buttons */
.sg-btn {
  border-radius: 50px;
  padding: 0.6rem 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.sg-btn-login {
  background-color: var(--sg-primary);
  color: var(--sg-text-light);
}
.sg-btn-login:hover {
  background-color: #036d65;
  color: var(--sg-text-light);
  transform: translateY(-2px);
}
.sg-btn-signup {
  background-color: var(--sg-accent);
  color: var(--sg-text-dark);
}
.sg-btn-signup:hover {
  background-color: #ffda4e;
  color: var(--sg-text-dark);
  transform: translateY(-2px);
}

/* Hero Section */
.sg-hero {
  background: linear-gradient(rgba(14, 47, 43, 0.7), rgba(14, 47, 43, 0.9)), url("/images/sultan-games-banner.avif") no-repeat
    center center;
  background-size: cover;
  padding: 8rem 0;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Breadcrumbs */
.breadcrumb {
  background-color: rgba(34, 39, 35, 0.5);
  padding: 0.75rem 1rem;
  border-radius: 0.25rem;
}
.breadcrumb-item a {
  color: var(--sg-accent);
  text-decoration: none;
}
.breadcrumb-item.active {
  color: var(--sg-text-muted);
}

/* Sections */
.sg-section {
  padding: 4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.sg-section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 700;
  color: var(--sg-accent);
}

/* Cards */
.sg-card {
  background-color: var(--sg-header-footer-bg);
  padding: 2rem;
  border-radius: 15px;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(249, 199, 25, 0.2);
}
.sg-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.sg-card-title {
  color: var(--sg-accent);
  margin-bottom: 1rem;
}

/* Jackpot Section */
.sg-jackpot-section {
  background: linear-gradient(45deg, var(--sg-primary), #013a36);
}
.sg-jackpot-amount {
  font-size: 4rem;
  font-weight: 700;
  color: var(--sg-accent);
  text-shadow: 0 0 20px rgba(249, 199, 25, 0.5);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Games Section */
.sg-game-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
}
.sg-game-card img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}
.sg-game-card:hover img {
  transform: scale(1.1);
}
.sg-game-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  text-align: center;
}
.sg-game-card:hover .sg-game-card-overlay {
  opacity: 1;
}

/* Review Content Block */
.sg-review-content {
  line-height: 1.8;
}
.sg-review-content h1,
.sg-review-content h2,
.sg-review-content h3 {
  color: var(--sg-accent);
  margin-top: 1.5em;
  margin-bottom: 0.8em;
}
.sg-review-content p {
  margin-bottom: 1em;
}
.sg-review-content a {
  color: var(--sg-accent);
  text-decoration: underline;
}
.sg-review-content ul,
.sg-review-content ol {
  padding-left: 2rem;
  margin-bottom: 1em;
}
.sg-review-content li {
  margin-bottom: 0.5em;
}
.sg-review-content blockquote {
  border-left: 4px solid var(--sg-primary);
  padding-left: 1rem;
  margin: 1.5em 0;
  font-style: italic;
  color: var(--sg-text-muted);
}
.sg-review-content table {
  width: 100%;
  margin: 2rem auto;
  border-collapse: collapse;
  text-align: left;
}
.sg-review-content th,
.sg-review-content td {
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.sg-review-content th {
  background-color: var(--sg-primary);
}

/* FAQ Accordion */
.accordion-item {
  background-color: var(--sg-header-footer-bg);
  border: 1px solid rgba(249, 199, 25, 0.2);
  margin-bottom: 1rem;
  border-radius: 10px !important;
}
.accordion-button {
  background-color: var(--sg-header-footer-bg);
  color: var(--sg-text-light);
  font-weight: 700;
  border-radius: 10px !important;
}
.accordion-button:not(.collapsed) {
  color: var(--sg-accent);
  background-color: #2a302b;
  box-shadow: inset 0 -1px 0 rgba(249, 199, 25, 0.2);
}
.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(249, 199, 25, 0.25);
}
.accordion-body {
  color: var(--sg-text-muted);
}

/* Footer */
.sg-footer {
  background-color: var(--sg-header-footer-bg);
  color: var(--sg-text-muted);
  padding: 3rem 0;
  margin-top: 4rem;
  border-top: 3px solid var(--sg-accent);
}
.sg-footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.sg-footer-nav a {
  color: var(--sg-text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}
.sg-footer-nav a:hover {
  color: var(--sg-text-light);
}
.sg-social-icon {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
  background-color: var(--sg-primary);
  color: white;
  margin: 0 5px;
  text-decoration: none;
}
.sg-footer-legal {
  font-size: 0.8rem;
  margin-top: 2rem;
}

/* Sticky Widget */
.sg-sticky-widget {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--sg-header-footer-bg);
  padding: 1rem 0;
  border-top: 2px solid var(--sg-accent);
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  animation: slideInUp 0.5s ease-out;
}
.sg-sticky-widget a {
  text-decoration: none;
}
@keyframes slideInUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

/* Unused styles for obfuscation */
.widget-area {
  display: none;
}
.post-navigation {
  visibility: hidden;
}
.comment-form {
  opacity: 0;
}
.elementor-button {
  font-family: "Courier New", Courier, monospace;
}

/* WordPress-like classes for obfuscation */
.wp-block-button__link {
  color: #fff;
  background-color: #32373c;
  border-radius: 9999px;
  box-shadow: none;
  text-decoration: none;
  padding: calc(.667em + 2px) calc(1.333em + 2px);
  font-size: 1.125em;
}
.has-text-align-center {
  text-align: center;
}
