html, body {
    height: 100%;
    margin: 0;
    background-color: #121212;
    color: #ddd;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
      Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    scroll-behavior: smooth;
  }

.logo {
  height: 250px;
  opacity: 0.6;
  animation: breathing-logo 5.4s ease-in-out infinite;
  margin-bottom: 1rem;
  margin-top: -80px;
}


.gradient-line1 {
max-width: 600px;
width: 100%;
height: 2px;
margin: 5px auto 15px auto;
background: linear-gradient(to right, transparent, #b8a394, transparent);
border-radius: 1px;
display: block;
}

@keyframes breathing-logo {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

#home h2 {
font-size: clamp(2rem, 4vw, 2.5rem);
font-weight: 800;
margin-bottom: 0.75rem;
text-align: center;
background: -webkit-linear-gradient(#d59b59, #cdc7b3 100%, rgba(112, 74, 52, 0.76));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
text-fill-color: transparent;

display: inline-block; 
transform: skew(-10deg);


}
#home h3 {
  font-weight: 500;
  margin-bottom: 1rem;
  text-align: center;
  background: -webkit-linear-gradient(#d59b59, #cdc7b3 100%, rgba(112, 74, 52, 0.76));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
text-fill-color: transparent;
margin-bottom: 0.75rem;
}
  
  #home {
    position: relative;
    height: 100vh;
    background:
      linear-gradient(to bottom, rgba(0,0,0,0) 60%, rgba(18,18,18,1) 100%),
      url('/img/raw.png') center center/cover no-repeat;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    -webkit-mask-image: linear-gradient(to bottom,
      black 0%,
      black 60%,
      rgba(0,0,0,0.9) 70%,
      rgba(0,0,0,0.6) 80%,
      rgba(0,0,0,0.3) 90%,
      rgba(0,0,0,0.1) 95%,
      rgba(0,0,0,0.05) 98%,
      transparent 100%);
    mask-image: linear-gradient(to bottom,
      black 0%,
      black 60%,
      rgba(0,0,0,0.9) 70%,
      rgba(0,0,0,0.6) 80%,
      rgba(0,0,0,0.3) 90%,
      rgba(0,0,0,0.1) 95%,
      rgba(0,0,0,0.05) 98%,
      transparent 100%);
  }
  #home .section-bg-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
    pointer-events: none;
  }
  #home .container {
    position: relative;
    z-index: 2;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }

#section-nav {
  position: fixed;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 9999;
  user-select: none;
}

#section-nav button {
  position: relative;
  background-color: #bbb; 
  border: none;
  cursor: pointer;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  padding: 0;
  margin: 0;
  transition: background-color 0.3s ease;
}

#section-nav button.active {
  background-color: #bbb;
  box-shadow: 0 0 0 6px rgba(187, 187, 187, 0.3);
}

#section-nav button:hover {
  background-color: #999;
}

#section-nav button .desc {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(30, 30, 30, 0.95);
  color: #ddd;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  box-shadow: 0 0 8px rgba(0,0,0,0.8);
  user-select: text;
  max-width: 280px;
  z-index: 10;
}

#section-nav button:hover .desc {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 768px) {
  #section-nav {
    display: none;
  }
}
@keyframes moveUpDown {
      0%, 100% {
        transform: translateY(0);
      }
      50% {
        transform: translateY(6px);
      }
    }

    .btn-discover1 {
      cursor: pointer;
      font-size: 1rem;
      border: none;
      color: #fff;
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      user-select: none;
    }

    .btn-discover1::after {
      content: "↓";
      display: inline-block;
      animation: moveUpDown 1.5s ease-in-out infinite;
      font-size: 1.2rem;
    }
.faq-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.faq-item.visible {
  opacity: 1;
  transform: translateY(0);
}

  #features {
    background-color: #121212;
    color: #ddd;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding: 4rem 15px;
    max-width: 1200px;
    margin: 0 auto;
  }
  .card-discover {
    background-color: rgba(91, 87, 87, 0.03);
    border-radius: 1.5rem;
    width: 100%;
    display: flex;
    align-items: flex-start;
    padding: 2rem 3rem;
    gap: 2rem;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    flex-wrap: nowrap;
    overflow: visible;
    flex-wrap: wrap;
    position: relative;
    align-items: center;

}
  .card-discover.visible {
    opacity: 1;
    transform: translateY(0);
  }
  #card1, #card3, #card7, #card9, #card11 {
    flex-direction: row-reverse;
    text-align: right;
  }
  #card2 {
    flex-direction: row;
    text-align: left;
  }
  .card-left {
    flex: 0 0 56%;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1rem;
    position: relative;

}

@media (min-width: 800px) and (max-width: 1200.98px) {
  .card-left {
    flex: 0 0 46%;
  }
}

  .card-number {
    font-size: clamp(3.5rem, 6vw, 5rem);
    font-weight: 900;
background: -webkit-linear-gradient(#d59b59, #cdc7b3 100%, rgba(112, 74, 52, 0.76));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
text-fill-color: transparent;
margin-bottom: 0.75rem;
  }
  .card-text-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .card-title {
    font-size: clamp(1.7rem, 4vw, 1.7rem);
    font-weight: 900;
background: -webkit-linear-gradient(#d59b59, #cdc7b3 100%, rgba(112, 74, 52, 0.76));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
text-fill-color: transparent;
margin-bottom: 0.75rem;
        text-align: left;


}
  .card-description {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    line-height: 1.5;
    color: #868686;
        text-align: left;

    max-width: 100%;
  }
  .expand-container {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    width: 100%;
  }

  #card5 {
    flex-direction: row-reverse;
    text-align: right;
  }

  #card5 .expand-container {
    align-items: flex-end;
  }

  
  #card1 .expand-container,
  #card3 .expand-container {
    align-items: flex-end;
  }
  .btn-discover {
    background-color: #cdb48399;
    color: #1b1b1b;
    font-weight: 600;
    width: fit-content;
    padding: 0.75rem 2rem;
    border-radius: 2rem;
    border: none;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease;
    text-decoration: none;
    font-size: clamp(1rem, 2.5vw, 1rem);
  }
    .btn-discover1 {
    background-color: #fcd27fff;
    color: #1b1b1b;
    font-weight: 600;
    width: fit-content;
    padding: 0.75rem 2rem;
    border-radius: 2rem;
    border: none;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease;
    text-decoration: none;
    font-size: clamp(1rem, 2.5vw, 1rem);
  }
 .btn-discover:hover {
      transition: 1s;
    background-color: #eec87d99;
  }
   .btn-discover1:hover {
      transition: 1s;
    background-color: #eec87d99;
  }
  .card-image-wrapper {
    flex-shrink: 0;
    width: clamp(440px, 20vw, 350px);
    height: clamp(330px, 20vw, 320px);
    border-radius: 0.67rem;
    overflow: hidden;
    box-shadow: 0 0 25px rgba(255,255,255,0.15);
    background: #333;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

}
  .card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: filter 0.5s ease;
  }

  #card3.closed .card-text-content,
  #card3.closed .expand-container {
    display: none;
  }
  #card3.closed .countdown-timer {
    display: block;
    font-family: monospace;
    font-weight: 700;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: rgba(196, 196, 196, 1);
    user-select: none;
    margin-top: 1.2rem;
  }
  .countdown-timer {
    font-family: monospace;
    font-weight: 700;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: rgba(196, 196, 196, 1);
    user-select: none;
    margin-top: 1.2rem;
  }
  #card1.visible, #card2.visible, #card3.visible {
    opacity: 1;
    transform: translateY(0);
  }
.expanded-text {
  color: #bbb;
  font-size: clamp(0.9rem, 2vw, 1rem);
  line-height: 1.4;
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease, padding-top 0.3s ease, padding-bottom 0.3s ease;
  width: 100%;
  text-align: left;
  margin-top: 1rem;
  margin-bottom: 2rem; 
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 0 1rem 0 0;
  box-sizing: border-box;
  border-radius: 0 0 1.5rem 1.5rem;
  order: 99;
}

  @media (max-width: 992px) {
    #features {
      padding: 2rem 2rem;
    }
    .card-discover {
      flex-direction: column !important;
      padding: 1.5rem 1.5rem;
      min-height: auto;
      max-width: 100%;
      gap: 1.5rem;
    }
    .card-image-wrapper {
      width: 100%;
      height: 200px;
      border-radius: 1rem;
      margin: 0 !important;
    }
    #card1, #card2, #card3 {
      text-align: center !important;
      flex-direction: column !important;
    }
    .card-left {
      flex: 1 1 auto !important;
      min-width: auto !important;
    }
    .expand-container {
      align-items: center !important;
    }
  }


  @keyframes breathing-logo {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

 #scrollToTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    border-radius: 20%;
    border: medium;
    background-color: rgba(102, 102, 102, 0.1);
    color: rgba(255, 255, 255, 0.31);
    font-size: 24px;
    cursor: pointer;
    display: block;
    z-index: 10000;
    transition: background-color 0.3s ease, color 0.3s ease;

}

#scrollToTopBtn:hover {
    background-color: rgba(102, 102, 102, 0.22);
    color: rgba(167, 161, 161, 0.51);

}

.gradient-line {
  max-width: 300px;
  width: 100%;
  height: 2px;
  margin: 5px auto 15px auto;
  background: linear-gradient(to right, transparent, #ccc, transparent);
  border-radius: 1px;
  display: block;
}

#stats-info {
  max-width: 1200px;
  margin: 4rem auto 2rem auto;
  padding: 3rem 15px;
  color: #ccc;
  border-radius: 1.5rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


#stats-info h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  text-align: center;
  background: -webkit-linear-gradient(#d59b59, #cdc7b3 100%, rgba(112, 74, 52, 0.76));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
text-fill-color: transparent;
margin-bottom: 0.75rem;
}

#stats-info .info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 2rem;
  margin-top: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

#stats-info.visible .info-grid {
  opacity: 1;
  transform: translateY(0);
}

#stats-info .info-box {
  background: rgba(59, 59, 59, 0.22);
  border-radius: 1rem;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

#stats-info .info-box h3 {
font-size: 1.6rem;
background: -webkit-linear-gradient(#d59b59, #cdc7b3 100%, rgba(112, 74, 52, 0.76));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
text-fill-color: transparent;
margin-bottom: 0.75rem;
}

#stats-info .info-box p {
  font-size: 1.1rem;
  color: #bbb;
  line-height: 1.4;
}

#stats-info .info-box .stat-value {
  color: #ddd;
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;
}

#stats-info .info-box {
  transition: transform 0.3s ease;
  outline: none;
}

#stats-info .info-box:hover {
  transform: scale(1.05);
}


@media (max-width: 600px) {
  #stats-info {
    padding: 2rem 10px;
  }
  #stats-info .info-grid {
    grid-template-columns: 1fr;
  }
}

#faq {
    max-width: 1200px;
    margin: 4rem auto 2rem auto;
    padding: 1rem 15px;
    color: #ccc;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

}
  #faq h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    text-align: center;
    background: -webkit-linear-gradient(#d59b59, #cdc7b3 100%, rgba(112, 74, 52, 0.76));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    margin-bottom: 0.75rem;

}

  #video h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    text-align: center;
    background: -webkit-linear-gradient(#d59b59, #cdc7b3 100%, rgba(112, 74, 52, 0.76));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    margin-bottom: 0.75rem;

}
  .faq-container {
    max-width: 900px;
    margin: 0 auto;
  }
  .faq-item {
    background: rgba(59,59,59,0.22);
    border-radius: 1rem;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 0 8px rgba(0,0,0,0.5);
  }
  .faq-question {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ddd;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    outline: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
  }
  .faq-question:hover,
  .faq-question:focus {
    background-color: rgba(255, 255, 255, 0.05);
  }
  .faq-icon {
    transition: transform 0.3s ease;
    font-size: 1.2rem;
    user-select: none;
  }
  .faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    font-size: clamp(1.1rem, 1.4vw, 1.2rem);
    line-height: 1.2;
    color: #868686;
    line-height: 1.2;
    transition: max-height 0.4s ease, padding 0.4s ease;
  }
  .faq-answer.expanded {
    padding-top: 1rem;
    padding-bottom: 1rem;
    max-height: 1000px;
  }
  @media (max-width: 992px) {
  #card3.closed {
    flex-direction: column !important;
    text-align: center !important;
    align-items: center !important; 
  }
  #card3.closed .card-left {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    min-width: auto !important;
    flex: unset !important;
  }
  #card3.closed .card-image-wrapper {
    width: 100% !important;
    height: 200px !important;
    margin: 0 !important;
    border-radius: 1rem !important;
  }
}
  .fade-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }
  .fade-item.visible {
    opacity: 1;
    transform: translateY(0);
  }
.vertical-text {
font-size: 0.3em;
writing-mode: vertical-rl;
line-height: 1;
vertical-align: middle;
margin: 0;
padding: 0;
display: inline-block;
width: 1em;
opacity: 0.3;

}
/* --- R A M K A  (uniwersalna, jak karty features) --- */
.ramka {
    width: 99%;
    max-width: 1200px;
    margin: 0 auto 2rem auto;
    border-radius: 1.5rem;
    padding: 2rem 3rem;
    color: #e5e7eb;
    font-family: system-ui, sans-serif;
    /* box-shadow: 0 0 8px rgba(0, 0, 0, 0.4); */

}

/* nagłówek w ramce jak tytuły kart */
.ramka > strong,
.ramka h4 {
  display: block;
  font-size: clamp(1.1rem, 2.5vw, 1.25rem);
  margin: 0 0 0.5rem 0;
  font-weight: 700;
  background: -webkit-linear-gradient(#d59b59, #cdc7b3 100%, rgba(112, 74, 52, 0.76));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* paragrafy w ramce */
.ramka p {
  margin: 0.5rem 0 0 0;
  line-height: 1.55;
  color: #bbb;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
}

/* mobile – jak karty features */
@media (max-width: 992px) {
  .ramka {
    padding: 1.5rem 1.5rem;
    border-radius: 1rem;
    margin: 0 auto 1.5rem auto;
  }
}

.site-footer {
  background: rgba(13, 11, 11, 0.02);
  color: #fff;
  margin-top: 3rem;
  position: relative;
}

.site-footer .footer-gradient {
    height: 1px;
    background: rgba(179, 179, 179, 0.04);
    margin-bottom: 1rem;

}

.site-footer .social-links {
  display: flex;
  justify-content: center;
  gap: 25px;
}

.site-footer .social-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;   /* szersze */
  height: 70px;   /* wyższe */
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  font-size: 2.2rem;
  color: #fff;
  transition: all 0.3s ease;
  text-decoration: none;   /* usuwa białe kreski */
}

.site-footer .social-tile:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-5px);
}

.site-footer .social-tile .fa-facebook-f { color: #1877F2; }
.site-footer .social-tile .fa-discord { color: #5865F2; }
.site-footer .social-tile .fa-youtube { color: #FF0000; }




.site-footer p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 10px;
  letter-spacing: 0.5px;
  font-weight: 400;
}
/* Fajny, subtelny fade-in dla .ramka */
.ramka {
  opacity: 0;
  transform: translateY(12px);
  filter: blur(2px);
  transition: opacity .6s ease, transform .6s ease, filter .6s ease;
}

/* Po dodaniu .visible element płynnie się pojawi */
.ramka.visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* Dla osób z redukcją animacji — od razu pokaż */
@media (prefers-reduced-motion: reduce) {
  .ramka { transition: none; }
}


  .video-gallery {
    display: flex; flex-wrap: wrap; justify-content: space-around;
    margin: 20px auto;
  }
  .video-item { width: 450px; margin: 10px; }
  .video-item.featured { width: 550px; }

  /* Kafelek 16:9 */
  .thumb-wrap {
    position: relative; width: 100%;
    aspect-ratio: 16 / 9; overflow: hidden; border-radius: 15px;
    cursor: pointer;
  }
  .thumb-wrap img, .thumb-wrap iframe {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; border: 0; display: block;
  }
  .thumb-wrap img { transition: transform .3s ease; }
  .thumb-wrap:hover img { transform: scale(1.05); }

  /* Przycisk play */
  .play-btn {
    position: absolute; inset: 0; display: grid; place-items: center;
    pointer-events: none;
    background: linear-gradient(transparent, rgba(0,0,0,.25));
  }
  .play-btn::before{
    content:""; width: 64px; height: 64px; border-radius: 50%;
    background: rgba(0,0,0,.45);
    box-shadow: 0 8px 24px rgba(0,0,0,.35);
  }
  .play-btn::after{
    content:""; position: absolute; width: 0; height: 0;
    border-left: 18px solid white; border-top: 12px solid transparent; border-bottom: 12px solid transparent;
    margin-left: 6px;
  }

  /* Mobile */
  @media (max-width: 600px){
    .video-item, .video-item.featured { width: 100%; }
  }


    .h2_new {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  text-align: center;
  background: -webkit-linear-gradient(#d59b59, #cdc7b3 100%, rgba(112, 74, 52, 0.76));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
text-fill-color: transparent;
margin-bottom: 0.75rem;
  }


#video h2,
#video .video-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}

#video h2.visible,
#video .video-item.visible {
  opacity: 1;
  transform: translateY(0);
}

#video .video-item:nth-child(1) { transition-delay: .05s; }
#video .video-item:nth-child(2) { transition-delay: .10s; }
#video .video-item:nth-child(3) { transition-delay: .15s; }
