/* ========================================================
   CYBER GORILLA — 1:1 MOBILE LANDING PAGE (FRAME 93)
   ======================================================== */

:root {
  --bg-dark: #10061d;
  --bg-gradient: radial-gradient(circle at 50% 0%, #2a1241 0%, #150827 50%, #0a0314 100%);
  --neon-yellow: #FDED02;
  --neon-cyan: #04D0DD;
  --neon-pink: #FF007A;
  --neon-purple: #9D4EDD;
  --card-bg: rgba(38, 16, 61, 0.85);
  --card-border: rgba(4, 208, 221, 0.35);

  --font-heading: 'Orbitron', 'Russo One', sans-serif;
  --font-body: 'Montserrat', system-ui, -apple-system, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  background-image: var(--bg-gradient);
  color: #FFFFFF;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
  position: relative;
}

/* Ambient Cyber Glow on Desktop Sides */
body::before, body::after {
  content: '';
  position: fixed;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

body::before {
  background: var(--neon-purple);
  top: 10%;
  left: max(-150px, calc(50% - 450px));
}

body::after {
  background: var(--neon-cyan);
  bottom: 20%;
  right: max(-150px, calc(50% - 450px));
}

/* ========================================================
   APP CONTAINER (MOBILE-FIRST 1:1 CANVAS)
   ======================================================== */
.app-container {
  width: 100%;
  max-width: 520px;
  min-height: 100vh;
  background: #2A1241;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(157, 78, 221, 0.3);
  padding-bottom: 40px;
}

@media (min-width: 521px) {
  .app-container {
    margin: 20px auto;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(4, 208, 221, 0.3);
    overflow: hidden;
  }
}

/* ========================================================
   1:1 POSTER WRAPPER WITH INTERACTIVE HOTSPOTS
   ======================================================== */
.poster-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 10040 / 23623;
  overflow: hidden;
  background: #2A1241;
}

.poster-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  pointer-events: none;
}

/* Interactive Hotspots Overlaid on SVG Coordinates */
.hotspot {
  position: absolute;
  cursor: pointer;
  z-index: 10;
  border-radius: var(--radius-sm);
  transition: transform 0.2s, background 0.2s;
}

/* Header Hotspot */
.hotspot-header {
  top: 1.2%;
  left: 6%;
  width: 36%;
  height: 4.8%;
}

/* ========================================================
   FULL-WIDTH BRANCHES & ONLINE BOOKING SECTION
   ======================================================== */
.branches-fullwidth-section {
  position: absolute;
  top: 75.3%;
  left: 0;
  width: 100%;
  height: 15.8%;
  padding: 4px 12px 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 20;
}

.branches-header-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 2px;
}

.branches-pin-icon {
  width: 20px;
  height: 20px;
  filter: drop-shadow(0 0 6px #FDED02);
  flex-shrink: 0;
}

.branches-heading-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #FFFFFF;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
}

.branches-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 100%;
}

.branch-station-card {
  background: rgba(16, 6, 29, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(4, 208, 221, 0.4);
  border-radius: 12px;
  padding: 8px 6px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.65);
  transition: all 0.25s ease;
}

.branch-station-card:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 16px rgba(4, 208, 221, 0.45);
  transform: translateY(-2px);
}

.station-map-trigger {
  width: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 2px 0;
  outline: none;
  color: #FFFFFF;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.station-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FDED02;
  box-shadow: 0 0 8px #FDED02, 0 0 12px rgba(253, 237, 2, 0.8);
  animation: dotPulse 1.4s infinite;
  flex-shrink: 0;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.station-name {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 0.8px;
  transition: all 0.2s ease;
}

.station-map-trigger:hover .station-name {
  color: var(--neon-cyan);
  text-shadow: 0 0 8px var(--neon-cyan);
}

.station-map-icon {
  font-size: 0.7rem;
  opacity: 0.9;
}

.station-address {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  color: #C0B2D8;
  margin: 4px 0 8px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.station-booking-btn {
  width: 100%;
  background: #FDED02;
  color: #10061D;
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-align: center;
  text-decoration: none;
  padding: 7px 4px;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(253, 237, 2, 0.5);
  transition: all 0.2s ease;
  display: block;
}

.station-booking-btn:hover {
  background: #FFFFFF;
  box-shadow: 0 0 16px #FDED02, 0 0 22px #FDED02;
  transform: scale(0.97);
}

@media (max-width: 420px) {
  .branches-heading-title { font-size: 0.82rem; }
  .station-name { font-size: 0.74rem; }
  .station-address { font-size: 0.58rem; margin: 3px 0 6px; }
  .station-booking-btn { font-size: 0.56rem; padding: 6px 2px; }
}

/* ========================================================
   PROMO CODES SECTION ("ПРОМИКИ")
   ======================================================== */
.promo-section {
  padding: 32px 20px 24px;
  background: linear-gradient(180deg, #2A1241 0%, #17082a 100%);
  border-top: 2px solid rgba(4, 208, 221, 0.3);
  position: relative;
}

.promo-section-header {
  text-align: center;
  margin-bottom: 24px;
}

.promo-section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--neon-cyan);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.promo-section-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 1px;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 8px;
}

.promo-section-title span {
  color: var(--neon-yellow);
  text-shadow: 0 0 14px rgba(253, 237, 2, 0.5);
}

.promo-section-desc {
  font-size: 0.85rem;
  color: #C0B2D8;
}

/* Filter pills */
.promo-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 20px;
  scrollbar-width: none;
}
.promo-filters::-webkit-scrollbar { display: none; }

.filter-btn {
  white-space: nowrap;
  background: rgba(13, 6, 23, 0.7);
  border: 1px solid rgba(4, 208, 221, 0.3);
  color: #B8A9D1;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 8px 14px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active {
  background: var(--neon-cyan);
  color: #0d0617;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 12px rgba(4, 208, 221, 0.6);
}

/* Promo Card */
.promo-cards-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.promo-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 18px;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.promo-item:active {
  transform: scale(0.99);
}

.promo-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.promo-item-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
}

.promo-item-badge {
  background: rgba(253, 237, 2, 0.2);
  border: 1px solid var(--neon-yellow);
  color: var(--neon-yellow);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.promo-item-benefit {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--neon-yellow);
  text-shadow: 0 0 10px rgba(253, 237, 2, 0.35);
  margin-bottom: 8px;
}

.promo-item-desc {
  font-size: 0.82rem;
  color: #B8A9D1;
  margin-bottom: 14px;
  line-height: 1.45;
}

.promo-code-container {
  background: #0d0617;
  border: 1px dashed var(--neon-cyan);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.promo-code-val {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 1.5px;
  color: var(--neon-cyan);
}

.copy-btn {
  background: var(--neon-cyan);
  color: #0d0617;
  border: none;
  border-radius: 6px;
  padding: 6px 12px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.72rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 4px;
}

.copy-btn:active {
  transform: scale(0.95);
}

.copy-btn.copied {
  background: #10B981;
  color: #fff;
}

/* ========================================================
   WHEEL OF FORTUNE MINI-GAME
   ======================================================== */
.wheel-card {
  margin-top: 24px;
  background: rgba(22, 9, 38, 0.9);
  border: 1px solid var(--neon-yellow);
  border-radius: var(--radius-md);
  padding: 24px 18px;
  text-align: center;
  box-shadow: 0 0 20px rgba(253, 237, 2, 0.2);
}

.wheel-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 6px;
}

.wheel-card-title span {
  color: var(--neon-yellow);
}

.wheel-card-desc {
  font-size: 0.82rem;
  color: #B8A9D1;
  margin-bottom: 20px;
}

.wheel-box {
  position: relative;
  width: 270px;
  height: 270px;
  margin: 0 auto 20px;
}

.wheel-canvas {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 5px solid var(--neon-cyan);
  box-shadow: 0 0 20px rgba(4, 208, 221, 0.5);
  transition: transform 4s cubic-bezier(0.12, 0.95, 0.2, 1);
}

.wheel-pointer {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 24px solid var(--neon-yellow);
  filter: drop-shadow(0 0 6px var(--neon-yellow));
  z-index: 10;
}

.wheel-spin-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-yellow), #f39c12);
  border: 3px solid #0d0617;
  color: #0d0617;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 0 16px rgba(253, 237, 2, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.wheel-spin-center:active {
  transform: translate(-50%, -50%) scale(0.92);
}

.wheel-win-alert {
  display: none;
  background: #0d0617;
  border: 1px solid var(--neon-yellow);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-top: 14px;
  animation: fadeIn 0.4s ease;
}

.wheel-win-alert.active { display: block; }

/* ========================================================
   CYBER MAP MODAL / POPUP
   ======================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 4, 18, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.map-modal-dialog {
  width: 100%;
  max-width: 440px;
  background: #140824;
  border: 2px solid #04D0DD;
  border-radius: 22px;
  box-shadow: 0 0 35px rgba(4, 208, 221, 0.6), 0 20px 40px rgba(0, 0, 0, 0.95);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: scale(0.92) translateY(10px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .map-modal-dialog {
  transform: scale(1) translateY(0);
}

.map-modal-header {
  padding: 14px 16px 12px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid rgba(4, 208, 221, 0.25);
  background: rgba(22, 11, 38, 0.85);
}

.modal-club-badge {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--neon-cyan);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.modal-club-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: 3px;
  letter-spacing: 0.5px;
}

.modal-club-address {
  font-size: 0.78rem;
  color: #C0B2D8;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(4, 208, 221, 0.4);
  color: #FFFFFF;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.modal-close-btn:hover {
  background: rgba(255, 0, 122, 0.3);
  border-color: #FF007A;
  color: #FF007A;
}

/* Modal Map Viewport */
.modal-map-viewport {
  width: 100%;
  height: 250px;
  position: relative;
  background: #0f071e;
  overflow: hidden;
}

.modal-map-canvas {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  filter: invert(90%) hue-rotate(180deg) brightness(85%) contrast(125%);
}

.modal-map-canvas .ymaps-2-1-79-map {
  background-color: #10061e !important;
}

/* Modal Action Buttons */
.modal-actions-list {
  padding: 12px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(22, 11, 38, 0.95);
}

.modal-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.modal-action-btn.btn-booking {
  background: #FDED02;
  color: #10061D;
  box-shadow: 0 0 16px rgba(253, 237, 2, 0.5);
}
.modal-action-btn.btn-booking:hover {
  background: #FFFFFF;
  box-shadow: 0 0 22px #FDED02;
  transform: translateY(-1px);
}

.modal-action-btn.btn-route {
  background: rgba(4, 208, 221, 0.15);
  border: 1px solid #04D0DD;
  color: #04D0DD;
  box-shadow: 0 0 12px rgba(4, 208, 221, 0.25);
}
.modal-action-btn.btn-route:hover {
  background: rgba(4, 208, 221, 0.28);
  box-shadow: 0 0 18px rgba(4, 208, 221, 0.5);
  transform: translateY(-1px);
}

.modal-action-btn.btn-call {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #D4C7EC;
  font-size: 0.72rem;
}
.modal-action-btn.btn-call:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
}

/* Toast */
.toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: #0d0617;
  border: 2px solid var(--neon-yellow);
  box-shadow: 0 0 24px rgba(253, 237, 2, 0.7);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  z-index: 20000;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 8px;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
