/* === RESET === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  background: #000;
  color: #a8ff81;
  line-height: 1.1;
}

/* === HEADER === */
.site-header {
  background: rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 999;
  padding: 0.5rem 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}
.logo img {
  height: 50px;
  margin-right: 0.5rem;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: brightness(0) invert(1);
}

.logo img:hover {
  transform: rotate(4deg) scale(1.1);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
  margin: 0;
  padding: 0;
}
nav ul li a {
 font-family: 'Inter', sans-serif;
  text-decoration: none;
  color: #faf5f2;
  font-weight: 600;
  font-size: 0.9rem;
  position: relative;
  letter-spacing: 0.04em;
  filter: drop-shadow(0 0 4px rgba(255, 240, 180, 0.3));
  transition: transform 0.3s ease, filter 0.3s ease, color 0.3s ease;
}
nav ul li a:hover {
  color: #fff;
}
nav ul li a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1.2px;
  background: #ffffff; 
  transition: width 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%;
  transform: scale(1.3);
  filter: drop-shadow(0 0 6px #ffffff);
}

.btn-contact {
  border: 1.2px solid #a8ff81;
  padding: 0.4rem 1rem;
  border-radius: 24px;
  color: #f9f7ff;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.btn-contact:hover {
  background: #ffffff; 
  color: #1a093b;
}





/* === Banner === */
.video-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.banner-video {
  width: 100%;
  object-fit: cover;
  display: block;
}


.banner-video {
  opacity: 0;
  animation: videoFade 1.5s ease forwards;
}

@keyframes videoFade {
  to { opacity: 1; }
}

.video-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/grain.png");
  opacity: 0.08;
  pointer-events: none;
}


/* === ABOUT US === */

.about-section {
  background: #a8ff81;
  padding: 6rem 1.5rem;
  color: #000;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-text h2 {
  font-size: 3.7rem;          
  margin-bottom: 2rem;
  font-family: 'Archivo', sans-serif;
  font-weight: 500;
  font-stretch: 120%;       
  text-transform: uppercase;
  line-height: 0.85;        
  letter-spacing: -0.09em;
  color: #000;
}

.about-text p {
  margin-bottom: 9rem;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #111;
}

.about-features {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
  line-height: 3;
  color: #111;
}

.about-features img {
  width: 50px;
  height: 50px;
}

.about-image img {
  width: 100%;
  border-radius: 2rem;
  object-fit: cover;
  clip-path: path('M0,0 H100% V100% H0 Z');
  transition: transform 0.6s ease;
}

.about-image:hover img {
  transform: scale(1.03) translateY(-6px);
}


/* === PUBLISHING === */

.publishing-section {
  padding: 6rem 1.5rem;
  background: #000;
  color: #a8ff81;
  text-align: center;
}

.publishing-text h2 {
  font-size: 3.7rem;          
  margin-bottom: 2rem;
  font-family: 'Archivo', sans-serif;
  font-weight: 500;
  font-stretch: 120%;       
  text-transform: uppercase;
  line-height: 0.85;        
  letter-spacing: -0.09em;
  color: #a8ff81;
  text-align: center;
}

.publishing-text p {
 margin-bottom: 3rem;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 1.5rem;
  line-height: 1.1;
  letter-spacing: 0.01em;
} 

.publishing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.publishing-item {
  background: transparent; 
  overflow: visible; 
  display: flex;
  flex-direction: column;
  transition: transform 0.6s ease;
}

.publishing-item img {
  width: 100%;
  height: 250px; 
  object-fit: cover;
  display: block;
  border-radius: 12px; 
  margin-bottom: 2.5rem; 
transition: transform 0.6s ease;

}

.publishing-item:hover{
  transform: scale(1.03) translateY(-6px);
}


.publishing-info {
  background: #a8ff81;
  padding: 1.4rem 1.4rem 1.4rem;
  text-align: left;
  border-radius: 0 12px 12px 12px; 
  position: relative; /* Żebyśmy mogli ustawić "języczek" absolutnie */
  flex-grow: 1; /* Sprawia, że wszystkie zielone pola będą równej wysokości */
}

/* === ZAKŁADKA (TAB) - SKOŚNY KSZTAŁT === */
.publishing-info::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 0;
  width: 260px; /* Szerokość podstawy zakładki */
  height: 22px;
  background: #a8ff81;
  clip-path: path('M 0 22 L 0 12 Q 0 0 12 0 L 220 0 Q 230 0 236 5 L 260 22 L 0 22 Z');
  border-radius: 0; 
  z-index: 1;
}


.publishing-info::after {
  content: "";
  position: absolute;
  top: -10px;
  left: 248px; /* Musi zaczynać się tam, gdzie kończy się width ::before */
  width: 45px;
  height: 12px;
  background: transparent;
  
  /* Tworzy wklęsły łuk */
  border-bottom-left-radius: 80%;
  box-shadow: -3px 3px #a8ff81;
  z-index: 1;
}


.publishing-info h3 {
  font-size: 1.55rem;  
  margin-top: 1rem;
  margin-bottom: 1rem;
  font-family: 'Archivo', sans-serif;
  font-weight: 500;
  font-stretch: 120%;       
  text-transform: uppercase;
  line-height: 0.85;         
  letter-spacing: -0.03em;
  color: #000;
}

.publishing-info p {
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 1.4rem;
  line-height: 1.1;
  letter-spacing: 0.05em;
  color: #000;
}

/* Responsive */
@media (max-width: 920px) {
  .publishing-grid {
    grid-template-columns: 1fr;
  }
}

/* === DISTRIBUTION === */
.distribution-section {
  background: #a8ff81;
  padding: 4rem 1.5rem;
  color: #000;
}

/* HEADER */
.distribution-header {
  max-width: 1200px;
  margin: 0 auto 3rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 0rem;
  padding-bottom: 0rem;
  padding-top: 3rem;
}

.distribution-header h2 {
  font-family: 'Archivo', sans-serif;
  font-size: 3.7rem;          
  font-weight: 500;
  font-stretch: 120%;       
  text-transform: uppercase;
  line-height: 0.85;        
  letter-spacing: -0.09em;
  color: #000;
  margin: 0;
  margin-bottom: 2rem;
}

.distribution-header p {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #000;
  margin: 0; 
  margin-bottom: 3rem;
}


.distribution-grid-top {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto 1.5rem; 
  height: 300px; 
}

.distribution-grid-bottom {
  display: grid;
  grid-template-columns: repeat(12, 1fr); 
  gap: 1.5rem;
  max-width: 1080px; 
  margin: 0 auto; 
  height: 300px; 
}

.span-3 { grid-column: span 3; } /* 25% */
.span-6 { grid-column: span 6; } /* 50% */
.span-4 { grid-column: span 4; } /* 33% */
.span-2 { grid-column: span 2; } /* 16.67% */ 
.span-5 { grid-column: span 5; } /* 41.67% */


.dist-card {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  height: 100%;
 transition: transform 0.6s ease;
}

.dist-card:hover {
  transform: scale(1.03) translateY(-6px);
}

/* Karty ze zdjęciami */
.dist-card.img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Czarne karty z tekstem */
.dist-card.black-card {
  background: #000;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.dist-card.black-card h3 {
  font-size: 1.55rem;  
  font-family: 'Archivo', sans-serif;
  font-weight: 500;
  font-stretch: 120%;       
  text-transform: uppercase;
  line-height: 0.85;         
  letter-spacing: -0.03em;
  color: #a8ff81;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}


.dist-card.black-card p {
  font-family: 'Inter', sans-serif;
  color: #a8ff81;
  opacity: 0.9;
  max-width: 320px;
  font-weight: 300;
  font-size: 1.4rem;
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;

} 
/* === RZĄD 3: KONTAKT === */
.distribution-grid-contact {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 1.5rem auto 0; 
  height: 260px;
}

.span-8 { grid-column: span 8; }

.dist-card.contact-card {
  display: flex;
  flex-direction: column;
  padding: 3rem;
}

.dist-card.contact-card h3 {
  font-size: 1.55rem;
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 500;
  font-stretch: 120%;       
  text-transform: uppercase;
  line-height: 0.85;         
  letter-spacing: -0.03em;
  color: #a8ff81;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}


/* Kontener na ramkę z danymi i ikonę */
.contact-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
}

/* Fioletowa ramka z danymi */
.person-box {
  padding: 0.5rem 0;
  text-align: center; /* Tekst wyrównany do lewej wewnątrz ramki */
  min-width: 240px;
}

.person-name {
  font-family: 'Inter', sans-serif;
  color: #fff !important; 
  font-size: 1.2rem !important;
  margin: 0 0 0 !important;
  opacity: 0.9 !important;
  font-weight: 300!important;
  line-height: 1.1!important;
  letter-spacing: 0.02em!important;
}

.person-role {
  font-family: 'Inter', sans-serif;
  color: #fff !important; 
  font-style: italic !important;
  font-size: 1.2rem !important;
  margin: 0rem 0 0rem !important;
  opacity: 0.9 !important;
  font-weight: 300!important;
  line-height: 1.1!important;
  letter-spacing: 0.02em!important;
}

.person-mail {
  /* Twoje style tekstu */
  font-family: 'Inter', sans-serif;
  color: #fff !important;
  font-size: 1.2rem !important;
  margin: 0rem 0 0rem !important;
  opacity: 0.9 !important;
  font-weight: 300 !important;
  line-height: 1.1 !important;
  letter-spacing: 0.02em !important;
  text-decoration: underline;
  
  /* WAŻNE DLA ANIMACJI: */
  display: inline-block; /* Konieczne, aby 'scale' zadziałało */
  transition: transform 0.3s ease, filter 0.3s ease, color 0.3s ease;
  cursor: pointer;
}

/* Usuwamy 'a' z selektora, bo .person-mail to już jest link */
.person-mail:hover {
  transform: scale(1.05); /* Skala 1.1 może być za duża dla tekstu, 1.05 jest bezpieczniejsza */
  color: #a8ff81 !important; /* Opcjonalnie: zmiana koloru na zielony przy najechaniu */
  text-decoration: none; /* Opcjonalnie: usuwa podkreślenie przy najechaniu */
}

.chat-icon img {
  width: 50px;
  height: auto;
  align-items: left;
  justify-content: center
}

/* RESPONSYWNOŚĆ DLA NOWEGO RZĘDU */
@media (max-width: 920px) {
  .distribution-grid-contact {
    grid-template-columns: 1fr;
    height: auto;
  }
  
  .span-8, .span-4 {
    grid-column: span 1;
  }

  .contact-row {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .dist-card.contact-card h3 {
    font-size: 1.4rem;
  }
}

/* RESPONSYWNOŚĆ */
@media (max-width: 920px) {
  /* Na telefonie obie siatki zachowują się tak samo (jedna kolumna) */
  .distribution-grid-top,
  .distribution-grid-bottom {
    grid-template-columns: 1fr;
    height: auto; /* Reset wysokości */
    max-width: 100%;
  }

  /* Reset spanów */
  .span-3, .span-6 {
    grid-column: span 1;
  }
  
  .dist-card {
    min-height: 250px;
  }
}

/* === OUR GAMES SECTION === */
.games-section {
  background: #000;
  color: #a8ff81;
  padding: 6rem 1.5rem;
  overflow: hidden; /* Ensures no scrollbars if elements overlap slightly */
}

.games-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr; /* Text takes less space than the card */
  gap: 4rem;
  align-items: top;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1rem;
}

/* LEFT COLUMN: TEXT */
.games-text h2 {
  font-family: 'Archivo', sans-serif;
  font-size: 3.7rem;
  font-weight: 500;
  font-stretch: 120%;
  text-transform: uppercase;
  line-height: 0.85;
  letter-spacing: -0.09em;
  color: #a8ff81;
  margin-bottom: 2rem;
}
.games-text p {

  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 1.5rem;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: #a8ff81;
  margin-bottom: 3rem;
  max-width: 400px; /* Limits width for better readability */
}

.games-text .more-soon {
  margin-top: 2rem;
  opacity: 0.8;
}

/* RIGHT COLUMN: GREEN CARD CONTAINER */
.games-card-container {
  position: relative;
}

/* The Green Card Body */
.games-card {
  background: #a8ff81;
  border-radius: 24px 24px 24px 24px; 
  padding: 1.5rem;
  position: relative;
  z-index: 2;
}

/* MEDIA AREA (Video/Image) */
.games-media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1rem;
  aspect-ratio: 16 / 9; /* Format panoramiczny */
  background: #000;
}


.games-media img,
.games-media video {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  display: block;
  opacity: 0.9; 
}


.games-media:hover .play-icon {
  transform: translate(-50%, -50%) scale(1.1);
  transform: scale(1.01) rotate(-1deg); /* Lekki obrót dla luzu */
  box-shadow: 5px 5px 0 rgba(0,0,0,0.2);
  color: #fff;
  background: rgba(0,0,0,0.8);
}

/* ACTION AREA (Button) */
.games-action {
  display: flex;
  justify-content: center;
}

.btn-steam {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  background: #000;
  text-decoration: none;
  padding: 0.8rem 2rem;
  border-radius: 50px; /* Pill shape */
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 1.2rem;
  width: 100%;
  transition: transform 0.2s ease, 
}

.btn-steam:hover {
  background: #000000;
  transform: translate(-50%, -50%);
  transform: scale(1.01) rotate(-1deg); /* Lekki obrót dla luzu */
  box-shadow: 5px 5px 0 rgba(0,0,0,0.2);  
}

.steam-icon {
  height: 30px;
  object-fit: contain;
}

.steam-icon:hover {
filter: brightness(0) invert(1);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .games-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .games-text p {
    margin: 0 auto 1.5rem;
  }
}



/* === FINAL CTA SECTION === */
.cta-section {
  background: #a8ff81; /* Zielone tło dla kontrastu z czarnym Footerem */
  color: #000;
  padding: 8rem 1.5rem;
  text-align: center;
  position: relative;
}

/* Ozdobne "wycięcie" na górze, żeby pasowało do reszty designu */
.cta-section::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 20px;
  background: #a8ff81;
  clip-path: polygon(0 100%, 50% 0, 100% 100%); /* Trójkąt w górę */
}

.cta-content h2 {
  font-family: 'Archivo', sans-serif;
  font-size: 4rem;
  text-transform: uppercase;
  margin-bottom: 2rem;
  color: #000;
  font-weight: 600;
  font-stretch: 120%;       
  line-height: 0.85;        
  letter-spacing: -0.09em;
}

.cta-content h2 span {
  opacity: 0.5; /* "We do too" lekko wyszarzone/przezroczyste */
}

.cta-content p {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  max-width: 650px;
  margin: 0 auto 3rem;
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.03em;

}

.cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.btn-cta {
  background: #000;
  color: #a8ff81;
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1.5rem;
  padding: 1.2rem 3rem;
  border-radius: 50px; /* Pigułka */
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 2px solid #000;
}

.btn-cta:hover {
  transform: scale(1.05) rotate(-1.5deg); /* Lekki obrót dla luzu */
  box-shadow: 5px 5px 0 rgba(0,0,0,0.2);
  color: #fff;
}

.cta-note {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-style: italic;
  opacity: 0.7;
}

/* Responsywność */
@media (max-width: 768px) {
  .cta-content h2 {
    font-size: 2.5rem;
  }
  .cta-content p {
    font-size: 1.2rem;
  }
}

/* === FOOTER === */
.footer {
  background-color: #000;
  padding: 5rem 1rem 2rem;
  color: #a8ff81;
  margin-bottom: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-items: center;
  align-items: center;
  text-align: center;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-left,
.footer-middle,
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: #ffffff;
  font-size: 0.6rem;  
  font-family: 'Archivo', sans-serif;
  font-weight: 100 !important; 
  font-stretch: 120%;       
  text-transform: uppercase;
  line-height: 0.85;         
  letter-spacing: 0.1em;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.footer a,
.footer p {
  color: #a8ff81;
  transition: transform 0.2s ease, filter 0.2s ease;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.1;
  letter-spacing: 0.02em;

}

.footer-logos {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.logo-zmubu {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0 0;
  padding: 0;
}

.logo-zmubu li a img {
  height: 90px;
  transition: all 0.25s ease;
}

.logo-zmubu li a img:hover {
  transform: scale(1.08);
  filter: brightness(0.8);
}

.social-icons {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin: 2rem 0 0;
  padding: 0;
}

.social-icons li a img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  filter: brightness(0.86);
  transition: all 0.25s ease;
}

.social-icons li a img:hover {
  transform: scale(1.2);
  filter: brightness(0.8);
}

.contact {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  padding: 0;
}

.contact a {
  display: inline-block;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.contact a:hover {
  transform: scale(1.1);
  filter: brightness(0.8);
}





/* === NAV TOGGLE (Mobile) === */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 36px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
  margin-right: 1rem;
}
.nav-toggle .bar {
  height: 3px;
  width: 100%;
  background-color: #faf5f2;
  border-radius: 10px;
  transition: all 0.3s ease;
}

/* === RESPONSIVE === */

@media (max-width: 820px) {
  /* Footer adjustments */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 3rem 1rem;
  }

  .about-text h2 {
    font-size: 2.5rem; 
  }

  .footer-left,
  .footer-middle,
  .footer-right {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
  }

  .social-icons {
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
  }

  .footer-logos,
  .contact {
    margin-top: 1rem;
    margin-bottom: 0;
  }

  .logo-zmubu {
    margin: 0.5rem 0;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


