/* Main Styles for Azino777 */
* {
  box-sizing: border-box;
}

body.azino-body-wrapper {
  margin: 0;
  padding: 0;
  font-family: Helvetica, sans-serif;
  background-color: #020100;
  color: #e0e0e0;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

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

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

.logo-section-block {
  grid-column: 1;
}

.logo-link-anchor {
  display: inline-block;
}

.logo-image-elem {
  height: 50px;
  width: auto;
}

.nav-menu-wrapper {
  grid-column: 2;
}

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

.nav-link-anchor {
  color: #e0e0e0;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s;
}

.nav-link-anchor:hover {
  color: #0b80dc;
}

.online-counter-block {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #a8c94e;
  font-size: 14px;
}

.online-dot-indicator {
  width: 8px;
  height: 8px;
  background: #a8c94e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

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

.btn-header-login {
  background: #0b80dc;
  color: #fff;
  padding: 10px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s;
  display: inline-block;
}

.btn-header-login:hover {
  background: #0968b8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(11, 128, 220, 0.4);
}

.btn-header-signup {
  background: #a8c94e;
  color: #000;
  padding: 10px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s;
  display: inline-block;
}

.btn-header-signup:hover {
  background: #95b442;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(168, 201, 78, 0.4);
}

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

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

.burger-line-elem {
  width: 25px;
  height: 3px;
  background: #fff;
  transition: all 0.3s;
}

/* Hero Section */
.hero-section-block {
  background: linear-gradient(135deg, #1a0a2e 0%, #090111 100%);
  padding: 60px 0;
  margin-top: 20px;
  border-radius: 15px;
  position: relative;
  overflow: hidden;
}

.hero-section-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("/hero-banner.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 0;
}

.hero-content-area {
  position: relative;
  z-index: 1;
  padding: 20px;
}

.hero-main-title {
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-subtitle-text {
  font-size: 20px;
  color: #d0d0d0;
  margin-bottom: 30px;
}

.btn-signup-hero {
  background: #a8c94e;
  color: #000;
  padding: 15px 40px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  display: inline-block;
  transition: all 0.3s;
}

.btn-signup-hero:hover {
  background: #95b442;
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(168, 201, 78, 0.5);
}

.promo-code-card-block {
  background: linear-gradient(145deg, #1a1a2e, #16213e);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
  border: 2px solid #0b80dc;
  position: relative;
  z-index: 1;
}

.promo-header-text {
  color: #0b80dc;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.promo-code-display {
  background: #090111;
  color: #a8c94e;
  font-size: 24px;
  font-weight: 700;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  margin-bottom: 15px;
  letter-spacing: 2px;
  border: 1px dashed #a8c94e;
}

.promo-status-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 13px;
}

.status-active {
  color: #4ade80;
}

.time-remaining {
  color: #fbbf24;
}

.promo-actions-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.btn-copy-promo {
  background: #0b80dc;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-copy-promo:hover {
  background: #0968b8;
}

.btn-activate-promo {
  background: #a8c94e;
  color: #000;
  padding: 12px;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  font-weight: 600;
  transition: all 0.3s;
  display: block;
}

.btn-activate-promo:hover {
  background: #95b442;
}

/* Section Titles */
.section-title-h2 {
  font-size: 36px;
  color: #fff;
  text-align: center;
  margin: 50px 0 30px;
  font-weight: 700;
}

/* Jackpots Section */
.jackpots-section-area {
  padding: 40px 0;
}

.jackpots-grid-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 40px;
}

.jackpot-card-item {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  border: 2px solid #0b80dc;
  transition: all 0.3s;
}

.jackpot-card-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(11, 128, 220, 0.3);
}

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

.jackpot-name-text {
  font-size: 18px;
  color: #d0d0d0;
  margin-bottom: 10px;
}

.jackpot-amount-display {
  font-size: 28px;
  font-weight: 700;
  color: #a8c94e;
}

/* Tournaments Section */
.tournaments-section-block {
  padding: 40px 0;
}

.tournaments-carousel-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.tournament-card-elem {
  background: #1a1a2e;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s;
  border: 1px solid #333;
}

.tournament-card-elem:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
}

.tournament-image-placeholder {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.tournament-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tournament-content-info {
  padding: 20px;
}

.tournament-title-h3 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 10px;
}

.tournament-desc-text {
  font-size: 14px;
  color: #b0b0b0;
  margin-bottom: 15px;
}

.tournament-prize-display {
  font-size: 22px;
  color: #a8c94e;
  font-weight: 700;
  margin-bottom: 15px;
}

.tournament-timer-block {
  background: #090111;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 15px;
}

.timer-display {
  text-align: center;
  color: #fbbf24;
  font-size: 16px;
  font-weight: 600;
}

.btn-join-tournament {
  display: block;
  background: #0b80dc;
  color: #fff;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-join-tournament:hover {
  background: #0968b8;
}

/* Bonuses Section */
.bonuses-section-area {
  padding: 40px 0;
  background: linear-gradient(180deg, #020100 0%, #0d0d0d 100%);
}

.bonuses-carousel-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.bonus-card-block {
  background: linear-gradient(145deg, #1a1a2e, #16213e);
  padding: 35px;
  border-radius: 20px;
  text-align: center;
  border: 2px solid #a8c94e;
  transition: all 0.3s;
}

.bonus-card-block:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 40px rgba(168, 201, 78, 0.3);
}

.bonus-icon-big {
  font-size: 64px;
  margin-bottom: 20px;
}

.bonus-title-text {
  font-size: 22px;
  color: #fff;
  margin-bottom: 15px;
}

.bonus-amount-text {
  font-size: 32px;
  color: #a8c94e;
  font-weight: 700;
  margin-bottom: 15px;
}

.bonus-description-text {
  font-size: 14px;
  color: #b0b0b0;
  margin-bottom: 20px;
}

.btn-get-bonus {
  display: inline-block;
  background: #0b80dc;
  color: #fff;
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-get-bonus:hover {
  background: #0968b8;
  transform: translateY(-2px);
}

/* Demo Game Section */
.demo-game-section-wrapper {
  padding: 40px 0;
}

.demo-game-container {
  max-width: 900px;
  margin: 0 auto;
}

.demo-game-placeholder {
  position: relative;
  width: 100%;
  height: 500px;
  background: #1a1a2e;
  border-radius: 15px;
  overflow: hidden;
}

.demo-game-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.demo-game-overlay {
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.demo-game-overlay p {
  color: #fff;
  font-size: 20px;
}

.btn-play-demo {
  background: #a8c94e;
  color: #000;
  padding: 15px 40px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s;
}

.btn-play-demo:hover {
  background: #95b442;
  transform: scale(1.1);
}

/* Content Section */
.content-text-section {
  padding: 40px 0;
}

.content-text-wrapper {
  background: #1a1a2e;
  padding: 40px;
  border-radius: 15px;
  line-height: 1.8;
}

.content-text-wrapper h2 {
  color: #fff;
  font-size: 28px;
  margin-top: 30px;
  margin-bottom: 15px;
}

.content-text-wrapper h3 {
  color: #0b80dc;
  font-size: 22px;
  margin-top: 25px;
  margin-bottom: 12px;
}

.content-text-wrapper p {
  margin-bottom: 15px;
  color: #d0d0d0;
}

.content-text-wrapper ul,
.content-text-wrapper ol {
  margin-bottom: 20px;
  padding-left: 30px;
  color: #d0d0d0;
}

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

.content-text-wrapper table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px auto;
  background: #090111;
  border-radius: 10px;
  overflow: hidden;
}

.content-text-wrapper table th {
  background: #0b80dc;
  color: #fff;
  padding: 15px;
  text-align: left;
  font-weight: 600;
}

.content-text-wrapper table td {
  padding: 12px 15px;
  border: 1px solid #333;
  color: #d0d0d0;
}

.content-text-wrapper table tr:nth-child(even) {
  background: #0f0f0f;
}

/* Reviews Section */
.reviews-section-block {
  padding: 40px 0;
  background: #0d0d0d;
}

.reviews-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 40px;
}

.review-card-item {
  background: #1a1a2e;
  padding: 25px;
  border-radius: 15px;
  border: 1px solid #333;
}

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

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

.review-author-info {
  flex: 1;
}

.review-author-name {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 5px;
}

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

.review-text-content {
  font-size: 14px;
  line-height: 1.6;
  color: #b0b0b0;
}

/* Review Form */
.review-form-section {
  max-width: 700px;
  margin: 0 auto;
  background: #1a1a2e;
  padding: 35px;
  border-radius: 15px;
}

.form-title-h3 {
  font-size: 24px;
  color: #fff;
  margin-bottom: 25px;
  text-align: center;
}

.form-group-item {
  margin-bottom: 20px;
}

.form-label-text {
  display: block;
  color: #d0d0d0;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
}

.form-input-field,
.form-textarea-field {
  width: 100%;
  padding: 12px;
  background: #090111;
  border: 1px solid #333;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-family: Helvetica, sans-serif;
}

.form-input-field:focus,
.form-textarea-field:focus {
  outline: none;
  border-color: #0b80dc;
}

.btn-submit-review {
  width: 100%;
  background: #a8c94e;
  color: #000;
  padding: 15px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-submit-review:hover {
  background: #95b442;
  transform: translateY(-2px);
}

.form-success-message {
  background: #4ade80;
  color: #000;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  font-weight: 600;
}

/* Footer */
.main-footer-section {
  background: #090111;
  padding: 50px 0 20px;
  margin-top: 60px;
}

.footer-content-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

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

.footer-description-text {
  font-size: 14px;
  color: #b0b0b0;
  line-height: 1.6;
}

.footer-menu-title,
.footer-section-title {
  font-size: 18px;
  color: #fff;
  margin-bottom: 20px;
  font-weight: 600;
}

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

.footer-menu-item {
  margin-bottom: 12px;
}

.footer-link-anchor {
  color: #b0b0b0;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-link-anchor:hover {
  color: #0b80dc;
}

.payment-logos-grid,
.providers-logos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.payment-logo-img,
.provider-logo-img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  background: #1a1a2e;
  padding: 5px;
}

/* Author Info */
.author-info-section {
  background: #1a1a2e;
  padding: 25px;
  border-radius: 15px;
  margin-bottom: 30px;
}

.author-card-wrapper {
  display: flex;
  gap: 20px;
  align-items: center;
}

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

.author-name-text {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.author-position-text {
  font-size: 14px;
  color: #b0b0b0;
  margin-bottom: 10px;
  line-height: 1.5;
}

.author-link-linkedin {
  color: #0b80dc;
  text-decoration: none;
  font-size: 13px;
}

.author-link-linkedin:hover {
  text-decoration: underline;
}

/* Footer Bottom */
.footer-bottom-area {
  border-top: 1px solid #333;
  padding-top: 25px;
  text-align: center;
}

.legal-text-line {
  font-size: 12px;
  color: #888;
  margin: 8px 0;
  line-height: 1.5;
}

/* Bottom Widget */
.bottom-widget-fixed {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(90deg, #0b80dc 0%, #a8c94e 100%);
  padding: 15px 0;
  z-index: 999;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.5);
}

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

.widget-bonus-text {
  color: #000;
  font-size: 16px;
  font-weight: 700;
}

.widget-btn-register {
  background: #000;
  color: #fff;
  padding: 12px 35px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s;
}

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

/* Unused Styles for Uniqueness */
.elementor-widget-container {
  display: none;
}
.wp-block-group {
  margin: 0;
}
.site-branding {
  padding: 0;
}
.entry-content {
  line-height: 1.6;
}
.widget-area {
  display: none;
}
.secondary-navigation {
  visibility: hidden;
}
.post-thumbnail {
  display: block;
}

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

  .nav-menu-wrapper {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    background: #090111;
    padding: 30px;
    transition: left 0.3s;
    grid-column: 1 / -1;
  }

  .nav-menu-wrapper.active {
    left: 0;
  }

  .nav-menu-list {
    flex-direction: column;
    gap: 20px;
  }

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

  .mobile-header-btns {
    display: flex;
    gap: 8px;
  }

  .btn-header-login-mobile,
  .btn-header-signup-mobile {
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
  }

  .btn-header-login-mobile {
    background: #0b80dc;
    color: #fff;
  }

  .btn-header-signup-mobile {
    background: #a8c94e;
    color: #000;
  }

  .burger-menu-btn {
    display: flex;
  }

  .online-counter-block {
    display: none;
  }

  .jackpots-grid-wrapper,
  .bonuses-carousel-container,
  .reviews-grid-container {
    grid-template-columns: 1fr;
  }

  .tournaments-carousel-wrapper {
    grid-template-columns: 1fr;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 15px;
    padding-bottom: 10px;
  }

  .tournament-card-elem {
    scroll-snap-align: start;
    min-width: 280px;
  }

  .footer-content-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .section-title-h2 {
    font-size: 28px;
  }

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

  .widget-content-container {
    flex-direction: column;
    gap: 10px;
  }

  .widget-bonus-text {
    font-size: 14px;
  }

  .content-text-wrapper {
    padding: 20px;
  }
}

/* Horizontal scroll for tables on mobile */
@media (max-width: 768px) {
  .content-text-wrapper {
    overflow-x: auto;
  }

  .content-text-wrapper table {
    min-width: 600px;
  }
}

/* demo game layout */
.demo-game-container{
    max-width: 980px;
    margin: 0 auto;
}

.demo-game-placeholder{
    display: flex;
    flex-direction: column;   /* важливо: кнопка під iframe */
    gap: 14px;
}

/* iframe */
.demo-game-iframe{
    display: block;
    width: 100%;
    height: min(70vh, 520px);
    border: 0;
    border-radius: 14px;
    background: #000;
    box-shadow: 0 12px 40px rgba(0,0,0,.45);
}

/* кнопка блоком під грою */
.demo-game{
    display: flex;
    justify-content: center;
}

.btn-play-demo{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 34px;
    border-radius: 999px;
    background: var(--color-secondary, #a8c94e);
    color: #000;
    font-weight: 800;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 10px 25px rgba(168,201,78,.25);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.btn-play-demo:hover{
    transform: translateY(-2px);
    box-shadow: 0 14px 35px rgba(168,201,78,.35);
    filter: brightness(1.02);
}

/* mobile */
@media (max-width: 768px){
    .demo-game-iframe{
        height: 60vh;
        min-height: 360px;
        border-radius: 12px;
    }
    .btn-play-demo{
        width: 100%;
        max-width: 420px;
        padding: 14px 18px;
    }
}
/* ===== HEADER LAYOUT FIX ===== */
.main-header-block{
    position: sticky;
    top: 0;
    z-index: 9999;
    background: #090111;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.header-flex-wrapper{
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 72px;
}

/* burger always clickable */
.burger-menu-btn{
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.06);
    display: none;            /* show on mobile */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    z-index: 10001;
    padding: 0;
}

.burger-line-elem{
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: rgba(232,232,232,.95);
    position: absolute;
    transition: transform .25s ease, opacity .2s ease;
}
.burger-line-elem:nth-child(1){ transform: translateY(-7px); }
.burger-line-elem:nth-child(2){ transform: translateY(0); }
.burger-line-elem:nth-child(3){ transform: translateY(7px); }

.burger-menu-btn.active .burger-line-elem:nth-child(1){ transform: rotate(45deg); }
.burger-menu-btn.active .burger-line-elem:nth-child(2){ opacity: 0; }
.burger-menu-btn.active .burger-line-elem:nth-child(3){ transform: rotate(-45deg); }

/* ===== MENU BASE (desktop) ===== */
.nav-menu-wrapper{
    margin-left: auto;
}

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

.nav-link-anchor{
    color: #e8e8e8;
    text-decoration: none;
    font-weight: 700;
}

/* ===== MOBILE MENU OVERLAY ===== */
@media (max-width: 992px){
    /* show burger */
    .burger-menu-btn{ display: inline-flex; }

    /* hide desktop buttons if needed (optional) */
    .header-buttons-desktop{ display: none; }

    /* menu becomes overlay */
    .nav-menu-wrapper{
        position: fixed;
        left: 0;
        right: 0;
        top: 72px;              /* height of header */
        bottom: 0;

        display: none;          /* opened by .active */
        z-index: 10000;

        background: #090111;    /* NOT transparent */
        opacity: 1;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;

        padding: 16px;
    }

    .nav-menu-wrapper.active{
        display: block !important;
    }

    .nav-menu-list{
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .nav-menu-item{ list-style: none; }

    .nav-link-anchor{
        display: flex;
        align-items: center;
        justify-content: space-between;

        padding: 14px 14px;
        border-radius: 14px;

        background: rgba(255,255,255,.06);
        border: 1px solid rgba(255,255,255,.10);

        color: #fff;
    }
    .nav-link-anchor::after{
        content: "›";
        opacity: .7;
        font-size: 20px;
    }
}

/* lock scroll when menu open */
body.menu-open{ overflow: hidden; }

/* overlay behind menu */
body.menu-open::before{
    content:"";
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 9998;
}
/* ===== FIX CLICK ISSUE: remove body overlay that blocks clicks ===== */
body.menu-open::before{
    content: none !important;
}

/* menu wrapper must be above everything */
#navMenu.nav-menu-wrapper{
    pointer-events: none;              /* default: не ловить кліки коли закрито */
}

#navMenu.nav-menu-wrapper.active{
    pointer-events: auto !important;   /* коли відкрите — клікабельне */
    z-index: 2147483646 !important;    /* дуже високий */
}

/* overlay робимо всередині меню, але нижче пунктів */
#navMenu.nav-menu-wrapper.active::before{
    content:"" !important;
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0,0,0,.55) !important;
    z-index: -1 !important;            /* ВАЖЛИВО: під меню */
}

/* сам список/пункти меню точно вище overlay */
#navMenu.nav-menu-wrapper .nav-menu-list,
#navMenu.nav-menu-wrapper .nav-menu-item,
#navMenu.nav-menu-wrapper .nav-link-anchor{
    position: relative !important;
    z-index: 1 !important;
}

/* якщо десь є iframe/hero/widget поверх — меню все одно буде над ним */
.main-header-block{
    z-index: 2147483647 !important;
}
