/* style.css — Полностью обновлённый стиль */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Roboto, system-ui, sans-serif;
  background: radial-gradient(ellipse at bottom, #0d1120 0%, #03050b 100%);
  min-height: 100vh;
  padding-top: 80px;
  overflow-x: hidden;
}

/* ===== ЗВЁЗДЫ ===== */
.stars, .twinkling {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.stars {
  background: transparent url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="300" height="300"%3E%3Ccircle cx="30" cy="30" r="1.5" fill="%23ffffff" opacity="0.8"/%3E%3Ccircle cx="90" cy="70" r="1" fill="%23ffffff" opacity="0.6"/%3E%3Ccircle cx="150" cy="120" r="2" fill="%23ffffff" opacity="0.9"/%3E%3Ccircle cx="220" cy="50" r="1.2" fill="%23ffffff" opacity="0.7"/%3E%3Ccircle cx="270" cy="180" r="1.8" fill="%23ffffff" opacity="0.5"/%3E%3Ccircle cx="50" cy="200" r="1.3" fill="%23ffffff" opacity="0.8"/%3E%3Ccircle cx="180" cy="250" r="1" fill="%23ffffff" opacity="0.6"/%3E%3Ccircle cx="280" cy="260" r="1.7" fill="%23ffffff" opacity="0.7"/%3E%3Ccircle cx="120" cy="280" r="1.2" fill="%23ffffff" opacity="0.9"/%3E%3Ccircle cx="10" cy="150" r="1.5" fill="%23ffffff" opacity="0.6"/%3E%3C/svg%3E') repeat;
  background-size: 300px 300px;
  animation: starMove 60s linear infinite;
}
.twinkling {
  background: transparent url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="200" height="200"%3E%3Ccircle cx="40" cy="40" r="2" fill="%23ffffff" opacity="0.3"/%3E%3Ccircle cx="120" cy="80" r="2.5" fill="%23ffffff" opacity="0.2"/%3E%3Ccircle cx="180" cy="30" r="1.8" fill="%23ffffff" opacity="0.4"/%3E%3Ccircle cx="80" cy="160" r="2.2" fill="%23ffffff" opacity="0.25"/%3E%3Ccircle cx="160" cy="180" r="1.5" fill="%23ffffff" opacity="0.35"/%3E%3C/svg%3E') repeat;
  background-size: 200px 200px;
  animation: twinkle 8s ease-in-out infinite alternate;
}
@keyframes starMove { 0% { background-position: 0 0; } 100% { background-position: 300px 300px; } }
@keyframes twinkle { 0% { opacity: 0.2; } 100% { opacity: 0.8; } }

/* ===== МЕНЮ-ГАМБУРГЕР ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 14, 30, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding: 0 2rem;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}
.nav-brand a {
  color: #f0e6d0;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(135deg, #f0e6d0, #c8b8a0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}
.nav-toggle span {
  width: 28px;
  height: 2px;
  background: #f0e6d0;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
.nav-menu {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  align-items: center;
}
.nav-menu li a {
  color: #a4b3d1;
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 2rem;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-menu li a:hover,
.nav-menu li a.active {
  color: #f0e6d0;
  background: rgba(255, 255, 255, 0.05);
}
.nav-menu li a i {
  font-size: 1rem;
}
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  .nav-menu {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 14, 30, 0.95);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transform: translateY(-120%);
    transition: transform 0.4s ease;
  }
  .nav-menu.active {
    transform: translateY(0);
  }
  .nav-menu li a {
    padding: 0.8rem 1.5rem;
    width: 100%;
    justify-content: center;
  }
}

/* ===== КОНТЕЙНЕР ===== */
.container {
  position: relative;
  z-index: 2;
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
  background: rgba(10, 14, 30, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 3rem;
  padding: 3rem 2.5rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(120, 140, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.02);
  text-align: center;
}
.glow-ring {
  position: absolute;
  top: -20%;
  left: -10%;
  width: 120%;
  height: 140%;
  background: radial-gradient(circle at 50% 50%, rgba(100, 150, 255, 0.03), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(40px);
  z-index: -1;
}

/* ===== ПРОФИЛЬ ===== */
.profile-header {
  margin-bottom: 2rem;
}
.avatar-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}
.avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(107, 143, 201, 0.3);
  box-shadow: 0 0 40px rgba(107, 143, 201, 0.15);
  transition: all 0.4s ease;
}
.avatar:hover {
  transform: scale(1.05);
  border-color: #6b8fc9;
  box-shadow: 0 0 60px rgba(107, 143, 201, 0.25);
}
.avatar-ring {
  position: absolute;
  top: -6px;
  left: -6px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: conic-gradient(from 0deg, #6b8fc9, #f5a623, #5865f2, #ff6b9d, #6b8fc9);
  background-size: 300% 300%;
  animation: rotateRing 8s linear infinite;
  z-index: -1;
  opacity: 0.5;
}
@keyframes rotateRing {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.profile-header h1 {
  font-size: 2.5rem;
  background: linear-gradient(135deg, #f0e6d0, #c8b8a0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.profile-header .subtitle {
  color: #8a9bb8;
  font-size: 1rem;
}

/* ===== СТАТУС-БАР ===== */
.status-bar {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 2rem;
  padding: 0.8rem 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(4px);
}
.status-indicator {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
}
.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 20px rgba(74, 222, 128, 0.4);
  animation: pulse 2s infinite;
}
.status-indicator.idle .status-dot {
  background: #fbbf24;
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.4);
}
.status-indicator.dnd .status-dot {
  background: #f87171;
  box-shadow: 0 0 20px rgba(248, 113, 113, 0.4);
}
.status-indicator.offline .status-dot {
  background: #6b7280;
  box-shadow: none;
  animation: none;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.1); }
}
.status-text {
  color: #e5e7eb;
  font-weight: 500;
}
.status-activity {
  color: #9ca3af;
  font-size: 0.85rem;
  padding-left: 0.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== СЧЁТЧИК ДНЕЙ ===== */
.shikimori-days {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 2rem;
  padding: 1.2rem;
  margin: 1.5rem 0;
  border: 1px solid rgba(255, 255, 255, 0.04);
}
.days-number {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #6b8fc9, #f5a623);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.days-number i {
  -webkit-text-fill-color: initial;
  color: #6b8fc9;
  font-size: 2rem;
  margin-right: 0.5rem;
}
.days-label {
  color: #a4b3d1;
  font-size: 1rem;
}

/* ===== ССЫЛКИ ===== */
.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1.2rem;
  margin: 1.5rem 0;
}
.link-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 2rem;
  padding: 1.2rem 0.5rem;
  text-decoration: none;
  color: #d0ddff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.04);
}
.link-card i {
  font-size: 2.5rem;
  transition: transform 0.3s ease;
}
.link-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.06);
}
.link-card.vk i { color: #4c75a3; }
.link-card.vk:hover { border-color: #4c75a3; box-shadow: 0 0 30px rgba(76, 117, 163, 0.2); }
.link-card.shikimori i { color: #f5a623; }
.link-card.shikimori:hover { border-color: #f5a623; box-shadow: 0 0 30px rgba(245, 166, 35, 0.2); }
.link-card.discord i { color: #5865f2; }
.link-card.discord:hover { border-color: #5865f2; box-shadow: 0 0 30px rgba(88, 101, 242, 0.2); }
.link-card.anixart i { color: #ff6b9d; }
.link-card.anixart:hover { border-color: #ff6b9d; box-shadow: 0 0 30px rgba(255, 107, 157, 0.2); }
.link-card:hover i {
  transform: scale(1.1);
}
.link-card span {
  font-size: 0.95rem;
}

/* ===== FOOTER ===== */
footer {
  color: #6c7b9c;
  font-size: 0.85rem;
  opacity: 0.6;
  margin-top: 1.5rem;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 600px) {
  .container {
    padding: 1.5rem 1.2rem;
    border-radius: 2rem;
  }
  .profile-header h1 {
    font-size: 2rem;
  }
  .links-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }
  .days-number {
    font-size: 2.2rem;
  }
  }
