/* Общие стили */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #0a1f44, #00102e);
  color: #cbd5e1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

header {
  background: #121212;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.7);
  position: sticky;
  top: 0;
  z-index: 100;
}

header .logo {
  font-size: 28px;
  font-weight: 900;
  color: #1db4ff;
  letter-spacing: 2px;
  user-select: none;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: #a3b8d1;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background-color 0.3s ease, color 0.3s ease;
  position: relative;
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: -4px;
  left: 50%;
  background: #1db4ff;
  transition: all 0.3s ease;
  border-radius: 3px;
}

nav ul li a:hover,
nav ul li a:focus {
  color: #1db4ff;
  background-color: rgba(29, 180, 255, 0.15);
  outline: none;
}

nav ul li a:hover::after,
nav ul li a:focus::after {
  left: 0;
  width: 100%;
}

/* Hero section */
.hero {
  position: relative;
  height: 90vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  background: linear-gradient(180deg, rgba(5,20,51,0.7), rgba(0,16,46,0.85) 80%);
  color: #e0f2ff;
}

#bg-video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.45) saturate(1.2);
  transition: filter 0.5s ease;
}

.hero:hover #bg-video {
  filter: brightness(0.6) saturate(1.3);
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: 2px;
  text-shadow: 0 0 10px #1db4ffaa;
  margin: 0 0 15px;
  line-height: 1.1;
}

.hero-content p {
  font-size: 1.5rem;
  max-width: 700px;
  margin: 0 auto 30px;
  color: #b0d7ffcc;
  text-shadow: 0 0 8px #0008;
}

.btn {
  background: #1db4ff;
  color: #001f3f;
  font-weight: 700;
  padding: 14px 36px;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 6px 15px rgba(29, 180, 255, 0.6);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  user-select: none;
}

.btn:hover,
.btn:focus {
  background: #0099ff;
  box-shadow: 0 8px 25px rgba(0, 153, 255, 0.8);
  outline: none;
}

/* Donate section */
.donate {
  max-width: 520px;
  margin: 60px auto;
  background: #051433dd;
  padding: 30px 40px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.7);
}

.donate h2 {
  font-size: 2.5rem;
  margin-bottom: 25px;
  color: #a3d1ff;
  text-align: center;
  text-shadow: 0 0 6px #1db4ff88;
}

.donate-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.donate-form label {
  font-weight: 700;
  font-size: 1rem;
  color: #9fc8ff;
}

.donate-form input,
.donate-form select {
  padding: 14px 16px;
  border-radius: 10px;
  border: none;
  font-size: 1rem;
  background: #10315a;
  color: #cbe6ff;
  transition: background-color 0.3s ease;
  box-shadow: inset 0 0 5px #0a2145;
}

.donate-form input:focus,
.donate-form select:focus {
  outline: none;
  background: #1b4d88;
  box-shadow: 0 0 8px #1db4ff;
  color: #e0f7ff;
}

.donate-form button {
  background: #1db4ff;
  color: #001f3f;
  font-weight: 700;
  font-size: 1.15rem;
  padding: 16px 0;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 15px rgba(29, 180, 255, 0.7);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  user-select: none;
}

.donate-form button:hover,
.donate-form button:focus {
  background: #0099ff;
  box-shadow: 0 8px 25px rgba(0, 153, 255, 0.8);
  outline: none;
}

/* Сообщения успеха и ошибки */
.success, .error {
  margin-top: 25px;
  font-weight: 600;
  font-size: 1.1rem;
  text-align: center;
  user-select: none;
}

.success {
  color: #4ade80;
  text-shadow: 0 0 8px #22bb44aa;
}

.error {
  color: #f87171;
  text-shadow: 0 0 8px #ff4444aa;
}

/* About section */
.about {
  max-width: 900px;
  margin: 60px auto 100px;
  padding: 0 30px;
  line-height: 1.7;
  color: #acc8ffdd;
  user-select: text;
}

.about h2 {
  text-align: center;
  color: #1db4ff;
  font-size: 3rem;
  margin-bottom: 35px;
  text-shadow: 0 0 12px #1db4ffbb;
}

.about p {
  font-size: 1.2rem;
  margin-bottom: 45px;
  text-align: center;
}

.features {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr 1fr 1fr;
}

.feature {
  background: #0b274f;
  border-left: 5px solid #1db4ff;
  padding: 25px 20px;
  border-radius: 15px;
  box-shadow: 0 3px 15px rgba(29,180,255,0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.feature:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(29,180,255,0.6);
}

.feature h3 {
  color: #64c8ff;
  margin-bottom: 12px;
  font-weight: 700;
  user-select: none;
}

.feature ul {
  margin: 10px 0 0 20px;
  color: #9fc8ffcc;
  font-size: 1rem;
}

/* Footer */
footer {
  background: #121212;
  padding: 22px 0;
  text-align: center;
  color: #ffffff;
  font-size: 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  user-select: none;
}

/* Адаптив */
@media (max-width: 900px) {
  .features {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .features {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 2.6rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .donate {
    margin: 30px 15px;
    padding: 25px;
  }
}


.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  color: #e0f2ff;
}


#bg-video {
  position: absolute;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
  transition: filter 0.5s ease;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.paths-container {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin-top: 50px;
  flex-wrap: wrap;
}

.path-card {
  position: relative;
  width: 420px;
  height: 600px;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 50, 100, 0.7);
  transition: transform 0.3s ease;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}


.path-card:hover {
  transform: scale(1.05);
}

.path-card .overlay {
  position: absolute;
  top: 0;       
  left: 0;
  right: 0;
  bottom: 0;    
  background: rgba(3, 37, 75, 0.8);
  color: #d0eaff;
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;  
  align-items: center;      
  text-align: center;
  border-radius: 0 0 15px 15px;
}


.path-card:hover .overlay {
  transform: translateY(0);
  background: rgba(3, 37, 75, 0.95);
}

/* Карточки с разными фоновыми картинками */
.path-criminal {
  background-image: url('/pictures/Gangstar.png');
  background-size: cover;       
  background-position: center;  
  background-repeat: no-repeat;
}

.path-law {
  background-image: url('/pictures/Policeman.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.path-card h3 {
  margin: 0 0 10px 0;
  font-size: 24px;
  color: #0ff;
  text-shadow: 0 0 5px #0ff;
}

.path-card p {
  font-size: 16px;
  line-height: 1.4;
}


.choose-path {
  max-width: 960px;
  margin: 60px auto 40px;
  text-align: center;
  padding: 0 20px;
}

.choose-path h2 {
  font-size: 36px;
  color: #33ccff;
  margin-bottom: 30px;
  font-weight: 700;
  text-shadow: 0 0 10px #33ccff80;
}

.path-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
}


.faq-section {
  padding: 60px 20px;
  background-color: #121212; 
  color: #f0f0f0;
}

.faq-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #ffffff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.1);
}

.faq-item {
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
  background-color: #1b1b1b;
}

.faq-question {
  width: 100%;
  padding: 16px 20px;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  color: #ffffff;
  background-color: transparent;
  border: none;
  cursor: pointer;
  position: relative;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  font-size: 1.3rem;
  transition: transform 0.3s ease;
}

.faq-question.active::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background-color: #1f1f1f;
}

.faq-answer p {
  padding: 16px 20px;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #cccccc;
}

.social-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 40px;
}




.social-card {
  background: #0f172a; 
  border-left: 5px solid #2563eb; 
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4); 
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.6);
}

.social-card img {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.6));
}

.social-card h3 {
  font-size: 1.4rem;
  color: #2563eb; 
  margin-bottom: 10px;
}

.social-card p {
  font-size: 1rem;
  color: #94a3b8; 
  margin-bottom: 15px;
}

.social-card a {
  display: inline-block;
  background: #1e3a8a; 
  color: #cbd5e1;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}

.social-card a:hover {
  background: #2563eb; 
}


#telegram-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #000000; 
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 95, 153, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  z-index: 1000;
}

#telegram-widget:hover {
  background: #00bfff; 
  box-shadow: 0 20px 60px rgba(0, 191, 255, 0.8);
}

#telegram-widget img {
  width: 80px;
  height: 80px;
  filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(103%) contrast(103%);
}



/* Модальное окно */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10, 30, 58, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.modal-overlay.active {
  display: flex;
}
.modal {
  background: #0a1e3a;
  border-radius: 16px;
  padding: 30px 40px;
  max-width: 480px;
  width: 90%;
  box-shadow: 0 0 20px #39a2ffcc;
  position: relative;
}
.modal h3 {
  color: #39a2ff;
  text-align: center;
  margin-bottom: 20px;
}
.server-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.server-card {
  background: #122e58;
  border-radius: 12px;
  cursor: pointer;
  text-align: center;
  padding: 15px 10px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  user-select: none;
}
.server-card:hover {
  box-shadow: 0 0 12px #39a2ffaa;
  transform: translateY(-6px);
}
.server-card img {
  max-width: 100px;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 6px #39a2ff99);
}
.server-card span {
  display: block;
  color: #aad4ff;
  font-weight: 700;
  font-size: 1.1rem;
}
/* Кнопка закрытия */
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  color: #aad4ff;
  cursor: pointer;
  user-select: none;
}
