
    :root {
      --bg-main: #050608;
      --bg-card: #101018;
      --bg-card-soft: #151520;
      --accent: #e50914;
      --accent-soft: #ff4b5c;
      --text-main: #f5f5f5;
      --text-muted: #b3b3b3;
      --border-soft: rgba(255, 255, 255, 0.08);
      --shadow-soft: 0 22px 45px rgba(0, 0, 0, 0.7);
      --radius-lg: 18px;
      --radius-xl: 24px;
      --max-width: 1080px;
    }

    * {
      box-sizing: border-box;
    }

    html {
      background-color: #050608; 
      min-height: 100%;
    }

    body {
      margin: 0;
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background: radial-gradient(circle at top, #191522 0, #050608 55%);
      color: var(--text-main);
      -webkit-font-smoothing: antialiased;
	  -moz-osx-font-smoothing: grayscale;
	  text-rendering: optimizeLegibility;
    }

    a {
      color: inherit;
    }


    .site-header {
      position: sticky;
      top: 0;
      z-index: 50;
      background: radial-gradient(circle at top, rgba(25, 21, 34, 0.96) 0, rgba(5, 6, 8, 0.98) 55%);
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      box-shadow: 0 18px 35px rgba(0, 0, 0, 0.75);
      backdrop-filter: blur(10px);
    }

    .nav-container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 10px 16px;
      display: flex;
      align-items: center;
      justify-content: flex-start;
      gap: 16px;
      position: relative;
      flex-wrap: wrap;
    }

    .nav-logo {
      font-size: 18px;
      font-weight: 800;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--text-main);
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      order: 1;
    }

    .nav-logo span {
      color: var(--accent-soft);
      text-shadow: 0 0 10px rgba(229, 9, 20, 0.7);
    }

    .nav {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-left: auto;
      order: 3;
    }

    .nav-link {
      position: relative;
      padding: 7px 14px;
      border-radius: 999px;
      font-size: 13px;
      text-decoration: none;
      text-transform: uppercase;
      letter-spacing: 0.09em;
      color: var(--text-muted);
      background: rgba(0, 0, 0, 0.6);
      border: 1px solid rgba(255, 255, 255, 0.12);
      transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        background 0.15s ease,
        color 0.15s ease,
        border-color 0.15s ease;
    }

    .nav-link::after {
      content: "";
      position: absolute;
      left: 14px;
      right: 14px;
      bottom: 4px;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(229, 9, 20, 0.7), transparent);
      opacity: 0;
      transition: opacity 0.15s ease;
    }

    .nav-link:hover {
      transform: translateY(-1px) scale(1.05);
      background: rgba(229, 9, 20, 0.18);
      color: var(--text-main);
      border-color: rgba(229, 9, 0.7);
      box-shadow: 0 0 18px rgba(229, 9, 20, 0.55);
    }

    .nav-link:hover::after {
      opacity: 1;
    }

    .nav-link-active {
      color: #fff;
      background: linear-gradient(135deg, var(--accent), var(--accent-soft));
      border-color: rgba(229, 9, 20, 0.9);
      box-shadow: 0 0 22px rgba(229, 9, 20, 0.75);
    }

    .nav-toggle {
      display: none;
      width: 40px;
      height: 40px;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.28);
      background: rgba(0, 0, 0, 0.7);
      align-items: center;
      justify-content: center;
      gap: 4px;
      cursor: pointer;
      padding: 0;
      margin-left: auto;
      order: 2;
    }

    .nav-toggle span {
      display: block;
      width: 18px;
      height: 2px;
      border-radius: 999px;
      background: #fff;
      box-shadow: 0 0 6px rgba(229, 9, 20, 0.8);
      transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .site-header.nav-open .nav-toggle span:nth-child(1) {
      transform: translateY(4px) rotate(35deg);
    }

    .site-header.nav-open .nav-toggle span:nth-child(2) {
      opacity: 0;
    }

    .site-header.nav-open .nav-toggle span:nth-child(3) {
      transform: translateY(-4px) rotate(-35deg);
    }

    
    .nav-contacts-desktop {
      width: 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 22px;
      color: var(--text-muted);
      margin-top: 2px;
      order: 4;
    }

    .nav-contacts-desktop a {
      text-decoration: none;
      color: var(--text-main);
      font-weight: 600;
      text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
    }

    .nav-contacts-desktop a:hover {
      text-decoration: underline;
    }

    
    .nav-contacts-mobile {
      display: none;
      font-size: 20px;
      color: var(--text-muted);
      width: 100%;
      order: 4;
    }

    .nav-contacts-mobile a {
      color: var(--text-main);
      text-decoration: none;
      font-weight: 600;
      text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
    }

    .nav-contacts-mobile a:hover {
      text-decoration: underline;
    }

    @media (max-width: 768px) {
      .nav-toggle {
        display: inline-flex;
      }

      .nav {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        padding: 10px 16px 14px;
        background: rgba(5, 6, 8, 0.98);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.9);
        flex-direction: column;
        gap: 8px;
        display: none;
        margin-left: 0;
        order: 3;
      }

      .site-header.nav-open .nav {
        display: flex;
      }

      .nav-link {
        width: 100%;
        text-align: center;
      }

      .nav-contacts-desktop {
        display: none;
      }

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

      .nav-container {
        gap: 11px 16px;
      }
    }

    

    .page-wrapper {
      min-height: 100vh;
      display: flex;
      align-items: stretch;
      justify-content: center;
      padding: 24px 16px 40px;
    }

    .content {
      width: 100%;
      max-width: var(--max-width);
    }

    

    .hero {
      background: linear-gradient(
          135deg,
          rgba(229, 9, 20, 0.26),
          rgba(0, 0, 0, 0.9)
        ),
        url("assets/sklep.webp")
          center/cover no-repeat;
      border-radius: var(--radius-xl);
      padding: 26px 22px 28px;
      box-shadow: var(--shadow-soft);
      border: 1px solid rgba(255, 255, 255, 0.08);
      position: relative;
      overflow: hidden;
      margin-bottom: 22px;
    }

    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background: radial-gradient(
        circle at top left,
        rgba(229, 9, 20, 0.22),
        transparent 65%
      );
      mix-blend-mode: screen;
      opacity: 0.55;
      pointer-events: none;
    }

    .hero-inner {
      position: relative;
      z-index: 1;
      display: flex;
      flex-direction: column;
      gap: 14px;
      max-width: 620px;
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(0, 0, 0, 0.7);
      border-radius: 999px;
      padding: 6px 14px;
      border: 1px solid rgba(255, 255, 255, 0.16);
      width: fit-content;
      font-size: 12px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--accent-soft);
    }

    .hero-badge-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--accent-soft);
      box-shadow: 0 0 12px rgba(255, 75, 92, 0.9);
    }

    .hero-title {
      margin: 0;
      font-size: clamp(26px, 4.2vw, 36px);
      line-height: 1.2;
      color: #ffffff;
      text-shadow:
        -1.5px -1.5px 0 #000,
         1.5px -1.5px 0 #000,
        -1.5px  1.5px 0 #000,
         1.5px  1.5px 0 #000,
         0 4px 15px rgba(0, 0, 0, 0.8);
	  -webkit-font-smoothing: antialiased;
	  -moz-osx-font-smoothing: grayscale;
    }

    .hero-title span {
      color: var(--accent-soft);
    }

    .hero-subtitle {
      margin: 0;
      font-size: 14px;
      max-width: 560px;
      color: var(--text-muted);
      background: rgba(0, 0, 0, 0.72);
      padding: 10px 12px;
      border-radius: 6px;
      text-shadow:
        0 0 6px rgba(229, 9, 20, 0.25),
        0 0 12px rgba(229, 9, 20, 0.15);
      line-height: 1.6;
      backdrop-filter: blur(2px);
    }

    

    .hero-meta-row {
      margin-top: 6px;
      display: flex;
      flex-direction: column;
      gap: 6px;
      font-size: 12px;
    }

    .hero-meta-line {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .hero-meta-pill {
      display: inline-flex;
      align-items: center;
      padding: 4px 10px;
      border-radius: 999px;
      background: rgba(0, 0, 0, 0.7);
      border: 1px solid rgba(255, 255, 255, 0.14);
      white-space: nowrap;
      width: max-content;
    }

    @media (min-width: 1024px) {
      .hero-meta-row {
        display: grid;
        grid-template-columns: repeat(4, auto);
        column-gap: 8px;
        row-gap: 6px;
        align-items: flex-start;
      }

      .hero-meta-line {
        display: contents;
      }
    }

    .hero-ratings {
      margin-top: 8px;
      padding: 8px 9px;
      border-radius: 12px;
      background: rgba(0, 0, 0, 0.7);
      border: 1px solid rgba(255, 255, 255, 0.16);
      font-size: 11px;
      display: flex;
      flex-direction: column;
      gap: 4px;
      max-width: 360px;
    }

    .hero-rating-line {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 6px;
      flex-wrap: wrap;
    }

    .hero-rating-label {
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: var(--text-muted);
    }

    .hero-rating-icons {
      font-size: 13px;
    }

    .icon-active {
      color: #ffb347;
    }

    .icon-muted {
      color: rgba(255, 255, 255, 0.25);
    }

    .icon-muted img {
	  opacity: 0.4;
	  filter: grayscale(100%);
	}

    .icon-fear-active {
      color: #ff4b5c;
    }

    .icon-star-active {
      color: #ffd86b;
    }

    .icon-img {
      width: 14px;
	  height: 16px;
	  object-fit: contain;
	  display: inline-block;
	}

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 6px;
    }

    .btn {
      border-radius: 999px;
      border: none;
      padding: 10px 18px;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      text-decoration: none;
      transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease,
        color 0.15s ease;
      white-space: nowrap;
    }

    .btn-primary {
      background: linear-gradient(135deg, var(--accent), var(--accent-soft));
      color: #fff;
      box-shadow: 0 12px 30px rgba(229, 9, 20, 0.4);
    }

    .btn-primary:hover {
      transform: translateY(-1px);
      box-shadow: 0 18px 40px rgba(229, 9, 20, 0.55);
    }

    .btn-primary-call {
      background: linear-gradient(135deg, #a20b12, #cc3644);
      color: #fff;
      box-shadow: 0 8px 22px rgba(162, 11, 18, 0.4);
    }

    .btn-primary-call:hover {
      transform: translateY(-1px);
      box-shadow: 0 14px 30px rgba(162, 11, 18, 0.5);
    }

    .btn-ghost {
      background: rgba(0, 0, 0, 0.65);
      color: var(--text-main);
      border: 1px solid rgba(255, 255, 255, 0.16);
    }

    .btn-ghost:hover {
      background: rgba(0, 0, 0, 0.85);
      border-color: rgba(255, 255, 255, 0.32);
      transform: translateY(-1px);
    }

    

    .back-link {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 13px;
      margin-bottom: 10px;
      text-decoration: none;
      color: var(--text-muted);
    }

    .back-link:hover {
      color: var(--accent-soft);
    }

    

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

    .quest-block {
      margin-top: 8px;
    }

    .quest-row {
      background: radial-gradient(circle at top, #1b1b28 0, #101018 52%);
      border-radius: var(--radius-lg);
      border: 1px solid var(--border-soft);
      box-shadow: var(--shadow-soft);
      padding: 18px 18px 20px;
      display: flex;
      gap: 18px;
      align-items: stretch;
      flex-wrap: wrap;
    }

    .quest-media {
      flex: 1 1 0;
      min-width: 0;
    }

    .quest-topline {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 8px;
    }

    .quest-title {
      margin: 0 0 6px;
      font-size: 18px;
    }

    .quest-tag {
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--text-muted);
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.16);
      padding: 3px 10px;
      display: inline-block;
    }

    .quest-flags {
      display: inline-flex;
      flex-direction: row;
      gap: 8px;
      flex-shrink: 0;
    }

    .quest-flag {
      background: #000;
      border-radius: 8px;
      padding: 4px 10px;
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: #f5f5f5;
      border: 1px solid rgba(255, 255, 255, 0.18);
      white-space: nowrap;
    }

    .quest-desc {
      font-size: 14px;
      color: var(--text-muted);
      margin: 0 0 10px;
    }

    .quest-meta {
	  margin-top: 10px;
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: #ffe6ea;
      display: inline-flex;
      flex-wrap: wrap;
      gap: 8px;
      padding: 6px 10px;
      border-radius: 999px;
      background: rgba(0, 0, 0, 0.6);
      border: 1px solid rgba(255, 255, 255, 0.16);
      margin-bottom: 20px;
    }

    .quest-meta span {
      white-space: nowrap;
      display: inline-flex;
      align-items: center;
      gap: 4px;
    }

    .quest-tags {
	  margin-bottom: 15px;
      margin-top: 4px;
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      font-size: 11px;
    }

    .quest-tag-pill {
      padding: 4px 8px;
      border-radius: 999px;
      background: rgba(0, 0, 0, 0.7);
      border: 1px solid rgba(255, 255, 255, 0.16);
      color: var(--text-muted);
    }

    .quest-tags-secondary {
      margin-top: 6px;
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .quest-tags-secondary-row {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }

    .quest-tag-secondary {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 4px 9px;
      border-radius: 999px;
      background: rgba(229, 9, 20, 0.16);
      border: 1px solid rgba(229, 9, 20, 0.6);
      color: #ffd7dd;
      font-size: 11px;
      width: max-content;
    }

    .quest-tag-secondary::before {
      content: "●";
      font-size: 8px;
      opacity: 0.8;
    }

    @media (max-width: 768px) {
	  .quest-flags {
		display: flex !important;
		flex-direction: column !important;
		align-items: flex-end !important;
		gap: 6px !important;
	  }
	  
	  .quest-flag {
		white-space: nowrap !important;
	  }
	   
	  .quest-topline {
		display: flex !important;
		justify-content: space-between !important;
		align-items: flex-start !important;
	  }
	}

    @media (min-width: 1024px) {
      .quest-tags-secondary {
        display: grid;
        grid-template-columns: repeat(4, auto);
        column-gap: 6px;
        row-gap: 4px;
        align-items: flex-start;
      }

      .quest-tags-secondary-row {
        display: contents;
      }
    }

    .quest-actions {
      margin-top: 12px;
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .quest-media-row {
      margin-top: 14px;
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
    }

    .quest-media-col {
      flex: 1 1 260px;
      min-width: 0;
    }

    
    .quest-slider {
      position: relative;
      border-radius: 14px;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.12);
      background: #000;
      padding-top: 56.25%; 
      cursor: pointer;
    }

    .quest-slide {
      position: absolute;
      inset: 0;
      opacity: 0;
      transition: opacity 0.4s ease;
    }

    .quest-slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .quest-slide.active {
      opacity: 1;
      position: absolute;
    }

    .slider-controls {
      position: absolute;
      inset: 0;
      display: flex;
      justify-content: space-between;
      align-items: center;
      pointer-events: none;
      padding: 0 6px;
    }

    .slider-btn {
      pointer-events: auto;
      border: none;
      border-radius: 999px;
      width: 28px;
      height: 28px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(0, 0, 0, 0.7);
      color: #fff;
      font-size: 16px;
      cursor: pointer;
      transition: background 0.15s ease, transform 0.15s ease;
    }

    .slider-btn:hover {
      background: rgba(229, 9, 20, 0.8);
      transform: translateY(-1px);
    }

    .quest-video {
      position: relative;
      border-radius: 14px;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.12);
      background: #000;
      padding-top: 56.25%; 
    }

    .quest-video iframe {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      border: 0;
      display: block;
    }

    

    .quest-booking {
      background: radial-gradient(circle at top, #181824 0, #0d0d14 55%);
      border-radius: 14px;
      padding: 14px 14px 16px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      position: relative;
      margin-top: 12px;
      box-shadow: var(--shadow-soft);
    }

    .quest-booking::before {
      content: "";
      position: absolute;
      inset: 0;
      background-image: linear-gradient(
        -45deg,
        rgba(229, 9, 20, 0.18),
        transparent 55%
      );
      opacity: 0.4;
      mix-blend-mode: screen;
      pointer-events: none;
    }

    .quest-booking-inner {
      position: relative;
      z-index: 1;
    }

    .quest-booking-title {
      margin: 0 0 4px;
      font-size: 15px;
    }

    .quest-booking-note {
      margin: 0 0 10px;
      font-size: 12px;
      color: var(--text-muted);
    }

    .calendar-wrapper {
      background: rgba(0, 0, 0, 0.7);
      border-radius: 10px;
      padding: 6px;
      border: 1px solid rgba(255, 255, 255, 0.16);
      max-height: none;
      overflow-y: auto;
    }

    @media (max-width: 768px) {
      .calendar-wrapper {
        max-height: none;
        min-height: 30vh;
      }
    }

    .qr-modal-wrapper,
	  #calendar-hostel .qr-modal-inner,
	  [class*="qr-modal"] {
		  z-index: 99999 !important;
	}

    .site-footer {
      border-top: 1px solid rgba(255, 255, 255, 0.12);
      background: radial-gradient(circle at top, #151520 0, #050608 55%);
      padding: 22px 16px 18px;
    }

    .footer-inner {
      max-width: var(--max-width);
      margin: 0 auto;
      display: grid;
      grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.1fr);
      gap: 18px;
      font-size: 13px;
      color: var(--text-muted);
    }

    .footer-title {
      font-size: 14px;
      margin: 0 0 6px;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: var(--text-main);
    }

    .footer-brand {
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      margin-bottom: 6px;
    }

    .footer-brand span {
      color: var(--accent-soft);
    }

    .footer-bottom {
      max-width: var(--max-width);
      margin: 14px auto 0;
      padding-top: 10px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      font-size: 11px;
      color: var(--text-muted);
      display: flex;
      justify-content: space-between;
      gap: 10px;
      flex-wrap: wrap;
    }

    .footer-map {
      margin-top: 8px;
      border-radius: 12px;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.12);
    }

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

    .footer-messengers {
      margin-top: 10px;
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }

    .btn-messenger {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 8px 16px;
      border-radius: 999px;
      font-size: 13px;
      font-weight: 600;
      text-decoration: none;
      border: none;
      cursor: pointer;
      color: #fff;
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
      transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
    }

    .btn-messenger:hover {
      transform: translateY(-1px);
      box-shadow: 0 14px 32px rgba(0, 0, 0, 0.7);
      opacity: 0.95;
    }

    .btn-telegram {
      background: #0088cc;
    }

    .btn-viber {
      background: #ff4b9a;
    }

    

    .back-to-top {
      position: fixed;
      right: 16px;
      bottom: 18px;
      width: 40px;
      height: 40px;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.25);
      background: rgba(0, 0, 0, 0.8);
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
      z-index: 60;
    }

    .back-to-top.show {
      opacity: 1;
      pointer-events: auto;
      transform: translateY(0);
    }

    .back-to-top:hover {
      background: rgba(229, 9, 20, 0.9);
      transform: translateY(-2px);
    }

    

    .media-modal {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.92);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 80;
    }

    .media-modal.show {
      display: flex;
    }

    .media-modal-inner {
      position: relative;
      max-width: 1000px;
      width: calc(100% - 32px);
      max-height: 90vh;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .media-modal-img {
      max-width: 100%;
      max-height: 90vh;
      border-radius: 14px;
      box-shadow: 0 22px 45px rgba(0, 0, 0, 0.9);
      border: 1px solid rgba(255, 255, 255, 0.25);
      object-fit: contain;
      background: #000;
    }

    .media-modal-close {
      position: absolute;
      left: 8px;
      top: 8px;
      border: none;
      border-radius: 999px;
      width: 32px;
      height: 32px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(0, 0, 0, 0.85);
      color: #fff;
      cursor: pointer;
      font-size: 16px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);
    }

    .media-modal-nav {
      position: absolute;
      inset: 0;
      display: flex;
      justify-content: space-between;
      align-items: center;
      pointer-events: none;
    }

    .media-modal-nav button {
      pointer-events: auto;
      border: none;
      border-radius: 999px;
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(0, 0, 0, 0.75);
      color: #fff;
      cursor: pointer;
      font-size: 20px;
      margin: 0 12px;
    }

    

    .legend-modal {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.9);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 75;
    }

    .legend-modal.show {
      display: flex;
    }

    .legend-modal-inner {
      position: relative;
      max-width: 720px;
      width: calc(100% - 32px);
      max-height: 90vh;
      background: #0b0b11;
      border-radius: 18px;
      border: 1px solid rgba(255, 255, 255, 0.16);
      box-shadow: var(--shadow-soft);
      padding: 18px 18px 16px 46px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }

    .legend-modal-close {
      position: absolute;
      left: 10px;
      top: 8px;
      border: none;
      border-radius: 999px;
      width: 30px;
      height: 30px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(0, 0, 0, 0.85);
      color: #fff;
      cursor: pointer;
      font-size: 16px;
    }

    .legend-modal-title {
      margin: 0 0 8px;
      font-size: 18px;
    }

    .legend-modal-body {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.6;
      overflow-y: auto;
      padding-right: 4px;
    }

    @media (max-width: 900px) {
      .quest-row {
        flex-direction: column;
      }
    }

    @media (max-width: 768px) {
      .page-wrapper {
        padding: 20px 12px 32px;
      }

      .hero {
        padding: 20px 16px 22px;
        margin-bottom: 20px;
      }

      .hero-actions {
        flex-direction: row;
        justify-content: center;
      }

      .hero-actions .btn {
        flex: 1 1 calc(50% - 8px);
        justify-content: center;
      }

      .quest-actions {
        flex-direction: column;
        align-items: center;
      }

      .quest-actions .btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
      }

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

      .legend-modal-inner {
        padding-left: 42px;
      }
    }
	.mobile-break {
  display: none;
}

@media (max-width: 600px) {
  .mobile-break {
    display: block;
  }

  .divider {
    display: none;
  }
}
  

