

:root {
  --body-bg-color: #060709;
  --body-text-color: #ffffff;
  --heading-color: #ffffff;
  --hero-gradient1: #aea3a3;
  --hero-gradient2: #ffffff;
  --footer-bg-color: #1f2a2e3d;
  --link-color: #f72929;
  --header-bg-color: #7f2b3800;
  --font-family: Monaco, 'Menlo', monospace;
  --nav-link-color: #e4e3e2;
  --footer-text-color: #ffffff;
  --header-text-color: #f2f2f2;
}
html {
  overflow-x: hidden;
}


body {
  background-image: url('/images/bg.webp');
  background-repeat: no-repeat;  
  background-size: cover;          
  background-position: center;       
  background-attachment: fixed;     
  font-family: var(--font-family);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--body-text-color) !important;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #1f2a2e60;
  z-index: -1;
}




h1 {
    font-size: clamp(2rem, 4vw, 2.5rem) !important;
}
h2 {
    font-size: clamp(1.6rem, 3vw, 2rem) !important;
}
h3 {
    font-size: clamp(1.4rem, 3vw, 1.7rem) !important;
}
p {
  margin-bottom: 0.5rem !important;
}
  
  section {
  padding: 15px 0;
  scroll-margin-top: 70px;
}

h2, h3 {
  color: var(--heading-color) !important;
}



.content-area a {
  color: #ff0000 !important;
  text-decoration: none !important;
}

.content-area a:hover {
  color: var(--link-color) !important;
  opacity: 0.8;
}

  .sidebar-page-list {
  padding: 0;
  margin: 0;
  margin-bottom: 17px;
  width: 279px;
}

.sidebar-page-list li {
  list-style-type: disc;
  list-style-position: inside;
  color: var(--heading-color);
}

.sidebar-page-list li::marker {
  color: var(--link-color);
  font-size: 1.2em;
}
.sidebar-page-list li:last-child {
  border-bottom: none;
}

.sidebar-page-list li a {
  padding: 12px 0;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  color: var(--link-color);
}

.sidebar-page-list li a:hover {
  padding-left: 11px;
}
  .twitter-tweet {
  width: 279px !important;
}

.x {
  display: flex;
  justify-content: center;
}
.error_page {
  min-height: 70vh;
}


  .footer {
  background-color: var(--footer-bg-color);
  color: var(--footer-text-color);
}

.footer a {
  text-decoration: none;
  color: var(--link-color) !important;
}
.footer a:hover {
  color: var(--link-color) !important;
  opacity: 0.8;
}
  .footer img {
        filter: brightness(0) invert(1);
      }

 .navbar {
  background-color: var(--header-bg-color) !important;
  
}

.hero-section {
 padding: 115px 0 25px 0;
  position: relative;
  overflow: hidden;
  color: var(--header-text-color);
}

  .hero-section.with-bg {
  background-image: url('/images/bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-section.with-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.39));
  opacity: 0.5;
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

  .navbar-light .navbar-nav .nav-link {
    color: var(--nav-link-color, #141414) !important;
  }

  .navbar-light .navbar-nav .nav-link.active {
  color: var(--link-color) !important;
  font-weight: bold;
}
  /* Mobile nav */
@media (max-width: 1199.98px) {
  .navbar-collapse {
    position: fixed;
    top: 61px;
    left: 15px;
    right: 15px;
    background-color: color-mix(in srgb, var(--header-bg-color) 65%, transparent);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    padding: 15px;
    margin: 0;
  }

  .navbar-nav {
    width: 100%;
  }

  .navbar-nav .nav-item {
    margin: 7px 0;
  }

  .navbar-nav .nav-item:hover {
    transform: translateY(-1px);
  }

  .navbar-nav .nav-link {
    font-size: 1.2rem;
    font-weight: 500;
    text-decoration: none;
    display: block;
    padding: 0;
  }

  .navbar-toggler {
    z-index: 10000;
    position: relative;
    border: var(--bs-border-width) solid var(--nav-link-color, #141414) !important;
  }
}


.custom-dropdown {
  border: 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  min-width: 220px;
  background: color-mix(
    in srgb,
    var(--header-bg-color) 65%,
    transparent
  ) !important;
  backdrop-filter: blur(12px);
}

.custom-dropdown .dropdown-item {
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
  color: var(--nav-link-color, #141414) !important;
  font-weight: 500;
  border-radius: 0;
  text-wrap: wrap;
}
.dropdown-menu {
  display: none;
}

.custom-dropdown .dropdown-item:hover {
  color: #fff;
  background: color-mix(
    in srgb,
    var(--header-bg-color) 95%,
    transparent
  ) !important;
}
  
.nav-item.dropdown > .nav-link {
  display: flex;
  align-items: center;
}

.nav-item.dropdown > .nav-link .arrow {
  position: relative;
  margin-left: auto;
  border: solid var(--nav-link-color, #141414);
  border-width: 0 2px 2px 0;
  padding: 3px;
  transform: rotate(45deg);
  transition: transform 0.25s;
}
  .dropdown.open .dropdown-menu {
  display: block;
}


@media (min-width: 1200px) {
  .nav-item.dropdown {
    position: relative;
  }
  .nav-item.dropdown > .nav-link .arrow {
    margin-left: 7px;
  }
  .custom-dropdown.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0;
    z-index: 1000;
  }

  .nav-item.dropdown:hover > .nav-link .arrow {
    transform: rotate(-135deg);
  }
  .nav-item.dropdown:hover > .dropdown-menu {
    display: block !important;
  }
}
@media (max-width: 1199px) {
  .nav-item.dropdown > .nav-link .arrow {
    padding: 4px;
  }
}


.floating-rounded-navbar {
  background-color: var(--header-bg-color) !important;
  position: absolute !important;
  top: 15px !important;
  left: 7px !important;
  right: 7px !important;
  width: calc(100% - 11px) !important;
  z-index: 2000;
  border-radius: 21px;
  transition: all 0.3s ease;
}


@media (max-width: 1199.98px) {
  .floating-rounded-navbar .navbar-collapse {
    top: 85px !important;
  }
}

.navbar-brand {
  margin-right: 0 !important;
}
            


    .contact-container {
  width: 500px;
  margin: 100px auto 35px;
  padding: 15px 21px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
  color: black !important;
}

@media screen and (max-width: 768px) {
  .contact-container {
    width: 100%;
    padding: 15px;
  }
}
.contact-header {
  text-align: center;
  margin-bottom: 20px;
}

.contact-header i {
  font-size: 2rem;
  color: #0d6efd;
  margin-bottom: 10px;
}

.email-link {
  display: block;
  margin-top: 15px;
  text-align: center;
  font-weight: bold;
  color: #0d6efd;
  text-decoration: none;
}

  .tw-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  
  .twitter-tweet {
    max-width: 100%;
    margin: 0 auto;
  }
  






  /* Основен стил на секцията - прозрачно стъкло */
.styled-section {
  position: relative;
  padding: 50px 0;
  color: #eef7ff;
  overflow: hidden;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

/* Glass box: прозрачен фон, меки ръбове и леко сияние */
.glass-box {
  position: relative;
  padding: 22px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 8px 30px rgba(0,0,0,0.45), 0 0 20px rgba(0,0,0,0.25) inset;
  backdrop-filter: blur(6px);
  transition: transform 0.45s cubic-bezier(.2,.9,.3,1), box-shadow 0.3s;
  min-height: 180px;
  overflow: hidden;
}

/* Hover ефект за "движение" */
.glass-box:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 40px rgba(0,0,0,0.55);
}

/* Заглавия и параграфи */
.glass-box h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1.25rem;
  letter-spacing: 0.2px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

.glass-box p {
  margin-bottom: 0.6rem;
  color: rgba(255,255,255,0.92);
  line-height: 1.55;
}

/* Декоративни плаващи елементи — синьо и червено сияние */
.glow-decor {
  position: absolute;
  pointer-events: none;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.6;
  transform: translate(-30%, -30%) scale(1);
  animation: floatAround 9s ease-in-out infinite;
  mix-blend-mode: screen;
}

.glow-decor--blue {
  background: radial-gradient(circle at 30% 30%, rgba(60,170,255,0.55), rgba(10,40,120,0.06));
  right: -40px;
  top: -40px;
  box-shadow: 0 0 40px rgba(60,170,255,0.25), 0 0 120px rgba(60,170,255,0.08);
}

.glow-decor--red {
  background: radial-gradient(circle at 30% 30%, rgba(255,85,95,0.55), rgba(120,10,20,0.06));
  left: -40px;
  bottom: -30px;
  box-shadow: 0 0 40px rgba(255,85,95,0.25), 0 0 120px rgba(255,85,95,0.08);
}

/* Анимация на плаващите елементи */
@keyframes floatAround {
  0%   { transform: translate(-10%, -5%) scale(1); }
  25%  { transform: translate(8%, 6%) scale(1.03); }
  50%  { transform: translate(-6%, 10%) scale(0.98); }
  75%  { transform: translate(12%, -8%) scale(1.02); }
  100% { transform: translate(-10%, -5%) scale(1); }
}

/* Излъчване на заглавия */
.glass-box .glow-decor--blue ~ h3,
.glass-box.glow-blue h3 {
  text-shadow: 0 0 10px rgba(60,170,255,0.9);
}

.glass-box .glow-decor--red ~ h3,
.glass-box.glow-red h3 {
  text-shadow: 0 0 10px rgba(255,85,95,0.9);
}

/* Responsive spacing */
@media (max-width: 991.98px) {
  .glass-box { min-height: auto; padding: 18px; }
}

/* Намаляване на движение за потребители, които предпочитат това */
@media (prefers-reduced-motion: reduce) {
  .glow-decor { animation: none; transition: none; }
  .glass-box { transition: none; }
}




/* Основен стил на секцията - стъклено прозрачен фон */
.custom-section {
  position: relative;
  padding: 60px 20px;
  color: #eef7ff;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 8px 30px rgba(238, 7, 7, 0.842), 0 0 20px rgba(0,0,0,0.25) inset;
  backdrop-filter: blur(6px);
  transition: transform 0.45s cubic-bezier(.2,.9,.3,1), box-shadow 0.3s;
}

/* Hover ефект за леко движение */
.custom-section:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 20px 40px rgba(0,0,0,0.55);
}

/* Декоративни плаващи светлини */
.custom-section::before,
.custom-section::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.6;
  mix-blend-mode: screen;
  animation: floatAround 9s ease-in-out infinite;
}

.custom-section::before {
  background: radial-gradient(circle at 30% 30%, rgb(0, 145, 255), rgba(10,40,120,0.06));
  top: -40px;
  right: -40px;
  box-shadow: 0 0 40px rgba(60, 170, 255, 0.884), 0 0 120px rgba(60,170,255,0.08);
}

.custom-section::after {
  background: radial-gradient(circle at 30% 30%, rgb(255, 1, 17), rgba(120,10,20,0.06));
  bottom: -30px;
  left: -40px;
  box-shadow: 0 0 40px rgba(255,85,95,0.25), 0 0 120px rgba(255,85,95,0.08);
}

/* Анимация за плавно движение */
@keyframes floatAround {
  0%   { transform: translate(-10%, -5%) scale(1); }
  25%  { transform: translate(8%, 6%) scale(1.03); }
  50%  { transform: translate(-6%, 10%) scale(0.98); }
  75%  { transform: translate(12%, -8%) scale(1.02); }
  100% { transform: translate(-10%, -5%) scale(1); }
}

/* Намаляване на движение за потребители, които предпочитат по-малко анимация */
@media (prefers-reduced-motion: reduce) {
  .custom-section::before,
  .custom-section::after {
    animation: none;
  }
  .custom-section {
    transition: none;
  }
}


>
/* Основна секция */
.newsletter {
  position: relative;
  padding: 50px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
  overflow: hidden;
}

/* Контейнер */
.newsletter-container {
  max-width: 500px;
  width: 100%;
  text-align: center;
  color: #fff;
}

/* Заглавие и параграф */
.newsletter h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  text-shadow: 0 0 10px rgba(255,0,0,0.7);
}

.newsletter p {
  font-size: 1rem;
  margin-bottom: 20px;
  opacity: 0.85;
}

/* Форма */
.newsletter form {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.newsletter input[type="email"] {
  flex: 1 1 60%;
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  color: #fff;
  outline: none;
}

.newsletter input[type="email"]::placeholder {
  color: rgba(255,255,255,0.7);
}

/* Бутон */
.newsletter button {
  flex: 1 1 30%;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  background: rgba(29, 18, 18, 0.6);
  color: #fff;
  font-weight: bold;
  cursor: not-allowed;
  position: relative;
  transition: all 0.3s ease;
  animation: pulse 1.5s infinite;
}

/* Pulsиращ ефект */
@keyframes pulse {
  0% { box-shadow: 0 0 10px rgba(255,0,0,0.5); }
  50% { box-shadow: 0 0 25px rgba(255,0,0,0.8); }
  100% { box-shadow: 0 0 10px rgba(255,0,0,0.5); }
}

/* Responsive */
@media(max-width: 500px) {
  .newsletter input[type="email"], 
  .newsletter button {
    flex: 1 1 100%;
  }
}