html {
  box-sizing: border-box;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}
body {
  margin: 0;
  padding: 0;
  line-height: 1.7rem;
}

.quiz-container {
  /* box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.2); */
  text-shadow: 1px 1px white;
  padding: 2rem 1rem 1rem 1rem;
  text-shadow: 0 1px #00000010;
  width: 67%;
  margin: 1rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: auto;
  z-index: 5;
}
.title {
  margin-top: 0;
  margin-bottom: 1rem;
  color: #ffffff;
  line-height: 1em;
  font-weight: 700;
  font-size: 2.5rem;
  text-align: center;
}
.spacer {
  height: 50px;
}
/* Marginesy dla przycisków */
.controls > * {
    margin: 1rem;
}
button {
  padding: 0.5rem 1.5rem;
  border: none;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  font-size: 14px;
  font-weight: 700;
  color: white;
  outline: none;
  transform: scale(0.98);
  transition: all 0.2s;
}

button:hover,
button:active {
  background: #F8CB2E;
  transform: scale(1);
  font-weight: 700;
  box-shadow: 1px 1px 1px rgba(255, 255, 255, 0.5);
}
@media (max-width: 991px) {
  .summary {
    flex-direction: column;
  }
}
.summary h1 {
  align-self: center;
}
.services-info {
    text-align: left;
    z-index: 5;
}
.about-text-wrap {
    text-align: center; 
}
.about-image {
    max-width: 100%; 
    height: auto; 
}
.image-container {
    position: relative;
    overflow: hidden;
}
.image-container img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}
.image-container:hover img {
    transform: scale(0.95);
    cursor: pointer;
}
.coin {
  position: fixed;
  top: 50%;               
  right: -150px;          
  transform: translateY(-50%);
  transition: right 0.5s ease;
  z-index: 1000;
  width: 100px;           
  height: 100px;
  pointer-events: none;   
}
.coin.show {
  right: 10px;            
}
.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease;
}
.fade-in {
  opacity: 1;
  transition: opacity 0.5s ease;
}
.shadow-title {
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}
.image-container .overlay {
  display: none !important;
}

.download-image-btn {
  padding: 0.5rem 1.5rem;
  border: none;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  font-size: 14px;
  font-weight: 700;
  color: white;
  outline: none;
  transform: scale(0.98);
  transition: all 0.2s;
  background: #bf910c;
  margin-top: 12px;
  cursor: pointer;
}

.download-image-btn:hover {
  background: #d7a52d;
}
.share-image-btn {
  background: #bf910c;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 0.5rem 1.5rem;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
  transition: all 0.2s;
  margin-right: 10px;
  cursor: pointer;
}
.share-image-btn:hover {
  filter: brightness(0.95);
}

/* KURZ I MGLA */

@keyframes move-twink-back {
    from {background-position:0 0;}
    to {background-position:10000px -5000px;}
}
@-webkit-keyframes move-twink-back {
    from {background-position:0 0;}
    to {background-position:10000px -5000px;}
}
@-moz-keyframes move-twink-back {
    from {background-position:0 0;}
    to {background-position:10000px 500px;}
}
@-ms-keyframes move-twink-back {
    from {background-position:0 0;}
    to {background-position:10000px 5000px;}
}

@keyframes move-clouds-back {
    from {background-position:0 0;}
    to {background-position:10000px 0;}
}
@-webkit-keyframes move-clouds-back {
    from {background-position:0 0;}
    to {background-position:10000px 0;}
}
@-moz-keyframes move-clouds-back {
    from {background-position:0 0;}
    to {background-position:10000px 0;}
}
@-ms-keyframes move-clouds-back {
    from {background-position: 0;}
    to {background-position:10000px 0;}
}

.twinkling, .clouds, {
  position:absolute;
  top:0;
  left:0;
  right:0;
  bottom:0;
  width:100%;
  height:100%;
  display:block;
}

.clouds{
    background:transparent url('../images/foganddust/dust.png') repeat top center;

    z-index:3;

  -moz-animation:move-clouds-back 500s linear infinite;
  -ms-animation:move-clouds-back 500s linear infinite;
  -o-animation:move-clouds-back 500s linear infinite;
  -webkit-animation:move-clouds-back 500s linear infinite;
  animation:move-clouds-back 500s linear infinite;
}

.twinkling{
    background:transparent url('../images/foganddust/dust.png') repeat top center;

    z-index:3;

  -moz-animation:move-twink-back 1150s linear infinite;
  -ms-animation:move-twink-back 1150s linear infinite;
  -o-animation:move-twink-back 1150s linear infinite;
  -webkit-animation:move-twink-back 1150s linear infinite;
  animation:move-twink-back 1150s linear infinite;
}


.image-text-container {
  position: relative;
  display: inline-block; 
  width: 100%;           
  max-width: 100%;
}

.image-text-container img {
  display: block;
  width: 100%;
  height: auto;
}

.image-text-overlay {
  position: absolute;
  top: 50%;        
  left: 50%;      
  transform: translate(-50%, -50%);
  color: #fff;
  text-shadow: 2px 2px 12px #000, 0 1px 8px #333;
  font-size: 2rem;
  text-align: center;
  width: 90%;     /* szerokość napisu względem obrazka */
  z-index: 2;
  pointer-events: none;  /* tekst nie blokuje kliknięć na grafikę */
}
.hero-section {
  position: relative;
  overflow: hidden;
  background: none !important; /* wyłącza stare tło, jeśli było */
  min-height: 350px; /* Albo inna wartość */
  width: 100%;
}
#fire-sparks {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}
.hero-section .bg-image {
  display: block;
  width: 100vw;
  min-width: 100%;
  max-width: 100vw;
  height: auto;
  object-fit: cover;
  position: relative;
  z-index: 1;
}
.custom-info-section {
  padding: 20px 0 0 0;
  text-align: center;
}

.custom-info-section .container {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px;
}

.custom-section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  color: #FFF8E4;      
  font-weight: 800;
  margin-bottom: 25px;
  letter-spacing: 1px;
  text-shadow: 1px 2px 6px rgba(0,0,0,0.18);
}
.custom-wide-title {
  display: block;
  max-width: 900px !important;
  width: 100%;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
  font-size: 3.2rem;      /* możesz zmienić na dowolny rozmiar */
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;
  color: #FFF8E4;
  padding-bottom: 10px;
}
@media (max-width: 600px) {
  .custom-wide-title {
    max-width: 95vw;
    font-size: 1.3rem;
    padding-left: 6px;
    padding-right: 6px;
  }
}
.custom-section-desc {
  font-size: clamp(1.05rem, 2.6vw, 1.5rem);
  color: #FFF8E4;
  font-weight: 400;
  margin-bottom: 0;
  line-height: 1.6;
  text-shadow: 0 1px 5px rgba(0,0,0,0.08);
}
.order-section {
  padding: 0 0 0 0;
}

.order-btn {
  display: flex;
  justify-content: center;
  align-items: center;
}
.order-btn img {
  display: block;
}
.order-btn .btn-img {
  width: 500px;  /* zmień na własny rozmiar */
  max-width: 100%;
  transition: opacity 0.2s;
  display: block;
}

/* Podmiana obrazka na hover 
.order-btn .btn-img {
  content: url('../images/btn-normal.png');
}
.order-btn:hover .btn-img,
.order-btn:focus .btn-img {
  content: url('../images/btn-hover.png'); 
}  */
@media (max-width: 600px) {
  .order-btn .btn-img {
    width: 300px;
  }
  .order-section {
    padding: 0 0 10px 0;
  }
}
/* ==========================================================================
   Footer Section
   ========================================================================== */

.footer-section-custom,
.footer-section {
/* background-color: #111; */
  color: #fff;
  padding: 60px 0 20px;
  font-family: 'Outfit', sans-serif !important; 
  font-weight: 300 ; 
  position: relative;
  z-index: 10;
}

/* Branding */
.footer-section .brand,
.footer-section-custom .footer-brand-social .brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 50px;
}
.footer-section-custom .footer-brand-social .brand img {
  max-width: 100%;
  width: auto;
}

  @media screen and (max-width: 991px) {
  img {
  height: 10vh;
  width: 100%;
  object-fit: cover;
  }
}

/* Social icons */
.social-link {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px; 
  padding: 0;
}
.social-link li {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}
.social-link li a img,
.social-link li i {
  width: 40px;         /* 45px > 40px – lepiej mniejsze i skalować */
  height: auto;        /* jeśli to SVG/font, height może być auto */
  transition: transform .25s ease, color .25s ease;
  transform-origin: center;
}

.social-link li:hover a img,
.social-link li:hover i {
  transform: scale(1.25);
}

/* (opcjonalnie) klawiatura / mobile focus */
.social-link li:focus-within a img,
.social-link li:focus-within i {
  transform: scale(1.25);
}


/* Main footer columns */
.footer-section-custom .footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 15px;
  order: 1;
}
.footer-section-custom .footer-column {
  flex: 1;
  min-width: 200px;
  margin: 10px;
}
.footer-section-custom .footer-column h4 {
  color: #FFCF3D;
  margin-bottom: 15px;
  font-size: 24px;
}
.footer-section-custom .footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 18px;
}
.footer-section-custom .footer-column ul li {
  margin-bottom: 8px;
  font-size: 18px;
}
.footer-section-custom .footer-column ul li a {
  color: #ccc;
  text-decoration: none;
  font-size: 18px;
}
.footer-section-custom .footer-column ul li a:hover {
  color: #fff;
}

/* Bottom row */
.footer-section-custom .footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  max-width: 1200px;
  justify-content: space-between;
  margin: 20px auto 0;
  padding: 15px 0;
  font-size: 18px;
  color: #777;
  gap: 15px;
  order: 2;
  flex: 0 0 100%;
  position: relative;
  z-index: 10;  
  
}

.footer-section-custom .footer-bottom p {
  margin: 0;
}

.footer-section-custom .footer-bottom .links {
  display: flex;
  gap: 20px;
  margin: 0;
}
.footer-section-custom .footer-bottom .links a {
  color: #777;
  text-decoration: none;
}
.footer-section-custom .footer-bottom .links a:hover {
  color: #fff;
}

/* Debug paragraph style (if still used) */
.footer-section p {
  font-size: 12px;
  margin: 0;
}
.fade-in-up {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.9s cubic-bezier(.19,1,.22,1), transform 0.9s cubic-bezier(.19,1,.22,1);
  will-change: opacity, transform;
}

/* Po dodaniu klasy .visible sekcja stanie się widoczna */
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .footer-section-custom .footer-top {
    flex-direction: column;
    align-items: flex-start;    
    padding-left: 15px;         
  }

  .footer-section-custom .footer-brand-social {
    align-items: center;
  }

  .footer-section-custom .footer-bottom {
    flex-direction: column;
    align-items: flex-start;    
    text-align: left;           
    gap: 10px;
    padding-left: 15px;         
  }
}
.centered-image-section {
  padding: 40px 0 40px 0; /* marginesy góra/dół, możesz zmienić */
}

.centered-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.centered-img {
  display: block;
  max-width: 100%;
  height: auto;
  /* opcjonalnie ograniczenie szerokości na desktop: */
  width: 100%;
}
.lang-switch{
  position: fixed; top: 16px; right: 16px; z-index: 9999;
  display: flex; gap: 8px; align-items: center;
}

.lang-btn{
  all: unset;                
  display: inline-block;
  cursor: pointer;
  line-height: 0;
}
.lang-btn img{
  display:block;
  width: clamp(72px, 12vw, 144px);  /* ~3–4× większe niż Twoje ~36px */
  height: auto;
}

@media (max-width: 480px){
  .lang-btn img{ width: clamp(64px, 18vw, 108px); } /* ~3× na małych ekranach */
}

.lang-btn:hover,
.lang-btn:active {
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

/* POKAZUJEMY TYLKO przycisk do "drugiego" języka */
html[data-lang="pl"] #to-pl { display: none !important; }
html[data-lang="en"] #to-en { display: none !important; }
/* Instagram ma więcej pustych pikseli – kompensujemy skalą */
.social-link li a[href*="instagram.com"] img {
  transform: scale(1.25); /* ~50px wizualnie przy bazowych 40px */
}

/* Na hover zostaje taki sam rozmiar – bez dodatkowego skoku */
.social-link li:hover a[href*="instagram.com"] img {
  transform: scale(1.50);
}

/* PL */
.lang-pl .order-btn:hover .btn-img {
  content: url('../images/btn-hover.png');
}

/* EN */
.lang-en .order-btn:hover .btn-img {
  content: url('../images/btn-hover-en.png');
}

/* === HERO CTA  === */
.hero-cta-bar{
  position: absolute;
  right:  clamp(16px, 3vw, 48px);      
  bottom: clamp(64px, 12vh, 180px);   
  display: flex;
  flex-direction: column;            
  gap: 30px;                         
  z-index: 50;                        
  pointer-events: auto;
  transform: scale(1.2);
  transform-origin: right bottom;
}

.hero-cta{
  position: relative;
  display: inline-block;
  line-height: 0;
  width: clamp(240px, 22vw, 380px);   
  outline-offset: 4px;
}
.hero-cta:focus-visible{
  outline: 2px solid rgba(255,255,255,.65);
  border-radius: 8px;
}

.hero-cta .cta-img{
  display: block;
  width: 100%;
  height: auto;
}

.hero-cta .cta-hover{
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: none;      
}

.hero-cta .cta-default{
  transition: none;     
}

.hero-cta:hover .cta-hover,
.hero-cta:focus-visible .cta-hover{ opacity: 1; }

.hero-cta:hover .cta-default,
.hero-cta:focus-visible .cta-default{ opacity: 0; }

@media (max-width: 768px){
  .hero-cta-bar{
    gap: 1px;                                      
    bottom: max(100px, env(safe-area-inset-bottom));
    right:  max(1px, env(safe-area-inset-right));
  }
  .hero-cta{
    width: clamp(120px, 33vw, 165px);     
    transform: none;  	
  }
}
/* Przycisk mailowy – biały, a na hover szary */
a.btn-mail{
  color:#E8E8E8 !important;
  text-decoration:none;
  transition: color .15s ease;
}
a.btn-mail:visited{ color:#fff !important; }

a.btn-mail:hover,
a.btn-mail:focus{
  color:#9E9E9E !important; /* szary na hover */
}

/* (opcjonalnie) dla klawiatury */
a.btn-mail:focus-visible{
  outline:2px solid rgba(255,255,255,.8);
  outline-offset:3px;
}
@media (min-width: 576px) and (max-width: 991px){
  .hero-section .overlay-top{
    background-image: url("../images/nakladka_moneta_tablet.png");
    background-size: cover;         /* możesz wrócić do cover dla tej wersji */
    background-position: center;    /* doszlifuj położenie */
  }
}
/* === Video info section (dodane) === */
.container-901 {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Nie ścieśniaj sekcji z wideo */
.custom-info-section .container.container-901 {
  max-width: 1200px;
}

/* Wiersz: tekst + wideo */
.info-row {
  display: flex;
  align-items: center;
  gap: clamp(16px, 4vw, 48px);
}

.info-text {
  flex: 1;
  text-align: left;
}

.info-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

/* Wideo responsywne */
.info-image video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.video-player--small {
  max-width: 600px;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
}

/* Mobile: układ w kolumnę */
@media (max-width: 768px) {
  .info-row {
    flex-direction: column;
    text-align: center;
  }
  .info-text { text-align: left; }
}

@media (max-width: 600px) {
  .video-player--small { max-width: 92vw; }
}
