html, body { height: 100%; margin: 0; padding: 0; box-sizing: border-box;}


.header-scale{
  transform-origin: top center;
  will-change: transform;
  margin-inline: auto;
}

.page-zoom{
  position: relative;
  overflow: hidden;
  height: var(--pageH, auto);
  background: #111;           /* ⬅︎ maska pod ewentualny ułamek piksela */
}

.page-zoom-inner{
  position: absolute;
  top: 0;
  left: 0;           /* było left:50% */
  right: 0;
  transform-origin: top left;  /* było: top center */
  backface-visibility: hidden; /* anty-seam */
  will-change: transform;
}



body {
  font-family: 'Rajdhani', sans-serif;
  line-height: 1.6;
  color: #111;
  background-color: #fff;
}


html {
  scroll-behavior: smooth;
  scroll-padding-top: 40px;
}

strong {
  font-weight: 700;
  color: #c00;
}

.strong-2{
  font-weight: 600;
}

em {
  font-style: italic;
  color: #555;
}
#about,
#gallery,
#footer {
  scroll-margin-top: 40px;
}

/* Info bar */
.dev-banner {
  background: rgba(0, 0, 0, 0.8);
  color: white;
  text-align: center;
  padding: 10px;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

/* Domyślnie (na górze strony) */
.top-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1100;
  background: rgba(0, 0, 0, 0.0); /* przezroczyste */
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.top-header .header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
}

.top-header a {
  color: #fff;
  text-decoration: none;
}

/* Po przewinięciu (dodana klasa .scrolled) */
.top-header.scrolled {
  background-color: #111;
  padding: 10px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}




.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.producer-logo img {
  height: 50px;
  width: auto;
  display: block;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

.main-nav a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.3s;
}

.main-nav a:hover {
  color: #c00;
}
.main-nav a i {
  margin-right: 2px;
  font-size: 0.9rem;
  vertical-align: middle;
}

/* Hamburger button */
.hamburger {
  display: none;
}
.main-nav {
  display: block;
}

.hamburger:focus {
  outline: none;
}

.bar {
  width: 100%;
  height: 3px;
  background-color: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Banner */
.banner {
  background: url('img/banner.webp') no-repeat center center/cover;
  height: 55vh;
  padding: 40px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  position: relative;
  text-align: center;
}
.banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}
.banner-content {
  position: relative;
  z-index: 1;
}
.logo-wrapper {
  background: rgba(255, 255, 255, 0.9);
  padding: 10px 25px;
  display: inline-block;
  margin-bottom: 20px;
  transform: skew(-15deg);
  border-radius: 0;
  max-width: 500px;
  box-sizing: border-box;
}

.logo-wrapper img {
  display: block;
  transform: skew(15deg);
  max-width: 100%;
  height: auto;
}
.logo {
  max-width: 500px;
}

/* Slogan + Button */
.slogan {
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.steam-button {
  padding: 14px 30px;
  background-color: #c00;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.3rem;
  border-radius: 6px;
  transition: background 0.3s;
}
.steam-button:hover {
  background-color: #900;
}
.ps5-button {
  padding: 14px 30px;
  background-color: #003087;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.3rem;
  border-radius: 6px;
  transition: background 0.3s;
}
.ps5-button:hover {
  background-color: #001f4d;
}
.btn-group {
  display: inline-flex;
  gap: 15px;
  margin-top: 10px;
}
.steam-button i,
.ps5-button i {
  font-size: 1.4rem;
  vertical-align: middle;
}

/* Curb Transition */
.curb-transition {
  height: 20px;
  width: 100%;
  background-image: repeating-linear-gradient(
    -45deg,
    #c00 0 60px,
    #fff 60px 120px
  );
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
}

/* Modes Section */
.modes-section {
  width: 100%;
  margin: 0;
  padding: 40px 0;
  background: linear-gradient(135deg, #b0bdc7 0%, #ffffff 100%);
  position: relative;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.modes-section > .container {
  position: relative;
  z-index: 1;
  max-width: 1250px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 0 10px;
}
.mode-card {
  background-color: #fafafa;
  color: #222;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.mode-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(204, 0, 0, 0.3);
}
.mode-icon i {
  font-size: 3rem;
  margin-bottom: 15px;
  color: #c00;
}
.mode-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #900;
  font-weight: 700;
}
.mode-card p {
  font-size: 1.2rem;
  color: #444;
  font-weight: 500;
  line-height: 1.5;
}
.mode-card ul {
  list-style: none;
  padding-left: 0;
}

.mode-card ul li {
  position: relative;
  margin-bottom: 8px;
  font-size: 1.1rem;
  background-color: #f5f5f5;
  padding: 8px 12px 8px 36px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  transition: background-color 0.3s;
  cursor: default;
}

/* FontAwesome "bullet" */
.mode-card ul li::before {
  content: "\f192";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #c00;
  font-size: 14px;
}

.mode-card ul li:hover {
  background-color: #e0e0e0;
}
/* About Section with background */
.about-section {
  position: relative;
  background-color: #f1f1f1;
  padding: 60px 20px;
  overflow: hidden;
}
.about-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('img/bg_a.webp') center center/cover no-repeat;
  opacity: 0.75;
  z-index: 0;
}
.about-box {
  position: relative; 
  background-color: rgba(250, 250, 250, 0.9);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
  padding: 30px 25px;
  max-width: 1200px;
  margin: 0 auto 40px;
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
  z-index: 1;
}

.about-image {
  flex: 1 1 400px;
  overflow: hidden;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.about-text {
  flex: 1 1 600px;
  color: #222;
}
.about-text h2 {
  background-color: #c00;
  color: white;
  padding: 10px 25px;
  display: inline-block;
  margin-bottom: 20px;

  /* Pochylenie całego boxa */
  transform: skew(-15deg);
  /* Brak zaokrągleń */
  border-radius: 0;
}

/* Tekst prosty, bez pochyleń */
.about-text h2 span {
  display: inline-block;
  transform: skew(15deg);
}
.about-text p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.extra-text {
  position: relative; 
  background-color: #c00;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  padding: 30px 25px;
  max-width: 1200px;
  margin: 0 auto 40px;
  color: #fff;
  font-size: 1.1rem;
  line-height: 1.6;
  font-weight: 600;
}

.extra-text p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.extra-text p i {
  color: #fff;
  font-size: 3rem;
  flex-shrink: 0;
  margin-right: 20px;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1250px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.feature-card {
  background-color: #fafafa;
  color: #222;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(204, 0, 0, 0.3);
}
.feature-icon i {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #c00;
}
.feature-card h3 {
  font-size: 1.3rem;
  color: #900;
  margin-bottom: 10px;
  font-weight: 700;
}
.feature-card p {
  font-size: 1.1rem;
  color: #444;
  font-weight: 500;
}

/* Gallery with background */
.gallery {
  position: relative;
  background-color: #1a1a1a;
  padding: 40px 20px;
  overflow: hidden;
}
.gallery::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('img/bg_b.webp') center center/cover no-repeat;
  opacity: 0.1;
  z-index: 0;
}
.gallery-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1250px;
  margin: 0 auto;
}
.gallery img {
  width: 100%;
  height: auto;
  border: 2px solid #333;
  border-radius: 6px;
  transition: transform 0.3s, filter 0.3s;
  will-change: transform, filter;
  backface-visibility: hidden;
}
.gallery img:hover {
  transform: scale(1.02);
  filter: brightness(1.1);
}
.gallery-title {
  background-color: #c00;
  color: white;
  padding: 10px 25px;
  border-radius: 0;
  display: block;
  margin-bottom: 20px;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transform: skew(-15deg);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align:center;
}

.gallery-title span {
  display: inline-block;
  transform: skew(15deg);
}


.mode-title {
  background-color: #c00;
  color: white;
  padding: 10px 25px;
  border-radius: 0;
  display: block;
  margin-bottom: 20px;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transform: skew(-15deg);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align:center;
}

.mode-title span {
  display: inline-block;
  transform: skew(15deg);
}

.features-title {
  background-color: #c00;
  color: white;
  padding: 10px 25px;
  border-radius: 0;
  display: block;
  margin-bottom: 20px;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transform: skew(-15deg);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align:center;
}

.features-title span {
  display: inline-block;
  transform: skew(15deg);
}


.lightbox,
.lightbox * {
  user-select: none;
}

.lightbox-img {
  -webkit-user-drag: none;
  user-drag: none;
}


.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background-color: rgba(0,0,0,0.9);
  z-index: 1500;
  animation: fadeIn 0.3s ease-in-out;
}
.lightbox.active { display: flex; }

.lightbox-img {
  position: absolute;
  inset: 0;
  margin: auto;
  max-width: 90%;
  max-height: 80%;
  object-fit: contain;
  border: 3px solid #333;
  transition: transform .28s ease;
  pointer-events: none;
}


.lightbox-img.current { z-index: 1501; }

.lightbox-img.ghost {
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transition: transform .28s ease, opacity .28s ease, visibility 0s linear .28s;
}


.lightbox.dragging .lightbox-img { transition: none; }
.lightbox.dragging .lightbox-img.ghost {
  opacity: 1;
  visibility: visible;
  transition: transform 0s, opacity .12s ease, visibility 0s;
}


.lightbox.animating .lightbox-img.ghost {
  opacity: 1;
  visibility: visible;
  transition: transform .28s ease, opacity .28s ease, visibility 0s;
}

/* UI */
.lightbox .close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  font-weight: bold;
  z-index: 1601;
}
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  background: rgba(0,0,0,0.6);
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 1600;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-counter {
  position: absolute;
  bottom: 30px;
  font-size: 1rem;
  color: white;
  background: rgba(0,0,0,0.6);
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 600;
  z-index: 1600;
}



/* Fade-in animation */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Footer */
.footer {
  background-color: #111;
  color: white;
  padding: 20px 10px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  text-align: center;
}

.footer-left, .footer-center, .footer-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-left p {
  margin: 0;
  font-size: 1rem;
}

.footer-link {
  color: #c00;
  text-decoration: none;
  font-weight: 600;
}

.footer-link:hover {
  text-decoration: underline;
}

.footer-contact {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s;
}

.footer-contact:hover {
  color: #c00;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.social-icon i {
  font-size: 24px;
  color: white;
  transition: color 0.3s;
}
.social-icon:hover i {
  color: #c00;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0,0,0,0.85);
  color: white;
  padding: 15px 20px;
  display: none;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  z-index: 10000;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-banner.show {
  display: flex;
}




/* privacy-policy v3 */
#privacy-policy {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.9);
  color: white;
  display: none;
  justify-content: center;
  align-items: flex-start;
  padding-top: calc(100px + env(safe-area-inset-top));
  padding-bottom: 60px;
  z-index: 10000;
  overflow: hidden;
}


#privacy-policy.show {
  display: flex;
}

#privacy-policy .privacy-inner {
  position: relative;
  max-width: 800px;
  max-height: 40vh; /* scroll tylko wewnątrz okna */
  overflow-y: auto;
  background: rgb(20, 20, 20);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
  line-height: 1.6;
}

#privacy-policy .close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: #c00;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 6px 8px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
  line-height: 1;
  z-index: 10;
}

#privacy-policy .close-btn:hover {
  background-color: #900;
}







/* Styl scrollbar dla Privacy Policy */
#privacy-policy .privacy-inner::-webkit-scrollbar {
  width: 16px;              /* szerokość paska */
}

#privacy-policy .privacy-inner::-webkit-scrollbar-track {
  background: #111;          /* tło toru */
  border-radius: 8px;
}

#privacy-policy .privacy-inner::-webkit-scrollbar-thumb {
  background: #444;          /* kolor suwaka */
  border-radius: 8px;
}

#privacy-policy .privacy-inner::-webkit-scrollbar-thumb:hover {
  background: #666;          /* jaśniejszy po najechaniu */
}

/* Firefox */
#privacy-policy .privacy-inner {
  scrollbar-width: auto;             /* cienki pasek */
  scrollbar-color: #444 #111;        /* suwak / tło */
}



.btn-accept {
  background-color: #c00;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}
.btn-accept:hover {
  background-color: #900;
}




/* Responsive tweaks */
@media (max-width: 768px) {
  .slogan {
    font-size: 1.6rem;
  }
  .about-flex {
    flex-direction: column;
  }
  .about-image, .about-text {
    flex: 1 1 100%;
  }
  .logo {
    max-width: 260px;
  }
  .producer-logo img {
    max-height: 35px;
    width: auto;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .modes-section .container {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }
  .mode-card {
    padding: 25px 20px;
   }
  .footer-content {
    flex-direction: column;
    gap: 10px;
  }
  .footer-left, .footer-center, .footer-right {
    justify-content: center;
  }
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 28px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1200;
  }
  .bar {
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  /* Menu na mobilkach */
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    background-color: #111;
    padding-top: 60px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -3px 0 8px rgba(0,0,0,0.3);
    z-index: 1100;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .main-nav ul {
    flex-direction: column;
    gap: 20px;
    padding-left: 20px;
  }

  .main-nav li {
    margin: 0;
  }

  .main-nav a {
    font-size: 1.2rem;
    padding: 10px 0;
    display: block;
  }
  .lightbox-prev,
  .lightbox-next {
    display: none;
  }
  .lightbox-img {
    max-width: 100vw !important;
    max-height: 100vh !important;
    object-fit: contain;
  }
  .logo-wrapper {
    padding: 10px 15px;
    max-width: 280px;
    margin: 0 auto 20px auto;
    display: block;
  }
  .logo-wrapper img {
    /* bez zmian - zachowaj pochylanie */
    transform: skew(15deg);
  }
}
@media (max-width: 480px) {
  .logo {
    max-width: 220px;
  }
  .lightbox-counter {
    bottom: 20px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px){
  .cookie-banner{
    width: 100vw;
    left: 0;
    right: auto;
    padding-left: 16px;
    padding-right: 20px;
    box-sizing: border-box;
    flex-wrap: nowrap; 
    justify-content: space-between;
    gap: 12px;
  }
  .cookie-banner span{
    flex: 1 1 auto;
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .cookie-banner .btn-accept{
    flex: 0 0 auto;
    white-space: nowrap;
    margin-left: 12px;  
    margin-right: 12px;    
    width: auto;
  }
}



@media (max-width: 480px) {
  #privacy-policy {
    padding-top: calc(70px + env(safe-area-inset-top)); /* dopasowane do notchów i pasków */
  }

  #privacy-policy .privacy-inner {
    max-height: 65vh; /* żeby treść nadal ładnie się mieściła */
  }
}


/* ✅ MOBILE FIX — pionowo tylko tekst, a ikony w jednym rzędzie */
@media (max-width: 480px) {
  .footer-content {
    flex-direction: column;
    gap: 10px;
  }

  .footer-left, .footer-center {
    justify-content: center;
    flex-direction: column;
  }

  .footer-right {
    justify-content: center;
    flex-direction: row; /* ikony w rzędzie */
    gap: 18px;
  }
}












