/* Main Styles for Slottica Casino KZ */

:root {
  --color-primary: #0255c2;
  --color-secondary: #54b146;
  --color-bg: #f5f5f5;
  --color-white: #ffffff;
  --color-text: #333333;
  --color-text-light: #666666;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

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

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

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

.logo-img {
  max-width: 180px;
  height: auto;
}

.header-nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 25px;
  margin-left: 40px;
}

.header-nav a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.header-nav a:hover {
  color: var(--color-primary);
}

.online-counter {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  padding: 8px 15px;
  border-radius: 20px;
  color: white;
  font-size: 14px;
  margin-right: 20px;
}

.btn-header {
  padding: 10px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  margin-left: 10px;
}

.btn-login {
  background-color: var(--color-primary);
  color: white;
  border: 2px solid var(--color-primary);
}

.btn-login:hover {
  background-color: #013d8f;
  transform: translateY(-2px);
}

.btn-signup {
  background-color: var(--color-secondary);
  color: white;
  border: 2px solid var(--color-secondary);
}

.btn-signup:hover {
  background-color: #3d8a35;
  transform: translateY(-2px);
}

.mobile-header-buttons {
  display: none;
}

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

.burger-menu span {
  width: 25px;
  height: 3px;
  background-color: var(--color-text);
  margin: 3px 0;
  transition: 0.3s;
}

.mobile-nav {
  display: none;
  background-color: var(--color-white);
  padding: 20px;
}

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

.mobile-nav-list li {
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}

.mobile-nav-list a {
  color: var(--color-text);
  text-decoration: none;
  font-size: 18px;
}

/* Hero Section */
.hero-section {
  background-image: url("/banner5.png");
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
  padding: 80px 20px;
  text-align: center;
  color: white;
  position: relative;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(128, 128, 128, 0.6); /* сірий з 60% прозорістю */
  color: #fff;
  padding: 20px;
  border-radius: 10px;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInDown 1s;
}

.hero-subtitle {
  font-size: 24px;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-bonus-amount {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 30px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: pulse 2s infinite;
}

.hero-cta-btn {
  display: inline-block;
  background-color: var(--color-secondary);
  color: white;
  padding: 18px 50px;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.hero-cta-btn:hover {
  background-color: #3d8a35;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Container */
.container-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  flex: 1;
}

/* Breadcrumbs */
.breadcrumbs-wrapper {
  padding: 20px 0;
}

.breadcrumbs {
  font-size: 14px;
  color: var(--color-text-light);
}

.breadcrumbs a {
  color: var(--color-primary);
  text-decoration: none;
}

.breadcrumb-separator {
  margin: 0 10px;
}

.breadcrumb-current {
  color: var(--color-text);
}

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

.content-article h2 {
  font-size: 32px;
  color: var(--color-text);
  margin-top: 40px;
  margin-bottom: 20px;
}

.content-article h3 {
  font-size: 24px;
  color: var(--color-text);
  margin-top: 30px;
  margin-bottom: 15px;
}

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

.content-article ul,
.content-article ol {
  line-height: 1.8;
  margin-bottom: 20px;
  padding-left: 30px;
}

.content-article table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px auto;
  max-width: 800px;
}

.content-article table td,
.content-article table th {
  border: 2px solid #ddd;
  padding: 12px;
  text-align: left;
}

.content-article table th {
  background-color: var(--color-primary);
  color: white;
}

/* Advantages Section */
.xj8k2-advantages {
  background-color: white;
  padding: 50px 30px;
  border-radius: 15px;
  margin-bottom: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.xj8k2-advantages h2 {
  text-align: center;
  margin-bottom: 40px;
  color: var(--color-primary);
}

.row-adv {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.adv-card {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.adv-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

.adv-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--color-primary);
}

/* Screenshots Section */
.qw7n5-screenshots {
  background-color: white;
  padding: 50px 30px;
  border-radius: 15px;
  margin-bottom: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.qw7n5-screenshots h2 {
  text-align: center;
  margin-bottom: 40px;
  color: var(--color-primary);
}

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

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

.screenshot-item img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

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

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

/* App Info Section */
.app-info-section {
  background-color: white;
  padding: 50px 30px;
  border-radius: 15px;
  margin-bottom: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.app-info-section h2 {
  text-align: center;
  margin-bottom: 40px;
  color: var(--color-primary);
}

.app-content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
}

.app-table-container {
  flex: 1;
  min-width: 300px;
}

.app-info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
}

.app-info-table td {
  border: 2px solid #ddd;
  padding: 15px;
  text-align: left;
}

.app-info-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.app-download-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex: 1;
  min-width: 250px;
}

.app-btn {
  display: flex;
  align-items: center;
  padding: 15px 25px;
  border-radius: 12px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  transition: all 0.3s;
  gap: 15px;
}

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

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

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

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

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

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

.app-text small {
  font-size: 12px;
  opacity: 0.9;
}

.app-text strong {
  font-size: 18px;
}

/* Slot Game Section */
.slot-game-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 50px 30px;
  border-radius: 15px;
  margin-bottom: 40px;
  text-align: center;
  color: white;
}

.slot-game-section h2 {
  margin-bottom: 30px;
}

.slot-machine {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 20px;
  max-width: 500px;
  margin: 0 auto;
  backdrop-filter: blur(10px);
}

.slot-display {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.reel {
  width: 100px;
  height: 100px;
  background-color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.spin-btn {
  background-color: var(--color-secondary);
  color: white;
  border: none;
  padding: 15px 50px;
  font-size: 20px;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
}

.spin-btn:hover {
  background-color: #3d8a35;
  transform: scale(1.05);
}

.spin-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.slot-result {
  margin-top: 20px;
  font-size: 24px;
  font-weight: 700;
  min-height: 80px;
}

.slot-result.win {
  color: #ffd700;
  animation: winAnimation 0.5s;
}

/* Reviews Section */
.reviews-section {
  background-color: white;
  padding: 50px 30px;
  border-radius: 15px;
  margin-bottom: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.reviews-section h2 {
  text-align: center;
  margin-bottom: 40px;
  color: var(--color-primary);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-bottom: 50px;
}

.review-card {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  gap: 15px;
}

.review-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.review-author {
  font-weight: 700;
  font-size: 18px;
  display: block;
  margin-bottom: 5px;
}

.review-rating {
  color: #ffd700;
  font-size: 18px;
}

.review-text {
  line-height: 1.7;
  color: var(--color-text);
}

/* Review Form */
.review-form-section {
  max-width: 600px;
  margin: 0 auto;
  padding-top: 30px;
  border-top: 2px solid #eee;
}

.review-form-section h3 {
  text-align: center;
  margin-bottom: 25px;
  color: var(--color-primary);
}

.review-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--color-text);
}

.form-group input,
.form-group textarea {
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.submit-review-btn {
  background-color: var(--color-secondary);
  color: white;
  border: none;
  padding: 15px 40px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
}

.submit-review-btn:hover {
  background-color: #3d8a35;
  transform: translateY(-2px);
}

.form-success-message {
  background-color: #d4edda;
  color: #155724;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  margin-top: 20px;
}

/* Footer */
.footer-main {
  background-color: var(--color-white);
  padding: 50px 0 20px;
  margin-top: 60px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

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

.footer-logo {
  max-width: 160px;
  margin-bottom: 15px;
}

.footer-description {
  color: var(--color-text-light);
  line-height: 1.6;
}

.footer-nav-section h4,
.footer-info-section h4,
.footer-contact-section h4 {
  color: var(--color-primary);
  margin-bottom: 15px;
}

.footer-nav-list,
.footer-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav-list li,
.footer-info-list li {
  margin-bottom: 10px;
}

.footer-nav-list a,
.footer-info-list a {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-nav-list a:hover,
.footer-info-list a:hover {
  color: var(--color-primary);
}

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

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

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

.payment-logos img,
.provider-logos img {
  height: 40px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.3s;
}

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

.footer-bottom {
  border-top: 1px solid #eee;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-legal {
  flex: 1;
}

.footer-legal p {
  margin: 5px 0;
  color: var(--color-text-light);
  font-size: 14px;
}

.legal-text {
  font-size: 12px;
}

.age-badge {
  background-color: #ff4444;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
}

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

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

.widget-bonus-info {
  display: flex;
  align-items: center;
  gap: 15px;
  color: white;
}

.widget-icon {
  font-size: 36px;
}

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

.widget-text strong {
  font-size: 20px;
}

.widget-text span {
  font-size: 16px;
}

.widget-btn {
  background-color: white;
  color: var(--color-primary);
  padding: 12px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s;
}

.widget-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.widget-close {
  background: none;
  border: none;
  color: white;
  font-size: 32px;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}

.widget-close:hover {
  transform: rotate(90deg);
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

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

@keyframes winAnimation {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

@keyframes spin {
  0% {
    transform: rotateX(0deg);
  }
  100% {
    transform: rotateX(360deg);
  }
}

/* Responsive Design */
@media (max-width: 992px) {
  .desktop-nav {
    display: none;
  }

  .desktop-buttons {
    display: none;
  }

  .mobile-header-buttons {
    display: flex;
    gap: 10px;
    margin-right: 15px;
  }

  .btn-mobile {
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
  }

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

  .btn-signup-mobile {
    background-color: var(--color-secondary);
    color: white;
  }

  .burger-menu {
    display: flex;
  }

  .mobile-nav.active {
    display: block;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-bonus-amount {
    font-size: 40px;
  }

  .screenshots-slider {
    overflow-x: auto;
    display: flex;
    scroll-snap-type: x mandatory;
    gap: 15px;
  }

  .screenshot-item {
    flex: 0 0 80%;
    scroll-snap-align: center;
  }

  .slot-display {
    gap: 10px;
  }

  .reel {
    width: 80px;
    height: 80px;
    font-size: 48px;
  }

  .widget-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 24px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-bonus-amount {
    font-size: 32px;
  }

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

  .row-adv {
    grid-template-columns: 1fr;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }
}

/* Unused styles for obfuscation */
.wp-block-image {
  display: block;
}
.wp-block-gallery {
  margin: 0;
}
.elementor-widget-wrap {
  padding: 0;
}
.yoast-breadcrumb {
  font-size: 14px;
}
.wp-caption {
  max-width: 100%;
}/* ===== MOBILE-ONLY FIXES (не торкаються десктопу) ===== */

/* вузькі телефони */
@media (max-width: 576px){
  /* 1) жорстко прибираємо горизонтальний скрол тільки на мобі */
  html, body { max-width:100%; overflow-x:hidden; }

  /* 2) контейнер та ключові секції не ширші за екран */
  .wrapper-main,
  .container-main,
  .hero-section,
  .xj8k2-advantages,
  .qw7n5-screenshots,
  .reviews-section,
  .footer-main,
  .sticky-widget { max-width:100%; overflow-x:hidden; }

  /* 3) грід «Переваги»: колонки не ширші за контейнер */
  .row-adv { grid-template-columns: 1fr; } /* було auto-fit,minmax(300px,1fr) */

  /* 4) блок «Скриншоти»: без горизонтального вилазання */
  .screenshots-slider{ display:grid; grid-template-columns:1fr; gap:12px; overflow-x:hidden; }
  .screenshot-item{ width:100%; }

  /* 5) довгі рядки переносяться, не рвуть ширину */
  .breadcrumbs,
  .online-counter,
  .widget-text { white-space:normal; overflow-wrap:anywhere; }

  /* 6) картинки/таблиці вміщуються */
  img{ max-width:100%; height:auto; display:block; }
  .content-article table{ display:block; width:100%; overflow-x:auto; }

  /* 7) sticky-виджет не розтягує в’юпорт */
  .sticky-widget{ left:0; right:0; width:100%; box-sizing:border-box; }
  .widget-content{ max-width:100%; width:100%; flex-direction:column; text-align:center; }
  .widget-btn{ width:100%; }
}

/* телефони 577–768px (планшети вертикально) */
@media (min-width: 577px) and (max-width: 768px){
  html, body { max-width:100%; overflow-x:hidden; }

  .row-adv { grid-template-columns: repeat(2, 1fr); } /* 2 колонки замість мінімум 300px */
  .screenshots-slider{ overflow-x:hidden; }
  .widget-content{ max-width:100%; }
}
