:root {
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html,
body,
#root {
  margin: 0;
  width: 100%;
  min-height: 100%;
  font-family: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
  background: #060913;
  color: #f9fbff;
}

.page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.1rem;
}

.page-inner {
  position: relative;
  z-index: 2;
  width: min(1120px, 100%);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.bg-layer {
  position: absolute;
  inset: 0;
  background-image: url('./assets/hero-bg.jpg');
  background-size: cover;
  background-position: center center;
  transform: scale(1.05);
  filter: blur(2.2px) saturate(1.08) contrast(1.03) brightness(0.58);
}

.bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 214, 92, 0.16), transparent 40%),
    radial-gradient(circle at 84% 24%, rgba(104, 163, 255, 0.16), transparent 45%),
    linear-gradient(180deg, rgba(10, 14, 26, 0.62) 0%, rgba(7, 10, 20, 0.5) 52%, rgba(5, 8, 18, 0.32) 100%);
}

.glow-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(22px);
  opacity: 0.65;
}

.glow-a {
  width: 300px;
  height: 300px;
  top: 8%;
  left: 4%;
  background: rgba(255, 202, 65, 0.62);
}

.glow-b {
  width: 320px;
  height: 320px;
  right: 4%;
  bottom: 8%;
  background: rgba(63, 131, 248, 0.6);
}

.glass-card {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: linear-gradient(145deg, rgba(14, 21, 39, 0.78), rgba(10, 15, 30, 0.64));
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 64px rgba(0, 0, 0, 0.46);
  border-radius: 26px;
}

.hero-panel {
  padding: clamp(1.1rem, 2vw, 1.6rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(0.55rem, 1.3vw, 0.95rem);
  align-items: center;
}

.hero-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 0.55rem;
}

.hero-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.logo {
  width: clamp(210px, 27vw, 310px);
  height: auto;
  transform: translateY(0);
  filter: drop-shadow(0 7px 16px rgba(0, 0, 0, 0.38));
}

.tagline {
  margin: 0.15rem 0 0;
  font-size: clamp(1.4rem, 2.9vw, 2.1rem);
  color: #f5f8ff;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.1;
  max-width: 14ch;
}

.tagline span {
  display: block;
}

.tagline-nowrap {
  white-space: nowrap;
}

.subtitle {
  margin: 0;
  color: #b8c5e6;
  font-size: clamp(0.95rem, 1.35vw, 1.04rem);
  max-width: 33ch;
  line-height: 1.45;
  white-space: normal;
  text-wrap: balance;
}

.qr-zone {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-left: 0.2rem;
  border-left: 1px solid rgba(170, 196, 255, 0.18);
}

.qr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.qr-title {
  margin: 0;
  font-size: 0.98rem;
  color: #deebff;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.qr-image {
  width: min(175px, 100%);
  height: auto;
  display: block;
  margin-top: 0.45rem;
  border-radius: 12px;
}

.qr-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.88rem;
  color: #0d1328;
  background: linear-gradient(120deg, #f8d860, #90b6ff);
  padding: 0.56rem 0.9rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.qr-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 20px rgba(131, 173, 255, 0.34);
}

.copyright {
  margin: 0;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(220, 232, 255, 0.72);
  letter-spacing: 0.02em;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .hero-panel {
    padding: 1rem 0.92rem;
  }

  .tagline,
  .subtitle {
    max-width: none;
  }

  .tagline {
    font-size: clamp(1.05rem, 6.2vw, 1.45rem);
    line-height: 1.14;
    letter-spacing: 0.01em;
  }

  .subtitle {
    font-size: clamp(0.9rem, 3.8vw, 1rem);
    line-height: 1.4;
  }

  .logo {
    width: clamp(168px, 42vw, 230px);
    transform: translateY(2px);
  }

  .qr-zone {
    padding-left: 0;
    border-left: 0;
  }
}
