

:root {
  --body-bg-color: #f8fafc;
  --body-text-color: #222222;
  --heading-color: #222222;
  --hero-gradient1: #168295;
  --hero-gradient2: #0b5e3a;
  --footer-bg-color: #0d0d0d;
  --link-color: #d9dee8;
  --header-bg-color: #040c34;
  --font-family: system-ui;
  --nav-link-color: #ffffff;
  --footer-text-color: #ffffff;
  --header-text-color: #f8f6f6;
}
html {
  overflow-x: hidden;
}
body {
  background-color: var(--body-bg-color);
  color: var(--body-text-color) !important;
  font-family: var(--font-family);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
    
}

  
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);
}



.content-area a {
  color: var(--link-color);
  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 img {
        filter: brightness(0) invert(1);
      }

 .navbar {
  background-color: var(--header-bg-color) !important;
  position: sticky; top: 0; z-index: 1020;
}

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

.hero-section.with-bg {
  background-image: url('/images/palette-bg.webp');
  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.507));
  opacity: 0.5;
  z-index: 1;
}

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

  
@media (max-width: 768px) {
  .hero-section {
    padding: 60px 0;
  }
  
}
  .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;
  }
}


            
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 0.9)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}



.styled-section {
  background: linear-gradient(135deg, #0B1F5F, #1B3B80); /* тъмно синьо */
  color: #F4C3D1; /* меко розово за текст */
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  position: relative;
  overflow: hidden;
  font-family: 'Segoe UI', sans-serif;
}

/* Заглавие */
.section-title {
  font-size: 2.2rem;
  color: #FFC0CB;
  text-shadow: 2px 2px 8px rgba(255, 192, 203, 0.6);
  margin-bottom: 20px;
  animation: fadeInUp 1s ease forwards;
}

/* Параграф */
.section-intro {
  font-size: 1.1rem;
  margin-bottom: 30px;
  line-height: 1.6;
  animation: fadeIn 1s ease forwards;
  animation-delay: 0.3s;
  opacity: 0;
}

/* Списък с анимации */
.animated-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.animated-list li {
  background: rgba(255, 192, 203, 0.1);
  margin: 10px 0;
  padding: 15px 20px;
  border-radius: 15px;
  font-weight: bold;
  color: #FFD1DC;
  position: relative;
  cursor: default;
  animation: floatIn 1s ease forwards;
  opacity: 0;
}

/* Анимация за всяка li с забавяне */
.animated-list li:nth-child(1) { animation-delay: 0.2s; }
.animated-list li:nth-child(2) { animation-delay: 0.4s; }
.animated-list li:nth-child(3) { animation-delay: 0.6s; }
.animated-list li:nth-child(4) { animation-delay: 0.8s; }

/* Keyframes */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes floatIn {
  0% { opacity: 0; transform: translateX(-20px); }
  50% { transform: translateX(10px); }
  100% { opacity: 1; transform: translateX(0); }
}



.art-section {
  position: relative;
  overflow: hidden;
  background: #040C34;
  color: #f5eff0;
  padding: 60px 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

.art-section h2, .art-section h3 {
  color: #ffe6e9;
}

.art-section p {
  color: #fef5f7;
  line-height: 1.6;
  animation: fadeIn 1s ease forwards;
  opacity: 0;
  animation-delay: 0.3s;
}

.art-section ul {
  list-style: none;
  padding: 0;
  margin: 30px 0 0 0;
}

.art-section ul li {
  background: rgba(255,192,203,0.1);
  margin: 10px 0;
  padding: 15px 20px;
  border-radius: 15px;
  color: #FFD1DC;
  position: relative;
  cursor: default;
  animation: floatIn 1s ease forwards;
  opacity: 0;
}

.art-section ul li:nth-child(1) { animation-delay: 0.2s; }
.art-section ul li:nth-child(2) { animation-delay: 0.4s; }
.art-section ul li:nth-child(3) { animation-delay: 0.6s; }

.art-section .bg-deco {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,192,203,0.2);
  pointer-events: none;
}

.art-section .deco1 {
  width: 120px;
  height: 120px;
  top: -40px;
  left: -50px;
  animation: move1 20s linear infinite;
}

.art-section .deco2 {
  width: 80px;
  height: 80px;
  bottom: -30px;
  right: -40px;
  animation: move2 25s linear infinite;
}

.art-section .deco3 {
  width: 100px;
  height: 100px;
  top: 50%;
  left: 70%;
  animation: move3 30s linear infinite;
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes floatIn {
  0% { opacity: 0; transform: translateX(-20px); }
  50% { transform: translateX(10px); }
  100% { opacity: 1; transform: translateX(0); }
}

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

@keyframes move1 {
  0% { transform: translate(0,0); }
  50% { transform: translate(200px, 150px); }
  100% { transform: translate(0,0); }
}

@keyframes move2 {
  0% { transform: translate(0,0); }
  50% { transform: translate(-150px, -200px); }
  100% { transform: translate(0,0); }
}

@keyframes move3 {
  0% { transform: translate(0,0); }
  50% { transform: translate(-100px, 100px); }
  100% { transform: translate(0,0); }
}




  .section-wallets {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)), url('/images/palette-bg.webp');
    background-position: center;
    background-size: cover;
    color: #fff;
    padding: 50px 20px;
  
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    margin-top: 40px;
    border: 1px solid #2c3e50;
}
.section-wallets h2 {
    color: #ffffff!important; 
    margin-bottom: 20px;
    font-family: 'Arial', sans-serif;

    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}
.section-wallets h2::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #e7e4e4;
    bottom: -8px;
    left: 0;
}
.section-wallets p {
    color: #ddd;
    line-height: 1.6;
}
.section-wallets h3 {
    color: #ffffff!important; 
    padding: 10px;
    border-radius: 5px;
    display: inline-block;
    text-transform: capitalize;
    font-family: 'Helvetica Neue', sans-serif;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}
.section-wallets h3:hover {
    background-color: #2c3e50; 
    color: #fff;
    transform: scale(1.05);
}
.section-wallets ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 20px;
}
.section-wallets ul li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #dadada; 
}
.section-wallets ul li::before {
    content: "✔"; 
    font-size: 1.5rem;
    color: #e2e2e2; 
    margin-right: 10px;
    transition: color 0.3s ease;
}
.section-wallets ul li:hover::before {
    color: #ebebeb; 
}





.styled-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0 0;
}

.styled-list li {
  position: relative;
  padding: 12px 20px 12px 50px;
  margin: 12px 0;
  background: rgba(255,192,203,0.1);
  border-radius: 15px;
  color: #3e292e;
  font-weight: bold;
  cursor: default;
  animation: floatIn 1s ease forwards;
  opacity: 0;
}

.styled-list li::before {
  content: "🎨"; 
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
}

.styled-list li:nth-child(1) { animation-delay: 0.2s; }
.styled-list li:nth-child(2) { animation-delay: 0.4s; }
.styled-list li:nth-child(3) { animation-delay: 0.6s; }
.styled-list li:nth-child(4) { animation-delay: 0.8s; }

@keyframes floatIn {
  0% { opacity: 0; transform: translateX(-20px); }
  50% { transform: translateX(10px); }
  100% { opacity: 1; transform: translateX(0); }
}



.styled-section {
  background: #f1cdd3;
  color: #040C34;
  padding: 40px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  font-family: 'Segoe UI', sans-serif;
}

.styled-section h2, .styled-section h3 {
  color: #8a5960;
  text-shadow: 1px 1px 8px rgba(255, 105, 180, 0.5);
  animation: floatTitle 5s ease-in-out infinite;
}

.styled-section p {
  line-height: 1.6;
  animation: fadeIn 1s ease forwards;
  opacity: 0;
  animation-delay: 0.3s;
}

.styled-section ul {
  list-style: none;
  padding: 0;
  margin: 30px 0 0 0;
}

.styled-section ul li {
  background: rgba(255, 182, 193, 0.2);
  margin: 10px 0;
  padding: 15px 20px;
  border-radius: 15px;
  color: #631647;
  font-weight: bold;
  position: relative;
  cursor: default;
  animation: floatIn 1s ease forwards;
  opacity: 0;
}

.styled-section ul li:nth-child(1) { animation-delay: 0.2s; }
.styled-section ul li:nth-child(2) { animation-delay: 0.4s; }
.styled-section ul li:nth-child(3) { animation-delay: 0.6s; }

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes floatIn {
  0% { opacity: 0; transform: translateX(-20px); }
  50% { transform: translateX(10px); }
  100% { opacity: 1; transform: translateX(0); }
}

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



.page-linking {
  background: linear-gradient(135deg, #0B1F5F, #1B3B80);
  color: #F4C3D1;
  padding: 25px 20px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  font-family: 'Segoe UI', sans-serif;
  max-width: 300px;
}

.page-linking h3 {
  color: #ffffff;
  font-size: 1.6rem;
  margin-bottom: 15px;
  position: relative;
}

.page-linking h3::after {
  content: " 🎨";
  margin-left: 8px;
  display: inline-block;
  animation: bounce 1.5s infinite;
}

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

.page-linking ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-linking ul li {
  background: rgba(255,192,203,0.1);
  margin: 10px 0;
  padding: 12px 15px 12px 5px;
  border-radius: 12px;
  position: relative;
  color: #FFD1DC;
  font-weight: 600;
  cursor: default;
  animation: floatIn 1s ease forwards;
  opacity: 0;
}

.page-linking ul li::before {
  content: "🖌️";
  margin-right: 7px;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
}

.page-linking ul li:nth-child(1) { animation-delay: 0.2s; }
.page-linking ul li:nth-child(2) { animation-delay: 0.4s; }
.page-linking ul li:nth-child(3) { animation-delay: 0.6s; }

@keyframes floatIn {
  0% { opacity: 0; transform: translateX(-20px); }
  50% { transform: translateX(10px); }
  100% { opacity: 1; transform: translateX(0); }
}

.page-linking ul li a {
  color: #FFD1DC;
  text-decoration: none;
  transition: color 0.3s;
}

.page-linking ul li a:hover {
  color: #FFC0CB;
}




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


  /* Контейнер на search */
.search {
  margin-bottom: 20px;
}

/* Формата */
.sidebar-search-form {
  display: flex;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Полето за търсене */
.sidebar-search-form input[type="text"] {
  flex: 1;
  padding: 10px 15px;
  border: none;
  font-size: 1rem;
  color: #222;
  background: #e7e0e1; /* светло розово като секциите */
  transition: background 0.3s;
}

.sidebar-search-form input[type="text"]::placeholder {
  color: #8a5960;
}

/* Полето фокус */
.sidebar-search-form input[type="text"]:focus {
  outline: none;
  background: #ffe6e9;
}

/* Бутон за търсене */
.sidebar-search-form button {
  background: linear-gradient(135deg, #0B1F5F, #1B3B80); /* тъмносин градиент */
  color: #FFC0CB;
  border: none;
  padding: 0 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, background 0.3s;
}

.sidebar-search-form button:hover {
  transform: scale(1.1);
  background: linear-gradient(135deg, #1B3B80, #0B1F5F);
}

/* Иконка на бутон */
.sidebar-search-form button i {
  font-size: 1.2rem;
}
