body {
  background: #0b0b0f;
  color: #e8e8e8;
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #0b0b0f;
  border-bottom: 1px solid rgba(0,255,150,0.15);
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  max-width: 60%;
  margin: 0 auto;
}

.main-nav .logo a {
  color: #00b86b;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
}

.main-nav .logo span {
  color: #23ff8a;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: #e8e8e8;
  text-decoration: none;
  font-weight: 500;
  transition: color .2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #00ff99;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle .bar {
  width: 25px;
  height: 3px;
  background: #00ff99;
  border-radius: 2px;
}

.main-header {
  position: relative;
  width: 60%;
  height: 65vh;
  min-height: 400px;
  margin: 40px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #e8e8e8;
  overflow: hidden;
  border-bottom: 1px solid rgba(0,255,150,0.15);
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(0,255,150,0.1);
}

.header-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.main-header .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1;
}

.header-content {
  position: relative;
  z-index: 2;
}


.site-title {
  font-size: 3rem;
  color: #00ff99;
  text-shadow: 0 0 10px rgba(0,255,150,.3);
  letter-spacing: 2px;
}

.site-title span {
  color: #23ff8a;
}

.tagline {
  margin-top: 10px;
  font-size: 1.2rem;
  color: #ccc;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.fade-text {
  opacity: 0;
  animation: fadeIn 2s ease forwards;
}

.glow {
  opacity: 0;
  animation: glowIn 3s ease forwards 1s;
}

.header-quote {
  font-size: 1.1rem;
  color: #ccc;
  margin-top: 20px;
  font-style: italic;
  opacity: 0;
  animation: fadeQuote 3s ease forwards 2.5s;
  text-shadow: 0 0 8px rgba(0,255,150,0.2);
}
.nav-links li.has-submenu {
    position: relative;
}

.nav-links li .submenu {
    display: none;
    position: absolute;
    background: #0e0e0e;
    border: 1px solid #3aff9a55;
    padding: 10px 0;
    list-style: none;
    min-width: 200px;
    z-index: 999;
}

.nav-links li:hover .submenu {
    display: block;
}

.nav-links li .submenu li a {
    display: block;
    padding: 10px 15px;
    color: #d2ffd2;
    text-decoration: none;
}

.nav-links li .submenu li a:hover {
    background: #0f4022;
    color: #5af5a0;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes glowIn {
  from { opacity: 0; text-shadow: none; }
  to {
    opacity: 1;
    text-shadow: 0 0 20px rgba(0,255,150,0.5),
                 0 0 40px rgba(0,255,150,0.3),
                 0 0 60px rgba(0,255,150,0.2);
  }
}

@keyframes fadeQuote {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.main-content {
  flex: 1;
  background: #0b0b0f;
  color: #e8e8e8;
}

.main-footer {
  background: #0b0b0f;
  border-top: 1px solid rgba(0,255,150,0.15);
  color: #aaa;
  font-size: 0.9rem;
  position: relative;
  padding: 25px 10px;
}

.footer-inner {
  max-width: 60%;
  margin: 0 auto;
  text-align: center;
}

.main-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg,#00b86b,#23ff8a,#00b86b);
  opacity: .4;
}

.footer-inner p { margin: 5px 0; }

.footer-tag {
  font-size: 0.85rem;
  color: #00ff99;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section {
  padding: 80px 20px;
  border-bottom: 1px solid rgba(0,255,150,0.05);
}

.section h2 {
  color: #00ff99;
  text-align: center;
  margin-bottom: 20px;
  font-size: 2rem;
  text-shadow: 0 0 8px rgba(0,255,150,.3);
}

.section p {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.7;
  color: #ccc;
}

.music-section {
  text-align: center;
  max-width: 60%;
  margin: 0 auto;
}

.music-section h2 {
  color: #00ff99;
  margin-bottom: 10px;
  font-size: 2.2rem;
  text-shadow: 0 0 10px rgba(0,255,150,0.3);
}

.music-section p {
  color: #ccc;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.youtube-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 40px;
  justify-items: center;
}

.yt-item {
  background: #111;
  border: 1px solid rgba(0,255,150,0.15);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  transition: transform .25s, box-shadow .25s;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.yt-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 15px rgba(0,255,150,0.3);
}

.yt-item img {
  width: 100%;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.yt-item img:hover { transform: scale(1.05); }

.yt-item p {
  margin: 10px 0 15px;
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  padding: 0 10px;
}

.see-more-btn {
  display: inline-block;
  background-color: #af0606;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s;
  margin-bottom: 60px;
}

.see-more-btn:hover { background-color: #8c0505; }

.about-section {
  max-width: 60%;
  margin: 100px auto;
  text-align: left;
  line-height: 1.9;
  color: #ddd;
  padding: 0 20px;
}

.about-section h2 {
  color: #00ff99;
  font-size: 2.4rem;
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 0 10px rgba(0,255,150,0.3);
}

.about-section .intro {
  font-size: 1.15rem;
  color: #e8e8e8;
  margin-bottom: 40px;
  text-align: left;
}

.about-content p {
  margin-bottom: 25px;
  font-size: 1.05rem;
  color: #ccc;
}

.about-content strong { color: #23ff8a; }

.about-content em {
  color: #00ff99;
  font-style: normal;
  font-weight: 600;
}

.section-sep {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, #00ff99 40%, transparent);
  margin: 45px 0;
  opacity: 0.6;
}

.contact-section {
  max-width: 60%;
  margin: 100px auto;
  text-align: center;
  line-height: 1.8;
  color: #ddd;
  padding: 0 20px;
}

.contact-section h2 {
  color: #00ff99;
  font-size: 2.2rem;
  margin-bottom: 25px;
  text-shadow: 0 0 10px rgba(0,255,150,0.3);
}

.contact-text {
  font-size: 1.1rem;
  color: #ccc;
  margin-bottom: 40px;
}

.contact-email a {
  font-size: 1.4rem;
  color: #23ff8a;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-email a:hover {
  color: #00ff99;
  text-shadow: 0 0 6px rgba(0,255,150,0.4);
}

.support-buttons {
  text-align: center;
  margin: 40px 0;
  color: #1fad63;
}

.support-btn {
  display: inline-block;
  padding: 12px 30px;
  border: 1px solid #5af5a0;
  color: #5af5a0;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s ease;
  margin-top: 20px;
}

.support-btn:hover {
  background-color: #5af5a0;
  color: #000;
}


.yt-popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  z-index: 2000;
  transition: opacity 0.3s ease;
}

.yt-popup.open { display: flex; opacity: 1; }

.yt-popup-content {
  position: relative;
  width: 90%;
  max-width: 960px;
  background: transparent;
  border-radius: 10px;
  overflow: hidden;
}

.yt-popup-content iframe {
  width: 100%;
  height: 540px;
  display: block;
  border: none;
}

.yt-close {
  position: absolute;
  top: -35px;
  right: -5px;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.2s;
}

.yt-close:hover { color: #00ff99; }

#artykul .about-section {
  max-width: 800px;
  margin: 60px auto;
  line-height: 1.8;
  color: #ddd;
}

.article-full-image {
  margin: 30px 0;
  text-align: center;
}

.article-full-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,255,150,0.1);
}

.article-content {
  font-size: 1.05rem;
  margin-top: 25px;
  white-space: pre-line;
}

.article-audio {
  margin-top: 35px;
  text-align: center;
}

.article-audio p {
  color: #00ff99;
  margin-bottom: 10px;
  font-weight: 600;
}

.article-meta {
  margin-top: 40px;
  font-size: 0.9rem;
  color: #aaa;
  text-align: center;
}

.back-link {
  display: inline-block;
  margin-top: 40px;
  text-decoration: none;
  color: #af0606;
  font-weight: 600;
  transition: color 0.3s;
}

.back-link:hover {
  color: #ff3d3d;
}


@media (max-width: 992px) {
  .nav-container,
  .header-content,
  .about-section,
  .music-section,
  .contact-section,
  .footer-inner { max-width: 80%; }
  .main-header { width: 80%; height: 55vh; min-height: 350px; background-position: center top; }
  .site-title { font-size: 2.4rem; }
  .tagline, .header-quote { font-size: 1rem; }
}

@media (max-width: 768px) {
  .nav-container,
  .header-content,
  .about-section,
  .music-section,
  .contact-section { max-width: 95%; }
  .youtube-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 15px; }
  .yt-item p { font-size: 0.9rem; }
  .about-section h2 { font-size: 1.8rem; }
  .yt-popup-content iframe { height: 280px; }
  .main-header {
    width: 100%;
    height: auto;
    min-height: 360px;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 60px 0;
    background-position: center;
  }
  .site-title { font-size: 2rem; line-height: 1.3; }
  .tagline { font-size: 0.95rem; margin-top: 8px; }
  .header-quote { font-size: 0.9rem; margin-top: 15px; }
  .nav-links {
    display: none;
    flex-direction: column;
    background: #111a11;
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,.5);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
}

@media (max-width: 480px) {
  .main-header { min-height: 320px; background-size: cover; background-position: center; }
  .site-title { font-size: 1.7rem; }
  .header-quote { font-size: 0.9rem; }
}
body.yt-open {
  overflow: hidden !important;
}

.yt-popup {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.9);
  z-index: 999999 !important;
}

.yt-popup.open {
  display: flex !important;
}

.yt-popup-content {
  position: relative;
  background: #000;
  width: 90%;
  max-width: 960px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(0,255,150,0.25);
}

.yt-popup-content iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
  display: block;
}

.yt-close {
  position: absolute;
  top: -35px;
  right: -5px;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1000000;
  transition: color 0.2s;
}

.yt-close:hover {
  color: #00ff99;
}

@media (max-width: 768px) {
  .yt-popup-content { width: 95%; }
}
/* --- Sekcja: kontener artykułu lub listy --- */
.content-box {
  max-width: 60%;
  margin: 50px auto;
  padding: 40px 30px;
  background: rgba(17, 17, 17, 0.95);
  border: 1px solid rgba(0, 255, 150, 0.15);
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(0, 255, 150, 0.08);
  color: #e8e8e8;
  line-height: 1.8;
}

.content-box h2,
.content-box h3 {
  color: #00ff99;
  text-shadow: 0 0 10px rgba(0, 255, 150, 0.25);
  margin-top: 0;
  text-align: center;
}

.content-box p {
  color: #ccc;
  font-size: 1.05rem;
}

.content-box a {
  color: #00ff99;
  text-decoration: none;
  font-weight: 600;
}

.content-box a:hover {
  color: #23ff8a;
  text-shadow: 0 0 8px rgba(0,255,150,0.4);
}

.header-light {
  background: rgba(0,0,0,0.6);
  padding: 10px 0;
  text-align: center;
  border-bottom: 1px solid rgba(0,255,150,0.2);
  box-shadow: 0 0 10px rgba(0,255,150,0.1);
}

.light-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.light-status {
  color: #00ff99;
  font-weight: 600;
  font-size: 1rem;
}

.light-icon {
  margin-right: 6px;
  font-size: 1.2rem;
}

/* Sekcja nagłówkowa świecy */
.header-light {
  text-align: center;
  padding: 15px 0;
  border-bottom: 1px solid rgba(0,255,150,0.15);
  background: #0b0b0f;
  box-shadow: 0 2px 10px rgba(0,255,150,0.05);
}

.light-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.light-status {
  color: #e8e8e8;
  font-size: 1rem;
}

#lightBtnHeader {
  padding: 8px 18px;
  background: #00b86b;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s, transform 0.2s;
}

#lightBtnHeader:hover {
  background: #00ff99;
  transform: scale(1.05);
}

/* 🔥 Animacja płomienia */
.flame-wrapper {
  position: relative;
  margin: 12px auto;
  width: 18px;
  height: 55px;
}

.flame {
  position: absolute;
  bottom: 10px;
  left: 50%;
  width: 10px;
  height: 25px;
  margin-left: -5px;
  background: radial-gradient(ellipse at bottom, #ffb300, #ff0000 70%);
  border-radius: 50%;
  box-shadow: 0 0 25px 8px rgba(255, 100, 0, 0.4);
  animation: flicker 1.2s infinite alternate;
  transform-origin: bottom center;
}

.flame:nth-child(2) {
  width: 8px;
  height: 20px;
  left: 48%;
  background: radial-gradient(ellipse at bottom, #ffd000, #ff6600 70%);
  animation-delay: 0.2s;
}

.flame:nth-child(3) {
  width: 6px;
  height: 18px;
  left: 52%;
  background: radial-gradient(ellipse at bottom, #ffec85, #ff6f00 70%);
  animation-delay: 0.4s;
}

.flame:nth-child(4) {
  width: 5px;
  height: 14px;
  left: 49%;
  background: radial-gradient(ellipse at bottom, #fff6c2, #ff8f00 70%);
  animation-delay: 0.6s;
}

.base {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 14px;
  height: 6px;
  background: #444;
  border-radius: 4px;
  margin-left: -7px;
}

@keyframes flicker {
  0%   { transform: scaleY(1) scaleX(1); opacity: 0.9; }
  50%  { transform: scaleY(1.2) scaleX(1.1); opacity: 1; }
  100% { transform: scaleY(0.9) scaleX(0.95); opacity: 0.8; }
}

#lightBtnHeader {
  background: #00ff99;
  color: #000;
  border: none;
  padding: 8px 18px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  transition: all 0.25s ease-in-out;
}

#lightBtnHeader:hover:not(:disabled) {
  background: #00e68a;
  box-shadow: 0 0 12px rgba(0,255,150,0.6);
  transform: scale(1.05);
}

#lightBtnHeader:disabled {
  cursor: not-allowed;
  opacity: 0.9;
}

#lightBtnHeader {
  background: #00ff99;
  color: #000;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  transition: all 0.3s;
}

#lightBtnHeader:hover {
  background: #af0606;
  color: #fff;
  box-shadow: 0 0 10px rgba(175,6,6,0.6);
}


@media (max-width: 992px) {
  .content-box {
    max-width: 80%;
    padding: 30px 20px;
  }
}

@media (max-width: 768px) {
  .content-box {
    max-width: 90%;
    padding: 25px 15px;
  }
}
/* 🔍 Pole wyszukiwania tekstów */
.search-input {
  width: 80%;
  max-width: 300px;
  padding: 10px 15px;
  border: 1px solid #5af5a0;
  border-radius: 8px;
  background-color: #111;
  color: #5af5a0;
  font-size: 16px;
  text-align: center;
  transition: all 0.3s ease;
}

.search-input::placeholder {
  color: #888;
}

.search-input:focus {
  outline: none;
  border-color: #1fad63;
  box-shadow: 0 0 10px #1fad63;
}


/* =========================================================
   MIA HIPNOSIS — NAV 2.0
   ========================================================= */

.main-nav {
  background:
    linear-gradient(180deg, rgba(11,11,15,0.97), rgba(8,14,11,0.95));
  border-bottom: 1px solid rgba(90,245,160,0.22);
  box-shadow:
    0 8px 30px rgba(0,0,0,0.28),
    0 1px 0 rgba(90,245,160,0.04) inset;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow .25s ease, border-color .25s ease, background .25s ease;
}

.main-nav.scrolled {
  border-bottom-color: rgba(90,245,160,0.36);
  box-shadow:
    0 12px 34px rgba(0,0,0,0.48),
    0 0 24px rgba(0,255,150,0.055);
}

.main-nav .logo a {
  position: relative;
  letter-spacing: .045em;
  text-shadow: 0 0 14px rgba(35,255,138,0.14);
  transition: text-shadow .25s ease, transform .25s ease;
}

.main-nav .logo a:hover {
  text-shadow:
    0 0 10px rgba(35,255,138,0.3),
    0 0 24px rgba(35,255,138,0.15);
}

.nav-links {
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-links > li {
  position: relative;
}

.nav-links > li > a,
.nav-links .submenu-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 2px;
  color: #e8e8e8;
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition:
    color .2s ease,
    text-shadow .2s ease;
}

.nav-links > li > a::after,
.nav-links .submenu-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #5af5a0, transparent);
  box-shadow: 0 0 8px rgba(90,245,160,.5);
  transition: left .22s ease, right .22s ease;
}

.nav-links > li > a:hover::after,
.nav-links > li > a.active::after,
.nav-links .submenu-toggle:hover::after,
.nav-links .submenu-toggle.active::after,
.nav-links .has-submenu.submenu-open > .submenu-toggle::after {
  left: 0;
  right: 0;
}

.nav-links > li > a:hover,
.nav-links > li > a.active,
.nav-links .submenu-toggle:hover,
.nav-links .submenu-toggle.active,
.nav-links .has-submenu.submenu-open > .submenu-toggle {
  color: #5af5a0;
  text-shadow: 0 0 10px rgba(90,245,160,.22);
}

/* Mały chevron przy pozycjach z podmenu */
.submenu-arrow {
  width: 7px;
  height: 7px;
  display: inline-block;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transform-origin: center;
  opacity: .8;
  transition: transform .22s ease, opacity .22s ease;
}

.has-submenu:hover > .submenu-toggle .submenu-arrow,
.has-submenu.submenu-open > .submenu-toggle .submenu-arrow {
  transform: rotate(225deg) translate(-1px, -1px);
  opacity: 1;
}

/* Dropdown desktop */
.nav-links li .submenu {
  display: block;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, -8px);
  min-width: 220px;
  margin: 0;
  padding: 8px;
  background:
    linear-gradient(180deg, rgba(14,18,16,.985), rgba(8,11,10,.985));
  border: 1px solid rgba(90,245,160,.26);
  border-radius: 10px;
  box-shadow:
    0 18px 45px rgba(0,0,0,.52),
    0 0 22px rgba(90,245,160,.055);
  transition:
    opacity .18s ease,
    transform .18s ease,
    visibility .18s ease;
}

.nav-links li .submenu::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 10px;
  height: 10px;
  background: #0d1210;
  border-left: 1px solid rgba(90,245,160,.26);
  border-top: 1px solid rgba(90,245,160,.26);
  transform: translateX(-50%) rotate(45deg);
}

.nav-links li.has-submenu:hover > .submenu,
.nav-links li.has-submenu.submenu-open > .submenu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-links li .submenu li {
  position: relative;
}

.nav-links li .submenu li a {
  position: relative;
  display: block;
  padding: 10px 13px;
  border-radius: 7px;
  color: #d8eee0;
  line-height: 1.35;
  transition:
    color .18s ease,
    background .18s ease,
    padding-left .18s ease,
    box-shadow .18s ease;
}

.nav-links li .submenu li a:hover,
.nav-links li .submenu li a.active {
  padding-left: 17px;
  background: linear-gradient(90deg, rgba(35,255,138,.12), rgba(35,255,138,.035));
  color: #5af5a0;
  box-shadow: inset 2px 0 0 #5af5a0;
}

/* Burger robi się w X */
.nav-toggle .bar {
  transform-origin: center;
  transition: transform .22s ease, opacity .18s ease, width .22s ease;
}

.nav-toggle.active .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active .bar:nth-child(2) {
  opacity: 0;
  width: 0;
}

.nav-toggle.active .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* =========================================================
   MOBILE NAV
   ========================================================= */

@media (max-width: 768px) {

  .nav-container {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    padding: 13px 18px;
  }

  .nav-links {
    top: 100%;
    right: 12px;
    width: min(330px, calc(100vw - 24px));
    max-height: calc(100vh - 82px);
    overflow-y: auto;
    box-sizing: border-box;
    gap: 3px;
    padding: 10px;
    background:
      linear-gradient(180deg, rgba(13,20,16,.99), rgba(8,11,10,.99));
    border: 1px solid rgba(90,245,160,.22);
    border-radius: 0 0 12px 12px;
    box-shadow:
      0 18px 45px rgba(0,0,0,.62),
      0 0 22px rgba(90,245,160,.05);
  }

  .nav-links > li {
    width: 100%;
  }

  .nav-links > li > a,
  .nav-links .submenu-toggle {
    width: 100%;
    box-sizing: border-box;
    justify-content: space-between;
    min-height: 44px;
    padding: 9px 11px;
    border-radius: 7px;
  }

  .nav-links > li > a::after,
  .nav-links .submenu-toggle::after {
    display: none;
  }

  .nav-links > li > a:hover,
  .nav-links > li > a.active,
  .nav-links .submenu-toggle:hover,
  .nav-links .submenu-toggle.active,
  .nav-links .has-submenu.submenu-open > .submenu-toggle {
    background: rgba(90,245,160,.07);
    box-shadow: inset 2px 0 0 rgba(90,245,160,.65);
  }

  .submenu-arrow {
    width: 8px;
    height: 8px;
    margin-right: 4px;
  }

  /* Na telefonie podmenu otwiera się WYŁĄCZNIE po tapnięciu */
  .nav-links li.has-submenu > .submenu,
  .nav-links li.has-submenu:hover > .submenu {
    display: none;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    position: static;
    transform: none;
    min-width: 0;
    margin: 2px 0 7px 10px;
    padding: 4px 0 4px 9px;
    background: transparent;
    border: 0;
    border-left: 1px solid rgba(90,245,160,.22);
    border-radius: 0;
    box-shadow: none;
    transition: none;
  }

  .nav-links li.has-submenu.submenu-open > .submenu {
    display: block;
  }

  .nav-links li .submenu::before {
    display: none;
  }

  .nav-links li .submenu li a {
    padding: 9px 11px;
    font-size: .95rem;
  }

  .nav-links li .submenu li a:hover,
  .nav-links li .submenu li a.active {
    padding-left: 15px;
  }

  .nav-toggle {
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border: 1px solid rgba(90,245,160,.2);
    border-radius: 8px;
    background: rgba(90,245,160,.025);
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
  }

  .nav-toggle:hover,
  .nav-toggle.active {
    background: rgba(90,245,160,.08);
    border-color: rgba(90,245,160,.45);
    box-shadow: 0 0 14px rgba(90,245,160,.08);
  }
}
/* =========================================================
   MIA HIPNOSIS — SŁOWIAŃSKA ODSŁONA 2026
   Warstwa wizualna. Logika strony pozostaje bez zmian.
========================================================= */

:root {
  --night: #050705;
  --night-soft: #0a0e0b;
  --forest: #101712;
  --forest-light: #18251b;
  --bone: #e9e1cf;
  --bone-muted: #bcb29f;
  --gold: #cbb376;
  --gold-light: #edda9a;
  --copper: #9c532f;
  --ember: #c8622f;
  --moss: #75856a;
  --line: rgba(203, 179, 118, .24);
  --line-soft: rgba(203, 179, 118, .11);
  --panel: rgba(8, 12, 9, .88);
  --shadow-deep: 0 30px 90px rgba(0, 0, 0, .58);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  background: var(--night);
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 16%, rgba(80, 105, 73, .09), transparent 30rem),
    radial-gradient(circle at 88% 58%, rgba(124, 65, 37, .08), transparent 34rem),
    linear-gradient(180deg, #050705 0%, #080b08 46%, #040604 100%);
  color: var(--bone);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.7;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: .11;
  background-image:
    repeating-radial-gradient(circle at 0 0, transparent 0, rgba(255,255,255,.08) 1px, transparent 2px);
  background-size: 6px 6px;
  mix-blend-mode: soft-light;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0,0,0,.45), transparent 18%, transparent 82%, rgba(0,0,0,.45)),
    repeating-linear-gradient(90deg, transparent 0 79px, rgba(203,179,118,.018) 80px);
}

::selection { background: rgba(203, 179, 118, .32); color: #fff; }

a, button { -webkit-tap-highlight-color: transparent; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
}

/* Nawigacja */
.main-nav {
  position: sticky;
  top: 0;
  z-index: 5000;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(5, 8, 6, .76);
  box-shadow: 0 12px 40px rgba(0,0,0,.22);
  backdrop-filter: blur(18px) saturate(125%);
  transition: background .35s ease, box-shadow .35s ease;
}

.main-nav.scrolled {
  background: rgba(4, 7, 5, .94);
  box-shadow: 0 14px 48px rgba(0,0,0,.5);
}

.nav-container {
  width: min(1480px, calc(100% - 48px));
  max-width: none;
  min-height: 78px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.main-nav .logo { flex: 0 0 auto; }

.main-nav .logo a {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: .38rem;
  color: var(--bone);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  font-weight: 400;
  letter-spacing: .15em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.main-nav .logo a::before {
  content: "";
  width: 28px;
  height: 28px;
  margin-right: 9px;
  border: 1px solid rgba(203,179,118,.48);
  transform: rotate(45deg);
  box-shadow: inset 0 0 0 7px rgba(203,179,118,.025), 0 0 18px rgba(203,179,118,.08);
}

.main-nav .logo span { color: var(--gold); font-size: .78em; }

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 1.45vw, 25px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links > li > a,
.submenu-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 78px;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(233,225,207,.78);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .11em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .25s ease;
}

.nav-links > li > a::after,
.submenu-toggle::after {
  content: "";
  position: absolute;
  right: 50%;
  bottom: -1px;
  left: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  box-shadow: 0 0 12px rgba(237,218,154,.45);
  transition: right .28s ease, left .28s ease;
}

.nav-links > li > a:hover,
.nav-links > li > a.active,
.submenu-toggle:hover,
.submenu-toggle.active { color: var(--gold-light); }

.nav-links > li > a:hover::after,
.nav-links > li > a.active::after,
.submenu-toggle:hover::after,
.submenu-toggle.active::after { right: 0; left: 0; }

.submenu-arrow {
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .25s ease;
}

.submenu-open .submenu-arrow { transform: rotate(225deg) translate(-2px, -2px); }

.nav-links li.has-submenu { position: relative; }

.nav-links li .submenu {
  position: absolute;
  top: calc(100% - 10px);
  left: 50%;
  z-index: 5100;
  display: block;
  min-width: 248px;
  margin: 0;
  padding: 10px;
  visibility: hidden;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(7, 11, 8, .97);
  box-shadow: 0 26px 70px rgba(0,0,0,.62), inset 0 1px rgba(255,255,255,.025);
  opacity: 0;
  transform: translate(-50%, 10px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  backdrop-filter: blur(18px);
}

.nav-links li.has-submenu:hover > .submenu,
.nav-links li.has-submenu:focus-within > .submenu,
.nav-links li.has-submenu.submenu-open > .submenu {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
}

.nav-links li .submenu li a {
  display: block;
  padding: 11px 14px;
  border-left: 1px solid transparent;
  color: rgba(233,225,207,.76);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: .77rem;
  letter-spacing: .055em;
  text-decoration: none;
  transition: color .2s ease, border-color .2s ease, background .2s ease, padding-left .2s ease;
}

.nav-links li .submenu li a:hover,
.nav-links li .submenu li a.active {
  padding-left: 20px;
  border-left-color: var(--gold);
  background: linear-gradient(90deg, rgba(203,179,118,.1), transparent);
  color: var(--gold-light);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 12px 10px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(203,179,118,.025);
}

.nav-toggle .bar {
  display: block;
  width: 23px;
  height: 1px;
  margin: 5px auto;
  border-radius: 0;
  background: var(--gold-light);
  transition: transform .25s ease, opacity .25s ease;
}

.nav-toggle.active .bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.active .bar:nth-child(2) { opacity: 0; }
.nav-toggle.active .bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.main-header {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: calc(100svh - 78px);
  min-height: 720px;
  max-height: 1040px;
  margin: 0;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #060906;
}

.hero-image {
  position: absolute;
  inset: -7%;
  z-index: -6;
  background: url("../images/tlo26.jpg") center 42% / cover no-repeat;
  filter: saturate(.82) contrast(1.04) brightness(.68);
  transform: translate3d(0, var(--hero-scroll-y, 0px), 0) scale(1.08);
  will-change: transform;
}

/* Panoramiczne monitory — automatyczny wybór szerszego kadru */
@media (min-aspect-ratio: 7/3) {
  .hero-image {
    background-image: url("../images/tlo26-wide.jpg");
  }
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -5;
  background:
    linear-gradient(180deg, rgba(3,6,4,.34) 0%, rgba(3,6,4,.12) 40%, rgba(4,7,5,.96) 100%),
    linear-gradient(90deg, rgba(1,3,2,.72) 0%, rgba(4,7,5,.08) 31%, rgba(4,7,5,.08) 69%, rgba(1,3,2,.72) 100%),
    radial-gradient(circle at 50% 42%, transparent 10%, rgba(1,3,2,.18) 43%, rgba(1,3,2,.68) 100%);
}

.hero-shade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(112deg, transparent 25%, rgba(229,205,142,.065) 44%, transparent 62%);
  transform: translateX(-70%);
  animation: forestLight 14s ease-in-out infinite;
}

.hero-frame {
  position: absolute;
  inset: 26px;
  z-index: 4;
  border: 1px solid rgba(203,179,118,.18);
  pointer-events: none;
}

.hero-frame::before,
.hero-frame::after {
  content: "";
  position: absolute;
  top: 50%;
  width: clamp(55px, 9vw, 150px);
  height: 1px;
  background: linear-gradient(90deg, rgba(203,179,118,.5), transparent);
}

.hero-frame::before { left: 0; }
.hero-frame::after { right: 0; transform: scaleX(-1); }

.hero-corner {
  position: absolute;
  width: 54px;
  height: 54px;
  border-color: rgba(237,218,154,.64);
}

.hero-corner-tl { top: -1px; left: -1px; border-top: 2px solid; border-left: 2px solid; }
.hero-corner-tr { top: -1px; right: -1px; border-top: 2px solid; border-right: 2px solid; }
.hero-corner-bl { bottom: -1px; left: -1px; border-bottom: 2px solid; border-left: 2px solid; }
.hero-corner-br { right: -1px; bottom: -1px; border-right: 2px solid; border-bottom: 2px solid; }

.hero-mist {
  position: absolute;
  left: -20%;
  bottom: -80px;
  z-index: -2;
  width: 140%;
  height: 300px;
  pointer-events: none;
  filter: blur(42px);
  background:
    radial-gradient(ellipse at 22% 62%, rgba(192,202,186,.34), transparent 29%),
    radial-gradient(ellipse at 58% 54%, rgba(149,169,151,.25), transparent 32%),
    radial-gradient(ellipse at 87% 72%, rgba(203,204,185,.22), transparent 26%);
  animation: mistTravel 21s ease-in-out infinite alternate;
}

.hero-mist-two {
  bottom: 75px;
  opacity: .36;
  transform: scaleX(-1);
  animation-duration: 31s;
}

.hero-embers { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }

.hero-ember {
  position: absolute;
  bottom: -12px;
  display: block;
  border-radius: 50%;
  background: #e49a55;
  box-shadow: 0 0 7px rgba(232,133,61,.9), 0 0 18px rgba(187,76,31,.38);
  animation-name: emberRise;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.header-content {
  position: relative;
  z-index: 6;
  width: min(1020px, calc(100% - 58px));
  padding: 70px 24px 78px;
  text-align: center;
}

.hero-sigil {
  position: relative;
  width: 74px;
  height: 74px;
  margin: 0 auto 18px;
  opacity: .86;
  animation: sigilFloat 6s ease-in-out infinite;
}

.hero-sigil::before,
.hero-sigil::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(237,218,154,.62);
  transform: rotate(45deg);
  box-shadow: 0 0 30px rgba(203,179,118,.08);
}

.hero-sigil::after { inset: 21px; border-color: rgba(156,83,47,.74); transform: rotate(-45deg); }

.hero-sigil span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  background: var(--gold-light);
  box-shadow: 0 0 14px rgba(237,218,154,.88), 0 0 36px rgba(203,179,118,.35);
  transform: translate(-50%,-50%) rotate(45deg);
}

.hero-eyebrow {
  margin: 0 0 16px;
  color: rgba(233,225,207,.7);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .58em;
  line-height: 1.5;
  text-transform: uppercase;
  opacity: 0;
  animation: heroReveal .9s ease .15s forwards;
}

.site-title {
  position: relative;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.5rem, 10vw, 9.7rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .76;
  text-transform: uppercase;
  text-shadow: 0 8px 35px rgba(0,0,0,.75);
}

.site-title span { display: block; }

.title-mia {
  color: #f1eadb !important;
  opacity: 0;
  transform: translateY(20px);
  animation: titleReveal 1.15s cubic-bezier(.2,.75,.2,1) .25s forwards;
}

.title-hipnosis {
  margin-top: .14em;
  color: transparent !important;
  -webkit-text-stroke: 1px rgba(237,218,154,.9);
  text-shadow: 0 0 50px rgba(156,83,47,.14);
  opacity: 0;
  transform: translateY(20px);
  animation: titleReveal 1.15s cubic-bezier(.2,.75,.2,1) .45s forwards;
}

.title-official {
  position: absolute;
  right: 6%;
  bottom: -.75rem;
  color: var(--copper) !important;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: clamp(.62rem, 1vw, .88rem);
  font-weight: 700;
  letter-spacing: .52em;
  line-height: 1;
  opacity: 0;
  animation: heroReveal .8s ease 1.05s forwards;
}

.rune-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: min(470px, 80%);
  margin: 36px auto 16px;
  color: rgba(203,179,118,.68);
  font-size: 1rem;
  opacity: 0;
  animation: heroReveal 1s ease .95s forwards;
}

.rune-divider i {
  width: min(180px, 28vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(237,218,154,.55), transparent);
}

.tagline {
  margin: 0;
  color: rgba(233,225,207,.8);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: clamp(.76rem, 1.15vw, .96rem);
  font-weight: 500;
  letter-spacing: .34em;
  text-transform: uppercase;
  opacity: 0;
  animation: heroReveal 1s ease 1.05s forwards;
}

.tagline b { margin: 0 .55em; color: var(--copper); font-weight: 400; }

.header-quote {
  margin: 14px 0 0;
  color: rgba(233,225,207,.62);
  font-size: clamp(.95rem, 1.4vw, 1.12rem);
  letter-spacing: .025em;
  opacity: 0;
  animation: heroReveal 1s ease 1.2s forwards;
}

.header-light {
  display: inline-grid;
  grid-template-columns: 54px auto auto;
  align-items: center;
  gap: 18px;
  min-width: 510px;
  margin: 36px auto 0;
  padding: 13px 15px 13px 17px;
  border: 1px solid rgba(203,179,118,.28);
  border-radius: 2px;
  background: linear-gradient(135deg, rgba(8,13,9,.82), rgba(14,13,9,.58));
  box-shadow: 0 18px 55px rgba(0,0,0,.35), inset 0 1px rgba(255,255,255,.035);
  text-align: left;
  backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(14px);
  animation: titleReveal .9s ease 1.35s forwards;
}

.candle-visual { position: relative; width: 42px; height: 56px; }

.candle-glow {
  position: absolute;
  top: 1px;
  left: 50%;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230,150,71,.28), transparent 70%);
  transform: translateX(-50%);
  animation: candleAura 2.4s ease-in-out infinite alternate;
}

.candle-flame { position: absolute; left: 50%; display: block; border-radius: 62% 38% 58% 42% / 72% 50% 50% 28%; transform: translateX(-50%) rotate(45deg); }
.candle-flame-outer { top: 5px; width: 17px; height: 27px; background: linear-gradient(135deg,#ffe59a 8%,#de853e 52%,#8d2f1c 100%); box-shadow: 0 0 18px rgba(218,117,48,.52); animation: flameDance 1.15s ease-in-out infinite alternate; }
.candle-flame-inner { top: 13px; width: 8px; height: 14px; background: #fff0b3; animation: flameDance .82s ease-in-out infinite alternate-reverse; }
.candle-wick { position: absolute; bottom: 7px; left: 50%; width: 22px; height: 25px; border: 1px solid rgba(203,179,118,.32); border-bottom: 0; background: linear-gradient(90deg,#2a2117,#5b4930 48%,#1b1711); transform: translateX(-50%); }

.candle-copy h2 {
  margin: 0 0 2px;
  color: var(--gold-light);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: .06em;
  text-align: left;
  text-shadow: none;
}

.candle-copy p { margin: 0; color: var(--bone-muted); font-family: "Segoe UI", Arial, sans-serif; font-size: .78rem; line-height: 1.4; }
.candle-copy strong { color: var(--bone); }

#lightBtnHeader {
  min-height: 42px;
  padding: 0 19px;
  border: 1px solid rgba(203,179,118,.48);
  border-radius: 0;
  background: rgba(203,179,118,.08);
  color: var(--gold-light);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
}

#lightBtnHeader:hover { border-color: var(--gold-light); background: rgba(203,179,118,.18); color: #fff5d7; box-shadow: 0 0 24px rgba(203,179,118,.14); }

.hero-scroll {
  position: absolute;
  bottom: 39px;
  left: 50%;
  z-index: 8;
  width: 1px;
  height: 38px;
  overflow: hidden;
  background: rgba(203,179,118,.22);
}

.hero-scroll span { display: block; width: 1px; height: 16px; background: var(--gold-light); animation: scrollPulse 2.1s ease-in-out infinite; }

/* Treść */
.main-content {
  position: relative;
  z-index: 1;
  flex: 1;
  padding: 38px 0 74px;
  background: transparent;
  color: var(--bone);
}

.main-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  z-index: -1;
  width: min(1180px, 88%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(203,179,118,.42), transparent);
  transform: translateX(-50%);
}

.articles-wrapper,
.content-box,
.artist-wrapper {
  position: relative;
  width: min(1180px, calc(100% - 48px));
  max-width: none;
  margin: 58px auto;
  padding: clamp(30px, 4vw, 62px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.018), transparent 38%),
    linear-gradient(180deg, rgba(11,16,12,.94), rgba(6,10,7,.9));
  box-shadow: var(--shadow-deep), inset 0 1px rgba(255,255,255,.026);
  backdrop-filter: blur(8px);
}

.articles-wrapper::before,
.content-box::before,
.artist-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 9%;
  width: 82%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .48;
}

.articles-wrapper > section[style] {
  max-width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: inherit !important;
}

.content-box > section[style] {
  max-width: 100% !important;
  margin: 0 auto 54px !important;
  padding: clamp(26px, 4vw, 48px) !important;
  border: 1px solid var(--line) !important;
  border-radius: 1px !important;
  background: linear-gradient(145deg, rgba(203,179,118,.045), rgba(5,9,6,.72)) !important;
  box-shadow: inset 0 1px rgba(255,255,255,.025), 0 22px 60px rgba(0,0,0,.25) !important;
  color: inherit !important;
}

.playlist-title,
.articles-wrapper [style*="color:#00ff99"],
.articles-wrapper [style*="color: #00ff99"],
.content-box [style*="color:#9dd8b6"],
.content-box [style*="color: #9dd8b6"] {
  color: var(--gold-light) !important;
}

.articles-wrapper h1,
.articles-wrapper h2,
.content-box h1,
.content-box h2,
.artist-wrapper h1,
.artist-wrapper h2,
.section h2,
.about-section h2,
.music-section h2 {
  margin-top: 0;
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.8vw, 3.3rem);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.12;
  text-align: center;
  text-shadow: 0 4px 24px rgba(0,0,0,.45);
}

.articles-wrapper h2::after,
.content-box h2::after,
.section h2::after {
  content: "ᛉ  ·  ᛟ";
  display: block;
  margin-top: 15px;
  color: rgba(203,179,118,.42);
  font-family: Georgia, serif;
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .55em;
}

.articles-wrapper h3,
.content-box h3 { color: var(--gold); font-weight: 400; letter-spacing: .015em; }

.articles-wrapper p,
.content-box p,
.about-content p,
.faq-content p { color: rgba(233,225,207,.76); }

.articles-wrapper strong,
.content-box strong { color: #e5d5aa; }

.section-sep,
hr.section-sep {
  width: min(560px, 78%);
  height: 1px;
  margin: 32px auto;
  border: 0;
  background: linear-gradient(90deg, transparent, rgba(203,179,118,.47), transparent);
}

.section-space { height: 34px; }

/* Karty i multimedia */
.youtube-grid,
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 38px;
}

.yt-item,
.article-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(203,179,118,.18);
  border-radius: 1px;
  background: rgba(5,9,6,.82);
  box-shadow: 0 17px 44px rgba(0,0,0,.36);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .35s ease, box-shadow .35s ease;
}

.yt-item::after,
.article-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid transparent;
  background: linear-gradient(125deg, rgba(237,218,154,.08), transparent 30%) border-box;
  opacity: 0;
  transition: opacity .35s ease;
}

.yt-item:hover,
.article-card:hover { transform: translateY(-7px); border-color: rgba(203,179,118,.48); box-shadow: 0 26px 65px rgba(0,0,0,.5), 0 0 34px rgba(156,83,47,.08); }
.yt-item:hover::after,
.article-card:hover::after { opacity: 1; }

.yt-item a { display: block; color: inherit; text-decoration: none; }
.yt-item img,
.article-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.82) contrast(1.03); transition: transform .55s ease, filter .55s ease; }
.yt-item img { aspect-ratio: 16 / 9; border-radius: 0; }
.yt-item:hover img,
.article-card:hover .article-thumb img { transform: scale(1.045); filter: saturate(1) contrast(1.03); }
.yt-item p { min-height: 74px; margin: 0; padding: 19px 20px; color: var(--bone); font-size: 1rem; line-height: 1.45; }

.article-thumb { height: auto; aspect-ratio: 16 / 10; background: #070a08; }
.article-info { padding: 24px; }
.article-info h3 { margin: 0 0 12px; color: var(--gold-light); font-size: 1.25rem; line-height: 1.35; text-shadow: none; }
.article-info .excerpt { color: rgba(233,225,207,.68); font-size: .95rem; line-height: 1.65; }
.article-footer { padding-top: 8px; border-top: 1px solid var(--line-soft); }
.read-more { color: var(--gold); font-family: "Segoe UI", Arial, sans-serif; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.read-more:hover { color: var(--gold-light); }
.article-reactions { color: var(--copper); }

.see-more-btn,
.support-btn,
.btn-add,
.btn-reset,
button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-bottom: 0;
  padding: 0 25px;
  border: 1px solid rgba(203,179,118,.5);
  border-radius: 0;
  background: linear-gradient(135deg, rgba(203,179,118,.16), rgba(156,83,47,.1));
  color: var(--gold-light);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.see-more-btn:hover,
.support-btn:hover,
.btn-add:hover,
.btn-reset:hover,
button[type="submit"]:hover { border-color: var(--gold-light); background: rgba(203,179,118,.21); color: #fff6dc; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,.34), 0 0 24px rgba(203,179,118,.1); }

/* Formularze i czytelność podstron */
input:not([type="checkbox"]):not([type="radio"]),
textarea,
select {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid rgba(203,179,118,.24);
  border-radius: 0;
  background: rgba(3,7,4,.72);
  color: var(--bone);
  font: inherit;
  transition: border-color .2s ease, box-shadow .2s ease;
}

textarea { min-height: 150px; resize: vertical; }
input:hover, textarea:hover, select:hover,
input:focus, textarea:focus, select:focus { border-color: rgba(203,179,118,.58); box-shadow: 0 0 0 3px rgba(203,179,118,.06); }

.article-content { color: rgba(233,225,207,.82); font-size: 1.05rem; line-height: 1.88; }
.article-content h2, .article-content h3 { color: var(--gold-light); text-align: left; }
.article-full-image { overflow: hidden; border: 1px solid var(--line); border-radius: 1px; box-shadow: 0 24px 65px rgba(0,0,0,.45); }
.article-full-image img { display: block; width: 100%; }
.article-meta { color: var(--bone-muted); font-family: "Segoe UI",Arial,sans-serif; font-size: .82rem; }

.gallery-item,
.gallery-lightbox-content img { border-color: var(--line); border-radius: 1px; background: #070a08; }
.gallery-item:hover { border-color: rgba(203,179,118,.58); box-shadow: 0 20px 55px rgba(0,0,0,.5), 0 0 30px rgba(156,83,47,.1); }
.gallery-header p { color: var(--bone-muted); }

/* Stopka */
.main-footer {
  position: relative;
  padding: 58px 24px 48px;
  border: 0;
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 50% 0, rgba(203,179,118,.06), transparent 28rem),
    #040604;
  color: rgba(233,225,207,.52);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: .82rem;
}

.main-footer::before { top: 0; height: 1px; background: linear-gradient(90deg,transparent,var(--gold),transparent); opacity: .48; }
.footer-inner { width: min(1120px, 100%); max-width: none; margin: 0 auto; text-align: center; }
.footer-inner p { margin: 8px 0; }
.footer-tag { color: var(--gold); font-size: .72rem; letter-spacing: .24em; }
.footer-links a { color: rgba(233,225,207,.62); text-decoration: none; transition: color .2s ease; }
.footer-links a:hover { color: var(--gold-light); }

@keyframes heroBreathe { from { transform: scale(1.02) translate3d(-.5%,0,0); } to { transform: scale(1.1) translate3d(.7%,-.7%,0); } }
@keyframes forestLight { 0%,18% { transform: translateX(-80%); opacity: 0; } 46% { opacity: 1; } 78%,100% { transform: translateX(90%); opacity: 0; } }
@keyframes mistTravel { from { transform: translateX(-4%); } to { transform: translateX(5%); } }
@keyframes emberRise { 0% { transform: translate3d(0,0,0) scale(.45); opacity: 0; } 14% { opacity: .8; } 72% { opacity: .48; } 100% { transform: translate3d(var(--ember-drift),-105vh,0) scale(1.25); opacity: 0; } }
@keyframes sigilFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes heroReveal { from { opacity: 0; } to { opacity: 1; } }
@keyframes titleReveal { from { opacity: 0; transform: translateY(20px); filter: blur(4px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }
@keyframes candleAura { from { opacity: .65; transform: translateX(-50%) scale(.88); } to { opacity: 1; transform: translateX(-50%) scale(1.12); } }
@keyframes flameDance { from { transform: translateX(-50%) rotate(41deg) scale(.94,1.04); } to { transform: translateX(-50%) rotate(48deg) scale(1.04,.94); } }
@keyframes scrollPulse { 0% { transform: translateY(-18px); opacity: 0; } 35% { opacity: 1; } 100% { transform: translateY(42px); opacity: 0; } }

@media (max-width: 1220px) {
  .nav-container { width: min(100% - 32px, 1180px); }
  .nav-links { gap: 15px; }
  .nav-links > li > a, .submenu-toggle { font-size: .66rem; letter-spacing: .07em; }
  .main-nav .logo a { font-size: .98rem; }
  .main-nav .logo a::before { width: 22px; height: 22px; margin-right: 5px; }
}

@media (max-width: 980px) {
  .nav-container { min-height: 70px; }
  .nav-toggle { display: block; flex: 0 0 auto; }
  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    left: 0;
    display: block;
    max-height: calc(100svh - 70px);
    padding: 10px 24px 28px;
    overflow-y: auto;
    visibility: hidden;
    border-bottom: 1px solid var(--line);
    background: rgba(5,8,6,.98);
    box-shadow: 0 35px 70px rgba(0,0,0,.62);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
  }
  .nav-links.open { visibility: visible; opacity: 1; transform: translateY(0); }
  .nav-links > li > a, .submenu-toggle { width: 100%; min-height: 49px; justify-content: space-between; border-bottom: 1px solid rgba(203,179,118,.08); font-size: .76rem; }
  .nav-links > li > a::after, .submenu-toggle::after { display: none; }
  .nav-links li .submenu {
    position: static;
    display: none;
    min-width: 0;
    padding: 3px 0 9px 15px;
    visibility: visible;
    border: 0;
    border-left: 1px solid var(--line);
    background: transparent;
    box-shadow: none;
    opacity: 1;
    transform: none;
    backdrop-filter: none;
  }
  .nav-links li.has-submenu:hover > .submenu,
  .nav-links li.has-submenu:focus-within > .submenu { display: none; }
  .nav-links li.has-submenu.submenu-open > .submenu { display: block; transform: none; }
  .main-header { height: calc(100svh - 70px); min-height: 680px; }
  .youtube-grid, .articles-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 680px) {
  .nav-container { width: calc(100% - 26px); }
  .main-nav .logo a { font-size: .88rem; letter-spacing: .1em; }
  .main-nav .logo a::before { width: 18px; height: 18px; }
  .main-header { min-height: 690px; max-height: none; }
  .hero-frame { inset: 12px; }
  .hero-corner { width: 34px; height: 34px; }
  .header-content { width: calc(100% - 24px); padding: 52px 18px 74px; }
  .hero-sigil { width: 58px; height: 58px; margin-bottom: 15px; }
  .hero-sigil::before { inset: 7px; }
  .hero-sigil::after { inset: 17px; }
  .hero-eyebrow { font-size: .62rem; letter-spacing: .4em; }
  .site-title { font-size: clamp(3.8rem, 20vw, 6.2rem); }
  .title-official { right: 2%; bottom: -.9rem; letter-spacing: .35em; }
  .rune-divider { width: 92%; margin-top: 34px; gap: 10px; }
  .tagline { font-size: .65rem; letter-spacing: .2em; }
  .tagline b { margin: 0 .25em; }
  .header-quote { font-size: .92rem; }
  .header-light { grid-template-columns: 45px 1fr; min-width: 0; width: min(390px,100%); gap: 12px; padding: 13px; }
  .candle-copy h2 { font-size: .92rem; }
  #lightBtnHeader { grid-column: 1 / -1; width: 100%; }
  .hero-scroll { bottom: 24px; }
  .main-content { padding-top: 20px; }
  .articles-wrapper, .content-box, .artist-wrapper { width: calc(100% - 24px); margin: 34px auto; padding: 30px 19px; }
  .articles-wrapper h1, .articles-wrapper h2, .content-box h1, .content-box h2 { font-size: 2rem; }
  .youtube-grid, .articles-grid { grid-template-columns: 1fr; gap: 18px; }
  .gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-image { transform: translate3d(0, var(--hero-scroll-y, 0px), 0) scale(1.08); }
  .hero-embers { display: none; }
}

/* =========================================================
   STAŁE TŁO WSZYSTKICH PODSTRON
========================================================= */

.site-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #040604;
}

.site-backdrop-image {
  position: absolute;
  inset: -6%;
  background: url("../images/tlostrona.jpg") center center / cover no-repeat fixed;
  filter: saturate(.72) contrast(1.08) brightness(.56);
  transform: scale(1.035);
  animation: pageBackgroundBreathe 26s ease-in-out infinite alternate;
  will-change: transform;
}

.site-backdrop-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(2,5,3,.76), rgba(4,8,5,.65) 38%, rgba(2,5,3,.82)),
    linear-gradient(90deg, rgba(0,0,0,.58), rgba(0,0,0,.18) 30%, rgba(0,0,0,.18) 70%, rgba(0,0,0,.58)),
    radial-gradient(circle at 50% 34%, transparent 0, rgba(0,0,0,.18) 42%, rgba(0,0,0,.62) 100%);
}

.site-backdrop-light {
  position: absolute;
  inset: -20%;
  opacity: .38;
  background:
    radial-gradient(ellipse at 24% 28%, rgba(173,151,91,.16), transparent 27%),
    radial-gradient(ellipse at 78% 68%, rgba(117,61,34,.14), transparent 25%);
  animation: pageLightDrift 18s ease-in-out infinite alternate;
}

.site-backdrop-mist {
  position: absolute;
  left: -25%;
  bottom: -12%;
  width: 150%;
  height: 38vh;
  opacity: .16;
  filter: blur(52px);
  background:
    radial-gradient(ellipse at 17% 58%, rgba(205,214,203,.52), transparent 24%),
    radial-gradient(ellipse at 52% 48%, rgba(154,178,158,.4), transparent 27%),
    radial-gradient(ellipse at 84% 66%, rgba(215,213,193,.38), transparent 22%);
  animation: pageMistDrift 24s ease-in-out infinite alternate;
}

.site-backdrop-mist-two {
  bottom: 21%;
  opacity: .07;
  transform: scaleX(-1);
  animation-duration: 34s;
  animation-direction: alternate-reverse;
}

.site-backdrop-embers {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: .46;
}

.site-backdrop-embers .hero-ember {
  background: #d1844d;
  box-shadow: 0 0 7px rgba(215,123,64,.72), 0 0 18px rgba(156,70,35,.28);
}

.main-nav,
.main-header,
.main-content,
.main-footer {
  position: relative;
}

.main-nav { z-index: 5000; }
.main-header { z-index: 2; }
.main-content { z-index: 1; background: transparent; }
.main-footer { z-index: 1; }

.articles-wrapper,
.content-box,
.artist-wrapper {
  background:
    linear-gradient(145deg, rgba(255,255,255,.018), transparent 38%),
    linear-gradient(180deg, rgba(7,11,8,.94), rgba(4,8,5,.92));
  backdrop-filter: blur(12px) saturate(90%);
  -webkit-backdrop-filter: blur(12px) saturate(90%);
}

@keyframes pageBackgroundBreathe {
  from { transform: scale(1.035) translate3d(-.35%, -.2%, 0); }
  to { transform: scale(1.105) translate3d(.5%, .45%, 0); }
}

@keyframes pageLightDrift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); opacity: .26; }
  to { transform: translate3d(3%, 2%, 0) scale(1.08); opacity: .46; }
}

@keyframes pageMistDrift {
  from { transform: translate3d(-4%, 0, 0); }
  to { transform: translate3d(5%, -5%, 0); }
}

@media (max-width: 680px) {
  .site-backdrop-image { inset: -9%; background-position: center center; }
  .site-backdrop-shade {
    background:
      linear-gradient(180deg, rgba(2,5,3,.8), rgba(3,7,4,.7) 42%, rgba(2,5,3,.86)),
      radial-gradient(circle at center, rgba(0,0,0,.12), rgba(0,0,0,.66));
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-backdrop-image { transform: scale(1.04); }
  .site-backdrop-embers { display: none; }
}
