

:root {
  --body-bg-color: #000000;
  --body-text-color: #ffffff;
  --heading-color: #e2a35a;
  --hero-gradient1: #aea3a3;
  --hero-gradient2: #ffffff;
  --footer-bg-color: #060505;
  --link-color: #0f0f10;
  --header-bg-color: #d4a31c00;
  --font-family: Monaco, 'Menlo', monospace;
  --nav-link-color: #fffdfa;
  --footer-text-color: #ffffff;
  --header-text-color: #c9a236;
}
html {
  overflow-x: hidden;
}
body {
  position: relative;
  font-family: var(--font-family);
  line-height: 1.6;
  min-height: 100vh;
  color: var(--body-text-color) !important;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: 
      linear-gradient(rgba(0, 0, 0, 0.466), rgba(0, 0, 0, 0.404)), 
      url('/images/patan.webp') center/cover no-repeat;
  z-index: -1;
  transform: translateZ(0);
}

@keyframes h1Floating {
    0% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0); }
}

@keyframes h1GlowPulse {
    0% { text-shadow: 0 0 10px rgba(212,178,76,0.45); }
    50% { text-shadow: 0 0 24px rgba(212,178,76,0.85); }
    100% { text-shadow: 0 0 10px rgba(212,178,76,0.45); }
}

@keyframes h1Shine {
    0% { left: -120%; }
    50% { left: 120%; }
    100% { left: 120%; }
}

/* --- Стил на h1 --- */
h1 {
    font-size: 35px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 20px 35px;
    display: inline-block;
    color: #d4b24c; /* тъмно жълто */
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.45),
        rgba(0, 0, 0, 0.55)
    );
    border-radius: 15px;
 
    box-shadow: 
        0 0 20px rgba(180, 150, 230, 0.35),
        inset 0 0 20px rgba(212,178,76,0.25);
    
    position: relative;
    overflow: hidden;
    animation: 
        h1Floating 4s ease-in-out infinite,
        h1GlowPulse 5s infinite ease-in-out;
}

/* --- "Shine" ефект през заглавието --- */
h1::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 80px;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0),
        rgba(255,255,255,0.5),
        rgba(255,255,255,0)
    );
    transform: skewX(-25deg);
    animation: h1Shine 3.5s infinite;
}


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: #e7be8b !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:#e7a653 !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/naifu-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.863));
  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;
}
            





@keyframes glowPulse {
    0% { box-shadow: 0 0 15px rgba(180,150,230,0.2); }
    50% { box-shadow: 0 0 30px rgba(200,170,255,0.45); }
    100% { box-shadow: 0 0 15px rgba(180,150,230,0.2); }
}

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

@keyframes shimmerLight {
    0% { opacity: 0.2; transform: translateX(-30px); }
    50% { opacity: 0.5; transform: translateX(20px); }
    100% { opacity: 0.2; transform: translateX(-30px); }
}

/* --- Секция --- */
.section-two {
    padding: 30px 20px;
    position: relative;
    overflow: hidden;
}

/* Малки движещи се светлинки */
.section-two::before,
.section-two::after {
    content: "";
    position: absolute;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(180,150,230,0.35), rgba(0,0,0,0));
    border-radius: 50%;
    filter: blur(18px);
    animation: shimmerLight 6s infinite linear;
    z-index: 0;
}

.section-two::before {
    top: 0;
    left: 10%;
}
.section-two::after {
    bottom: 0;
    right: 8%;
}

/* Заглавия */
.section-two h2 {
    color: #d4b24c;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
    text-shadow: 0 0 12px rgba(212,178,76,0.4);
    animation: floating 4s ease-in-out infinite;
}

.section-two p {
    color: #b19cd9;
    font-size: 17px;
    line-height: 1.7;
}

/* --- Картички --- */
.section-two .card {
    position: relative;
    background: linear-gradient(145deg, rgba(70, 50, 110, 0.6), rgba(15, 10, 25, 0.7));
    border: none;
    border-radius: 18px;
    animation: glowPulse 6s infinite ease-in-out;
    overflow: hidden;
    transition: all 0.4s ease;
}

/* Неонови ореоли при hover */
.section-two .card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 0 25px rgba(200,170,255,0.6),
        0 0 40px rgba(212,178,76,0.4);
}

/* Декоративна лента върху картата */
.section-two .card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -80px;
    width: 60px;
    height: 200%;
    background: rgba(255, 255, 255, 0.15);
    transform: rotate(25deg);
    animation: shimmerLight 4s infinite linear;
}

/* Card images */
.section-two .card img {
    border-bottom: 3px solid rgba(212,178,76,0.7);
}

/* Card title */
.section-two .card-title {
    color: #d4b24c;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(212,178,76,0.4);
}

/* Card text */
.section-two .card p {
    color: #b19cd9;
    font-size: 16px;
    line-height: 1.7;
}

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

/* Search form */
.search-form {
    display: inline-flex;
    width: 100%;
    max-width: 450px;
    background: rgba(30,10,50,0.7);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(180,150,230,0.25);
    border: 2px solid rgba(212,178,76,0.5);
}

/* Input */
.search-form input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    outline: none;
    background: transparent;
    color: #b19cd9;
    font-size: 16px;
    font-weight: 500;
    font-family: "Poppins", sans-serif;
}

.search-form input::placeholder {
    color: #d4b24c; /* тъмно жълто за placeholder */
    opacity: 0.7;
}

/* Button (нерaботещ) */
.search-form button {
    padding: 0 25px;
    border: none;
    background: #d4b24c;
    color: #000;
    font-weight: 700;
    font-size: 16px;
    cursor: default; /* не кликаем */
    transition: all 0.3s ease;
}

.search-form button:hover {
    background: #ffd966;
    color: #000;
}

/* Меко анимиране при hover на формата */
.search-form:hover {
    box-shadow: 0 0 35px rgba(180,150,230,0.45), 0 0 20px rgba(212,178,76,0.35);
}
