@import url('[fonts.googleapis.com](https://fonts.googleapis.com/css2?family=Orbitron:wght@700;900&display=swap)');

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --purple-light: #e879f9;
  --purple-mid:   #a855f7;
  --purple-dark:  #7e22ce;
  --purple-deep:  #3b0764;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0a0012; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(#a855f7, #6d28d9);
  border-radius: 10px;
}

/* ─── BODY ─── */
body {
  background: radial-gradient(ellipse at 20% 10%, #1e0035 0%, #0a0012 40%, #000005 100%);
  color: white;
  font-family: 'Orbitron', sans-serif;
  font-style: italic;
  font-weight: bold;
  overflow-x: hidden;
  cursor: none;
  min-height: 100vh;
}

/* ─── ЗВЁЗДНОЕ ПОЛЕ ─── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,0.9) 1px, transparent 1px),
    radial-gradient(rgba(168,85,247,0.7)  1px, transparent 1px),
    radial-gradient(rgba(232,121,249,0.4) 1.5px, transparent 1.5px);
  background-size: 80px 80px, 50px 50px, 120px 120px;
  background-position: 0 0, 25px 25px, 10px 60px;
  opacity: 0.35;
  animation: starsMove 80s linear infinite;
  z-index: -2;
}

/* ─── ТУМАННОСТЬ ─── */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(139,92,246,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(88,28,135,0.15)  0%, transparent 60%),
    radial-gradient(ellipse 30% 30% at 50% 50%, rgba(232,121,249,0.05) 0%, transparent 70%);
  z-index: -1;
  animation: nebulaPulse 12s ease-in-out infinite alternate;
}

@keyframes nebulaPulse {
  0%   { opacity: 0.6; }
  100% { opacity: 1;   }
}

@keyframes starsMove {
  0%   { transform: translateY(0)       rotate(0deg); }
  100% { transform: translateY(-2000px) rotate(2deg); }
}

/* ─── КУРСОР ─── */
.cursor {
  position: fixed;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e879f9;
  pointer-events: none;
  box-shadow: 0 0 10px #e879f9, 0 0 30px #a855f7, 0 0 60px #7e22ce;
  transform: translate(-50%, -50%);
  z-index: 9999;
  transition: transform 0.1s ease, width 0.2s ease, height 0.2s ease;
}

.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(168,85,247,0.6);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9998;
  transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease, border-color 0.3s;
}

/* ─── NAVBAR ─── */
.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  padding: 22px 40px;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(147,51,234,0.4);
  background: rgba(10,0,18,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 40px rgba(109,40,217,0.3);
}

.navbar::before {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #a855f7, #e879f9, #a855f7, transparent);
  animation: navLineGlow 3s ease-in-out infinite;
}

@keyframes navLineGlow {
  0%, 100% { opacity: 0.5; width: 40%; }
  50%       { opacity: 1;   width: 80%; }
}

.navbar a {
  font-family: 'Orbitron', sans-serif;
  font-weight: bold;
  font-style: italic;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(230,204,255,0.8);
  text-decoration: none;
  position: relative;
  padding: 6px 0;
  transition: color 0.3s;
}

.navbar a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #a855f7, #e879f9);
  transition: width 0.35s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 0 8px #a855f7;
}

.navbar a:hover {
  color: #e9d5ff;
  text-shadow: 0 0 10px #c084ff, 0 0 20px #9333ea;
}

.navbar a:hover::after { width: 100%; }

/* ─── HERO ─── */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

/* ─── ЗАГОЛОВОК — свечение ослаблено ─── */
.title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(42px, 8vw, 90px);
  font-weight: 900;
  font-style: italic;
  letter-spacing: 8px;
  text-align: center;
  color: #e9d5ff;
  position: relative;
  animation: titleReveal 1.2s cubic-bezier(0.16,1,0.3,1) both,
             titleGlow   4s ease-in-out infinite alternate 1.2s;
  line-height: 1.1;
}

.title::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  color: #581c87;
  filter: blur(14px);
  opacity: 0.45;
  z-index: -1;
}

@keyframes titleReveal {
  0%   { opacity: 0; transform: translateY(40px) scale(0.95); letter-spacing: 2px; }
  100% { opacity: 1; transform: translateY(0)    scale(1);    letter-spacing: 8px; }
}

/* ослабленное свечение */
@keyframes titleGlow {
  0% {
    text-shadow:
      0 0 8px  #c084fc,
      0 0 16px #9333ea;
  }
  100% {
    text-shadow:
      0 0 12px #e879f9,
      0 0 28px #a855f7,
      0 0 50px #7e22ce;
  }
}

/* ─── ПОДЗАГОЛОВОК ─── */
.subtitle {
  font-family: 'Orbitron', sans-serif;
  font-weight: bold;
  font-style: italic;
  font-size: clamp(12px, 1.8vw, 16px);
  letter-spacing: 5px;
  text-transform: uppercase;
  text-align: center;
  margin-top: 14px;
  color: rgba(196,132,252,0.7);
  animation: fadeInUp 1s ease both 0.6s;
}

@keyframes fadeInUp {
  0%   { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0);    }
}

/* ─── РАЗДЕЛИТЕЛЬ ─── */
.divider {
  width: 200px;
  height: 1px;
  margin: 28px auto 0;
  background: linear-gradient(90deg, transparent, #a855f7, #e879f9, #a855f7, transparent);
  box-shadow: 0 0 12px #a855f7;
  animation: dividerExpand 1.5s cubic-bezier(0.4,0,0.2,1) both 1s;
}

@keyframes dividerExpand {
  0%   { width: 0;     opacity: 0; }
  100% { width: 200px; opacity: 1; }
}

/* ─── ПЛАНЕТА ─── */
.planet {
  position: absolute;
  top: 80px;
  right: 8%;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #d8b4fe, #9333ea 40%, #4c1d95 80%, #2e1065);
  box-shadow:
    inset -20px -20px 40px rgba(0,0,0,0.5),
    inset  10px  10px 30px rgba(232,121,249,0.3),
    0 0  30px rgba(168,85,247,0.6),
    0 0  80px rgba(147,51,234,0.4),
    0 0 140px rgba(109,40,217,0.2);
  animation: planetFloat 7s ease-in-out infinite;
  transition: transform 0.1s ease-out;
}

.planet::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -30%;
  width: 160%;
  height: 30%;
  border-radius: 50%;
  border: 2px solid rgba(168,85,247,0.4);
  transform: translateY(-50%) rotateX(75deg);
  box-shadow: 0 0 15px rgba(168,85,247,0.3);
}

.planet::after {
  content: "";
  position: absolute;
  top: 18%;
  left: 15%;
  width: 25%;
  height: 12%;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  filter: blur(4px);
}

@keyframes planetFloat {
  0%, 100% { transform: translateY(0)     rotate(0deg); }
  33%       { transform: translateY(-18px) rotate(1.5deg); }
  66%       { transform: translateY(-8px)  rotate(-1deg); }
}

/* ─── ПОРТАЛ ─── */
.portal {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 40px auto 0;
}

.portal-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(168,85,247,0.5);
  animation: portalSpin 6s linear infinite;
}

.portal-ring--1 {
  border-color: rgba(232,121,249,0.5);
  animation-duration: 5s;
  box-shadow: 0 0 12px rgba(232,121,249,0.3);
}

.portal-ring--2 {
  inset: 16px;
  border-color: rgba(168,85,247,0.4);
  animation-duration: 8s;
  animation-direction: reverse;
}

.portal-ring--3 {
  inset: 32px;
  border-color: rgba(139,92,246,0.3);
  animation-duration: 12s;
  border-style: dashed;
}

@keyframes portalSpin {
  0%   { transform: rotate(0deg)   scale(1);    }
  50%  { transform: rotate(180deg) scale(1.04); }
  100% { transform: rotate(360deg) scale(1);    }
}

.portal-core {
  position: absolute;
  inset: 48px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #e879f9, #9333ea 50%, #3b0764);
  box-shadow:
    0 0 20px rgba(232,121,249,0.7),
    0 0 60px rgba(168,85,247,0.4),
    inset 0 0 20px rgba(0,0,0,0.5);
  animation: corePulse 3s ease-in-out infinite;
}

@keyframes corePulse {
  0%, 100% { box-shadow: 0 0 20px rgba(232,121,249,0.7), 0 0 60px rgba(168,85,247,0.4); }
  50%       { box-shadow: 0 0 40px rgba(232,121,249,0.9), 0 0 100px rgba(168,85,247,0.6); }
}

.portal-particles {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: portalSpin 10s linear infinite;
}

.portal-particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #e879f9;
  box-shadow: 0 0 6px #e879f9, 0 0 12px #a855f7;
}

.portal-particles span:nth-child(1) { top: 0;    left: 50%;  animation: particlePulse 2s ease-in-out infinite 0s; }
.portal-particles span:nth-child(2) { top: 25%;  right: 0;   animation: particlePulse 2s ease-in-out infinite 0.33s; }
.portal-particles span:nth-child(3) { bottom: 25%; right: 0; animation: particlePulse 2s ease-in-out infinite 0.66s; }
.portal-particles span:nth-child(4) { bottom: 0; left: 50%;  animation: particlePulse 2s ease-in-out infinite 1s; }
.portal-particles span:nth-child(5) { bottom: 25%; left: 0;  animation: particlePulse 2s ease-in-out infinite 1.33s; }
.portal-particles span:nth-child(6) { top: 25%;  left: 0;    animation: particlePulse 2s ease-in-out infinite 1.66s; }

@keyframes particlePulse {
  0%, 100% { opacity: 0.3; transform: scale(1);   }
  50%       { opacity: 1;   transform: scale(1.8); }
}

/* ─── КАРТОЧКИ ─── */
.orbit-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 80px;
  padding: 0 40px;
}

.card {
  width: 260px;
  padding: 36px 28px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(30,0,50,0.8), rgba(10,0,20,0.9));
  border: 1px solid rgba(147,51,234,0.35);
  box-shadow:
    0 0 0 1px rgba(168,85,247,0.1),
    0 8px 32px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.05);
  backdrop-filter: blur(16px);
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity     0.6s ease,
    transform   0.6s cubic-bezier(0.34,1.56,0.64,1),
    box-shadow  0.4s ease,
    border-color 0.4s ease;
  position: relative;
  overflow: hidden;
}

.card--visible {
  opacity: 1;
  transform: translateY(0);
}

.card:nth-child(1) { transition-delay: 0.05s; }
.card:nth-child(2) { transition-delay: 0.15s; }
.card:nth-child(3) { transition-delay: 0.25s; }
.card:nth-child(4) { transition-delay: 0.35s; }

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(168,85,247,0.08), transparent);
  transition: left 0.6s ease;
}

.card:hover::before { left: 100%; }

.card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232,121,249,0.6), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.card:hover::after { opacity: 1; }

.card:hover {
  transform: translateY(-12px) scale(1.03);
  border-color: rgba(168,85,247,0.7);
  box-shadow:
    0 0 25px rgba(192,132,252,0.3),
    0 0 60px rgba(147,51,234,0.2),
    0 20px 40px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.1);
}

/* ─── ИКОНКИ ─── */
.icon {
  font-size: 44px;
  margin-bottom: 18px;
  display: inline-block;
  color: #c084fc;
  filter: drop-shadow(0 0 8px #c084fc) drop-shadow(0 0 20px #9333ea);
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), filter 0.4s;
}

.card:hover .icon {
  transform: scale(1.25) rotate(5deg);
  filter: drop-shadow(0 0 14px #e879f9) drop-shadow(0 0 36px #a855f7);
}

/* ─── ТЕКСТ КАРТОЧЕК ─── */
.card h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 13px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #e9d5ff;
  margin-bottom: 10px;
}

.card p {
  font-family: 'Orbitron', sans-serif;
  font-size: 12px;
  font-style: italic;
  font-weight: bold;
  line-height: 1.7;
  color: rgba(196,132,252,0.75);
}

/* ─── КНОПКИ ─── */
.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 12px 28px;
  border-radius: 12px;
  background: linear-gradient(135deg, #9333ea, #6d28d9);
  color: white;
  font-family: 'Orbitron', sans-serif;
  font-weight: bold;
  font-style: italic;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(168,85,247,0.4);
  box-shadow: 0 0 15px rgba(147,51,234,0.5), inset 0 1px 0 rgba(255,255,255,0.1);
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  overflow: hidden;
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #a855f7, #7e22ce);
  opacity: 0;
  transition: opacity 0.3s;
}

.button:hover::before { opacity: 1; }

.button:hover {
  box-shadow: 0 0 25px rgba(232,121,249,0.6), 0 0 60px rgba(168,85,247,0.3);
  transform: translateY(-2px) scale(1.04);
  border-color: rgba(232,121,249,0.6);
}

.button span { position: relative; z-index: 1; }

/* ─── RIPPLE ─── */
.ripple {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transform: translate(-50%,-50%) scale(0);
  animation: rippleOut 0.6s ease-out forwards;
  pointer-events: none;
}

@keyframes rippleOut {
  0%   { transform: translate(-50%,-50%) scale(0);  opacity: 1; }
  100% { transform: translate(-50%,-50%) scale(30); opacity: 0; }
}

/* ─── ФУТЕР ─── */
.footer {
  text-align: center;
  margin-top: 120px;
  padding: 40px 20px;
  font-family: 'Orbitron', sans-serif;
  font-style: italic;
  font-weight: bold;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(196,132,252,0.35);
  border-top: 1px solid rgba(147,51,234,0.15);
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #a855f7, transparent);
  box-shadow: 0 0 10px #a855f7;
}

/* ─── АДАПТИВ ─── */
@media (max-width: 768px) {
  .navbar { gap: 20px; padding: 16px 20px; }
  .navbar a { font-size: 11px; letter-spacing: 1px; }
  .planet { width: 80px; height: 80px; top: 60px; right: 4%; }
  .orbit-container { gap: 20px; padding: 0 20px; }
  .card { width: 100%; max-width: 340px; }
  .title { letter-spacing: 4px; }
}
/* ─── MOBILE FIXES ─── */

@media (max-width: 768px) {

  .hero{
    padding-top: 60px;
    padding-bottom: 40px;
  }

  .title{
    font-size: 42px;
    letter-spacing: 3px;
  }

  .subtitle{
    font-size: 11px;
    letter-spacing: 3px;
  }

  .divider{
    width: 120px;
  }

  /* планету уменьшаем */
  .planet{
    width: 70px;
    height: 70px;
    top: 50px;
    right: 5%;
  }

  /* портал уменьшаем */
  .portal{
    width: 120px;
    height: 120px;
  }

  .portal-core{
    inset: 32px;
  }

  /* карточки вертикально */
  .orbit-container{
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-top: 40px;
    padding: 0 16px;
  }

  .card{
    width: 100%;
    max-width: 320px;
    padding: 26px 20px;
  }

  .icon{
    font-size: 34px;
  }

  .card h3{
    font-size: 12px;
  }

  .card p{
    font-size: 11px;
  }

  /* кнопки крупнее для пальцев */
  .button{
    width: 100%;
    justify-content: center;
    padding: 14px 18px;
    font-size: 11px;
  }

  .navbar{
    gap: 14px;
    padding: 14px 10px;
  }

  .navbar a{
    font-size: 10px;
  }

}
/* ───── MOBILE RESOURCES ───── */

@media (max-width: 768px){

  .orbit-container{
    display:flex;
    flex-direction:column;
    align-items:center;
    width:100%;
    gap:18px;
    padding:0 12px;
  }

  .card{
    width:100%;
    max-width:100%;
    padding:24px;
  }

  .button{
    width:100%;
    display:flex;
    justify-content:center;
    padding:16px;
    font-size:12px;
  }

}
/* ───── МОБИЛЬНЫЕ РЕСУРСЫ ───── */

@media (max-width:768px){

  .orbit-container{
    display:flex;
    flex-direction:column;
    align-items:center;
    width:100%;
    gap:16px;
    padding:0 14px;
  }

  .card{
    width:100%;
    max-width:100%;
    padding:22px 20px;
  }

  .card h3{
    font-size:13px;
  }

  .card p{
    font-size:12px;
  }

  .button{
    width:100%;
    display:flex;
    justify-content:center;
    padding:16px;
    font-size:12px;
  }

}
.catalog-image{
width:100%;
height:180px;
object-fit:cover;
border-radius:14px;
margin-bottom:14px;
box-shadow:0 0 15px rgba(168,85,247,0.5);
}