:root {
  --bg: #0a1b2d;
  --bg-soft: #102943;
  --cyan: #00ffff;
  --blue: #1e7dff;
  --text: #e8f7ff;
  --muted: #9cc6df;
  --card: rgba(14, 43, 70, 0.65);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", "Inter", Arial, sans-serif;
  background: radial-gradient(circle at 20% 10%, #153e63 0%, var(--bg) 48%, #050d17 100%);
  color: var(--text);
  scroll-behavior: smooth;
}

body {
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
}

.bg-orb {
  position: fixed;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  z-index: 0;
}

.orb-1 {
  width: 320px;
  height: 320px;
  background: var(--cyan);
  top: -80px;
  left: -80px;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: var(--blue);
  right: -100px;
  bottom: 10%;
}

.hero, .section, .footer {
  position: relative;
  z-index: 1;
}

.hero {
  min-height: 90vh;
  padding: 2rem 6vw 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4rem;
}

.logo {
  font-weight: 800;
  letter-spacing: 0.08em;
  text-shadow: 0 0 14px rgba(0, 255, 255, 0.9);
}

.hero-content {
  max-width: 800px;
}

.tag {
  display: inline-block;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(0, 255, 255, 0.5);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--cyan);
  box-shadow: 0 0 16px rgba(0, 255, 255, 0.2);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.9rem);
  line-height: 1.1;
  margin: 1rem 0;
  text-shadow: 0 0 24px rgba(30, 125, 255, 0.7), 0 0 8px rgba(0, 255, 255, 0.8);
}

h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.3rem);
  text-align: center;
  margin-bottom: 2rem;
  text-shadow: 0 0 16px rgba(0, 255, 255, 0.6);
}

h3 {
  margin-top: 0.4rem;
}

p {
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgba(0, 255, 255, 0.6);
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  padding: 0.75rem 1.1rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  background: rgba(16, 52, 85, 0.6);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 22px rgba(0, 255, 255, 0.7);
}

.btn-primary {
  background: linear-gradient(90deg, #0073ff 0%, #00baff 55%, #00ffff 100%);
  color: #001122;
  border: 0;
}

.btn-outline {
  background: rgba(0, 255, 255, 0.08);
}

.btn-small {
  font-size: 0.85rem;
  padding: 0.5rem 0.8rem;
}

.pulse:hover {
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 255, 255, 0.4); }
  70% { box-shadow: 0 0 0 16px rgba(0, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 255, 255, 0); }
}

.tg-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
}

.tg-icon svg {
  fill: #052644;
}

.section {
  padding: 2rem 6vw 4rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.card {
  background: var(--card);
  border: 1px solid rgba(0, 255, 255, 0.4);
  border-radius: 14px;
  padding: 1.2rem;
  box-shadow: inset 0 0 20px rgba(0, 255, 255, 0.06), 0 0 16px rgba(0, 90, 145, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 24px rgba(0, 255, 255, 0.5);
}

.icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  background: rgba(0, 255, 255, 0.16);
  box-shadow: 0 0 18px rgba(0, 255, 255, 0.7);
}

.feature {
  position: relative;
  padding-left: 1.2rem;
}

.feature::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.1rem;
  width: 5px;
  height: 70%;
  background: linear-gradient(var(--cyan), var(--blue));
  border-radius: 10px;
  box-shadow: 0 0 16px var(--cyan);
}

.form-section {
  max-width: 950px;
  margin: 0 auto;
}

.video-box {
  background: rgba(16, 39, 65, 0.7);
  border: 1px solid rgba(0, 255, 255, 0.4);
  border-radius: 16px;
  padding: 0.8rem;
  min-height: 320px;
}

.video-box video {
  width: 100%;
  min-height: 420px;
  border: 0;
  border-radius: 12px;
  background: rgba(5, 24, 40, 0.88);
}

.video-hint {
  margin: 0.8rem 0 0;
  text-align: center;
}

label {
  display: grid;
  gap: 0.45rem;
  font-weight: 600;
  color: #d5f2ff;
}

input, select {
  width: 100%;
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 10px;
  padding: 0.68rem 0.8rem;
  background: rgba(5, 24, 40, 0.88);
  color: var(--text);
}

input:focus, select:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 14px rgba(0, 255, 255, 0.45);
}

.admin-panel {
  position: fixed;
  right: 24px;
  top: 24px;
  width: min(440px, calc(100vw - 32px));
  z-index: 15;
  background: rgba(7, 21, 37, 0.96);
  border: 1px solid rgba(0, 255, 255, 0.35);
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 0 24px rgba(0, 255, 255, 0.25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.admin-panel.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.admin-panel h3 {
  margin: 0 0 0.8rem;
}

.admin-form {
  display: grid;
  gap: 0.8rem;
}

.admin-status {
  margin: 0;
  min-height: 1.2rem;
  color: var(--cyan);
  font-weight: 600;
}

.floating-telegram {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  z-index: 12;
  background: linear-gradient(180deg, #00b7ff, #007dff);
  box-shadow: 0 0 22px rgba(0, 183, 255, 0.65);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-telegram:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 26px rgba(0, 183, 255, 0.85);
}

.floating-telegram svg,
.social-icon svg {
  width: 24px;
  height: 24px;
  fill: #ffffff;
}

.social-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
}

.social-icon svg {
  width: 20px;
  height: 20px;
}

.cta {
  text-align: center;
}

.footer {
  padding: 2rem 6vw 2.6rem;
  text-align: center;
  border-top: 1px solid rgba(0, 255, 255, 0.25);
  background: rgba(6, 18, 31, 0.7);
}

.socials {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.social {
  color: var(--cyan);
  text-decoration: none;
  border: 1px solid rgba(0, 255, 255, 0.5);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.footer-links a {
  color: #b4e5ff;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .cards-3, .cards-2 {
    grid-template-columns: 1fr;
  }

  .video-box video {
    min-height: 240px;
  }

  .topbar {
    margin-bottom: 2rem;
  }
}
