﻿:root {
  color-scheme: dark;
  --bg: #060b15;
  --bg-soft: #0b1424;
  --surface: rgba(14, 24, 40, 0.84);
  --surface-strong: rgba(17, 30, 50, 0.94);
  --surface-hover: rgba(24, 40, 64, 0.94);
  --ink: #eef5ff;
  --ink-soft: #cfddf5;
  --muted: #9dafcb;
  --brand: #0f2f4f;
  --brand-soft: #1a4f74;
  --frame: #2e5f8b;
  --frame-soft: #4f83b1;
  --frame-deep: #10273e;
  --frame-rgb: 46, 95, 139;
  --app-top: #053053;
  --app-mid: #041327;
  --app-bottom: #020916;
  --accent: #0ea88a;
  --accent-soft: #56cfb5;
  --border: rgba(150, 184, 225, 0.26);
  --ring: rgba(14, 168, 138, 0.34);
  --brand-rgb: 15, 47, 79;
  --accent-rgb: 14, 168, 138;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-lg: 0 30px 72px rgba(0, 0, 0, 0.42);
  --shadow-md: 0 18px 40px rgba(0, 0, 0, 0.35);
  --max-width: 1160px;
  --btn-radius-unified: 18px;
  --btn-border-unified: 1.5px;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: "Tajawal", "Changa", "Segoe UI", sans-serif;
  line-height: 1.85;
  color: var(--ink);
  background:
    radial-gradient(900px 470px at 10% -18%, rgba(var(--brand-rgb), 0.34) 0%, transparent 62%),
    radial-gradient(930px 470px at 95% -12%, rgba(var(--accent-rgb), 0.24) 0%, transparent 61%),
    radial-gradient(860px 520px at 50% 120%, rgba(11, 25, 44, 0.82) 0%, transparent 70%),
    var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.25;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 38px 38px;
}

body.is-booting {
  overflow: hidden;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 520;
  display: grid;
  place-items: center;
  padding: 1rem;
  background:
    linear-gradient(
      180deg,
      var(--app-top) 0%,
      var(--app-mid) 56%,
      var(--app-bottom) 100%
    );
  overflow: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.page-loader::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(340px 220px at 14% 18%, rgba(var(--frame-rgb), 0.2) 0%, transparent 72%),
    radial-gradient(380px 250px at 84% 20%, rgba(255, 255, 255, 0.09) 0%, transparent 75%),
    radial-gradient(460px 320px at 50% 104%, rgba(var(--frame-rgb), 0.14) 0%, transparent 78%);
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader-panel {
  position: relative;
  z-index: 1;
  min-width: min(332px, 92vw);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.14) 0%,
      rgba(24, 36, 56, 0.74) 46%,
      rgba(12, 22, 38, 0.84) 100%
    );
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px) saturate(145%);
  -webkit-backdrop-filter: blur(20px) saturate(145%);
  padding: 1.22rem 1.18rem 1.12rem;
  display: grid;
  justify-items: center;
  gap: 0.68rem;
}

.page-loader-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(112deg, transparent 18%, rgba(255, 255, 255, 0.18) 50%, transparent 84%);
  opacity: 0.72;
}

.page-loader-logo {
  width: 62px;
  height: 62px;
  object-fit: contain;
  filter:
    drop-shadow(0 10px 24px rgba(var(--frame-rgb), 0.42))
    drop-shadow(0 0 12px rgba(255, 255, 255, 0.24));
  animation: page-loader-logo-breathe 2.1s ease-in-out infinite;
}

.page-loader-text {
  font-size: 1.12rem;
  font-weight: 900;
  letter-spacing: 0.1px;
  color: var(--ink);
}

.page-loader-subtext {
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(232, 244, 255, 0.78);
}

.page-loader-progress {
  width: min(272px, 74vw);
  height: 9px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.14);
}

.page-loader-progress-bar {
  display: block;
  width: 34%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--frame), #ffffff, var(--frame-soft));
  box-shadow: 0 0 12px rgba(var(--frame-rgb), 0.58);
  animation: page-loader-bar-move 1.35s ease-in-out infinite;
}

@keyframes page-loader-bar-move {
  from {
    transform: translateX(-125%);
  }
  to {
    transform: translateX(295%);
  }
}

@keyframes page-loader-logo-breathe {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-1px) scale(1.03);
  }
}

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

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

.skip-link {
  position: absolute;
  top: -96px;
  right: 1rem;
  z-index: 999;
  border-radius: 12px;
  padding: 0.7rem 1.05rem;
  background: linear-gradient(140deg, var(--accent), var(--accent-soft));
  color: #062a21;
  font-weight: 800;
}

.skip-link:focus {
  top: 1rem;
}

.site-shell {
  width: min(var(--max-width), calc(100% - 2.2rem));
  margin-inline: auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 120;
  border-bottom: 1px solid var(--border);
  background: rgba(7, 13, 23, 0.86);
  backdrop-filter: blur(14px);
}

.topbar .site-shell {
  width: min(var(--max-width), calc(100% - 0.8rem));
}

.topbar-row {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.95rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  padding: 2px;
  border: 1px solid rgba(var(--accent-rgb), 0.7);
  background: linear-gradient(150deg, var(--accent), var(--brand-soft));
  box-shadow: 0 8px 20px rgba(var(--accent-rgb), 0.32);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  border-radius: 9px;
  object-fit: cover;
  background: #0a1422;
}

.brand-title {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.22;
}

.brand-title b {
  font-size: 1rem;
  letter-spacing: 0.2px;
}

.brand-title small {
  font-size: 0.81rem;
  color: var(--muted);
}

.topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.topbar-actions .brand-link {
  min-height: 40px;
  padding: 0.5rem 0.92rem;
  border-radius: 11px;
}

.btn,
.brand-link,
.ghost-link,
.chip-link,
.menu-toggle,
.store-pill {
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: 0.1px;
  font-family: "Tajawal", "Changa", "Segoe UI", sans-serif;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.btn:hover,
.brand-link:hover,
.ghost-link:hover,
.chip-link:hover,
.menu-toggle:hover,
.store-pill:hover {
  transform: translateY(-1px);
}

.brand-link,
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.62rem 1rem;
  border-color: rgba(var(--frame-rgb), 0.58);
  background: linear-gradient(140deg, var(--frame), var(--frame-soft));
  color: #f7fbff;
  box-shadow:
    0 14px 30px rgba(var(--frame-rgb), 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.brand-link:hover,
.btn-primary:hover {
  color: #ffffff;
  box-shadow:
    0 18px 34px rgba(var(--frame-rgb), 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.topbar-actions .brand-link {
  min-height: 40px;
  padding: 0.5rem 0.92rem;
  border-radius: 11px;
  border: 1.5px solid rgba(255, 255, 255, 0.92);
  background: transparent;
  color: #ffffff;
  box-shadow: none;
}

.topbar-actions .brand-link:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  box-shadow: none;
}

.ghost-link,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.62rem 1rem;
  border-color: rgba(var(--frame-rgb), 0.58);
  background: linear-gradient(140deg, var(--frame), var(--frame-soft));
  color: #f7fbff;
  box-shadow:
    0 12px 24px rgba(var(--frame-rgb), 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.ghost-link:hover,
.btn-ghost:hover {
  color: #ffffff;
  box-shadow:
    0 16px 30px rgba(var(--frame-rgb), 0.43),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.btn-secondary,
.store-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.58rem 0.9rem;
  color: var(--ink-soft);
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.chip-link:hover,
.btn-secondary:hover,
.store-pill:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.09);
}

.chip-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.62rem 1rem;
  border-color: rgba(var(--frame-rgb), 0.58);
  background: linear-gradient(140deg, var(--frame), var(--frame-soft));
  color: #f7fbff;
  box-shadow:
    0 12px 24px rgba(var(--frame-rgb), 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.chip-link:hover {
  color: #ffffff;
  box-shadow:
    0 16px 30px rgba(var(--frame-rgb), 0.43),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.menu-toggle {
  width: 44px;
  height: 44px;
  min-width: auto;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #ffffff;
  box-shadow: none;
}

.menu-toggle:hover {
  background: transparent;
  color: #ffffff;
  box-shadow: none;
}

.menu-icon {
  font-size: 1.26rem;
  line-height: 1;
  text-shadow: 0 0 14px rgba(var(--frame-rgb), 0.58);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

main {
  padding-bottom: 1rem;
}

.section-block {
  margin-top: 2.05rem;
}

.section-head {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2.8vw, 2rem);
  line-height: 1.3;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero {
  margin-top: 1.2rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(var(--frame-rgb), 0.68);
  box-shadow:
    0 30px 78px rgba(0, 0, 0, 0.5),
    0 18px 34px rgba(var(--frame-rgb), 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  padding: clamp(1.3rem, 2.7vw, 2.45rem);
  background:
    radial-gradient(360px 240px at 16% 4%, rgba(255, 255, 255, 0.22) 0%, transparent 70%),
    radial-gradient(420px 260px at 96% 6%, rgba(var(--frame-rgb), 0.36) 0%, transparent 72%),
    linear-gradient(150deg, var(--frame-deep) 0%, var(--frame) 56%, var(--frame-soft) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -26%;
  right: -12%;
  width: 72%;
  height: 56%;
  background: linear-gradient(112deg, transparent 12%, rgba(255, 255, 255, 0.23) 48%, transparent 82%);
  transform: rotate(-7deg);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  left: -120px;
  bottom: -150px;
  background: rgba(255, 255, 255, 0.12);
}

.app-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.32fr 1fr;
  gap: 1rem;
}

.app-hero-content {
  display: grid;
  gap: 0.7rem;
}

.hero-badge {
  width: fit-content;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(var(--frame-rgb), 0.34);
  color: #eef6ff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  padding: 0.33rem 0.82rem;
  font-size: 0.83rem;
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  line-height: 1.24;
  font-size: clamp(1.65rem, 3.8vw, 2.76rem);
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.34);
}

.hero p {
  margin: 0;
  color: #d4e5fb;
}

.hero-points {
  margin: 0;
  padding-right: 1.05rem;
  display: grid;
  gap: 0.42rem;
  color: #dcecff;
  font-size: 0.93rem;
}

.hero-points li::marker {
  color: var(--accent-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.62rem;
  margin-top: 0.2rem;
}

.hero-actions-primary .hero-download-btn,
.hero-actions-primary .support-outline {
  min-height: 50px;
  padding-inline: 1.28rem;
  border-radius: 14px;
}

.hero-actions-primary .hero-download-btn {
  border: 1.5px solid rgba(255, 255, 255, 0.92);
  background: #ffffff;
  color: var(--frame);
  box-shadow:
    0 10px 24px rgba(var(--frame-rgb), 0.25),
    0 6px 16px rgba(0, 0, 0, 0.2);
}

.hero-actions-primary .hero-download-btn:hover {
  background: rgba(255, 255, 255, 0.96);
  color: var(--frame-deep);
  box-shadow:
    0 14px 28px rgba(var(--frame-rgb), 0.32),
    0 8px 18px rgba(0, 0, 0, 0.23);
}

.app-hero-panel {
  display: grid;
  gap: 0.65rem;
  align-content: start;
}

.hero-panel-logo-wrap {
  width: 74px;
  height: 74px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.17), rgba(var(--frame-rgb), 0.24));
  box-shadow:
    0 12px 26px rgba(var(--frame-rgb), 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  display: grid;
  place-items: center;
  margin-inline: auto;
  margin-bottom: 0.1rem;
}

.hero-panel-card {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(var(--frame-rgb), 0.2));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.17);
  padding: 0.78rem 0.86rem;
  display: grid;
  gap: 0.18rem;
}

.hero-panel-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  margin: 0;
  filter: drop-shadow(0 6px 12px rgba(var(--frame-rgb), 0.35));
  opacity: 0.96;
}

.hero-panel-card b {
  font-size: 1.02rem;
}

.hero-panel-card span {
  color: #d5e7fd;
  font-size: 0.88rem;
}

.panel,
.feature-card,
.step-card,
.auth-card,
.diwaniya-card,
.download-card,
.join-card,
.legal-card,
.trust-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.panel {
  padding: 1rem;
}

.trust-grid,
.feature-grid,
.auth-grid,
.step-grid,
.diwaniya-layout,
.support-grid,
.legal-layout {
  display: grid;
  gap: 0.9rem;
}

.trust-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.trust-card {
  padding: 0.95rem;
  display: grid;
  gap: 0.35rem;
}

.trust-card h3 {
  margin: 0;
  font-size: 1.02rem;
}

.trust-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.91rem;
}

.feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
}

.feature-card {
  padding: 0.95rem;
  display: grid;
  gap: 0.4rem;
}

.feature-card h3 {
  margin: 0;
  font-size: 1.03rem;
  color: #f4f8ff;
}

.feature-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tag-pill {
  border-radius: 999px;
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  background: rgba(var(--accent-rgb), 0.12);
  color: #dff8f2;
  padding: 0.2rem 0.66rem;
  font-size: 0.77rem;
  font-weight: 700;
}

.diwaniya-layout {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.diwaniya-card {
  padding: 1rem;
}

.diwaniya-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.08rem;
}

.diwaniya-card p {
  margin: 0;
  color: var(--ink-soft);
}

.diwaniya-card ul {
  margin: 0.72rem 0 0;
  padding-right: 1rem;
  display: grid;
  gap: 0.4rem;
  color: #d8e9ff;
  font-size: 0.9rem;
}

.diwaniya-card li::marker {
  color: var(--accent-soft);
}

.step-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.step-card {
  padding: 0.9rem;
  display: grid;
  gap: 0.3rem;
}

.step-card span {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--brand), var(--brand-soft));
  color: #eff7ff;
  font-size: 0.86rem;
  font-weight: 800;
}

.step-card h3 {
  margin: 0;
  font-size: 1rem;
}

.step-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.auth-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.auth-card {
  padding: 0.92rem;
}

.auth-card h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
}

.auth-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.gallery-clean-grid {
  display: flex;
  gap: 0.86rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.2rem 0.05rem 0.62rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.42) transparent;
}

.gallery-clean-grid::-webkit-scrollbar {
  height: 10px;
}

.gallery-clean-grid::-webkit-scrollbar-track {
  background: transparent;
}

.gallery-clean-grid::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.28);
  border-radius: 999px;
}

.gallery-clean-grid::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.42);
}

.gallery-clean-item {
  flex: 0 0 clamp(148px, 16vw, 192px);
  scroll-snap-align: start;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface-strong);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  padding: 0;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.gallery-clean-item:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--accent-rgb), 0.56);
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.42);
}

.gallery-clean-item img {
  width: 100%;
  aspect-ratio: 10 / 18;
  object-fit: cover;
}

.gallery-clean-item:first-child {
  grid-column: auto;
  grid-row: auto;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 260;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(1, 8, 16, 0.86);
  backdrop-filter: blur(8px);
}

.gallery-modal.is-open {
  display: flex;
}

body.gallery-lock,
body.menu-lock {
  overflow: hidden;
}

.gallery-figure {
  margin: 0;
  width: min(560px, 92vw);
  display: grid;
  justify-items: center;
}

.gallery-figure img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 18px;
  border: 1px solid rgba(188, 217, 250, 0.33);
  background: #071120;
}

.gallery-figure figcaption {
  display: none;
}

.gallery-close,
.gallery-nav {
  border: 1px solid rgba(206, 230, 255, 0.33);
  background: rgba(8, 18, 34, 0.78);
  color: #eef6ff;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.gallery-close:hover,
.gallery-nav:hover {
  transform: translateY(-1px);
  background: rgba(16, 32, 54, 0.94);
}

.gallery-close {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.35rem;
  line-height: 1;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.18rem;
}

.gallery-prev {
  right: max(1rem, calc(50% + 310px));
}

.gallery-next {
  left: max(1rem, calc(50% + 310px));
}

.gallery-counter {
  position: absolute;
  right: 50%;
  bottom: 1rem;
  transform: translateX(50%);
  border-radius: 999px;
  border: 1px solid rgba(200, 225, 255, 0.33);
  background: rgba(8, 16, 29, 0.7);
  color: #e3f1ff;
  padding: 0.28rem 0.74rem;
  font-size: 0.8rem;
  font-weight: 700;
}

.support-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.support-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.74rem 0.8rem;
  display: grid;
  gap: 0.2rem;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.support-item:hover {
  border-color: rgba(var(--accent-rgb), 0.5);
  background: rgba(var(--accent-rgb), 0.12);
}

.support-item span {
  color: var(--muted);
  font-size: 0.84rem;
}

.support-item b {
  font-size: 0.95rem;
}

.download-panel {
  text-align: center;
  display: grid;
  gap: 0.75rem;
  justify-items: center;
}

.support-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  background: transparent;
  color: #ffffff;
  box-shadow: none;
}

.support-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  box-shadow: none;
}

.download-panel h2,
.download-panel p {
  margin: 0;
}

.availability-strip {
  display: grid;
  justify-items: center;
  gap: 0.56rem;
}

.availability-label {
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink-soft);
  padding: 0.3rem 0.78rem;
  font-size: 0.84rem;
  font-weight: 700;
}

.store-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
}

.store-pill {
  min-width: 145px;
}

.store-pill-icon {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.store-pill-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.store-pill-icon.stroke svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-simple {
  margin-top: 1.2rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(173, 210, 246, 0.24);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.2rem, 2.5vw, 2rem);
  background: linear-gradient(150deg, #0a1a2f 0%, var(--brand-soft) 100%);
}

.hero-simple h1 {
  margin: 0 0 0.5rem;
  line-height: 1.33;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.hero-simple p {
  margin: 0;
  color: #d5e6fb;
}

.legal-layout {
  margin-top: 1.35rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.legal-card {
  padding: 1rem;
}

.legal-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.legal-sub {
  margin: 0 0 0.68rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.legal-text {
  margin: 0;
  white-space: pre-wrap;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.93;
}

.download-layout,
.join-layout {
  min-height: calc(100vh - 82px - 110px);
  display: grid;
  place-items: center;
  padding-block: 1.9rem;
}

.download-card,
.join-card {
  width: min(760px, 100%);
  padding: clamp(1.1rem, 2.8vw, 2rem);
}

.download-card h1,
.join-card h1 {
  margin: 0 0 0.38rem;
  font-size: clamp(1.25rem, 2.7vw, 1.87rem);
  line-height: 1.4;
}

.download-card p,
.join-card p {
  margin: 0;
  color: var(--ink-soft);
}

.device-meta,
.join-meta {
  margin-top: 0.95rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: #cfe2ff;
  padding: 0.72rem 0.8rem;
  font-size: 0.9rem;
}

.download-actions,
.join-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.62rem;
}

.download-note,
.join-note {
  margin-top: 0.76rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.notice {
  margin-top: 0.92rem;
  border-radius: 14px;
  border: 1px dashed rgba(241, 164, 58, 0.48);
  background: rgba(241, 164, 58, 0.12);
  color: #f8cf90;
  padding: 0.72rem 0.8rem;
  font-size: 0.86rem;
}

.footer {
  margin-top: 2.1rem;
  border-top: 1px solid var(--border);
  padding: 1.15rem 0 1.72rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.72rem;
  flex-wrap: wrap;
}

.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 0.76rem;
  flex-wrap: wrap;
}

.inline-link {
  color: var(--accent-soft);
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.inline-link:hover {
  color: #ffffff;
}

.support-fab {
  display: none !important;
  visibility: hidden;
  pointer-events: none;
  position: fixed;
  left: 1.32rem;
  bottom: 1rem;
  width: 62px;
  height: 62px;
  border: 1px solid rgba(var(--frame-rgb), 0.72);
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(150deg, var(--frame), var(--frame-soft));
  color: #ecf9ff;
  box-shadow: 0 14px 30px rgba(var(--frame-rgb), 0.35);
  cursor: pointer;
  z-index: 140;
  display: grid;
  place-items: center;
  line-height: 0;
}

.support-fab:hover {
  transform: translateY(-2px);
}

.support-fab-icon {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #0a1422;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.support-fab-icon svg {
  display: block;
  width: 28px;
  height: 28px;
  stroke: #ffffff;
  stroke-width: 1.9;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(var(--frame-rgb), 0.45));
}

.side-menu {
  position: fixed;
  inset: 0;
  z-index: 230;
  pointer-events: none;
}

.side-menu.is-open {
  pointer-events: auto;
}

.side-menu-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(2, 7, 14, 0.68);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.side-menu.is-open .side-menu-backdrop {
  opacity: 1;
}

.side-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(370px, 88vw);
  height: 100%;
  border-left: 1px solid var(--border);
  background: linear-gradient(165deg, rgba(8, 16, 30, 0.98), rgba(11, 24, 40, 0.98));
  box-shadow: -18px 0 38px rgba(0, 0, 0, 0.44);
  padding: 1rem;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0.8rem;
  transform: translateX(110%);
  transition: transform 0.24s ease;
}

.side-menu.is-open .side-menu-panel {
  transform: translateX(0);
}

.side-menu-head {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 0.36rem;
  border-bottom: 1px solid var(--border);
  padding: 0.2rem 0 0.8rem;
}

.side-menu-brand {
  display: grid;
  justify-items: center;
  gap: 0.34rem;
}

.side-menu-brand-mark {
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  display: grid;
  place-items: center;
}

.side-menu-brand-mark img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
}

.side-menu-brand b {
  font-size: 1.08rem;
  line-height: 1.2;
}

.side-menu-close {
  position: absolute;
  top: 0;
  left: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  line-height: 1;
  font-size: 1.3rem;
  cursor: pointer;
}

.side-menu-links {
  display: grid;
  align-content: start;
  gap: 0.44rem;
}

.side-menu-links a {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.66rem 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  font-weight: 700;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.side-menu-links a:hover {
  background: rgba(var(--accent-rgb), 0.14);
  border-color: rgba(var(--accent-rgb), 0.42);
}

.side-menu-links a.menu-cta {
  border: 1.5px solid rgba(255, 255, 255, 0.92);
  background: transparent;
  color: #ffffff;
  box-shadow: none;
  text-align: center;
  display: flex;
  justify-content: center;
}

.side-menu-links a.menu-cta:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
  color: #ffffff;
}

.spaced {
  margin-top: 0.9rem;
}

.brand-link:focus-visible,
.ghost-link:focus-visible,
.chip-link:focus-visible,
.menu-toggle:focus-visible,
.store-pill:focus-visible,
.side-menu-close:focus-visible,
.side-menu-links a:focus-visible,
.inline-link:focus-visible,
.support-fab:focus-visible,
.gallery-close:focus-visible,
.gallery-nav:focus-visible,
.gallery-clean-item:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--ring);
}

/* App-style glass theme (mirrors Flutter GlobalGlassBackground) */
body {
  background: linear-gradient(
    180deg,
    var(--app-top) 0%,
    var(--app-mid) 56%,
    var(--app-bottom) 100%
  );
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -3;
  opacity: .82;
  background-image:
    radial-gradient(250px 250px at 12% 14%, rgba(var(--frame-rgb), 0.2) 0%, transparent 74%),
    radial-gradient(200px 200px at 88% 22%, rgba(255, 255, 255, 0.09) 0%, transparent 74%),
    radial-gradient(320px 320px at 50% 96%, rgba(var(--frame-rgb), 0.16) 0%, transparent 76%),
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-repeat: no-repeat, no-repeat, no-repeat, repeat, repeat;
  background-size:
    250px 250px,
    200px 200px,
    320px 320px,
    34px 34px,
    34px 34px;
  background-position:
    12% 13%,
    88% 22%,
    50% 98%,
    center,
    center;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  opacity: .26;
  background: radial-gradient(circle at center, transparent 56%, rgba(0, 0, 0, .3) 100%);
}

.app-bg-cards {
  display: none;
}

.app-bg-card {
  position: absolute;
  width: 162px;
  height: 220px;
  border-radius: 28px;
  transform-origin: center center;
  overflow: hidden;
  backdrop-filter: blur(10px) saturate(125%);
  -webkit-backdrop-filter: blur(10px) saturate(125%);
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.24);
}

.app-bg-card.is-large {
  width: 176px;
  height: 244px;
}

.app-bg-card::before {
  content: "";
  position: absolute;
  top: 8px;
  left: -10px;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(var(--frame-rgb), 0.14);
}

.app-bg-card::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -26px;
  width: 124px;
  height: 124px;
  border-radius: 50%;
  background: rgba(var(--frame-rgb), 0.1);
}

.app-bg-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: inherit;
}

.app-bg-card-inner::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  opacity: .72;
}

.app-bg-card[data-suit="heart"] .app-bg-card-inner,
.app-bg-card[data-suit="diamond"] .app-bg-card-inner {
  background: rgba(255, 255, 255, 0.24);
}

.app-bg-card[data-suit="spade"] .app-bg-card-inner,
.app-bg-card[data-suit="club"] .app-bg-card-inner {
  background: rgba(255, 255, 255, 0.2);
}

.app-bg-card .suit-symbol {
  position: relative;
  z-index: 2;
  font-size: 68px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
}

.app-bg-card.is-large .suit-symbol {
  font-size: 78px;
}

.app-bg-card[data-suit="spade"] .suit-symbol,
.app-bg-card[data-suit="club"] .suit-symbol {
  color: #050505;
}

.app-bg-card[data-suit="heart"] .suit-symbol,
.app-bg-card[data-suit="diamond"] .suit-symbol {
  color: #ff6a82;
}

.app-bg-card .mini-brand {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  opacity: .72;
  z-index: 3;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.24));
}

.app-bg-card.card-1 {
  left: 14%;
  top: 24%;
  transform: translate(-50%, -50%) rotate(-13.8deg);
  animation: bg-card-float-1 20s ease-in-out infinite alternate;
}

.app-bg-card.card-2 {
  left: 86%;
  top: 16%;
  transform: translate(-50%, -50%) rotate(10.3deg);
  animation: bg-card-float-2 20s ease-in-out infinite alternate;
}

.app-bg-card.card-3 {
  left: 59%;
  top: 86%;
  transform: translate(-50%, -50%) rotate(6.9deg);
  animation: bg-card-float-3 20s ease-in-out infinite alternate;
}

.app-bg-card.card-4 {
  left: 27%;
  top: 88%;
  transform: translate(-50%, -50%) rotate(-9.2deg);
  animation: bg-card-float-4 20s ease-in-out infinite alternate;
}

@keyframes bg-card-float-1 {
  from { transform: translate(-50%, -50%) rotate(-13.8deg) translateY(0); }
  to { transform: translate(-50%, -50%) rotate(-13.8deg) translateY(-8px); }
}

@keyframes bg-card-float-2 {
  from { transform: translate(-50%, -50%) rotate(10.3deg) translateY(0); }
  to { transform: translate(-50%, -50%) rotate(10.3deg) translateY(7px); }
}

@keyframes bg-card-float-3 {
  from { transform: translate(-50%, -50%) rotate(6.9deg) translateY(0); }
  to { transform: translate(-50%, -50%) rotate(6.9deg) translateY(-6px); }
}

@keyframes bg-card-float-4 {
  from { transform: translate(-50%, -50%) rotate(-9.2deg) translateY(0); }
  to { transform: translate(-50%, -50%) rotate(-9.2deg) translateY(6px); }
}

@media (max-width: 860px) {
  .app-bg-card {
    opacity: .88;
    transform: scale(.9);
  }

  .app-bg-card.card-2,
  .app-bg-card.card-4 {
    display: none;
  }
}

.topbar {
  background: rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.hero,
.hero-simple,
.panel,
.feature-card,
.step-card,
.auth-card,
.diwaniya-card,
.download-card,
.join-card,
.legal-card,
.trust-card,
.hero-panel-card,
.support-item,
.gallery-clean-item,
.availability-label,
.device-meta,
.join-meta,
.notice,
.store-pill,
.btn-secondary,
.side-menu-links a {
  background: rgba(26, 36, 50, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(14px) saturate(135%);
  -webkit-backdrop-filter: blur(14px) saturate(135%);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero,
.hero-simple {
  background:
    linear-gradient(
      145deg,
      rgba(var(--frame-rgb), 0.24) 0%,
      rgba(26, 36, 50, 0.56) 52%,
      rgba(9, 18, 34, 0.62) 100%
    ),
    rgba(26, 36, 50, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero::before {
  background: linear-gradient(112deg, transparent 14%, rgba(255, 255, 255, 0.19) 48%, transparent 84%);
}

.hero::after {
  background: rgba(var(--frame-rgb), 0.2);
}

.section-head p,
.feature-card p,
.step-card p,
.trust-card p,
.auth-card p,
.diwaniya-card p,
.hero-panel-card span,
.support-item span,
.legal-sub,
.legal-text,
.download-card p,
.join-card p,
.device-meta,
.join-meta {
  color: rgba(232, 242, 255, 0.92);
}

.side-menu-panel {
  background: rgba(18, 28, 42, 0.72);
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(20px) saturate(145%);
  -webkit-backdrop-filter: blur(20px) saturate(145%);
}

.side-menu-links a:hover {
  background: rgba(var(--frame-rgb), 0.2);
  border-color: rgba(255, 255, 255, 0.32);
}

.support-item:hover,
.gallery-clean-item:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(var(--frame-rgb), 0.2);
}

.store-pill:hover,
.btn-secondary:hover {
  background: rgba(var(--frame-rgb), 0.22);
  color: #f3f9ff;
}

.tag-pill {
  background: rgba(var(--frame-rgb), 0.2);
  border-color: rgba(255, 255, 255, 0.24);
  color: #e8f3ff;
}

.side-menu-backdrop {
  background: rgba(2, 8, 16, 0.24);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
}

.side-menu-panel {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(168deg, rgba(255, 255, 255, 0.2) 0%, rgba(26, 40, 60, 0.36) 44%, rgba(14, 26, 42, 0.3) 100%),
    rgba(18, 30, 48, 0.28);
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow:
    -20px 0 42px rgba(0, 0, 0, 0.3),
    inset 1px 0 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(30px) saturate(165%);
  -webkit-backdrop-filter: blur(30px) saturate(165%);
}

.side-menu-panel::before {
  content: "";
  position: absolute;
  top: -18%;
  right: -12%;
  width: 72%;
  height: 34%;
  pointer-events: none;
  background: linear-gradient(118deg, transparent 18%, rgba(255, 255, 255, 0.2) 54%, transparent 86%);
  transform: rotate(-8deg);
}

.side-menu-head {
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.11);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.side-menu-close {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.09);
}

.side-menu-links a {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(16px) saturate(145%);
  -webkit-backdrop-filter: blur(16px) saturate(145%);
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.side-menu-links a:hover {
  background: rgba(var(--frame-rgb), 0.24);
  border-color: rgba(255, 255, 255, 0.38);
}

/* Side menu aligned to topbar glass style + same download button style */
.side-menu-backdrop {
  background: rgba(6, 12, 22, 0.26);
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
}

.side-menu-panel {
  background: rgba(255, 255, 255, 0.08);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: -18px 0 38px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.side-menu-panel::before {
  opacity: 0.48;
}

.side-menu-head {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.side-menu-links a {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: none;
  backdrop-filter: blur(12px) saturate(130%);
  -webkit-backdrop-filter: blur(12px) saturate(130%);
}

.side-menu-links a:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.34);
}

.side-menu-links a.menu-cta {
  min-height: 40px;
  padding: 0.5rem 0.92rem;
  border-radius: 11px;
  border: 1.5px solid rgba(255, 255, 255, 0.92);
  background: transparent;
  color: #ffffff;
  box-shadow: none;
}

.side-menu-links a.menu-cta:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

/* Unified button borders + semi-rounded corners */
.btn,
.brand-link,
.ghost-link,
.chip-link,
.store-pill,
.btn-secondary,
.side-menu-links a,
.hero-actions-primary .hero-download-btn,
.hero-actions-primary .support-outline {
  border-radius: var(--btn-radius-unified) !important;
  border-width: var(--btn-border-unified) !important;
  border-style: solid !important;
}

@media (max-width: 1080px) {
  .app-hero-grid {
    grid-template-columns: 1fr;
  }

  .gallery-clean-item {
    flex-basis: clamp(136px, 27vw, 178px);
  }

  .gallery-prev {
    right: 1rem;
  }

  .gallery-next {
    left: 1rem;
  }
}

@media (max-width: 820px) {
  .topbar .site-shell {
    width: calc(100% - 0.2rem);
  }

  .topbar-row {
    min-height: auto;
    padding: 0.55rem 0.2rem;
    align-items: center;
    gap: 0.5rem;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .topbar-actions {
    flex: 0 0 auto;
    margin-inline-start: auto;
    justify-content: flex-start;
    gap: 0.42rem;
  }

  .topbar-actions .brand-link {
    min-height: 37px;
    padding: 0.42rem 0.82rem;
  }

  .hero-actions,
  .download-actions,
  .join-actions {
    width: 100%;
  }

  .hero-actions a,
  .hero-actions button,
  .download-actions a,
  .download-actions button,
  .join-actions a,
  .join-actions button {
    flex: 1 1 auto;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 780px) {
  .gallery-clean-item {
    flex-basis: clamp(126px, 40vw, 168px);
  }

  .gallery-nav {
    width: 40px;
    height: 40px;
  }

  .gallery-close {
    width: 38px;
    height: 38px;
  }
}


