/* WEB PANEL PROXY public CSS */
* { margin: 0; padding: 0; box-sizing: border-box; }

  html, body {
    height: 100%;
    overflow: hidden;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: #000010;
  }

  /* ===== ЗВЁЗДНОЕ НЕБО ===== */
  .sky {
    position: fixed;
    inset: 0;
    background:
      radial-gradient(ellipse at 20% 10%, rgba(60,80,180,0.25), transparent 60%),
      radial-gradient(ellipse at 80% 90%, rgba(140,60,180,0.20), transparent 60%),
      linear-gradient(180deg, #01010a 0%, #04041a 40%, #060622 70%, #0a0a2e 100%);
    overflow: hidden;
  }

  .star {
    position: absolute;
    background: #fff;
    border-radius: 50%;
    animation: twinkle var(--dur) ease-in-out infinite alternate;
  }

  @keyframes twinkle {
    from { opacity: 0.15; transform: scale(0.8); }
    to   { opacity: 1;    transform: scale(1.15); }
  }

  .shooting {
    position: absolute;
    width: 2px; height: 2px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 6px 2px rgba(255,255,255,0.8);
    animation: shoot 2.2s linear forwards;
  }
  .shooting::after {
    content: '';
    position: absolute;
    top: 50%; left: 0;
    width: 120px; height: 1px;
    transform: translateY(-50%);
    transform-origin: left center;
    background: linear-gradient(90deg, rgba(255,255,255,0.9), transparent);
  }
  @keyframes shoot {
    0%   { transform: translate(0,0) rotate(35deg); opacity: 1; }
    100% { transform: translate(500px,350px) rotate(35deg); opacity: 0; }
  }

  /* ===== КОНТЕНТ ===== */
  .content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }

  /* Логотип */
  .logo {
    position: absolute;
    top: 28px; left: 34px;
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #fff;
    user-select: none;
  }
  .logo span {
    background: linear-gradient(90deg, #4facfe, #00f2fe 50%, #a06bff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 10px rgba(80,200,255,0.6));
  }
  .logo::before {
    content: '';
    display: inline-block;
    width: 10px; height: 10px;
    margin-right: 10px;
    border-radius: 50%;
    background: #00f2fe;
    box-shadow: 0 0 12px 3px rgba(0,242,254,0.9);
    vertical-align: middle;
    animation: pulse 2s ease-in-out infinite;
  }
  @keyframes pulse {
    0%,100% { transform: scale(1); opacity: 1; }
    50%     { transform: scale(1.4); opacity: 0.6; }
  }

  /* ===== ЗОНА ПОЛЁТА ===== */
  .flight-zone {
    position: relative;
    width: min(1000px, 94vw);
    height: min(380px, 44vh);
    border-radius: 24px;
    overflow: hidden;
    background:
      radial-gradient(circle at 50% 55%, rgba(70,130,255,0.14), transparent 70%),
      linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
    border: 1px solid rgba(120,180,255,0.25);
    box-shadow:
      0 0 40px rgba(60,130,255,0.25),
      inset 0 0 60px rgba(60,130,255,0.08);
    backdrop-filter: blur(2px);
  }

  .grid {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(90,160,255,0.10) 1px, transparent 1px),
      linear-gradient(90deg, rgba(90,160,255,0.10) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 78%);
    -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 78%);
  }

  .glow {
    position: absolute;
    width: 240px; height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(90,170,255,0.18), transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    pointer-events: none;
    animation: breathe 6s ease-in-out infinite;
  }
  @keyframes breathe {
    0%,100% { opacity: 0.5; transform: translate(-50%,-50%) scale(1); }
    50%     { opacity: 1;   transform: translate(-50%,-50%) scale(1.25); }
  }

  /* ===== САМОЛЁТЫ ===== */
  .flight {
    position: absolute;
    top: 0; left: 0;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    will-change: transform;
  }

  .tilt {
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    will-change: transform;
  }

  .plane {
    position: relative;
    width: 110px;
    height: 60px;
  }
  .plane svg { display: block; width: 100%; height: 100%; overflow: visible; }

  /* Все самолёты летят СЛЕВА-НАПРАВО (носом вперёд) */

  /* Самолёт 1 — через центр */
  .f1 { top: 28%; animation-name: path1; animation-duration: 12s; }
  .f1 .tilt { animation-name: rock1; animation-duration: 3s; }

  @keyframes path1 {
    0%   { transform: translate(-20vw, 0); }
    50%  { transform: translate(50vw, -30px); }
    100% { transform: translate(120vw, 10px); }
  }
  @keyframes rock1 {
    0%,100% { transform: rotate(-1.5deg); }
    50%     { transform: rotate(1.8deg); }
  }

  /* Самолёт 2 — выше и быстрее */
  .f2 { top: 10%; animation-name: path2; animation-duration: 9s; animation-delay: 1.5s; }
  .f2 .tilt { animation-name: rock2; animation-duration: 2.4s; }

  @keyframes path2 {
    0%   { transform: translate(-22vw, 0); }
    45%  { transform: translate(48vw, 22px); }
    100% { transform: translate(122vw, -14px); }
  }
  @keyframes rock2 {
    0%,100% { transform: rotate(1deg); }
    50%     { transform: rotate(-1.6deg); }
  }

  /* Самолёт 3 — маленький дальний, ниже */
  .f3 { top: 70%; animation-name: path3; animation-duration: 14s; animation-delay: 3s; }
  .f3 .tilt { animation-name: rock3; animation-duration: 4s; }
  .f3 .plane { width: 72px; height: 40px; }

  @keyframes path3 {
    0%   { transform: translate(-24vw, 0); }
    50%  { transform: translate(50vw, -22px); }
    100% { transform: translate(124vw, 6px); }
  }
  @keyframes rock3 {
    0%,100% { transform: rotate(-1.2deg); }
    50%     { transform: rotate(1.2deg); }
  }

  /* Самолёт 4 — тоже слева-направо, средний по высоте */
  .f4 { top: 48%; animation-name: path4; animation-duration: 11s; animation-delay: 0.6s; }
  .f4 .tilt { animation-name: rock4; animation-duration: 3.4s; }

  @keyframes path4 {
    0%   { transform: translate(-20vw, 0); }
    50%  { transform: translate(50vw, 28px); }
    100% { transform: translate(120vw, -12px); }
  }
  @keyframes rock4 {
    0%,100% { transform: rotate(-1.4deg); }
    50%     { transform: rotate(1.6deg); }
  }

  /* Инверсионный след — всегда позади (слева от носа) */
  .contrail {
    position: absolute;
    top: 50%;
    right: 100%;
    width: 160px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, transparent, rgba(200,225,255,0.5));
    filter: blur(2px);
    transform: translateY(-50%);
    pointer-events: none;
  }

  /* ===== ЗАГОЛОВОК ===== */
  h1 {
    margin-top: 42px;
    font-size: clamp(2rem, 6vw, 4.2rem);
    font-weight: 900;
    letter-spacing: 2px;
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, #9fd0ff 60%, #6aa8ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 50px rgba(100,170,255,0.45);
    animation: floatText 4s ease-in-out infinite;
  }
  @keyframes floatText {
    0%,100% { transform: translateY(0); }
    50%     { transform: translateY(-8px); }
  }

  /* ===== КНОПКА ===== */
  .btn {
    margin-top: 34px;
    padding: 18px 46px;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #04170a;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    border-radius: 60px;
    background: linear-gradient(180deg, #57ff9b, #16c96a 55%, #0aa653);
    box-shadow:
      0 0 0 1px rgba(120,255,180,0.6),
      0 10px 30px rgba(20,220,120,0.45),
      0 0 45px rgba(20,220,120,0.3),
      inset 0 2px 6px rgba(255,255,255,0.5),
      inset 0 -3px 8px rgba(0,80,40,0.4);
    transition: transform 0.18s ease, box-shadow 0.25s ease, filter 0.25s ease;
    animation: btnPulse 2.4s ease-in-out infinite;
  }
  @keyframes btnPulse {
    0%,100% { box-shadow: 0 0 0 1px rgba(120,255,180,0.6), 0 10px 30px rgba(20,220,120,0.45), 0 0 45px rgba(20,220,120,0.3), inset 0 2px 6px rgba(255,255,255,0.5), inset 0 -3px 8px rgba(0,80,40,0.4); }
    50%     { box-shadow: 0 0 0 1px rgba(120,255,180,0.9), 0 12px 38px rgba(20,220,120,0.7), 0 0 80px rgba(20,220,120,0.6), inset 0 2px 6px rgba(255,255,255,0.6), inset 0 -3px 8px rgba(0,80,40,0.4); }
  }
  .btn:hover { transform: translateY(-3px) scale(1.04); filter: brightness(1.1); }
  .btn:active { transform: translateY(1px) scale(0.98); }
  .btn:disabled {
    cursor: default;
    filter: saturate(0.5) brightness(0.8);
    animation: none;
    transform: none;
  }

  /* ===== СООБЩЕНИЕ ===== */
  .message {
    margin-top: 26px;
    min-height: 40px;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #5dffa5;
    opacity: 0;
    transform: translateY(14px) scale(0.94);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.18,0.9,0.3,1.4);
    text-shadow: 0 0 18px rgba(60,255,150,0.9), 0 0 44px rgba(60,255,150,0.5);
  }
  .message.show { opacity: 1; transform: translateY(0) scale(1); }

  @media (max-width: 520px) {
    .logo { font-size: 1.35rem; top: 18px; left: 18px; }
    .logo::before { width: 8px; height: 8px; margin-right: 7px; }
    .flight-zone { height: 32vh; }
    .plane { width: 76px; height: 42px; }
    .f3 .plane { width: 52px; height: 30px; }
    .contrail { width: 100px; }
    .btn { padding: 15px 30px; font-size: 1rem; }
    .message { font-size: 1.25rem; }
    h1 { margin-top: 26px; }
  }