﻿* {
  box-sizing: border-box;
}

:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  color: #fff9dc;
  background:
    linear-gradient(90deg, rgba(4, 8, 20, 0.50), rgba(4, 8, 20, 0.08), rgba(4, 8, 20, 0.50)),
    url("./public/assets/magg-coach/background.png") center / cover fixed no-repeat;
}

.wing-page {
  min-height: 100vh;
  padding: clamp(18px, 4vw, 52px);
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.wing-hero {
  width: min(680px, 100%);
  min-height: min(88vh, 860px);
  margin: 0 auto;
  padding: clamp(28px, 6vw, 68px);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(118, 160, 174, 0.70), rgba(59, 103, 76, 0.78)),
    rgba(18, 35, 42, 0.42);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(28px, 5vw, 58px);
}

.wing-title {
  width: min(280px, 70%);
  align-self: center;
  object-fit: contain;
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.38));
}

.wing-content {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(18px, 4vw, 44px);
  align-items: center;
}

.wing-eyeline {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: #ffe66d;
}

h1 {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(2.6rem, 8vw, 4.7rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

p {
  max-width: 44ch;
  font-size: clamp(0.92rem, 2vw, 1rem);
  line-height: 1.55;
  font-weight: 700;
  color: rgba(255, 249, 220, 0.88);
}

.wing-mascot {
  width: min(240px, 100%);
  justify-self: center;
  filter: drop-shadow(0 22px 28px rgba(0, 0, 0, 0.38));
}

.wing-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

button {
  border: 1px solid rgba(255, 239, 150, 0.26);
  border-radius: 999px;
  padding: 10px 16px;
  color: #fff9dc;
  background: rgba(12, 19, 22, 0.48);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  font-weight: 900;
  cursor: default;
}

@media (max-width: 720px) {
  .wing-page {
    padding: 14px;
  }

  .wing-hero {
    min-height: auto;
    padding: 28px 22px;
  }

  .wing-content {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .wing-title {
    width: min(230px, 78%);
  }

  .wing-mascot {
    width: min(210px, 72%);
    order: -1;
  }

  h1 {
    max-width: 11ch;
  }
}

