/* Sultan Casino - Main Stylesheet */

:root {
  --color-primary: #02504b;
  --color-secondary: #f9c719;
  --color-bg: #0e2f2b;
  --color-header: #222723;
  --color-text: #e8e8e8;
  --color-text-dark: #1a1a1a;
  --color-card-bg: #1a3a36;
  --color-border: #2a4a46;
  --font-main: "Roboto", -apple-system, "BlinkMacSystemFont", "Segoe UI", "Oxygen", "Ubuntu", "Cantarell", "Open Sans",
    "Helvetica Neue", "Arial", sans-serif;
  --transition: all 0.3s ease;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.header-main {
  background-color: var(--color-header);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-wrapper {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
}

.logo-img {
  height: 45px;
  width: auto;
  transition: var(--transition);
}

.logo-img:hover {
  opacity: 0.8;
  transform: scale(1.05);
}

.header-nav.desktop-nav {
  display: flex;
  justify-content: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
  margin: 0;
}

.nav-menu a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-secondary);
  transition: var(--transition);
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-menu a:hover {
  color: var(--color-secondary);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.online-counter {
  background: rgba(2, 80, 75, 0.3);
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.online-icon {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.header-buttons {
  display: flex;
  gap: 10px;
}

.btn {
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  display: inline-block;
  text-align: center;
}

.btn-login {
  background-color: var(--color-primary);
  color: white;
}

.btn-login:hover {
  background-color: #03635d;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(2, 80, 75, 0.4);
}

.btn-signup {
  background-color: var(--color-secondary);
  color: var(--color-text-dark);
}

.btn-signup:hover {
  background-color: #ffd633;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(249, 199, 25, 0.4);
}

.burger-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.burger-menu span {
  width: 25px;
  height: 3px;
  background: var(--color-text);
  transition: var(--transition);
  border-radius: 2px;
}

.burger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.burger-menu.active span:nth-child(2) {
  opacity: 0;
}

.burger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-menu {
  display: none;
  background: var(--color-header);
  padding: 20px;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.mobile-menu.active {
  display: block;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.btn-mobile {
  flex: 1;
}

.mobile-nav ul {
  list-style: none;
}

.mobile-nav li {
  border-bottom: 1px solid var(--color-border);
}

.mobile-nav a {
  display: block;
  padding: 15px 0;
  color: var(--color-text);
  text-decoration: none;
  transition: var(--transition);
}

.mobile-nav a:hover {
  color: var(--color-secondary);
  padding-left: 10px;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(rgba(14, 47, 43, 0.8), rgba(14, 47, 43, 0.9)), url("/banner-sultan.png") center / cover;
  padding: 100px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(2, 80, 75, 0.2), transparent);
  animation: heroGlow 3s ease-in-out infinite;
}

@keyframes heroGlow {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: var(--color-secondary);
  animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1.2s ease;
}

.btn-hero-primary {
  background-color: var(--color-secondary);
  color: var(--color-text-dark);
  padding: 15px 40px;
  font-size: 1.1rem;
  font-weight: 600;
}

.btn-hero-primary:hover {
  background-color: #ffd633;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(249, 199, 25, 0.5);
}

.btn-hero-secondary {
  background-color: transparent;
  color: white;
  padding: 15px 40px;
  font-size: 1.1rem;
  border: 2px solid white;
}

.btn-hero-secondary:hover {
  background-color: white;
  color: var(--color-text-dark);
  transform: translateY(-3px);
}

/* Main Content */
.site-main {
  padding: 60px 0;
}

.entry-content {
  color: var(--color-text);
}

.entry-content h2 {
  color: white;
  font-size: 2rem;
  margin-bottom: 20px;
  margin-top: 40px;
  position: relative;
  padding-bottom: 10px;
}

.entry-content h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--color-secondary);
}

.entry-content h3 {
  color: var(--color-secondary);
  font-size: 1.5rem;
  margin-top: 30px;
  margin-bottom: 15px;
}

.entry-content p {
  margin-bottom: 15px;
  line-height: 1.8;
}

.entry-content ul,
.entry-content ol {
  margin-left: 30px;
  margin-bottom: 20px;
}

.entry-content li {
  margin-bottom: 10px;
  line-height: 1.8;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: var(--color-card-bg);
  border-radius: 8px;
  overflow: hidden;
}

.entry-content th,
.entry-content td {
  padding: 15px;
  text-align: left;
  border: 1px solid var(--color-border);
}

.entry-content th {
  background: var(--color-primary);
  color: white;
  font-weight: 600;
}

.entry-content a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.entry-content a:hover {
  color: #ffd633;
  text-decoration: underline;
}

/* App Info Section */
.app-info-section {
  background: var(--color-card-bg);
  padding: 40px;
  border-radius: 12px;
  margin-bottom: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.app-table-wrapper {
  overflow-x: auto;
  margin: 30px 0;
}

.app-info-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(14, 47, 43, 0.5);
  border-radius: 8px;
  overflow: hidden;
}

.app-info-table thead {
  background: var(--color-primary);
}

.app-info-table th {
  padding: 15px;
  text-align: left;
  color: white;
  font-weight: 600;
}

.app-info-table td {
  padding: 15px;
  border-bottom: 1px solid var(--color-border);
}

.app-info-table tbody tr:hover {
  background: rgba(2, 80, 75, 0.2);
}

.download-buttons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: var(--color-primary);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  transition: var(--transition);
}

.download-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(2, 80, 75, 0.4);
  background: #03635d;
}

.btn-icon {
  font-size: 2rem;
}

.btn-text {
  display: flex;
  flex-direction: column;
}

.btn-text small {
  font-size: 0.8rem;
  opacity: 0.8;
}

.btn-text strong {
  font-size: 1.1rem;
}

.appstore-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.playmarket-btn {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.apk-btn {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

/* Jackpots Section */
.jackpots-section {
  background: var(--color-card-bg);
  padding: 40px;
  border-radius: 12px;
  margin-bottom: 40px;
}

.jackpots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.jackpot-card {
  background: linear-gradient(135deg, rgba(2, 80, 75, 0.5), rgba(2, 80, 75, 0.2));
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  border: 2px solid var(--color-primary);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.jackpot-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(249, 199, 25, 0.1), transparent);
  animation: jackpotGlow 3s linear infinite;
}

@keyframes jackpotGlow {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.jackpot-card:hover {
  transform: scale(1.05);
  border-color: var(--color-secondary);
}

.jackpot-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--color-secondary);
  position: relative;
  z-index: 1;
}

.jackpot-amount {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.jackpot-label {
  font-size: 0.9rem;
  opacity: 0.8;
  position: relative;
  z-index: 1;
}

/* Screenshots Section */
.screenshots-section {
  background: var(--color-card-bg);
  padding: 40px;
  border-radius: 12px;
  margin-bottom: 40px;
}

.screenshots-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.screenshot-item {
  text-align: center;
}

.screenshot-item img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
}

.screenshot-item img:hover {
  transform: scale(1.05);
}

.screenshot-item p {
  margin-top: 15px;
  font-weight: 500;
}

/* Demo Section */
.demo-section {
  background: var(--color-card-bg);
  padding: 40px;
  border-radius: 12px;
  margin-bottom: 40px;
}

.demo-game-wrapper {
  position: relative;
  margin-top: 30px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.5);
}

.demo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(14, 47, 43, 0.9);
  gap: 20px;
}

.demo-overlay p {
  font-size: 1.2rem;
  color: white;
}

/* FAQ Section */
.faq-section {
  background: var(--color-card-bg);
  padding: 40px;
  border-radius: 12px;
  margin-bottom: 40px;
}

.faq-accordion {
  margin-top: 30px;
}

.faq-item {
  background: rgba(14, 47, 43, 0.5);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  padding: 20px;
  background: transparent;
  border: none;
  color: white;
  font-size: 1.1rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--color-secondary);
  transition: var(--transition);
}

.faq-question:hover {
  background: rgba(2, 80, 75, 0.3);
}

.faq-item.active .faq-question::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer > div {
  padding: 20px;
  border-top: 1px solid var(--color-border);
}

/* Author Section */
.author-section {
  background: var(--color-card-bg);
  padding: 40px;
  border-radius: 12px;
  margin-bottom: 40px;
}

.author-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 30px;
  margin-top: 30px;
  align-items: start;
}

.author-photo img {
  width: 100%;
  border-radius: 50%;
  border: 4px solid var(--color-primary);
}

.author-name {
  color: var(--color-secondary);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.author-bio {
  line-height: 1.8;
  margin-bottom: 20px;
}

.author-social {
  display: flex;
  gap: 15px;
}

.social-link {
  padding: 10px 20px;
  background: var(--color-primary);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--color-secondary);
  color: var(--color-text-dark);
  transform: translateY(-2px);
}

/* Footer */
.footer-main {
  background: var(--color-header);
  padding: 60px 0 20px;
  margin-top: 60px;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h4 {
  color: var(--color-secondary);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-description {
  line-height: 1.8;
  opacity: 0.9;
}

.footer-menu {
  list-style: none;
}

.footer-menu li {
  margin-bottom: 10px;
}

.footer-menu a {
  color: var(--color-text);
  text-decoration: none;
  transition: var(--transition);
}

.footer-menu a:hover {
  color: var(--color-secondary);
  padding-left: 5px;
}

.footer-contacts {
  list-style: none;
}

.footer-contacts li {
  margin-bottom: 10px;
  line-height: 1.8;
}

.footer-payments,
.footer-providers {
  margin-bottom: 40px;
}

.footer-payments h4,
.footer-providers h4 {
  color: var(--color-secondary);
  margin-bottom: 20px;
}

.payment-logos,
.provider-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
}

.payment-logos img,
.provider-logos img {
  background: white;
  padding: 10px;
  border-radius: 8px;
  opacity: 0.8;
  transition: var(--transition);
}

.payment-logos img:hover,
.provider-logos img:hover {
  opacity: 1;
  transform: scale(1.1);
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 30px;
  text-align: center;
}

.footer-legal {
  margin-bottom: 20px;
}

.legal-text {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-top: 10px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--color-text);
  text-decoration: none;
  transition: var(--transition);
}

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

/* Fixed Widget */
.fixed-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, var(--color-primary), #03635d);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  z-index: 999;
  max-width: 350px;
  animation: slideInRight 0.5s ease;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.widget-content {
  display: flex;
  align-items: center;
  gap: 15px;
}

.widget-icon {
  font-size: 2.5rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.widget-text {
  flex: 1;
}

.widget-title {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 5px;
}

.widget-bonus {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-secondary);
}

.widget-btn {
  background: var(--color-secondary);
  color: var(--color-text-dark);
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}

.widget-btn:hover {
  background: #ffd633;
  transform: scale(1.05);
}

.widget-close {
  position: absolute;
  top: 5px;
  right: 5px;
  background: transparent;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.widget-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.fixed-widget.hidden {
  display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-wrapper {
    grid-template-columns: auto 1fr;
  }

  .header-nav.desktop-nav {
    display: none;
  }

  .desktop-buttons {
    display: none;
  }

  .burger-menu {
    display: flex;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .author-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .author-photo {
    margin: 0 auto;
    max-width: 200px;
  }

  .author-social {
    justify-content: center;
  }

  .screenshots-slider {
    grid-template-columns: 1fr;
  }

  .fixed-widget {
    bottom: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
  }

  .widget-content {
    flex-wrap: wrap;
  }

  .app-info-section,
  .jackpots-section,
  .screenshots-section,
  .demo-section,
  .faq-section,
  .author-section {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 60px 20px;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .online-counter {
    font-size: 12px;
    padding: 6px 10px;
  }
}

/* Utility Classes */
.mb-4 {
  margin-bottom: 40px;
}

.text-center {
  text-align: center;
}

/* Unused classes for obfuscation */
.xk9m2p4t {
  display: none;
}
.vn7q3w8r {
  visibility: hidden;
}
.zm4k8p2x {
  opacity: 0;
}
.bq5n7k3m {
  position: absolute;
  left: -9999px;
}
.wp-block-group {
  /* WP compatibility */
}
.has-text-align-center {
  text-align: center;
}
.alignwide {
  max-width: 1200px;
}
.wp-block-columns {
  display: grid;
}
