@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;700&family=Roboto:wght@400;700&display=swap');

:root {
  --primary-color: #3498db; /* Blue */
  --secondary-color: #9b59b6; /* Purple */
  --bg-dark: #121212;
  --navbar-bg: #34495e;
  --hero-overlay: rgba(0, 0, 0, 0.65);
  --feature-bg: #2c3e50;
  --legend-bg: linear-gradient(135deg, #2980b9, #2c3e50);
  --features-bg: linear-gradient(135deg, #27ae60, #2ecc71);
  --demo-bg: linear-gradient(135deg, #8e44ad, #9b59b6);
  --community-bg: linear-gradient(135deg, #e67e22, #d35400);
  --faq-bg: linear-gradient(135deg, #16a085, #1abc9c);
  --join-bg: linear-gradient(135deg, #e74c3c, #c0392b);
}

/* Base Styles */
body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  background: url('images/body-bg.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #ddd;
}

/* Navbar */
.navbar {
  background: linear-gradient(45deg, var(--navbar-bg), #3a3d48);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}
.navbar-brand,
.nav-link {
  font-family: 'Oswald', sans-serif;
  color: var(--primary-color);
  font-size: 1.3rem;
  transition: color 0.3s, transform 0.3s;
}
.nav-link:hover {
  color: var(--secondary-color);
  transform: scale(1.05);
}

/* Hero Section */
.main-block {
  position: relative;
  height: 50vh; /* увеличенная высота */
  display: flex;
  align-items: center;
  background-attachment: fixed;
  overflow: hidden;
  margin: 30px;
  border-radius: 10px;
}
.main-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: var(--hero-overlay);
  z-index: 1;
  animation: pulseOverlay 5s infinite;
}
@keyframes pulseOverlay {
  0%, 100% { opacity: 0.65; }
  50% { opacity: 0.75; }
}
.main-block .container {
  position: relative;
  z-index: 2;
  animation: fadeInUp 1.5s ease-out;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.main-block h1 {
  font-family: 'Oswald', sans-serif;
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}
.main-block p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

/* Кнопка большого размера с изображением */
.big-button {
  width: 300px;
  height: 80px;
  background: url('images/button-bg.jpg') no-repeat center center;
  background-size: cover;
  border: none;
  font-family: 'Oswald', sans-serif;
  color: #fff;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Общие стили для блоков */
section.block {
  margin: 30px;
  padding: 60px 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

/* Legend Section */
#legend {
  background: var(--legend-bg);
  text-align: center;
  padding: 100px 20px;
  margin: 30px;
  border-radius: 10px;
}
#legend h2 {
  font-family: 'Oswald', sans-serif;
  margin-bottom: 40px;
  font-size: 2.8rem;
  color: var(--primary-color);
  text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}
#legend p {
  line-height: 1.8;
  font-size: 1.2rem;
  margin-bottom: 20px;
}
#legend img {
  max-width: 100%;
  border-radius: 10px;
}

/* Features Section */
#features {
  background: var(--features-bg);
  text-align: center;
  padding: 100px 20px;
  margin: 30px;
  border-radius: 10px;
}
#features h2 {
  font-family: 'Oswald', sans-serif;
  margin-bottom: 40px;
  font-size: 2.8rem;
  color: var(--primary-color);
  text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}
.feature-card {
  background: var(--feature-bg);
  padding: 30px;
  border-radius: 12px;
  transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
  margin: 20px;
}
.feature-card:hover {
  transform: translateY(-10px);
  background: #4a4f61;
  box-shadow: 0 8px 20px rgba(0,0,0,0.6);
}
.feature-card i {
  font-size: 3.2rem;
  margin-bottom: 15px;
  color: var(--primary-color);
  filter: drop-shadow(0 0 8px var(--primary-color));
}
.feature-card h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: #fff;
}
.feature-card p {
  font-size: 1.1rem;
  line-height: 1.5;
}

/* Demo Section */
#demo {
  background: var(--demo-bg);
  text-align: center;
  padding: 100px 20px;
  margin: 30px;
  border-radius: 10px;
}
#demo h2 {
  font-family: 'Oswald', sans-serif;
  margin-bottom: 40px;
  font-size: 2.8rem;
  color: var(--primary-color);
  text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}
#demo video {
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

/* Community Section */
#community {
  background: var(--community-bg);
  text-align: center;
  padding: 100px 20px;
  margin: 30px;
  border-radius: 10px;
}
#community h2 {
  font-family: 'Oswald', sans-serif;
  margin-bottom: 40px;
  font-size: 2.8rem;
  color: var(--primary-color);
  text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}
.carousel-item blockquote {
  font-size: 1.2rem;
  font-style: italic;
  margin: 0 auto;
  max-width: 800px;
}
.carousel-item footer {
  margin-top: 10px;
  font-size: 0.95rem;
  color: var(--secondary-color);
}

/* FAQ Section */
#faq {
  background: var(--faq-bg);
  text-align: center;
  padding: 100px 20px;
  margin: 30px;
  border-radius: 10px;
}
#faq h2 {
  font-family: 'Oswald', sans-serif;
  margin-bottom: 40px;
  font-size: 2.8rem;
  color: var(--primary-color);
  text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}
.accordion-button {
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 6px;
  transition: background 0.3s;
  font-family: 'Roboto', sans-serif;
}
.accordion-button:not(.collapsed) {
  background: #0056b3;
}

/* Gallery Section */
#gallery {
  background: #fff;
  text-align: center;
  padding: 100px 20px;
  margin: 30px;
  border-radius: 10px;
}
#gallery h2 {
  font-family: 'Oswald', sans-serif;
  margin-bottom: 40px;
  font-size: 2.8rem;
  color: var(--navbar-bg);
}
#gallery img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

/* Join Section */
#join {
  background: var(--join-bg);
  color: #fff;
  text-align: center;
  padding: 100px 20px;
  margin: 30px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}
#join::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 10%, transparent 40%);
  animation: rotate 10s linear infinite;
  z-index: 1;
}
@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
#join .container {
  position: relative;
  z-index: 2;
}
#join h2 {
  font-family: 'Oswald', sans-serif;
  margin-bottom: 30px;
  font-size: 2.8rem;
  color: #fff;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}
#join a.btn {
  background: var(--primary-color);
  border: none;
  font-family: 'Oswald', sans-serif;
  padding: 15px 30px;
  font-size: 1.2rem;
  transition: background 0.3s, transform 0.3s;
}
#join a.btn:hover {
  background: var(--secondary-color);
  transform: scale(1.05);
}

/* Footer */
footer {
  background: #1a1a1a;
  padding: 40px 20px;
  text-align: center;
  color: #aaa;
}
footer a {
  color: var(--primary-color);
    margin: 0 10px;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 17px;
}
footer a:hover {
  color: var(--secondary-color);
}
.disclaimer {
  font-size: 17px;
}
/* Custom styles for the cookie notice block */
.cookie-notice {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 300px;
  height: 300px;
  background-color: #fff;
  color: #000;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  z-index: 9999;
  border-radius: 10px;
  font-size: 1.5rem; /* Большой шрифт для всего блока */
}

.cookie-notice p {
  margin: 0 0 20px;
  font-size: 1.5rem;
}

.cookie-notice button {
  padding: 10px 20px;
  font-size: 1.5rem; /* Большой шрифт для кнопки */
  background-color: #3498db;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
.footer-image img {
  width: 300px;
}
.cookie-notice button:hover {
  background-color: #2980b9;
}
.popup {
  display: none; /* По умолчанию скрыто */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.popup-content {
  background: #fff;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  font-size: 1.5rem;
}

.popup-content button {
  padding: 10px 20px;
  font-size: 1.5rem;
  background-color: #3498db;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.popup-content button:hover {
  background-color: #2980b9;
}
.policy {
  background: #fff;
  color: #000;
  padding-top: 150px;
}