* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: #050505;
  color: #fff;
  overflow: hidden;
  height: 100vh;
}

/* Фон */
.glass-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: radial-gradient(circle at 20% 30%, #0a0f0a, #000000);
}

.glass-bg::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 800" opacity="0.1"><path fill="none" stroke="%2322ff88" stroke-width="0.8" d="M0 400 L800 400 M400 0 L400 800 M200 200 L600 600 M200 600 L600 200"/><circle cx="400" cy="400" r="100" stroke="%2322ff88" fill="none"/></svg>');
  background-repeat: repeat;
  background-size: 80px;
  animation: slowMove 40s linear infinite;
}

@keyframes slowMove {
  0% { background-position: 0 0; }
  100% { background-position: 200px 200px; }
}

/* Лейаут */
.app-layout {
  display: flex;
  height: 100vh;
  position: relative;
}

/* Боковое меню */
.sidebar {
  width: 300px;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(16px);
  border-right: 1px solid rgba(34, 255, 136, 0.25);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 10;
}

.logo-area {
  text-align: center; /* Добавьте это - выравнивает весь текст по центру */
}

.logo-area h2 {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #47eb41, #199151);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.5px;
  margin-right:7px;
}

.logo-area p {
  font-size: 1rem;
  color: #888;
  margin-top: -20px;
  margin-right:7px;
}

/* Навигация */
.nav-menu {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 15px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-radius: 14px;
  color: #e0e0e0;
  font-weight: 500;
  transition: all 0.25s;
  cursor: pointer;
  background: transparent;
  border: none;
  width: 100%;
  font-size: 1rem;
  font-family: inherit;
  text-decoration: none;
}

.nav-item i {
  width: 24px;
  font-size: 1.2rem;
  color: #fff;
}

.nav-item.active {
  background: rgba(34, 255, 136, 0.18);
  color: #22ff88;
  border-left: 3px solid #22ff88;
}

.nav-item:hover:not(.active) {
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(4px);
}

/* Разделитель */
.profile-divider {
  margin: 1rem 0 1rem;
  border-top: 1px solid rgba(34, 255, 136, 0.3);
}

/* Личный кабинет в меню */
.profile-menu-item {
  margin-top: 0.5rem;
}

/* Нижняя панель с IP и онлайн */
.server-info {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(34, 255, 136, 0.2);
}

.ip-container {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.ip-address {
  font-family: monospace;
  font-size: 0.9rem;
  color: #22ff88;
  letter-spacing: 0.5px;
}

.copy-btn {
  background: rgba(34, 255, 136, 0.2);
  border: none;
  color: #22ff88;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.75rem;
  transition: all 0.2s;
}

.copy-btn:hover {
  background: rgba(34, 255, 136, 0.4);
  transform: scale(1.02);
}

.online-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #aaa;
  padding: 0.5rem 0;
}

.online-dot {
  width: 8px;
  height: 8px;
  background: #22ff88;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { opacity: 0.4; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1.2); }
}

/* Контентная область */
.main-content {
  flex: 1;
  margin-left: 300px;
  height: 100vh;
  overflow-y: auto;
  padding: 2rem;
}

#pageFrame {
  width: 100%;
  height: 100%;
  border: none;
  animation: fadeSlideUp 0.45s ease-out forwards;
  background: transparent;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Стили для страниц */
.page-content {
  padding: 0.5rem;
}

.hero-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.glass-card {
  background: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(12px);
  border-radius: 28px;
  border: 1px solid rgba(34, 255, 136, 0.25);
  padding: 2rem;
  margin-bottom: 2rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.glass-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.4);
  border-color: rgba(34, 255, 136, 0.5);
}

.timer-card {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  color: rgb(167, 167, 167); 
}

.timer-number {
  font-size: 3.5rem;
  display: inline-block;
  min-width: 90px;
  color: rgb(255, 255, 255); 
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #fff, #b0ffd0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
  color: #22ff88;
}

h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #fff;
}

p {
  line-height: 1.4;
  margin-bottom: 1rem;
}

ul, .member-grid {
  margin-top: 1rem;
}

li {
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.btn-green {
  background: #22ff88;
  border: none;
  color: #000;
  font-weight: bold;
  padding: 12px 28px;
  border-radius: 40px;
  cursor: pointer;
  font-family: inherit;
  transition: 0.2s;
  font-size: 1rem;
}

.btn-green:hover {
  background: #00cc66;
  transform: scale(1.02);
  box-shadow: 0 0 12px #22ff88;
}

.flex-row {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

.member-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1rem 0 1.5rem;
}

.member-card {
  background: rgba(0,0,0,0.5);
  border-radius: 20px;
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #22ff8844;
  transition: all 0.2s;
}

.member-card:hover {
  transform: translateY(-2px);
  border-color: #22ff88;
}

.badge {
  background: #22ff8822;
  padding: 6px 14px;
  border-radius: 40px;
  font-size: 0.85rem;
  color: #22ff88;
  display: inline-block;
  margin-right: 0.75rem;
  margin-bottom: 0.5rem;
}

.wiki-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(34,255,136,0.3);
  padding-bottom: 1rem;
}

.wiki-tab {
  background: transparent;
  border: none;
  color: #ccc;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.2s;
}

.wiki-tab.active-tab {
  background: rgba(34, 255, 136, 0.2);
  color: #22ff88;
  box-shadow: 0 0 8px rgba(34,255,136,0.2);
}

.wiki-content {
  display: none;
  animation: fadeSlideUp 0.3s ease;
}

.wiki-content.active-wiki {
  display: block;
}
/* Покупка проходки */
.plan-card {
  background: rgba(0,0,0,0.6);
  border-radius: 24px;
  padding: 2rem;
  text-align: center;
  flex: 1;
  border: 1px solid #22ff8866;
  transition: all 0.2s;
}

.plan-card:hover {
  transform: translateY(-5px);
  border-color: #22ff88;
}

.plan-card h3 {
  margin: 1rem 0 0.5rem;
}

.plan-card p {
  font-size: 1.5rem;
  font-weight: bold;
  color: #22ff88;
  margin: 1rem 0;
}

/* FAQ блок */
.faq-section {
  margin-top: 2rem;
}

.faq-item {
  background: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  border: 1px solid rgba(34, 255, 136, 0.25);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.25s ease;
}

.faq-item:hover {
  border-color: rgba(34, 255, 136, 0.5);
  transform: translateY(-2px);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.3);
  font-weight: 600;
  font-size: 1.1rem;
  transition: background 0.2s;
}

.faq-question:hover {
  background: rgba(34, 255, 136, 0.08);
}

.faq-question i {
  color: #22ff88;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  padding: 0 1.5rem;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  border-top: 1px solid transparent;
  line-height: 1.5;
  color: #ccc;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 1rem 1.5rem 1.25rem;
  border-top-color: rgba(34, 255, 136, 0.25);
}

.faq-answer p {
  margin-bottom: 0.5rem;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* Сетка для контента */
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.feature-card {
  background: rgba(0,0,0,0.4);
  border-radius: 20px;
  padding: 1.5rem;
  border: 1px solid rgba(34,255,136,0.2);
}

.stat-number {
  font-size: 2rem;
  font-weight: bold;
  color: #22ff88;
}

@media (max-width: 800px) {
  .sidebar { width: 80px; padding: 1rem 0.5rem; }
  .sidebar .nav-item span, .logo-area p, .server-info span { display: none; }
  .sidebar .nav-item i { margin: 0 auto; font-size: 1.5rem; }
  .main-content { margin-left: 80px; }
  .ip-container { padding: 0.5rem; }
  .copy-btn { padding: 4px 8px; font-size: 0.7rem; }
}
