* {
  box-sizing: border-box;
}

:root {
  --blue: #1fa8ff;
  --blue-soft: rgba(31, 168, 255, .45);
  --cyan: #7fe7ff;
  --white: #f2fbff;
  --muted: #a7bed4;
  --panel: rgba(3, 12, 26, .76);
  --panel2: rgba(5, 20, 42, .62);
  --border: rgba(98, 196, 255, .38);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #020610;
  color: var(--white);
  overflow-x: hidden;
}

.site-view {
  animation: viewIn .42s ease both;
}

.site-view:not(.active) {
  display: none !important;
}

body:not([data-view="social"]) .site-footer {
  display: none;
}

.bg-layer {
  position: fixed;
  inset: 0;
  background: url("assets/background.png") center / cover no-repeat;
  transform: scale(1.05);
  animation: bgFloat 22s ease-in-out infinite alternate;
  z-index: -4;
}

#starsCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  pointer-events: none;
}

.dark-overlay {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 50% 18%, rgba(20, 150, 255, .08), transparent 35%),
    linear-gradient(to bottom, rgba(0,0,0,.25), rgba(0,0,0,.16) 45%, rgba(0,0,0,.86) 100%),
    radial-gradient(circle at center, transparent 0, rgba(0,0,0,.72) 100%);
}

.top-nav {
  position: fixed;
  z-index: 50;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 34px));
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 26px;
  border: 1px solid rgba(85, 185, 255, .24);
  border-radius: 22px;
  background: rgba(2, 8, 18, .42);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 35px rgba(0, 122, 255, .17);
  animation: dropIn .8s ease both;
}

.nav-logo img {
  width: 118px;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 13px rgba(71, 185, 255, .55));
}

.desktop-menu {
  display: flex;
  align-items: center;
  gap: 26px;
}

.desktop-menu a,
.mobile-menu a {
  color: #eaf8ff;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 1px;
  font-weight: 800;
  opacity: .86;
  transition: .2s;
}

.desktop-menu a:hover,
.mobile-menu a:hover,
.desktop-menu a.active,
.mobile-menu a.active {
  color: var(--cyan);
  text-shadow: 0 0 12px var(--blue);
}

.right-tools {
  display: flex;
  align-items: center;
  gap: 18px;
}

.language {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #9bbad4;
  font-weight: 900;
  font-size: 13px;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: #98b5cc;
  font-weight: 900;
  cursor: pointer;
}

.lang-btn.active {
  color: white;
  text-shadow: 0 0 12px var(--blue);
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 38px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  height: 3px;
  margin: 6px 0;
  border-radius: 4px;
  background: white;
  box-shadow: 0 0 10px var(--blue);
}

.mobile-menu {
  display: none;
}

.hero {
  min-height: 100vh;
  position: relative;
  display: block;
  padding: 92px 18px 0;
}

.hero-center {
  width: min(1280px, 100%);
  margin: 0 auto;
  text-align: center;
  animation: heroUp .9s ease .15s both;
}

.main-logo {
  width: min(420px, 84vw);
  max-height: 230px;
  object-fit: contain;
  filter: drop-shadow(0 0 28px rgba(73, 178, 255, .62));
  animation: logoFloat 5s ease-in-out infinite;
}

.hero h1 {
  margin: 2px 0 8px;
  font-size: clamp(34px, 3.8vw, 54px);
  letter-spacing: clamp(8px, 2.2vw, 22px);
  padding-left: clamp(8px, 2.2vw, 22px);
  color: #bdeeff;
  font-weight: 800;
  text-shadow: 0 0 18px rgba(68, 185, 255, .95), 0 0 42px rgba(22, 108, 255, .55);
}

.hero-sub {
  margin: 0 auto 22px;
  font-size: clamp(14px, 1.7vw, 21px);
  letter-spacing: 1.2px;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 0 12px rgba(0,0,0,.9);
}

.hero-register-cta {
  display: inline-grid;
  place-items: center;
  min-width: 220px;
  height: 56px;
  margin: 0 auto 24px;
  color: white;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 1px;
  border: 1px solid rgba(113, 207, 255, .75);
  border-radius: 7px;
  background: linear-gradient(to bottom, #1ca8ff, #075cc8);
  box-shadow: inset 0 0 18px rgba(255,255,255,.16), 0 0 30px rgba(16, 130, 255, .62);
}

.hero-register-cta:visited,
.hero-register-cta:hover {
  color: white;
}

.register-panel {
  width: min(850px, 96vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 24px;
  align-items: center;
  padding: 28px 34px;
  background:
    linear-gradient(135deg, rgba(7, 24, 48, .86), rgba(1, 8, 20, .78)),
    linear-gradient(90deg, transparent, rgba(87, 198, 255, .09), transparent);
  border: 1px solid var(--border);
  box-shadow:
    inset 0 0 32px rgba(42, 160, 255, .13),
    0 0 38px rgba(27, 126, 255, .22),
    0 28px 75px rgba(0,0,0,.48);
  backdrop-filter: blur(14px);
  clip-path: polygon(3% 0, 97% 0, 100% 16%, 100% 84%, 97% 100%, 3% 100%, 0 84%, 0 16%);
  position: relative;
}

.register-panel::before,
.register-panel::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 210px;
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 18px var(--blue);
}

.register-panel::before {
  top: 0;
}

.register-panel::after {
  bottom: 0;
}

.register-copy {
  text-align: left;
}

.register-copy h2 {
  margin: 0 0 10px;
  font-size: 23px;
  letter-spacing: 1px;
}

.register-copy p {
  margin: 0;
  color: #d4eaff;
  line-height: 1.55;
  font-size: 14px;
}

.register-form {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 16px;
}

.register-form input {
  height: 58px;
  border: 1px solid rgba(157, 220, 255, .28);
  border-radius: 7px;
  background: rgba(0, 8, 18, .68);
  outline: none;
  color: white;
  padding: 0 18px;
  font-size: 15px;
  box-shadow: inset 0 0 18px rgba(17, 111, 255, .16);
}

.register-form input::placeholder {
  color: rgba(210, 230, 245, .58);
}

.register-form button {
  height: 58px;
  border: 1px solid rgba(113, 207, 255, .75);
  border-radius: 7px;
  cursor: pointer;
  color: white;
  font-weight: 900;
  letter-spacing: 1px;
  background: linear-gradient(to bottom, #1ca8ff, #075cc8);
  box-shadow: inset 0 0 18px rgba(255,255,255,.16), 0 0 30px rgba(16, 130, 255, .62);
  transition: .2s;
}

.register-form button:hover {
  transform: translateY(-2px);
  filter: brightness(1.16);
}

.form-message {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  min-height: 20px;
  color: #92ffd7;
  text-align: center;
  text-shadow: 0 0 9px rgba(84, 255, 210, .65);
}

.pilot-counter {
  width: min(340px, 92vw);
  margin: 26px auto 0;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  padding: 15px 25px;
  background: rgba(2, 11, 23, .78);
  border: 1px solid rgba(68, 185, 255, .34);
  clip-path: polygon(12% 0, 88% 0, 100% 50%, 88% 100%, 12% 100%, 0 50%);
  box-shadow: 0 0 30px rgba(18, 122, 255, .24);
}

.counter-icon {
  font-size: 37px;
  filter: drop-shadow(0 0 14px #ff6b1a);
}

.pilot-counter strong {
  display: block;
  font-size: 38px;
  line-height: 1;
  letter-spacing: 2px;
  text-shadow: 0 0 14px rgba(255,255,255,.5);
}

.pilot-counter span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
}

.home-gallery {
  width: min(900px, 96vw);
  margin: 10px auto 0;
  padding: 18px 34px 28px;
  position: relative;
  background:
    linear-gradient(135deg, rgba(4, 20, 43, .76), rgba(1, 8, 18, .78)),
    linear-gradient(90deg, transparent, rgba(87, 198, 255, .08), transparent);
  border: 1px solid rgba(85, 185, 255, .52);
  box-shadow:
    inset 0 0 34px rgba(42, 160, 255, .13),
    0 0 38px rgba(27, 126, 255, .26),
    0 24px 60px rgba(0,0,0,.44);
  clip-path: polygon(3% 0, 97% 0, 100% 12%, 100% 88%, 97% 100%, 3% 100%, 0 88%, 0 12%);
}

.home-gallery::before,
.home-gallery::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 260px;
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 18px var(--blue);
}

.home-gallery::before {
  top: 0;
}

.home-gallery::after {
  bottom: 0;
}

.home-gallery-copy {
  text-align: left;
  margin-bottom: 10px;
}

.home-gallery-copy h2 {
  margin: 0 0 5px;
  color: #bdeeff;
  font-size: 20px;
  letter-spacing: 1px;
  text-shadow: 0 0 13px rgba(68, 185, 255, .9);
}

.home-gallery-copy p {
  margin: 0;
  color: #d2e6f4;
  font-size: 13px;
}

.media-stage {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 10px;
}

.media-frame {
  position: relative;
  min-height: 215px;
  border: 1px solid rgba(126, 226, 255, .36);
  background: rgba(0, 8, 18, .66);
  overflow: hidden;
  clip-path: polygon(2% 0, 98% 0, 100% 12%, 100% 88%, 98% 100%, 2% 100%, 0 88%, 0 12%);
}

.media-slide {
  display: none;
  position: relative;
  min-height: 215px;
}

.media-slide.active {
  display: block;
}

.media-slide img,
.media-slide video,
.media-slide iframe {
  width: 100%;
  height: 215px;
  display: block;
  border: 0;
  object-fit: cover;
  background: #020610;
}

.media-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.64), transparent 58%);
  pointer-events: none;
}

.media-slide h3 {
  position: absolute;
  z-index: 2;
  left: 22px;
  bottom: 17px;
  margin: 0;
  color: white;
  font-size: 18px;
  text-shadow: 0 0 14px rgba(0,0,0,.9);
}

.play-mark {
  position: absolute;
  z-index: 3;
  inset: 50% auto auto 50%;
  width: 76px;
  height: 76px;
  transform: translate(-50%, -50%);
  border: 3px solid rgba(127, 231, 255, .86);
  border-radius: 50%;
  background: rgba(14, 122, 219, .52);
  box-shadow: 0 0 30px rgba(31, 168, 255, .9), inset 0 0 20px rgba(255,255,255,.16);
}

.play-mark::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 21px;
  border-left: 24px solid white;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  filter: drop-shadow(0 0 8px rgba(127, 231, 255, .8));
}

.media-arrow {
  width: 44px;
  height: 54px;
  border: 1px solid rgba(127, 231, 255, .55);
  background: rgba(5, 36, 70, .66);
  color: #c8f5ff;
  font-size: 44px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 0 18px rgba(31, 168, 255, .28);
}

.media-thumbs {
  width: min(430px, 90%);
  margin: 12px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.media-thumbs button {
  height: 48px;
  padding: 0;
  border: 1px solid rgba(85, 185, 255, .28);
  background: rgba(0, 8, 18, .72);
  cursor: pointer;
  overflow: hidden;
}

.media-thumbs button.active {
  border-color: var(--cyan);
  box-shadow: 0 0 18px rgba(31, 168, 255, .72);
}

.media-thumbs img,
.media-thumbs span {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.media-thumbs span {
  background:
    radial-gradient(circle, rgba(127, 231, 255, .3), transparent 34%),
    url("assets/background.png") center / cover;
}

.home-panels {
  width: min(1280px, 96vw);
  margin: 42px auto 0;
  display: grid;
  grid-template-columns: 1fr 1.05fr 1fr;
  gap: 20px;
}

.home-panel {
  min-height: 350px;
  padding: 22px;
  text-align: left;
  background: linear-gradient(145deg, rgba(4, 20, 43, .78), rgba(1, 8, 18, .76));
  border: 1px solid rgba(85, 185, 255, .28);
  border-radius: 8px;
  box-shadow: inset 0 0 28px rgba(36, 157, 255, .09), 0 0 28px rgba(0,0,0,.26);
}

.panel-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.home-panel h2,
.panel-title-row h2 {
  margin: 0;
  color: white;
  font-size: 22px;
  letter-spacing: .7px;
}

.panel-title-row a {
  color: var(--cyan);
  text-decoration: none;
  font-size: 12px;
}

.home-news-list {
  display: grid;
  gap: 10px;
}

.home-news-item {
  width: 100%;
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 14px;
  align-items: center;
  padding: 0 0 10px;
  border: 0;
  border-bottom: 1px solid rgba(85, 185, 255, .15);
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.home-news-item img,
.home-news-placeholder {
  width: 112px;
  height: 74px;
  object-fit: cover;
  border: 1px solid rgba(85, 185, 255, .25);
  border-radius: 5px;
  background:
    linear-gradient(135deg, rgba(31, 168, 255, .18), transparent),
    url("assets/background.png") center / cover;
}

.home-news-item strong,
.home-news-item small,
.home-news-item em {
  display: block;
}

.home-news-item strong {
  color: white;
  font-size: 14px;
  line-height: 1.25;
}

.home-news-item small {
  margin: 5px 0;
  color: #9fc4df;
  font-size: 12px;
}

.home-news-item em {
  color: #c9d9e7;
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
}

.mini-empty {
  min-height: 180px;
  display: grid;
  place-items: center;
  color: #b8d3e7;
  border: 1px dashed rgba(85, 185, 255, .26);
}

.home-register-panel {
  text-align: center;
}

.home-register-panel .register-copy {
  text-align: left;
  margin-bottom: 18px;
}

.home-register-panel .register-form {
  grid-template-columns: 1fr;
}

.home-register-panel .pilot-counter {
  margin-top: 18px;
}

.home-contact-panel p {
  margin: 10px 0 18px;
  color: #c9d9e7;
  line-height: 1.45;
}

.contact-form {
  display: grid;
  gap: 10px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(157, 220, 255, .25);
  border-radius: 7px;
  background: rgba(0, 8, 18, .68);
  outline: none;
  color: white;
  padding: 12px 14px;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
  min-height: 95px;
}

.contact-form button {
  height: 50px;
  border: 1px solid rgba(113, 207, 255, .75);
  border-radius: 7px;
  cursor: pointer;
  color: white;
  font-weight: 900;
  letter-spacing: 1px;
  background: linear-gradient(to bottom, #1ca8ff, #075cc8);
  box-shadow: inset 0 0 18px rgba(255,255,255,.16), 0 0 24px rgba(16, 130, 255, .42);
}

.home-footer {
  width: min(1280px, 96vw);
  margin: 0 auto;
  padding: 26px 28px;
  display: grid;
  grid-template-columns: 1.6fr .9fr .9fr 1fr;
  gap: 28px;
  text-align: left;
  border-top: 1px solid rgba(85, 185, 255, .22);
  background: linear-gradient(to bottom, rgba(1, 8, 18, .58), rgba(1, 8, 18, .2));
}

.footer-brand img {
  width: 160px;
  display: block;
  margin-bottom: 10px;
}

.home-footer h3 {
  margin: 0 0 10px;
  color: white;
  font-size: 14px;
  letter-spacing: 1px;
}

.home-footer p,
.home-footer a {
  color: #b8cde0;
  font-size: 13px;
  line-height: 1.7;
}

.home-footer nav,
.footer-socials {
  display: grid;
  gap: 4px;
}

.home-footer a {
  text-decoration: none;
}

.footer-socials {
  grid-template-columns: repeat(3, max-content);
  gap: 8px;
}

.footer-socials a {
  min-width: 38px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0 9px;
  border: 1px solid rgba(85, 185, 255, .24);
  border-radius: 6px;
  background: rgba(255, 255, 255, .05);
  font-size: 11px;
}

.footer-copy {
  grid-column: 1 / -1;
  margin: 6px 0 0;
  text-align: center;
}

.home-gallery-strip {
  width: min(1280px, 96vw);
  margin: 18px auto 28px;
  padding: 18px 30px 22px;
  text-align: left;
  background: linear-gradient(145deg, rgba(4, 20, 43, .78), rgba(1, 8, 18, .76));
  border: 1px solid rgba(85, 185, 255, .62);
  border-radius: 8px;
  box-shadow: inset 0 0 28px rgba(36, 157, 255, .13), 0 0 32px rgba(31, 168, 255, .24), 0 0 28px rgba(0,0,0,.26);
  scroll-margin-top: 102px;
  clip-path: polygon(1.5% 0, 98.5% 0, 100% 10%, 100% 90%, 98.5% 100%, 1.5% 100%, 0 90%, 0 10%);
}

.gallery-strip-head {
  margin-bottom: 10px;
}

.gallery-strip-head h2 {
  margin: 0 0 4px;
  color: #9fe7ff;
  font-size: 18px;
  letter-spacing: 1px;
  text-shadow: 0 0 13px rgba(68, 185, 255, .9);
}

.gallery-strip-head p {
  margin: 0;
  color: #d5e8f5;
  font-size: 13px;
}

.featured-gallery-stage {
  display: grid;
  grid-template-columns: 46px 1fr 46px;
  align-items: center;
  gap: 10px;
}

.featured-gallery-frame {
  position: relative;
  min-height: 245px;
  overflow: hidden;
  border: 1px solid rgba(127, 231, 255, .36);
  background: rgba(0, 8, 18, .68);
  clip-path: polygon(2% 0, 98% 0, 100% 12%, 100% 88%, 98% 100%, 2% 100%, 0 88%, 0 12%);
}

.featured-gallery-frame img,
.featured-gallery-frame video,
.featured-gallery-frame iframe {
  width: 100%;
  height: 245px;
  display: block;
  border: 0;
  object-fit: cover;
  background: #020610;
}

.featured-gallery-frame img {
  cursor: zoom-in;
}

.featured-gallery-frame iframe {
  aspect-ratio: 16 / 9;
}

.featured-play {
  position: absolute;
  z-index: 2;
  inset: 50% auto auto 50%;
  width: 82px;
  height: 82px;
  transform: translate(-50%, -50%);
  border: 3px solid rgba(127, 231, 255, .88);
  border-radius: 50%;
  background: rgba(14, 122, 219, .52);
  box-shadow: 0 0 30px rgba(31, 168, 255, .9), inset 0 0 20px rgba(255,255,255,.16);
  cursor: pointer;
}

.featured-play::before {
  content: "";
  position: absolute;
  left: 32px;
  top: 23px;
  border-left: 25px solid white;
  border-top: 17px solid transparent;
  border-bottom: 17px solid transparent;
}

.gallery-nav {
  width: 46px;
  height: 58px;
  border: 1px solid rgba(127, 231, 255, .55);
  background: rgba(5, 36, 70, .66);
  color: #c8f5ff;
  font-size: 44px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 0 18px rgba(31, 168, 255, .28);
}

.gallery-thumbs-row {
  width: min(640px, 88%);
  margin: 12px auto 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 116px;
  gap: 10px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--blue) rgba(255,255,255,.08);
}

.gallery-strip-item {
  min-height: 58px;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(85, 185, 255, .3);
  border-radius: 6px;
  background: rgba(0, 8, 18, .72);
  cursor: pointer;
  transition: .2s;
}

.gallery-strip-item:hover {
  transform: translateY(-3px);
  border-color: rgba(127, 231, 255, .65);
  box-shadow: 0 0 22px rgba(31, 168, 255, .25);
}

.gallery-strip-item img,
.gallery-strip-item video,
.gallery-video-thumb {
  width: 100%;
  height: 58px;
  display: block;
  object-fit: cover;
}

.gallery-strip-item.active {
  border-color: var(--cyan);
  box-shadow: 0 0 18px rgba(31, 168, 255, .72);
}

.gallery-video-thumb {
  background:
    radial-gradient(circle, rgba(127, 231, 255, .3), transparent 34%),
    url("assets/background.png") center / cover;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 101;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, .78);
  backdrop-filter: blur(8px);
}

.gallery-modal.open {
  display: grid;
}

.gallery-modal-card {
  position: relative;
  width: min(1040px, 96vw);
  padding: 18px;
  background: linear-gradient(145deg, rgba(4, 20, 43, .96), rgba(1, 8, 18, .94));
  border: 1px solid rgba(85, 185, 255, .45);
  box-shadow: 0 0 48px rgba(31, 168, 255, .26), 0 30px 80px rgba(0,0,0,.55);
}

.gallery-modal-close {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(127, 231, 255, .45);
  border-radius: 50%;
  background: rgba(0, 8, 18, .86);
  color: white;
  font-size: 25px;
  cursor: pointer;
}

.gallery-modal-media img,
.gallery-modal-media video,
.gallery-modal-media iframe {
  width: 100%;
  max-height: 72vh;
  display: block;
  object-fit: contain;
  border: 0;
  background: #020610;
}

.gallery-modal-media iframe {
  aspect-ratio: 16 / 9;
}

.gallery-modal-card h2 {
  margin: 14px 4px 2px;
  color: white;
  font-size: 20px;
}

.news-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(8px);
}

.news-modal.open {
  display: grid;
}

.news-modal-card {
  position: relative;
  width: min(760px, 96vw);
  max-height: 88vh;
  overflow: auto;
  padding: 24px;
  background: linear-gradient(145deg, rgba(4, 20, 43, .96), rgba(1, 8, 18, .94));
  border: 1px solid rgba(85, 185, 255, .45);
  box-shadow: 0 0 48px rgba(31, 168, 255, .26), 0 30px 80px rgba(0,0,0,.55);
}

.news-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(127, 231, 255, .45);
  border-radius: 50%;
  background: rgba(0, 8, 18, .8);
  color: white;
  font-size: 24px;
  cursor: pointer;
}

.news-modal-card img {
  width: 100%;
  max-height: 310px;
  object-fit: cover;
  margin-bottom: 18px;
}

.news-modal-card span {
  color: var(--cyan);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 1px;
}

.news-modal-card h2 {
  margin: 8px 0;
  color: white;
  font-size: 30px;
}

.news-modal-card time {
  color: #9fc4df;
  font-size: 13px;
}

.news-modal-card p {
  color: #d7e8f4;
  line-height: 1.7;
  white-space: pre-wrap;
}

.section {
  position: relative;
  z-index: 2;
  width: min(800px, 92vw);
  min-height: 100vh;
  margin: 0 auto;
  text-align: center;
  padding: 145px 16px 55px;
  display: grid;
  align-content: center;
}

.section-kicker {
  color: var(--blue);
  font-weight: 900;
  letter-spacing: 1.5px;
  margin: 0 0 8px;
}

.section h2 {
  font-size: clamp(26px, 3vw, 39px);
  margin: 0 0 18px;
  letter-spacing: 1px;
}

.section p {
  color: #d4e5f4;
  line-height: 1.75;
  margin: 0 auto;
}

.feature-grid {
  position: relative;
  z-index: 2;
  width: min(1120px, 92vw);
  min-height: 100vh;
  margin: 0 auto;
  padding: 145px 0 55px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-content: center;
}

.feature-grid article {
  min-height: 210px;
  padding: 28px 20px;
  text-align: center;
  background: linear-gradient(145deg, rgba(4, 20, 43, .72), rgba(1, 8, 18, .70));
  border: 1px solid rgba(85, 185, 255, .26);
  box-shadow: inset 0 0 26px rgba(36, 157, 255, .09), 0 0 24px rgba(0,0,0,.24);
  transition: .22s;
}

.feature-grid article:hover {
  transform: translateY(-8px);
  border-color: rgba(126, 226, 255, .6);
  box-shadow: inset 0 0 30px rgba(36, 157, 255, .16), 0 0 34px rgba(27, 151, 255, .24);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 13px var(--blue));
}

.feature-grid h3 {
  margin: 0 0 12px;
  color: #92dcff;
  font-size: 16px;
}

.feature-grid p {
  margin: 0;
  color: #c7d8e5;
  font-size: 14px;
  line-height: 1.55;
}

.social-section {
  position: relative;
  z-index: 2;
  width: min(900px, 92vw);
  min-height: calc(100vh - 58px);
  margin: 0 auto;
  padding: 145px 0 55px;
  text-align: center;
  display: grid;
  align-content: center;
}

.social-section h2 {
  color: #bcecff;
  letter-spacing: 3px;
  font-size: 20px;
}

.social-buttons {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.social-buttons a {
  min-width: 160px;
  padding: 15px 20px;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 900;
  letter-spacing: 1px;
  box-shadow: 0 0 22px rgba(255,255,255,.12);
}

.discord {
  background: linear-gradient(135deg, #5865f2, #2b36aa);
}

.instagram {
  background: linear-gradient(135deg, #ff3d86, #f78b38);
}

.tiktok {
  background: linear-gradient(135deg, #00f2ea, #ff0050);
}

.twitter {
  background: linear-gradient(135deg, #111, #333);
}

.youtube {
  background: linear-gradient(135deg, #ff2626, #9b0000);
}

footer {
  position: relative;
  z-index: 2;
  color: rgba(222, 240, 255, .66);
  text-align: center;
  padding: 0 16px 34px;
  font-size: 13px;
}

@keyframes bgFloat {
  from {
    transform: scale(1.05) translate3d(-12px, -7px, 0);
  }
  to {
    transform: scale(1.09) translate3d(12px, 7px, 0);
  }
}

@keyframes viewIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.content-section {
  position: relative;
  z-index: 2;
  width: min(1120px, 92vw);
  min-height: 100vh;
  margin: 0 auto;
  padding: 145px 0 55px;
  display: grid;
  align-content: center;
}

.section-heading {
  text-align: center;
  margin-bottom: 26px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 39px);
  letter-spacing: 1px;
}

.empty-card {
  min-height: 150px;
  padding: 18px;
  background: linear-gradient(145deg, rgba(4, 20, 43, .72), rgba(1, 8, 18, .70));
  border: 1px solid rgba(85, 185, 255, .26);
  box-shadow: inset 0 0 26px rgba(36, 157, 255, .09), 0 0 24px rgba(0,0,0,.24);
}

.empty-card {
  display: grid;
  place-items: center;
  color: #b8d3e7;
  text-align: center;
  min-height: 180px;
  border-style: dashed;
  letter-spacing: .4px;
}

.news-header {
  text-align: center;
  margin-bottom: 26px;
}

.news-header h2 {
  margin: 0;
  color: #d8f4ff;
  font-size: clamp(34px, 4vw, 56px);
  letter-spacing: 14px;
  padding-left: 14px;
  text-shadow: 0 0 18px rgba(68, 185, 255, .95), 0 0 42px rgba(22, 108, 255, .55);
}

.news-header p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin: 12px 0 0;
  color: #ecf7ff;
  font-size: 18px;
  letter-spacing: .8px;
}

.news-header p::before,
.news-header p::after {
  content: "";
  width: min(120px, 12vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan));
}

.news-header p::after {
  background: linear-gradient(90deg, var(--cyan), transparent);
}

.news-shell {
  position: relative;
  padding: 0 18px 18px;
  border: 1px solid rgba(85, 185, 255, .28);
  background: rgba(1, 8, 18, .44);
  box-shadow: inset 0 0 35px rgba(42, 160, 255, .08), 0 0 40px rgba(0,0,0,.36);
}

.news-shell::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 50%;
  width: min(620px, 72%);
  height: 44px;
  transform: translateX(-50%);
  border: 1px solid rgba(85, 185, 255, .44);
  border-bottom: 0;
  clip-path: polygon(5% 0, 95% 0, 100% 100%, 0 100%);
  background: rgba(2, 12, 26, .82);
  pointer-events: none;
}

.news-tabs {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  height: 44px;
  margin: -16px auto 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.news-tabs button {
  height: 100%;
  border: 0;
  border-right: 1px solid rgba(85, 185, 255, .15);
  background: transparent;
  color: #e9f7ff;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .7px;
  cursor: pointer;
}

.news-tabs button:last-child {
  border-right: 0;
}

.news-tabs button.active {
  color: white;
  text-shadow: 0 0 14px var(--blue);
}

.featured-news {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr;
  gap: 12px;
}

.news-card,
.news-row {
  border: 1px solid rgba(85, 185, 255, .34);
  background: linear-gradient(145deg, rgba(4, 20, 43, .76), rgba(1, 8, 18, .74));
  box-shadow: inset 0 0 24px rgba(36, 157, 255, .1);
  overflow: hidden;
}

.news-card {
  position: relative;
  min-height: 250px;
  display: grid;
}

.news-card img,
.news-art {
  width: 100%;
  height: 156px;
  object-fit: cover;
  background:
    linear-gradient(135deg, rgba(31, 168, 255, .18), transparent),
    url("assets/background.png") center / cover;
}

.news-card.large img,
.news-card.large .news-art {
  height: 190px;
}

.featured-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 9px 16px;
  border: 1px solid rgba(127, 231, 255, .6);
  background: rgba(5, 47, 94, .82);
  color: white;
  font-weight: 900;
  letter-spacing: .8px;
  box-shadow: 0 0 18px rgba(31, 168, 255, .45);
}

.news-card-body {
  padding: 16px 18px;
}

.type-label {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 3px 8px;
  border: 1px solid rgba(127, 231, 255, .32);
  border-radius: 4px;
  background: rgba(31, 168, 255, .16);
  color: #9fe7ff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .8px;
}

.news-card h3,
.news-row h3 {
  margin: 0 0 8px;
  color: white;
  font-size: 19px;
  line-height: 1.22;
}

.news-card.large h3 {
  font-size: 24px;
}

.news-card p,
.news-row p {
  margin: 0;
  color: #d1e3f1;
  font-size: 14px;
  line-height: 1.55;
}

.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(85, 185, 255, .15);
  color: #b5cee2;
  font-size: 12px;
}

.news-meta a {
  color: var(--cyan);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: .7px;
}

.news-list {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.news-row {
  min-height: 92px;
  display: grid;
  grid-template-columns: 124px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 8px;
}

.news-row img,
.news-thumb {
  width: 124px;
  height: 76px;
  object-fit: cover;
  background:
    linear-gradient(135deg, rgba(31, 168, 255, .18), transparent),
    url("assets/background.png") center / cover;
}

.news-row h3 {
  font-size: 15px;
}

.news-row p {
  font-size: 12px;
}

.news-row time {
  align-self: start;
  color: #b5cee2;
  font-size: 12px;
  white-space: nowrap;
}

.news-empty-filter {
  display: none;
  margin-top: 14px;
}

.news-shell.filtered-empty .news-empty-filter {
  display: grid;
}

.news-shell.filtered-empty .featured-news,
.news-shell.filtered-empty .news-list {
  display: none;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item {
  min-height: 220px;
  background: rgba(3, 12, 26, .76);
  border: 1px solid rgba(85, 185, 255, .26);
  box-shadow: 0 0 28px rgba(0,0,0,.28);
  overflow: hidden;
}

.gallery-item img,
.gallery-item video,
.gallery-item iframe {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: block;
  object-fit: cover;
  border: 0;
  background: #020610;
}

.gallery-item h3 {
  margin: 0;
  padding: 13px 14px 15px;
  color: #e8f8ff;
  font-size: 14px;
  line-height: 1.35;
}

.gallery-empty {
  grid-column: 1 / -1;
}

@keyframes dropIn {
  from {
    opacity: 0;
    transform: translate(-50%, -22px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes heroUp {
  from {
    opacity: 0;
    transform: translateY(34px) scale(.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

@media (max-width: 900px) {
  .top-nav {
    top: 12px;
    height: 70px;
    border-radius: 18px;
    padding: 0 18px;
  }

  .nav-logo img {
    width: 100px;
  }

  .desktop-menu {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .mobile-menu {
    position: fixed;
    z-index: 49;
    top: 92px;
    left: 18px;
    right: 18px;
    display: none;
    padding: 18px;
    background: rgba(2, 10, 22, .92);
    border: 1px solid rgba(85, 185, 255, .34);
    border-radius: 16px;
    backdrop-filter: blur(12px);
  }

  .mobile-menu.open {
    display: grid;
    gap: 16px;
  }

  .hero {
    padding-top: 106px;
  }

  .main-logo {
    width: min(460px, 95vw);
  }

  .hero-sub {
    margin-bottom: 25px;
  }

  .register-panel {
    grid-template-columns: 1fr;
    padding: 25px 20px;
    gap: 18px;
  }

  .register-copy {
    text-align: center;
  }

  .register-form {
    grid-template-columns: 1fr;
  }

  .home-gallery {
    padding: 18px 18px 24px;
  }

  .media-stage {
    grid-template-columns: 36px 1fr 36px;
    gap: 6px;
  }

  .media-arrow {
    width: 36px;
    height: 48px;
    font-size: 36px;
  }

  .home-panels,
  .home-footer {
    grid-template-columns: 1fr;
  }

  .featured-gallery-stage {
    grid-template-columns: 38px 1fr 38px;
  }

  .gallery-nav {
    width: 38px;
    height: 52px;
    font-size: 38px;
  }

  .home-panel {
    min-height: auto;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-header h2 {
    font-size: 34px;
    letter-spacing: 8px;
    padding-left: 8px;
  }

  .featured-news,
  .news-list {
    grid-template-columns: 1fr;
  }

  .news-row {
    grid-template-columns: 108px 1fr;
  }

  .news-row time {
    grid-column: 2;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .social-buttons a {
    min-width: 128px;
  }
}

@media (max-width: 520px) {
  .hero h1 {
    font-size: 28px;
    letter-spacing: 8px;
    padding-left: 8px;
  }

  .pilot-counter strong {
    font-size: 32px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .feature-grid article {
    min-height: 165px;
    padding: 20px 12px;
  }

  .feature-icon {
    font-size: 36px;
  }

  .feature-grid h3 {
    font-size: 12px;
  }

  .feature-grid p {
    font-size: 12px;
  }

  .home-gallery-copy {
    text-align: center;
  }

  .home-gallery-copy h2 {
    font-size: 16px;
  }

  .media-stage {
    grid-template-columns: 1fr;
  }

  .media-arrow {
    display: none;
  }

  .media-frame,
  .media-slide,
  .media-slide img,
  .media-slide video,
  .media-slide iframe {
    min-height: 170px;
    height: 170px;
  }

  .play-mark {
    width: 58px;
    height: 58px;
  }

  .play-mark::before {
    left: 23px;
    top: 16px;
    border-left-width: 19px;
    border-top-width: 12px;
    border-bottom-width: 12px;
  }

  .media-slide h3 {
    left: 14px;
    right: 14px;
    bottom: 12px;
    font-size: 14px;
  }

  .media-thumbs {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }

  .media-thumbs button {
    height: 38px;
  }

  .home-panels {
    gap: 14px;
  }

  .home-panel {
    padding: 18px;
  }

  .home-news-item {
    grid-template-columns: 88px 1fr;
    gap: 10px;
  }

  .home-news-item img,
  .home-news-placeholder {
    width: 88px;
    height: 64px;
  }

  .home-footer {
    padding: 20px 18px;
  }

  .home-gallery-strip {
    padding: 16px 14px 20px;
  }

  .featured-gallery-stage {
    grid-template-columns: 1fr;
  }

  .gallery-nav {
    display: none;
  }

  .featured-gallery-frame,
  .featured-gallery-frame img,
  .featured-gallery-frame video,
  .featured-gallery-frame iframe {
    min-height: 185px;
    height: 185px;
  }

  .gallery-thumbs-row {
    width: 100%;
    grid-auto-columns: 92px;
  }

  .gallery-strip-item,
  .gallery-strip-item img,
  .gallery-strip-item video,
  .gallery-video-thumb {
    height: 50px;
    min-height: 50px;
  }

  .footer-socials {
    grid-template-columns: repeat(2, max-content);
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .empty-card {
    padding: 16px;
  }

  .content-section {
    padding-top: 118px;
  }

  .news-header h2 {
    font-size: 26px;
    letter-spacing: 4px;
    padding-left: 4px;
  }

  .news-header p {
    display: block;
    font-size: 14px;
  }

  .news-header p::before,
  .news-header p::after {
    display: none;
  }

  .news-shell {
    padding: 0 10px 12px;
  }

  .news-tabs {
    height: auto;
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 14px;
  }

  .news-tabs button {
    min-height: 42px;
    font-size: 11px;
  }

  .news-card.large h3 {
    font-size: 20px;
  }

  .news-row {
    grid-template-columns: 88px 1fr;
    gap: 10px;
  }

  .news-row img,
  .news-thumb {
    width: 88px;
    height: 66px;
  }

  .social-buttons {
    gap: 10px;
  }

  .social-buttons a {
    min-width: 70px;
    padding: 13px 15px;
    font-size: 0;
  }

  .social-buttons a::first-letter {
    font-size: 0;
  }

  .discord::after { content: "Discord"; font-size: 13px; }
  .instagram::after { content: "Instagram"; font-size: 13px; }
  .twitter::after { content: "X"; font-size: 13px; }
  .youtube::after { content: "YouTube"; font-size: 13px; }
}
