/* ════════════════════════════════════════════
   MAIN LAYOUT
   ════════════════════════════════════════════ */
main {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: var(--footer-h);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 18px;
  padding: 12px 22px 12px calc(var(--nav-w) + 32px); /* +32px floating-ის გასათავისუფლებლად */
  /* მთავარია: z-index 85 > footer (80) — popover-ები აღარ იმალება ფუტერის უკნიდან */
  z-index: 85;
}

/* ════════════════════════════════════════════
   LEFT PANEL — Welcome + Plane
   ════════════════════════════════════════════ */
.left-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
}

.welcome-block {
  text-align: left;
  width: 100%;
  max-width: 380px;
  padding: 0;
}

.welcome-block h1 {
  font-family: var(--font-d);
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15; /* Georgian glyph-ებს კარგი breathing */
  letter-spacing: -0.025em;
  text-shadow: 0 8px 32px rgba(34, 211, 238, 0.28);
}

.welcome-block p {
  font-size: 12px;
  color: rgba(219, 234, 254, 0.78);
  margin-top: 8px;
  font-weight: 400;
  line-height: 1.5;
}

.plane-scene {
  position: relative;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.plane-glow {
  position: absolute;
  width: 240px;
  height: 240px;
  background:
    radial-gradient(circle, rgba(34, 211, 238, 0.45) 0%, transparent 45%),
    radial-gradient(circle, rgba(168, 85, 247, 0.18) 20%, transparent 60%),
    radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 75%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: breatheGlow 8s ease-in-out infinite alternate;
  filter: blur(3px);
}

@keyframes breatheGlow {
  from { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

.plane-wrapper {
  animation: float 5s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

/* Custom uploaded PNG/JPG plane */
.plane-image {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 32px rgba(34, 211, 238, 0.25));
}

.plane-wrapper:has(.plane-image) { width: 220px; }
.plane-wrapper .plane-image { width: 100%; }

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

