@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  --primary-fuchsia: #d11275;
  /* Fuksja */
  --primary-orange: #f28500;
  /* Pomarańcz */
  --bg-color: #faf8f5;
  /* Bardzo jasny kremowy dla minimalizmu */
  --text-main: #333333;
  --text-light: #777777;
  --white: #ffffff;
  --border-radius: 12px;
  --transition-speed: 0.3s;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1,
h2,
h3,
h4,
.serif {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-fuchsia);
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-orange);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  justify-content: center;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--primary-fuchsia);
}

p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

a {
  text-decoration: none;
  color: var(--primary-fuchsia);
  transition: color var(--transition-speed) ease;
}

a:hover {
  color: var(--primary-orange);
}

/* Header & Navigation */
header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-fuchsia);
  text-decoration: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links li a {
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--primary-orange);
}

.burger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: var(--text-main);
  transition: all 0.3s ease;
}

.is-hidden {
  display: none !important;
}

.site-locked main,
.site-locked footer {
  filter: blur(6px);
  pointer-events: none;
  user-select: none;
}

.site-lock-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(250, 248, 245, 0.78);
  backdrop-filter: blur(10px);
  z-index: 2000;
}

.site-lock-overlay.is-visible {
  display: flex;
}

.site-lock-message {
  max-width: 520px;
  padding: 1.5rem 2rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary-fuchsia);
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 700;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

/* Main Content Area */
main {
  flex: 1;
  padding: 100px 5% 50px 5%;
  /* Top padding for fixed header */
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

section {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  margin-bottom: 3rem;
  border-top: 4px solid var(--primary-fuchsia);
}

section:nth-of-type(even) {
  border-top-color: var(--primary-orange);
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--primary-fuchsia);
  color: var(--white) !important;
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  box-shadow: 0 4px 10px rgba(209, 18, 117, 0.3);
  text-align: center;
}

.btn:hover:not(:disabled) {
  background-color: var(--primary-orange);
  box-shadow: 0 4px 10px rgba(242, 133, 0, 0.3);
  transform: translateY(-2px);
}

.btn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  background-color: var(--white);
  color: var(--text-light);
  font-size: 0.9rem;
  border-top: 1px solid #eee;
}

/* Animations (Intersection Observer targets) */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.5, 0, 0, 1), transform 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Custom UI blocks */
.timeline {
  border-left: 2px solid var(--primary-orange);
  padding-left: 1.5rem;
  margin-left: 1rem;
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-item.new-episode::before {
  content: '';
  position: absolute;
  left: -1.55rem;
  transform: translateX(-50%);
  background-color: var(--primary-fuchsia);
  border-radius: 50%;
  width: 12px;
  height: 12px;
  top: 6px;
}

.instax-steps {
  counter-reset: instax-counter;
  list-style-type: none;
}

.instax-steps li {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1.5rem;
}

.instax-steps li::before {
  counter-increment: instax-counter;
  content: counter(instax-counter);
  position: absolute;
  left: 0;
  top: -2px;
  width: 32px;
  height: 32px;
  background-color: var(--primary-orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* Mobile Responsiveness */
@media screen and (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .nav-links {
    position: fixed;
    right: 0;
    top: 70px;
    flex-direction: column;
    background-color: var(--white);
    width: 280px;
    max-width: 80%;
    height: calc(100vh - 70px);
    text-align: center;
    transition: transform 0.4s ease-in-out;
    transform: translateX(100%);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.05);
    padding-top: 2rem;
    gap: 1.5rem;
  }

  .nav-links.nav-active {
    transform: translateX(0);
  }

  .burger {
    display: flex;
  }

  /* Burger Animation */
  .burger.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .burger.toggle .line2 {
    opacity: 0;
  }

  .burger.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
  }

  main {
    padding-top: 90px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  section {
    padding: 1.5rem;
  }
  
}

@media (max-width: 599px) {
  main {
    padding-left: 3%;
    padding-right: 3%;
  }
}

.locked-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  color: var(--text-main);
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 6px;
  text-align: center;
  padding: 1rem;
  z-index: 50;
}


/* Landing Page Styles */
.hero {
  text-align: center;
  padding: 4rem 1rem;
  background: linear-gradient(135deg, rgba(209, 18, 117, 0.05), rgba(242, 133, 0, 0.05));
  border-radius: var(--border-radius);
  margin-bottom: 3rem;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 0.5rem;
}

.hero p.subtitle {
  font-size: 1.3rem;
  color: var(--text-light);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  margin-bottom: 2rem;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.card {
  background-color: var(--white);
  padding: 2rem 1.5rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: all var(--transition-speed) ease;
  text-decoration: none;
  color: var(--text-main);
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-orange);
  box-shadow: 0 8px 25px rgba(242, 133, 0, 0.15);
  color: var(--text-main);
}

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--primary-fuchsia);
}

.card p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 0;
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

@media screen and (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p.subtitle {
    font-size: 1.1rem;
  }
}

.upload-section-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* Nowy nowoczesny obszar upuszczania zdjęć */
.custom-file-upload {
  width: 100%;
  max-width: 500px;
  border: 2px dashed var(--primary-fuchsia);
  border-radius: var(--border-radius);
  background-color: var(--bg-color);
  padding: 3rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-speed);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.custom-file-upload:hover {
  border-color: var(--primary-orange);
  background-color: #fff9f2;
}

.custom-file-upload.has-files {
  border-color: #2ecc71;
  /* Zielony po poprawnym wyborze plików */
  background-color: #f2fbf5;
  border-style: solid;
}

.custom-file-upload input[type="file"] {
  display: none;
}

.upload-icon-large {
  font-size: 3.5rem;
  display: block;
  margin-bottom: 1rem;
  color: var(--primary-fuchsia);
}

.file-chosen-text {
  display: block;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.file-hint-text {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* Obszar z paskiem ładowania (domyślnie ukryty) */
.progress-container {
  width: 100%;
  max-width: 500px;
  margin: 3.5rem auto 1rem;
  display: none;
}

.progress-track {
  width: 100%;
  height: 16px;
  background-color: #eee;
  border-radius: 10px;
  position: relative;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary-fuchsia), var(--primary-orange));
  border-radius: 10px;
  transition: width 0.4s ease-out;
}

.progress-thumb {
  position: absolute;
  top: -48px;
  /* Odsunięcie ikonki/twarzy nad pasek */
  left: 0%;
  transform: translateX(-50%);
  transition: left 0.4s ease-out;
  width: 45px;
  height: 45px;
  z-index: 10;
}

/* Twoja miniaturka twarzy jadąca po pasku */
.progress-thumb img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--white);
  background-color: var(--white);
  box-shadow: 0 4px 10px rgba(209, 18, 117, 0.3);
}

.status-message {
  margin-top: 1rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
}

/* Sekcja na stary przycisk dysku google */
.gallery-link-container {
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid #eee;
  text-align: center;
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-main) !important;
  border: 2px solid var(--primary-orange);
  box-shadow: none;
  margin-top: 1rem;
}

.btn-secondary:hover {
  background-color: var(--primary-orange);
  color: var(--white) !important;
  box-shadow: 0 4px 10px rgba(242, 133, 0, 0.2);
}