/* Main Styles for Olimp Casino KZ */
:root {
  --color-primary: #22125b;
  --color-secondary: #8476b5;
  --color-accent: #ffd571;
  --color-bg: #13083c;
  --color-text-light: #ffffff;
  --color-text-dark: #1a1a1a;
  --color-border: #3d2f7a;
  --font-main: "Lato", sans-serif;
}

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

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

.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

.container-fluid {
  width: 100%;
  padding: 0 20px;
}

/* Header Styles */
.site-header-main {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1a0d45 100%);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.header-wrapper-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header-logo-block {
  flex-shrink: 0;
}

.logo-link-main {
  display: block;
  line-height: 0;
}

.logo-image-main {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.header-navigation-main {
  flex-grow: 1;
  display: none;
}

.nav-menu-list {
  display: flex;
  list-style: none;
  gap: 25px;
  margin: 0;
  padding: 0;
  justify-content: center;
}

.menu-item-nav {
  margin: 0;
}

.nav-link-item {
  color: var(--color-text-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.3s ease;
  padding: 8px 12px;
  border-radius: 6px;
}

.nav-link-item:hover {
  color: var(--color-accent);
  background: rgba(255, 213, 113, 0.1);
}

.header-actions-block {
  display: flex;
  align-items: center;
  gap: 15px;
}

.online-counter-widget {
  display: none;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 14px;
}

.online-icon {
  font-size: 10px;
}

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

.btn-header {
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-header-login {
  background: var(--color-secondary);
  color: var(--color-text-light);
}

.btn-header-login:hover {
  background: #9a8bc7;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(132, 118, 181, 0.4);
}

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

.btn-header-signup:hover {
  background: #ffe08a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 213, 113, 0.4);
}

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

.burger-line {
  width: 28px;
  height: 3px;
  background: var(--color-text-light);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100vh;
  background: var(--color-primary);
  z-index: 9999;
  transition: left 0.4s ease;
  overflow-y: auto;
}

.mobile-menu-overlay.active {
  left: 0;
}

.mobile-menu-content {
  padding: 20px;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.mobile-logo {
  height: 40px;
}

.mobile-menu-close {
  background: transparent;
  border: none;
  color: var(--color-text-light);
  font-size: 32px;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu-item {
  margin-bottom: 5px;
}

.mobile-nav-link {
  display: block;
  padding: 15px 20px;
  color: var(--color-text-light);
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.mobile-nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-footer {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.online-counter-mobile {
  text-align: center;
  font-size: 16px;
}

/* Hero Banner */
.hero-banner-section {
  background:
    url("/banner-olimp.png") center / cover no-repeat;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-banner-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(132, 118, 181, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content-wrapper {
  position: relative;
  z-index: 2;
}

.hero-title-main {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 15px;
  color: var(--color-text-light);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  line-height: 1.2;

}

.hero-subtitle-text {
  font-size: 22px;
  margin-bottom: 30px;
  color: var(--color-text-dark);
  font-weight: 600;
}

.hero-bonus-info {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-accent) 0%, #ffb347 100%);
  padding: 20px 40px;
  border-radius: 15px;
  margin-bottom: 30px;
  box-shadow: 0 8px 20px rgba(255, 213, 113, 0.3);
    background: rgba(128, 128, 128, 0.6); /* сірий з 60% прозорістю */
    color: #fff;
    padding: 20px;
    border-radius: 10px;
}

.bonus-amount-display {
  display: block;
  font-size: 36px;
  font-weight: 900;
  color: var(--color-text-dark);
  line-height: 1;
}

.bonus-description-text {
  display: block;
  font-size: 16px;
  color: var(--color-text-dark);
  margin-top: 5px;
}

.hero-cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-hero {
  padding: 16px 40px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-hero-primary {
  background: var(--color-accent);
  color: var(--color-text-dark);
}

.btn-hero-primary:hover {
  background: #ffe08a;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 213, 113, 0.5);
}

.btn-hero-secondary {
  background: var(--color-secondary);
  color: var(--color-text-light);
}

.btn-hero-secondary:hover {
  background: #9a8bc7;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(132, 118, 181, 0.5);
}

/* Main Content */
.site-main-content {
  flex: 1;
  padding: 40px 0;
}

.box-styled {
  background: rgba(34, 18, 91, 0.6);
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 30px;
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.section-title-h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 25px;
  color: var(--color-accent);
  text-align: center;
}

/* Casino Info Table */
.table-responsive-wrapper {
  overflow-x: auto;
  margin: 20px 0;
}

.casino-info-table,
.mirrors-table,
.app-info-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
}

.casino-info-table td,
.mirrors-table td,
.mirrors-table th,
.app-info-table td {
  padding: 15px 20px;
  border: 1px solid var(--color-border);
  text-align: left;
}

.param-name-cell {
  font-weight: 600;
  color: var(--color-accent);
  width: 35%;
}

.param-value-cell {
  color: var(--color-text-light);
}

.mirrors-table thead {
  background: rgba(132, 118, 181, 0.3);
}

.mirrors-table th {
  font-weight: 700;
  color: var(--color-accent);
}

.mirrors-update-time {
  text-align: center;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--color-secondary);
}

.status-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

.status-active {
  background: #28a745;
  color: white;
}

.btn-mirror {
  display: inline-block;
  padding: 8px 20px;
  background: var(--color-secondary);
  color: var(--color-text-light);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.btn-mirror:hover {
  background: #9a8bc7;
  transform: translateY(-2px);
}

/* Jackpots Section */
.jackpots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.jackpot-card {
  background: linear-gradient(135deg, rgba(132, 118, 181, 0.3) 0%, rgba(61, 47, 122, 0.3) 100%);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  border: 2px solid var(--color-border);
  transition: all 0.3s ease;
}

.jackpot-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(132, 118, 181, 0.4);
}

.jackpot-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.jackpot-name {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--color-accent);
}

.jackpot-amount {
  font-size: 32px;
  font-weight: 900;
  color: var(--color-text-light);
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(255, 213, 113, 0.5);
}

.btn-jackpot {
  display: inline-block;
  padding: 12px 30px;
  background: var(--color-accent);
  color: var(--color-text-dark);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn-jackpot:hover {
  background: #ffe08a;
  transform: scale(1.05);
}

/* Tournaments Section */
.tournaments-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.tournament-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 25px;
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

.tournament-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.tournament-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.tournament-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-accent);
  margin: 0;
}

.tournament-badge {
  background: #28a745;
  color: white;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
}

.tournament-description {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.85);
}

.tournament-prize {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding: 12px;
  background: rgba(255, 213, 113, 0.1);
  border-radius: 8px;
}

.prize-label {
  font-size: 14px;
  color: var(--color-secondary);
}

.prize-amount {
  font-size: 24px;
  font-weight: 900;
  color: var(--color-accent);
}

.tournament-timer {
  margin-bottom: 20px;
}

.timer-label {
  display: block;
  font-size: 14px;
  color: var(--color-secondary);
  margin-bottom: 10px;
}

.timer-display {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.timer-part {
  background: rgba(132, 118, 181, 0.3);
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
}

.timer-value {
  color: var(--color-accent);
}

.btn-tournament {
  display: block;
  width: 100%;
  padding: 12px;
  background: var(--color-accent);
  color: var(--color-text-dark);
  text-decoration: none;
  text-align: center;
  border-radius: 8px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn-tournament:hover {
  background: #ffe08a;
  transform: scale(1.02);
}

/* Mobile App Section */
.app-content-wrapper {
  margin-top: 20px;
}

.app-description-text {
  text-align: center;
  font-size: 16px;
  margin-bottom: 25px;
  line-height: 1.7;
}

.app-download-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.btn-app-download {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 25px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid var(--color-border);
}

.btn-app-ios {
  background: rgba(132, 118, 181, 0.3);
  color: var(--color-text-light);
}

.btn-app-android {
  background: rgba(132, 118, 181, 0.3);
  color: var(--color-text-light);
}

.btn-app-apk {
  background: rgba(255, 213, 113, 0.2);
  color: var(--color-text-light);
}

.btn-app-download:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.app-store-icon {
  font-size: 32px;
}

.app-store-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.download-on {
  font-size: 12px;
  opacity: 0.8;
}

.store-name {
  font-size: 18px;
  font-weight: 700;
}

/* Demo Game Section */
.demo-description {
  text-align: center;
  margin-bottom: 20px;
}

.demo-game-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  overflow: hidden;
}

.demo-game-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.demo-note {
  text-align: center;
  margin-top: 15px;
  font-size: 14px;
  color: var(--color-secondary);
}

/* Content Section */
.text-content-wrapper {
  line-height: 1.8;
}

.text-content-wrapper h2 {
  font-size: 28px;
  font-weight: 700;
  margin: 30px 0 15px;
  color: var(--color-accent);
}

.text-content-wrapper h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 25px 0 12px;
  color: var(--color-secondary);
}

.text-content-wrapper p {
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.9);
}

.text-content-wrapper ul,
.text-content-wrapper ol {
  margin: 15px 0 15px 25px;
  color: rgba(255, 255, 255, 0.9);
}

.text-content-wrapper li {
  margin-bottom: 8px;
}

.text-content-wrapper strong {
  color: var(--color-accent);
  font-weight: 700;
}

.text-content-wrapper a {
  color: var(--color-secondary);
  text-decoration: underline;
}

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

.text-content-wrapper table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: rgba(255, 255, 255, 0.05);
}

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

.text-content-wrapper table th {
  background: rgba(132, 118, 181, 0.3);
  font-weight: 700;
  color: var(--color-accent);
}

/* FAQ Section */
.q7n4k-faq-section {
  margin-top: 40px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 15px;
  border: 1px solid var(--color-border);
}

.faq-item h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 10px;
}

.faq-item p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

/* Author Section */
.author-info-section {
  margin-top: 40px;
}

.author-card {
  display: flex;
  gap: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 25px;
  border: 1px solid var(--color-border);
}

.author-avatar img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}

.author-details {
  flex: 1;
}

.author-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 5px;
}

.author-role {
  font-size: 16px;
  color: var(--color-secondary);
  margin-bottom: 12px;
}

.author-bio {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.85);
}

.author-linkedin {
  color: var(--color-secondary);
  text-decoration: none;
  font-weight: 600;
}

.author-linkedin:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

/* Footer */
.site-footer-main {
  background: linear-gradient(135deg, var(--color-primary) 0%, #0d0528 100%);
  padding: 50px 0 20px;
  margin-top: 60px;
  border-top: 3px solid var(--color-border);
}

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

.footer-section {
  color: var(--color-text-light);
}

.footer-logo-image {
  margin-bottom: 15px;
}

.footer-description {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.footer-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--color-accent);
}

.footer-menu-list,
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu-item,
.footer-contact-item {
  margin-bottom: 10px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--color-accent);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.contact-icon {
  font-size: 16px;
}

.footer-payments-section,
.footer-providers-section {
  margin-bottom: 30px;
  text-align: center;
}

.footer-subtitle {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--color-secondary);
}

.payment-logos-wrapper,
.provider-logos-wrapper {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.payment-logo,
.provider-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.payment-logo:hover,
.provider-logo:hover {
  opacity: 1;
}

.footer-legal-section {
  margin-bottom: 30px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  text-align: center;
}

.legal-text {
  font-size: 13px;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.7);
}

.legal-warning {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
  margin-top: 15px;
}

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

.copyright-text,
.copyright-subtext {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 5px;
}

/* Sticky Widget */
.sticky-widget-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--color-accent) 0%, #ffb347 100%);
  padding: 15px 20px;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
  z-index: 999;
  animation: slideUp 0.5s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.widget-content-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 15px;
}

.widget-bonus-text {
  display: flex;
  flex-direction: column;
}

.widget-bonus-title {
  font-size: 18px;
  font-weight: 900;
  color: var(--color-text-dark);
  line-height: 1.2;
}

.widget-bonus-subtitle {
  font-size: 14px;
  color: var(--color-text-dark);
  opacity: 0.9;
}

.widget-btn-register {
  padding: 12px 30px;
  background: var(--color-primary);
  color: var(--color-text-light);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

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

/* Unused styles for uniqueness */
.wp-block-cover {
  position: relative;
}
.wp-block-columns {
  display: flex;
}
.elementor-section {
  padding: 20px 0;
}
.astra-container {
  max-width: 1200px;
}
.site-branding {
  display: block;
}
.entry-content {
  margin: 20px 0;
}
.widget-area {
  padding: 15px;
}
.sidebar-primary {
  width: 300px;
}
/* === TABLES: горизонтальний скрол на мобайл ========================== */
@media (max-width:480px){
    /* усі таблиці всередині .add, у т.ч. .roll */
    .add table{
        display: block;              /* щоби overflow працював у Safari */
        width: 100%;
        overflow-x: auto;            /* сам скрол */
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;         /* щоб колонки не ламались у кілька рядків */
        border-collapse: collapse;
        background: #1e1452;         /* не мерехтіло при скролі */
    }
    .add th, .add td{
        min-width: 160px;            /* базова ширина колонок */
        padding: 10px 12px;          /* трохи компактніше на мобі */
        font-size: 14.5px;
    }

    /* акуратний мобільний скролбар (необов’язково) */
    .add table::-webkit-scrollbar{ height: 8px; }
    .add table::-webkit-scrollbar-thumb{
        background: rgba(255,255,255,.25);
        border-radius: 4px;
    }

    /* додатково: запас унизу, якщо є нижній sticky-банер */
    .add{ padding-bottom: 76px; }
}

/* планшети — теж дозволяємо скрол, але з трохи вужчими колонками */
@media (min-width:481px) and (max-width:768px){
    .add table{
        display:block;
        overflow-x:auto;
        white-space:nowrap;
        -webkit-overflow-scrolling:touch;
    }
    .add th, .add td{ min-width: 140px; font-size: 15px; }
}

/* (опція) Закріпити перший стовпець при горизонтальному скролі.
   Розкоментуй, якщо потрібно:

.add td:first-child,
.add th:first-child{
  position: sticky;
  left: 0;
  z-index: 2;
  background: #1e1452;
}
*/
