/* WEB PANEL PROXY public CSS */
* { margin: 0; padding: 0; box-sizing: border-box; }

  :root {
    --purple: #6c2bd9;
    --pink: #ff2e88;
    --cyan: #00e5ff;
    --yellow: #ffd500;
    --dark: #14002e;
  }

  body {
    font-family: 'Segoe UI', 'Arial Black', sans-serif;
    background: var(--dark);
    color: #fff;
    overflow-x: hidden;
  }

  /* ---------- Анимированный фон ---------- */
  .bg-glow {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
      radial-gradient(circle at 15% 20%, rgba(108,43,217,.45), transparent 45%),
      radial-gradient(circle at 85% 15%, rgba(255,46,136,.35), transparent 45%),
      radial-gradient(circle at 50% 90%, rgba(0,229,255,.30), transparent 50%),
      var(--dark);
  }

  /* ---------- Шапка ---------- */
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 6vw;
    position: sticky;
    top: 0;
    backdrop-filter: blur(10px);
    background: rgba(20,0,46,.6);
    z-index: 10;
    border-bottom: 2px solid rgba(255,46,136,.3);
  }

  .logo {
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--pink), var(--yellow));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 25px rgba(255,46,136,.4);
  }

  nav a {
    color: #ddd;
    text-decoration: none;
    margin-left: 28px;
    font-weight: 600;
    transition: .25s;
    font-size: .95rem;
  }
  nav a:hover { color: var(--cyan); text-shadow: 0 0 12px var(--cyan); }

  /* ---------- Hero ---------- */
  .hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 50px;
    padding: 70px 6vw 90px;
    position: relative;
  }

  .hero-text { max-width: 520px; }

  .hero-text h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.05;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 22px;
    background: linear-gradient(120deg, #fff 30%, var(--cyan) 55%, var(--pink) 75%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 18px rgba(0,229,255,.35));
  }

  .hero-text p {
    font-size: 1.15rem;
    color: #c9b8e8;
    line-height: 1.6;
    margin-bottom: 32px;
    font-family: 'Segoe UI', sans-serif;
  }

  /* ---------- Таймер обратного отсчёта ---------- */
  .countdown-wrap {
    margin-top: 10px;
  }

  .countdown-label {
    font-size: .9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--cyan);
    margin-bottom: 16px;
    text-shadow: 0 0 15px rgba(0,229,255,.5);
  }

  .countdown {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex-wrap: wrap;
  }

  .time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
    border: 2px solid rgba(255,46,136,.4);
    border-radius: 18px;
    padding: 14px 16px;
    min-width: 84px;
    box-shadow: 0 0 25px rgba(255,46,136,.25), inset 0 0 15px rgba(108,43,217,.2);
    transition: .3s;
  }
  .time-block:hover {
    border-color: var(--cyan);
    box-shadow: 0 0 35px rgba(0,229,255,.5);
    transform: translateY(-4px);
  }

  .time-value {
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(180deg, #fff, var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 12px rgba(0,229,255,.4));
    font-variant-numeric: tabular-nums;
  }

  .time-unit {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #b9a9dc;
    margin-top: 8px;
  }

  .time-divider {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--pink);
    text-shadow: 0 0 15px rgba(255,46,136,.7);
    padding-top: 12px;
  }

  @media (max-width: 500px) {
    .time-block { min-width: 64px; padding: 10px 10px; }
    .time-divider { font-size: 1.6rem; padding-top: 8px; }
  }

  /* ---------- Игровая картинка-заглушка (SVG) ---------- */
  .hero-art {
    width: min(480px, 90vw);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0,0,0,.6), 0 0 60px rgba(108,43,217,.5);
    border: 3px solid rgba(255,255,255,.12);
    animation: float 5s ease-in-out infinite;
  }
  @keyframes float {
    0%,100% { transform: translateY(0) rotate(-1deg); }
    50%     { transform: translateY(-18px) rotate(1deg); }
  }

  .hero-art svg { display: block; width: 100%; height: auto; }

  /* ---------- Секции ---------- */
  section { padding: 90px 6vw; }

  .section-title {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 14px;
    letter-spacing: 2px;
  }
  .section-title span {
    background: linear-gradient(90deg, var(--cyan), var(--pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .section-sub {
    text-align: center;
    color: #a894d4;
    margin-bottom: 55px;
    font-family: 'Segoe UI', sans-serif;
    font-size: 1.05rem;
  }

  /* ---------- Персонажи ---------- */
  .characters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .char-card {
    background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
    border: 2px solid rgba(255,255,255,.1);
    border-radius: 24px;
    padding: 26px 20px;
    text-align: center;
    transition: .35s;
    position: relative;
    overflow: hidden;
  }
  .char-card::before {
    content: '';
    position: absolute;
    inset: -40%;
    background: conic-gradient(from 0deg, transparent, var(--cyan), transparent 40%);
    opacity: 0;
    transition: .4s;
    animation: spin 6s linear infinite;
  }
  .char-card:hover::before { opacity: .25; }
  @keyframes spin { to { transform: rotate(360deg); } }

  .char-card:hover {
    transform: translateY(-12px);
    border-color: var(--pink);
    box-shadow: 0 20px 50px rgba(255,46,136,.35);
  }

  .char-avatar {
    width: 150px;
    height: 150px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 40px rgba(0,0,0,.5);
  }
  .char-avatar svg { width: 100%; height: 100%; }

  .char-card h3 {
    font-size: 1.35rem;
    margin-bottom: 6px;
    position: relative;
    z-index: 2;
  }
  .char-role {
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--cyan);
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
  }
  .char-card p {
    font-size: .92rem;
    color: #b9a9dc;
    font-family: 'Segoe UI', sans-serif;
    line-height: 1.5;
    position: relative;
    z-index: 2;
  }

  /* ---------- Скриншоты ---------- */
  .screens {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 22px;
    max-width: 1200px;
    margin: 0 auto;
  }

  .shot {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 2px solid rgba(255,255,255,.1);
    transition: .3s;
    cursor: pointer;
  }
  .shot svg { display: block; width: 100%; height: auto; }
  .shot:hover {
    transform: scale(1.03);
    border-color: var(--cyan);
    box-shadow: 0 0 45px rgba(0,229,255,.5);
  }
  .shot .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 16px 12px;
    background: linear-gradient(transparent, rgba(20,0,46,.95));
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: .5px;
  }

  /* ---------- Фичи ---------- */
  .features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
  }
  .feature {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 20px;
    padding: 30px 24px;
    transition: .3s;
  }
  .feature:hover { background: rgba(255,255,255,.09); border-color: var(--purple); }
  .feature .icon { font-size: 2.4rem; margin-bottom: 14px; }
  .feature h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--yellow); }
  .feature p { font-family: 'Segoe UI', sans-serif; color: #b9a9dc; line-height: 1.55; font-size: .95rem; }

  /* ---------- CTA ---------- */
  .cta {
    text-align: center;
    padding: 100px 6vw;
    background:
      radial-gradient(circle at 50% 0%, rgba(255,46,136,.25), transparent 60%);
  }
  .cta h2 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 18px;
    background: linear-gradient(90deg, var(--yellow), var(--pink), var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .cta p { color: #b9a9dc; margin-bottom: 36px; font-family: 'Segoe UI', sans-serif; font-size: 1.1rem; }

  /* ---------- Форма подписки ---------- */
  .subscribe-form {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
  }

  .input-group {
    display: flex;
    gap: 12px;
    background: rgba(255,255,255,.05);
    padding: 8px;
    border-radius: 50px;
    border: 2px solid rgba(255,46,136,.4);
    box-shadow: 0 0 25px rgba(255,46,136,.2), inset 0 0 15px rgba(108,43,217,.2);
    transition: .3s;
  }
  
  .input-group:focus-within {
    border-color: var(--cyan);
    box-shadow: 0 0 35px rgba(0,229,255,.4);
  }

  .email-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 1.05rem;
    padding: 0 20px;
    font-family: 'Segoe UI', sans-serif;
  }
  
  .email-input::placeholder {
    color: #a894d4;
  }

  .btn {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    font-size: 1rem;
    background: linear-gradient(90deg, var(--pink), var(--purple));
    color: #fff;
    box-shadow: 0 0 30px rgba(255,46,136,.55), 0 10px 30px rgba(0,0,0,.5);
    transition: .3s;
    border: none;
    cursor: pointer;
  }
  .btn:hover { transform: translateY(-4px) scale(1.04); box-shadow: 0 0 50px rgba(255,46,136,.85); }

  .subscribe-btn {
    padding: 14px 32px;
    font-size: .95rem;
    white-space: nowrap;
  }

  .error-msg {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--pink);
    font-size: .85rem;
    font-weight: 600;
    opacity: 0;
    transition: .3s;
    pointer-events: none;
    text-shadow: 0 0 10px rgba(255,46,136,.5);
  }

  .error-msg.show {
    opacity: 1;
    bottom: -28px;
  }

  @media (max-width: 600px) {
    .input-group {
      flex-direction: column;
      border-radius: 20px;
      padding: 12px;
    }
    .email-input { padding: 12px; text-align: center; }
    .subscribe-btn { width: 100%; }
    .error-msg { position: static; transform: none; margin-top: 10px; }
  }

  /* ---------- Всплывающие уведомления (Toast) ---------- */
  .toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .toast {
    background: linear-gradient(160deg, rgba(108,43,217,.9), rgba(20,0,46,.95));
    border: 2px solid var(--cyan);
    border-radius: 16px;
    padding: 16px 24px;
    color: #fff;
    font-family: 'Segoe UI', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0,0,0,.5), 0 0 20px rgba(0,229,255,.3);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s;
    opacity: 0;
  }

  .toast.show {
    transform: translateX(0);
    opacity: 1;
  }

  .toast.hide {
    transform: translateX(120%);
    opacity: 0;
  }

  .toast-icon {
    font-size: 1.5rem;
  }

  @media (max-width: 600px) {
    .toast-container { bottom: 20px; right: 20px; left: 20px; }
    .toast { width: 100%; justify-content: center; }
  }

  /* ---------- Футер ---------- */
  footer {
    text-align: center;
    padding: 40px 6vw;
    border-top: 1px solid rgba(255,255,255,.1);
    color: #7a6a99;
    font-family: 'Segoe UI', sans-serif;
    font-size: .9rem;
  }
  footer strong { color: var(--pink); }

  @media (max-width: 700px) {
    nav { display: none; }
    .hero { padding-top: 45px; }
  }