@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --bg-main: #020716;
  --bg-elevated: #061026;
  --bg-card: #09152f;
  --accent-yellow: #ffd447;
  --accent-pink: #ff4fd8;
  --accent-blue: #3bbcff;
  --text-main: #ffffff;
  --text-muted: #a9a9c0;
  --border-soft: rgba(255, 255, 255, 0.06);
  --radius-xl: 26px;
  --radius-lg: 20px;
  --shadow-soft: 0 28px 60px rgba(0, 0, 0, 0.7);
  --nav-height: 80px;
}

/* FINAL: visibly smaller partners heading on desktop only */
@media (min-width: 769px) {
  .about-partners-section .about-partners-title {
    font-size: 30px !important;
    line-height: 1.1 !important;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:
    radial-gradient(circle at 18% 12%, rgba(0, 119, 255, 0.34), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(91, 45, 255, 0.24), transparent 34%),
    radial-gradient(circle at 50% 105%, rgba(0, 210, 255, 0.18), transparent 42%),
    linear-gradient(135deg, #010512 0%, #061331 42%, #020818 100%) fixed;
  color: var(--text-main);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  padding-top: var(--nav-height);
}

.page-bg {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 12%, rgba(0, 119, 255, 0.34), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(91, 45, 255, 0.24), transparent 34%),
    radial-gradient(circle at 50% 105%, rgba(0, 210, 255, 0.18), transparent 42%),
    linear-gradient(135deg, #010512 0%, #061331 42%, #020818 100%);
}

.container {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0 20px;
}

.nav-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 40;
  backdrop-filter: blur(26px);
  background: linear-gradient(90deg, rgba(2, 10, 34, 0.78), rgba(3, 8, 28, 0.96));
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.navbar {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-mark {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  box-shadow: 0 0 24px rgb(228, 170, 24);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text span:first-child {
  font-weight: 700;
  font-size: 18px;
}

.logo-text span:last-child {
  font-weight: 400;
  font-size: 11px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
}

.nav-link {
  position: relative;
  padding-bottom: 4px;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav-link.active,
.nav-link:hover {
  color: var(--text-main);
}

.nav-link.active::after,
.nav-link:hover::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-pink), var(--accent-blue));
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-link-inner {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-icon {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.lang-dropdown {
  position: relative;
}

.lang-current {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgb(29, 29, 101);
  color: var(--text-main);
  font-size: 12px;
  cursor: pointer;
}

.lang-arrow {
  font-size: 9px;
  transition: transform 0.18s ease;
}

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 120px;
  padding: 6px;
  border-radius: 14px;
  background: #10101a;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
  display: none;
  z-index: 60;
}

.lang-dropdown.open .lang-menu {
  display: block;
}

.lang-dropdown.open .lang-arrow {
  transform: rotate(180deg);
}

.lang-option {
  width: 100%;
  padding: 6px 10px;
  border-radius: 9px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 12px;
  text-align: left;
  cursor: pointer;
}

.lang-option.active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  font-weight: 600;
}

.login-btn {
  padding: 8px 18px;
  border-radius: 999px;
  border: none;
  background: #ff4b4b;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.7);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.burger span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
}

.hero {
  padding: 42px 0 70px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #31d67e;
  box-shadow: 0 0 14px rgba(28, 207, 109, 0.8);
}

.hero-title {
  font-size: clamp(30px, 4vw, 40px);
  margin: 0 0 10px;
}

.hero-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 530px;
  margin-bottom: 26px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.btn-gradient {
  position: relative;
  border: none;
  cursor: pointer;
  padding: 11px 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-blue));
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.7);
}

.btn-outline {
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(8, 8, 17, 0.8);
  color: var(--text-main);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.hero-meta {
  display: flex;
  gap: 18px;
  font-size: 13px;
  color: var(--text-muted);
}

.hero-meta strong {
  color: var(--accent-yellow);
  font-weight: 600;
}

.hero-media-card {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  background: #000000;
  box-shadow: var(--shadow-soft);
  max-width: 620px;
  margin: 0 auto;
}

.hero-media-img {
  width: 100%;
  height: 300px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: brightness(0.9);
  background-color: #000000;
}

.hero-media-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% -10%, rgba(255, 255, 255, 0.15), transparent 50%);
  pointer-events: none;
}

.hero-slider-controls {
  position: absolute;
  right: 26px;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pill-counter {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(5, 5, 12, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
}

.circle-btn {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: none;
  background: rgba(5, 5, 15, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
}

.section {
  padding: 16px 0 70px;
}

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

.section-title {
  font-size: 20px;
  margin: 0;
}

.section-subtitle {
  font-size: 13px;
  color: var(--text-muted);
}

.link-gradient {
  font-size: 13px;
  padding: 9px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-blue));
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.promo-wrapper{
  position:relative;
}

.promo-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:46px;
  height:46px;
  border-radius:50%;
  background:#111119;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  border:1px solid rgba(255,255,255,0.1);
  z-index:5;
  transition:0.3s;
}

.promo-arrow:hover{
  background:#1b1b28;
}

.promo-arrow.left{
  left:-20px;
}

.promo-arrow.right{
  right:-20px;
}

.game-card {
  flex: 0 0 auto;
  width: 280px;
  cursor: pointer;
  transition: transform 0.3s ease, z-index 0.3s ease;
  position: relative;
}

.game-card:hover {
  transform: scale(1.05);
  z-index: 10;
}

.game-card-frame {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 2px solid var(--border-soft);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
  height: 100%;
}

.game-card:hover .game-card-frame {
  border-color: var(--accent-pink);
  box-shadow: 0 20px 40px rgba(255, 79, 216, 0.3);
}

.game-card .card-img {
  border-radius: 0;
  overflow: hidden;
  height: 180px;
  position: relative;
}

.game-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.game-card:hover .card-img img {
  transform: scale(1.1);
}

.game-info {
  padding: 15px;
  text-align: center;
}

.game-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.game-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.game-level {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-blue));
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

.game-hover-info {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(5, 5, 15, 0.95);
  backdrop-filter: blur(10px);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  border-radius: var(--radius-lg);
}

.game-card:hover .game-hover-info {
  opacity: 1;
  visibility: visible;
}

.hover-rating {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 12px;
  color: var(--accent-yellow);
}

.hover-branch {
  font-size: 14px;
  color: var(--text-main);
  margin-bottom: 8px;
  font-weight: 500;
}

.hover-difficulty {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  background: #dc3545;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 12px;
}

.hover-difficulty.medium {
  background: #ffc107;
}

.hover-difficulty.hard {
  background: #fd7e14;
}

.hover-difficulty.expert {
  background: #dc3545;
}

.hover-players,
.hover-duration {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.hover-tags {
  font-size: 11px;
  color: var(--accent-blue);
  text-align: center;
  margin-top: 8px;
}

.card-game,
.card-promo {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 10px;
  border: 1px solid var(--border-soft);
  display:flex;
  flex-direction:column;
}

.card-img {
  border-radius: 18px;
  overflow: hidden;
  background: #222;
  height: 150px;
}

.card-title {
  font-size: 14px;
  margin-bottom: 4px;
}

.card-meta {
  font-size: 12px;
  color: var(--text-muted);
}

.card-foot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  margin-top: 4px;
}

.badge-new {
  padding: 3px 9px;
  border-radius: 999px;
  background: #0bbf69;
  font-size: 11px;
}

.map-section {
  padding-bottom: 80px;
}

.map-shell {
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.map-img {
  height: 320px;
  background-image: url('../images/map.jpg');
  background-size: cover;
  background-position: center;
  filter: grayscale(0.2);
}

.footer {
  padding: 36px 0 40px;
  background: linear-gradient(to bottom, #050509, #030308);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 26px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-logo {
  margin-bottom: 14px;
}

.footer-heading {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 10px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-links a {
  font-size: 10px !important;
  color: rgba(180, 180, 180, 0.78) !important;
  line-height: 1.2 !important;
}

@media (max-width: 768px) {
  .footer-links a {
    font-size: 9px !important;
    color: rgba(180, 180, 180, 0.78) !important;
    line-height: 1.15 !important;
  }

  .footer-heading {
    font-size: 24px !important;
    color: #ffffff !important;
  }
}

.footer-bottom {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

.social-row {
  display: flex;
  gap: 16px;
  align-items: center;
}

.social-row i {
  font-size: 22px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(240, 240, 240);
  color: rgb(40, 40, 40);
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease,
              background 0.3s ease,
              color 0.3s ease,
              box-shadow 0.3s ease;
}

.social-row i:hover {
  transform: scale(1.12);
  background: rgb(30, 144, 255);
  color: rgb(255, 255, 255);
  box-shadow: 0px 6px 14px rgba(0, 0, 0, 0.2);
}

.page-hero-banner10 {
  width: 100%;
  height: 520px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-hero-title10 {
  font-size: 4rem;
  margin: 0;
  font-weight: 800;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.page-hero-breadcrumb10 {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-top: 10px;
}

.main-content-container {
    color: #ffffff;
    padding: 40px 20px;
    font-family: 'Segoe UI', Roboto, sans-serif;
}

.map-link {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    cursor: pointer;
    opacity: 0.9;
}

.filter-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.chip {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 8px; 
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s ease;
    outline: none;
}

.chip:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.search-wrapper{
width:420px;
margin-left:auto;
position:relative;
}

.search-wrapper input {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 10px 15px 10px 40px;
    color: white;
    font-size: 14px;
}

.search-wrapper::before {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    opacity: 0.5;
}

.filter-actions {
    margin-top: 15px;
}

.btn-clear {
    background-color: rgba(217, 83, 79, 0.1);
    border: 1px solid #d9534f;
    color: #d9534f;
    padding: 6px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    transition: 0.3s;
}

.btn-clear:hover {
    background-color: #d9534f;
    color: white;
}

.games-count {
    margin-top: 20px;
    font-size: 12px;
    color: #888;
}

.games-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.contact-form-shell {
  background: var(--bg-card);
  border-radius: 30px;
  padding: 26px 26px 30px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  max-width: 780px;
  margin: 0 auto 60px;
}

.contact-form-title {
  text-align: center;
  margin-bottom: 6px;
}

.contact-form-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 22px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
}

.form-control,
.form-textarea {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #10101a;
  padding: 11px 14px;
  color: var(--text-main);
  font-size: 13px;
  outline: none;
}

.form-textarea {
  min-height: 130px;
  resize: vertical;
}

.form-submit-row {
  margin-top: 10px;
  display: flex;
  justify-content: center;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 40px 0 60px;
}

.info-card {
  padding: 18px 18px 20px;
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
}

.info-card h3 {
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 15px;
}

.info-card p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.steps-carousel {
  margin: 46px 0 40px;
}

.steps-shell {
  position: relative;
  padding: 30px 70px;
  border-radius: 30px;
  background: radial-gradient(circle at 0 0, rgba(255, 89, 200, 0.35), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(60, 194, 255, 0.25), transparent 60%),
    #141425;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.step-card {
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
}

.step-number {
  position: absolute;
  top: 26px;
  right: 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.step-title {
  font-size: 20px;
  margin-bottom: 6px;
}

.step-text {
  font-size: 14px;
  color: var(--text-muted);
}

.steps-controls {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.dot.active {
  width: 20px;
  background: #fff;
}

.audience-grid {
  margin: 40px 0 60px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.audience-card {
  padding: 18px 18px 20px;
  border-radius: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
}

.audience-card h3 {
  margin-top: 0;
  margin-bottom: 4px;
  font-size: 15px;
}

.audience-card p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.blog-grid {
  margin: 28px 0 40px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.blog-card {
  border-radius: 20px;
  padding: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
}

.blog-card h3 {
  font-size: 15px;
  margin: 10px 0 4px;
}

.blog-card p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0 0 8px;
}

.blog-meta {
  font-size: 11px;
  color: var(--text-muted);
}

.branches-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.branch-card {
  display: block;      
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  background: #111;
  text-decoration: none; 
  color: inherit;          
}

.branch-img {
  height: 120px;
  background-size: cover;
  background-position: center;
}

.branch-meta {
  padding: 8px 10px 10px;
  font-size: 12px;
}

.promotions-grid {
  margin: 26px 0 40px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.shop-shell {
  margin: 26px 0 50px;
  border-radius: 26px;
  padding: 26px 24px 30px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
}

.shop-placeholder {
  font-size: 14px;
  color: var(--text-muted);
}

.partners-row {
  margin: 10px 0 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.partner-pill {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
}

.animate-fade-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.floating {
  animation: float 8s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
  100% {
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .cards-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .games-grid,
  .promotions-grid,
  .vacancy-grid,
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .branches-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .audience-grid,
  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-shell {
    padding: 26px 24px 44px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    inset: var(--nav-height) 0 auto 0;
    background: rgba(5, 5, 15, 0.98);
    padding: 14px 20px 18px;
    flex-direction: column;
    gap: 12px;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .burger {
    display: flex;
  }

  .nav-right {
    gap: 8px;
  }

  .hero {
    padding-top: 30px;
  }

  .cards-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .games-grid,
  .promotions-grid,
  .vacancy-grid,
  .blog-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .branches-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .audience-grid,
  .info-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .steps-shell {
    padding: 24px 20px 46px;
  }
}

@media (max-width: 560px) {
  .cards-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .branches-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-hero-banner {
    height: 190px;
  }
}

.branch-card {
  position: relative;
  width: 100%;
  height: 300px; 
  border-radius: 12px;
  overflow: hidden; 
  cursor: pointer;
}

.branch-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.branch-card:hover .branch-img {
  transform: scale(1.1);
}

.branch-badge {
  position: absolute;
  top: 15px;
  left: 0;
  background: rgba(0, 0, 0, 0.8);
  color: #ff8e8e; 
  padding: 5px 15px;
  border-radius: 0 20px 20px 0;
  font-weight: bold;
  z-index: 2;
}

.branch-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px); 
  padding: 20px;
  color: #333;
  transform: translateY(100%); 
  transition: transform 0.3s ease-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.branch-card:hover .branch-overlay {
  transform: translateY(0);
}

.branch-name {
  margin: 0;
  font-size: 1.2rem;
  font-weight: bold;
}

.branch-address {
  margin: 5px 0;
  font-size: 0.9rem;
  color: #666;
}

.branch-stats {
  margin-top: 5px;
  font-weight: bold;
}

.central-hero {
    text-align: center;
    width: 100%;
}

.section-header-central {
    text-align: center;
    margin-bottom: 40px;
}

.branches-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.branch-card-modern {
    background: #111;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: white;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.branch-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.border-blue { border: 2px solid #874ae2; }
.border-orange { border: 2px solid #f39c12; }

.branch-card-top img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.branch-card-bottom {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    background: #1a1a1a;
}

.branch-info h3 {
    margin: 0 0 5px 0;
    font-size: 1.2rem;
}

.branch-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #ccc;
}

.branch-date {
    display: block;
    margin-top: 10px;
    font-size: 0.8rem;
    color: #777;
}

.mini-map-container {
    width: 120px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #333;
}

.mini-map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.container2 {
  max-width: 1200px;
  margin: 0 auto;
}

/* .page-hero-foto {
  width: 100%;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  border-radius: 15px; 
  overflow: hidden;
}

.page-hero-title2 {
  font-size: 64px; 
  font-weight: 800;
  margin: 0;
  text-transform: capitalize;
  letter-spacing: 2px;
}

.page-hero-breadcrumb2 {
  font-size: 18px;
  font-weight: 500;
  margin-top: 10px;
  opacity: 0.9;
}

.page-hero-new {
    width: 100%;
    height: 450px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
} */

.hero-container5 {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title5 {
    font-size: 48px;
    color: rgb(255,255,255);
    margin-bottom: 10px;
}

.hero-breadcrumb5 {
    font-size: 18px;
    color: rgb(255,255,255);
}


.section30 {
  padding-left: 180px;
}

.kids-games{
  display: flex;
  gap: 60px;
  flex-wrap: nowrap;
  margin-top: 20px;
  margin-left: 40px;
  align-items: center;
}

.kids-games .game-card{
  width: 280px;
  flex-shrink: 0;
}

.games-ribbon-container{
  width:100%;
  overflow:hidden;
  position:relative;
  padding:10px 0;
}

.games-ribbon{
  display:flex;
  gap:24px;
  width:max-content;
  animation:none;
  will-change:auto;
}

.games-ribbon:hover{
  animation-play-state:running;
}

@keyframes scrollRibbon{

  0%{
    transform:translateX(0);
  }

  100%{
    transform:translateX(-60%);
  }

}

.cards-wrapper50 {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.cards-row50 {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0;
  scrollbar-width: none;
}

.cards-row50::-webkit-scrollbar {
  display: none;
}



.card-img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.card-promo50 > div:last-child {
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-title50 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.card-meta50 {
  display: none;
}

.scroll-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  z-index: 10;
  position: absolute;
}

.scroll-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.left-btn50 { left: -60px; }
.right-btn50 { right: -60px; }

@media (max-width: 1300px) {
  .left-btn50 { left: 10px; }
  .right-btn50 { right: 10px; }
  .scroll-btn {
    background: rgba(0, 0, 0, 0.5);
  }
}

.card-promo50 {
  min-width: 280px;
  background: var(--card-bg);
  border-radius: var(--border-radius);
  border: 1px solid #333;
  overflow: hidden;
  transition: all 0.3s ease; 
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
}

.card-promo50:hover {
  transform: translateY(-5px);
  border-color: #8a2be2; 
  box-shadow: 
    0 0 0 2px #9a38f6, 
    0 0 15px rgba(251, 153, 34, 0.949);
}

.card-promo50:hover::after {
  background: linear-gradient(45deg, #8a2be2, rgba(251, 153, 34, 0.949));
  color: white;
}


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

.page-hero60 {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.hero-content p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

/* ПОЛНАЯ ПРОЗРАЧНОСТЬ КАРТОЧЕК FAQ */

/* 1. Делаем фон карточек таким же, как задний фон (прозрачным) */
.faq-grid > div:last-child > div, 
.faq-item, 
.accordion-item {
    background: transparent !important; /* Убираем любой фон */
    background-color: transparent !important;
    border-left: 1px solid rgba(255,255,255,0.08) !important;
    box-shadow: -12px 0 40px rgba(0,0,0,0.55) !important; /* Убираем рамки, если они мешают */
    box-shadow: none !important; /* Убираем тени */
    margin-bottom: 20px !important; /* Оставляем расстояние между вопросами */
}

/* 2. Если ты хочешь оставить тонкую линию снизу для разделения вопросов (опционально) */
.faq-grid > div:last-child > div {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 28px 0 0 28px !important;
}

/* 3. Убеждаемся, что текст остался белым и читабельным */
.faq-grid h3, 
.faq-grid button, 
.faq-grid span,
.faq-grid i {
    color: #ffffff !important;
}

/* 4. Левое меню (фильтры) — тоже делаем прозрачным, кроме активной кнопки */
.filter-btn:not(.active) {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.093) !important;
    color: #ffffff !important;
}

/* 5. Исправляем отображение текста в активной (белой) кнопке */
.filter-btn.active {
    background: #ffffff !important;
    color: #000000 !important; /* Делаем текст черным */
}

/* Убеждаемся, что иконка и текст внутри активной кнопки тоже станут черными */
.filter-btn.active i,
.filter-btn.active span {
    color: #000000 !important;
}

.faq-section {
    padding: 60px 0;
}

.faq-intro {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.faq-intro h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.chat-icon-decor {
    font-size: 4rem;
    opacity: 0.1;
    position: absolute;
    right: 10%;
    top: -20px;
}

.faq-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    align-items: start;
}

.faq-sidebar {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-btn {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-gray);
    padding: 16px 20px;
    text-align: left;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.95rem;
    font-weight: 500;
}

.filter-btn i {
    font-size: 1.1rem;
    width: 20px;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
}

.filter-btn.active {
    background: #fff;
    color: #000;
    border-color: #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.accordion-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: 0.3s;
}

.accordion-header {
    padding: 22px 25px;
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 20px;
}

.q-number {
    min-width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
}

.accordion-header span {
    flex-grow: 1;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}

.accordion-header i.chevron {
    font-size: 0.8rem;
    transition: 0.3s;
    opacity: 0.5;
}

.accordion-item.open {
    border-color: rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.05);
}

.accordion-item.open i.chevron {
    transform: rotate(180deg);
    opacity: 1;
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease-in-out;
    padding: 0 25px 0 77px;
    color: var(--text-gray);
    line-height: 1.7;
}

.accordion-item.open .accordion-body {
    max-height: 300px;
    padding-bottom: 25px;
}

.games-count80{
margin-top:20px;
opacity:0.7;
font-size:14px;
}

.games-grid80{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:24px;
margin-top:30px;
perspective:1000px;
}

.game-card80 {
  position: relative;
  height: 210px;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.game-card80:hover {
  transform: scale(1.06);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.game-card80 img {
  width: 110%; 
  height: 110%;
  object-fit: cover; 
  object-position: center;
  background: #000;
  transition: 0.4s;
}

.game-card80:hover img {
  transform: scale(1.18);
}

.game-hover{
position:absolute;
left:0;
right:0;
bottom:-120px;

padding:20px;

background:linear-gradient(transparent,rgba(0,0,0,0.95));

transition:0.35s;
}

.game-card80:hover .game-hover{
bottom:0;
}

.game-hover h3{
margin:0;
font-size:20px;
}

.game-info-row{
display:flex;
gap:12px;
margin-top:8px;
font-size:12px;
opacity:0.9;
}

.game-hover p{
margin-top:6px;
font-size:12px;
opacity:0.8;
}

.game-card80:hover{
box-shadow:0 0 30px rgba(255,255,255,0.2);
}

.badge-new80{
position:absolute;
top:12px;
left:12px;

background:#14d870;
color:#fff;

font-size:11px;
font-weight:600;

padding:4px 10px;
border-radius:20px;

z-index:2;

box-shadow:0 0 12px rgba(20,216,112,0.8);
}

.chip i{
font-size:13px;
opacity:0.8;
}

.filter-dropdown{
position:relative;
}

.dropdown-menu button:hover{

background:#1e1e1e;

}

.filter-dropdown.active .dropdown-menu{

display:flex;

}

.dropdown-btn::after{
content:" ▼";
font-size:12px;
margin-left:6px;
}

.map-shell80 {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden; 
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: 0.3s;
}

.map-shell80 iframe {
  width: 100%;
  height: 350px; 
  border: 0;
  display: block;
}

.dropdown {
  position: relative;
  cursor: pointer;
}

.dropdown-arrow {
  font-size: 10px;
  margin-left: 4px;
  transition: transform 0.2s ease;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  padding: 10px;
  border-radius: 14px;
  background: #10101a;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);

  display: none;
  flex-direction: column;
  gap: 6px;
  z-index: 100;
}


.dropdown-menu a {
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: all 0.2s ease;
}

.dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
}

.dropdown:hover .dropdown-menu {
  display: flex;
}

.dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 12px;
}

.dropdown:hover .dropdown-menu {
  display: flex;
}

.dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.vacancy-card-new {
  position: relative;
  display: block;
  border-radius: 20px;
  overflow: hidden;
  height: 260px;

  border: 4px solid transparent;
  background-image: 
    linear-gradient(white, white),
    linear-gradient(90deg, #9b59b6, #2980b9, #e67e22); 
  background-origin: border-box;
  background-clip: content-box, border-box;

  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.vacancy-card-new:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 35px rgba(0,0,0,0.25);
  filter: drop-shadow(0 0 10px #9b59b6)
          drop-shadow(0 0 10px #2980b9)
          drop-shadow(0 0 10px #e67e22);
}

.vacancy-card-new .vacancy-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  transition: transform 0.5s ease;
}

.vacancy-card-new:hover .vacancy-img img {
  transform: scale(1.1);
}

.vacancy-img {
  height: 260px;
}

.vacancy-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vacancy-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;

  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);

  padding: 20px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.vacancy-bottom h3 {
  margin: 0;
  font-size: 22px;
}

.vacancy-bottom span {
  font-size: 12px;
  color: #ccc;
}

.vacancy-bottom button {
  border: 1px solid #fff;
  background: transparent;
  padding: 8px 16px;
  border-radius: 20px;
  color: white;
  cursor: pointer;
}

.vacancy-hero {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.vacancy-hero-bg {
  width: 100%;    
  max-width: 100%; 
  height: 500px;   
  border-radius: 0;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vacancy-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
}

.vacancy-hero-content {
  position: relative;
  text-align: center;
  color: white;    
  padding: 0 20px;   
}

@media (max-width: 768px) {
  .vacancy-big {
    font-size: 48px;
  }
  .vacancy-title {
    font-size: 24px;
  }
}

.vacancy-big {
  font-size: 72px;
  color: #c0392b;
  font-weight: 800;
  margin: 0;
}

.vacancy-script {
  font-size: 32px;
  font-family: cursive;
  margin: 10px 0;
}

.vacancy-title {
  font-size: 48px;
  color: #b8ecff;
  margin: 0;
}

.vacancy-breadcrumb {
  margin-top: 10px;
  font-size: 14px;
  opacity: 0.8;
}

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

@media (max-width: 900px) {
  .vacancy-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .vacancy-grid {
    grid-template-columns: 1fr;
  }
}

.vacancy-card-new {
  height: 260px;
}

.section-title88 {
  margin-left: 520px;
}

.promo-hero {
    padding: 100px 0 40px;
    text-align: center;
}

.hero-image-container {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 900px;
}

.floating-gifts {
    width: 100%;
    filter: drop-shadow(0 0 30px rgba(0,0,0,0.5));
}

.hero-text-overlay {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

.hero-text-overlay h1 {
    font-size: 48px;
    font-weight: 800;
    margin: 0;
}

.custom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.section-main-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 10px;
}

.rainbow-card {
    padding: 4px;
    border-radius: 22px;
    background: linear-gradient(135deg, #8038fc, #3f5bfc, #f8a831); 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rainbow-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(255, 79, 216, 0.2);
}

.inner-card {
    background: #050509;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
}

.inner-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.rainbow-card:hover .inner-card img {
  transform: scale(1.15);
}

.card-desc {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-desc h3 {
    font-size: 16px;
    margin: 0;
    color: #fff;
}

.card-desc span {
    font-size: 12px;
    color: var(--text-muted);
}

.promo-hero-full {
  width: 100%;
  position: relative;
  overflow: hidden;
  margin-top: -20px;
}

.hero-image-wrapper92 {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #050509;
}

.hero-image-wrapper92::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4); 
  
  z-index: 1;
}

.hero-bg-img92 {
  width: 100%;
  height: 550px;
  display: block;
  object-fit: cover;
  min-height: 300px; 
}

.hero-overlay-content92 {
  position: absolute;
  text-align: center;
  top: 55%;
  width: 100%;
  color: #fff;
}

.hero-overlay-content92 h1 {
  font-size: clamp(24px, 5vw, 48px);
  font-weight: 800;
  margin-top: 5px;
  text-shadow: 0 4px 15px rgba(0,0,0,0.6);
}

.breadcrumb92 {
  font-size: 14px;
  opacity: 0.8;
  margin: 0;
}

@media (max-width: 768px) {
    .hero-text-overlay h1 { font-size: 28px; }
    .custom-grid { grid-template-columns: 1fr; }
}

.game-description17 {
  flex: 1;
  min-width: 300px;
  max-width: 450px;
}

.game-description17 p {
  font-size: 16px;
  line-height: 1.6;
  color: #ffffff;
  margin-bottom: 25px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.game-description17::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -100px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(255,122,0,0.4) 0%, transparent 70%);
  z-index: -1;
}

.game-description17 h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: rgb(245, 216, 25);
}

.game-card {
  transition: transform 0.3s ease;
}

.game-card:hover {
  transform: translateY(-10px);
}

.play-btn17 {
  padding: 14px 30px;
  background-color: #ff7a00;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.play-btn17:hover {
  background-color: #e56700;
}

@media (max-width: 768px){
  .section30{
    padding-left: 16px;
    padding-right: 16px;
    overflow: hidden;
  }

  .section30 .section-header{
    width: 100%;
    justify-content: flex-start;
    text-align: left;
  }

  .kids-games{
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }

  .kids-games .game-card{
    width: min(280px, 100%);
    max-width: 100%;
  }

  .game-description17{
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .game-description17 h2{
    font-size: 28px;
  }

  .game-description17 p{
    font-size: 15px;
    line-height: 1.55;
  }
}

.about-hero-full {
  width: 100%;
}

.about-hero-bg {
  width: 100%;
  height: 520px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 80px;
}

.about-hero-box {
  padding: 25px 30px; 
  border-radius: 20px;
  background: rgba(20, 20, 40, 0.55);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  text-align: left;
  max-width: 420px; 
}

.about-hero-box h1 {
  font-size: 34px;
}

.about-hero-box p {
  font-size: 14px;
  color: #ccc;
}

.steps-slider {
  position: relative;
  height: 420px;
  margin: 100px 0;
}

.steps-stage {
  position: relative;
  width: 100%;
  height: 100%;
}

.step-card2 {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) scale(0.8);
  width: 440px;
  height: 400px;
  padding: 40px;
  border-radius: 28px;
  background: linear-gradient(135deg, #7f0337, #7f0337);

  border: 2px solid transparent;
  background-image:
    linear-gradient(#7f0337, #7f0337),
    linear-gradient(135deg, #9b5cff, #0059ff, #ff6f00);

  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow:
    0 0 10px rgba(155,92,255,0.35),
    0 0 18px rgba(0,207,255,0.25),
    0 0 25px rgba(255,122,0,0.25);

  color: white;
  opacity: 0;
  transition: 0.5s;
}

.step-card2::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background: radial-gradient(circle at top left, rgba(255,255,255,0.06), transparent 60%);
  pointer-events: none;
}

.step-card2.active {
  opacity: 1;
  transform: translateX(-50%) scale(1);
  z-index: 3;
}

.step-card2.next {
  opacity: 0.5;
  transform: translateX(-20%) scale(0.9);
}

.step-card2.prev {
  opacity: 0.5;
  transform: translateX(-80%) scale(0.9);
}

.step-card2 h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.step-card2 p {
  font-size: 15px;
  color: #fff;
}

.step-num {
  position: absolute;
  top: 15px;
  right: 15px;
  border: 2px solid #fff;
  border-radius: 50%;
  padding: 8px 12px;
  font-weight: bold;
}

.slider-controls {
  position: absolute;
  bottom: -70px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
}

.audience-card {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  background-image:
    linear-gradient(#111, #111),
    linear-gradient(135deg, #9b5cff, #ff7a00);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  width: 400px;
  height: 200px;
  margin-left: 40px;
}

.audience-card:hover {
  transform: translateY(-8px);

  box-shadow:
    0 0 25px rgba(155, 92, 255, 0.6),
    0 0 35px rgba(255, 122, 0, 0.6);
}

.audience-card i {
  font-size: 34px;
  margin-bottom: 14px;
  transition: 0.3s;
}

.audience-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, #9b5cff, #ff7a00);
  opacity: 0;
  transition: 0.3s;
  z-index: -1;
  cursor: pointer;
}

.audience-card:hover::before {
  opacity: 0.15;
}

.audience-card:hover i {
  transform: scale(1.3);
  color: #ff7a00;
}

.audience-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.audience-card p {
  font-size: 13px;
  color: #bbb;
}

.year-section {
  text-align: center;
  margin: 80px 0;
  position: relative;
}

.year-inputs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 20px 0;
}

.year-box {
  width: 75px;
  height: 75px;
  font-size: 32px;
  text-align: center;
  border-radius: 15px;

  border: 2px solid rgba(255,255,255,0.2);
  background: #0b0b15;
  color: white;

  position: relative;
  z-index: 2;
}

.year-box:focus {
  outline: none;
  border-color: #ff7a00;
  box-shadow: 0 0 15px rgba(255, 122, 0, 0.7);
}

.year-result {
  margin-top: 30px;
  font-size: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.year-output {
  margin-top: 40px;
  padding: 30px;
  border-radius: 22px;
  border: 3px solid transparent;
background-image:
  linear-gradient(#0b0b15, #0b0b15),
  linear-gradient(135deg, #9b5cff, #ff7a00);
  background-origin: border-box;
  background-clip: padding-box, border-box;

  box-shadow:
    0 0 30px rgba(150, 90, 247, 0.623),
    0 0 40px rgba(255, 123, 0, 0.501);

  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.year-output img {
  width: 100%;
  border-radius: 15px;
  margin-bottom: 15px;
  display: none;
  transition: 0.3s;
}

.year-output img.show {
  display: block;
}

.year-output p {
  font-size: 16px;
  color: #ddd;
}

.slider-controls button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid transparent;

  background-image:
    linear-gradient(#691e3b, #500f28),
    linear-gradient(135deg, #9b5cff, #ff7a00);
  background-origin: border-box;
  background-clip: padding-box, border-box;

  color: white;
  font-size: 26px;
  cursor: pointer;
  box-shadow:
    0 0 15px rgba(155, 92, 255, 0.5),
    0 0 20px rgba(255, 122, 0, 0.4);

  transition: all 0.25s ease;
}

.slider-controls button:hover {
  transform: scale(1.15);

  box-shadow:
    0 0 25px rgba(155, 92, 255, 0.8),
    0 0 40px rgba(255, 122, 0, 0.7);
}

.steps-slider:hover .step-card2.active {
  box-shadow:
    0 0 40px rgba(247, 126, 20, 0.788),
    0 0 60px rgba(155, 92, 255, 0.704);
}

.section-title00 {
  margin-left: 670px;
}

.italic {
  color: #ffffff;
  font-size: 13px;
  margin-left: 10px;
}

.year-decor {
  position: absolute;
  z-index: 2;
  opacity: 0.95;
  filter: drop-shadow(0 0 15px rgba(155, 92, 255, 0.4));
  transition: 0.3s ease;
  pointer-events: none;
}

.year-decor:hover {
  transform: scale(1.08);
  opacity: 1;
}

.year-decor.left {
  left: 50px;
  top: 40px;
  width: 90px;
  height: auto;
  animation: floatCompass 4s ease-in-out infinite;
}

.year-decor.right-top {
  right: 40px;
  top: 10px;
  width: 110px;
  height: auto;
  animation: floatScroll 5s ease-in-out infinite;
}

@keyframes floatCompass {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(6deg); }
}

@keyframes floatScroll {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-6px) scale(1.05); }
}

.input-wrap {
  position: relative;
  display: inline-block;
}

.year-decor.compass {
  position: absolute;
  width: 60px;
  bottom: -18px;
  left: -20px;
  filter: drop-shadow(0 0 12px rgba(155,92,255,0.5));
  animation: floatCompass 4s ease-in-out infinite;
    z-index: 10;
}

.year-decor.scroll {
  position: absolute;
  width: 90px;
  top: -20px;
  right: -25px;
  filter: drop-shadow(0 0 12px rgba(255,122,0,0.5));
  animation: floatScroll 5s ease-in-out infinite;
}

.facts-section {
  text-align: center;
  margin: 120px 0 60px;
}

.facts-title {
  font-size: 32px;
  margin-bottom: 40px;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.fact-card {
  padding: 35px 20px;
  border-radius: 20px;
  background: rgba(20,20,30,0.8);
  border: 2px solid transparent;

  background-image:
    linear-gradient(#14141e, #14141e),
    linear-gradient(135deg, #9b5cff, #ff7a00);

  background-origin: border-box;
  background-clip: padding-box, border-box;

}

.fact-card:hover {
  box-shadow:
    0 0 25px rgba(155,92,255,0.6),
    0 0 35px rgba(255,122,0,0.6);
}

.fact-card h3 {
  font-size: 36px;
  margin: 0 0 10px;
  color: rgb(249, 85, 36);
}

.fact-card p {
  font-size: 14px;
  color: #aaa;
}

.media-section {
  text-align: center;
  margin: 80px 0;
}

.media-title {
  font-size: 30px;
  margin-bottom: 5px;
}

.media-sub {
  font-size: 14px;
  color: #aaa;
  margin-bottom: 40px;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1200px;

  margin: 0 auto;
  padding-left: 110px; 
}

.media-card {
  width: 470px; 

  border-radius: 22px;
  overflow: hidden;
  background: #0b0b15;
  border: 2px solid transparent;

  background-image:
    linear-gradient(#0b0b15, #0b0b15),
    linear-gradient(135deg, #9b5cff, #ff7a00);

  background-origin: border-box;
  background-clip: padding-box, border-box;

  transition: 0.3s;
  cursor: pointer;
}

.media-card:hover {
  transform: translateY(-10px);

  box-shadow:
    0 0 30px rgba(155,92,255,0.6),
    0 0 45px rgba(255,122,0,0.6);
}

.media-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.media-content {
  padding: 18px;
  text-align: left;
}

.media-content h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.media-content span {
  font-size: 12px;
  color: #aaa;
  display: block;
}

.media-content small {
  font-size: 12px;
  color: #777;
}

.bday-page-content {
    background-color: #0f0f0f;
    color: #ffffff;
    overflow-x: hidden;
}

.bday-hero-section {
    position: relative;
    padding: 100px 0;
    min-height: 550px;
    background-image: url('https://portal.land/storage/promodis/695e10fcf1bec.webp'); 
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
}

.bday-hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4); 
    z-index: 1;
}

.bday-hero-container {
    position: relative;
    z-index: 2;
}

.bday-price-badge {
    background: #7c4dff;
    width: 110px;
    height: 110px;
    margin: 0 auto 30px;
    border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(124, 77, 255, 0.4);
}

.bday-price-value {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
}

.bday-price-currency {
    font-size: 18px;
    text-transform: lowercase;
}

.bday-title-main {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 10px;
    color: #fff;
}

.bday-title-accent-box {
    background-color: #ffd60a; 
    display: inline-block;
    padding: 5px 25px;
    transform: rotate(-1.5deg);
    margin-bottom: 20px;
}

.bday-title-accent-text {
    color: #000;
    font-size: 3.2rem;
    font-weight: 900;
    text-transform: lowercase;
}

.bday-breadcrumb-nav {
    font-size: 20px;
    color: rgba(210, 210, 211, 0.895);
    margin-bottom: 25px;
}

.bday-hero-subtext {
    max-width: 500px;
    margin: 0 auto;
    font-size: 20px;
    line-height: 1.5;
}

.bday-details-section {
    padding: 80px 0;
    background: rgb(29, 29, 101);
}

.bday-info-glass-card {
    background: rgb(59, 59, 102);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 50px;
    max-width: 850px;
    margin: 0 auto;
}

.bday-description-text {
    font-size: 18px;
    line-height: 1.8;
    text-align: center;
    color: #e0e0e0;
}

.bday-deco-flower {
    position: absolute;
    font-size: 24px;
    pointer-events: none;
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.5));
}
.f-pos-1 { top: -20px; left: 15%; }
.f-pos-2 { top: 40%; right: 10%; }
.f-pos-3 { bottom: -30px; left: 45%; }
.f-pos-4 { top: 10%; right: 20%; font-size: 18px; }

@media (max-width: 768px) {
    .bday-title-main { font-size: 2.4rem; }
    .bday-title-accent-text { font-size: 2rem; }
    .bday-info-glass-card { padding: 30px; }
}

.bday-floating-date {
    position: absolute;
    bottom: -205px;
    left: 1200px; 
    font-size: 17px;
    color: rgba(255, 255, 255, 0.947);
    font-family: 'Arial', sans-serif;
    z-index: 5;
    pointer-events: none;
    letter-spacing: 0.5px;
}

.cp-layout {
    background-color: #000000;
    color: #ffffff;
    overflow-x: hidden;
}

.cp-hero-block {
    position: relative;
    height: 590px; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: var(--cp-bg);
    background-size: 100% 100%; 
    background-position: center;
    background-repeat: no-repeat;
}


.cp-hero-block.promo-poster-hero {
    width: 100%;
    min-height: auto;
    height: auto;
    padding: 28px 16px 44px;
    background: radial-gradient(circle at top, rgba(72, 27, 161, 0.45), #050018 68%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-poster-img {
    display: block;
    width: min(100%, 520px);
    height: auto;
    max-height: calc(100vh - 110px);
    object-fit: contain;
    border-radius: 22px;
    box-shadow: 0 18px 55px rgba(130, 57, 255, 0.34);
}

.cp-hero-block.promo-poster-hero .cp-hero-shade,
.cp-hero-block.promo-poster-hero .cp-hero-inner {
    display: none;
}

@media (max-width: 768px) {
    .cp-hero-block.promo-poster-hero {
        padding: 18px 10px 30px;
    }

    .promo-poster-img {
        width: 100%;
        max-width: 430px;
        max-height: none;
        border-radius: 16px;
    }
}

.cp-hero-shade {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.532);
    z-index: 1;
}

.cp-hero-inner {
    position: relative;
    z-index: 5;
    padding: 40px 20px;
}

.cp-price-sticker {
    background: #7c4dff;
    width: 110px;
    height: 110px;
    margin: 0 auto 20px;
    border-radius: 40% 60% 70% 30% / 40% 40% 60% 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 0 25px rgba(124, 77, 255, 0.5);
}

.cp-price-num { font-size: 34px; font-weight: 900; line-height: 1; }
.cp-price-unit { font-size: 18px; text-transform: lowercase; }

.cp-main-heading {
    font-size: 3rem; 
    font-weight: 800;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.cp-yellow-tag {
    background: #ffd60a;
    color: #000;
    display: inline-block;
    padding: 8px 35px;
    margin: 15px 0;
    transform: rotate(-1.5deg);
    border-radius: 4px;
}

.cp-yellow-tag-text {
    font-size: 2.8rem;
    font-weight: 900;
}

.cp-path-text {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin: 10px 0 20px;
}

.cp-hero-desc {
    font-size: 20px;
    max-width: 550px;
    margin: 0 auto;
    font-weight: 600;
}

.cp-corner-date {
    position: absolute;
    bottom: 25px;
    right: 35px;
    font-weight: bold;
    font-size: 16px;
    z-index: 10;
}

.cp-content-section {
    padding: 60px 20px;
    background: rgb(29, 29, 101);
}

.cp-info-card {
    background: rgb(59, 59, 102);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    padding: 40px;
    max-width: 950px;
    margin: 0 auto;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

.cp-info-text {
    font-size: 19px;
    line-height: 1.7;
    text-align: center;
    color: #efefef;
}

@media (max-width: 768px) {
    .cp-hero-block { min-height: 70vh; }
    .cp-info-card { padding: 30px; }
    .cp-corner-date { right: 15px; bottom: 15px; font-size: 13px; }
}

.scream-page {
  background: rgb(29, 29, 101);
  color: #ffffff;
}

.scream-hero {
  position: relative;
  height: 620px;
  background-image: url("https://portal.land/storage/blogs/69a7d0fe23931.webp"); 
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.scream-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.scream-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.scream-title {
  font-size: 52px;
  font-weight: 800;
  margin-bottom: 15px;
}

.scream-breadcrumb {
  font-size: 14px;
  opacity: 0.8;
}

.scream-date {
  position: absolute;
  bottom: 20px;
  right: 30px;
  font-size: 16px;
  z-index: 3;
  color: #ffffff;
}

.scream-section {
  padding: 70px 20px;
}

.scream-container {
  max-width: 1000px;
  margin: 0 auto;
}

.scream-text {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 40px;
  color: #e5e5e5;
}

.scream-images-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-bottom: 40px;
}

.scream-images-2 img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
}

.scream-quote-box {
  position: relative;
  background: rgb(2, 9, 91);
  padding: 30px 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.cr7 {
  font-size: 60px;
  color: #c90aeb;
  line-height: 1;
}

.scream-quote-box p {
  font-size: 18px;
}


@media (max-width: 768px) {

  .scream-title {
    font-size: 28px;
  }

  .scream-images-2 {
    grid-template-columns: 1fr;
  }

  .scream-hero {
    height: 420px;
  }
}

.valentines-hero {
  position: relative;
  height: 620px;
  background-image: url("https://portal.land/storage/blogs/698b242f31ab5.webp");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.goat {
  font-size: 25px;
  margin-right: 4px;
}

.halloween-hero {
  position: relative;
  height: 620px;
  background-image: url("https://portal.land/storage/blogs/693e9b860d9e2.webp");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.halloween-images-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-bottom: 40px;
  margin-left: 300px;
}

.halloween-images-2 img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
}

/* Контейнер для сетки блога */
.pg-blog-section {
    padding: 60px 0;
    background-color: rgb(29, 29, 101); /* Темный фон как на фото */
    color: #fff;
}

.pg-blog-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 30px;
    padding: 0 15px;
}

/* Левая колонка */
.pg-blog-main-column {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Стили больших карточек */
.pg-blog-card-large {
    background: #141414;
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease, border-color 0.3s ease;
    border: 1px solid #222;
}

.pg-blog-card-large:hover {
    transform: translateY(-5px);
    border-color: #ff4d4d; 
}

.pg-blog-card-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.pg-blog-card-content {
    padding: 25px;
}

.pg-blog-date {
    font-size: 14px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.pg-blog-card-title {
    font-size: 24px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.pg-blog-read-more {
    display: inline-block;
    padding: 10px 25px;
    border: 1px solid #fff;
    border-radius: 25px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.pg-blog-card-large:hover .pg-blog-read-more {
    background: #fff;
    color: #000;
}

/* Правая колонка (Сайдбар) */
.pg-blog-sidebar {
    flex: 1;
}

.pg-sidebar-box {
    background: #141414;
    padding: 20px;
    border-radius: 15px;
    position: sticky;
    top: 100px; /* Чтобы залипал при скролле */
    border: 1px solid #222;
}

.pg-sidebar-title {
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #333;
}

.pg-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pg-sidebar-item {
    display: flex;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

.pg-sidebar-item:hover {
    opacity: 0.8;
}

.pg-sidebar-item img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.pg-sidebar-item-info p {
    font-size: 14px;
    margin: 5px 0 0 0;
    line-height: 1.2;
}

.pg-sidebar-item-date {
    font-size: 12px;
    color: #888;
}

/* Адаптив для мобилок */
@media (max-width: 992px) {
    .pg-blog-container {
        flex-direction: column;
    }
    .pg-blog-sidebar {
        order: -1; 
    }
}

.wedding-hero {
  position: relative;
  height: 620px;
  background-image: url("https://portal.land/storage/blogs/693e9a7348131.webp");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.boat {
  margin-left: 250px;
}

.pg-sidebar-box {
    background: #141414;
    padding: 20px;
    border-radius: 15px;
    position: sticky;
    top: 100px;
    
    /* Магия градиентной рамки */
    border: 2px solid transparent;
    background-image: linear-gradient(#141414, #141414), 
                      linear-gradient(to bottom right, #ff8c00, #7c4dff, #00d4ff);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    
    /* Добавляем небольшое свечение */
    box-shadow: 0 0 15px rgba(124, 77, 255, 0.2);
}

/* Дополнительно: чтобы рамка "играла", можно добавить легкий эффект при наведении */
.pg-sidebar-box:hover {
    box-shadow: 0 0 25px rgba(124, 77, 255, 0.4);
    transition: box-shadow 0.3s ease;
}

/* Стили для маленьких карточек внутри сайдбара (как на фото) */
.pg-sidebar-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.pg-sidebar-item:last-child {
    border-bottom: none;
}

/* Главная картинка во всю ширину экрана */
.page-hero-foto {
  width: 100vw; /* Растягиваем на всю ширину окна браузера */
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  
  min-height: 500px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  
  border-radius: 0; /* Убираем закругления, чтобы прилегало к краям */
  overflow: hidden;
}

.page-hero-title2 {
  font-size: 64px; 
  font-weight: 800;
  margin: 0;
  text-transform: capitalize;
  letter-spacing: 2px;
  color: #fff;
}

.page-hero-breadcrumb2 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 10px;
  opacity: 0.9;
  color: #fff;
}

.page-hero-new {
    width: 100%;
    height: 450px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.section-header-central {
  font-size: 64px; 
  font-weight: 800;
  margin: 0;
  text-transform: capitalize;
  letter-spacing: 2px;
}

/* Убираем горизонтальный скролл на всей странице */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Дополнительная страховка для Hero секции */
main {
  overflow: hidden;
}

/* Основной фон всей страницы вакансии */
.vac-page-wrapper {
    background-color: rgb(29, 29, 101); /* Твой идеальный синий */
    color: #ffffff;
    padding-bottom: 100px;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    min-height: 100vh;
}

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

/* Стили заголовка (фото 1) */
.vac-hero {
    height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;
    
    margin-bottom: 50px;
    position: relative;
}

.vac-main-title { 
    font-size: 4rem; 
    font-weight: 800; 
    margin-bottom: 5px;
    letter-spacing: -1px;
}

.vac-breadcrumb { 
    color: rgba(255, 255, 255, 0.7); 
    font-size: 1rem; 
    font-weight: 400;
}

/* Карточки-контейнеры (фото 2 и 3) */
.vac-card {
    background: rgba(255, 255, 255, 0.08); /* Полупрозрачный белый на синем фоне */
    backdrop-filter: blur(5px);
    border-radius: 40px; /* Очень круглое, как на фото */
    padding: 40px 60px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Расположение текста по краям (как на фото 2) */
.vac-flex-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vac-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
    text-align: center;
}

.vac-info-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.vac-text { 
    font-size: 1.2rem; 
    font-weight: 600; 
    text-align: center;
}

/* Списки (Requirements & Responsibilities) */
.vac-section-title { 
    font-size: 2rem; 
    margin-bottom: 30px; 
    font-weight: 700;
}

.vac-list { list-style: none; padding: 0; }
.vac-list li {
    margin-bottom: 18px;
    padding-left: 30px;
    position: relative;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
}
.vac-list li::before {
    content: "•";
    color: #fff;
    position: absolute;
    left: 0;
    font-size: 2rem;
    line-height: 1;
    top: -2px;
}

/* Блок часов работы (фото 3) */
.vac-note { 
    font-size: 0.95rem; 
    color: rgba(255, 255, 255, 0.7); 
    margin-bottom: 30px; 
    line-height: 1.6; 
}

.vac-hours-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.vac-hour-box {
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 25px;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
}

.vac-time { 
    display: block; 
    font-size: 1.4rem; 
    font-weight: 700; 
    margin-bottom: 8px; 
}

.vac-shift { 
    font-size: 0.9rem; 
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
}

/* Кнопка Apply Now (Центрированная) */
.vac-action-center {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.vac-apply-btn {
    background-color: #ffffff;
    color: rgb(29, 29, 101); /* Текст цвета фона для контраста */
    padding: 18px 50px;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.vac-apply-btn i {
    font-size: 1.1rem;
}

.vac-apply-btn:hover {
    transform: scale(1.05);
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.vac-hero-date {
    position: absolute;
    right: 20px; /* Отступ от правого края */
    bottom: 15px; /* Отступ от нижнего края картинки */
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
}

/* Переменные для легкой смены стиля других игр */
:root {
    --accent-color: #ff4d00;
    --bg-dark: #121212;
    --card-bg: #1e1e1e;
    --text-main: #ffffff;
    --text-muted: #aaaaaa;
}

/* Полная ширина видео без зазоров */
.x9z2-hero {
    position: relative;
    width: 100%;
    height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #000;
}

.x9z2-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.x9z2-video-element {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important; background:transparent !important; /* Важно: заполняет всё пространство */
    filter: brightness(0.5);
}

.x9z2-hero-content {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.x9z2-main-title {
    font-size: 80px;
    margin: 10px 0;
    color: #fff;
    font-weight: 900;
}

.x9z2-tags-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 25px 0;
}

.x9z2-tag-item {
    background: rgba(255,255,255,0.1);
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 13px;
    backdrop-filter: blur(10px);
}

.x9z2-btn-fill {
    background: #ff4d4d;
    color: #fff;
    padding: 15px 40px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    display: inline-block;
}

.x9z2-btn-stroke {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 15px 40px;
    margin-left: 10px;
    border-radius: 4px;
    cursor: pointer;
}

/* Контейнер страницы */
.x9z2-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.x9z2-info-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.x9z2-header-line {
    border-left: 5px solid #ff4d4d;
    padding-left: 15px;
    text-transform: uppercase;
    font-size: 22px;
    margin-bottom: 30px;
}

.x9z2-branch-box {
    background: #1a1c2c;
    padding: 30px;
    border-radius: 12px;
}

/* Стили Календаря */
.x9z2-cal-row {
    display: flex;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #2d3047;
}

.x9z2-cal-date { width: 250px; font-weight: bold; }
.x9z2-cal-date span { font-size: 30px; margin-right: 10px; }

.x9z2-cal-slots { display: flex; gap: 10px; flex-wrap: wrap; }

.x9z2-slot-off { background: #252839; color: #555; padding: 10px 20px; border-radius: 5px; }
.x9z2-slot-on { background: #343852; color: #fff; padding: 10px 20px; border-radius: 5px; cursor: pointer; }
.x9z2-slot-hot { background: #ff4d4d; color: #fff; padding: 10px 20px; border-radius: 5px; }

@media (max-width: 768px) {
    .x9z2-info-grid { grid-template-columns: 1fr; }
    .x9z2-main-title { font-size: 40px; }
    .x9z2-cal-row { flex-direction: column; align-items: flex-start; gap: 15px; }
}

/* =========================================
   НОВЫЕ "НЕРАЛЬНЫЕ" КЛАССЫ (Префикс x9z2-)
   ДЛЯ ОСТАЛЬНЫХ ЧАСТЕЙ СТРАНИЦЫ
   ========================================= */

/* Общий контейнер страницы для всех новых секций */
.x9z2-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Макет: Основной контент + Боковая панель */
.x9z2-content-layout, .x9z2-end-grid {
    display: grid;
    grid-template-columns: 2fr 1fr; /* 2 части контента, 1 часть сайдбара */
    gap: 40px;
    padding-top: 60px;
    padding-bottom: 60px;
}

.x9z2-section-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    border-left: 5px solid #ff4d4d; /* Красная полоса как на фото */
    padding-left: 15px;
    color: #fff;
    text-transform: uppercase;
}

/* 1. СТИЛИ РЕЖИМОВ ИГРЫ (Modes) */
.x9z2-modes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 колонки */
    gap: 20px;
    margin-bottom: 40px;
}

.x9z2-mode-card {
    background-color: rgba(255, 255, 255, 0.04);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.x9z2-mode-card h4 { font-size: 20px; margin-top: 0; }
.x9z2-age-tag { font-size: 13px; color: #ff4d4d; background: rgba(255, 77, 77, 0.1); display: inline-block; padding: 4px 10px; border-radius: 4px; }
.x9z2-mode-desc { color: rgba(255,255,255,0.7); font-size: 14px; margin: 15px 0; line-height: 1.6; }
.x9z2-note { font-size: 12px; color: #aaa; font-style: italic; }
.x9z2-mode-btn { color: #fff; text-decoration: none; font-weight: bold; font-size: 14px; }

/* Особые стили для сложных режимов */
.x9z2-hard { border-color: #ffc107; } /* Желтая граница для Hard */
.x9z2-ultra { border-color: #ff4d4d; background-color: rgba(255, 77, 77, 0.05); } /* Красная для Ultra */

/* Возрастные правила */
.x9z2-age-rules { background: rgba(255,255,255,0.02); padding: 20px; border-radius: 8px; }
.x9z2-rules-list { font-size: 13px; color: #ccc; line-height: 1.8; }

/* 2. СТИЛИ БОКОВОЙ ПАНЕЛИ (Sidebar) */
.x9z2-sidebar { display: flex; flex-direction: column; gap: 30px; }

.x9z2-other-games-card, .x9z2-latest-comm-card {
    background-color: rgba(255, 255, 255, 0.04);
    padding: 25px;
    border-radius: 12px;
}

.x9z2-mini-games-list { display: flex; flex-direction: column; gap: 15px; margin-top: 20px; }
.x9z2-mini-game { display: flex; gap: 15px; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 10px; }
.x9z2-mini-thumb { width: 80px; height: 60px; object-fit: cover; border-radius: 6px; }
.x9z2-mini-info h4 { margin: 0; font-size: 16px; }
.x9z2-mini-info p { margin: 2px 0; font-size: 12px; color: #aaa; }
.x9z2-mini-rating { color: #ffc107; }

/* Рейтинг в сайдбаре */
.x9z2-rating-summary { text-align: center; color: #fff; }
.x9z2-rating-big { font-size: 64px; font-weight: 800; }
.x9z2-rating-bars { width: 100%; margin-top: 10px; }

/* 3. СТИЛИ КАЛЕНДАРЯ (Один в один как на Photo 2 и 3) */
.x9z2-calendar-section { background-color: rgba(0, 0, 0, 0.3); padding: 60px 0; margin: 60px 0; }
.x9z2-prepayment-note { background: rgba(255,255,255,0.03); padding: 15px; border-radius: 6px; font-size: 13px; margin-bottom: 40px; color: #ccc; }

.x9z2-calendar-grid { background: rgba(255,255,255,0.02); border-radius: 12px; overflow: hidden; }
.x9z2-cal-row { display: flex; align-items: center; padding: 20px; border-bottom: 1px solid rgba(255,255,255,0.05); }

.x9z2-cal-date { width: 250px; display: flex; align-items: center; color: #fff; font-weight: 700; }
.x9z2-cal-date span { font-size: 36px; margin-right: 15px; font-weight: 800; }

.x9z2-cal-slots { display: flex; flex-wrap: wrap; gap: 8px; }
.x9z2-slot { padding: 8px 15px; border-radius: 4px; border: none; color: #fff; font-size: 13px; cursor: pointer; }

/* Цвета слотов как на фото */

/* Стандартные цвета строки Март 28 (Серая сетка) */
.x9z2-slots-grey .x9z2-slot { background-color: rgba(255, 255, 255, 0.05); }

/* Полностью красная строка (Март 29) */
.x9z2-slots-red .x9z2-slot { background-color: #ff4d4d; }

/* Индивидуальные цвета слотов (Апрель 01) */
.x9z2-slot-brown { background-color: #4a3621; } /* Коричневые */
.x9z2-slot-blue { background-color: #007bff; border: 1px solid rgba(255,255,255,0.2); } /* Синие с обводкой */
.x9z2-slot-hot { background-color: #ff4d4d; border-radius: 15px; } /* Красный овал */

/* 4. ГАЛЕРЕЯ И ОТЗЫВЫ */
.x9z2-gallery-thumb img { width: 100%; border-radius: 12px; margin-bottom: 40px; }

.x9z2-rev-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }

.x9z2-rev-card { background: rgba(255,255,255,0.04); padding: 25px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.08); }
.x9z2-rev-user { display: flex; gap: 15px; align-items: center; margin-bottom: 15px; }
.x9z2-avatar { width: 40px; height: 40px; background: #e67e22; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; color: #fff; font-size: 18px; }
.x9z2-user-details strong { display: block; color: #fff; }
.x9z2-user-details .x9z2-date { font-size: 12px; color: #aaa; }
.x9z2-quote-char { font-size: 48px; color: #ff4d4d; font-family: serif; margin: 0; position: absolute; } /* Символ цитаты */
.x9z2-rev-text { color: rgba(255,255,255,0.8); font-size: 14px; line-height: 1.6; padding-left: 20px; }
.x9z2-stars { color: #4CAF50; /* Зеленые звезды как на фото */ font-size: 18px; } 

/* Комментарии в сайдбаре */
.x9z2-latest-comm-card h3 { margin-bottom: 20px; }
.x9z2-mini-comm p { font-size: 13px; color: #ccc; margin: 8px 0; }
.x9z2-see-all { font-size: 12px; color: #ff4d4d; text-decoration: none; display: block; margin-top: 15px; font-weight: bold; }

/* Адаптивность для телефонов */
@media (max-width: 900px) {
    .x9z2-content-layout, .x9z2-end-grid { grid-template-columns: 1fr; }
    .x9z2-cal-row { flex-direction: column; align-items: flex-start; gap: 15px; }
    .x9z2-cal-date { width: 100%; }
}

.rsv-x9z-container {
    background-color: rgb(29, 29, 101);
    padding: 20px;
    font-family: 'Inter', sans-serif;
    color: #fff;
}

.rsv-x9z-main-heading {
    text-align: center;
    font-size: 28px;
    margin: 30px 0;
    font-weight: 500;
}

.rsv-x9z-day-row {
    display: flex;
    align-items: center;
    padding: 12px 0;
}

.rsv-x9z-date-label {
    min-width: 160px;
    font-size: 15px;
    font-weight: 600;
}

.rsv-x9z-day-name {
    font-weight: 400;
    color: #999;
    margin-left: 8px;
}

.rsv-x9z-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Кнопка времени - Один в Один */
.rsv-x9z-slot {
    width: 72px;           /* Увеличил ширину */
    height: 50px;          /* Увеличил высоту */
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.2);
    background: linear-gradient(180deg, #444 0%, #222 100%);
    color: #fff;
    font-size: 14px;       /* Чуть крупнее шрифт для баланса */
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.2s ease;
}

/* Базовое состояние кнопки */
.rsv-x9z-slot {
    /* Твои существующие стили... */
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out; /* Плавный переход */
}

/* Состояние при наведении (HOVER) */
.rsv-x9z-slot:not(.rsv-x9z-status-gray):hover {
    transform: scale(1.1); /* Увеличение на 10% */
    box-shadow: 0 10px 20px rgba(0,0,0,0.5); /* Добавляем тень для эффекта "всплытия" */
    z-index: 10; /* Чтобы кнопка была поверх соседних */
}

/* Статус ЗАНЯТО (Красный как на фото) */
.rsv-x9z-status-red {
    background: linear-gradient(180deg, #8d1818a9 0%, #5a1a1a8e 100%);
    border-color: #b60d0d;
    box-shadow: 0 0 8px rgba(255, 77, 77, 0.4);
}

/* Статус АКЦИЯ (Синий с градиентом) */
.rsv-x9z-status-blue {
    background: linear-gradient(180deg, #1e4d8a69 0%, #12345668 100%);
    border-color: #00d2ff;
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.4);
}

/* Бейдж скидки */
.rsv-x9z-badge {
    position: absolute;
    top: -8px;
    right: -2px;
    background: #00d2ff;
    color: #000;
    font-size: 9px;
    padding: 1px 4px;
    border-radius: 4px;
    font-weight: 800;
}

.rsv-x9z-divider {
    border: 0;
    border-top: 1px solid #333;
    margin: 0;
}

/* Кнопка Show More */
.rsv-x9z-action-btn {
    background: #fff;
    color: #000;
    border: none;
    padding: 10px 30px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.rsv-x9z-action-btn:hover {
    opacity: 0.8;
}

/* Статус АКЦИЯ (Желтый/Золотой) */
.rsv-x9z-status-gold {
    background: linear-gradient(180deg, #b8870ba5 0%, #7d5a0000 100%);
    border-color: #ffd900;
    box-shadow: 0 0 10px rgba(255, 217, 0, 0.5);
}

/* Бейдж для желтой кнопки (черный текст на желтом фоне для читаемости) */
.rsv-x9z-status-gold .rsv-x9z-badge {
    background: #ffd700;
    color: #000;
}

.rsv-x9z-status-gray {
    background: #2f2f2f !important;
    border-color: #434343 !important;
    color: rgba(255, 255, 255, 0.179) !important;
    cursor: not-allowed;
    /* Линия: слева направо (через linear-gradient) */
    background-image: linear-gradient(to bottom right, 
        transparent 46%, 
        #000 47%, 
        #000 53%, 
        transparent 54%) !important;
}

.rsv-x9z-status-red:hover { box-shadow: 0 12px 20px rgba(255, 59, 59, 0.4); }
.rsv-x9z-status-blue:hover { box-shadow: 0 12px 20px rgba(0, 210, 255, 0.5); }
.rsv-x9z-status-gold:hover { box-shadow: 0 12px 20px rgba(255, 215, 0, 0.5); }
/* "Animal" Styles for Perfect Layout */

.elephant-main-grid {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    color: white;
    font-family: sans-serif;
}

.giraffe-left-column {
    flex: 2;
}

.eagle-sidebar {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Заголовки как на фото (Оранжевые) */
.zebra-orange-title {
    color: #f69e59; /* Оранжево-желтый как на фото */
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: bold;
}

.zebra-orange-title.small {
    font-size: 20px;
    margin-top: 40px;
}

.zebra-orange-title.side-title {
    font-size: 18px;
    margin-top: 0;
}

/* Цитата */
.camel-quote-box {
    position: relative;
    padding: 10px 0;
}

.fox-quote {
    color: #f69e59;
    font-size: 40px;
    font-family: serif;
    line-height: 0;
}

.fox-quote.right-q {
    float: right;
    margin-top: -20px;
}

.camel-quote-box p {
    font-size: 16px;
    line-height: 1.6;
    color: #ccc;
    display: inline;
}

/* Списки */
.tiger-list {
    list-style: none;
    padding: 0;
}

.tiger-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    color: #ddd;
    font-size: 14px;
}

.tiger-list li::before {
    content: "•";
    color: #f69e59;
    position: absolute;
    left: 0;
    font-size: 20px;
}

/* Сетка режимов */
.wolf-modes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.owl-mode-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
}

.owl-mode-card h4 {
    margin: 0 0 10px 0;
    font-size: 18px;
}

.deer-icon-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 14px;
}

.deer-icon-row img {
    width: 20px;
    height: 20px;
    opacity: 0.8;
}

.owl-mode-card p {
    font-size: 13px;
    color: #bbb;
    margin-bottom: 15px;
}

.owl-mode-card a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
}

.mouse-note {
    display: block;
    font-size: 11px;
    color: #f69e59;
    margin-bottom: 10px;
}

/* Сайдбар - Карточка филиала */
.shark-branch-card {
    background: #1a1a1a;
    border-radius: 20px;
    padding: 25px;
    text-align: center;
}

.whale-name {
    font-size: 24px;
    margin-bottom: 20px;
}

.crab-info p {
    font-size: 14px;
    margin: 8px 0;
    color: #eee;
}

.map-link {
    color: #f69e59;
    text-decoration: none;
    font-size: 12px;
}

.snake-socials {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 20px 0;
}

.snake-socials a {
    color: white;
    background: rgba(255,255,255,0.1);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: 0.3s;
}

.snake-socials a:hover {
    background: #f69e59;
}

.horse-btns {
    display: flex;
    gap: 10px;
}

.btn-blue, .btn-orange {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    color: white;
}

.btn-blue { background: #007bff; }
.btn-orange { background: #f69e59; }

/* Список игр в сайдбаре */
.rhino-other-games {
    background: #1a1a1a;
    border-radius: 20px;
    padding: 20px;
}

.bull-game-item {
    display: flex;
    align-items: center; /* Центрируем по вертикали */
    gap: 15px;
    padding: 12px;
    border-radius: 12px;
    transition: 0.3s;
    text-decoration: none;
    color: white;
    margin-bottom: 8px;
}

.bull-game-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.bull-game-item img {
    width: 120px;      /* Фиксированная ширина превью */
    height: 70px;      /* Фиксированная высота */
    object-fit: cover; /* Чтобы картинка не растягивалась */
    border-radius: 8px;
}

.bull-info {
    flex: 1; /* Чтобы инфо занимало остаток места */
}

/* Оранжевые звезды и локация */
.bull-info .meta-row {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 4px;
}

.bull-info h4 {
    margin: 0;
    font-size: 16px;
}

.bull-info p {
    font-size: 12px;
    color: #888;
    margin: 4px 0;
}

.bull-info span {
    color: #f69e59;
    font-size: 14px;
}

.new-badge {
    position: absolute;
    top: 5px;
    left: 5px;
    background: #4caf50; 
    color: white;
    font-size: 8px;
    padding: 2px 5px;
    border-radius: 4px;
    z-index: 10; 
}

/* Рейтинг */
.huge-digit {
    font-size: 48px;
    font-weight: bold;
}

.rating-flex {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.gold-stars { color: #f69e59; letter-spacing: 2px; }

.rating-bars-container {
    margin-top: 15px;
}

.bar-line {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    margin-bottom: 5px;
}

.bg-bar {
    flex: 1;
    height: 4px;
    background: #333;
    border-radius: 2px;
}

.fill-bar {
    height: 100%;
    background: #f69e59;
    border-radius: 2px;
}

/* Отдельный контейнер для рейтинга и комментов */
.panther-rating-comment-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Стили заголовка комментов */
.zebra-orange-title.comment-head {
    font-size: 18px;
    margin-bottom: 15px;
    text-align: right; /* На скрине заголовок справа или по центру */
}

/* Карточка комментария */
/* Основной контейнер с темным фоном и размытыми краями */
.falcon-latest-comments {
    background-color: #1a1a1a; /* Темный цвет из фото */
    padding: 30px;
    border-radius: 40px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: white;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Заголовок с оранжевым неоновым свечением */
.zebra-orange-title.comment-head {
    color: #ff9d6c; /* Нежно-оранжевый */
    font-size: 28px;
    margin-bottom: 25px;
    text-shadow: 0 0 10px rgba(255, 157, 108, 0.6); /* Эффект свечения */
    font-weight: bold;
}

/* Карточка комментария */
.monkey-comment-card {
    background-color: #2b2b2b; /* Чуть светлее фона */
    border-radius: 20px;
    padding: 20px;
    text-align: left;
    margin-bottom: 20px;
    position: relative;
}

/* Инфо о пользователе: имя и дата */
.comment-user-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.comment-user-info strong {
    font-size: 18px;
    font-weight: 600;
}

.comment-user-info span {
    color: #888;
    font-size: 14px;
}

/* Текст комментария */
.monkey-comment-card p {
    font-size: 16px;
    line-height: 1.4;
    margin: 10px 0;
    color: #e0e0e0;
}

/* Звезды */
.gold-stars.tiny {
    color: #a8d5ba; /* На фото звезды имеют мятно-белый оттенок */
    font-size: 20px;
    letter-spacing: 2px;
}

/* Ссылка "See all comments" */
.see-all-link {
    display: inline-block;
    color: #ff9d6c;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    margin-top: 10px;
    text-shadow: 0 0 8px rgba(255, 157, 108, 0.4);
}

.see-all-link:hover {
    text-decoration: underline;
}

.gold-stars.tiny {
    font-size: 10px;
    letter-spacing: 1px;
}

/* Ссылка "Смотреть все" */
.see-all-link {
    display: block;
    text-align: right;
    color: #f69e59;
    text-decoration: none;
    font-size: 12px;
    margin-top: 10px;
    font-weight: bold;
}

.see-all-link:hover {
    text-decoration: underline;
}

/* Делаем рейтинг отдельным темным блоком */
.spider-rating-total {
    background: #1a1a1a;
    border-radius: 20px;
    padding: 20px;
}

.prepay-comment-wrapper {
  display: flex;
  gap: 30px;
  margin-top: 40px;
  align-items: flex-start;
}

/* Левая часть */
.prepay-box {
  flex: 1;
  background: rgb(29, 29, 101);
  padding: 25px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
}

.prepay-box h3 {
  color: #f59c21;
  margin-bottom: 10px;
}

.prepay-box p {
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

.card-promo50 > div:last-child {
    background-color: transparent; /* Убирает фон у блока с текстом */
    padding: 15px 10px; /* Добавь отступы, если текст прилип к краям */
}

.card-promo50 {
    background-color: transparent !important; /* Убирает черный фон */
    display: flex;
    flex-direction: column;
    text-decoration: none; /* Убирает подчеркивание ссылки */
    overflow: hidden; /* Чтобы картинка не вылезала за границы */
}

/* Если у тебя есть общая обводка или тень, которая создает границы */
.card-promo50:hover {
    background-color: rgba(255, 255, 255, 0.05); /* Легкое подсвечивание при наведении */
}

.x9z2-hero {
    position: relative;
    width: 100%;
    height: 85vh; /* Высота блока (85% экрана) */
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #000;
}

.x9z2-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.x9z2-video-element {
    width: 100% !important;
    height: 100% !important;
    /* Это свойство растягивает видео, обрезая лишнее, чтобы не было пустых зон */
    object-fit: contain !important; background:transparent !important; 
    filter: brightness(0.4); /* Немного затемняем, чтобы текст лучше читался */
}

.x9z2-hero-content {
    position: relative;
    z-index: 5; 
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    color: #fff;
}

.policy-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 80px 20px;
}

/* Заголовок */
.policy-header {
    text-align: left;
    margin-bottom: 40px;
}

.policy-header h1 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.subtitle {
    color: #a0a0a0;
    font-size: 16px;
    font-weight: 500;
}

.rules-list ol {
    list-style-type: none;
    counter-reset: rules-counter; 
    padding-left: 0;
}

.rules-list li {
    counter-increment: rules-counter;
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    line-height: 1.6;
    font-size: 15px;
    color: #e0e0e0;
}

.rules-list li::before {
    content: counter(rules-counter) ".";
    color: #ffffff;
    font-weight: bold;
    min-width: 35px; 
    margin-right: 15px;
    text-align: right;
}

@media (max-width: 768px) {
    .policy-container {
        padding: 40px 15px;
    }
    
    .policy-header h1 {
        font-size: 24px;
    }
}

.game-card80.disabled-card {
    position: relative;
    width: 100%;
    border-radius: 15px; 
    overflow: hidden;
    cursor: default;
    height: 200px; 
}

.card-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000; 
}

.bg-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    filter: grayscale(1) brightness(0.3); 
    display: block;
}

.status-overlay {
    position: absolute;
    z-index: 10;
    display: flex;
    flex-direction: column; 
    align-items: center;
    justify-content: center;
    width: 100%;
}

.coming-soon {
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
    opacity: 0.9;
}

.game-title-disabled {
    color: #ffffff;
    font-size: 22px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.disabled-card .game-hover, 
.disabled-card h3 {
    display: none !important;
}

.coming-badge {
    position: absolute;
    top: 5px;
    left: 5px;
    background: rgb(181, 7, 7); 
    color: white;
    font-size: 8px;
    padding: 2px 5px;
    border-radius: 4px;
    z-index: 10; 
}

.bull-game-item20:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.bull-game-item20 img {
    width: 120px;   
    height: 70px;  
    object-fit: cover;
    border-radius: 8px;
}

.bull-info20 {
    flex: 1; /* Чтобы инфо занимало остаток места */
}

/* Оранжевые звезды и локация */
.bull-info20 .meta-row {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 4px;
}

.bull-info20 h4 {
    margin: 0;
    font-size: 16px;
}

.bull-info20 p {
    font-size: 12px;
    color: #888;
    margin: 4px 0;
}

.bull-info20 span {
    color: #f69e59;
    font-size: 14px;
}

/* Добавляем этот класс к ссылке <a> */
.bull-game-item20.coming-soon-mode {
    pointer-events: none; 
    filter: grayscale(0.2);  /* Делает карточку полностью серой */
    opacity: 0.7;          /* Немного прозрачности для "неактивного" вида */
    background: rgba(255, 255, 255, 0.05); 
}

.bull-game-item20 {
    position: relative; 
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    border-radius: 12px;
    transition: 0.3s;
    text-decoration: none;
    color: white;
    margin-bottom: 8px;
}

/* Это сработает только для ОБЫЧНЫХ карточек (без класса coming-soon-mode) */
.bull-game-item20:not(.coming-soon-mode):hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.bull-game-item {
    position: relative; 
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    border-radius: 12px;
    transition: 0.3s;
    text-decoration: none;
    color: white;
    margin-bottom: 8px;
}

.x9z2-add-rev-btn { 
  background: #ff4d4d;
   color: #fff; 
   border: none;
   padding: 10px 30px;
   border-radius: 4px;
   font-weight: bold; 
   cursor: pointer; 
   margin-left: 700px;
   width: 200px;
}

/* Уникальные стили для страницы контактов */

.ct-hero-section {
    position: relative;
    width: 100%;
    height: 450px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ct-hero-overlay {
    background: rgba(0, 0, 0, 0.6);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    text-align: center;
}

.ct-hero-content {
    color: #fff;
    width: 100%;
}

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

.ct-icon-circle {
    width: 80px;
    height: 80px;
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.ct-hero-title {
    font-size: 48px;
    font-weight: bold;
    margin: 10px 0;
    text-transform: uppercase;
}

.ct-hero-breadcrumb {
    font-size: 18px;
    opacity: 0.8;
}

.ct-text-center {
    text-align: center;
    margin-bottom: 40px;
}

.ct-section-title {
    font-size: 32px;
    margin-bottom: 15px;
}

.ct-section-desc {
    color: #ccc;
    max-width: 700px;
    margin: 0 auto;
}

.ct-social-container {
    text-align: center;
    margin-bottom: 50px;
}

.ct-social-text {
    margin-bottom: 20px;
    color: #eee;
}

.ct-social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.ct-social-icons i {
    font-size: 24px;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

/* Стили формы */
.ct-form-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 15px;
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ct-form-title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 10px;
}

.ct-form-subtitle {
    text-align: center;
    color: #aaa;
    margin-bottom: 30px;
}

.ct-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.ct-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.ct-input-group label {
    font-size: 14px;
    color: #ccc;
}

.ct-input, .ct-textarea {
    background: transparent;
    border: 1px solid #444;
    padding: 12px;
    border-radius: 8px;
    color: #fff;
    outline: none;
}

.ct-textarea {
    height: 120px;
    resize: none;
}

.ct-input:disabled, .ct-textarea:disabled {
    background: rgba(255, 255, 255, 0.02);
    color: #888;
    cursor: not-allowed;
    border-color: #333;
}

.ct-button-wrapper {
    display: flex;
    justify-content: center;
}

.ct-submit-btn {
    background: linear-gradient(90deg, #ff7e5f, #feb47b);
    border: none;
    padding: 12px 40px;
    border-radius: 25px;
    color: white;
    font-weight: bold;
    cursor: not-allowed;
    opacity: 0.6;
}

@media (max-width: 768px) {
    .ct-form-row {
        grid-template-columns: 1fr;
    }
}

.ct-main-content {
    padding: 60px 0;
    background-color: rgb(29, 29, 101); 
    color: white;
}

.ct-contact-button-container {
    margin-top: 25px;
    margin-bottom: 40px;
}

.ct-phone-main-btn {
    display: inline-block;
    background-color: #ffffff;
    color: rgb(29, 29, 101);
    padding: 12px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: transform 0.2s, opacity 0.2s;
}

.ct-phone-main-btn:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.ct-form-card {
    background: rgba(255, 255, 255, 0.07);
    padding: 40px;
    border-radius: 15px;
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
}

.ct-input, .ct-textarea {
    background: rgba(0, 0, 0, 0.2); 
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px;
    border-radius: 8px;
    color: #fff;
    outline: none;
}

.x9z2-bread a {
  text-decoration: none;
  color: white;
}

.x9z2-bread a:hover {
  text-decoration: underline;
}

/* BACKDROP */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  display: flex;
  justify-content: center;
  align-items: center;

  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);

  z-index: 9999; /* 🔥 ВАЖНО */
  -webkit-backdrop-filter: blur(10px);
}

/* HIDE */
.hidden {
  display: none;
}

/* MODAL BOX */
.modal-box {
  width: 360px;
  background: #111;
  color: white;
  padding: 25px;
  border-radius: 14px;
  position: relative;
  animation: pop 0.25s ease;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

/* INPUTS */
.modal-box input {
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  border-radius: 8px;
  border: none;
  outline: none;
}

/* BUTTON */
.primary-btn {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  background: #4f46e5;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s;
}

.primary-btn:hover {
  background: #3730a3;
  transform: scale(1.02);
}

/* CLOSE BUTTON */
.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  color: white;
  border: none;
  font-size: 18px;
  cursor: pointer;
}

/* LINK */
.link {
  margin-top: 10px;
  font-size: 13px;
  color: #aaa;
  cursor: pointer;
}

/* SUCCESS */
.success {
  text-align: center;
}

.check {
  font-size: 50px;
  color: #22c55e;
}

/* ANIMATIONS */
@keyframes pop {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.step {
  position: absolute;
  width: 100%;
  transition: all 0.4s ease;
}

.hidden {
  opacity: 0;
  transform: translateX(50px);
  pointer-events: none;
}

.active {
  opacity: 1;
  transform: translateX(0);
}

.avatar-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;

  background: linear-gradient(
    45deg,
    #feda75,
    #fa7e1e,
    #d62976,
    #962fbf,
    #4f5bd5
  );

  color: white;
  font-weight: bold;
  font-size: 16px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: none;
  cursor: pointer;

  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
  transition: 0.2s;
}

.avatar-btn:hover {
  transform: scale(1.08);
}

/* Контейнер модалки */
.modal-custom {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    z-index: 9999;
}

/* Эффект размытия заднего фона */
.modal-overlay-blur {
    position: absolute;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
}

/* Квадратное окно */
.modal-square {
    position: relative;
    width: 400px;
    background: #1a1a1a; /* Темный профи-фон */
    border: 1px solid #333;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    padding: 40px;
    color: white;
    text-align: center;
}

/* Яркая полоска сверху для стиля */
.alert-border-top {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, #5900ff, #007bff);
}

/* Иконка в квадрате */
.icon-box {
    width: 60px; height: 60px;
    border: 2px solid #5900ff;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    transform: rotate(45deg); /* Поворачиваем квадрат для стиля */
}
.warning-icon {
    font-size: 30px; font-weight: bold; color: #5900ff;
    transform: rotate(-45deg); /* Возвращаем восклицательный знак обратно */
}

.alert-title {
    font-family: 'Inter', sans-serif;
    letter-spacing: 2px; font-size: 22px; margin-bottom: 15px;
}

.alert-text {
    color: #aaa; line-height: 1.6; margin-bottom: 30px;
}

/* Кнопки */
.alert-buttons {
    display: flex; flex-direction: column; gap: 12px;
}

.btn-primary-square {
    background: #5900ff; color: white; border: none;
    padding: 15px; font-weight: bold; letter-spacing: 1px;
    cursor: pointer; transition: 0.3s;
}
.btn-primary-square:hover { background: #4500cc; transform: translateY(-2px); }

.btn-ghost-square {
    background: transparent; color: white; border: 1px solid #333;
    padding: 15px; cursor: pointer; transition: 0.3s;
}
.btn-ghost-square:hover { background: #333; }

/* АНИМАЦИЯ */
.animate-zoom-in {
    animation: zoomIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

.hidden { display: none !important; }


/* Production reservation modal */
.rsv-prod-modal{position:fixed;inset:0;background:rgba(0,0,0,.72);z-index:99999;display:flex;align-items:center;justify-content:center;padding:24px;backdrop-filter:blur(8px)}
.rsv-prod-modal.hidden{display:none!important}.rsv-prod-box{width:min(760px,96vw);max-height:92vh;overflow:auto;background:rgba(35,39,43,.96);border:1px solid rgba(255,255,255,.14);border-radius:22px;padding:28px;color:#fff;box-shadow:0 24px 80px rgba(0,0,0,.55);position:relative}.rsv-prod-close{position:absolute;right:22px;top:18px;background:transparent;border:0;color:#fff;font-size:38px;cursor:pointer}.rsv-prod-box h2{text-align:center;font-size:34px;margin:6px 50px 24px;font-weight:800}.rsv-prod-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.rsv-prod-grid input,.rsv-prod-grid select,.rsv-prod-promo input,.rsv-prod-coin input{width:100%;background:#566064;border:1px solid rgba(255,255,255,.12);border-radius:12px;padding:18px 20px;color:#fff;font-size:18px;font-weight:700;outline:none}.rsv-prod-grid input:focus,.rsv-prod-grid select:focus{border-color:#f2c27a;box-shadow:0 0 0 3px rgba(242,194,122,.18)}.rsv-prod-info{font-weight:700;font-size:15px;margin:16px 4px;color:#fff}.rsv-prod-price,.rsv-prod-rules,.rsv-prod-promo,.rsv-prod-coin{background:rgba(91,101,104,.62);border-radius:14px;padding:18px;margin-top:16px}.rsv-prod-price div{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid rgba(255,255,255,.14);font-size:20px;font-weight:800}.rsv-prod-price div:last-child{border-bottom:0;font-size:24px}.rsv-prod-rules h3{margin:0 0 12px;font-size:18px}.rsv-prod-rules p{max-height:92px;overflow:auto;background:rgba(0,0,0,.14);padding:14px;border-radius:10px;line-height:1.5;font-weight:700}.rsv-prod-rules label,.rsv-prod-coin label{display:flex;gap:10px;align-items:center;font-weight:800}.rsv-prod-rules input[type=checkbox]{width:24px;height:24px}.rsv-prod-promo>div{display:grid;grid-template-columns:1fr 100px;gap:12px;margin-top:12px}.rsv-prod-promo button{border:0;border-radius:12px;background:#7b9aaa;color:#fff;font-size:17px;font-weight:800;cursor:pointer}.rsv-prod-coin{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center}.rsv-prod-coin input:not([type=radio]){grid-column:1/3}.rsv-prod-coin small{grid-column:1/3;color:#ddd}.rsv-prod-confirm{width:100%;margin-top:22px;border:0;border-radius:14px;padding:18px 22px;color:#fff;font-size:20px;font-weight:900;background:linear-gradient(90deg,#18c8ff,#d88bff,#ff8c35);cursor:pointer}.rsv-prod-confirm:hover{filter:brightness(1.08)}@media(max-width:700px){.rsv-prod-grid{grid-template-columns:1fr}.rsv-prod-box{padding:22px}.rsv-prod-box h2{font-size:26px}.rsv-prod-promo>div,.rsv-prod-coin{grid-template-columns:1fr}.rsv-prod-coin input:not([type=radio]),.rsv-prod-coin small{grid-column:auto}}

/* v6: user's own reservation can be clicked to cancel; other booked slots stay locked */
.rsv-x9z-own-booking {
  cursor: pointer !important;
  opacity: 1 !important;
  border-color: rgba(255,255,255,0.85) !important;
}
.rsv-x9z-own-booking:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}


/* =========================================================
   PROFESSIONAL RESPONSIVE POLISH — layout only, no business logic
   ========================================================= */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
}

.container,
.container60,
.footer-container,
.booking-container,
.games-container,
.page-container {
  width: min(1200px, calc(100% - 40px));
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

.nav-wrapper {
  width: 100%;
}

.navbar {
  min-width: 0;
}

.nav-left,
.nav-right,
.logo-text,
.nav-links {
  min-width: 0;
}

.logo-text span:first-child {
  white-space: nowrap;
}

.hero-title,
.section-title,
.page-title,
.hero-content h1,
.booking-title,
.game-title,
.contact-title,
.faq-intro h2 {
  font-size: clamp(30px, 5vw, 64px);
  line-height: 1.04;
  overflow-wrap: anywhere;
}

.hero-subtitle,
.section-subtitle,
.hero-content p,
.game-description,
.page-description {
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.65;
}

.hero-layout,
.info-grid,
.audience-grid,
.feedback-grid,
.custom-grid,
.booking-grid,
.contact-grid,
.footer-grid,
.faq-grid {
  min-width: 0;
}

.games-grid,
.promotions-grid,
.vacancy-grid,
.blog-grid,
.branches-grid,
.cards-row,
.grid,
.custom-grid {
  align-items: stretch;
}

.game-card,
.promo-card,
.blog-card,
.vacancy-card,
.branch-card,
.card-promo50,
.step-card2,
.info-card,
.audience-card {
  min-width: 0;
}

input,
select,
textarea,
button {
  max-width: 100%;
  font: inherit;
}

.modal-box,
.rsv-prod-box {
  width: min(560px, calc(100vw - 28px));
}

.table-wrap,
.booking-table-wrap,
.reservation-table,
.prices-table,
table {
  max-width: 100%;
}

.table-wrap,
.booking-table-wrap,
.reservation-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 769px) and (max-width: 1180px) {
  :root { --nav-height: 76px; }

  .container,
  .container60,
  .footer-container,
  .booking-container,
  .games-container,
  .page-container {
    width: min(1120px, calc(100% - 48px));
  }

  .nav-links {
    gap: clamp(12px, 1.6vw, 22px);
    font-size: clamp(12px, 1.25vw, 14px);
  }

  .logo-mark {
    width: 54px;
    height: 54px;
  }

  .logo-text span:first-child {
    font-size: clamp(14px, 1.45vw, 18px);
  }

  .login-btn,
  .lang-current {
    padding-left: 10px;
    padding-right: 10px;
  }

  .hero-layout {
    gap: 34px;
  }

  .hero-media-card,
  .page-hero-banner,
  .page-hero60 {
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  .faq-grid,
  .feedback-grid,
  .contact-grid,
  .booking-grid,
  .custom-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .faq-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  :root { --nav-height: 72px; }

  .container,
  .container60,
  .footer-container,
  .booking-container,
  .games-container,
  .page-container {
    width: min(calc(100% - 28px), 640px);
  }

  main {
    padding-top: var(--nav-height);
  }

  .nav-wrapper {
    height: var(--nav-height);
  }

  .navbar {
    gap: 10px;
  }

  .logo-mark {
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }

  .logo-text span:first-child {
    font-size: 14px;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .logo-text span:last-child {
    display: none;
  }

  .nav-links {
    position: fixed !important;
    left: 14px;
    right: 14px;
    top: calc(var(--nav-height) + 10px);
    inset: auto 14px auto 14px;
    width: auto;
    max-height: calc(100vh - var(--nav-height) - 24px);
    overflow-y: auto;
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(9, 9, 24, 0.97);
    backdrop-filter: blur(24px);
    box-shadow: 0 24px 80px rgba(0,0,0,0.62);
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    transform: translateY(-18px) scale(0.98);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
    z-index: 120;
  }

  .nav-links.open {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link,
  .dropdown-toggle,
  .dropdown-menu a {
    width: 100%;
    border-radius: 14px;
    padding: 12px 14px;
    color: #ffffff;
  }

  .nav-link.active::after,
  .nav-link:hover::after {
    display: none;
  }

  .dropdown-menu {
    position: static !important;
    display: grid !important;
    width: 100%;
    min-width: 0;
    margin-top: 6px;
    padding: 8px;
    border-radius: 16px;
    background: rgba(255,255,255,0.06);
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-right {
    margin-left: auto;
  }

  .lang-current {
    min-height: 40px;
    padding: 8px 11px;
  }

  .login-btn {
    min-height: 40px;
    padding: 8px 12px;
    font-size: 12px;
    white-space: nowrap;
  }

  .burger {
    display: inline-flex !important;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 13px;
    background: rgba(255,255,255,0.08);
  }

  .burger span,
  .burger span::before,
  .burger span::after {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #ffffff;
    content: '';
    position: relative;
    transition: .2s ease;
  }

  .burger span::before { position: absolute; top: -6px; left: 0; }
  .burger span::after { position: absolute; top: 6px; left: 0; }

  body.menu-open .burger span { background: transparent; }
  body.menu-open .burger span::before { top: 0; transform: rotate(45deg); }
  body.menu-open .burger span::after { top: 0; transform: rotate(-45deg); }

  .hero,
  .section,
  .faq-section {
    padding-top: 36px;
    padding-bottom: 42px;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 28px;
  }

  .hero-cta-row,
  .section-header,
  .hero-meta,
  .partners-row {
    flex-wrap: wrap;
  }

  .hero-meta {
    gap: 12px;
  }

  .hero-meta > div {
    flex: 1 1 150px;
  }

  .hero-media-card,
  .page-hero-banner,
  .page-hero60 {
    height: clamp(260px, 58vw, 420px) !important;
  }

  .games-grid,
  .promotions-grid,
  .vacancy-grid,
  .blog-grid,
  .branches-grid,
  .cards-row,
  .audience-grid,
  .info-grid,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .branch-card,
  .game-card-img,
  .promo-img,
  .blog-img {
    height: clamp(210px, 56vw, 320px) !important;
  }

  .accordion-header {
    padding: 18px 16px;
    gap: 12px;
  }

  .faq-sidebar {
    grid-template-columns: minmax(0, 1fr);
  }

  .modal {
    padding: 14px;
  }

  .modal-box {
    padding: 24px 18px;
    border-radius: 20px;
  }

  #profileMenu.profile-menu {
    right: 0 !important;
    min-width: 190px !important;
  }
}

@media (max-width: 520px) {
  :root { --nav-height: 68px; }

  .container,
  .container60,
  .footer-container,
  .booking-container,
  .games-container,
  .page-container {
    width: calc(100% - 22px);
  }

  .nav-left {
    gap: 8px;
  }

  .logo-mark {
    width: 42px;
    height: 42px;
  }

  .logo-text span:first-child {
    max-width: 112px;
    font-size: 12px;
  }

  .nav-right {
    gap: 6px;
  }

  .lang-current {
    padding: 7px 9px;
    font-size: 11px;
  }

  .login-btn {
    max-width: 82px;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 7px 9px;
  }

  .burger {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .hero-title,
  .section-title,
  .page-title,
  .hero-content h1,
  .booking-title,
  .game-title,
  .contact-title,
  .faq-intro h2 {
    font-size: clamp(28px, 10vw, 42px);
  }

  .hero-cta-row > *,
  .link-gradient,
  .btn-outline,
  .primary-btn,
  .rsv-prod-confirm {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .section-header {
    align-items: flex-start;
    gap: 14px;
  }

  .hero-media-card,
  .page-hero-banner,
  .page-hero60 {
    height: clamp(220px, 64vw, 320px) !important;
    border-radius: 20px;
  }

  .rsv-prod-grid,
  .rsv-prod-promo > div,
  .rsv-prod-coin {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .rsv-prod-coin input:not([type=radio]),
  .rsv-prod-coin small {
    grid-column: auto !important;
  }

  .rsv-prod-box {
    padding: 22px 16px;
    border-radius: 20px;
  }

  .rsv-prod-box h2 {
    margin-left: 32px;
    margin-right: 32px;
    font-size: 24px;
  }
}

/* ===== ULTRA FINAL FIX: MOBILE BURGER + HERO TEXT ===== */

/* Уменьшаем огромные буквы на главной */
@media (min-width: 769px) {
  .hero-title,
  .hero-content h1,
  .hero h1,
  .main-title {
    font-size: clamp(38px, 4vw, 58px) !important;
    line-height: 1.08 !important;
  }
}

@media (max-width: 768px) {
  .hero-title,
  .hero-content h1,
  .hero h1,
  .main-title {
    font-size: clamp(30px, 9vw, 44px) !important;
    line-height: 1.08 !important;
  }

  body.menu-open {
    overflow: hidden !important;
  }

  /* Само открытое меню */
  body.menu-open .nav-links,
  .nav-links.open {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    bottom: auto !important;

    width: min(82vw, 360px) !important;
    height: 100vh !important;
    max-height: 100vh !important;

    padding: 110px 28px 36px !important;
    margin: 0 !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 12px !important;

    background: rgba(12, 12, 18, 0.96) !important;
    border-radius: 28px 0 0 28px !important;
    border-left: 1px solid rgba(255,255,255,0.08) !important;
    box-shadow: -12px 0 40px rgba(0,0,0,0.55) !important;

    overflow-y: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    z-index: 999999 !important;
  }

  /* Все главные кнопки меню */
  body.menu-open .nav-links > a,
  body.menu-open .nav-links > .nav-link,
  body.menu-open .nav-links > .dropdown,
  .nav-links.open > a,
  .nav-links.open > .nav-link,
  .nav-links.open > .dropdown {
    display: block !important;
    width: 100% !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    position: static !important;
  }

  body.menu-open .nav-links a,
  body.menu-open .dropdown-toggle,
  .nav-links.open a,
  .nav-links.open .dropdown-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    width: 100% !important;
    min-height: 58px !important;
    padding: 12px 6px !important;

    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 1.1 !important;
    text-decoration: none !important;

    opacity: 1 !important;
    visibility: visible !important;
  }

  /* Выпадающее Pages меню по умолчанию закрыто */
  body.menu-open .dropdown-menu,
  .nav-links.open .dropdown-menu {
    display: none !important;
    position: static !important;
    width: 100% !important;

    margin: 6px 0 12px !important;
    padding: 12px 16px !important;

    background: rgba(255, 255, 255, 0.07) !important;
    border: 1px solid rgba(255, 255, 255, 0.13) !important;
    border-radius: 18px !important;
    box-shadow: none !important;

    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  body.menu-open .dropdown.open > .dropdown-menu,
  .nav-links.open .dropdown.open > .dropdown-menu {
    display: block !important;
  }

  body.menu-open .dropdown-menu a,
  .nav-links.open .dropdown-menu a {
    min-height: 44px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    padding: 8px 4px !important;
  }

  /* Стрелка Pages */
  body.menu-open .dropdown-toggle::after,
  .nav-links.open .dropdown-toggle::after {
    content: "⌄" !important;
    font-size: 28px !important;
    margin-left: auto !important;
    transition: transform 0.2s ease !important;
  }

  body.menu-open .dropdown.open .dropdown-toggle::after,
  .nav-links.open .dropdown.open .dropdown-toggle::after {
    transform: rotate(180deg) !important;
  }
}

/* ===== FINAL COMPLETE FIX: GAMES / FAQ / EVENTS / GAME CARDS ===== */

/* 1) Уменьшаем большие буквы на главной и карточках игр */
@media (min-width: 769px) {
  .hero-title,
  .hero-content h1,
  .hero h1,
  .main-title {
    font-size: clamp(38px, 4vw, 58px) !important;
    line-height: 1.08 !important;
  }

  .game-card h2,
  .game-card h3,
  .game-card-title,
  .game-title,
  .card-title,
  .games-card-title {
    font-size: clamp(24px, 2.2vw, 38px) !important;
    line-height: 1.12 !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
  }

  .game-card p,
  .game-card span,
  .game-description,
  .game-meta {
    font-size: 15px !important;
    line-height: 1.45 !important;
  }
}

/* 2) Исправление карточек Events / Promotions */
.cards-wrapper50,
.events-wrapper,
.promotions-wrapper {
  position: relative !important;
  overflow: hidden !important;
  width: min(1200px, calc(100% - 60px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.cards-row50,
.events-row,
.promotions-row {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 22px !important;
  overflow-x: auto !important;
  scroll-behavior: smooth !important;
  padding: 16px 6px 24px !important;
}

.card-promo50,
.event-card,
.promo-card {
  flex: 0 0 240px !important;
  min-width: 240px !important;
  max-width: 240px !important;
  border-radius: 22px !important;
  overflow: hidden !important;
}

.card-promo50 .card-img,
.card-promo50 .card-img img,
.event-card img,
.promo-card img {
  width: 100% !important;
  height: 155px !important;
  object-fit: contain !important; background:transparent !important;
  border-radius: 20px !important;
}

.card-title50,
.event-card h3,
.promo-card h3 {
  font-size: 18px !important;
  line-height: 1.25 !important;
  font-weight: 600 !important;
}

/* Кнопки Events снова кликабельные */
.scroll-btn,
.left-btn50,
.right-btn50,
.events-prev,
.events-next,
.promo-prev,
.promo-next {
  display: flex !important;
  pointer-events: auto !important;
  z-index: 999 !important;
  cursor: pointer !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* 3) games.html — нормальный размер карточек */
.games-grid,
.games-list,
.game-list {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
  gap: 26px !important;
}

.game-card {
  min-width: 0 !important;
  overflow: hidden !important;
  border-radius: 24px !important;
}

.game-card-img,
.game-card img {
  width: 100% !important;
  height: clamp(220px, 24vw, 340px) !important;
  object-fit: contain !important; background:transparent !important;
}

/* 4) faq.html — аккуратная адаптация */
.faq-grid,
.faq-container {
  display: grid !important;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr) !important;
  gap: 18px !important;
}

.faq-intro h1,
.faq-intro h2,
.faq-title {
  font-size: clamp(34px, 4vw, 56px) !important;
  line-height: 1.08 !important;
}

.accordion-header,
.faq-question {
  font-size: clamp(18px, 1.6vw, 24px) !important;
  line-height: 1.25 !important;
}
/* ===== FIX GAME IMAGES + EVENTS ARROWS ===== */

/* Игры: картинки больше не обрезаются */
.game-card-img,
.game-card img,
.games-card img,
.game-card-image img {
  width: 100% !important;
  height: 260px !important;
  object-fit: contain !important; background:transparent !important;
  object-position: center !important;
  background: #0d0d18 !important;
  border-radius: 22px 22px 0 0 !important;
}

/* Карточки игр */
.game-card,
.games-card {
  overflow: hidden !important;
  border-radius: 24px !important;
}

/* Текст внутри карточек игр */
.game-card h2,
.game-card h3,
.game-card-title,
.games-card-title {
  font-size: clamp(24px, 2vw, 34px) !important;
  line-height: 1.1 !important;
}

/* Events: контейнер должен позволять стрелкам быть видимыми */
.cards-wrapper50,
.events-wrapper,
.promotions-wrapper {
  position: relative !important;
  overflow: visible !important;
}

/* Events: ряд карточек */
.cards-row50,
.events-row,
.promotions-row {
  overflow-x: auto !important;
  scroll-behavior: smooth !important;
  scrollbar-width: none !important;
}

.cards-row50::-webkit-scrollbar,
.events-row::-webkit-scrollbar,
.promotions-row::-webkit-scrollbar {
  display: none !important;
}

/* Events: возвращаем стрелочки */
.scroll-btn,
.left-btn50,
.right-btn50,
.events-prev,
.events-next,
.promo-prev,
.promo-next {
  position: absolute !important;
  top: 42% !important;
  transform: translateY(-50%) !important;

  width: 54px !important;
  height: 54px !important;
  border-radius: 50% !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  background: rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  backdrop-filter: blur(12px) !important;

  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  z-index: 9999 !important;
}

/* Левая и правая стрелка */
.left-btn50,
.events-prev,
.promo-prev {
  left: -26px !important;
}

.right-btn50,
.events-next,
.promo-next {
  right: -26px !important;
}

/* На телефоне стрелки чуть внутрь */
@media (max-width: 768px) {
  .game-card-img,
  .game-card img,
  .games-card img,
  .game-card-image img {
    height: 230px !important;
    object-fit: contain !important; background:transparent !important;
  }

  .scroll-btn,
  .left-btn50,
  .right-btn50,
  .events-prev,
  .events-next,
  .promo-prev,
  .promo-next {
    width: 44px !important;
    height: 44px !important;
  }

  .left-btn50,
  .events-prev,
  .promo-prev {
    left: 6px !important;
  }

  .right-btn50,
  .events-next,
  .promo-next {
    right: 6px !important;
  }
}

/* ===== FAQ DESKTOP LAYOUT RESTORE ===== */

/* ПК и ноутбуки */
@media (min-width: 769px) {

  /* Главный layout FAQ */
  .faq-grid,
  .faq-container,
  .faq-layout,
  .faq-wrapper {
    display: grid !important;
    grid-template-columns: 320px minmax(0, 1fr) !important;
    gap: 34px !important;
    align-items: start !important;
  }

  /* Левая колонка — категории */
  .faq-sidebar,
  .faq-categories,
  .faq-left {
    position: sticky !important;
    top: 110px !important;

    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;

    width: 100% !important;
  }

  /* Правая колонка — вопросы/ответы */
  .faq-content,
  .faq-right,
  .faq-accordion {
    width: 100% !important;
    min-width: 0 !important;
  }

  /* Категории */
  .faq-sidebar button,
  .faq-category,
  .faq-tab {
    min-height: 68px !important;
    border-radius: 18px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    text-align: left !important;
    padding: 0 22px !important;
  }

  /* Вопросы */
  .accordion-item,
  .faq-item {
    border-radius: 20px !important;
    overflow: hidden !important;
    margin-bottom: 18px !important;
  }

  .accordion-header,
  .faq-question {
    min-height: 74px !important;
    padding: 22px 26px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    font-size: 22px !important;
    font-weight: 700 !important;
  }

  /* Ответы */
  .accordion-content,
  .faq-answer {
    padding: 0 26px 24px !important;
    font-size: 17px !important;
    line-height: 1.7 !important;
  }
}

/* Телефон оставляем вертикальным */
@media (max-width: 768px) {
  .faq-grid,
  .faq-container,
  .faq-layout,
  .faq-wrapper {
    grid-template-columns: 1fr !important;
  }

  .faq-sidebar,
  .faq-categories,
  .faq-left {
    position: static !important;
  }
}
/* Portal-style game reviews */
.portal-reviews-section{max-width:1180px;margin:90px auto 70px;padding:0 18px;color:#fff}.portal-reviews-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:34px}.portal-review-title-row{display:flex;align-items:center;gap:16px}.portal-review-icon{width:52px;height:52px;border-radius:14px;background:rgba(255,99,89,.16);display:grid;place-items:center;font-size:26px}.portal-reviews-head h2{font-size:36px;margin:0 0 6px;font-weight:800}.portal-reviews-head p{margin:0;color:rgba(255,255,255,.72)}.portal-review-add,.portal-review-submit{border:0;border-radius:15px;background:linear-gradient(135deg,#ff7d66,#e8435f);color:#fff;font-weight:800;padding:15px 23px;cursor:pointer;box-shadow:0 12px 25px rgba(232,67,95,.28)}.portal-review-layout{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:42px;align-items:start}.portal-review-list{display:grid;gap:24px}.portal-review-card,.portal-latest-card{background:rgba(22,24,32,.72);border:1px solid rgba(255,255,255,.08);border-radius:18px;box-shadow:0 16px 35px rgba(0,0,0,.20)}.portal-review-card{padding:28px 30px;max-width:640px}.portal-review-top{display:flex;align-items:center;gap:14px}.portal-avatar{width:54px;height:54px;border-radius:50%;background:#ff7465;color:#fff;display:grid;place-items:center;font-weight:900}.portal-review-top strong{display:block;font-size:16px}.portal-review-top span,.portal-latest-card span{display:block;color:rgba(255,255,255,.58);font-size:13px;margin-top:4px}.portal-quote{font-size:40px;color:#e65f55;height:26px;margin:22px 0 8px}.portal-review-card p{font-size:18px;line-height:1.65;margin:0 0 16px;color:rgba(255,255,255,.92)}.portal-stars{color:#83f2a4;letter-spacing:5px;font-size:20px}.portal-latest-comments{padding-top:14px}.portal-latest-comments h3{text-align:center;color:#ff7465;font-size:30px;margin:0 0 24px}.portal-latest-card{padding:22px 24px;margin-bottom:20px}.portal-latest-card>div{display:flex;justify-content:space-between;gap:14px}.portal-latest-card p{line-height:1.45;margin:14px 0;color:rgba(255,255,255,.88)}.portal-see-all{display:block;text-align:center;color:#ff7465;text-decoration:none;font-weight:800;margin-top:26px}.portal-review-empty{color:rgba(255,255,255,.7);padding:24px;border:1px solid rgba(255,255,255,.08);border-radius:18px}.portal-review-modal{position:fixed;inset:0;background:rgba(0,0,0,.72);z-index:9999;display:grid;place-items:center;padding:18px}.portal-review-modal.hidden{display:none!important}.portal-review-form{position:relative;width:min(520px,100%);background:#171822;border:1px solid rgba(255,255,255,.12);border-radius:22px;padding:28px;box-shadow:0 25px 70px rgba(0,0,0,.45)}.portal-review-form h3{font-size:28px;margin:0 0 20px}.portal-review-form input,.portal-review-form textarea{width:100%;box-sizing:border-box;border:1px solid rgba(255,255,255,.14);border-radius:14px;background:#10111a;color:#fff;padding:14px 16px;margin-bottom:14px;font-size:15px}.portal-review-form textarea{min-height:150px;resize:vertical}.portal-review-close{position:absolute;right:18px;top:18px;background:transparent;color:#fff;border:0;font-size:22px;cursor:pointer}.portal-rating-select{display:flex;gap:4px;margin:0 0 14px}.portal-rating-select button{background:transparent;border:0;color:rgba(255,255,255,.25);font-size:30px;cursor:pointer}.portal-rating-select button.active{color:#83f2a4}@media(max-width:900px){.portal-review-layout{grid-template-columns:1fr}.portal-review-card{max-width:none}.portal-latest-comments h3{text-align:left}}@media(max-width:620px){.portal-reviews-section{margin:60px auto}.portal-reviews-head{align-items:flex-start;flex-direction:column}.portal-reviews-head h2{font-size:28px}.portal-review-card{padding:22px 18px}.portal-review-card p{font-size:16px}.portal-latest-comments h3{font-size:25px}}

/* Fixed portal review layout: rating summary + latest comments + all comments */
.portal-reviews-section{max-width:1180px;margin:70px auto 80px;padding:0 18px;color:#ffffff}
.portal-review-side-block{width:min(560px,100%);margin-left:auto;display:grid;gap:24px;margin-bottom:70px}
.portal-rating-summary,.portal-latest-comments{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.08);border-radius:34px;padding:34px 42px;box-shadow:0 18px 45px rgba(0,0,0,.22);backdrop-filter:blur(8px)}
.portal-rating-number{text-align:center;font-size:68px;font-weight:900;line-height:1;margin-bottom:12px;color:#ffffff;text-shadow:0 0 12px rgba(255,255,255,.25)}
.portal-rating-big-stars,.portal-big-stars{text-align:center;color:#fff2c4;font-size:34px;letter-spacing:7px;text-shadow:0 0 12px rgba(255,218,120,.45)}
.portal-rating-count{text-align:center;font-weight:800;margin:10px 0 30px;color:#ffffff}
.portal-rating-lines{display:grid;gap:18px}.portal-rating-line{display:grid;grid-template-columns:72px 1fr;gap:18px;align-items:center}.portal-rating-line span{font-size:24px;font-weight:900;color:#ffffff}.portal-rating-line div{height:12px;border-radius:999px;background:rgba(255,255,255,.52);overflow:hidden}.portal-rating-line i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#ffe79d,#ff8067)}
.portal-latest-comments h3{text-align:center;color:#ff7465;font-size:34px;margin:0 0 28px;font-weight:900;text-shadow:0 0 10px rgba(255,116,101,.25)}
.portal-latest-card{background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.08);border-radius:18px;padding:20px 24px;margin-bottom:22px}.portal-latest-card>div{display:flex;justify-content:space-between;gap:14px}.portal-latest-card strong{color:#ffffff}.portal-latest-card span{color:rgba(255,255,255,.8);font-size:13px}.portal-latest-card p{font-size:17px;line-height:1.45;margin:14px 0;color:#ffffff;font-weight:700}.portal-see-all{display:block;margin:28px auto 0;background:transparent;border:0;color:#ff8b78;font-size:18px;font-weight:900;cursor:pointer;text-align:center;text-shadow:0 0 10px rgba(255,116,101,.25)}
.portal-reviews-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 34px}.portal-review-title-row{display:flex;align-items:center;gap:16px}.portal-review-icon{width:52px;height:52px;border-radius:14px;background:rgba(255,99,89,.16);display:grid;place-items:center;font-size:26px}.portal-reviews-head h2{font-size:36px;margin:0 0 6px;font-weight:900}.portal-reviews-head p{margin:0;color:rgba(255,255,255,.75)}.portal-review-add,.portal-review-submit{border:0;border-radius:15px;background:linear-gradient(135deg,#ff7d66,#e8435f);color:#fff;font-weight:900;padding:15px 23px;cursor:pointer;box-shadow:0 12px 25px rgba(232,67,95,.28)}
.portal-review-list{display:grid;gap:24px}.portal-review-card{background:rgba(22,24,32,.72);border:1px solid rgba(255,255,255,.15);border-radius:18px;box-shadow:0 16px 35px rgba(0,0,0,.20);padding:28px 30px;max-width:640px}.portal-review-top{display:flex;align-items:center;gap:14px}.portal-avatar{width:54px;height:54px;border-radius:50%;background:#ff7465;color:#fff;display:grid;place-items:center;font-weight:900}.portal-review-top strong{display:block;font-size:16px}.portal-review-top span{display:block;color:rgba(255,255,255,.65);font-size:13px;margin-top:4px}.portal-quote{font-size:40px;color:#e65f55;height:26px;margin:22px 0 8px}.portal-review-card p{font-size:18px;line-height:1.65;margin:0 0 16px;color:rgba(255,255,255,.94)}.portal-stars{color:#83f2a4;letter-spacing:5px;font-size:20px}.portal-review-empty{color:rgba(255,255,255,.75);padding:24px;border:1px solid rgba(255,255,255,.12);border-radius:18px}.portal-review-modal{position:fixed;inset:0;background:rgba(0,0,0,.72);z-index:9999;display:grid;place-items:center;padding:18px}.portal-review-modal.hidden{display:none!important}.portal-review-form{position:relative;width:min(560px,100%);background:#171822;border:1px solid rgba(255,255,255,.16);border-radius:22px;padding:30px;box-shadow:0 25px 70px rgba(0,0,0,.45)}.portal-review-form h3{font-size:34px;margin:0 0 20px}.portal-review-form input,.portal-review-form textarea{width:100%;box-sizing:border-box;border:1px solid rgba(255,255,255,.18);border-radius:14px;background:#ffffff;color:#111111;padding:14px 16px;margin-bottom:14px;font-size:15px}.portal-review-form textarea{min-height:170px;resize:vertical;background:#171822;color:#ffffff}.portal-review-close{position:absolute;right:18px;top:18px;background:transparent;color:#fff;border:0;font-size:28px;cursor:pointer}.portal-rating-select{display:flex;gap:10px;margin:0 0 16px}.portal-rating-select button{background:transparent;border:0;color:rgba(255,255,255,.35);font-size:34px;cursor:pointer}.portal-rating-select button.active{color:#ffffff;text-shadow:0 0 12px rgba(255,255,255,.5)}
@media(max-width:900px){.portal-review-side-block{margin:0 auto 55px}.portal-review-card{max-width:none}.portal-rating-summary,.portal-latest-comments{padding:28px 22px}}@media(max-width:620px){.portal-reviews-section{margin:50px auto}.portal-reviews-head{align-items:flex-start;flex-direction:column}.portal-reviews-head h2{font-size:28px}.portal-rating-number{font-size:52px}.portal-rating-big-stars,.portal-big-stars{font-size:26px;letter-spacing:4px}.portal-review-card{padding:22px 18px}.portal-review-card p{font-size:16px}.portal-latest-comments h3{font-size:28px}.portal-rating-line{grid-template-columns:54px 1fr}.portal-rating-line span{font-size:19px}}

/* Fixed portal review blocks: dark grey cards, green stars, positioned under Other Games */
.panther-rating-comment-section,.x9z2-reviews{display:none!important}
.eagle-sidebar .portal-reviews-section{max-width:100%;margin:28px 0 34px;padding:0;color:#ffffff}
.eagle-sidebar .portal-review-side-block{max-width:100%;margin:0;display:grid;gap:28px}
.eagle-sidebar .portal-rating-summary,
.eagle-sidebar .portal-latest-comments{background:#2b2d2d!important;border:1px solid rgba(255,255,255,.08);border-radius:32px;padding:34px 28px;box-shadow:0 18px 45px rgba(0,0,0,.22)}
.eagle-sidebar .portal-rating-number{font-size:64px;line-height:1;text-align:center;color:#ffffff;font-weight:900}
.eagle-sidebar .portal-rating-big-stars,.eagle-sidebar .portal-big-stars,.portal-stars{color:#83f2a4!important}
.eagle-sidebar .portal-rating-big-stars,.eagle-sidebar .portal-big-stars{text-align:center;font-size:30px;letter-spacing:5px;margin:10px 0 8px}
.eagle-sidebar .portal-rating-count{text-align:center;color:#ffffff;font-weight:800;margin-bottom:26px}
.eagle-sidebar .portal-rating-line{display:grid;grid-template-columns:74px 1fr;align-items:center;gap:16px;margin:14px 0;color:#ffffff;font-size:20px;font-weight:900}
.eagle-sidebar .portal-rating-line span{color:#ffffff}.eagle-sidebar .portal-rating-line div{height:12px;border-radius:20px;background:rgba(255,255,255,.45);overflow:hidden}.eagle-sidebar .portal-rating-line i{display:block;height:100%;border-radius:20px;background:#83f2a4}
.eagle-sidebar .portal-latest-comments h3{font-size:30px;text-align:center;margin:0 0 26px;color:#ff7465;font-weight:900}.eagle-sidebar .portal-latest-card{background:#4a4d4a!important;border:1px solid rgba(255,255,255,.08);border-radius:18px;padding:18px 20px;margin-bottom:18px}.eagle-sidebar .portal-latest-card strong{color:#ffffff}.eagle-sidebar .portal-latest-card p{color:#ffffff;font-weight:700}.eagle-sidebar .portal-see-all{background:transparent;border:0;color:#ff7465;font-weight:900;font-size:17px;cursor:pointer;margin:20px auto 0;display:block}.portal-reviews-head{margin-top:55px}.portal-review-card{background:#2b2d2d!important}.portal-review-modal{z-index:99999}.portal-rating-select button.active{color:#83f2a4!important}
@media(max-width:900px){.eagle-sidebar .portal-reviews-section{margin:24px 0}.eagle-sidebar .portal-rating-summary,.eagle-sidebar .portal-latest-comments{border-radius:26px;padding:28px 22px}}

/* FINAL reviews placement/style fixes */
.portal-reviews-summary-section{max-width:1180px;margin:42px auto 70px;padding:0 18px;color:#ffffff}
.portal-reviews-summary-section .portal-review-side-block{width:min(500px,100%);margin-left:auto;display:grid;gap:24px}
.portal-reviews-summary-section .portal-rating-summary{background:#222424!important;border:1px solid rgba(255,255,255,.08);border-radius:30px;padding:38px 34px;min-height:360px;box-shadow:0 18px 45px rgba(0,0,0,.28)}
.portal-reviews-summary-section .portal-latest-comments{background:#222424!important;border:1px solid rgba(255,255,255,.08);border-radius:30px;padding:34px 34px;box-shadow:0 18px 45px rgba(0,0,0,.28)}
.portal-reviews-summary-section .portal-rating-number{font-size:64px;color:#ffffff;text-align:center;font-weight:900;line-height:1;margin-bottom:10px}
.portal-reviews-summary-section .portal-rating-big-stars,.portal-reviews-summary-section .portal-big-stars{color:#83f2a4!important;text-align:center;font-size:30px;letter-spacing:5px;text-shadow:0 0 12px rgba(131,242,164,.25)}
.portal-reviews-summary-section .portal-rating-count{text-align:center;color:#ffffff;font-weight:800;margin:10px 0 28px}
.portal-reviews-summary-section .portal-rating-lines{display:grid;gap:16px}.portal-reviews-summary-section .portal-rating-line{display:grid;grid-template-columns:70px 1fr;gap:16px;align-items:center}.portal-reviews-summary-section .portal-rating-line span{font-size:22px;color:#ffffff;font-weight:900}.portal-reviews-summary-section .portal-rating-line div{height:12px;border-radius:999px;background:rgba(255,255,255,.42);overflow:hidden}.portal-reviews-summary-section .portal-rating-line i{background:#83f2a4!important;display:block;height:100%;border-radius:999px}
.portal-reviews-summary-section .portal-latest-comments h3{color:#ff7465;text-align:center;font-size:31px;font-weight:900;margin:0 0 26px}.portal-reviews-summary-section .portal-latest-card{background:#3a3d3a!important;border:1px solid rgba(255,255,255,.08);border-radius:18px;padding:18px 20px;margin-bottom:18px}.portal-reviews-summary-section .portal-latest-card strong,.portal-reviews-summary-section .portal-latest-card p{color:#fff}.portal-reviews-summary-section .portal-see-all{display:block;background:transparent;border:0;color:#ff7465;font-size:17px;font-weight:900;margin:22px auto 0;cursor:pointer}
.portal-reviews-section{max-width:1180px;margin:44px auto 80px;padding:0 18px;color:#fff}.portal-stars,.portal-rating-select button.active{color:#83f2a4!important}.portal-review-card{background:#222424!important}.portal-review-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px}.portal-review-delete{border:0;border-radius:12px;background:rgba(255,85,85,.14);color:#ff8b8b;font-weight:900;padding:10px 14px;cursor:pointer}.portal-login-needed-box{max-width:470px}.portal-login-needed-text{color:rgba(255,255,255,.86);line-height:1.55;font-size:17px;margin:0 0 22px}
@media(max-width:900px){.portal-reviews-summary-section .portal-review-side-block{margin:0 auto}.portal-reviews-summary-section .portal-rating-summary,.portal-reviews-summary-section .portal-latest-comments{padding:28px 22px;border-radius:26px}.portal-reviews-summary-section .portal-rating-line{grid-template-columns:58px 1fr}.portal-reviews-summary-section .portal-rating-line span{font-size:19px}}

/* =========================================================
   ADAPTIVE POLISH 8/10 — phones + small/old laptops only
   Safe CSS-only changes. No backend/booking logic changed.
   ========================================================= */

/* Small and old laptops: 1280-1366px, 125% Windows scaling friendly */
@media (min-width: 1025px) and (max-width: 1366px) {
  .container,
  .container60,
  .footer-container,
  .booking-container,
  .games-container,
  .page-container {
    width: min(1120px, calc(100% - 56px)) !important;
  }

  .nav-links {
    gap: 16px !important;
    font-size: 13px !important;
  }

  .logo-mark {
    width: 52px !important;
    height: 52px !important;
  }

  .logo-text span:first-child {
    font-size: 16px !important;
  }

  .hero,
  .section,
  .map-section {
    padding-top: 34px !important;
    padding-bottom: 54px !important;
  }

  .hero-layout {
    gap: 32px !important;
  }

  .hero-title,
  .hero-content h1,
  .main-title,
  .page-title,
  .page-hero-title2,
  .page-hero-title10 {
    font-size: clamp(34px, 3.4vw, 50px) !important;
    line-height: 1.08 !important;
  }

  .games-grid,
  .promotions-grid,
  .blog-grid,
  .vacancy-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 22px !important;
  }

  .game-card-img,
  .game-card img,
  .games-card img,
  .game-card-image img {
    height: 240px !important;
  }

  .footer {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
  }

  .footer-grid {
    gap: 22px !important;
  }
}

/* Old 1280x720 / 1366x768 laptops: reduce vertical heaviness */
@media (min-width: 769px) and (max-width: 1366px) and (max-height: 780px) {
  .hero,
  .section,
  .faq-section,
  .portal-reviews-section,
  .portal-reviews-summary-section {
    margin-top: 0 !important;
    padding-top: 28px !important;
    padding-bottom: 38px !important;
  }

  .hero-media-img,
  .hero-media-card,
  .page-hero-banner,
  .page-hero60,
  .promo-hero,
  .about-hero-full,
  .vacancy-hero,
  .x9z2-hero {
    min-height: auto !important;
    height: clamp(260px, 42vh, 390px) !important;
  }

  .footer-bottom {
    margin-top: 18px !important;
  }
}

/* Tablets and small laptops */
@media (min-width: 769px) and (max-width: 1024px) {
  .container,
  .container60,
  .footer-container,
  .booking-container,
  .games-container,
  .page-container {
    width: calc(100% - 44px) !important;
  }

  .hero-layout,
  .contact-grid,
  .booking-grid,
  .custom-grid,
  .feedback-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .games-grid,
  .promotions-grid,
  .blog-grid,
  .vacancy-grid,
  .branches-grid,
  .cards-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr !important;
  }

  .footer-bottom {
    gap: 14px !important;
  }
}

/* Phones: cleaner spacing, no horizontal scroll, footer/card polish */
@media (max-width: 768px) {
  html,
  body {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .container,
  .container60,
  .footer-container,
  .booking-container,
  .games-container,
  .page-container {
    width: calc(100% - 28px) !important;
    max-width: 640px !important;
  }

  .hero,
  .section,
  .map-section,
  .faq-section,
  .portal-reviews-section,
  .portal-reviews-summary-section {
    padding-top: 30px !important;
    padding-bottom: 38px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  .hero-title,
  .hero-content h1,
  .main-title,
  .page-title,
  .section-title,
  .page-hero-title2,
  .page-hero-title10,
  .x9z2-hero-content h1,
  .ct-hero-title {
    font-size: clamp(28px, 8.6vw, 42px) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.03em !important;
  }

  .hero-subtitle,
  .section-subtitle,
  .hero-content p,
  .game-description,
  .portal-review-card p,
  .contact-text,
  .faq-answer {
    font-size: 15px !important;
    line-height: 1.58 !important;
  }

  .hero-cta-row,
  .footer-bottom,
  .portal-reviews-head,
  .portal-review-card-bottom,
  .section-header {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .btn-gradient,
  .btn-outline,
  .primary-btn,
  .secondary-btn,
  .portal-review-add,
  .portal-review-submit,
  .login-needed-btn,
  .rsv-prod-confirm {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .game-card,
  .games-card,
  .promo-card,
  .blog-card,
  .vacancy-card,
  .branch-card,
  .portal-review-card,
  .portal-rating-summary,
  .portal-latest-comments,
  .info-card,
  .audience-card {
    border-radius: 20px !important;
  }

  .game-card-img,
  .game-card img,
  .games-card img,
  .game-card-image img,
  .promo-img,
  .blog-img,
  .branch-card {
    height: clamp(210px, 62vw, 300px) !important;
  }

  .footer {
    margin-top: 24px !important;
    padding: 30px 0 26px !important;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 22px !important;
    text-align: left !important;
  }

  .footer-bottom {
    margin-top: 22px !important;
    gap: 16px !important;
    text-align: center !important;
  }

  .social-row {
    justify-content: center !important;
    flex-wrap: wrap !important;
  }

  .cards-wrapper50,
  .events-wrapper,
  .promotions-wrapper {
    width: calc(100% - 28px) !important;
  }

  .card-promo50,
  .event-card,
  .promo-card {
    flex-basis: 78vw !important;
    min-width: 78vw !important;
    max-width: 78vw !important;
  }

  .modal-box,
  .rsv-prod-box,
  .portal-review-form,
  .portal-login-needed-box {
    width: calc(100vw - 26px) !important;
    max-height: calc(100vh - 28px) !important;
    overflow-y: auto !important;
  }
}

/* Very small phones: 320-390px */
@media (max-width: 390px) {
  .container,
  .container60,
  .footer-container,
  .booking-container,
  .games-container,
  .page-container {
    width: calc(100% - 20px) !important;
  }

  .logo-text span:first-child {
    max-width: 92px !important;
    font-size: 11px !important;
  }

  .login-btn,
  .lang-current {
    font-size: 10px !important;
    padding-left: 7px !important;
    padding-right: 7px !important;
  }

  .hero-title,
  .hero-content h1,
  .main-title,
  .page-title,
  .section-title {
    font-size: clamp(25px, 9vw, 34px) !important;
  }

  .nav-links.open a,
  .nav-links.open .dropdown-toggle,
  body.menu-open .nav-links a,
  body.menu-open .dropdown-toggle {
    min-height: 50px !important;
    font-size: 21px !important;
  }

  .card-promo50,
  .event-card,
  .promo-card {
    flex-basis: 84vw !important;
    min-width: 84vw !important;
    max-width: 84vw !important;
  }

  .portal-rating-line,
  .portal-reviews-summary-section .portal-rating-line,
  .eagle-sidebar .portal-rating-line {
    grid-template-columns: 46px minmax(0, 1fr) !important;
    gap: 10px !important;
  }
}

/* Clickable header logo block */
.nav-left[role="link"] {
  cursor: pointer;
}

/* =========================================================
   Footer polish like portal.land screenshots (added by ChatGPT)
   Keeps the existing logo/image/name and only improves layout/style.
   ========================================================= */
.footer {
  position: relative !important;
  margin-top: 56px !important;
  padding: 56px 0 34px !important;
  background: #242424 !important;
  border-top: 0 !important;
  color: rgba(255, 255, 255, 0.92) !important;
  overflow: hidden !important;
}

.footer::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background:
    radial-gradient(circle at 14% 10%, rgba(255, 255, 255, 0.07), transparent 30%),
    radial-gradient(circle at 92% 88%, rgba(255, 171, 69, 0.16), transparent 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(0, 0, 0, 0.05)) !important;
  pointer-events: none !important;
}

.footer > .container,
.footer > .footer-container {
  position: relative !important;
  z-index: 1 !important;
  max-width: 1160px !important;
  width: calc(100% - 44px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.footer-grid {
  display: grid !important;
  grid-template-columns: minmax(240px, 1.15fr) minmax(190px, 0.9fr) minmax(190px, 0.9fr) !important;
  gap: 70px !important;
  align-items: start !important;
  color: rgba(255, 255, 255, 0.78) !important;
}

.footer-grid > div:nth-child(4) {
  display: none !important;
}

.footer-logo {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-bottom: 24px !important;
}

.footer-logo img,
.footer .logo-mark {
  width: auto !important;
  max-width: 190px !important;
  height: auto !important;
  max-height: 58px !important;
  object-fit: contain !important; background:transparent !important;
  border-radius: 28px 0 0 28px !important;
  box-shadow: none !important;
  background: transparent !important;
}

.footer p {
  max-width: 310px !important;
  margin: 0 0 20px !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
  color: rgba(255, 255, 255, 0.72) !important;
}

.footer-heading {
  margin: 0 0 22px !important;
  color: #ffffff !important;
  font-size: clamp(24px, 2.1vw, 34px) !important;
  line-height: 1.05 !important;
  font-weight: 600 !important;
  letter-spacing: -0.04em !important;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.22) !important;
}

.footer-links {
  display: flex !important;
  flex-direction: column !important;
  gap: 13px !important;
}

.footer a,
.footer-links a {
  color: rgba(255, 255, 255, 0.86) !important;
  text-decoration: none !important;
  font-size: 17px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  transition: color 0.2s ease, transform 0.2s ease !important;
}

.footer-links a:hover {
  color: #ffffff !important;
  transform: translateX(3px) !important;
}

.social-row {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
  margin-top: 14px !important;
}

.social-row a {
  display: inline-flex !important;
  width: 42px !important;
  height: 42px !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16) !important;
}

.social-row i {
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.92) !important;
  color: #242424 !important;
  font-size: 17px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: none !important;
}

.social-row a:hover i {
  transform: translateY(-3px) scale(1.04) !important;
  background: #ffffff !important;
  color: #242424 !important;
}

.footer-bottom {
  margin-top: 34px !important;
  padding-top: 18px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.09) !important;
  color: rgba(255, 255, 255, 0.58) !important;
  font-size: 13px !important;
}

@media (max-width: 900px) {
  .footer {
    margin-top: 34px !important;
    padding: 44px 0 28px !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 42px !important;
    text-align: center !important;
    justify-items: center !important;
  }

  .footer-logo,
  .social-row {
    justify-content: center !important;
  }

  .footer p {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .footer-heading {
    margin-bottom: 24px !important;
    font-size: clamp(34px, 9.5vw, 48px) !important;
  }

  .footer-links {
    align-items: center !important;
    gap: 20px !important;
  }

  .footer a,
  .footer-links a {
    font-size: clamp(21px, 6vw, 31px) !important;
    text-align: center !important;
  }

  .footer-links a:hover {
    transform: none !important;
  }

  .footer-bottom {
    align-items: center !important;
    text-align: center !important;
    gap: 10px !important;
  }
}

@media (max-width: 480px) {
  .footer > .container,
  .footer > .footer-container {
    width: calc(100% - 28px) !important;
  }

  .footer-logo img,
  .footer .logo-mark {
    max-width: 170px !important;
    max-height: 54px !important;
  }

  .social-row a,
  .social-row i {
    width: 40px !important;
    height: 40px !important;
  }
}

/* =========================================================
   Final professional footer update: darker, rounded, clean socials,
   and Casper entertainment branding near the logo.
   ========================================================= */
.footer {
  background: #141414 !important;
  border-radius: 30px 30px 0 0 !important;
  box-shadow: 0 -18px 60px rgba(0, 0, 0, 0.32) !important;
}

.footer::before {
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.055), transparent 28%),
    radial-gradient(circle at 92% 88%, rgba(255, 169, 55, 0.10), transparent 20%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.025), rgba(0, 0, 0, 0.20)) !important;
}

.footer-logo {
  gap: 15px !important;
  align-items: center !important;
}

.footer-logo img,
.footer .logo-mark {
  width: 74px !important;
  height: 74px !important;
  max-width: 74px !important;
  max-height: 74px !important;
  object-fit: contain !important; background:transparent !important;
  padding: 7px !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
}

.footer-logo::after {
  content: "Casper\A entertainment" !important;
  white-space: pre-line !important;
  color: #ffffff !important;
  font-size: 22px !important;
  line-height: 1.02 !important;
  font-weight: 850 !important;
  letter-spacing: -0.04em !important;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.26) !important;
}

.social-row a[href*="facebook.com"],
.social-row a[href*="fb.com"] {
  display: none !important;
}

.social-row a {
  background: rgba(255, 255, 255, 0.075) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.social-row i {
  color: #141414 !important;
}

.footer-heading {
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.28) !important;
}

@media (max-width: 900px) {
  .footer {
    border-radius: 24px 24px 0 0 !important;
  }

  .footer-logo {
    flex-direction: column !important;
    gap: 12px !important;
  }

  .footer-logo::after {
    font-size: clamp(24px, 7vw, 34px) !important;
    text-align: center !important;
  }
}

@media (max-width: 480px) {
  .footer-logo img,
  .footer .logo-mark {
    width: 70px !important;
    height: 70px !important;
    max-width: 70px !important;
    max-height: 70px !important;
    border-radius: 17px !important;
  }
}

/* =========================================================
   Footer link size/color correction (requested):
   page names are smaller and light-gray; only headings stay large.
   ========================================================= */
.footer .footer-links a,
.footer a:not(.social-row a) {
  color: rgba(255, 255, 255, 0.68) !important;
  font-size: 14px !important;
  line-height: 1.22 !important;
  font-weight: 650 !important;
}

.footer .footer-links a:hover,
.footer a:not(.social-row a):hover {
  color: rgba(255, 255, 255, 0.92) !important;
}

.footer .footer-heading {
  color: rgba(255, 255, 255, 0.96) !important;
  font-size: clamp(25px, 2.3vw, 34px) !important;
  font-weight: 850 !important;
}

@media (max-width: 900px) {
  .footer .footer-heading {
    font-size: clamp(36px, 10vw, 48px) !important;
    margin-bottom: 24px !important;
  }

  .footer .footer-links {
    gap: 16px !important;
  }

  .footer .footer-links a,
  .footer a:not(.social-row a) {
    color: rgba(255, 255, 255, 0.70) !important;
    font-size: clamp(20px, 5.3vw, 26px) !important;
    line-height: 1.18 !important;
    font-weight: 650 !important;
  }
}

@media (max-width: 480px) {
  .footer .footer-heading {
    font-size: clamp(34px, 10.5vw, 44px) !important;
  }

  .footer .footer-links {
    gap: 15px !important;
  }

  .footer .footer-links a,
  .footer a:not(.social-row a) {
    font-size: clamp(19px, 5.6vw, 24px) !important;
  }
}

/* =========================================================
   FINAL FOOTER MOBILE TEXT SIZE FIX
   Makes footer page names smaller on phone/tablet.
   ========================================================= */
.footer .footer-links a,
.footer a:not(.social-row a) {
  color: rgba(210, 210, 210, 0.78) !important;
  font-size: 13px !important;
  line-height: 1.22 !important;
  font-weight: 550 !important;
}

.footer .footer-links {
  gap: 8px !important;
}

.footer .footer-heading {
  color: #ffffff !important;
  font-size: 24px !important;
  line-height: 1.08 !important;
  font-weight: 600 !important;
  margin-bottom: 12px !important;
}

@media (max-width: 900px) {
  .footer .footer-heading {
    font-size: 34px !important;
    line-height: 1.05 !important;
    margin-bottom: 14px !important;
  }

  .footer .footer-links {
    gap: 8px !important;
    align-items: center !important;
  }

  .footer .footer-links a,
  .footer a:not(.social-row a) {
    font-size: 14px !important;
    line-height: 1.2 !important;
    font-weight: 550 !important;
    color: rgba(210, 210, 210, 0.78) !important;
    text-align: center !important;
  }
}

@media (max-width: 480px) {
  .footer .footer-heading {
    font-size: 32px !important;
    margin-bottom: 12px !important;
  }

  .footer .footer-links {
    gap: 7px !important;
  }

  .footer .footer-links a,
  .footer a:not(.social-row a) {
    font-size: 13px !important;
    line-height: 1.18 !important;
    font-weight: 550 !important;
    color: rgba(205, 205, 205, 0.76) !important;
  }

  .footer-bottom {
    font-size: 12px !important;
  }
}

/* Professional compact contact form for phones */
@media (max-width: 768px) {
  .ct-main-content {
    padding: 34px 0 38px !important;
  }

  .ct-main-content .container {
    width: calc(100% - 34px) !important;
    max-width: 430px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .ct-text-center {
    margin-bottom: 22px !important;
  }

  .ct-section-title {
    font-size: 18px !important;
    line-height: 1.18 !important;
    margin-bottom: 10px !important;
  }

  .ct-section-desc,
  .ct-social-text {
    font-size: 14px !important;
    line-height: 1.45 !important;
  }

  .ct-contact-button-container {
    margin-top: 18px !important;
    margin-bottom: 28px !important;
  }

  .ct-phone-main-btn {
    padding: 10px 28px !important;
    font-size: 16px !important;
    border-radius: 12px !important;
  }

  .ct-social-container {
    margin-bottom: 30px !important;
  }

  .ct-social-icons {
    gap: 16px !important;
  }

  .ct-social-icons i {
    font-size: 21px !important;
  }

  .ct-form-card {
    width: 100% !important;
    max-width: 430px !important;
    padding: 28px 22px 30px !important;
    border-radius: 22px !important;
    background: rgba(0, 0, 0, 0.42) !important;
    border: 1px solid rgba(148, 163, 184, 0.32) !important;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22) !important;
  }

  .ct-form-title {
    font-size: 25px !important;
    line-height: 1.18 !important;
    margin-bottom: 12px !important;
  }

  .ct-form-subtitle {
    font-size: 14px !important;
    line-height: 1.45 !important;
    margin-bottom: 22px !important;
  }

  .ct-form-row {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    margin-bottom: 0 !important;
  }

  .ct-input-group {
    gap: 8px !important;
    margin-bottom: 17px !important;
  }

  .ct-input-group label {
    font-size: 14px !important;
    line-height: 1.2 !important;
  }

  .ct-input,
  .ct-textarea {
    width: 100% !important;
    border-radius: 13px !important;
    padding: 12px 15px !important;
    font-size: 14px !important;
    background: rgba(0, 0, 0, 0.26) !important;
    border-color: rgba(148, 163, 184, 0.38) !important;
  }

  .ct-input {
    height: 50px !important;
  }

  .ct-textarea {
    height: 112px !important;
  }

  .ct-button-wrapper {
    margin-top: 6px !important;
  }

  .ct-submit-btn {
    width: 100% !important;
    max-width: 330px !important;
    min-height: 52px !important;
    padding: 12px 24px !important;
    border-radius: 999px !important;
    font-size: 15px !important;
    background: linear-gradient(90deg, #5816d8 0%, #b02262 52%, #c54c10 100%) !important;
    opacity: 0.85 !important;
  }
}

@media (max-width: 390px) {
  .ct-main-content .container {
    width: calc(100% - 22px) !important;
  }

  .ct-form-card {
    padding: 24px 18px 26px !important;
    border-radius: 20px !important;
  }

  .ct-form-title {
    font-size: 23px !important;
  }

  .ct-form-subtitle,
  .ct-input-group label,
  .ct-input,
  .ct-textarea {
    font-size: 13px !important;
  }

  .ct-input {
    height: 48px !important;
  }

  .ct-textarea {
    height: 104px !important;
  }

  .ct-submit-btn {
    min-height: 50px !important;
    max-width: 300px !important;
  }
}

.drag-scroll-ready {
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scroll-behavior: auto;
  scrollbar-width: none;
  touch-action: pan-x;
  user-select: none;
}

.drag-scroll-ready::-webkit-scrollbar,
.games-ribbon-container::-webkit-scrollbar {
  display: none;
}

.drag-scroll-ready.is-dragging {
  cursor: grabbing;
}

.drag-scroll-ready.is-dragging a,
.drag-scroll-ready.is-dragging img {
  pointer-events: none;
}

.games-ribbon-container {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  position: relative;
  padding: 10px 0;
  scrollbar-width: none;
}

.games-ribbon {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: none !important;
  transform: none !important;
}

/* Clean 4 promotions layout */
.promotions-clean-section { padding: 38px 18px 50px !important; background: transparent !important; border:none !important; box-shadow:none !important; }
.promotions-clean-wrapper { max-width: 1180px !important; display: block !important; }
.promotions-clean-row { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 22px !important; overflow: visible !important; padding: 0 !important; }
.promotion-clean-card { min-width: 0 !important; max-width: none !important; width: 100% !important; flex: none !important; background: transparent !important; border-radius: 24px !important; border:none !important; box-shadow:none !important; }
.promotion-clean-card .card-img { width: 100% !important; aspect-ratio: 9 / 14 !important; overflow: hidden !important; border-radius: 24px 24px 0 0 !important; }
.promotion-clean-card .card-img img { width: 100% !important; height: 100% !important; object-fit: contain !important; background:transparent !important; object-position: center !important; border-radius: 28px 0 0 28px !important; display: block !important; }
.promotion-clean-card > div:last-child { border-top:none !important; min-height: 82px !important; padding: 16px 14px !important; display: block !important; }
.promotion-clean-card .card-title50 { font-size: 18px !important; line-height: 1.25 !important; text-align: center !important; margin: 0 !important; }
.promotion-clean-card .card-meta50 { display: none !important; }
.promotions-clean-wrapper .scroll-btn { display: none !important; }
.promotions-four-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 24px !important; align-items: stretch !important; }
.promotion-page-card { display: block !important; text-decoration: none !important; }
.promotion-page-card .inner-card { height: 100% !important; border-radius: 20px !important; }
.promotion-page-card .inner-card img { width: 100% !important; height: auto !important; aspect-ratio: 9 / 14 !important; object-fit: contain !important; background:transparent !important; object-position: center !important; display: block !important; }
.promotion-page-card .card-desc { padding: 16px 14px !important; min-height: 86px !important; gap: 10px !important; }
.promotion-page-card .card-desc h3 { font-size: 18px !important; line-height: 1.25 !important; margin: 0 !important; }
.promotion-page-card .card-desc span { font-size: 18px !important; font-weight: 600 !important; color: #f8a831 !important; white-space: nowrap !important; }
@media (max-width: 1100px) { .promotions-clean-row, .promotions-four-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 620px) { .promotions-clean-section { padding: 28px 14px 36px !important; } .promotions-clean-row, .promotions-four-grid { grid-template-columns: 1fr !important; gap: 18px !important; } .promotion-clean-card .card-img, .promotion-page-card .inner-card img { aspect-ratio: 4 / 5 !important; } .promotion-clean-card .card-title50, .promotion-page-card .card-desc h3 { font-size: 17px !important; } .promotion-page-card .card-desc { align-items: center !important; } }

/* Professional promotion cards: show the full poster images without cropping */
.promotions-clean-section {
  padding: 42px 18px 56px !important;
}

.promotions-clean-wrapper {
  max-width: 1240px !important;
  margin: 0 auto !important;
}

.promotions-clean-row{
    display:flex !important;
    flex-wrap:nowrap !important;
    gap:22px !important;

    overflow-x:auto !important;
    overflow-y:hidden !important;

    scroll-behavior:smooth;
    scrollbar-width:none;
    -webkit-overflow-scrolling:touch;

    touch-action:pan-x;
}

.promotions-clean-row::-webkit-scrollbar{
    display:none;
}

.promotion-clean-card{
    flex:0 0 260px !important;
    min-width:260px !important;
}

.promotion-clean-card .card-img {
  width: 100% !important;
  aspect-ratio: 9 / 16 !important;
  height: auto !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: radial-gradient(circle at center, rgba(96,42,151,0.34), rgba(5,5,12,0.96)) !important;
  border-radius: 24px 24px 0 0 !important;
}

.promotion-clean-card .card-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important; background:transparent !important;
  object-position: center !important;
  display: block !important;
  border-radius: 28px 0 0 28px !important;
}

.promotion-clean-card > div:last-child { border-top:none !important;
  min-height: 76px !important;
  padding: 15px 14px 17px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.promotion-clean-card .card-title50 {
  font-size: clamp(16px, 1.35vw, 19px) !important;
  line-height: 1.25 !important;
  text-align: center !important;
  margin: 0 !important;
}

.promotions-four-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 24px !important;
  align-items: stretch !important;
}

.promotion-page-card .inner-card {
  height: 100% !important;
  overflow: hidden !important;
  border-radius: 22px !important;
}

.promotion-page-card .inner-card img {
  width: 100% !important;
  aspect-ratio: 9 / 16 !important;
  height: auto !important;
  object-fit: contain !important; background:transparent !important;
  object-position: center !important;
  display: block !important;
  background: radial-gradient(circle at center, rgba(96,42,151,0.34), rgba(5,5,12,0.96)) !important;
}

@media (max-width: 1180px) {
  .promotions-clean-row,
  .promotions-four-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .promotions-clean-section {
    padding: 30px 14px 40px !important;
  }

  .promotions-clean-row,
  .promotions-four-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .promotion-clean-card {
    max-width: 430px !important;
    margin: 0 auto !important;
  }

  .promotion-clean-card .card-img,
  .promotion-page-card .inner-card img {
    aspect-ratio: 9 / 16 !important;
  }
}

/* Homepage promotions title and clickable cards */
.promotions-clean-title {
  margin: 0 0 30px !important;
  color: #ffffff !important;
  font-size: clamp(30px, 4.1vw, 58px) !important;
  line-height: 1.05 !important;
  font-weight: 900 !important;
  text-align: center !important;
  letter-spacing: -0.04em !important;
}

.promotion-clean-card {
  cursor: pointer !important;
  text-decoration: none !important;
}

.promotion-clean-card:focus-visible {
  outline: 3px solid rgba(248,168,49,0.95) !important;
  outline-offset: 5px !important;
}

@media (max-width: 640px) {
  .promotions-clean-title {
    margin-bottom: 22px !important;
    font-size: clamp(28px, 9vw, 42px) !important;
  }
}

/* Dynamic game ratings: gray 0.0 until real user reviews exist */
.hover-rating.portal-rating-empty,
.bull-info span.portal-rating-empty,
.bull-info20 span.portal-rating-empty { color: #b7b7b7 !important; }
.hover-rating.portal-rating-filled,
.bull-info span.portal-rating-filled,
.bull-info20 span.portal-rating-filled { color: #ffe29a !important; }
.portal-rating-empty .fa-star,
.portal-rating-empty .portal-rating-star { color: #9b9b9b !important; }
.portal-rating-filled .fa-star,
.portal-rating-filled .portal-rating-star { color: #ffd76a !important; }
.portal-stars-muted, .portal-big-stars.portal-stars-muted { color: #9b9b9b !important; }


/* Live game rating colors: empty = grey, real user rating = yellow */
.hover-rating.portal-rating-empty,
.bull-info span.portal-rating-empty,
.bull-info20 span.portal-rating-empty,
.game-info-row span.portal-rating-empty { color: #b7b7b7 !important; }
.hover-rating.portal-rating-filled,
.bull-info span.portal-rating-filled,
.bull-info20 span.portal-rating-filled,
.game-info-row span.portal-rating-filled { color: #ffe29a !important; }
.portal-rating-empty .fa-star,
.portal-rating-empty .portal-rating-star,
.game-info-row span.portal-rating-empty .fa-star { color: #9b9b9b !important; }
.portal-rating-filled .fa-star,
.portal-rating-filled .portal-rating-star,
.game-info-row span.portal-rating-filled .fa-star { color: #ffd76a !important; }

/* ✅ FIX ABOUT.HTML MEDIA CARDS ON MOBILE
   On phones the media/blog cards must not move to the right.
   They become one clean vertical column like in the reference screenshot. */
@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden !important;
  }

  .media-section {
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 60px auto !important;
    padding: 0 18px !important;
    text-align: center !important;
  }

  .media-title {
    font-size: 34px !important;
    line-height: 1.15 !important;
    margin: 0 0 10px !important;
  }

  .media-sub {
    font-size: 18px !important;
    line-height: 1.35 !important;
    margin: 0 0 34px !important;
  }

  .media-grid {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    justify-items: center !important;
  }

  .media-card {
    width: 100% !important;
    max-width: 680px !important;
    box-sizing: border-box !important;
    border-radius: 22px !important;
  }

  .media-card img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    display: block !important;
    object-fit: contain !important; background:transparent !important;
  }

  .media-content {
    padding: 20px 18px 22px !important;
  }

  .media-content h3 {
    font-size: 20px !important;
    line-height: 1.35 !important;
    margin: 0 0 14px !important;
  }

  .media-content span,
  .media-content small {
    font-size: 16px !important;
    line-height: 1.35 !important;
  }
}


/* Wedding page mobile image fix */
@media (max-width: 768px) {
  .wedding-hero {
    height: 420px;
    background-position: center center;
  }

  .scream-container {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .scream-images-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .scream-images-2 .boat {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 220px;
    display: block;
    object-fit: cover;
    border-radius: 18px;
  }
}


/* PROFESSIONAL GAME TITLE LABEL FIX - portal-games.html */
.game-card80 {
  text-decoration: none;
  color: #ffffff;
}

.game-card80 .game-hover {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  min-height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px 18px 16px 18px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.48) 68%, rgba(0, 0, 0, 0.88) 100%);
  transform: translateY(calc(100% - 58px));
  transition: transform 0.35s ease, background 0.35s ease;
  pointer-events: none;
}

.game-card80:hover .game-hover {
  transform: translateY(0);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 18%, rgba(0, 0, 0, 0.58) 58%, rgba(0, 0, 0, 0.95) 100%);
}

.game-card80 .game-hover h3 {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  max-width: calc(100% - 12px);
  min-height: 34px;
  margin: 0;
  padding: 6px 14px 7px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 18px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0.2px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-card80 .game-info-row,
.game-card80 .game-hover p {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.game-card80:hover .game-info-row,
.game-card80:hover .game-hover p {
  opacity: 1;
  transform: translateY(0);
}

.game-card80 .game-info-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.25;
}

.game-card80 .game-info-row span {
  display: inline-flex;
  align-items: center;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.game-card80 .game-hover p {
  margin: 10px 0 0 0;
  font-size: 13px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.86);
}

@media (max-width: 768px) {
  .game-card80 .game-hover {
    transform: translateY(calc(100% - 54px));
    padding: 16px 14px 14px 14px;
  }

  .game-card80 .game-hover h3 {
    min-height: 32px;
    padding: 6px 12px;
    font-size: 16px;
  }
}

/* =========================================================
   Mobile fixes for all game detail pages (portal.land-like)
   Added for: aladdin/manyak/dabbe/apokalipsisz/mutant/jail/rahiba/ritual/scream2
   ========================================================= */
@media (max-width: 900px) {
  .x9z2-page-container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow-x: hidden !important;
  }

  .elephant-main-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 26px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 24px 16px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .giraffe-left-column,
  .eagle-sidebar {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: none !important;
  }

  .monkey-description,
  .lion-rules,
  .hippo-modes,
  .bear-age-box,
  .shark-branch-card,
  .rhino-other-games,
  .spider-rating-total,
  .falcon-latest-comments {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .monkey-description,
  .lion-rules,
  .hippo-modes,
  .bear-age-box {
    padding: 0 !important;
    margin: 0 0 32px 0 !important;
  }

  .zebra-orange-title {
    font-size: clamp(28px, 8vw, 42px) !important;
    line-height: 1.12 !important;
    margin: 0 0 22px 0 !important;
  }

  .zebra-orange-title.small {
    font-size: clamp(25px, 7vw, 34px) !important;
    line-height: 1.15 !important;
    margin-top: 34px !important;
  }

  .camel-quote-box {
    display: block !important;
    padding: 0 !important;
  }

  .camel-quote-box p {
    display: block !important;
    font-size: clamp(18px, 5.1vw, 28px) !important;
    line-height: 1.58 !important;
    color: rgba(255,255,255,0.86) !important;
    margin: 0 !important;
    overflow-wrap: anywhere !important;
  }

  .fox-quote {
    display: inline-block !important;
    font-size: 44px !important;
    line-height: 1 !important;
  }

  .fox-quote.right-q {
    float: none !important;
    display: block !important;
    text-align: right !important;
    margin: 0 !important;
  }

  .tiger-list {
    padding: 0 !important;
    margin: 0 !important;
  }

  .tiger-list li {
    font-size: clamp(16px, 4.6vw, 23px) !important;
    line-height: 1.45 !important;
    padding-left: 34px !important;
    margin-bottom: 20px !important;
    color: rgba(255,255,255,0.88) !important;
  }

  .tiger-list li::before {
    left: 4px !important;
    top: -2px !important;
    font-size: 30px !important;
  }

  .wolf-modes-grid {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  .owl-mode-card {
    padding: 28px 24px !important;
    border-radius: 24px !important;
    min-height: auto !important;
  }

  .owl-mode-card h4 {
    font-size: 30px !important;
    line-height: 1.12 !important;
    margin-bottom: 18px !important;
  }

  .deer-icon-row,
  .owl-mode-card p,
  .owl-mode-card a,
  .mouse-note {
    font-size: 18px !important;
    line-height: 1.35 !important;
  }

  .deer-icon-row img {
    width: 28px !important;
    height: 28px !important;
  }

  .prepay-comment-wrapper,
  .horse-btns,
  .comment-user-info {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .prepay-box,
  .shark-branch-card,
  .rhino-other-games,
  .spider-rating-total,
  .falcon-latest-comments {
    border-radius: 24px !important;
    padding: 24px 18px !important;
    background: #1a1a1a !important;
  }

  .bull-game-item,
  .bull-game-item20 {
    width: 100% !important;
    min-width: 0 !important;
    display: grid !important;
    grid-template-columns: 132px minmax(0, 1fr) !important;
    gap: 14px !important;
    padding: 12px 0 !important;
    box-sizing: border-box !important;
  }

  .bull-game-item img,
  .bull-game-item20 img {
    width: 132px !important;
    height: 82px !important;
    border-radius: 12px !important;
    object-fit: contain !important; background:transparent !important;
  }

  .bull-info h4,
  .bull-info20 h4 { font-size: 22px !important; }
  .bull-info p,
  .bull-info20 p,
  .bull-info span,
  .bull-info20 span { font-size: 16px !important; }

  .rating-flex {
    justify-content: center !important;
    text-align: center !important;
  }

  .bar-line {
    font-size: 18px !important;
    gap: 12px !important;
    margin-bottom: 12px !important;
  }

  .bg-bar { height: 8px !important; }

  .zebra-orange-title.comment-head,
  .see-all-link {
    text-align: center !important;
  }

  .monkey-comment-card p {
    font-size: 17px !important;
  }

  .rsv-x9z-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 24px 16px 34px !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .rsv-x9z-main-heading {
    font-size: clamp(30px, 8vw, 44px) !important;
    line-height: 1.1 !important;
    margin: 16px 0 34px !important;
    font-weight: 900 !important;
  }

  .rsv-x9z-day-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    align-items: start !important;
    gap: 18px !important;
    padding: 28px 0 !important;
  }

  .rsv-x9z-date-label {
    min-width: 0 !important;
    width: 100% !important;
    font-size: 24px !important;
    font-weight: 900 !important;
    display: flex !important;
    align-items: baseline !important;
    gap: 14px !important;
    white-space: normal !important;
  }

  .rsv-x9z-day-name {
    font-size: 20px !important;
    margin-left: 0 !important;
  }

  .rsv-x9z-slots {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px 10px !important;
  }

  .rsv-x9z-slot {
    width: 100% !important;
    min-width: 0 !important;
    height: 64px !important;
    border-radius: 14px !important;
    font-size: 23px !important;
    font-weight: 900 !important;
  }

  .rsv-x9z-badge {
    top: -9px !important;
    right: -4px !important;
    font-size: 12px !important;
    padding: 2px 7px !important;
    border-radius: 10px !important;
  }

  .rsv-x9z-divider {
    margin: 2px 0 !important;
    border-top-color: rgba(255,255,255,0.22) !important;
  }
}

@media (max-width: 390px) {
  .elephant-main-grid,
  .rsv-x9z-container { padding-left: 12px !important; padding-right: 12px !important; }
  .rsv-x9z-slots { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .bull-game-item,
  .bull-game-item20 { grid-template-columns: 112px minmax(0, 1fr) !important; }
  .bull-game-item img,
  .bull-game-item20 img { width: 112px !important; height: 76px !important; }
}


/* === MOBILE PAGES DROPDOWN FIX ALL PAGES === */
@media (max-width: 768px) {
  body.menu-open .nav-links .dropdown > .dropdown-menu,
  .nav-links.open .dropdown > .dropdown-menu {
    display: none !important;
  }

  body.menu-open .nav-links .dropdown.open > .dropdown-menu,
  body.menu-open .nav-links .dropdown.mobile-open > .dropdown-menu,
  .nav-links.open .dropdown.open > .dropdown-menu,
  .nav-links.open .dropdown.mobile-open > .dropdown-menu {
    display: block !important;
    position: static !important;
    width: 100% !important;
    margin: 8px 0 14px !important;
    padding: 14px 18px !important;
    background: rgba(255, 255, 255, 0.07) !important;
    border: 1px solid rgba(255, 255, 255, 0.13) !important;
    border-radius: 18px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
  }

  body.menu-open .nav-links .dropdown.open .dropdown-arrow,
  body.menu-open .nav-links .dropdown.mobile-open .dropdown-arrow,
  .nav-links.open .dropdown.open .dropdown-arrow,
  .nav-links.open .dropdown.mobile-open .dropdown-arrow {
    transform: rotate(180deg) !important;
  }
}

/* Final fix: remove 4th promotion layout and make discount cards shorter/neater */
.promotions-clean-wrapper {
  max-width: 980px !important;
}

.promotions-clean-row,
.promotions-four-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 22px !important;
}

.promotion-clean-card .card-img {
  aspect-ratio: 4 / 5 !important;
}

.promotion-clean-card > div:last-child { border-top:none !important;
  min-height: 68px !important;
  padding: 13px 14px 15px !important;
}

.promotion-clean-card .card-title50 {
  font-size: clamp(16px, 1.2vw, 18px) !important;
}

@media (max-width: 900px) {
  .promotions-clean-wrapper {
    max-width: 680px !important;
  }

  .promotions-clean-row,
  .promotions-four-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .promotions-clean-wrapper {
    max-width: 430px !important;
  }

  .promotions-clean-row,
  .promotions-four-grid {
    grid-template-columns: 1fr !important;
  }

  .promotion-clean-card .card-img {
    aspect-ratio: 4 / 5 !important;
  }
}

/* =========================================================
   Professional laptop / desktop responsiveness fix
   Keeps content centered on different notebook resolutions.
   ========================================================= */
@media (min-width: 769px) {
  .container,
  .container2,
  .cards-wrapper50,
  .portal-reviews-section,
  .portal-reviews-summary-section,
  .game-sections,
  .main-content,
  .content-wrapper {
    width: min(1200px, calc(100% - 44px)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .section30 {
    width: min(1100px, calc(100% - 44px)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .section30 .section-header {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .kids-games {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: grid !important;
    grid-template-columns: 280px minmax(0, 1fr) !important;
    gap: clamp(34px, 5vw, 64px) !important;
    align-items: center !important;
  }

  .kids-games .game-card {
    width: 280px !important;
    max-width: 100% !important;
  }

  .game-description17 {
    min-width: 0 !important;
    max-width: 520px !important;
    width: 100% !important;
  }

  .game-description17 h2 {
    font-size: clamp(28px, 2.4vw, 34px) !important;
  }

  .game-description17 p {
    font-size: clamp(14px, 1.18vw, 16px) !important;
  }
}

@media (min-width: 769px) and (max-width: 1100px) {
  .section30 {
    width: min(960px, calc(100% - 36px)) !important;
  }

  .kids-games {
    grid-template-columns: 250px minmax(0, 1fr) !important;
    gap: 34px !important;
  }

  .kids-games .game-card {
    width: 250px !important;
  }

  .kids-games .card-img img {
    height: 165px !important;
  }
}

@media (max-width: 768px) {
  .section30 {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* =========================================================
   CASPER GLOBAL NEON PURPLE REDESIGN 2026
   Only visual CSS changes: functionality, HTML and JS untouched.
   ========================================================= */
:root {
  --bg-main: #03000c;
  --bg-elevated: rgba(12, 5, 31, 0.92);
  --bg-card: rgba(18, 7, 48, 0.76);
  --accent-yellow: #ffffff;
  --accent-pink: #ff3df2;
  --accent-blue: #7d4dff;
  --accent-purple: #8f35ff;
  --accent-cyan: #4fd8ff;
  --text-main: #ffffff;
  --text-muted: #d4ccff;
  --border-soft: rgba(167, 82, 255, 0.38);
  --shadow-soft: 0 28px 80px rgba(85, 30, 210, 0.42), 0 0 45px rgba(183, 50, 255, 0.22);
}

html,
body,
.page-bg {
  background:
    radial-gradient(circle at 15% 12%, rgba(111, 38, 255, 0.42) 0, rgba(111, 38, 255, 0.10) 26%, transparent 44%),
    radial-gradient(circle at 85% 18%, rgba(255, 61, 242, 0.28) 0, rgba(255, 61, 242, 0.08) 24%, transparent 42%),
    radial-gradient(circle at 50% 90%, rgba(75, 47, 255, 0.48) 0, rgba(75, 47, 255, 0.11) 34%, transparent 58%),
    linear-gradient(135deg, #03000c 0%, #080019 38%, #120033 68%, #050010 100%) !important;
  color: #ffffff !important;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    linear-gradient(115deg, transparent 0%, rgba(121, 52, 255, 0.08) 33%, transparent 55%),
    radial-gradient(circle at 8% 65%, rgba(39, 200, 255, 0.16) 0, transparent 28%),
    radial-gradient(circle at 94% 72%, rgba(151, 65, 255, 0.30) 0, transparent 34%);
  filter: saturate(1.24);
}

.nav-wrapper {
  background: rgba(7, 2, 22, 0.72) !important;
  border-bottom: 1px solid rgba(163, 88, 255, 0.32) !important;
  box-shadow: 0 0 28px rgba(126, 54, 255, 0.25), 0 16px 40px rgba(0, 0, 0, 0.45) !important;
  backdrop-filter: blur(24px) saturate(1.35) !important;
}

.logo-mark,
.logo-mark img {
  border-radius: 18px !important;
  box-shadow: 0 0 20px rgba(130, 70, 255, 0.75), 0 0 45px rgba(255, 61, 242, 0.35) !important;
}

.logo-text span:first-child,
.section-title,
.hero-title,
[class*='title'],
h1,
h2,
h3 {
  text-shadow: 0 0 18px rgba(144, 78, 255, 0.55), 0 0 38px rgba(255, 61, 242, 0.18) !important;
}

.nav-link,
.logo-text span:last-child,
p,
li,
.section-subtitle,
.hero-subtitle,
.card-meta,
.game-meta,
[class*='subtitle'],
[class*='meta'] {
  color: #d9d0ff !important;
}

.nav-link.active,
.nav-link:hover,
.logo-text span:first-child {
  color: #ffffff !important;
}

.nav-link.active::after,
.nav-link:hover::after {
  background: linear-gradient(90deg, #8f35ff, #ff3df2, #4fd8ff) !important;
  box-shadow: 0 0 16px rgba(170, 65, 255, 0.9) !important;
}

button,
.btn-gradient,
.btn-outline,
.login-btn,
.lang-current,
.btn-clear,
.circle-btn,
.promo-arrow,
.hero-cta-row a,
.card-foot-row a,
[class*='btn'],
[type='submit'] {
  border: 1px solid rgba(184, 95, 255, 0.62) !important;
  background: linear-gradient(135deg, rgba(106, 42, 255, 0.92), rgba(255, 61, 242, 0.72)) !important;
  color: #ffffff !important;
  box-shadow: 0 0 14px rgba(151, 65, 255, 0.62), 0 0 34px rgba(255, 61, 242, 0.22), inset 0 0 16px rgba(255, 255, 255, 0.10) !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease !important;
}

button:hover,
.btn-gradient:hover,
.btn-outline:hover,
.login-btn:hover,
.lang-current:hover,
.btn-clear:hover,
.circle-btn:hover,
.promo-arrow:hover,
.hero-cta-row a:hover,
.card-foot-row a:hover,
[class*='btn']:hover,
[type='submit']:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(255, 255, 255, 0.86) !important;
  box-shadow: 0 0 22px rgba(151, 65, 255, 0.95), 0 0 52px rgba(255, 61, 242, 0.38), 0 14px 32px rgba(0, 0, 0, 0.35) !important;
}

.hero,
.section,
.page-hero-banner,
.page-hero-banner10,
.page-hero-new,
.central-hero,
.hero-container5,
.section30,
.map-section,
.profile-page,
.reception-page,
main > section {
  position: relative;
}

.hero::before,
.page-hero-banner::before,
.page-hero-banner10::before,
.page-hero-new::before,
.central-hero::before,
.hero-container5::before {
  content: '';
  position: absolute;
  inset: -20px;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(circle at 20% 35%, rgba(139, 60, 255, 0.34), transparent 38%), radial-gradient(circle at 84% 45%, rgba(255, 61, 242, 0.22), transparent 32%);
  filter: blur(12px);
}

.hero-media-card,
.game-card-frame,
.game-card,
.card-game,
.card-promo,
.info-card,
.step-card,
.audience-card,
.blog-card,
.branch-card,
.branch-card-modern,
.promotion-card,
.review-card,
.faq-item,
.contact-card,
.booking-card,
.profile-card,
.form-card,
[class*='card'],
[class*='box'],
[class*='panel'] {
  background: linear-gradient(145deg, rgba(20, 6, 55, 0.84), rgba(8, 2, 25, 0.72)) !important;
  border: 1px solid rgba(158, 78, 255, 0.42) !important;
  box-shadow: 0 0 22px rgba(123, 53, 255, 0.34), 0 0 58px rgba(255, 61, 242, 0.12), 0 20px 48px rgba(0, 0, 0, 0.42) !important;
  backdrop-filter: blur(16px) saturate(1.28) !important;
}

.hero-media-card,
.game-card-frame,
.card-img,
.branch-img,
.branch-card-top,
[class*='img'],
[class*='image'],
img {
  border-color: rgba(172, 83, 255, 0.55) !important;
}

.hero-media-card img,
.game-card img,
.card-game img,
.card-promo img,
.branch-card img,
.branch-card-modern img,
.promotion-card img,
[class*='card'] img {
  box-shadow: 0 0 22px rgba(137, 63, 255, 0.58), 0 0 46px rgba(255, 61, 242, 0.20) !important;
}

.hero-media-card,
.game-card-frame,
.card-img,
.branch-img,
.branch-card-top {
  overflow: hidden !important;
  border: 1px solid rgba(172, 83, 255, 0.64) !important;
  box-shadow: 0 0 24px rgba(125, 77, 255, 0.72), 0 0 56px rgba(255, 61, 242, 0.24) !important;
}

input,
textarea,
select,
.lang-menu,
.dropdown-menu,
.mobile-menu {
  background: rgba(8, 2, 26, 0.92) !important;
  color: #ffffff !important;
  border: 1px solid rgba(165, 82, 255, 0.46) !important;
  box-shadow: 0 0 20px rgba(125, 77, 255, 0.20) !important;
}

input:focus,
textarea:focus,
select:focus {
  outline: none !important;
  border-color: rgba(255, 61, 242, 0.82) !important;
  box-shadow: 0 0 0 3px rgba(143, 53, 255, 0.22), 0 0 30px rgba(255, 61, 242, 0.22) !important;
}

.hero-badge,
.branch-badge,
.game-level,
[class*='badge'],
[class*='tag'] {
  background: rgba(20, 6, 55, 0.78) !important;
  border: 1px solid rgba(109, 255, 235, 0.30) !important;
  color: #e9e4ff !important;
  box-shadow: 0 0 18px rgba(79, 216, 255, 0.18), 0 0 26px rgba(143, 53, 255, 0.26) !important;
}

hr,
.divider,
[class*='line'] {
  border-color: rgba(166, 85, 255, 0.32) !important;
}

@media (max-width: 768px) {
  .nav-wrapper { box-shadow: 0 0 22px rgba(126, 54, 255, 0.32) !important; }
  .hero-media-card,
  .game-card-frame,
  [class*='card'] { box-shadow: 0 0 18px rgba(123, 53, 255, 0.34), 0 14px 34px rgba(0, 0, 0, 0.38) !important; }
}


/* Blue neon background refresh — background only, functionality unchanged */
html,
body,
.page-bg {
  background:
    radial-gradient(circle at 12% 16%, rgba(0, 123, 255, 0.36), transparent 32%),
    radial-gradient(circle at 88% 14%, rgba(97, 67, 255, 0.25), transparent 36%),
    radial-gradient(circle at 50% 110%, rgba(0, 225, 255, 0.16), transparent 44%),
    linear-gradient(135deg, #010512 0%, #061331 45%, #020818 100%) !important;
  background-attachment: fixed !important;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    linear-gradient(115deg, transparent 0%, rgba(0, 184, 255, 0.075) 35%, transparent 62%),
    radial-gradient(circle at 74% 58%, rgba(0, 93, 255, 0.16), transparent 36%);
  filter: blur(1px);
}

.nav-wrapper {
  background: linear-gradient(90deg, rgba(2, 10, 34, 0.82), rgba(3, 8, 28, 0.96)) !important;
  box-shadow: 0 12px 40px rgba(0, 53, 161, 0.22);
}


/* ✅ ABOUT.HTML MEDIA FIX: only Scream card, centered, full image visible */
.media-section .media-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  justify-items: center !important;
  max-width: 900px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.media-section .media-card {
  width: min(760px, calc(100% - 32px)) !important;
  max-width: 760px !important;
}

.media-section .media-card img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  object-fit: contain !important; background:transparent !important;
  background: #050514 !important;
}

@media (max-width: 768px) {
  .media-section .media-card {
    width: 100% !important;
    max-width: 680px !important;
  }

  .media-section .media-card img {
    height: auto !important;
    aspect-ratio: auto !important;
    object-fit: contain !important; background:transparent !important;
  }
}

/* =========================================================
   MOBILE GAME CARDS FIX — 2026-05-22
   Keeps long game names on one line and shows game images neatly on phones.
   ========================================================= */
@media (max-width: 768px) {
  .games-ribbon-container {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 18px 0 24px !important;
    margin-left: -14px !important;
    margin-right: -14px !important;
    scroll-padding-left: 14px !important;
  }

  .games-ribbon {
    display: flex !important;
    align-items: stretch !important;
    gap: 18px !important;
    width: max-content !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
    transform: none !important;
    animation: none !important;
  }

  .games-ribbon .game-card {
    width: min(86vw, 380px) !important;
    flex: 0 0 min(86vw, 380px) !important;
    max-width: 380px !important;
    min-width: 0 !important;
    transform: none !important;
  }

  .games-ribbon .game-card:hover {
    transform: none !important;
  }

  .games-ribbon .game-card-frame {
    border-radius: 26px !important;
    overflow: hidden !important;
  }

  .games-ribbon .game-card .card-img {
    height: clamp(175px, 48vw, 235px) !important;
    background: #070710 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .games-ribbon .game-card .card-img img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important; background:transparent !important;
    object-position: center center !important;
    display: block !important;
    background: #070710 !important;
    transform: none !important;
  }

  .games-ribbon .game-info {
    padding: 18px 12px 20px !important;
    text-align: center !important;
    overflow: visible !important;
  }

  .games-ribbon .game-title {
    font-size: clamp(24px, 7.4vw, 34px) !important;
    line-height: 1.05 !important;
    letter-spacing: 0.035em !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    text-wrap: nowrap !important;
    margin-bottom: 10px !important;
  }

  .games-ribbon .game-meta {
    font-size: clamp(13px, 3.6vw, 16px) !important;
    line-height: 1.35 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
}

@media (max-width: 390px) {
  .games-ribbon .game-card {
    width: 88vw !important;
    flex-basis: 88vw !important;
  }

  .games-ribbon .game-title {
    font-size: clamp(22px, 7vw, 29px) !important;
    letter-spacing: 0.025em !important;
  }
}

/* =========================================================
   DABBE CARD IMAGE FIX — 2026-05-22
   Shows the full Dabbe poster/logo on the main page without cropping it.
   ========================================================= */
.games-ribbon a.game-card[data-game="dabbe"] .card-img,
.games-slider a.game-card[data-game="dabbe"] .card-img,
a.game-card[data-game="dabbe"] .card-img {
  background: #070710 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.games-ribbon a.game-card[data-game="dabbe"] .card-img img,
.games-slider a.game-card[data-game="dabbe"] .card-img img,
a.game-card[data-game="dabbe"] .card-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important; background:transparent !important;
  object-position: center center !important;
  background: #070710 !important;
  transform: none !important;
}

.games-ribbon a.game-card[data-game="dabbe"]:hover .card-img img,
.games-slider a.game-card[data-game="dabbe"]:hover .card-img img,
a.game-card[data-game="dabbe"]:hover .card-img img {
  transform: none !important;
}

/* === MOBILE BURGER PAGES BUTTON NEAT FIX === */
@media (max-width: 768px) {
  body.menu-open .nav-links > .dropdown,
  .nav-links.open > .dropdown {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  body.menu-open .nav-links > .dropdown > .dropdown-toggle,
  .nav-links.open > .dropdown > .dropdown-toggle,
  body.menu-open .nav-links > .dropdown > .nav-link-inner.dropdown-toggle,
  .nav-links.open > .dropdown > .nav-link-inner.dropdown-toggle {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 58px !important;
    padding: 12px 6px !important;
    margin: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    column-gap: 16px !important;
    box-sizing: border-box !important;
    transform: none !important;
  }

  body.menu-open .nav-links > .dropdown > .dropdown-toggle i,
  .nav-links.open > .dropdown > .dropdown-toggle i,
  body.menu-open .nav-links > .dropdown > .nav-link-inner.dropdown-toggle i,
  .nav-links.open > .dropdown > .nav-link-inner.dropdown-toggle i {
    display: none !important;
  }

  body.menu-open .nav-links > .dropdown > .dropdown-toggle [data-i18n="nav.pages"],
  .nav-links.open > .dropdown > .dropdown-toggle [data-i18n="nav.pages"],
  body.menu-open .nav-links > .dropdown > .nav-link-inner.dropdown-toggle [data-i18n="nav.pages"],
  .nav-links.open > .dropdown > .nav-link-inner.dropdown-toggle [data-i18n="nav.pages"] {
    min-width: 0 !important;
    width: auto !important;
    display: block !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
  }

  body.menu-open .nav-links > .dropdown > .dropdown-toggle .dropdown-arrow,
  .nav-links.open > .dropdown > .dropdown-toggle .dropdown-arrow,
  body.menu-open .nav-links > .dropdown > .nav-link-inner.dropdown-toggle .dropdown-arrow,
  .nav-links.open > .dropdown > .nav-link-inner.dropdown-toggle .dropdown-arrow {
    display: block !important;
    width: 24px !important;
    min-width: 24px !important;
    text-align: center !important;
    margin-left: 0 !important;
    font-size: 16px !important;
    line-height: 1 !important;
    transform-origin: center !important;
  }

  body.menu-open .nav-links > .dropdown > .dropdown-toggle::after,
  .nav-links.open > .dropdown > .dropdown-toggle::after,
  body.menu-open .nav-links > .dropdown > .nav-link-inner.dropdown-toggle::after,
  .nav-links.open > .dropdown > .nav-link-inner.dropdown-toggle::after {
    content: none !important;
    display: none !important;
  }
}

/* =========================================================
   GAME DETAIL HERO BUTTONS/TAGS FIX — portal.land style
   Applies to game pages: manyak, alladin/aladdin, ritual, apokalipsisz,
   mutant, scream2, jail, rahiba, dabbe.
   Removes purple square panels and keeps controls directly on video.
   ========================================================= */
.x9z2-hero .x9z2-tags-row {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 18px 0 14px !important;
  padding: 0 !important;
  width: min(690px, 100%) !important;
  max-width: 690px !important;
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.x9z2-hero .x9z2-tag-item {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  min-height: 32px !important;
  width: auto !important;
  max-width: max-content !important;
  padding: 7px 12px !important;
  margin: 0 !important;
  border-radius: 999px !important;
  border: 0 !important;
  outline: 0 !important;
  background: rgba(20, 22, 28, 0.74) !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}

.x9z2-hero .x9z2-tag-item i {
  font-size: 14px !important;
  line-height: 1 !important;
  color: #ffffff !important;
}

.x9z2-hero .x9z2-tag-item .deer-icon-row {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  line-height: 1 !important;
}

.x9z2-hero .x9z2-tag-item img,
.x9z2-hero .deer-icon-row img {
  width: 17px !important;
  height: 17px !important;
  object-fit: contain !important; background:transparent !important;
  filter: brightness(0) invert(1) !important;
}

.x9z2-hero .x9z2-action-btns {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
  width: min(690px, 100%) !important;
  max-width: 690px !important;
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.x9z2-hero .x9z2-btn-fill,
.x9z2-hero .x9z2-btn-stroke {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 220px !important;
  min-height: 46px !important;
  padding: 13px 24px !important;
  margin: 0 !important;
  border-radius: 12px !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease !important;
}

.x9z2-hero .x9z2-btn-fill {
  border: 0 !important;
  background: linear-gradient(135deg, #102033 0%, #183754 100%) !important;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.32) !important;
}

.x9z2-hero .x9z2-btn-stroke {
  border: 0 !important;
  background: linear-gradient(135deg, #c92833 0%, #f05450 100%) !important;
  box-shadow: 0 10px 22px rgba(201, 40, 51, 0.28) !important;
}

.x9z2-hero .x9z2-btn-fill:hover,
.x9z2-hero .x9z2-btn-stroke:hover {
  transform: translateY(-2px) !important;
  filter: brightness(1.06) !important;
}

@media (max-width: 768px) {
  .x9z2-hero .x9z2-hero-content {
    padding: 0 26px !important;
  }

  .x9z2-hero .x9z2-tags-row {
    gap: 7px !important;
    margin: 16px 0 12px !important;
    width: 100% !important;
  }

  .x9z2-hero .x9z2-tag-item {
    min-height: 30px !important;
    padding: 7px 10px !important;
    font-size: 13px !important;
    border-radius: 999px !important;
  }

  .x9z2-hero .x9z2-action-btns {
    width: 100% !important;
    gap: 10px !important;
  }

  .x9z2-hero .x9z2-btn-fill,
  .x9z2-hero .x9z2-btn-stroke {
    flex: 1 1 150px !important;
    min-width: 0 !important;
    min-height: 44px !important;
    padding: 12px 14px !important;
    border-radius: 11px !important;
    font-size: 15px !important;
  }
}

@media (max-width: 420px) {
  .x9z2-hero .x9z2-tag-item {
    font-size: 12px !important;
    padding: 7px 9px !important;
  }

  .x9z2-hero .x9z2-btn-fill,
  .x9z2-hero .x9z2-btn-stroke {
    font-size: 14px !important;
  }
}

/* =========================================================
   Compact professional mobile layout for game text sections
   Applies to: manyak, aladdin, scream2, mutant, dabbe, jail,
   apokalipsisz, rahiba, ritual and other game detail pages.
   ========================================================= */
@media (max-width: 768px) {
  .x9z2-page-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .elephant-main-grid {
    padding: 16px 14px 24px 14px !important;
    gap: 18px !important;
  }

  .monkey-description,
  .lion-rules,
  .hippo-modes,
  .bear-age-box {
    margin: 0 0 22px 0 !important;
    padding: 0 !important;
  }

  .zebra-orange-title {
    font-size: 28px !important;
    line-height: 1.12 !important;
    margin: 0 0 14px 0 !important;
    letter-spacing: -0.3px !important;
  }

  .zebra-orange-title.small {
    font-size: 24px !important;
    line-height: 1.15 !important;
    margin: 22px 0 14px 0 !important;
    letter-spacing: -0.2px !important;
  }

  .zebra-orange-title.small i {
    font-size: 22px !important;
    margin-right: 7px !important;
  }

  .camel-quote-box {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 14px 15px 16px 15px !important;
    margin: 0 !important;
    border-radius: 16px !important;
    background: rgba(10, 6, 46, 0.78) !important;
    border: 1px solid rgba(166, 77, 255, 0.45) !important;
    box-shadow: 0 0 18px rgba(120, 41, 255, 0.18) !important;
  }

  .camel-quote-box p {
    display: block !important;
    font-size: 16px !important;
    line-height: 1.52 !important;
    margin: 0 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  .fox-quote {
    display: block !important;
    font-size: 28px !important;
    line-height: 0.8 !important;
    margin: 0 0 4px 0 !important;
  }

  .fox-quote.right-q {
    float: none !important;
    display: block !important;
    text-align: right !important;
    margin: 4px 0 0 0 !important;
  }

  .tiger-list {
    display: grid !important;
    gap: 12px !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .tiger-list li {
    position: relative !important;
    font-size: 15.5px !important;
    line-height: 1.45 !important;
    margin: 0 !important;
    padding-left: 21px !important;
    color: rgba(255, 255, 255, 0.9) !important;
  }

  .tiger-list li::before {
    left: 1px !important;
    top: 0.05em !important;
    font-size: 20px !important;
    line-height: 1 !important;
  }
}

@media (max-width: 390px) {
  .elephant-main-grid {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .zebra-orange-title {
    font-size: 26px !important;
  }

  .zebra-orange-title.small {
    font-size: 22px !important;
  }

  .camel-quote-box {
    padding: 13px 13px 15px 13px !important;
    border-radius: 15px !important;
  }

  .camel-quote-box p,
  .tiger-list li {
    font-size: 15px !important;
  }
}


/* === Casper entertainment dropdown visibility fix (2026-05-23) ===
   Makes every opened filter menu appear above the other filter buttons. */
.filter-section,
.filter-grid {
  overflow: visible !important;
  position: relative !important;
}

.filter-section {
  z-index: 30 !important;
}

.filter-grid {
  z-index: 40 !important;
  align-items: flex-start !important;
}

.filter-dropdown {
  position: relative !important;
  z-index: 1 !important;
  overflow: visible !important;
}

.filter-dropdown.active,
.filter-dropdown:focus-within {
  z-index: 9999 !important;
}

.filter-dropdown .dropdown-menu {
  position: absolute !important;
  top: calc(100% + 12px) !important;
  left: 0 !important;
  z-index: 10000 !important;
  display: none !important;
  min-width: 250px !important;
  max-width: min(360px, calc(100vw - 32px)) !important;
  overflow: visible !important;
  pointer-events: auto !important;
}

.filter-dropdown.active .dropdown-menu,
.filter-dropdown:focus-within .dropdown-menu {
  display: flex !important;
}

.filter-dropdown.dropdown-align-right .dropdown-menu {
  left: auto !important;
  right: 0 !important;
}

.filter-dropdown .dropdown-menu label,
.filter-dropdown .dropdown-menu .filter-type {
  position: relative !important;
  z-index: 1 !important;
  white-space: nowrap !important;
}

@media (max-width: 768px) {
  .filter-dropdown .dropdown-menu {
    left: 0 !important;
    right: auto !important;
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
  }
}

/* =========================================================
   COMPACT MOBILE GAME SECTIONS — Casper game detail pages
   Applies to: mutant, manyak, aladdin, apokalipsisz, scream2,
   jail, rahiba, dabbe, ritual. Keeps JS/functionality untouched.
   ========================================================= */
@media (max-width: 900px) {
  html, body { overflow-x: hidden !important; }

  .hippo-modes,
  .panther-rating-comment-section,
  .rsv-x9z-container {
    scroll-margin-top: 92px !important;
  }

  /* Game modes */
  .hippo-modes {
    margin: 0 0 18px 0 !important;
    padding: 0 !important;
  }

  .hippo-modes .zebra-orange-title.small {
    font-size: clamp(22px, 6.2vw, 30px) !important;
    line-height: 1.12 !important;
    margin: 18px 0 14px 0 !important;
  }

  .wolf-modes-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .owl-mode-card {
    padding: 16px 18px !important;
    border-radius: 18px !important;
    background: rgba(8, 8, 55, 0.86) !important;
    border: 1px solid rgba(165, 53, 255, 0.36) !important;
    box-shadow: 0 0 14px rgba(123, 44, 255, 0.20) !important;
  }

  .owl-mode-card h4 {
    font-size: clamp(22px, 6.8vw, 30px) !important;
    line-height: 1.05 !important;
    margin: 0 0 10px 0 !important;
  }

  .deer-icon-row {
    font-size: 16px !important;
    line-height: 1.2 !important;
    gap: 8px !important;
    margin-bottom: 8px !important;
  }

  .deer-icon-row img {
    width: 22px !important;
    height: 22px !important;
  }

  .owl-mode-card p,
  .mouse-note {
    font-size: 15px !important;
    line-height: 1.34 !important;
    margin: 8px 0 10px 0 !important;
  }

  .owl-mode-card a {
    display: inline-block !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    margin-top: 2px !important;
  }

  /* Rating and reviews */
  .panther-rating-comment-section {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    margin-top: 16px !important;
    width: 100% !important;
  }

  .spider-rating-total,
  .falcon-latest-comments {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 16px !important;
    border-radius: 18px !important;
    background: rgba(22, 23, 27, 0.92) !important;
    box-shadow: 0 0 16px rgba(123, 44, 255, 0.16) !important;
  }

  .rating-flex {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 10px !important;
  }

  .huge-digit {
    font-size: clamp(42px, 14vw, 58px) !important;
    line-height: 1 !important;
  }

  .stars-col small,
  .stars-col .gold-stars {
    font-size: 15px !important;
    line-height: 1.2 !important;
  }

  .rating-bars-container {
    width: min(100%, 280px) !important;
    margin: 0 auto !important;
  }

  .bar-line {
    display: grid !important;
    grid-template-columns: 42px 1fr !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 16px !important;
    line-height: 1 !important;
    margin-bottom: 10px !important;
  }

  .bg-bar {
    height: 9px !important;
    border-radius: 999px !important;
  }

  .falcon-latest-comments .zebra-orange-title.comment-head {
    font-size: clamp(24px, 7vw, 32px) !important;
    line-height: 1.1 !important;
    text-align: center !important;
    margin: 0 0 14px 0 !important;
  }

  .monkey-comment-card {
    padding: 14px !important;
    border-radius: 16px !important;
    margin-bottom: 12px !important;
  }

  .comment-user-info {
    gap: 8px !important;
  }

  .comment-user-info strong { font-size: 16px !important; }
  .comment-user-info span { font-size: 12px !important; }

  .monkey-comment-card p {
    font-size: 14px !important;
    line-height: 1.35 !important;
    margin: 8px 0 !important;
  }

  .see-all-link {
    display: inline-block !important;
    text-align: center !important;
    font-size: 15px !important;
    padding: 7px 12px !important;
    margin-top: 4px !important;
  }

  /* Online reservation */
  .rsv-x9z-container {
    padding: 16px 14px 22px !important;
    margin: 6px 0 0 0 !important;
    background: linear-gradient(180deg, #101b57 0%, #1b1967 100%) !important;
  }

  .rsv-x9z-container br { display: none !important; }

  .rsv-x9z-main-heading {
    font-size: clamp(24px, 7vw, 34px) !important;
    line-height: 1.05 !important;
    margin: 8px 0 16px 0 !important;
    font-weight: 900 !important;
  }

  .rsv-x9z-day-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    padding: 16px 0 !important;
  }

  .rsv-x9z-date-label {
    width: 100% !important;
    min-width: 0 !important;
    font-size: 20px !important;
    line-height: 1.1 !important;
    gap: 10px !important;
  }

  .rsv-x9z-day-name {
    font-size: 17px !important;
    color: rgba(255,255,255,0.62) !important;
  }

  .rsv-x9z-slots {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px 8px !important;
    width: 100% !important;
  }

  .rsv-x9z-slot {
    width: 100% !important;
    height: 50px !important;
    min-width: 0 !important;
    border-radius: 12px !important;
    font-size: clamp(17px, 5.2vw, 22px) !important;
    font-weight: 900 !important;
    box-shadow: 0 0 14px rgba(181, 59, 255, 0.32) !important;
  }

  .rsv-x9z-slot:not(.rsv-x9z-status-gray):hover {
    transform: none !important;
  }

  .rsv-x9z-badge {
    top: -7px !important;
    right: -3px !important;
    font-size: 10px !important;
    line-height: 1 !important;
    padding: 3px 6px !important;
    border-radius: 999px !important;
  }

  .rsv-x9z-divider {
    margin: 4px 0 !important;
  }

  .rsv-x9z-action-btn {
    padding: 9px 20px !important;
    font-size: 14px !important;
  }
}

@media (max-width: 390px) {
  .rsv-x9z-slots {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px 6px !important;
  }

  .rsv-x9z-slot {
    height: 46px !important;
    font-size: 17px !important;
  }

  .owl-mode-card { padding: 14px 15px !important; }
  .owl-mode-card h4 { font-size: 24px !important; }
}

/* =========================================================
   Mobile compact rating/reviews for game pages
   Pages: mutant, apokalipsisz, scream2, manyak, jail, rahiba, dabbe, aladdin, ritual
   ========================================================= */
@media (max-width: 768px) {
  .eagle-sidebar .portal-reviews-section,
  .portal-reviews-summary-section,
  .panther-rating-comment-section,
  .x9z2-reviews {
    width: calc(100% - 28px) !important;
    max-width: 640px !important;
    margin: 18px auto 26px auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .portal-reviews-summary-section .portal-review-side-block,
  .eagle-sidebar .portal-review-side-block {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    gap: 18px !important;
  }

  .portal-reviews-summary-section .portal-rating-summary,
  .eagle-sidebar .portal-rating-summary,
  .spider-rating-total,
  .x9z2-rating-box {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 28px 24px 26px !important;
    border-radius: 20px !important;
    box-sizing: border-box !important;
  }

  .portal-reviews-summary-section .portal-rating-number,
  .eagle-sidebar .portal-rating-number,
  .huge-digit,
  .x9z2-rating-number {
    font-size: 58px !important;
    line-height: .95 !important;
    margin: 0 0 8px !important;
  }

  .portal-reviews-summary-section .portal-rating-big-stars,
  .portal-reviews-summary-section .portal-big-stars,
  .eagle-sidebar .portal-rating-big-stars,
  .eagle-sidebar .portal-big-stars,
  .gold-stars,
  .x9z2-rating-stars {
    font-size: 25px !important;
    line-height: 1.1 !important;
    letter-spacing: 4px !important;
    margin: 0 0 6px !important;
  }

  .portal-reviews-summary-section .portal-rating-count,
  .eagle-sidebar .portal-rating-count,
  .stars-col small,
  .x9z2-rating-count {
    font-size: 15px !important;
    margin: 0 0 22px !important;
    line-height: 1.2 !important;
  }

  .portal-reviews-summary-section .portal-rating-lines,
  .eagle-sidebar .portal-rating-lines,
  .rating-bars-container,
  .x9z2-rating-bars {
    width: 100% !important;
    max-width: 100% !important;
    gap: 12px !important;
    margin: 0 auto !important;
  }

  .portal-reviews-summary-section .portal-rating-line,
  .eagle-sidebar .portal-rating-line,
  .bar-line,
  .x9z2-rating-line {
    display: grid !important;
    grid-template-columns: 50px minmax(0, 1fr) !important;
    gap: 12px !important;
    align-items: center !important;
    margin: 0 0 12px 0 !important;
    font-size: 18px !important;
    line-height: 1 !important;
  }

  .portal-reviews-summary-section .portal-rating-line span,
  .eagle-sidebar .portal-rating-line span {
    font-size: 18px !important;
    line-height: 1 !important;
  }

  .portal-reviews-summary-section .portal-rating-line div,
  .eagle-sidebar .portal-rating-line div,
  .bg-bar,
  .x9z2-rating-bar {
    height: 10px !important;
    border-radius: 999px !important;
  }

  .portal-reviews-summary-section .portal-latest-comments,
  .eagle-sidebar .portal-latest-comments,
  .falcon-latest-comments,
  .x9z2-latest-comments {
    width: 100% !important;
    max-width: 100% !important;
    padding: 24px 22px 22px !important;
    border-radius: 20px !important;
    box-sizing: border-box !important;
  }

  .portal-reviews-summary-section .portal-latest-comments h3,
  .eagle-sidebar .portal-latest-comments h3,
  .falcon-latest-comments .comment-head,
  .x9z2-latest-comments h3 {
    font-size: 28px !important;
    line-height: 1.1 !important;
    margin: 0 0 20px !important;
    text-align: center !important;
  }

  .portal-latest-card,
  .monkey-comment-card,
  .x9z2-comment-card {
    padding: 16px 18px !important;
    border-radius: 18px !important;
    margin-bottom: 14px !important;
  }

  .portal-latest-card p,
  .monkey-comment-card p,
  .x9z2-comment-card p {
    font-size: 15px !important;
    line-height: 1.35 !important;
    margin: 9px 0 !important;
  }

  .portal-see-all,
  .see-all-link,
  .x9z2-see-all {
    display: inline-block !important;
    margin: 4px auto 0 !important;
    padding: 7px 12px !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
    text-align: center !important;
  }
}

@media (max-width: 390px) {
  .portal-reviews-summary-section .portal-rating-summary,
  .eagle-sidebar .portal-rating-summary,
  .spider-rating-total,
  .x9z2-rating-box {
    padding: 24px 18px 22px !important;
    border-radius: 24px !important;
  }

  .portal-reviews-summary-section .portal-latest-comments,
  .eagle-sidebar .portal-latest-comments,
  .falcon-latest-comments,
  .x9z2-latest-comments {
    padding: 22px 18px 20px !important;
    border-radius: 24px !important;
  }

  .portal-reviews-summary-section .portal-rating-line,
  .eagle-sidebar .portal-rating-line,
  .bar-line,
  .x9z2-rating-line {
    grid-template-columns: 44px minmax(0, 1fr) !important;
    gap: 10px !important;
  }
}

/* =========================================================
   Compact professional reservation slots for game pages
   Pages: mutant, apokalipsisz, scream2, manyak, jail, rahiba, dabbe, aladdin, ritual
   Makes Online reservation time buttons compact like portal.land reference.
   ========================================================= */
@media (max-width: 768px) {
  .rsv-x9z-container {
    padding-left: 26px !important;
    padding-right: 26px !important;
  }

  .rsv-x9z-day-row {
    display: block !important;
    padding: 22px 0 28px !important;
  }

  .rsv-x9z-date-label {
    display: flex !important;
    align-items: baseline !important;
    gap: 10px !important;
    width: 100% !important;
    min-width: 0 !important;
    margin-bottom: 26px !important;
    font-size: 26px !important;
    line-height: 1.1 !important;
    font-weight: 900 !important;
  }

  .rsv-x9z-day-name {
    margin-left: 0 !important;
    font-size: 19px !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.58) !important;
  }

  .rsv-x9z-slots {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 13px 10px !important;
  }

  .rsv-x9z-slot {
    width: 100% !important;
    min-width: 0 !important;
    height: 54px !important;
    border-radius: 13px !important;
    font-size: clamp(15px, 4vw, 18px) !important;
    font-weight: 500 !important;
    letter-spacing: -0.03em !important;
    box-shadow: 0 0 12px rgba(181, 59, 255, 0.24) !important;
  }

  .rsv-x9z-badge {
    top: -8px !important;
    right: -6px !important;
    min-width: 34px !important;
    height: 17px !important;
    padding: 2px 7px !important;
    border-radius: 999px !important;
    font-size: 10px !important;
    line-height: 1.15 !important;
  }

  .rsv-x9z-divider {
    margin: 4px 0 !important;
  }
}

@media (max-width: 430px) {
  .rsv-x9z-container {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  .rsv-x9z-slots {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 12px 9px !important;
  }

  .rsv-x9z-slot {
    height: 38px !important;
    border-radius: 12px !important;
    font-size: 15px !important;
  }

  .rsv-x9z-date-label {
    margin-bottom: 24px !important;
  }
}

@media (max-width: 360px) {
  .rsv-x9z-container {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .rsv-x9z-slots {
    gap: 10px 7px !important;
  }

  .rsv-x9z-slot {
    height: 36px !important;
    font-size: 13px !important;
  }
}


/* =========================================================
   Mobile-only footer redesign like portal.land reference
   Desktop stays unchanged except the new Vacancy link in HTML.
   ========================================================= */
.footer-mobile-only {
  display: none !important;
}

.footer .footer-links a:hover,
.footer a:not(.social-row a):hover {
  color: #ff4f79 !important;
  background: linear-gradient(90deg, #8b2cff, #ff4f79, #ff8a1c) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

@media (max-width: 900px) {
  .footer {
    margin-top: 34px !important;
    padding: 42px 0 22px !important;
    background: #151515 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  .footer::before {
    background:
      radial-gradient(circle at 16% 12%, rgba(255,255,255,0.035), transparent 30%),
      radial-gradient(circle at 86% 84%, rgba(255,120,28,0.075), transparent 25%) !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 46px !important;
    justify-items: center !important;
    text-align: center !important;
  }

  .footer-grid > div:first-child {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .footer-logo {
    display: none !important;
  }

  .footer p[data-i18n="footer.about"] {
    display: block !important;
    max-width: 100% !important;
    margin: 0 0 24px !important;
    color: rgba(255,255,255,0.54) !important;
    font-size: clamp(18px, 4.9vw, 24px) !important;
    line-height: 1.25 !important;
    font-weight: 400 !important;
    letter-spacing: -0.02em !important;
  }

  .social-row {
    width: 255px !important;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 18px 26px !important;
    justify-items: center !important;
    margin: 0 auto !important;
  }

  .social-row a[href*="facebook.com"],
  .social-row a[href*="fb.com"] {
    display: inline-flex !important;
  }

  .social-row a {
    width: 66px !important;
    height: 66px !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,0.035) !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .social-row i {
    width: 66px !important;
    height: 66px !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,0.035) !important;
    color: #ffffff !important;
    font-size: 27px !important;
  }

  .footer .footer-heading {
    margin: 0 0 24px !important;
    color: #ffffff !important;
    font-size: clamp(34px, 9.8vw, 48px) !important;
    line-height: 1.05 !important;
    font-weight: 500 !important;
    letter-spacing: -0.045em !important;
    text-shadow: none !important;
  }

  .footer .footer-links {
    gap: 17px !important;
    align-items: center !important;
  }

  .footer .footer-links a,
  .footer a:not(.social-row a) {
    font-size: clamp(19px, 5.4vw, 28px) !important;
    line-height: 1.12 !important;
    font-weight: 400 !important;
    color: rgba(255,255,255,0.48) !important;
    letter-spacing: -0.035em !important;
    text-align: center !important;
  }

  .footer .footer-links a:hover,
  .footer a:not(.social-row a):hover {
    transform: none !important;
    color: #ff4f79 !important;
    background: linear-gradient(90deg, #8b2cff, #ff4f79, #ff8a1c) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
  }

  .footer .footer-links a:first-child {
    font-weight: 500 !important;
    background: linear-gradient(90deg, #8b2cff, #ff4f79) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
  }

  .footer-mobile-only {
    display: inline-block !important;
  }

  .footer-bottom {
    margin-top: 46px !important;
    padding-top: 18px !important;
    justify-content: center !important;
    text-align: center !important;
    border-top: 1px solid rgba(255,255,255,0.08) !important;
    color: rgba(255,255,255,0.48) !important;
    font-size: clamp(15px, 4vw, 18px) !important;
    font-weight: 400 !important;
  }
}

@media (max-width: 480px) {
  .footer {
    padding-top: 38px !important;
  }

  .social-row {
    width: 238px !important;
    gap: 16px 23px !important;
  }

  .social-row a,
  .social-row i {
    width: 62px !important;
    height: 62px !important;
  }

  .social-row i {
    font-size: 25px !important;
  }

  .footer .footer-heading {
    font-size: clamp(31px, 10vw, 42px) !important;
  }

  .footer .footer-links a,
  .footer a:not(.social-row a) {
    font-size: clamp(18px, 5.7vw, 24px) !important;
  }
}

@media (max-width: 900px) {
  .footer .footer-links a:first-child {
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    -webkit-text-fill-color: rgba(255,255,255,0.48) !important;
    color: rgba(255,255,255,0.48) !important;
  }
  .footer-grid > div:nth-child(2) .footer-links a:first-child {
    font-weight: 500 !important;
    background: linear-gradient(90deg, #8b2cff, #ff4f79) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
  }
}

/* =========================================================
   FINAL FIX: mobile footer only. Desktop sizes/design stay unchanged.
   Keeps Casper logo/name, removes oversized mobile typography.
   ========================================================= */
@media (max-width: 900px) {
  .footer .footer-logo {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 auto 22px !important;
  }

  .footer .footer-logo img,
  .footer .logo-mark {
    width: 54px !important;
    height: 54px !important;
    max-width: 54px !important;
    max-height: 54px !important;
    border-radius: 14px !important;
    padding: 4px !important;
  }

  .footer .footer-logo::after {
    content: "Casper\A entertainment" !important;
    white-space: pre-line !important;
    color: #ffffff !important;
    font-size: 16px !important;
    line-height: 1.05 !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    text-shadow: none !important;
    text-align: left !important;
  }

  .footer-grid {
    gap: 42px !important;
  }

  .footer .footer-heading {
    margin: 0 0 26px !important;
    font-size: clamp(30px, 8.6vw, 38px) !important;
    line-height: 1.08 !important;
    font-weight: 500 !important;
    letter-spacing: -0.04em !important;
    text-shadow: none !important;
  }

  .footer .footer-links {
    gap: 22px !important;
  }

  .footer .footer-links a,
  .footer a:not(.social-row a) {
    font-size: clamp(18px, 5.1vw, 22px) !important;
    line-height: 1.1 !important;
    font-weight: 400 !important;
    letter-spacing: -0.025em !important;
    color: rgba(255,255,255,0.48) !important;
    text-align: center !important;
    transform: none !important;
  }

  .footer .footer-links a:hover,
  .footer a:not(.social-row a):hover {
    color: #ff4f79 !important;
    background: linear-gradient(90deg, #8b2cff, #ff4f79, #ff8a1c) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    transform: none !important;
  }

  .footer-grid > div:nth-child(2) .footer-links a:first-child {
    font-weight: 500 !important;
    background: linear-gradient(90deg, #8b2cff, #ff4f79) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
  }

  .social-row a[href*="youtube"],
  .social-row a[href*="youtu.be"] {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .footer {
    padding-top: 34px !important;
  }

  .footer .footer-heading {
    font-size: 32px !important;
  }

  .footer .footer-links a,
  .footer a:not(.social-row a) {
    font-size: 19px !important;
  }
}


/* FINAL MOBILE FOOTER POLISH: logo/title + compact Portal-style footer */
@media (max-width: 900px) {
  .footer .footer-grid,
  .footer .footer-container {
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    text-align: center !important;
    gap: 42px !important;
  }

  .footer .footer-grid > div:first-child,
  .footer .footer-container > div:first-child {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .footer .footer-logo-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 18px !important;
    margin: 0 0 26px !important;
  }

  .footer .footer-logo,
  .footer .footer-logo-wrapper img,
  .footer img.footer-logo,
  .footer .logo-mark {
    width: 92px !important;
    height: 92px !important;
    border-radius: 20px !important;
    object-fit: contain !important; background:transparent !important;
    padding: 8px !important;
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(255,255,255,0.20) !important;
    box-shadow: 0 18px 45px rgba(0,0,0,0.45) !important;
  }

  .footer .footer-brand-name {
    display: block !important;
    color: #fff !important;
    font-size: 32px !important;
    line-height: 0.96 !important;
    font-weight: 900 !important;
    letter-spacing: -1.2px !important;
    text-align: center !important;
    text-shadow: 0 5px 0 rgba(0,0,0,0.55) !important;
  }

  .footer [data-i18n="footer.about"],
  .footer .footer-brand p,
  .footer .footer-grid > div:first-child > p,
  .footer .footer-container > div:first-child > p {
    margin: 0 0 22px !important;
    color: rgba(190,190,190,0.78) !important;
    font-size: 17px !important;
    line-height: 1.25 !important;
    font-weight: 400 !important;
    text-align: center !important;
  }

  .footer .social-row {
    display: grid !important;
    grid-template-columns: repeat(2, 56px) !important;
    gap: 18px 36px !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 auto 12px !important;
  }

  .footer .social-row a {
    width: 56px !important;
    height: 56px !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,0.045) !important;
    box-shadow: none !important;
  }

  .footer .social-row i {
    font-size: 25px !important;
    color: #fff !important;
  }

  .footer .footer-heading,
  .footer .footer-title,
  .footer .footer-column-title {
    font-size: 32px !important;
    line-height: 1.05 !important;
    font-weight: 800 !important;
    letter-spacing: -1.1px !important;
    margin-bottom: 24px !important;
    text-align: center !important;
    text-shadow: none !important;
  }

  .footer .footer-links {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 15px !important;
  }

  .footer .footer-links a,
  .footer .footer-column a,
  .footer .footer-col a {
    display: block !important;
    color: rgba(170,170,170,0.78) !important;
    font-size: 19px !important;
    line-height: 1.18 !important;
    font-weight: 400 !important;
    letter-spacing: -0.3px !important;
    text-align: center !important;
    white-space: normal !important;
    transform: none !important;
    transition: color .25s ease, background .25s ease, text-shadow .25s ease !important;
  }

  .footer .footer-links a:hover,
  .footer .footer-column a:hover,
  .footer .footer-col a:hover {
    color: transparent !important;
    background: linear-gradient(90deg,#8d28ff,#ff3d8e,#ff7a18) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    text-shadow: 0 0 18px rgba(170,60,255,.35) !important;
  }

  .footer .partners-row,
  .footer .footer-grid > div:nth-child(4),
  .footer .footer-container > div:nth-child(4) {
    display: none !important;
  }
}


/* EXTRA FINAL MOBILE FOOTER: smaller accurate typography and hide requested category links */
@media (max-width: 900px) {
  .footer {
    font-family: "Inter", "SF Pro Display", "Segoe UI", Arial, sans-serif !important;
  }

  .footer .footer-logo-wrapper {
    gap: 16px !important;
    margin-bottom: 28px !important;
  }

  .footer .footer-logo,
  .footer .footer-logo-wrapper img,
  .footer img.footer-logo,
  .footer .logo-mark {
    width: 88px !important;
    height: 88px !important;
  }

  .footer .footer-brand-name {
    font-family: "Inter", "SF Pro Display", "Segoe UI", Arial, sans-serif !important;
    font-size: 30px !important;
    line-height: .95 !important;
    font-weight: 900 !important;
    letter-spacing: -1.4px !important;
  }

  .footer .footer-heading,
  .footer .footer-title,
  .footer .footer-column-title {
    font-family: "Inter", "SF Pro Display", "Segoe UI", Arial, sans-serif !important;
    font-size: 28px !important;
    line-height: 1.08 !important;
    font-weight: 700 !important;
    letter-spacing: -1px !important;
    margin-bottom: 26px !important;
  }

  .footer .footer-links {
    gap: 14px !important;
  }

  .footer .footer-links a,
  .footer .footer-column a,
  .footer .footer-col a {
    font-family: "Inter", "SF Pro Display", "Segoe UI", Arial, sans-serif !important;
    font-size: 16px !important;
    line-height: 1.25 !important;
    font-weight: 300 !important;
    letter-spacing: -0.25px !important;
    color: rgba(172,172,172,0.82) !important;
  }

  .footer .footer-mobile-hide {
    display: none !important;
  }
}

@media (max-width: 420px) {
  .footer .footer-heading,
  .footer .footer-title,
  .footer .footer-column-title {
    font-size: 26px !important;
  }
  .footer .footer-links a,
  .footer .footer-column a,
  .footer .footer-col a {
    font-size: 15.5px !important;
  }
}

/* DESKTOP FOOTER LOGO FIX: keep computer version horizontal like reference */
@media (min-width: 901px) {
  .footer .footer-logo-wrapper {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 18px !important;
    margin: 0 0 18px 0 !important;
    text-align: left !important;
    width: 100% !important;
  }

  .footer .footer-logo,
  .footer .footer-logo-wrapper img,
  .footer img.footer-logo {
    display: block !important;
    width: 86px !important;
    height: 86px !important;
    max-width: 86px !important;
    max-height: 86px !important;
    min-width: 86px !important;
    object-fit: contain !important; background:transparent !important;
    border-radius: 20px !important;
    padding: 7px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 2px solid rgba(255, 255, 255, 0.22) !important;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
    margin: 0 !important;
  }

  .footer .footer-brand-name {
    display: block !important;
    color: #ffffff !important;
    font-family: "Inter", "SF Pro Display", "Segoe UI", Arial, sans-serif !important;
    font-size: 32px !important;
    line-height: 0.98 !important;
    font-weight: 900 !important;
    letter-spacing: -1.2px !important;
    text-align: left !important;
    text-shadow: 0 5px 0 rgba(0, 0, 0, 0.45), 0 0 28px rgba(255, 255, 255, 0.18) !important;
    margin: 0 !important;
  }

  .footer .footer-logo::after,
  .footer img.footer-logo::after {
    content: none !important;
    display: none !important;
  }
}


/* FINAL FIX: mobile footer rounded corners only (no width shrink) */
@media (max-width: 900px) {
  .footer {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-radius: 38px 38px 0 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .footer {
    border-radius: 34px 34px 0 0 !important;
  }
}


/* NAVBAR GLASS FIX - transparent blurred rounded navbar (desktop + mobile), width unchanged */
.nav-wrapper {
  background: rgba(8, 10, 24, 0.34) !important;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(120, 90, 255, 0.05)) !important;
  -webkit-backdrop-filter: blur(22px) saturate(1.25) !important;
  backdrop-filter: blur(22px) saturate(1.25) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 0 0 22px 22px !important;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.18) !important;
  overflow: visible !important;
}

@media (max-width: 768px) {
  .nav-wrapper {
    background: rgba(8, 10, 24, 0.38) !important;
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(130, 82, 255, 0.06)) !important;
    -webkit-backdrop-filter: blur(20px) saturate(1.25) !important;
    backdrop-filter: blur(20px) saturate(1.25) !important;
    border-radius: 0 0 18px 18px !important;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.18) !important;
  }
}

/* Mobile refinement for index offer form only */
@media (max-width: 768px) {
  body:has(.contact-form-shell) .section .container {
    width: min(92vw, 430px) !important;
  }

  .contact-form-shell {
    width: min(92vw, 410px) !important;
    max-width: 410px !important;
    margin: 0 auto 46px !important;
    padding: 34px 26px 32px !important;
    border-radius: 30px !important;
    background: rgba(7, 10, 36, 0.94) !important;
    border: 1px solid rgba(120, 145, 190, 0.28) !important;
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.28) !important;
  }

  .contact-form-title {
    font-size: 25px !important;
    line-height: 1.15 !important;
    margin: 0 0 12px !important;
    font-weight: 750 !important;
    letter-spacing: -0.03em !important;
  }

  .contact-form-sub {
    font-size: 14px !important;
    line-height: 1.45 !important;
    max-width: 310px !important;
    margin: 0 auto 28px !important;
    color: rgba(220, 224, 240, 0.72) !important;
  }

  .contact-form-shell .form-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    margin-bottom: 16px !important;
  }

  .contact-form-shell .form-group {
    gap: 8px !important;
    font-size: 14px !important;
  }

  .contact-form-shell label {
    font-size: 14px !important;
    line-height: 1.25 !important;
    color: rgba(235, 238, 250, 0.76) !important;
  }

  .contact-form-shell .form-control,
  .contact-form-shell .form-textarea {
    width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 16px !important;
    padding: 13px 16px !important;
    font-size: 13px !important;
    background: rgba(4, 7, 28, 0.82) !important;
    border: 1px solid rgba(132, 151, 190, 0.30) !important;
    color: rgba(255, 255, 255, 0.92) !important;
  }

  .contact-form-shell .form-control {
    height: 52px !important;
  }

  .contact-form-shell .form-textarea {
    height: 128px !important;
    min-height: 128px !important;
  }

  .contact-form-shell .form-submit-row {
    margin-top: 22px !important;
  }

  .contact-form-shell .btn-gradient {
    width: 100% !important;
    max-width: 330px !important;
    min-height: 52px !important;
    border-radius: 999px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
  }
}

@media (max-width: 390px) {
  .contact-form-shell {
    width: min(94vw, 390px) !important;
    padding: 30px 22px 28px !important;
  }

  .contact-form-title {
    font-size: 23px !important;
  }

  .contact-form-sub,
  .contact-form-shell label {
    font-size: 13px !important;
  }

  .contact-form-shell .form-control {
    height: 49px !important;
  }

  .contact-form-shell .form-textarea {
    height: 118px !important;
    min-height: 118px !important;
  }
}

/* ABOUT PAGE: mobile audience cards layout only */
@media (max-width: 768px) {
  .section11 .container11 {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
    overflow: hidden !important;
  }

  .section11 .section-title00 {
    text-align: center !important;
    font-size: clamp(34px, 10vw, 54px) !important;
    line-height: 1.15 !important;
    margin: 0 auto 34px !important;
    max-width: 100% !important;
    white-space: normal !important;
  }

  .section11 .audience-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 34px !important;
    width: 100% !important;
    margin: 0 auto 55px !important;
    padding: 0 !important;
  }

  .section11 .audience-card {
    width: min(100%, 370px) !important;
    max-width: 370px !important;
    min-height: 255px !important;
    height: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 42px 24px 38px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .section11 .audience-card i {
    font-size: 46px !important;
    margin: 0 0 34px !important;
  }

  .section11 .audience-card h3 {
    font-size: 24px !important;
    line-height: 1.25 !important;
    margin: 0 0 18px !important;
  }

  .section11 .audience-card p {
    font-size: 20px !important;
    line-height: 1.55 !important;
    margin: 0 auto !important;
    max-width: 310px !important;
  }
}

@media (max-width: 390px) {
  .section11 .container11 {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .section11 .section-title00 {
    font-size: 36px !important;
  }

  .section11 .audience-card {
    width: 100% !important;
    max-width: 350px !important;
    min-height: 240px !important;
    padding: 36px 20px 34px !important;
  }

  .section11 .audience-card i {
    font-size: 42px !important;
    margin-bottom: 30px !important;
  }

  .section11 .audience-card h3 {
    font-size: 22px !important;
  }

  .section11 .audience-card p {
    font-size: 18px !important;
  }
}


/* ABOUT PAGE: refined smaller mobile audience sizing (no color/background changes) */
@media (max-width: 768px) {
  .section11 .section-title00 {
    font-size: clamp(28px, 8vw, 40px) !important;
    line-height: 1.12 !important;
    margin: 0 auto 26px !important;
    letter-spacing: -0.02em !important;
  }

  .section11 .audience-grid {
    gap: 24px !important;
    margin: 0 auto 44px !important;
  }

  .section11 .audience-card {
    width: min(92vw, 340px) !important;
    max-width: 340px !important;
    min-height: 205px !important;
    padding: 30px 22px 28px !important;
  }

  .section11 .audience-card i {
    font-size: 36px !important;
    margin: 0 0 22px !important;
  }

  .section11 .audience-card h3 {
    font-size: 20px !important;
    line-height: 1.2 !important;
    margin: 0 0 12px !important;
  }

  .section11 .audience-card p {
    font-size: 16px !important;
    line-height: 1.48 !important;
    max-width: 285px !important;
  }
}

@media (max-width: 390px) {
  .section11 .section-title00 {
    font-size: 30px !important;
    margin-bottom: 22px !important;
  }

  .section11 .audience-grid {
    gap: 20px !important;
  }

  .section11 .audience-card {
    width: min(92vw, 318px) !important;
    max-width: 318px !important;
    min-height: 190px !important;
    padding: 28px 18px 26px !important;
  }

  .section11 .audience-card i {
    font-size: 34px !important;
    margin-bottom: 20px !important;
  }

  .section11 .audience-card h3 {
    font-size: 18px !important;
  }

  .section11 .audience-card p {
    font-size: 15px !important;
    line-height: 1.45 !important;
    max-width: 260px !important;
  }
}


/* ABOUT advice/steps cards mobile-only sizing fix: only size/position, colors unchanged */
@media (max-width: 768px) {
  .steps-carousel,
  .steps-slider {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .steps-slider {
    height: 590px !important;
    margin: 54px 0 88px !important;
  }

  .steps-stage {
    height: 520px !important;
  }

  .step-card2 {
    width: min(78vw, 340px) !important;
    max-width: 340px !important;
    height: 500px !important;
    min-height: 500px !important;
    padding: 56px 30px 44px !important;
    border-radius: 28px !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .step-card2.active {
    left: 50% !important;
    transform: translateX(-50%) scale(1) !important;
  }

  .step-card2.prev {
    left: 50% !important;
    transform: translateX(-112%) scale(0.92) !important;
  }

  .step-card2.next {
    left: 50% !important;
    transform: translateX(12%) scale(0.92) !important;
  }

  .step-card2 h2,
  .step-card2 h3 {
    font-size: clamp(28px, 7.2vw, 38px) !important;
    line-height: 1.22 !important;
    margin: 0 0 34px !important;
    letter-spacing: -0.03em !important;
  }

  .step-card2 p {
    font-size: clamp(17px, 4.6vw, 21px) !important;
    line-height: 1.62 !important;
    margin: 0 auto !important;
    max-width: 250px !important;
  }

  .step-num {
    top: 24px !important;
    right: 24px !important;
    width: 64px !important;
    height: 64px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 28px !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
  }

  .slider-controls {
    bottom: -8px !important;
    gap: 22px !important;
    z-index: 5 !important;
  }

  .slider-controls button {
    width: 72px !important;
    height: 72px !important;
    min-width: 72px !important;
    min-height: 72px !important;
    font-size: 28px !important;
  }
}

@media (max-width: 390px) {
  .steps-slider {
    height: 560px !important;
    margin: 46px 0 82px !important;
  }

  .steps-stage {
    height: 495px !important;
  }

  .step-card2 {
    width: min(80vw, 305px) !important;
    height: 470px !important;
    min-height: 470px !important;
    padding: 50px 24px 40px !important;
  }

  .step-card2 h2,
  .step-card2 h3 {
    font-size: 30px !important;
    margin-bottom: 28px !important;
  }

  .step-card2 p {
    font-size: 17px !important;
    line-height: 1.58 !important;
    max-width: 230px !important;
  }

  .step-num {
    width: 58px !important;
    height: 58px !important;
    font-size: 24px !important;
  }

  .slider-controls button {
    width: 66px !important;
    height: 66px !important;
    min-width: 66px !important;
    min-height: 66px !important;
  }
}


/* PROFESSIONAL MOBILE BURGER MENU FIX — all pages */
@media (max-width: 768px) {
  body.menu-open { overflow: hidden !important; }

  .nav-links {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 18% !important;
    width: auto !important;
    height: 100vh !important;
    max-height: none !important;
    padding: 72px 34px 42px !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 30px !important;
    overflow-y: auto !important;
    background: #1a1a1a !important;
    border: none !important;
    border-left: 1px solid rgba(255,255,255,0.10) !important;
    border-radius: 0 !important;
    box-shadow: -24px 0 70px rgba(0,0,0,0.58) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    transform: translateX(112%) !important;
    opacity: 0 !important;
    pointer-events: none !important;
    z-index: 9998 !important;
    transition: transform .34s ease, opacity .24s ease !important;
  }

  .nav-links.open {
    transform: translateX(0) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .nav-links .nav-link,
  .nav-links .dropdown,
  .nav-links .dropdown-toggle,
  .nav-links .nav-link-inner {
    width: 100% !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    color: rgba(255,255,255,0.92) !important;
    font-family: 'Inter', 'Poppins', 'Segoe UI', Arial, sans-serif !important;
    font-size: 22px !important;
    line-height: 1.15 !important;
    font-weight: 400 !important;
    letter-spacing: -0.02em !important;
    text-decoration: none !important;
    text-shadow: none !important;
  }

  .nav-links .nav-link-inner span,
  .nav-links > a span[data-i18n],
  .nav-links .dropdown-toggle span[data-i18n] {
    font-size: 22px !important;
    font-weight: 400 !important;
    line-height: 1.15 !important;
  }

  .nav-links i:not(.dropdown-arrow),
  .nav-links .nav-link-inner > i {
    display: none !important;
  }

  .nav-links .dropdown-arrow {
    margin-left: auto !important;
    font-size: 18px !important;
    color: rgba(255,255,255,0.92) !important;
    transform: rotate(0deg) !important;
    transition: transform .22s ease !important;
  }

  .nav-links .dropdown.open .dropdown-arrow,
  .nav-links .dropdown.mobile-open .dropdown-arrow {
    transform: rotate(180deg) !important;
  }

  .nav-links .dropdown-menu {
    position: static !important;
    display: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 18px 0 0 22px !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    overflow: visible !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .nav-links .dropdown.open .dropdown-menu,
  .nav-links .dropdown.mobile-open .dropdown-menu {
    display: flex !important;
    flex-direction: column !important;
    gap: 17px !important;
  }

  .nav-links .dropdown-menu a {
    display: block !important;
    width: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: rgba(255,255,255,0.58) !important;
    font-family: 'Inter', 'Poppins', 'Segoe UI', Arial, sans-serif !important;
    font-size: 17px !important;
    line-height: 1.25 !important;
    font-weight: 300 !important;
    letter-spacing: -0.015em !important;
    text-decoration: none !important;
    transition: color .2s ease, opacity .2s ease, transform .2s ease !important;
  }

  .nav-links .nav-link:hover,
  .nav-links .dropdown:hover > .nav-link-inner,
  .nav-links .dropdown.open > .nav-link-inner,
  .nav-links .dropdown.mobile-open > .nav-link-inner,
  .nav-links .dropdown-menu a:hover,
  .nav-links .nav-link.active,
  .nav-links .nav-link[aria-current='page'] {
    background: linear-gradient(90deg, #7c2cff 0%, #ff2fb3 55%, #ff7a3d 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
  }

  .nav-links .dropdown-menu a:hover {
    transform: translateX(4px) !important;
  }
}

/* === FINAL REQUEST FIX: mobile burger menu no dropdown frame (all pages incl. portal-games) === */
@media (max-width: 768px) {
  body.menu-open .nav-links,
  .nav-links.open,
  .mobile-menu,
  .mobile-nav,
  .navbar .nav-links.open,
  header .nav-links.open {
    background: #181818 !important;
    background-color: #181818 !important;
    border: 0 !important;
    border-left: 1px solid rgba(255,255,255,0.08) !important;
    box-shadow: -10px 0 32px rgba(0,0,0,.45) !important;
  }

  body.menu-open .nav-links a,
  body.menu-open .nav-links .dropdown-toggle,
  .nav-links.open a,
  .nav-links.open .dropdown-toggle,
  .mobile-menu a,
  .mobile-nav a {
    font-size: 18px !important;
    font-weight: 400 !important;
    letter-spacing: -0.03em !important;
    line-height: 1.25 !important;
    color: rgba(255,255,255,.92) !important;
    min-height: 50px !important;
    padding: 8px 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  body.menu-open .nav-links a:hover,
  body.menu-open .nav-links .dropdown-toggle:hover,
  .nav-links.open a:hover,
  .nav-links.open .dropdown-toggle:hover,
  body.menu-open .nav-links a.active,
  .nav-links.open a.active {
    color: transparent !important;
    background: linear-gradient(90deg, #8a2cff, #ff2f8b, #ff7a2f) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
  }

  /* IMPORTANT: pages submenu must be a plain list, without the grey framed box */
  body.menu-open .nav-links .dropdown > .dropdown-menu,
  body.menu-open .nav-links .dropdown.open > .dropdown-menu,
  body.menu-open .nav-links .dropdown.mobile-open > .dropdown-menu,
  .nav-links.open .dropdown > .dropdown-menu,
  .nav-links.open .dropdown.open > .dropdown-menu,
  .nav-links.open .dropdown.mobile-open > .dropdown-menu,
  .mobile-menu .dropdown-menu,
  .mobile-nav .dropdown-menu {
    position: static !important;
    width: 100% !important;
    margin: 0 0 18px 22px !important;
    padding: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    outline: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  body.menu-open .nav-links .dropdown:not(.open):not(.mobile-open) > .dropdown-menu,
  .nav-links.open .dropdown:not(.open):not(.mobile-open) > .dropdown-menu {
    display: none !important;
  }

  body.menu-open .nav-links .dropdown.open > .dropdown-menu,
  body.menu-open .nav-links .dropdown.mobile-open > .dropdown-menu,
  .nav-links.open .dropdown.open > .dropdown-menu,
  .nav-links.open .dropdown.mobile-open > .dropdown-menu {
    display: block !important;
  }

  body.menu-open .nav-links .dropdown-menu a,
  .nav-links.open .dropdown-menu a,
  .mobile-menu .dropdown-menu a,
  .mobile-nav .dropdown-menu a {
    display: block !important;
    min-height: 34px !important;
    padding: 5px 0 !important;
    margin: 0 0 8px 0 !important;
    font-size: 16px !important;
    font-weight: 300 !important;
    letter-spacing: -0.035em !important;
    line-height: 1.25 !important;
    color: rgba(255,255,255,.55) !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  body.menu-open .nav-links .dropdown-menu a:hover,
  .nav-links.open .dropdown-menu a:hover,
  .mobile-menu .dropdown-menu a:hover,
  .mobile-nav .dropdown-menu a:hover {
    color: transparent !important;
    background: linear-gradient(90deg, #8a2cff, #ff2f8b, #ff7a2f) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
  }

  /* Keep arrow visible both closed and opened */
  body.menu-open .nav-links .dropdown-toggle .dropdown-arrow,
  .nav-links.open .dropdown-toggle .dropdown-arrow,
  body.menu-open .nav-links .dropdown-toggle i.fa-chevron-down,
  .nav-links.open .dropdown-toggle i.fa-chevron-down {
    display: inline-flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    color: #fff !important;
    font-size: 16px !important;
    margin-left: auto !important;
    transform-origin: center !important;
  }

  body.menu-open .nav-links .dropdown.open .dropdown-toggle .dropdown-arrow,
  body.menu-open .nav-links .dropdown.mobile-open .dropdown-toggle .dropdown-arrow,
  .nav-links.open .dropdown.open .dropdown-toggle .dropdown-arrow,
  .nav-links.open .dropdown.mobile-open .dropdown-toggle .dropdown-arrow,
  body.menu-open .nav-links .dropdown.open .dropdown-toggle i.fa-chevron-down,
  body.menu-open .nav-links .dropdown.mobile-open .dropdown-toggle i.fa-chevron-down,
  .nav-links.open .dropdown.open .dropdown-toggle i.fa-chevron-down,
  .nav-links.open .dropdown.mobile-open .dropdown-toggle i.fa-chevron-down {
    display: inline-flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: rotate(180deg) !important;
  }
}

/* Contact page social icons polish: remove accidental square outline and add clean hover */
.ct-social-icons a,
.ct-social-icons a:visited,
.ct-social-icons a:focus,
.ct-social-icons a:active {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 42px !important;
  text-decoration: none !important;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  -webkit-tap-highlight-color: transparent !important;
}

.ct-social-icons a i,
.ct-social-icons i {
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  color: rgba(255,255,255,0.72) !important;
  transition: transform .28s ease, color .28s ease, filter .28s ease !important;
}

.ct-social-icons a:hover i,
.ct-social-icons a:focus-visible i {
  color: #ffffff !important;
  transform: translateY(-4px) scale(1.12) !important;
  filter: drop-shadow(0 0 10px rgba(168,85,247,.75)) drop-shadow(0 0 16px rgba(34,211,238,.35)) !important;
}

.ct-social-icons a:focus-visible {
  outline: 1px solid rgba(168,85,247,.55) !important;
  outline-offset: 6px !important;
}


/* HOME VIDEO STYLE SLIDER - ONLY INDEX HERO */
.hero-video-showcase {
  position: relative;
  min-height: calc(100vh - 88px);
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #09090c;
  isolation: isolate;
}
.hero-video-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.025);
  transition: opacity .55s ease, transform 5s ease;
  opacity: 1;
  z-index: -3;
}
.hero-video-bg.is-changing { opacity: 0; transform: scale(1.06); }
.hero-video-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5,6,9,.82) 0%, rgba(5,6,9,.52) 46%, rgba(5,6,9,.30) 100%),
    linear-gradient(180deg, rgba(0,0,0,.20) 0%, rgba(0,0,0,.18) 55%, rgba(0,0,0,.54) 100%);
}
.hero-video-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 72px;
  padding-bottom: 92px;
}
.hero-video-title {
  max-width: 900px;
  margin: 0 0 20px;
  font-size: clamp(48px, 7vw, 96px);
  line-height: .95;
  font-weight: 900;
  letter-spacing: -0.055em;
  color: #f4fbff;
  text-shadow: 0 0 22px rgba(255,255,255,.18);
}
.hero-video-text {
  max-width: 980px;
  margin: 0 0 42px;
  font-size: clamp(17px, 1.55vw, 26px);
  line-height: 1.55;
  font-weight: 500;
  color: rgba(255,255,255,.88);
}
.hero-video-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 224px;
  padding: 18px 38px;
  border-radius: 999px;
  background: linear-gradient(100deg, #9b7cff 0%, #ff6b48 100%);
  color: #fff;
  font-weight: 800;
  font-size: 19px;
  text-decoration: none;
  box-shadow: 0 18px 42px rgba(147,75,255,.32);
  transition: transform .25s ease, box-shadow .25s ease;
}
.hero-video-cta:hover { transform: translateY(-2px); box-shadow: 0 22px 48px rgba(255,103,72,.34); }
.hero-video-count {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-weight: 900;
  font-size: clamp(48px, 5vw, 74px);
  line-height: .78;
  text-align: center;
  text-shadow: 0 0 18px rgba(0,0,0,.36);
}
.hero-video-count span { font-size: .58em; }
.hero-video-controls {
  position: absolute;
  left: 50%;
  bottom: 48px;
  transform: translateX(-50%);
  display: flex;
  gap: 16px;
  z-index: 3;
}
.hero-video-arrow {
  position: relative;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.34);
  background: rgba(16,18,22,.72);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: 54px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.hero-video-arrow:hover { transform: translateY(-3px); border-color: rgba(255,118,70,.75); background: rgba(24,24,28,.86); }
.hero-video-arrow > span.hero-arrow-progress {
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: conic-gradient(#ff6b48 var(--hero-progress, 0deg), transparent 0deg);
  z-index: -1;
  opacity: .95;
}
.hero-video-arrow::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: inherit;
  background: rgba(16,18,22,.88);
  z-index: -1;
}
@media (max-width: 900px) {
  .hero-video-showcase { min-height: 76vh; border-radius: 0 0 28px 28px; }
  .hero-video-content { padding-top: 120px; padding-bottom: 105px; }
  .hero-video-title { font-size: clamp(42px, 14vw, 68px); max-width: 92%; }
  .hero-video-text { font-size: 17px; max-width: 92%; line-height: 1.45; }
  .hero-video-cta { min-width: 190px; padding: 15px 28px; font-size: 16px; }
  .hero-video-count { right: 22px; top: 47%; font-size: 46px; }
  .hero-video-controls { bottom: 34px; }
  .hero-video-arrow { width: 56px; height: 56px; font-size: 48px; }
}

/* FINAL INDEX HERO SLIDER SIZE FIX */
@media (min-width: 901px) {
  .hero-video-showcase {
    width: min(1560px, calc(100% - 120px)) !important;
    min-height: 650px !important;
    height: 72vh !important;
    max-height: 760px !important;
    margin: 0 auto 58px !important;
    border-radius: 0 0 28px 28px !important;
    overflow: hidden !important;
    box-shadow: 0 26px 60px rgba(0,0,0,.34) !important;
  }
  .hero-video-content {
    padding-left: 56px !important;
    padding-right: 56px !important;
    padding-top: 145px !important;
    padding-bottom: 105px !important;
  }
  .hero-video-title {
    font-size: clamp(62px, 6.2vw, 104px) !important;
    max-width: 820px !important;
  }
  .hero-video-text {
    max-width: 1040px !important;
    font-size: clamp(18px, 1.35vw, 24px) !important;
  }
  .hero-video-cta {
    background: linear-gradient(100deg, #8b6cff 0%, #d43cff 50%, #ff7a35 100%) !important;
    box-shadow: 0 18px 45px rgba(187,64,255,.38), 0 0 24px rgba(255,112,54,.22) !important;
  }
  .hero-video-controls { bottom: 34px !important; }
  .hero-video-count { right: 56px !important; }
}

@media (max-width: 900px) {
  .hero-video-showcase {
    width: calc(100% - 28px) !important;
    min-height: 620px !important;
    height: auto !important;
    margin: 0 auto 34px !important;
    border-radius: 0 0 26px 26px !important;
    overflow: hidden !important;
  }
  .hero-video-content {
    padding-left: 22px !important;
    padding-right: 22px !important;
  }
  .hero-video-cta {
    background: linear-gradient(100deg, #8b6cff 0%, #d43cff 52%, #ff7a35 100%) !important;
  }
}

/* MOBILE HERO VIDEO SLIDER FINAL FIX - keep only mobile layout clean */
@media (max-width: 768px) {
  .hero-video-showcase {
    width: calc(100% - 12px) !important;
    height: 540px !important;
    min-height: 540px !important;
    max-height: 540px !important;
    margin: 18px auto 46px !important;
    border-radius: 26px !important;
    overflow: hidden !important;
    align-items: stretch !important;
    box-shadow: 0 22px 48px rgba(0,0,0,.38) !important;
  }

  .hero-video-bg {
    background-position: center center !important;
    transform: scale(1.01) !important;
  }

  .hero-video-shade {
    background:
      linear-gradient(180deg, rgba(0,0,0,.32) 0%, rgba(0,0,0,.44) 38%, rgba(0,0,0,.72) 100%),
      linear-gradient(90deg, rgba(0,0,0,.50) 0%, rgba(0,0,0,.20) 100%) !important;
  }

  .hero-video-content {
    width: 100% !important;
    height: 100% !important;
    padding: 120px 22px 80px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
  }

  .hero-video-title {
    max-width: 100% !important;
    margin: 0 0 18px !important;
    font-size: clamp(32px, 8.5vw, 48px) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.045em !important;
  }

  .hero-video-text {
    max-width: 100% !important;
    margin: 0 0 34px !important;
    font-size: clamp(20px, 5vw, 27px) !important;
    line-height: 1.48 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 4 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .hero-video-cta {
    min-width: 190px !important;
    padding: 17px 30px !important;
    font-size: 20px !important;
    border-radius: 999px !important;
    background: linear-gradient(100deg, #7b2cff 0%, #ff2fb0 50%, #ff6238 100%) !important;
    box-shadow: 0 16px 36px rgba(173,65,255,.38), 0 0 22px rgba(255,88,55,.26) !important;
  }

  .hero-video-count {
    display: none !important;
  }

  .hero-video-controls {
    left: auto !important;
    right: 30px !important;
    bottom: 34px !important;
    transform: none !important;
    gap: 14px !important;
  }

  .hero-video-arrow {
    width: 54px !important;
    height: 54px !important;
    font-size: 46px !important;
    background: rgba(28,28,31,.82) !important;
    border-color: rgba(255,255,255,.20) !important;
  }
}

@media (max-width: 420px) {
  .hero-video-showcase {
    width: calc(100% - 24px) !important;
    height: 610px !important;
    min-height: 610px !important;
    max-height: 610px !important;
    margin-top: 14px !important;
    border-radius: 24px !important;
  }
  .hero-video-content {
    padding: 145px 22px 88px !important;
  }
  .hero-video-title {
    font-size: clamp(34px, 10.8vw, 46px) !important;
  }
  .hero-video-text {
    font-size: clamp(17px, 4.8vw, 22px) !important;
    line-height: 1.48 !important;
    margin-bottom: 30px !important;
  }
  .hero-video-cta {
    font-size: 18px !important;
    min-width: 170px !important;
    padding: 15px 26px !important;
  }
  .hero-video-controls {
    right: 24px !important;
    bottom: 28px !important;
  }
  .hero-video-arrow {
    width: 50px !important;
    height: 50px !important;
    font-size: 42px !important;
  }
}


/* MOBILE HERO SLIDER - WIDER + SHORTER LIKE REFERENCE */
@media (max-width: 768px) {
  .hero-video-showcase {
    width: calc(100% - 42px) !important;
    height: 455px !important;
    min-height: 455px !important;
    max-height: 455px !important;
    margin: 22px auto 44px !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    align-items: stretch !important;
    box-shadow: 0 18px 42px rgba(0,0,0,.42) !important;
  }
  .hero-video-content {
    width: 100% !important;
    height: 100% !important;
    padding: 118px 26px 74px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
  }
  .hero-video-title {
    max-width: 100% !important;
    margin: 0 0 12px !important;
    font-size: clamp(34px, 8.8vw, 48px) !important;
    line-height: 1.06 !important;
    letter-spacing: -0.045em !important;
  }
  .hero-video-text {
    max-width: 100% !important;
    margin: 0 0 28px !important;
    font-size: clamp(18px, 4.45vw, 23px) !important;
    line-height: 1.44 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  .hero-video-cta {
    min-width: 165px !important;
    padding: 14px 25px !important;
    font-size: 18px !important;
    border-radius: 999px !important;
  }
  .hero-video-controls {
    left: auto !important;
    right: 24px !important;
    bottom: 22px !important;
    transform: none !important;
    gap: 12px !important;
  }
  .hero-video-arrow {
    width: 48px !important;
    height: 48px !important;
    font-size: 40px !important;
  }
}

@media (max-width: 420px) {
  .hero-video-showcase {
    width: calc(100% - 34px) !important;
    height: 430px !important;
    min-height: 430px !important;
    max-height: 430px !important;
    margin-top: 18px !important;
    border-radius: 22px !important;
  }
  .hero-video-content {
    padding: 104px 20px 68px !important;
  }
  .hero-video-title {
    font-size: clamp(30px, 9.8vw, 42px) !important;
    margin-bottom: 10px !important;
  }
  .hero-video-text {
    font-size: clamp(16px, 4.35vw, 19px) !important;
    line-height: 1.46 !important;
    margin-bottom: 24px !important;
    -webkit-line-clamp: 3 !important;
  }
  .hero-video-cta {
    min-width: 150px !important;
    padding: 13px 22px !important;
    font-size: 16px !important;
  }
  .hero-video-controls {
    right: 18px !important;
    bottom: 20px !important;
    gap: 10px !important;
  }
  .hero-video-arrow {
    width: 44px !important;
    height: 44px !important;
    font-size: 36px !important;
  }
}

/* remove discount title rectangles */
.promotion-clean-card .card-title50,
.card-title50{
border:none !important;
outline:none !important;
box-shadow:none !important;
background:transparent !important;
text-decoration:none !important;
}

/* FINAL MOBILE HERO VIDEO CARD: wider, shorter, rectangular like portal.land reference */
@media (max-width: 768px) {
  .hero-video-showcase {
    width: calc(100% - 18px) !important;
    height: 365px !important;
    min-height: 365px !important;
    max-height: 365px !important;
    margin: 14px auto 42px !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: stretch !important;
    box-shadow: 0 18px 40px rgba(0,0,0,.42) !important;
  }
  .hero-video-bg {
    background-position: center center !important;
    transform: scale(1.01) !important;
  }
  .hero-video-shade {
    background:
      linear-gradient(90deg, rgba(0,0,0,.58) 0%, rgba(0,0,0,.28) 52%, rgba(0,0,0,.32) 100%),
      linear-gradient(180deg, rgba(0,0,0,.20) 0%, rgba(0,0,0,.18) 45%, rgba(0,0,0,.52) 100%) !important;
  }
  .hero-video-content {
    height: 100% !important;
    width: 100% !important;
    padding: 82px 24px 58px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
  }
  .hero-video-title {
    max-width: 92% !important;
    margin: 0 0 10px !important;
    font-size: clamp(30px, 8.2vw, 44px) !important;
    line-height: 1.04 !important;
    letter-spacing: -0.045em !important;
  }
  .hero-video-text {
    max-width: 92% !important;
    margin: 0 0 22px !important;
    font-size: clamp(15px, 4vw, 19px) !important;
    line-height: 1.38 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  .hero-video-cta {
    min-width: 148px !important;
    padding: 12px 22px !important;
    font-size: 15px !important;
    border-radius: 999px !important;
    background: linear-gradient(100deg, #7b2cff 0%, #ff2fb0 50%, #ff6238 100%) !important;
  }
  .hero-video-count { display: none !important; }
  .hero-video-controls {
    left: auto !important;
    right: 18px !important;
    bottom: 18px !important;
    transform: none !important;
    gap: 10px !important;
  }
  .hero-video-arrow {
    width: 42px !important;
    height: 42px !important;
    font-size: 34px !important;
    background: rgba(26,26,29,.86) !important;
    border-color: rgba(255,255,255,.16) !important;
  }
}

@media (max-width: 420px) {
  .hero-video-showcase {
    width: calc(100% - 18px) !important;
    height: 330px !important;
    min-height: 330px !important;
    max-height: 330px !important;
    margin: 12px auto 38px !important;
    border-radius: 18px !important;
  }
  .hero-video-content {
    padding: 68px 21px 52px !important;
  }
  .hero-video-title {
    font-size: clamp(27px, 8.6vw, 36px) !important;
    margin-bottom: 8px !important;
  }
  .hero-video-text {
    font-size: clamp(14px, 3.85vw, 16px) !important;
    line-height: 1.36 !important;
    margin-bottom: 18px !important;
    -webkit-line-clamp: 3 !important;
  }
  .hero-video-cta {
    min-width: 135px !important;
    padding: 11px 19px !important;
    font-size: 14px !important;
  }
  .hero-video-controls {
    right: 16px !important;
    bottom: 16px !important;
  }
  .hero-video-arrow {
    width: 38px !important;
    height: 38px !important;
    font-size: 31px !important;
  }
}

/* FINAL MOBILE: attach navbar to hero card + reduce hero height 5% only */
@media (max-width: 768px) {
  .nav-wrapper {
    margin-bottom: 0 !important;
  }
  .hero-video-showcase {
    margin-top: 0 !important;
    height: 347px !important;
    min-height: 347px !important;
    max-height: 347px !important;
  }
}
@media (max-width: 420px) {
  .nav-wrapper {
    margin-bottom: 0 !important;
  }
  .hero-video-showcase {
    margin-top: 0 !important;
    height: 314px !important;
    min-height: 314px !important;
    max-height: 314px !important;
  }
  .hero-video-content {
    padding-top: 62px !important;
    padding-bottom: 48px !important;
  }
}


/* MOBILE INDEX HERO: navbar overlaps hero + hero width 10% smaller (final) */
@media (max-width: 768px) {
  .nav-wrapper,
  header.nav-wrapper,
  .navbar-wrapper {
    position: relative !important;
    z-index: 30 !important;
    margin-bottom: -44px !important;
  }
  .hero-video-showcase {
    width: 90% !important;
    max-width: 90% !important;
    height: 330px !important;
    min-height: 330px !important;
    max-height: 330px !important;
    margin: 0 auto 38px !important;
    border-radius: 22px !important;
  }
  .hero-video-content {
    padding-top: 74px !important;
    padding-bottom: 48px !important;
  }
}
@media (max-width: 420px) {
  .nav-wrapper,
  header.nav-wrapper,
  .navbar-wrapper {
    position: relative !important;
    z-index: 30 !important;
    margin-bottom: -42px !important;
  }
  .hero-video-showcase {
    width: 90% !important;
    max-width: 90% !important;
    height: 300px !important;
    min-height: 300px !important;
    max-height: 300px !important;
    margin: 0 auto 34px !important;
    border-radius: 20px !important;
  }
  .hero-video-content {
    padding: 66px 18px 42px !important;
  }
  .hero-video-title {
    font-size: clamp(24px, 7.8vw, 32px) !important;
    margin-bottom: 7px !important;
  }
  .hero-video-text {
    font-size: clamp(13px, 3.55vw, 15px) !important;
    line-height: 1.34 !important;
    margin-bottom: 15px !important;
    max-width: 86% !important;
  }
  .hero-video-cta {
    min-width: 126px !important;
    padding: 10px 17px !important;
    font-size: 13px !important;
  }
  .hero-video-controls {
    right: 12px !important;
    bottom: 14px !important;
    gap: 8px !important;
  }
  .hero-video-arrow {
    width: 34px !important;
    height: 34px !important;
    font-size: 28px !important;
  }
}

/* FINAL FIX: restore mobile navbar sticky/fixed behavior without changing hero rectangle */
@media (max-width: 768px) {
  .nav-wrapper,
  header.nav-wrapper,
  .navbar-wrapper {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  main {
    padding-top: var(--nav-height) !important;
  }
}

/* DESKTOP INDEX HERO SLIDER: 15% smaller like reference (PC only) + height +5% */
@media (min-width: 901px) {
  .hero-video-showcase {
    width: min(1326px, calc(100% - 220px)) !important;
    height: 64vh !important;
    min-height: 580px !important;
    max-height: 678px !important;
    margin: 0 auto 54px !important;
    border-radius: 0 0 28px 28px !important;
  }
  .hero-video-content {
    padding-left: 48px !important;
    padding-right: 48px !important;
    padding-top: 125px !important;
    padding-bottom: 88px !important;
  }
  .hero-video-title {
    font-size: clamp(52px, 5.3vw, 88px) !important;
    max-width: 760px !important;
  }
  .hero-video-text {
    max-width: 900px !important;
    font-size: clamp(16px, 1.15vw, 21px) !important;
    margin-bottom: 32px !important;
  }
  .hero-video-cta {
    min-width: 190px !important;
    padding: 15px 32px !important;
    font-size: 17px !important;
  }
  .hero-video-controls {
    bottom: 30px !important;
  }
  .hero-video-arrow {
    width: 54px !important;
    height: 54px !important;
    font-size: 46px !important;
  }
  .hero-video-count {
    right: 46px !important;
    font-size: clamp(42px, 4.3vw, 63px) !important;
  }
}


/* === Branches page hero/title refinement (2026-06) === */
.branches-page .page-hero-new {
  height: 520px !important;
  min-height: 520px !important;
  background-size: cover !important;
  background-position: center center !important;
}

.branches-page .hero-title5 {
  font-size: clamp(42px, 4.5vw, 66px) !important;
  line-height: 1.05 !important;
  margin-bottom: 12px !important;
  letter-spacing: 0.5px !important;
}

.branches-page .hero-breadcrumb5 {
  font-size: clamp(14px, 1.4vw, 20px) !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
}

.branches-page .section-header-central {
  text-align: center !important;
  margin: 0 auto 32px !important;
  font-size: initial !important;
  font-weight: initial !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}

.branches-page .section-header-central .section-title {
  font-size: clamp(28px, 3vw, 44px) !important;
  line-height: 1.1 !important;
  margin: 0 0 8px !important;
  font-weight: 800 !important;
  letter-spacing: 0.2px !important;
}

.branches-page .section-header-central .section-subtitle {
  font-size: clamp(13px, 1.1vw, 18px) !important;
  line-height: 1.35 !important;
  margin: 0 !important;
  font-weight: 600 !important;
}

@media (max-width: 768px) {
  .branches-page .page-hero-new {
    height: 330px !important;
    min-height: 330px !important;
    background-position: center center !important;
  }
  .branches-page .hero-title5 {
    font-size: 36px !important;
    margin-bottom: 8px !important;
  }
  .branches-page .hero-breadcrumb5 {
    font-size: 13px !important;
  }
  .branches-page .section-header-central {
    margin-bottom: 24px !important;
  }
  .branches-page .section-header-central .section-title {
    font-size: 30px !important;
  }
  .branches-page .section-header-central .section-subtitle {
    font-size: 13px !important;
  }
}

/* === FINAL Branches: smaller headings everywhere (mobile + desktop) === */
.branches-page .hero-title5,
.branches-page .page-hero-new .hero-title5 {
  font-size: clamp(28px, 3.2vw, 46px) !important;
  line-height: 1.05 !important;
  margin-bottom: 7px !important;
  letter-spacing: 0.1px !important;
}

.branches-page .hero-breadcrumb5,
.branches-page .page-hero-new .hero-breadcrumb5 {
  font-size: clamp(11px, 0.95vw, 15px) !important;
  line-height: 1.25 !important;
  font-weight: 600 !important;
}

.branches-page .section-header-central .section-title,
.branches-page .section-title {
  font-size: clamp(22px, 2.1vw, 32px) !important;
  line-height: 1.08 !important;
  margin-bottom: 5px !important;
  font-weight: 800 !important;
}

.branches-page .section-header-central .section-subtitle,
.branches-page .section-subtitle {
  font-size: clamp(10px, 0.85vw, 13px) !important;
  line-height: 1.25 !important;
  font-weight: 600 !important;
}

.branches-page .branch-info h3 {
  font-size: clamp(15px, 1.25vw, 20px) !important;
  line-height: 1.15 !important;
  margin-bottom: 4px !important;
}

.branches-page .branch-info p,
.branches-page .branch-date {
  font-size: clamp(10px, 0.8vw, 13px) !important;
  line-height: 1.25 !important;
}

@media (max-width: 768px) {
  .branches-page .hero-title5,
  .branches-page .page-hero-new .hero-title5 {
    font-size: 26px !important;
    margin-bottom: 5px !important;
  }
  .branches-page .hero-breadcrumb5,
  .branches-page .page-hero-new .hero-breadcrumb5 {
    font-size: 10px !important;
  }
  .branches-page .section-header-central .section-title,
  .branches-page .section-title {
    font-size: 22px !important;
    margin-bottom: 4px !important;
  }
  .branches-page .section-header-central .section-subtitle,
  .branches-page .section-subtitle {
    font-size: 10px !important;
  }
  .branches-page .branch-info h3 {
    font-size: 15px !important;
  }
  .branches-page .branch-info p,
  .branches-page .branch-date {
    font-size: 10px !important;
  }
}

/* === Branches mobile hero image stretch fix === */
@media (max-width: 768px) {
  .branches-page .page-hero-new {
    height: 560px !important;
    min-height: 560px !important;
    width: 100% !important;
    background-size: cover !important;
    background-position: center center !important;
  }
  .branches-page .page-hero-new .hero-container5 {
    min-height: 560px !important;
    height: 560px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

@media (max-width: 480px) {
  .branches-page .page-hero-new {
    height: 540px !important;
    min-height: 540px !important;
  }
  .branches-page .page-hero-new .hero-container5 {
    min-height: 540px !important;
    height: 540px !important;
  }
}


/* Mobile gallery layout for AF Mall and Passage branch pages */
@media (max-width: 768px) {
  .branch-gallery-section {
    background: #08265f !important;
    padding: 46px 0 54px !important;
  }

  .branch-gallery-section .section-header-central {
    margin-bottom: 18px !important;
  }

  .branch-gallery-section .section-title {
    font-size: 30px !important;
    line-height: 1.1 !important;
    margin-bottom: 0 !important;
  }

  .branch-gallery-section br {
    display: none !important;
  }

  .branch-gallery-wrapper {
    width: 88% !important;
    max-width: 370px !important;
    margin: 0 auto !important;
    position: relative !important;
  }

  .branch-gallery-shell {
    height: 178px !important;
    border-radius: 4px !important;
    overflow: hidden !important;
    border: none !important;
    box-shadow: none !important;
  }

  .branch-gallery-shell #slider img {
    height: 100% !important;
    width: 100% !important;
    min-width: 100% !important;
    object-fit: contain !important; background:transparent !important;
    border-radius: 0 !important;
  }

  .branch-gallery-wrapper .promo-arrow {
    width: 44px !important;
    height: 44px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: rgba(255,255,255,0.86) !important;
    color: rgba(255,255,255,0.94) !important;
    border: none !important;
    box-shadow: none !important;
    z-index: 10 !important;
  }

  .branch-gallery-wrapper .promo-arrow i {
    color: rgba(255,255,255,0.95) !important;
    text-shadow: 0 1px 8px rgba(0,0,0,0.28) !important;
    font-size: 18px !important;
  }

  .branch-gallery-wrapper .promo-arrow.left {
    left: -18px !important;
  }

  .branch-gallery-wrapper .promo-arrow.right {
    right: -18px !important;
  }

  .branch-gallery-wrapper .steps-controls {
    position: relative !important;
    left: auto !important;
    bottom: auto !important;
    transform: none !important;
    margin-top: 18px !important;
    display: flex !important;
    justify-content: center !important;
    gap: 10px !important;
  }

  .branch-gallery-wrapper .dot {
    width: 16px !important;
    height: 16px !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,0.55) !important;
  }

  .branch-gallery-wrapper .dot.active {
    width: 16px !important;
    background: rgba(255,255,255,0.95) !important;
  }
}


/* FINAL: Af Mall / Passage mobile gallery polish - only requested fixes */
@media (max-width: 768px) {
  .page-hero-new .info-card > div {
    min-height: auto !important;
    height: auto !important;
    display: block !important;
  }
  .page-hero-new .info-card {
    overflow: visible !important;
  }
  .branch-gallery-section {
    background: linear-gradient(180deg, #123d8f 0%, #0f2f73 100%) !important;
    padding: 46px 0 54px !important;
  }
  .branch-gallery-wrapper {
    width: 94% !important;
    max-width: 410px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .branch-gallery-shell {
    width: 100% !important;
    height: 176px !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    border: none !important;
  }
  .branch-gallery-shell #slider,
  .branch-gallery-shell #slider img {
    border-radius: 18px !important;
  }
  .branch-gallery-wrapper .promo-arrow {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
  }
  .branch-gallery-wrapper .promo-arrow i {
    font-size: 14px !important;
  }
  .branch-gallery-wrapper .promo-arrow.left {
    left: -8px !important;
  }
  .branch-gallery-wrapper .promo-arrow.right {
    right: -8px !important;
  }
  .branch-gallery-wrapper .steps-controls {
    margin-top: 14px !important;
    gap: 8px !important;
  }
  .branch-gallery-wrapper .dot,
  .branch-gallery-wrapper .dot.active {
    width: 10px !important;
    height: 10px !important;
    min-width: 10px !important;
    min-height: 10px !important;
    border-radius: 50% !important;
  }
}

/* NAVBAR HEIGHT +30% ONLY (desktop + mobile) */
:root {
  --nav-height: 104px !important;
}
.nav-wrapper,
header.nav-wrapper,
.navbar-wrapper {
  height: var(--nav-height) !important;
  min-height: var(--nav-height) !important;
}
.navbar {
  min-height: var(--nav-height) !important;
}
@media (max-width: 768px) {
  :root {
    --nav-height: 94px !important;
  }
  .nav-wrapper,
  header.nav-wrapper,
  .navbar-wrapper {
    height: var(--nav-height) !important;
    min-height: var(--nav-height) !important;
  }
  .navbar {
    min-height: var(--nav-height) !important;
  }
}


/* Mobile Casper Games header polish - only index Casper Games section */
@media (max-width: 768px) {
  .home-games-section {
    padding-top: 34px !important;
  }

  .home-games-section .container {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .home-games-header {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
    margin-bottom: 22px !important;
  }

  .home-games-header > div {
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }

  .home-games-title {
    font-size: clamp(26px, 8vw, 34px) !important;
    line-height: 1.05 !important;
    margin: 0 !important;
    white-space: nowrap !important;
  }

  .home-games-header br {
    display: none !important;
  }

  .home-games-header .link-gradient {
    width: auto !important;
    flex: 0 0 auto !important;
    min-width: 158px !important;
    max-width: 190px !important;
    height: 48px !important;
    padding: 0 18px !important;
    border-radius: 999px !important;
    font-size: 16px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    box-shadow: 0 12px 28px rgba(255, 79, 216, 0.28) !important;
  }
}

@media (max-width: 390px) {
  .home-games-title {
    font-size: 24px !important;
  }

  .home-games-header .link-gradient {
    min-width: 148px !important;
    height: 44px !important;
    padding: 0 14px !important;
    font-size: 14px !important;
  }
}


/* FINAL FIX: mobile Casper Games heading + CTA in one row */
@media (max-width: 768px) {
  .home-games-section .section-header.home-games-header {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    justify-content: space-between !important;
    column-gap: 10px !important;
    row-gap: 0 !important;
    width: 100% !important;
    margin: 0 0 20px 0 !important;
  }
  .home-games-section .home-games-header > div {
    width: auto !important;
    min-width: 0 !important;
    flex: initial !important;
  }
  .home-games-section .home-games-title {
    font-size: clamp(21px, 6vw, 25px) !important;
    line-height: 1.05 !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
  }
  .home-games-section .home-games-header br,
  .home-games-section .home-games-header .section-subtitle {
    display: none !important;
  }
  .home-games-section .home-games-header .link-gradient {
    width: auto !important;
    min-width: 136px !important;
    max-width: 154px !important;
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 14px !important;
    border-radius: 999px !important;
    font-size: 14px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    justify-self: end !important;
    flex: 0 0 auto !important;
  }
}
@media (max-width: 380px) {
  .home-games-section .home-games-title {
    font-size: 20px !important;
  }
  .home-games-section .home-games-header .link-gradient {
    min-width: 128px !important;
    max-width: 142px !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 10px !important;
    font-size: 12.5px !important;
  }
}

/* FINAL FIX: index mobile Branches block layout only */
@media (max-width: 768px) {
  .home-branches-section {
    padding-top: 28px !important;
  }

  .home-branches-section .home-branches-header {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    margin-bottom: 18px !important;
    flex-direction: row !important;
  }

  .home-branches-section .home-branches-header > div {
    min-width: 0 !important;
    width: auto !important;
  }

  .home-branches-section .home-branches-header br,
  .home-branches-section .section-subtitle {
    display: none !important;
  }

  .home-branches-section .home-branches-title {
    font-size: clamp(22px, 7vw, 28px) !important;
    line-height: 1.05 !important;
    margin: 0 !important;
    white-space: nowrap !important;
  }

  .home-branches-section .home-branches-cta {
    width: auto !important;
    min-width: 138px !important;
    max-width: 165px !important;
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 14px !important;
    border-radius: 999px !important;
    font-size: 14px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    justify-self: end !important;
    white-space: nowrap !important;
    text-align: center !important;
  }

  .home-branches-section .home-branches-grid,
  .home-branches-section .branches-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
    margin-top: 0 !important;
  }

  .home-branches-section .branch-card {
    height: 210px !important;
    min-height: 210px !important;
    border-radius: 18px !important;
    overflow: hidden !important;
  }

  .home-branches-section .branch-img {
    height: 100% !important;
    width: 100% !important;
    background-size: cover !important;
    background-position: center !important;
  }

  .home-branches-section .branch-badge {
    top: 10px !important;
    left: 0 !important;
    min-width: 54px !important;
    height: 38px !important;
    font-size: 18px !important;
    border-radius: 0 18px 18px 0 !important;
  }

  .home-branches-section .branch-overlay {
    padding: 12px !important;
  }

  .home-branches-section .branch-name {
    font-size: 16px !important;
    line-height: 1.1 !important;
    margin-bottom: 6px !important;
  }

  .home-branches-section .branch-address,
  .home-branches-section .branch-stats {
    font-size: 11px !important;
    line-height: 1.2 !important;
  }
}

@media (max-width: 390px) {
  .home-branches-section .home-branches-title {
    font-size: 21px !important;
  }

  .home-branches-section .home-branches-cta {
    min-width: 128px !important;
    max-width: 148px !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 10px !important;
    font-size: 12px !important;
  }

  .home-branches-section .home-branches-grid,
  .home-branches-section .branches-grid {
    gap: 12px !important;
  }

  .home-branches-section .branch-card {
    height: 190px !important;
    min-height: 190px !important;
  }
}


/* FINAL FIX: index mobile Promotions layout only */
.promotions-clean-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  margin-bottom: 26px !important;
}
.promotions-clean-title {
  margin: 0 !important;
  text-align: left !important;
}
.promotions-clean-cta {
  flex: 0 0 auto !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}
@media (max-width: 768px) {
  .promotions-clean-section {
    padding: 30px 0 42px !important;
    overflow: hidden !important;
  }
  .promotions-clean-wrapper {
    width: 100% !important;
    max-width: none !important;
    padding: 0 14px !important;
    margin: 0 !important;
  }
  .promotions-clean-header {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 0 22px !important;
  }
  .promotions-clean-title {
    font-size: clamp(24px, 8.2vw, 34px) !important;
    line-height: 1.04 !important;
    letter-spacing: -0.04em !important;
    max-width: 170px !important;
    text-align: left !important;
    margin: 0 !important;
  }
  .promotions-clean-cta {
    width: auto !important;
    min-width: 154px !important;
    max-width: 178px !important;
    height: 46px !important;
    min-height: 46px !important;
    padding: 0 14px !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    justify-self: end !important;
    text-align: center !important;
  }
  .promotions-clean-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 12px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 0 14px 12px 0 !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .promotions-clean-row::-webkit-scrollbar { display: none !important; }
  .promotion-clean-card {
    flex: 0 0 145px !important;
    width: 145px !important;
    max-width: 145px !important;
    min-width: 145px !important;
    height: 218px !important;
    min-height: 218px !important;
    border-radius: 18px !important;
    scroll-snap-align: start !important;
    overflow: hidden !important;
  }
  .promotion-clean-card .card-img {
    width: 100% !important;
    height: 92px !important;
    aspect-ratio: auto !important;
    border-radius: 18px 18px 0 0 !important;
  }
  .promotion-clean-card .card-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important; background:transparent !important;
    object-position: center !important;
    border-radius: 18px 18px 0 0 !important;
  }
  .promotion-clean-card > div:last-child { border-top:none !important;
    min-height: 126px !important;
    height: 126px !important;
    padding: 12px 12px !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: flex-start !important;
  }
  .promotion-clean-card .card-title50 {
    font-size: 20px !important;
    line-height: 1.12 !important;
    text-align: left !important;
    max-width: 112px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
}
@media (max-width: 390px) {
  .promotions-clean-title { font-size: clamp(22px, 7.8vw, 30px) !important; max-width: 150px !important; }
  .promotions-clean-cta { min-width: 138px !important; max-width: 154px !important; height: 42px !important; min-height: 42px !important; font-size: 12.2px !important; padding: 0 10px !important; }
  .promotion-clean-card { flex-basis: 136px !important; width: 136px !important; max-width: 136px !important; min-width: 136px !important; height: 205px !important; min-height: 205px !important; }
  .promotion-clean-card .card-img { height: 86px !important; }
  .promotion-clean-card > div:last-child { border-top:none !important; height: 119px !important; min-height: 119px !important; }
  .promotion-clean-card .card-title50 { font-size: 18px !important; }
}


/* FINAL CLEAN FIX: index mobile promotions section only */
@media (max-width: 768px) {
  .promotions-clean-section {
    background:#071a3d !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
  }

  .promotions-clean-wrapper,
  .promotions-clean-row {
    background: transparent !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
  }

  .promotions-clean-row {
    padding-left: 0 !important;
  }

  .promotion-clean-card {
    border: 1px solid rgba(165, 120, 255, 0.55) !important;
    background: rgba(4, 12, 35, 0.78) !important;
  }

  .promotion-clean-card .card-img {
    background: transparent !important;
    overflow: hidden !important;
  }

  .promotion-clean-card .card-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important; background:transparent !important;
    object-position: center !important;
    border-radius: 18px 18px 0 0 !important;
  }
}

/* USER FIX: promotions mobile cards - image fills full card, title over image */
@media (max-width: 768px) {
  .promotions-clean-section {
    background: transparent !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
  }

  .promotions-clean-wrapper,
  .promotions-clean-row {
    background: transparent !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
  }

  .promotion-clean-card {
    position: relative !important;
    overflow: hidden !important;
    background: transparent !important;
    border: 1px solid rgba(170, 125, 255, 0.65) !important;
    box-shadow: none !important;
  }

  .promotion-clean-card .card-img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: inherit !important;
    overflow: hidden !important;
    background: transparent !important;
  }

  .promotion-clean-card .card-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: inherit !important;
    display: block !important;
    background: transparent !important;
  }

  .promotion-clean-card::after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: 45% !important;
    background: linear-gradient(to top, rgba(4, 10, 26, 0.88), rgba(4, 10, 26, 0.35), transparent) !important;
    pointer-events: none !important;
  }

  .promotion-clean-card > div:last-child {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 12px 14px !important;
    border: 0 !important;
    background: transparent !important;
    z-index: 2 !important;
    display: flex !important;
    align-items: flex-end !important;
  }

  .promotion-clean-card .card-title50 {
    color: #fff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65) !important;
    margin: 0 !important;
    z-index: 3 !important;
  }

  .promotion-clean-card .card-meta50 {
    display: none !important;
  }
}

/* SAFE FIX: mobile promotions swipe must be native horizontal scroll only */
@media (max-width: 768px) {
  #scrollContainer50.cards-row50.promotions-clean-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-behavior: smooth !important;
    touch-action: auto !important;
    overscroll-behavior-x: contain !important;
    scrollbar-width: none !important;
  }
  #scrollContainer50.cards-row50.promotions-clean-row::-webkit-scrollbar {
    display: none !important;
  }
  #scrollContainer50.cards-row50.promotions-clean-row > .promotion-clean-card,
  #scrollContainer50.cards-row50.promotions-clean-row > .card-promo50 {
    flex-shrink: 0 !important;
    pointer-events: auto !important;
    touch-action: auto !important;
  }
  #scrollContainer50.cards-row50.promotions-clean-row .card-img,
  #scrollContainer50.cards-row50.promotions-clean-row .card-img img {
    pointer-events: none !important;
  }
}

/* FINAL USER FIX 2026-07-05: index.html Discounts & Promotions mobile swipe
   Only scroll behavior is changed. Card sizes stay exactly as they already are. */
@media (max-width: 768px) {
  .promotions-clean-wrapper {
    min-width: 0 !important;
    overflow: hidden !important;
  }

  #scrollContainer50.cards-row50.promotions-clean-row {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x proximity !important;
    scroll-padding-left: 0 !important;
    overscroll-behavior-x: contain !important;
    touch-action: pan-x pan-y !important;
    scrollbar-width: none !important;
    cursor: grab !important;
  }

  #scrollContainer50.cards-row50.promotions-clean-row.promo-mobile-swiping {
    cursor: grabbing !important;
    scroll-snap-type: none !important;
  }

  #scrollContainer50.cards-row50.promotions-clean-row::-webkit-scrollbar {
    display: none !important;
  }

  #scrollContainer50.cards-row50.promotions-clean-row > .card-promo50,
  #scrollContainer50.cards-row50.promotions-clean-row > .promotion-clean-card {
    flex-shrink: 0 !important;
    scroll-snap-align: start !important;
    scroll-snap-stop: normal !important;
  }
}

/* FINAL iOS FIX: easy swipe for index.html Discounts & Promotions.
   Card sizes are not changed here. Only scrolling/touch behavior is adjusted. */
@media (max-width: 768px) {
  .promotions-clean-wrapper {
    overflow: hidden !important;
    min-width: 0 !important;
  }

  #scrollContainer50.cards-row50.promotions-clean-row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: scroll !important;
    overflow-y: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior-x: contain !important;
    scroll-snap-type: none !important;
    scroll-behavior: auto !important;
    touch-action: pan-y !important;
    scrollbar-width: none !important;
    cursor: grab !important;
    user-select: none !important;
    -webkit-user-select: none !important;
  }

  #scrollContainer50.cards-row50.promotions-clean-row.promo-mobile-swiping {
    cursor: grabbing !important;
  }

  #scrollContainer50.cards-row50.promotions-clean-row::-webkit-scrollbar {
    display: none !important;
  }

  #scrollContainer50.cards-row50.promotions-clean-row > .card-promo50,
  #scrollContainer50.cards-row50.promotions-clean-row > .promotion-clean-card {
    flex-shrink: 0 !important;
    -webkit-user-select: none !important;
    user-select: none !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  #scrollContainer50.cards-row50.promotions-clean-row img {
    -webkit-user-drag: none !important;
    user-select: none !important;
    pointer-events: none !important;
  }
}


/* Mobile only: make the Promotions heading visibly smaller */
@media (max-width: 768px){
  .promotions-clean-title{
    font-size: clamp(23px, 6vw, 28px) !important;
  }
}
@media (max-width: 390px){
  .promotions-clean-title{
    font-size: clamp(21px, 5.8vw, 25px) !important;
  }
}

/* FINAL FIX 2026-07-07: Casper Kids mobile layout only
   - text description hidden only on mobile
   - title stays left and is 17% smaller
   - button keeps its original color, moves to the right of the title
   - Aladin card is slightly smaller in width and height */
.play-btn17-mobile {
  display: none !important;
}

@media (max-width: 768px) {
  .section30 .casper-kids-mobile-header {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    width: 100% !important;
    margin-bottom: 22px !important;
    text-align: left !important;
  }

  .section30 .casper-kids-mobile-header > div {
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  .section30 .casper-kids-mobile-header .section-title {
    font-size: clamp(23px, 8.3vw, 35px) !important;
    line-height: 1.05 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
    white-space: nowrap !important;
  }

  .section30 .casper-kids-mobile-header br {
    display: none !important;
  }

  .section30 .play-btn17-mobile {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 132px !important;
    height: 43px !important;
    min-height: 43px !important;
    padding: 0 15px !important;
    border-radius: 999px !important;
    font-size: 15px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    cursor: pointer !important;
  }

  .section30 .play-btn17-mobile::after {
    content: "→" !important;
    font-size: 20px !important;
    line-height: 1 !important;
    margin-left: 2px !important;
  }

  .section30 .kids-games {
    margin-top: 0 !important;
    align-items: flex-start !important;
    gap: 0 !important;
  }

  .section30 .kids-games .game-card {
    width: min(255px, 82vw) !important;
    max-width: 255px !important;
  }

  .section30 .kids-games .game-card-frame {
    border-radius: 24px !important;
  }

  .section30 .kids-games .card-img {
    height: 150px !important;
  }

  .section30 .kids-games .game-info {
    padding: 12px 12px 13px !important;
  }

  .section30 .kids-games .game-title {
    font-size: 28px !important;
    line-height: 1.05 !important;
    margin-bottom: 7px !important;
  }

  .section30 .kids-games .game-meta {
    font-size: 13px !important;
    line-height: 1.2 !important;
    margin-bottom: 9px !important;
  }

  .section30 .kids-games .game-level {
    font-size: 12px !important;
    padding: 6px 15px !important;
  }

  .section30 .game-description17 {
    display: none !important;
  }
}

@media (max-width: 390px) {
  .section30 .casper-kids-mobile-header .section-title {
    font-size: 31px !important;
  }

  .section30 .play-btn17-mobile {
    min-width: 122px !important;
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 12px !important;
    font-size: 13.5px !important;
  }

  .section30 .kids-games .game-card {
    width: min(245px, 80vw) !important;
    max-width: 245px !important;
  }

  .section30 .kids-games .card-img {
    height: 142px !important;
  }
}


/* FINAL TINY ADJUST 2026-07-07: Casper Kids title -10% and card one-br lower */
@media (max-width: 768px) {
  .section30 .casper-kids-mobile-header .section-title {
    font-size: clamp(21px, 7.47vw, 31.5px) !important;
  }

  .section30 .kids-games {
    margin-top: 16px !important;
  }
}

@media (max-width: 390px) {
  .section30 .casper-kids-mobile-header .section-title {
    font-size: 28px !important;
  }
}

/* FINAL URGENT FIX 2026-07-07: make Casper Kids mobile title same size as other headings */
@media (max-width: 768px) {
  .section30 .casper-kids-mobile-header .section-title {
    font-size: clamp(21px, 6vw, 25px) !important;
    line-height: 1.05 !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
  }
}
@media (max-width: 390px) {
  .section30 .casper-kids-mobile-header .section-title {
    font-size: 21px !important;
  }
}

/* FINAL FIX 2026-07-08: keep "Endirimlər və Aksiyalar" on one line on mobile only */
@media (max-width: 768px) {
  .promotions-clean-title {
    font-size: clamp(15.5px, 4.35vw, 20px) !important;
    line-height: 1.05 !important;
    max-width: none !important;
    width: auto !important;
    white-space: nowrap !important;
    overflow: visible !important;
  }
}

@media (max-width: 390px) {
  .promotions-clean-title {
    font-size: clamp(15px, 4.2vw, 18px) !important;
    max-width: none !important;
    white-space: nowrap !important;
  }
}

/* HERO DISCOUNT IMAGES: show full poster without cropping, keep hero block size */
.hero-video-showcase .hero-video-bg {
  background-size: auto 100% !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-color: #050814 !important;
}

@media (max-width: 768px) {
  .hero-video-showcase .hero-video-bg {
    background-size: auto 100% !important;
    background-position: center center !important;
  }
}


/* FINAL FIX: hero discount images fill the whole existing hero block without cropping */
.hero-video-showcase .hero-video-bg {
  background-size: 100% 100% !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-color: #050814 !important;
  transform: none !important;
}

@media (max-width: 768px) {
  .hero-video-showcase .hero-video-bg {
    background-size: 100% 100% !important;
    background-position: center center !important;
    transform: none !important;
  }
}


/* === FINAL HERO DISCOUNT IMAGES: аккуратно без растяжения блока (PC + Mobile) ===
   Блок остаётся прежнего размера. Фон заполняет весь прямоугольник мягко,
   а сама картинка показывается поверх без искажения пропорций. */
.hero-video-bg {
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  transform: none !important;
}

.hero-video-bg::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background: inherit !important;
  background-size: cover !important;
  background-position: center center !important;
  filter: blur(18px) saturate(1.08) brightness(.72) !important;
  transform: scale(1.08) !important;
  z-index: -1 !important;
}

.hero-video-img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center center !important;
  display: block !important;
  border-radius: inherit !important;
  transform: none !important;
}

@media (min-width: 901px) {
  .hero-video-img {
    object-fit: contain !important;
    object-position: center center !important;
  }
  .hero-video-shade {
    background:
      linear-gradient(90deg, rgba(5,6,9,.62) 0%, rgba(5,6,9,.26) 48%, rgba(5,6,9,.34) 100%),
      linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.16) 58%, rgba(0,0,0,.46) 100%) !important;
  }
}

@media (max-width: 900px) {
  .hero-video-img {
    object-fit: contain !important;
    object-position: center center !important;
  }
  .hero-video-bg::before {
    filter: blur(14px) saturate(1.06) brightness(.70) !important;
    transform: scale(1.07) !important;
  }
}

/* Vacancy page mobile polishing: compact titles, narrower/taller cards, cleaner image framing */
@media (max-width: 768px) {
  .vacancy-hero-bg {
    height: 255px !important;
    min-height: 255px !important;
    background-size: cover !important;
    background-position: center center !important;
  }

  .vacancy-hero-content {
    padding: 0 16px !important;
  }

  .vacancy-title {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: clamp(30px, 9.2vw, 42px) !important;
    line-height: 1.05 !important;
    font-weight: 800 !important;
    letter-spacing: -0.035em !important;
    color: #ffffff !important;
    text-shadow: 0 2px 14px rgba(0,0,0,0.45) !important;
  }

  .vacancy-breadcrumb {
    font-size: 12px !important;
    margin-top: 7px !important;
  }

  .section:has(.vacancy-grid) {
    padding-top: 22px !important;
  }

  .section-title88 {
    margin: 0 auto 30px !important;
    display: block !important;
    text-align: center !important;
    font-size: clamp(34px, 10vw, 46px) !important;
    line-height: 1.05 !important;
    font-weight: 800 !important;
    letter-spacing: -0.04em !important;
    color: #ffffff !important;
  }

  .section-title88 + br,
  .section-title88 + br + br {
    display: none !important;
  }

  .vacancy-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 36px !important;
    justify-items: center !important;
  }

  .vacancy-card-new {
    width: min(88vw, 410px) !important;
    height: 335px !important;
    border-width: 2px !important;
    border-radius: 21px !important;
    background-image:
      linear-gradient(rgba(12, 15, 27, 0.96), rgba(12, 15, 27, 0.96)),
      linear-gradient(115deg, #7b6cff, #ff8a58) !important;
    box-shadow: 0 18px 34px rgba(0,0,0,0.24) !important;
  }

  .vacancy-img {
    height: 335px !important;
    background: #10131f !important;
    overflow: hidden !important;
  }

  .vacancy-card-new .vacancy-img img,
  .vacancy-img img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    transform: scale(1.01) !important;
  }

  .vacancy-card-new:hover .vacancy-img img {
    transform: scale(1.04) !important;
  }

  .vacancy-bottom {
    min-height: 104px !important;
    padding: 18px 24px 20px !important;
    background: rgba(7, 10, 18, 0.82) !important;
    backdrop-filter: blur(7px) !important;
    gap: 14px !important;
  }

  .vacancy-bottom h3 {
    font-size: clamp(21px, 5.9vw, 28px) !important;
    line-height: 1.08 !important;
    font-weight: 800 !important;
    letter-spacing: -0.035em !important;
    color: #ffffff !important;
    max-width: 190px !important;
  }

  .vacancy-bottom span {
    display: block !important;
    margin-top: 11px !important;
    font-size: 18px !important;
    line-height: 1 !important;
    color: rgba(255,255,255,0.78) !important;
  }

  .vacancy-bottom button {
    flex: 0 0 auto !important;
    padding: 9px 18px !important;
    border-radius: 999px !important;
    border: 2px solid rgba(255,255,255,0.82) !important;
    font-size: 15px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
    color: #ffffff !important;
    background: rgba(12, 15, 27, 0.25) !important;
  }
}

@media (max-width: 390px) {
  .vacancy-card-new,
  .vacancy-img {
    height: 318px !important;
  }

  .vacancy-bottom {
    min-height: 96px !important;
    padding: 16px 20px 18px !important;
  }

  .vacancy-bottom h3 {
    font-size: 21px !important;
    max-width: 165px !important;
  }

  .vacancy-bottom span {
    font-size: 16px !important;
  }

  .vacancy-bottom button {
    font-size: 13px !important;
    padding: 8px 14px !important;
  }
}

/* FINAL mobile vacancy cards matching reference: smaller text and zoomed-out images */
@media (max-width: 768px) {
  .vacancy-title {
    font-size: clamp(28px, 8.4vw, 38px) !important;
    line-height: 1.05 !important;
    font-weight: 800 !important;
    letter-spacing: -0.04em !important;
  }

  .section-title88 {
    font-size: clamp(30px, 8.8vw, 40px) !important;
    line-height: 1.05 !important;
    font-weight: 800 !important;
    letter-spacing: -0.045em !important;
    margin-bottom: 28px !important;
  }

  .vacancy-card-new {
    width: min(87vw, 405px) !important;
    height: 330px !important;
    border-radius: 21px !important;
    overflow: hidden !important;
  }

  .vacancy-img {
    height: 218px !important;
    width: 100% !important;
    overflow: hidden !important;
    background: #10131f !important;
  }

  .vacancy-card-new .vacancy-img img,
  .vacancy-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
    transform: scale(1) !important;
  }

  .vacancy-card-new:hover .vacancy-img img {
    transform: scale(1.03) !important;
  }

  .vacancy-bottom {
    height: 112px !important;
    min-height: 112px !important;
    padding: 17px 24px 18px !important;
    align-items: center !important;
    background: rgba(7, 10, 18, 0.86) !important;
  }

  .vacancy-bottom h3 {
    font-size: clamp(20px, 5.15vw, 24px) !important;
    line-height: 1.08 !important;
    font-weight: 800 !important;
    letter-spacing: -0.04em !important;
    max-width: 190px !important;
  }

  .vacancy-bottom span {
    margin-top: 10px !important;
    font-size: 16px !important;
    line-height: 1 !important;
  }

  .vacancy-bottom button {
    font-size: 14px !important;
    padding: 9px 17px !important;
  }
}

@media (max-width: 390px) {
  .vacancy-card-new {
    height: 312px !important;
  }

  .vacancy-img {
    height: 205px !important;
  }

  .vacancy-bottom {
    height: 107px !important;
    min-height: 107px !important;
    padding: 15px 21px 17px !important;
  }

  .vacancy-bottom h3 {
    font-size: 19px !important;
    max-width: 160px !important;
  }

  .vacancy-bottom span {
    font-size: 15px !important;
  }

  .vacancy-bottom button {
    font-size: 12.5px !important;
    padding: 8px 13px !important;
  }
}

/* FINAL vacancy hero: mobile matches reference photo */
@media (max-width: 768px) {
  .vacancy-hero {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .vacancy-hero-bg {
    width: 100% !important;
    height: 452px !important;
    min-height: 452px !important;
    border-radius: 0 !important;
    background-size: cover !important;
    background-position: center top !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .vacancy-hero-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.24) 45%, rgba(0,0,0,0.50) 100%) !important;
  }

  .vacancy-hero-content {
    width: 100% !important;
    padding: 42px 14px 0 !important;
    text-align: center !important;
    transform: translateY(-2px) !important;
  }

  .vacancy-title {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0 !important;
    font-size: clamp(58px, 16.8vw, 70px) !important;
    line-height: 0.98 !important;
    font-weight: 900 !important;
    letter-spacing: -0.065em !important;
    color: #ffffff !important;
    text-shadow: 0 3px 0 rgba(142,111,255,0.28), 0 6px 22px rgba(0,0,0,0.48) !important;
  }

  .vacancy-breadcrumb {
    margin-top: 22px !important;
    font-size: clamp(21px, 5.9vw, 25px) !important;
    line-height: 1.1 !important;
    font-weight: 800 !important;
    letter-spacing: -0.04em !important;
    color: #ffffff !important;
    opacity: 1 !important;
    text-shadow: 0 4px 16px rgba(0,0,0,0.55) !important;
  }
}

@media (max-width: 390px) {
  .vacancy-hero-bg {
    height: 438px !important;
    min-height: 438px !important;
  }

  .vacancy-title {
    font-size: clamp(54px, 16.2vw, 64px) !important;
  }

  .vacancy-breadcrumb {
    font-size: clamp(19px, 5.55vw, 23px) !important;
    margin-top: 20px !important;
  }
}

/* === FINAL FIX: vacancy.html mobile title sizes only === */
@media (max-width: 768px) {
  .vacancy-hero-bg {
    height: 558px !important;
    min-height: 558px !important;
    background-size: cover !important;
    background-position: center top !important;
  }

  .vacancy-hero-content {
    padding: 0 16px !important;
    text-align: center !important;
    transform: translateY(-6px) !important;
  }

  .vacancy-title {
    font-size: 38px !important;
    line-height: 1.05 !important;
    font-weight: 800 !important;
    letter-spacing: -0.04em !important;
    color: #ffffff !important;
    margin: 0 !important;
    text-shadow: 0 2px 10px rgba(0,0,0,.45) !important;
  }

  .vacancy-breadcrumb {
    margin-top: 18px !important;
    font-size: 20px !important;
    line-height: 1.1 !important;
    font-weight: 700 !important;
    letter-spacing: -0.035em !important;
    color: rgba(218, 218, 218, 0.82) !important;
    opacity: 1 !important;
    text-shadow: 0 2px 8px rgba(0,0,0,.45) !important;
  }

  .section:has(.vacancy-grid) {
    padding-top: 76px !important;
  }

  .section-title88 {
    margin: 0 auto 50px !important;
    text-align: center !important;
    display: block !important;
    font-size: 38px !important;
    line-height: 1.05 !important;
    font-weight: 800 !important;
    letter-spacing: -0.045em !important;
    color: #ffffff !important;
    text-shadow: 0 0 14px rgba(69, 112, 255, .65), 0 3px 12px rgba(0,0,0,.42) !important;
  }

  .section-title88 + br,
  .section-title88 + br + br {
    display: none !important;
  }
}

@media (max-width: 390px) {
  .vacancy-hero-bg {
    height: 558px !important;
    min-height: 558px !important;
  }

  .vacancy-title {
    font-size: 37px !important;
  }

  .vacancy-breadcrumb {
    font-size: 19px !important;
    margin-top: 17px !important;
  }

  .section-title88 {
    font-size: 37px !important;
    margin-bottom: 48px !important;
  }
}

@media(max-width:768px){h1,.page-title,.hero-title{font-size:32px!important;font-weight:700!important;letter-spacing:-.03em;line-height:1.1}.breadcrumb,.breadcrumb a{font-size:15px!important;color:#a8a8a8!important}.section-title,h2{font-size:34px!important;font-weight:700!important;letter-spacing:-.03em}}

/* about.html partners */
.about-partners-section {
  width: min(1120px, calc(100% - 40px));
  margin: 96px auto 110px;
  text-align: center;
}

.about-partners-title {
  margin: 0 0 54px;
  color: #ffffff;
  font-size: clamp(32px, 3.3vw, 44px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-shadow: 0 0 18px rgba(120, 73, 255, 0.5);
}

.about-partners-grid {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-partner-link {
  display: flex;
  width: 145px;
  height: 145px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 0 24px rgba(0, 214, 143, 0.28);
  transition: transform .25s ease, box-shadow .25s ease;
}

.about-partner-link:hover {
  transform: translateY(-6px) scale(1.035);
  box-shadow: 0 0 34px rgba(0, 214, 143, 0.5);
}

.about-partner-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .about-partners-section {
    width: calc(100% - 32px);
    margin: 72px auto 82px;
  }

  .about-partners-title {
    margin-bottom: 38px;
    font-size: clamp(28px, 8vw, 34px) !important;
  }

  .about-partner-link {
    width: 112px;
    height: 112px;
  }
}

/* about.html facts: vertical compact cards on mobile */
@media (max-width: 768px) {
  .facts-section {
    margin: 86px 0 54px !important;
    padding: 0 18px !important;
  }

  .facts-section .facts-title {
    max-width: 330px !important;
    margin: 0 auto 38px !important;
    font-size: clamp(25px, 7.2vw, 30px) !important;
    line-height: 1.12 !important;
    letter-spacing: -0.035em !important;
    text-align: center !important;
  }

  .facts-section .facts-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: min(100%, 330px) !important;
    max-width: 330px !important;
    gap: 22px !important;
    margin: 0 auto !important;
  }

  .facts-section .fact-card {
    width: 100% !important;
    height: 150px !important;
    min-height: 150px !important;
    padding: 24px 18px !important;
    border-radius: 24px !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .facts-section .fact-card h3 {
    font-size: 34px !important;
    line-height: 1 !important;
    margin: 0 0 14px !important;
  }

  .facts-section .fact-card p {
    font-size: 15px !important;
    line-height: 1.2 !important;
    margin: 0 !important;
  }
}

@media (max-width: 390px) {
  .facts-section .facts-grid {
    width: min(100%, 310px) !important;
    max-width: 310px !important;
    gap: 20px !important;
  }

  .facts-section .fact-card {
    height: 142px !important;
    min-height: 142px !important;
  }
}

/* about.html year fields: narrower, airier mobile layout */
@media (max-width: 768px) {
  .year-section .year-inputs {
    width: fit-content !important;
    max-width: calc(100% - 32px) !important;
    gap: 16px !important;
    margin: 24px auto !important;
  }

  .year-section .year-box {
    width: 62px !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 390px) {
  .year-section .year-inputs {
    gap: 13px !important;
  }

  .year-section .year-box {
    width: 58px !important;
  }
}

/* about.html steps carousel: compact mobile proportions and unclipped controls */
@media (max-width: 768px) {
  .steps-carousel {
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    margin: 36px 0 42px !important;
  }

  .steps-slider {
    width: 100% !important;
    max-width: 100% !important;
    height: 480px !important;
    margin: 36px 0 48px !important;
    overflow: visible !important;
  }

  .steps-stage {
    height: 430px !important;
    overflow: hidden !important;
  }

  .step-card2 {
    width: min(72vw, 292px) !important;
    max-width: 292px !important;
    height: 420px !important;
    min-height: 420px !important;
    padding: 48px 24px 36px !important;
    border-radius: 25px !important;
  }

  .step-card2 h2,
  .step-card2 h3 {
    font-size: clamp(23px, 6.4vw, 28px) !important;
    line-height: 1.22 !important;
    margin-bottom: 26px !important;
  }

  .step-card2 p {
    max-width: 220px !important;
    font-size: clamp(15px, 4.1vw, 17px) !important;
    line-height: 1.5 !important;
  }

  .step-num {
    top: 20px !important;
    right: 20px !important;
    width: 54px !important;
    height: 54px !important;
    font-size: 22px !important;
  }

  .slider-controls {
    bottom: 0 !important;
    gap: 18px !important;
    z-index: 10 !important;
  }

  .slider-controls button {
    width: 54px !important;
    height: 54px !important;
    min-width: 54px !important;
    min-height: 54px !important;
    padding: 0 !important;
    font-size: 21px !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: visible !important;
  }
}

@media (max-width: 390px) {
  .steps-slider {
    height: 452px !important;
  }

  .steps-stage {
    height: 405px !important;
  }

  .step-card2 {
    width: min(74vw, 278px) !important;
    height: 395px !important;
    min-height: 395px !important;
    padding: 44px 21px 32px !important;
  }

  .slider-controls button {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    min-height: 50px !important;
    font-size: 19px !important;
  }
}

/* promotions.html hero: match the higher mobile text position */
@media (max-width: 768px) {
  .promo-hero-full .hero-overlay-content92 {
    top: 47% !important;
    padding: 0 16px !important;
    z-index: 2 !important;
  }

  .promo-hero-full .hero-overlay-content92 h1 {
    color: #ffffff !important;
    opacity: 1 !important;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.7) !important;
  }

  .promo-hero-full .breadcrumb92 {
    color: #ffffff !important;
    opacity: 0.92 !important;
  }
}

/* promotions.html: compact mobile heading and discount cards */
@media (max-width: 768px) {
  .promotions-page-clean {
    padding-top: 34px !important;
    padding-bottom: 44px !important;
  }

  .promotions-page-clean .section-main-title {
    font-size: clamp(27px, 7.8vw, 32px) !important;
    line-height: 1.08 !important;
    margin: 0 0 30px !important;
  }

  .promotions-page-clean .promotions-four-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .promotions-page-clean .promotion-page-card {
    width: min(100%, 380px) !important;
    margin: 0 auto !important;
  }

  .promotions-page-clean .promotion-page-card .inner-card {
    height: auto !important;
    border-radius: 22px !important;
  }

  .promotions-page-clean .promotion-page-card .inner-card img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 10 !important;
    object-fit: contain !important;
    object-position: center !important;
    background: #070710 !important;
  }

  .promotions-page-clean .promotion-page-card .card-desc {
    min-height: 72px !important;
    padding: 14px 18px !important;
  }

  .promotions-page-clean .promotion-page-card .card-desc h3,
  .promotions-page-clean .promotion-page-card .card-desc span {
    font-size: 16px !important;
  }
}

/* Casper Kids: show the complete Aladin artwork without cropping */
.section30 .kids-games .card-img {
  background: #070710 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.section30 .kids-games .card-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  display: block !important;
}

.section30 .kids-games .game-card:hover .card-img img {
  transform: none !important;
}

/* Main slideshow: slightly smaller titles on mobile only */
@media (max-width: 768px) {
  .hero-video-showcase .hero-video-title {
    font-size: clamp(28px, 7.5vw, 30px) !important;
    line-height: 1.08 !important;
  }
}

/* promotions.html hero: final position and breadcrumb color on all screens */
.promo-hero-full .hero-overlay-content92 {
  top: 45% !important;
  z-index: 2 !important;
}

.promo-hero-full .hero-overlay-content92 h1 {
  color: #ffffff !important;
}

.promo-hero-full .hero-overlay-content92 .breadcrumb92 {
  color: #b8b8be !important;
  opacity: 1 !important;
}
