/* Airy glass header: navigation, central wordmark and direct contacts. */
:root { --tugan-header-height: 112px; --tugan-menu-top: 112px; }
#header-wrapper.type-header { position: absolute !important; inset: 0 0 auto; width: 100%; height: 0; z-index: 1005; }
#header.tugan-header {
  position: absolute; inset: 0 0 auto; z-index: 1005; width: 100%;
  margin: 0; padding: 12px 0 6px; color: #f5f4fc; background: transparent;
  border: 0; box-shadow: none; isolation: isolate;
}
#header.tugan-header::before {
  content: ""; position: absolute; z-index: -1; inset: -12px 0 -62px;
  background: linear-gradient(180deg, #15102c82 0%, #17122e55 55%, #19113119 82%, transparent);
  backdrop-filter: blur(20px) saturate(120%); -webkit-backdrop-filter: blur(20px) saturate(120%);
  mask-image: linear-gradient(180deg, #000 0%, #000 52%, #0009 74%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 52%, #0009 74%, transparent 100%);
  pointer-events: none;
}
#header.tugan-header::after { content: none; }
#header.tugan-header .tugan-header__inner {
  display: grid; grid-template-columns: minmax(0,1fr) 290px minmax(0,1fr);
  align-items: center; gap: 22px; width: 100%; max-width: 1920px;
  min-height: 72px; margin: 0 auto; padding: 0 36px;
}
#header.tugan-header .tugan-header__side { display: flex; align-items: center; min-width: 0; }
#header.tugan-header .tugan-header__side--left { grid-area: 1 / 1; justify-content: flex-start; }
#header.tugan-header .tugan-header__side--right { grid-area: 1 / 3; justify-content: flex-end; gap: 20px; }
#header.tugan-header .logo { grid-area: 1 / 2; display: block; width: 290px; height: 72px; max-height: none; margin: 0; padding: 0; flex: none; transform: none; }
#header.tugan-header .logo .tugan-brand { position: relative; display: flex; align-items: center; width: 100%; height: 100%; max-width: none; line-height: 0; border: 0; isolation: isolate; }
#header.tugan-header .tugan-brand::before {
  content: ""; position: absolute; z-index: -1; inset: 19% -12%;
  background: radial-gradient(ellipse at 32% 50%, #38ffe638, transparent 66%), radial-gradient(ellipse at 75% 52%, #9269ff44, transparent 64%);
  filter: blur(15px); opacity: .7; pointer-events: none; animation: tugan-brand-aura 7s ease-in-out infinite alternate;
}
#header.tugan-header .logo img {
  display: block; width: 100%; height: auto; max-height: none; object-fit: contain;
  filter: drop-shadow(0 0 2px #6fffe680) drop-shadow(0 0 10px #22ddca58) drop-shadow(0 0 23px #5069e830);
  transition: filter .35s ease;
}
#header.tugan-header .tugan-brand:hover img { filter: drop-shadow(0 0 3px #8dffee99) drop-shadow(0 0 15px #26e2d36e) drop-shadow(0 0 30px #7363f34a); }
@keyframes tugan-brand-aura { from { opacity: .5; transform: scale(.94); } to { opacity: .85; transform: scale(1.07); } }
#header.tugan-header .tugan-header__nav {
  display: inline-flex; align-items: center; justify-content: center; flex-wrap: nowrap;
  gap: 2px; width: auto; max-width: 100%; min-height: 48px; margin: 0; padding: 3px 6px;
  border: 1px solid #b5e1df30; border-radius: 999px; background: #d7ddff05;
  box-shadow: inset 0 1px 0 #d3ecf209, 0 6px 24px #08072212;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
#header.tugan-header .tugan-header__nav a {
  display: flex; align-items: center; justify-content: center; min-height: 40px;
  padding: 8px 13px; border: 0; border-radius: 99px; color: #eee9f6;
  font-size: 13px; line-height: 1.2; white-space: nowrap; text-decoration: none;
  text-shadow: 0 1px 8px #060419b3; transition: color .25s, background .25s, text-shadow .25s;
}
#header.tugan-header .tugan-header__nav a:hover, #header.tugan-header .tugan-header__nav a[aria-current] {
  color: #9cfff0; background: #92f3e511; text-shadow: 0 0 15px #47edd051;
}
#header.tugan-header .contacts { display: flex; align-items: center; margin: 0; padding: 0; }
#header.tugan-header .phone-content {
  display: flex; align-items: center; justify-content: center; min-height: 46px;
  padding: 9px 17px; color: #f6f3ff; font-size: 16px !important; font-weight: 500; line-height: 1.2;
  border: 1px solid #b5e1df30; border-radius: 99px; background: #d7ddff04; white-space: nowrap; text-decoration: none;
  transition: color .25s, border-color .25s, box-shadow .25s;
}
#header.tugan-header .phone-content:hover { color: #9cfff0; border-color: #7fe7da66; box-shadow: 0 0 20px #36cabd13; }
#header.tugan-header .tugan-header__blog { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #dbd5e8; border: 0; }
#header-wrapper .tugan-header__socials { display: flex; align-items: center; gap: 17px; }
#header-wrapper .tugan-social {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px;
  padding: 4px 0; border: 0; border-radius: 6px; color: #eeeaf6; background: none;
  font-size: 12px; letter-spacing: .025em; line-height: 1; text-decoration: none; white-space: nowrap;
  text-shadow: 0 1px 8px #08051bb3; transition: color .25s, filter .25s, transform .25s;
}
#header-wrapper .tugan-social img { display: block; width: 18px; height: 18px; border-radius: 50%; object-fit: contain; }
#header-wrapper .tugan-social--max img { border-radius: 6px; }
#header-wrapper .tugan-social:hover { color: #aafff0; filter: drop-shadow(0 0 7px #5bddd342); transform: translateY(-1px); }
#header.tugan-header .tugan-header__details {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  width: 100%; max-width: 1920px; margin: 0 auto; padding: 0 45px; min-height: 25px;
  font-size: 12px; line-height: 1.5; color: #c8bdd5; text-shadow: 0 1px 8px #09091acc;
}
#header.tugan-header .tugan-header__address { color: #cdc4da; font-size: 12px; line-height: 1.5; border: 0; text-decoration: none; }
#header.tugan-header .tugan-header__address span { color: #a499b7; }
#header.tugan-header .tugan-header__details-right { display: flex; align-items: center; gap: 20px; }
#header.tugan-header .header__mode { display: block; margin: 0; color: #c8bdd5; font-size: 12px; line-height: 1.5; font-weight: 400; white-space: nowrap; }
#header-wrapper .tugan-header__callback {
  appearance: none; display: inline-block; width: auto; padding: 2px 0; margin: 0; border: 0;
  border-bottom: 1px solid #8de9dc29; border-radius: 0; background: none; color: #bbddd8; box-shadow: none;
  font: inherit; font-size: 12px; line-height: 1.3; text-transform: none; white-space: nowrap; cursor: pointer;
}
#header-wrapper .tugan-header__callback:hover { color: #b4fff1; border-bottom-color: #80e7d973; }
#header.tugan-header .tugan-header__phone, #header.tugan-header .tugan-header__mobile-meta, #header-wrapper .mobile-icon { display: none; }
#header-wrapper a:focus-visible, #header-wrapper button:focus-visible { outline: 2px solid #a1f8e8; outline-offset: 4px; border-radius: 6px; }
#contacts.contacts-page, #privacy, section.blog, section.post { padding-top: calc(var(--tugan-header-height) + 20px); }
section.blog .blog-inner, section.post .post-content { padding-top: 0; }
#hero.hero .hero__content, #hero.no-bg .main, #hero.g-hero .main { padding-top: calc(var(--tugan-header-height) + 20px); }
#vr-games, #vip-rooms, #about, #reviews { scroll-margin-top: 24px; }
#header-wrapper .mobile.menus {
  position: fixed; inset: var(--tugan-menu-top, 0px) 0 0; z-index: 1004; width: 100%;
  height: auto; margin: 0; background: transparent; opacity: 0; visibility: hidden;
  pointer-events: none; overflow: hidden; transition: opacity .22s, visibility .22s;
}
#header-wrapper .mobile.menus.active { visibility: visible; opacity: 1; pointer-events: auto; overflow: hidden; }
#header-wrapper .mobile__blur { position: absolute; inset: 0; width: 100%; height: 100%; background: #09061999; backdrop-filter: blur(8px); }
#header-wrapper .mobile__inner {
  position: relative; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start;
  width: 100%; max-width: 560px; height: 100%; max-height: none; padding: 26px 28px 38px;
  margin: 0 0 0 auto; overflow-y: auto; overscroll-behavior: contain;
  background: linear-gradient(150deg, #24153c, #14112b); border-left: 1px solid #8675d42e;
  transform: translateX(18px); transition: transform .25s; text-align: left;
}
#header-wrapper .mobile.active .mobile__inner { transform: translateX(0); }
#header-wrapper .tugan-mobile-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
#header-wrapper .tugan-mobile-heading>span { font-size: 13px; color: #8d80a9; letter-spacing: .06em; text-transform: uppercase; }
#header-wrapper [data-close-menu] { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid #998ac132; background: #ab83e009; border-radius: 8px; color: #eae0f6; cursor: pointer; }
#header-wrapper .tugan-mobile-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 0 0 26px; }
#header-wrapper .tugan-mobile-nav a:last-child:nth-child(odd) { grid-column: 1 / -1; }
/* The address button carries the address itself under its label. */
#header-wrapper .tugan-mobile-nav a.tugan-mobile-nav__address { flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; }
#header-wrapper .tugan-mobile-nav__place { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; line-height: 1.45; color: #b9adcf; }
#header-wrapper .tugan-mobile-nav__place svg { flex: 0 0 15px; width: 15px; height: 15px; margin-top: 2px; color: #71f7e2; }

/* Phones: the theme hides its "back to top" button below 768px (base.min.css). Show it once the page is scrolled
   (the theme's script adds .active after 100px) as a round glass button with a cyan arrow. */
@media (max-width: 767px) {
  .scrollup.active { display: grid; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .scrollup {
    place-items: center; width: 48px; height: 48px; padding: 0; opacity: 1; overflow: visible;
    border: 1px solid #71f7e259; border-radius: 50%; background: rgb(35 24 66 / .8);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    box-shadow: 0 8px 22px rgb(5 3 16 / .5), 0 0 16px rgb(0 200 255 / .18);
    -webkit-tap-highlight-color: transparent;
  }
  .scrollup:hover { width: 48px; }
  .scrollup .icon, .scrollup .icon:hover, .scrollup .icon:focus, .scrollup .icon:active {
    position: static; width: auto; height: auto; border: 0; border-radius: 0; background: none; color: #71f7e2;
  }
  .scrollup .icon svg { display: block; width: 22px; height: 22px; fill: currentColor; }
  .scrollup .tooltip { display: none; }
  /* Never over an open popup, the open mobile menu or the promo overlay. */
  html.with-fancybox .scrollup, body.hiddenbody .scrollup, body:has(.popup__bvg.active) .scrollup { display: none; }
}
#header-wrapper .tugan-mobile-nav a { display: flex; align-items: center; min-height: 56px; padding: 13px 14px; border: 1px solid #8f79c43d; border-radius: 9px; background: #9972d70a; color: #efe7fc; font-size: 17px; line-height: 1.25; text-decoration: none; }
#header-wrapper .tugan-mobile-nav a:hover, #header-wrapper .tugan-mobile-nav a[aria-current] { color: #71f7e2; border-color: #6defd371; background: #61dec010; }
#header-wrapper .tugan-mobile-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; padding-top: 22px; border-top: 1px solid #9383be2e; }
#header-wrapper .tugan-mobile-phone { font-size: 23px; color: #fff; font-weight: 700; border: 0; }
#header-wrapper .tugan-mobile-address { display: block; margin: 21px 0 22px; max-width: 400px; font-size: 15px; line-height: 1.6; color: #ddd2ef; border: 0; }
#header-wrapper .tugan-mobile-address span { display: block; color: #aa98c2; font-size: 12px; margin-top: 4px; }
#header-wrapper .mobile__inner .tugan-social { min-height: 40px; padding-inline: 12px 16px; font-size: 15px; }

@media (min-width: 1600px) {
  #header.tugan-header .tugan-header__nav a { padding-inline: 15px; font-size: 14px; }
  #header.tugan-header .phone-content { font-size: 17px !important; }
  #header-wrapper .tugan-social { font-size: 13px; }
}
@media (min-width: 1200px) and (max-width: 1439px) {
  #header.tugan-header .tugan-header__inner { grid-template-columns: minmax(0,1fr) 228px minmax(0,1fr); gap: 16px; padding-inline: 26px; }
  #header.tugan-header .logo { width: 228px; }
  #header.tugan-header .tugan-header__nav { padding-inline: 4px; gap: 0; }
  #header.tugan-header .tugan-header__nav a { padding-inline: 8px; font-size: 12px; }
  #header.tugan-header .tugan-header__side--right { gap: 13px; }
  #header.tugan-header .phone-content { padding-inline: 12px; font-size: 14px !important; }
  #header.tugan-header .tugan-header__blog { font-size: 11px; }
  #header-wrapper .tugan-header__socials { gap: 11px; }
  #header-wrapper .tugan-social { font-size: 11px; gap: 5px; }
  #header.tugan-header .tugan-header__details { padding-inline: 35px; }
}
@media (max-width: 1199px) {
  :root { --tugan-header-height: 120px; --tugan-menu-top: 120px; }
  #header.tugan-header { padding: 10px 0 6px; }
  #header.tugan-header::before { bottom: -50px; }
  #header.tugan-header .tugan-header__inner { grid-template-columns: minmax(0,1fr) min(280px,calc(100vw - 142px)) minmax(0,1fr); gap: 12px; padding: 0 22px; min-height: 70px; }
  #header.tugan-header .logo { width: min(280px,calc(100vw - 142px)); height: 70px; }
  #header.tugan-header .tugan-header__side, #header.tugan-header .tugan-header__details { display: none; }
  #header.tugan-header .tugan-header__phone, #header-wrapper .mobile-icon {
    display: flex; align-items: center; justify-content: center; width: 42px; height: 42px;
    position: relative !important; inset: auto !important; margin: 0; padding: 0; z-index: auto;
    border: 1px solid #b5e1df29; border-radius: 50%; background: #c9e6ec06;
    backdrop-filter: blur(8px); color: #a8f5e8; box-shadow: none; transform: none; opacity: 1; cursor: pointer;
  }
  #header-wrapper .mobile-icon { display: flex !important; grid-area: 1 / 1; justify-self: start; }
  #header.tugan-header .tugan-header__phone { grid-area: 1 / 3; justify-self: end; }
  #header-wrapper .mobile-icon .open { position: relative; display: block; width: 20px; height: 18px; margin: 0; padding: 0; }
  #header-wrapper .mobile-icon .open span { position: absolute; left: 0; right: auto; display: block; width: 20px; height: 1.5px; margin: 0; background: #a8f5e8; transition: transform .2s, opacity .2s; }
  #header-wrapper .mobile-icon .open span:nth-child(1) { top: 2px; }
  #header-wrapper .mobile-icon .open span:nth-child(2) { top: 8px; }
  #header-wrapper .mobile-icon .open span:nth-child(3) { top: 14px; }
  #header-wrapper .mobile-icon.active .open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  #header-wrapper .mobile-icon.active .open span:nth-child(2) { opacity: 0; width: 20px; }
  #header-wrapper .mobile-icon.active .open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  #header.tugan-header .tugan-header__mobile-meta { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 25px; min-height: 31px; padding: 0; border: 0; }
  #header.tugan-header .header__mode { display: flex; gap: 6px; margin: 0; font-size: 12px; line-height: 1.4; }
  #header.tugan-header .header__mode strong { color: #e3ded0; font-size: inherit; font-weight: 500; white-space: nowrap; }
  #header.tugan-header .tugan-header__socials { gap: 16px; }
  #header.tugan-header .tugan-social { min-height: 32px; padding: 4px 0; gap: 6px; font-size: 12px; }
  #header.tugan-header .tugan-social img { width: 18px; height: 18px; }
}
@media (max-width: 540px) {
  #header.tugan-header .tugan-header__inner { padding-inline: 18px; }
  #header.tugan-header .tugan-header__mobile-meta { margin-inline: 21px; }
  #header.tugan-header .header__mode { display: block; font-size: 11px; line-height: 1.4; }
  #header.tugan-header .header__mode span, #header.tugan-header .header__mode strong { display: block; }
  #header.tugan-header .header__mode strong { font-size: 12px; }
  #header-wrapper .mobile__inner { padding: 20px 18px 32px; border-left: 0; }
  #header-wrapper .tugan-mobile-nav a { padding: 12px 10px; font-size: 15px; }
}

@media (min-width: 1440px) and (max-width: 1599px) {
  #header.tugan-header .tugan-header__nav a { padding-inline: 8px; }
}

/* Shared optical alignment: the lettering sits slightly below the image centre. */
@media (min-width: 1200px) {
  #header.tugan-header .tugan-header__inner { align-items: start; }
  #header.tugan-header .logo { align-self: start; }
  #header.tugan-header .tugan-header__side {
    display: grid; grid-template-rows: 48px 22px; align-items: center;
    row-gap: 10px; padding-top: 20px;
  }
  #header.tugan-header .tugan-header__side--left { justify-content: start; }
  #header.tugan-header .tugan-header__side--right {
    grid-template-columns: max-content max-content max-content;
    justify-content: end; column-gap: 16px;
  }
  #header.tugan-header .tugan-header__nav { grid-area: 1 / 1; }
  #header.tugan-header .tugan-header__address {
    grid-area: 2 / 1; display: inline-flex; align-items: center; justify-self: start;
    gap: 8px; margin-left: 7px; font-size: 14px; line-height: 22px;
    color: #ded5eb; white-space: nowrap; text-shadow: 0 1px 8px #09091acc;
    transition: color .25s, text-shadow .25s;
  }
  #header.tugan-header .tugan-header__address .address-copy { color: inherit; }
  #header.tugan-header .tugan-header__address .address-floor { font-size: 12px; color: #b9accb; }
  #header.tugan-header .tugan-header__address:hover { color: #a6fff0; text-shadow: 0 0 12px #53dccc44; }
  #header.tugan-header .contacts {
    grid-area: 1 / 1 / 3 / 2; display: grid; grid-template-rows: 48px 22px;
    align-items: center; justify-items: center; gap: 10px; align-self: stretch;
  }
  #header.tugan-header .phone-content { min-height: 48px; width: 100%; }
  #header.tugan-header .contacts .tugan-header__callback {
    height: 22px; padding: 0; font-size: 14px; line-height: 21px;
    color: #d1ece7; transition: color .25s, text-shadow .25s, border-color .25s;
  }
  #header.tugan-header .contacts .tugan-header__callback:hover { color: #b0ffef; text-shadow: 0 0 12px #69e5d866; }
  #header.tugan-header .tugan-header__blog { grid-area: 1 / 2; }
  #header.tugan-header .tugan-header__side--right > .tugan-header__socials { grid-area: 1 / 3; }
  #header.tugan-header .tugan-header__side--right > .header__mode {
    grid-area: 2 / 2 / 3 / 4; justify-self: center; font-size: 14px; line-height: 22px; color: #d8cfe5;
  }
}
#header-wrapper .tugan-address-icon { flex: 0 0 auto; color: #80ddda; filter: drop-shadow(0 0 5px #62dcca2b); }
#header.tugan-header .tugan-header__blog {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  gap: 7px; min-height: 42px; padding: 8px 10px; margin-inline: -10px;
  border-radius: 999px; text-decoration: none;
  transition: color .25s, background .25s, box-shadow .25s, text-shadow .25s;
}
#header-wrapper .tugan-blog-icon { flex: 0 0 auto; transition: filter .3s, transform .3s; }
#header.tugan-header .tugan-header__blog:is(:hover,:focus-visible,[aria-current]) {
  color: #b6fff2; background: linear-gradient(115deg,#57edd524,#9f5dff1f);
  box-shadow: inset 0 0 0 1px #7eefdc4a, 0 0 22px #3cddc918; text-shadow: 0 0 12px #70f7df66;
}
#header.tugan-header .tugan-header__blog:is(:hover,:focus-visible,[aria-current]) .tugan-blog-icon {
  filter: drop-shadow(0 0 5px #6ef6de99); transform: translateY(-1px);
}
#header.tugan-header .tugan-header__nav { position: relative; isolation: isolate; }
#header.tugan-header .tugan-nav-lens {
  position: absolute; top: 0; left: 0; z-index: 0; display: block; pointer-events: none;
  width: var(--nav-lens-width,0px); height: var(--nav-lens-height,40px);
  transform: translate3d(var(--nav-lens-x,0px),var(--nav-lens-y,0px),0);
  border: 1px solid #8dffe064; border-radius: 999px; opacity: 0; overflow: hidden;
  background: linear-gradient(115deg,#38e5d82e,#5768e72b 55%,#b16aff30);
  box-shadow: inset 0 1px 0 #c2fff535, inset 0 -1px 7px #47d9d417, 0 0 18px #49e1cf21;
  transition: transform .42s cubic-bezier(.22,1,.36,1), width .42s cubic-bezier(.22,1,.36,1),
    height .3s, opacity .22s;
}
#header.tugan-header .tugan-nav-lens::before {
  content: ""; position: absolute; inset: -60% -20%;
  background: linear-gradient(110deg,transparent 36%,#c1fff722 48%,transparent 60%);
  transform: translateX(-80%); opacity: 0;
}
#header.tugan-header .is-lens-visible .tugan-nav-lens { opacity: 1; }
#header.tugan-header .is-lens-visible .tugan-nav-lens::before { animation: tugan-nav-sheen 1.1s ease both; }
#header.tugan-header .tugan-header__nav a {
  position: relative; z-index: 1;
  transition: color .25s, background .25s, text-shadow .25s;
}
#header.tugan-header .tugan-header__nav a::after {
  content: ""; position: absolute; left: 28%; right: 28%; bottom: 3px; height: 2px;
  border-radius: 2px; background: linear-gradient(90deg,transparent,#a0ffed,transparent);
  box-shadow: 0 0 8px #59faddaa; transform: scaleX(.3); opacity: 0;
  transition: transform .3s, opacity .3s;
}
#header.tugan-header .tugan-header__nav a:is(:hover,:focus-visible,[aria-current]) {
  color: #c8fff3; background: #7de9d809; text-shadow: 0 0 12px #7ef6e38c;
}
#header.tugan-header .tugan-header__nav a:is(:hover,:focus-visible,[aria-current])::after { opacity: 1; transform: scaleX(1); }
@keyframes tugan-nav-sheen { 15% { opacity: 1; } to { transform: translateX(85%); opacity: 0; } }
@media (min-width: 1200px) and (max-width: 1439px) {
  #header.tugan-header .tugan-header__side { padding-top: 18.5px; }
  #header.tugan-header .tugan-header__side--right { column-gap: 12px; }
  #header.tugan-header .tugan-header__address { gap: 6px; margin-left: 3px; font-size: 13.5px; }
  #header.tugan-header .tugan-header__address .address-floor { font-size: 11.5px; }
  #header.tugan-header .tugan-header__side--right > .header__mode { font-size: 13.5px; }
  #header.tugan-header .contacts .tugan-header__callback { font-size: 13.5px; }
  #header.tugan-header .tugan-header__blog { gap: 5px; }
  #header.tugan-header .tugan-blog-icon { width: 17px; height: 17px; }
}
#header-wrapper .tugan-mobile-blog { gap: 8px; }
#header-wrapper .tugan-mobile-contact { display: grid; justify-items: start; gap: 8px; }
#header-wrapper .tugan-mobile-contact .tugan-header__callback { font-size: 15px; }
#header-wrapper .tugan-mobile-address { display: flex; align-items: flex-start; gap: 9px; }
#header-wrapper .tugan-mobile-address > .tugan-address-icon { margin-top: 2px; }
#header-wrapper .tugan-mobile-address > .mobile-address-copy { margin: 0; font-size: inherit; color: inherit; }
#header-wrapper .tugan-mobile-address .mobile-address-copy > span { font-size: 13px; }
@media (max-width: 1199px) {
  #header.tugan-header .header__mode { font-size: 13px; }
}
@media (max-width: 540px) {
  #header.tugan-header .header__mode { font-size: 12px; }
  #header.tugan-header .header__mode strong { font-size: 13px; }
}

/* Persistent glass header; compact only its own layout, without moving the page. */
:root { --tugan-anchor-offset: 144px; }
#header.tugan-header {
  position: fixed;
  transition: padding .4s cubic-bezier(.22,1,.36,1);
}
#header.tugan-header::before {
  transition: background-color .4s ease, bottom .4s ease;
}
#header.tugan-header.is-scrolled::before {
  bottom: -24px;
  background-color: #110c25cf;
  mask-image: linear-gradient(180deg,#000 0%,#000 76%,transparent 100%);
  -webkit-mask-image: linear-gradient(180deg,#000 0%,#000 76%,transparent 100%);
}
#header.tugan-header .logo { transition: height .4s cubic-bezier(.22,1,.36,1); }
#header.tugan-header .logo img { transition: filter .35s ease, transform .4s cubic-bezier(.22,1,.36,1); }
#header.tugan-header.is-scrolled .logo img { transform: scale(.92); }
#header.tugan-header.is-scrolled .tugan-header__nav {
  border-color: #9feede40; box-shadow: inset 0 1px 0 #d3ecf212, 0 3px 24px #4de0ce0d;
}
#header.tugan-header .phone-content {
  cursor: pointer; user-select: text;
  transition: color .3s, background .3s, border-color .3s, box-shadow .3s, text-shadow .3s;
}
#header.tugan-header .phone-content:hover {
  color: #c8fff3; border-color: #8dffe064;
  background: linear-gradient(115deg,#38e5d82e,#5768e72b 55%,#b16aff30);
  box-shadow: inset 0 1px 0 #c2fff535, 0 0 22px #49e1cf25;
  text-shadow: 0 0 12px #7ef6e38c;
}
#header-wrapper .tugan-mobile-phone { cursor: pointer; user-select: text; transition: color .3s, text-shadow .3s; }
#header-wrapper .tugan-mobile-phone:hover { color: #b6fff2; text-shadow: 0 0 14px #70f7df66; }
#vr-games, #vip-rooms, #about, #reviews { scroll-margin-top: var(--tugan-anchor-offset); }
#contacts.contacts-page, #privacy, section.blog, section.post,
#hero.hero .hero__content, #hero.no-bg .main, #hero.g-hero .main { padding-top: var(--tugan-anchor-offset); }
@media (min-width: 1200px) {
  #header.tugan-header .tugan-header__side {
    padding-top: 16px;
    transition: padding-top .4s cubic-bezier(.22,1,.36,1), row-gap .4s cubic-bezier(.22,1,.36,1);
  }
  #header.tugan-header .contacts { transition: row-gap .4s cubic-bezier(.22,1,.36,1); }
  #header.tugan-header.is-scrolled { padding-top: 8px; padding-bottom: 6px; }
  #header.tugan-header.is-scrolled .logo { height: 56px; }
  #header.tugan-header.is-scrolled .tugan-header__side { padding-top: 8px; row-gap: 8px; }
  #header.tugan-header.is-scrolled .contacts { row-gap: 8px; }
}
@media (min-width: 1200px) and (max-width: 1439px) {
  #header.tugan-header .tugan-header__side { padding-top: 15px; }
  #header.tugan-header.is-scrolled .tugan-header__side { padding-top: 7px; }
}
@media (max-width: 1199px) {
  :root { --tugan-anchor-offset: 132px; }
  #header.tugan-header .tugan-header__inner { transition: min-height .4s cubic-bezier(.22,1,.36,1); }
  #header.tugan-header.is-scrolled { padding-top: 6px; padding-bottom: 6px; }
  #header.tugan-header.is-scrolled .tugan-header__inner { min-height: 58px; }
  #header.tugan-header.is-scrolled .logo { height: 58px; }
}

/* The wordmark uses the same cyan as the hero headline, preserving its alpha. */
@supports ((mask-image: url("/assets/tugan-wordmark-v2.png")) or (-webkit-mask-image: url("/assets/tugan-wordmark-v2.png"))) {
  #header.tugan-header .logo .tugan-brand {
    filter: drop-shadow(0 0 2px #00c8ff66) drop-shadow(0 0 10px #00c8ff35) drop-shadow(0 0 23px #00c8ff24);
    transition: filter .35s ease;
  }
  #header.tugan-header .logo .tugan-brand:hover {
    filter: drop-shadow(0 0 3px #00c8ff88) drop-shadow(0 0 15px #00c8ff55) drop-shadow(0 0 30px #00c8ff35);
  }
  #header.tugan-header .tugan-brand::before {
    background: radial-gradient(ellipse at 32% 50%, #00c8ff30, transparent 66%), radial-gradient(ellipse at 75% 52%, #00c8ff25, transparent 64%);
  }
  #header.tugan-header .logo .tugan-brand img { opacity: 0; }
  #header.tugan-header .tugan-brand::after {
    content: ""; position: absolute; left: 0; top: 50%; width: 100%; aspect-ratio: 2172 / 724;
    background-color: var(--color, #00c8ff);
    mask: url("/assets/tugan-wordmark-v2.png") center / contain no-repeat;
    -webkit-mask: url("/assets/tugan-wordmark-v2.png") center / contain no-repeat;
    mask-mode: alpha; pointer-events: none;
    transform: translateY(-50%);
    transition: transform .4s cubic-bezier(.22,1,.36,1);
  }
  #header.tugan-header.is-scrolled .tugan-brand::after { transform: translateY(-50%) scale(.92); }
}


#location-map { scroll-margin-top: var(--tugan-anchor-offset); }

/* One header row: navigation | centered logo | phone, Telegram, MAX, Blog. */
@media (min-width: 1200px) {
  #header.tugan-header .tugan-header__side { grid-template-rows: 48px; row-gap: 0; }
  #header.tugan-header .contacts { grid-area: 1 / 1; grid-template-rows: 48px; gap: 0; align-self: center; }
  #header.tugan-header .tugan-header__side--right > .tugan-header__socials { grid-area: 1 / 2; }
  #header.tugan-header .tugan-header__side--right > .tugan-header__blog { grid-area: 1 / 3; }
  #header.tugan-header.is-scrolled .tugan-header__side,
  #header.tugan-header.is-scrolled .contacts { row-gap: 0; }
}
@media (max-width: 1199px) {
  #header.tugan-header .tugan-header__mobile-meta { justify-content: center; gap: 0; }
  #header.tugan-header .tugan-header__mobile-meta .tugan-header__socials { justify-content: center; gap: 24px; }
  #header.tugan-header .tugan-header__mobile-meta .tugan-header__blog {
    min-height: 32px; margin: 0; padding: 4px 0; font-size: 12px; letter-spacing: .025em; gap: 6px;
  }
}
#header-wrapper .mobile__inner > .tugan-header__socials { margin-top: 18px; gap: 8px; flex-wrap: wrap; }
#header-wrapper .mobile__inner .tugan-social--blog { margin: 0; }

/* Промо-баннер - модальное окно, поэтому он должен быть поверх шапки.
   У темы z-index: 160 против 1005 у шапки, из-за чего крестик закрытия уходил под неё. */
.popup__bvg,
.popup__bvg.active { z-index: 1010; }