body.fantasy-bg {
  background: none !important;
  color: #e9f2ff;
  font-family: 'Segoe UI', 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

body {
  overflow-y: scroll;
}

#bg-video {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  object-fit: cover;
  z-index: -2;
  min-width: 100vw;
  min-height: 100vh;
  pointer-events: none;
}

.video-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(10,16,24,0.68);
  z-index: -1;
  pointer-events: none;
}

.neon-logo {
  font-size: 2.4rem;
  font-weight: bold;
  color: #e9f2ff;
  text-shadow: 0 0 12px #b7f0ff, 0 0 32px #7e9cff, 0 0 2px #fff, 0 0 1px #b7f0ff;
  letter-spacing: 2px;
  background: linear-gradient(90deg, #d6e9ff 0%, #b7f0ff 60%, #b8b8b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: neon-flicker 2s infinite alternate;
}

/* --- Mesaj NO DONATIONS! sub logo --- */
.no-donation-msg {
  color: #ff0000;
  font-weight: bold;
  font-size: 1.1rem;
  letter-spacing: 1.5px;
  margin-top: 4px;
  text-shadow: 
    0 0 4px #ff5555, 
    0 0 8px #ff0000cc, 
    0 0 16px #ff0000aa, 
    0 0 24px #ff4444aa;
  animation: neon-flicker 1.5s infinite alternate;
}

/* --- Keyframes pentru flicker --- */
@keyframes neon-flicker {
  0% { opacity: 0.95; filter: blur(0.5px); }
  100% { opacity: 1; filter: blur(0); }
}

/* --- Meniu navigation --- */
.main-nav {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 6vw 10px 6vw;
  background: rgba(18,26,38,0.97);
  box-shadow: 0 4px 24px 0 #1a1a2e33;
  position: sticky;
  top: 0;
  z-index: 20;
}

.main-nav nav {
  display: flex;
  gap: 24px;
}

.nav-link, .login-btn {
  position: relative;
  background: none;
  border: none;
  color: #e9f2ff;
  font-size: 1rem;
  font-family: inherit;
  padding: 8px 16px;
  cursor: pointer;
  font-weight: 500;
  border-radius: 8px;
  transition: color 0.2s;
  outline: none;
  z-index: 1;
}

.nav-link::before, .login-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 8px;
  border: 2px solid transparent;
  pointer-events: none;
  transition: border 0.3s, box-shadow 0.3s;
}

.nav-link:hover, .login-btn:hover {
  color: #7ed7ff;
}

.nav-link:hover::before, .login-btn:hover::before {
  border-image: linear-gradient(90deg, #00bfff, #12c6ff, #7ed7ff, #00bfff) 1;
  border-width: 2px;
  box-shadow: 0 0 16px #00bfff99, 0 0 8px #12c6ff66;
  animation: border-glow 1s linear forwards;
}

@keyframes border-glow {
  0% { border-image-source: linear-gradient(90deg, #00bfff, transparent); }
  100% { border-image-source: linear-gradient(90deg, #00bfff, #12c6ff, #7ed7ff, #00bfff); }
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  width: 100vw;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: transparent;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 5vw 2vw;
  color: #e9f2ff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

/* --- Hero texts --- */
.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: #b7f0ff;
  text-shadow: 0 0 16px #00bfff99, 0 0 32px #7ed7ff88, 0 0 2px #fff;
  margin-bottom: 6px;
}

.hero-desc {
  font-size: 1.3rem;
  color: #b7f0ff;
  margin-bottom: 16px;
}

.cta-btn {
  display: inline-block;
  background: linear-gradient(90deg, #00bfff, #7ed7ff);
  color: #181c24;
  font-size: 1.3rem;
  font-weight: bold;
  padding: 0.9em 2.4em;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 24px #00bfff66;
  transition: background 0.3s, box-shadow 0.3s;
  margin-top: 10px;
  outline: none;
  position: relative;
  overflow: hidden;
}

.cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  border: 2px solid transparent;
  pointer-events: none;
  transition: border 0.3s, box-shadow 0.3s;
}

.cta-btn:hover::before {
  border-image: linear-gradient(90deg, #00bfff, #12c6ff, #7ed7ff, #00bfff) 1;
  border-width: 2px;
  box-shadow: 0 0 16px #00bfff99, 0 0 8px #12c6ff66;
  animation: border-glow 1s linear forwards;
}

/* --- Section styling --- */
.section {
  padding: 64px 0 48px 0;
  background: transparent;
  width: 100vw;
}

.section-title {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 28px;
  font-weight: 700;
  color: #b7f0ff;
  text-shadow: 0 0 16px #00bfff99, 0 0 2px #fff;
  letter-spacing: 1.5px;
}

/* --- Features panels --- */
.features-panel {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(10,16,24,0.93);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
}
.features-panel-content {
  background: rgba(18,26,38,0.98);
  border-radius: 22px;
  box-shadow: 0 0 40px #ff2e2e66, 0 0 16px #7ed7ff22;
  padding: 46px 24px 32px 44px;
  min-width: 340px;
  max-width: 96vw;
  min-height: 400px;
  max-height: 90vh;
  display: flex;
  flex-direction: row;
  gap: 34px;
  position: relative;
  overflow: visible;
}
.features-close {
  position: absolute;
  top: 18px; right: 24px;
  font-size: 2.3rem;
  color: #ff3333;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2;
  transition: color 0.2s;
}
.features-close:hover { color: #ff6a00; }
.features-menu {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-end;
  margin-top: 18px;
}
.features-tab, .docs-tab {
  background: none;
  border: none;
  color: #ff3333;
  font-size: 1.2rem;
  font-family: inherit;
  font-weight: bold;
  letter-spacing: 1.5px;
  padding: 12px 32px 12px 18px;
  margin-right: 0;
  border-radius: 12px 0 0 12px;
  cursor: pointer;
  text-align: right;
  position: relative;
  transition: color 0.2s, box-shadow 0.3s;
  box-shadow: 0 0 16px #ff2e2e44;
  z-index: 1;
  overflow: visible;
}
.features-tab.active, .docs-tab.active {
  color: #fff;
  background: linear-gradient(90deg, #ff3333 70%, #ff7e00 100%);
  box-shadow: 0 0 36px #ff2e2e99, 0 0 8px #ff7e00aa;
  animation: flame 1.6s infinite alternate;
}
@keyframes flame {
  0% { box-shadow: 0 0 16px #ff2e2e88, 0 0 8px #ff7e0044; }
  100% { box-shadow: 0 0 48px #ff2e2e, 0 0 24px #ff7e00cc; }
}

.features-content, .docs-content {
  flex: 1;
  min-width: 260px;
  max-width: 540px;
  padding: 12px 0 0 0;
  color: #fff;
  font-size: 1.1rem;
}
.features-content h2 {
  color: #ff3333;
  text-shadow: 0 0 12px #ff2e2e88, 0 0 8px #ff7e0044;
  font-size: 2rem;
  margin-bottom: 8px;
}
.features-content ul {
  margin: 0 0 12px 0;
  padding: 0 0 0 20px;
  color: #fff;
}
.features-content li {
  margin-bottom: 7px;
  font-size: 1.08rem;
  list-style: disc;
}
.features-content .rate {
  color: #ff7e00;
  font-weight: bold;
  font-size: 1.08em;
}
.tab-content { display: block; }

@media (max-width: 900px) {
  .main-nav { flex-direction: column; gap: 18px; }
  .features-panel-content { flex-direction: column; gap: 18px; min-width: 90vw; padding: 32px 10px 20px 10px; }
  .features-menu { flex-direction: row; gap: 12px; align-items: flex-start; }
  .features-tab, .docs-tab { padding: 10px 18px; font-size: 1.1rem; border-radius: 12px; }
}

/* Scroll pentru documentatie */
.docs-content {
  max-height: 70vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #ff3333 #181c24;
}
.docs-content::-webkit-scrollbar {
  width: 8px;
  background: #181c24;
}
.docs-content::-webkit-scrollbar-thumb {
  background: #ff3333;
  border-radius: 8px;
}   

/* --- Sidebar left bottom info --- */
.sidebar-info {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 300px;
  font-size: 0.85rem;
  color: #cfcfcf;
  text-shadow: 0 0 4px #fff, 0 0 6px #aaa;
  line-height: 1.4;
  z-index: 15;
  animation: text-glow 2s ease-in-out infinite alternate;
}

.sidebar-info h3 {
  font-size: 0.95rem;
  font-weight: bold;
  margin-bottom: 4px;
  color: #e6e6e6;
}

.sidebar-info p {
  margin-bottom: 10px;
}

@keyframes text-glow {
  0% { text-shadow: 0 0 2px #fff, 0 0 4px #ccc; }
  100% { text-shadow: 0 0 4px #fff, 0 0 10px #bbb; }
}

/* --- Back to Site Button --- */
.back-site-btn {
  margin-top: 12px;
  padding: 8px 16px;
  font-size: 1rem;
  background-color: #ff3333;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}

.back-site-btn:hover {
  background-color: #ff6666;
  box-shadow: 0 0 12px #ff3333aa;
}
