/* ==================== RESET & GLOBAL ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #0a0a0f;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  line-height: 1.5;
  position: relative;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://i.imgur.com/QDIpkYw.jpeg') center center / cover no-repeat fixed;
  z-index: -2;
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 15, 0.65);
  z-index: -1;
  pointer-events: none;
}

#berryCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  cursor: pointer;
  z-index: 0;
}

/* ==================== НАВИГАЦИЯ ==================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(139, 92, 246, 0.3);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.nav-logo a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: white;
  font-weight: bold;
  font-size: 20px;
  font-family: 'Minecraft', sans-serif;
}

.nav-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  transition: transform 0.3s;
}

.nav-logo a:hover .nav-logo-img {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: #e2e2f0;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #8b5cf6, #a855f7);
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: #c084fc;
}

.nav-social {
  display: flex;
  gap: 12px;
  align-items: center;
}

.nav-social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  transition: all 0.3s;
  text-decoration: none;
  color: white;
}

.nav-social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.nav-social-link.discord:hover { background: #5865F2; transform: translateY(-2px); }
.nav-social-link.telegram:hover { background: #0088cc; transform: translateY(-2px); }
.nav-social-link.tiktok:hover { background: #ff0050; transform: translateY(-2px); }

.berry-counter {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #2d1b4e, #1a1035);
  padding: 8px 16px;
  border-radius: 40px;
  border: 1px solid rgba(139, 92, 246, 0.4);
  transition: all 0.3s;
  cursor: pointer;
}

.berry-counter:hover {
  transform: scale(1.05);
  border-color: #f59e0b;
}

.berry-icon-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  animation: berryFloat 2s ease-in-out infinite;
}

@keyframes berryFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-3px); }
}

#berryCount {
  font-weight: bold;
  font-size: 18px;
  color: #fbbf24;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: 0.3s;
}

/* ==================== ОСНОВНОЙ КОНТЕНТ ==================== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 0 80px;
}

.hero-content {
  animation: fadeUp 0.8s ease-out;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.logo-badge {
  display: inline-block;
  background: rgba(139, 92, 246, 0.2);
  backdrop-filter: blur(10px);
  padding: 8px 24px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 28px;
  border: 1px solid rgba(139, 92, 246, 0.4);
}

h1 {
  font-family: 'Minecraft', sans-serif;
  font-size: 84px;
  margin-bottom: 20px;
  letter-spacing: 3px;
}

.gradient-text {
  background: linear-gradient(135deg, #c084fc, #8b5cf6, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subtitle {
  font-size: 20px;
  color: #e2e2f0;
  margin-bottom: 32px;
}

.online-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  padding: 10px 24px;
  border-radius: 100px;
  width: fit-content;
  margin: 0 auto 36px;
}

.online-dot {
  width: 10px;
  height: 10px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

.button-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

.btn {
  padding: 14px 34px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, #8b5cf6, #a855f7);
  color: white;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.5);
}

.btn-outline {
  background: transparent;
  border: 1px solid #8b5cf6;
  color: #c084fc;
}

.btn-outline:hover {
  background: rgba(139, 92, 246, 0.2);
  transform: translateY(-2px);
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(20, 20, 30, 0.95);
  backdrop-filter: blur(12px);
  min-width: 220px;
  border-radius: 12px;
  border: 1px solid rgba(139, 92, 246, 0.3);
  overflow: hidden;
  z-index: 10;
  margin-top: 8px;
}

.dropdown-content.show {
  display: block;
}

.dropdown-content div {
  padding: 12px 20px;
  cursor: pointer;
  transition: all 0.2s;
  color: white;
  font-size: 14px;
}

.dropdown-content div:hover {
  background: rgba(139, 92, 246, 0.3);
}

/* ==================== О СЕРВЕРЕ ==================== */
.about-section {
  padding: 60px 0;
}

.about-card {
  background: linear-gradient(135deg, rgba(30, 30, 50, 0.9), rgba(20, 20, 40, 0.95));
  backdrop-filter: blur(16px);
  border-radius: 32px;
  padding: 48px;
  border: 1px solid rgba(139, 92, 246, 0.3);
  transition: transform 0.3s;
}

.about-card:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 92, 246, 0.6);
}

.about-text .section-title {
  font-size: 42px;
  margin-bottom: 24px;
  text-align: left;
}

.about-text p {
  color: #cbd5e6;
  line-height: 1.8;
  margin-bottom: 20px;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(135deg, #2d1b4e, #1a1035);
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
}

/* ==================== ДОНАТ ==================== */
.donate-section {
  margin: 40px 0 60px;
}

.donate-header {
  text-align: center;
  margin-bottom: 32px;
}

.donate-header h2 {
  font-size: 48px;
  background: linear-gradient(135deg, #c084fc, #a855f7, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.donate-single-card {
  background: linear-gradient(135deg, rgba(45, 27, 78, 0.95), rgba(26, 16, 53, 0.98));
  backdrop-filter: blur(12px);
  border-radius: 28px;
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.4s;
  border: 1px solid rgba(139, 92, 246, 0.4);
  max-width: 700px;
  margin: 0 auto;
}

.donate-single-card:hover {
  transform: translateY(-8px);
  border-color: #c084fc;
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.4);
}

.donate-single-icon {
  font-size: 56px;
}

.donate-single-info {
  flex: 1;
  margin-left: 24px;
}

.donate-single-info h3 {
  font-size: 28px;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #fff, #c084fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.donate-single-arrow {
  font-size: 36px;
  color: #c084fc;
  transition: transform 0.3s;
}

.donate-single-card:hover .donate-single-arrow {
  transform: translateX(8px);
}

.donate-note {
  text-align: center;
  font-size: 13px;
  opacity: 0.7;
  margin-top: 20px;
}

/* ==================== IP КАРТА ==================== */
.ip-card {
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(16px);
  border-radius: 32px;
  padding: 40px;
  text-align: center;
  border: 1px solid rgba(139, 92, 246, 0.3);
  margin: 60px 0;
}

.ip-address {
  background: linear-gradient(135deg, #1e1a2f, #16122a);
  padding: 16px 28px;
  border-radius: 60px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 10px 0;
  cursor: pointer;
  transition: all 0.3s;
}

.ip-address:hover {
  transform: scale(1.02);
  border-color: #8b5cf6;
}

.ip-text {
  font-family: monospace;
  font-size: 22px;
  font-weight: bold;
}

.btn-map {
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid #8b5cf6;
  color: #c084fc;
  padding: 10px 24px;
  border-radius: 40px;
  cursor: pointer;
  margin-top: 8px;
}

/* ==================== МЕХАНИКИ ==================== */
.section {
  padding: 80px 0;
}

.section-title {
  font-size: 48px;
  text-align: center;
  margin-bottom: 56px;
  background: linear-gradient(135deg, #fff, #c084fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.feature-card {
  background: linear-gradient(135deg, rgba(25, 25, 40, 0.85), rgba(20, 20, 35, 0.9));
  backdrop-filter: blur(12px);
  border-radius: 24px;
  padding: 32px 24px;
  transition: all 0.4s ease;
  border: 1px solid rgba(139, 92, 246, 0.2);
  text-align: center;
  cursor: pointer;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 92, 246, 0.5);
}

.feature-icon {
  font-size: 56px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #fff, #c084fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.feature-description {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  color: #cbd5e6;
  font-size: 14px;
  line-height: 1.6;
}

.feature-card.expanded .feature-description {
  max-height: 200px;
  margin-top: 16px;
}

.feature-hint {
  font-size: 12px;
  color: #8b5cf6;
  margin-top: 16px;
  opacity: 0.7;
}

/* ==================== ГАЛЕРЕЯ ==================== */
.gallery-section {
  background: linear-gradient(135deg, rgba(10, 10, 15, 0.4), rgba(20, 20, 30, 0.4));
  border-radius: 48px;
  padding: 60px 20px;
}

.gallery-slider-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.gallery-slider {
  flex: 1;
  overflow: hidden;
  border-radius: 24px;
}

.slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-slide {
  flex-shrink: 0;
  width: 100%;
  aspect-ratio: 16/9;
  cursor: pointer;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-nav {
  width: 50px;
  height: 50px;
  background: rgba(139, 92, 246, 0.3);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(139, 92, 246, 0.5);
  border-radius: 50%;
  color: white;
  font-size: 32px;
  cursor: pointer;
  transition: all 0.3s;
}

.slider-nav:hover {
  background: #8b5cf6;
  transform: scale(1.1);
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.dot {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  cursor: pointer;
}

.dot.active {
  background: #c084fc;
  width: 28px;
  border-radius: 6px;
}

/* ==================== КОМЬЮНИТИ ==================== */
.community-grid {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.community-card {
  background: linear-gradient(135deg, rgba(25, 25, 40, 0.85), rgba(20, 20, 35, 0.9));
  backdrop-filter: blur(12px);
  border-radius: 24px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  transition: all 0.3s;
  min-width: 240px;
}

.community-card:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 92, 246, 0.5);
}

.community-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}

/* ==================== ТОВАРЫ ==================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.product-card {
  background: linear-gradient(135deg, rgba(30, 30, 45, 0.85), rgba(20, 20, 35, 0.9));
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  border: 1px solid rgba(139, 92, 246, 0.3);
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: #8b5cf6;
}

.product-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.product-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 20px;
}

/* ==================== FAQ ==================== */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(20, 20, 30, 0.65);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 20px 28px;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.08);
}

.faq-question {
  font-weight: 600;
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-icon {
  transition: transform 0.3s;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  color: #cbd5e6;
  margin-top: 8px;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

/* ==================== ОТЗЫВЫ ==================== */
.reviews-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 48px;
  max-height: 600px;
  overflow-y: auto;
  padding: 10px 5px;
}

.review-card {
  background: linear-gradient(135deg, rgba(30, 26, 47, 0.9), rgba(20, 18, 35, 0.95));
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 20px 24px;
  border-left: 4px solid #8b5cf6;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.review-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #8b5cf6, #a855f7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
}

.review-name {
  font-weight: 700;
  font-size: 18px;
  color: #c084fc;
}

.review-date {
  font-size: 12px;
  color: #8b8b9b;
}

.review-text {
  color: #e2e2f0;
  line-height: 1.6;
}

.review-form {
  background: linear-gradient(135deg, rgba(30, 26, 47, 0.8), rgba(20, 18, 35, 0.9));
  backdrop-filter: blur(12px);
  border-radius: 28px;
  padding: 36px;
}

.review-form input,
.review-form textarea {
  width: 100%;
  padding: 14px 18px;
  margin-bottom: 18px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 16px;
  color: white;
  font-family: inherit;
}

.submit-review {
  width: 100%;
  background: linear-gradient(135deg, #8b5cf6, #a855f7);
  border: none;
  padding: 14px;
  border-radius: 16px;
  color: white;
  font-weight: 600;
  cursor: pointer;
}

/* ==================== COOKIE ==================== */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 450px;
  background: rgba(30, 26, 47, 0.95);
  backdrop-filter: blur(16px);
  border-radius: 20px;
  z-index: 1000;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 24px;
  font-size: 14px;
}

.cookie-banner button {
  background: #8b5cf6;
  border: none;
  padding: 8px 24px;
  border-radius: 40px;
  color: white;
  cursor: pointer;
}

/* ==================== ФУТЕР ==================== */
footer {
  margin-top: 60px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 48px 0 24px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 40px;
}

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: 0.3s;
  cursor: pointer;
}

.footer-links a:hover {
  color: #c084fc;
}

.footer-bottom {
  text-align: center;
  color: #6b7280;
  font-size: 14px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ==================== АДАПТИВ ==================== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 15, 0.98);
    flex-direction: column;
    padding: 20px;
    text-align: center;
  }
  .nav-links.active { display: flex; }
  .nav-social { display: none; }
  .nav-toggle { display: flex; }
  h1 { font-size: 44px; }
  .section-title { font-size: 32px; }
  .donate-single-card { flex-direction: column; text-align: center; }
  .donate-single-info { margin-left: 0; margin-top: 16px; }
  .about-card { padding: 24px; }
}