/* ===========================
   RESET & VARIABLES
   =========================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #ffffff;
  --bg-2: #f5f7f9;
  --bg-3: #eef1f4;
  --surface: #ffffff;
  --border: rgba(0, 0, 0, 0.08);
  --border-mid: rgba(0, 0, 0, 0.14);

  --teal: #0abfbc;
  --teal-dark: #079996;
  --teal-light: #e0fafa;
  --teal-glow: rgba(10, 191, 188, 0.18);

  --black: #0d0d0d;
  --gray-dark: #1e1e1e;
  --gray-1: #2e2e2e;
  --gray-2: #5a5a5a;
  --gray-3: #9a9a9a;
  --gray-4: #d4d4d4;

  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.06);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  --shadow-teal: 0 8px 40px rgba(10, 191, 188, 0.30);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

body {
  background: var(--bg);
  color: var(--gray-1);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  width: 100%;
  max-width: 100vw;
}

img, video, picture, svg {
  max-width: 100%;
  display: block;
}

/* ===========================
   UTILITY
   =========================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.accent {
  color: var(--teal);
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: var(--teal-light);
  border: 1px solid rgba(10, 191, 188, 0.25);
  padding: 5px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: 0.03em;
  margin-bottom: 12px;
  color: var(--black);
}

.section-sub {
  font-size: 1rem;
  color: var(--gray-2);
  max-width: 540px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .section-sub {
  margin: 0 auto;
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: #fff;
  box-shadow: var(--shadow-teal);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 48px rgba(10, 191, 188, 0.45);
}

.btn-ghost {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-3px);
}

.btn-icon {
  font-size: 1.1rem;
  line-height: 1;
}

.btn-arrow {
  transition: transform 0.3s;
}

.btn-ghost:hover .btn-arrow {
  transform: translateY(4px);
}

/* Disabled buttons (wod.guru links turned off) */
.btn-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
  filter: grayscale(0.6);
  user-select: none;
}

/* ===========================
   NAVBAR
   =========================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--black);
  transition: box-shadow 0.4s;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled {
  background: rgba(13, 13, 13, 0.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 4px 24px rgba(0, 0, 0, 0.35);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding 0.4s;
}

.navbar.scrolled .nav-inner {
  padding-top: 13px;
  padding-bottom: 13px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

/* Logo jako obrazek */
.nav-logo-img {
  height: 28px;
  width: auto;
  display: block;
  transition: height 0.4s;
}

.navbar.scrolled .nav-logo-img {
  height: 25px;
}

/* Footer logo */
.footer-logo {
  margin-bottom: 4px;
}

.footer-logo-img {
  height: 28px;
  width: auto;
  display: block;
  /* Dodaje jasność bo logo może być ciemne na czarnym tle */
  filter: brightness(0) invert(1);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 4px;
  align-items: center;
}

.nav-link {
  display: inline-block;
  padding: 8px 18px;
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: #ccc;
  border: 1px solid transparent;
  border-radius: 100px;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--teal);
  border-color: rgba(10, 191, 188, 0.4);
  background: rgba(10, 191, 188, 0.08);
}

.nav-link-cta {
  background: var(--teal);
  color: #fff !important;
  border-color: transparent !important;
}

.nav-link-cta:hover {
  background: var(--teal-dark) !important;
  transform: translateY(-2px);
}

.nav-link-login {
  background: transparent;
  color: var(--teal) !important;
  border: 1.5px solid var(--teal) !important;
  font-size: 0.78rem;
}

.nav-link-login:hover {
  background: var(--teal) !important;
  color: #fff !important;
  transform: translateY(-2px);
}

/* Burger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

/* ===========================
   HERO
   =========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-image: url('tlo.webp');
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
}

@media (max-width: 860px) {
  .hero {
    background-attachment: scroll;
    background-position: center top;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom right,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.55) 50%,
    rgba(10, 191, 188, 0.18) 100%
  );
  z-index: 0;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(10, 191, 188, 0.04) 60px, rgba(10, 191, 188, 0.04) 61px),
    repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(10, 191, 188, 0.04) 60px, rgba(10, 191, 188, 0.04) 61px);
}

.hero-bg-glow {
  position: absolute;
  top: 10%;
  right: 5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(10, 191, 188, 0.10) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse-glow 4s ease-in-out infinite;
}

.hero-bg-glow2 {
  position: absolute;
  bottom: 5%;
  left: 20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(10, 191, 188, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse-glow 6s 2s ease-in-out infinite;
}

@keyframes pulse-glow {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.15);
    opacity: 0.65;
  }
}

.hero-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  padding: 130px 24px 90px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-tagline {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
  animation: fade-up 0.8s ease both;
  text-shadow: 0 0 20px rgba(10, 191, 188, 0.5);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 8.5vw, 7rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
  color: #ffffff;
  margin-bottom: 18px;
  animation: fade-up 0.8s 0.15s ease both;
  text-shadow: 0 4px 32px rgba(0, 0, 0, 0.4);
}

.hero-title-accent {
  color: var(--teal);
}

.hero-sub {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.80);
  margin-bottom: 40px;
  animation: fade-up 0.8s 0.3s ease both;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fade-up 0.8s 0.45s ease both;
  justify-content: center;
}

.hero-visual {
  display: none;
}

.hero-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, #e2f4f4 0%, #d5f0f0 50%, #e8f7f7 100%);
  color: var(--gray-3);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.hero-img-cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 10;
}

.placeholder-icon {
  font-size: 3rem;
  opacity: 0.4;
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.scroll-dot {
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--teal);
  animation: bounce-down 2s ease-in-out infinite;
}

@keyframes bounce-down {

  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }

  60% {
    transform: translateY(14px);
    opacity: 0.3;
  }
}

/* ===========================
   INFO BANNER
   =========================== */
.info-banner {
  background: var(--black);
  padding: 0;
}

.info-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 14px;
  text-decoration: none;
  color: #e0e0e0;
  transition: background 0.2s, color 0.2s;
  flex: 1 1 210px;
}

.info-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--teal);
}

.info-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.info-item>div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.info-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-3);
}

.info-value {
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  padding-right: 10px;
}

.info-value-hours {
  white-space: normal;
  text-align: left;
}

#info-email {
  flex: 1.4 1 265px;
}

.info-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.07);
  align-self: stretch;
  margin: 8px 0;
}

.info-socials {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  flex-shrink: 0;
}

.social-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ccc;
  text-decoration: none;
  transition: var(--transition);
}

.social-btn svg {
  width: 18px;
  height: 18px;
}

.social-btn:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
  transform: translateY(-2px);
}

/* ===========================
   O NAS
   =========================== */
.about {
  padding: 100px 0;
  background: var(--bg);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-text {
  font-size: 0.98rem;
  color: var(--gray-2);
  line-height: 1.85;
  margin-bottom: 18px;
}

.about-stats {
  display: flex;
  gap: 32px;
  margin: 32px 0;
  padding: 26px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  width: 100%;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--teal);
  line-height: 1;
  letter-spacing: 0.03em;
}

.stat-plus {
  font-size: 1.8rem;
}

.stat-label {
  font-size: 0.76rem;
  color: var(--gray-2);
  font-weight: 500;
}

/* Photo grid */
.about-photos {
  position: relative;
}

.gallery-header {
  text-align: center;
  margin-bottom: 10px;
}

.gallery-subtitle {
  font-size: 0.88rem;
  color: var(--gray-2);
  margin-top: 8px;
  font-weight: 500;
}

.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 12px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.photo-cell {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.photo-big {
  grid-row: span 2;
}

.photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.photo-cell:hover .photo-img {
  transform: scale(1.08);
}

.photo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.35s ease;
  pointer-events: none;
}

.photo-cell:hover .photo-overlay {
  background: rgba(0, 0, 0, 0.35);
}

.photo-zoom-icon {
  font-size: 2rem;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.3s ease, transform 0.3s ease;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}

.photo-cell:hover .photo-zoom-icon {
  opacity: 1;
  transform: scale(1);
}

/* ===========================
   LIGHTBOX
   =========================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.4rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, transform 0.25s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.5rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, transform 0.25s, border-color 0.25s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.lightbox-arrow:hover {
  background: rgba(10, 191, 188, 0.3);
  border-color: var(--teal);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-img-wrap {
  position: relative;
  z-index: 5;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
  transform: scale(0.92);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox.active .lightbox-img {
  transform: scale(1);
}

.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  background: rgba(0, 0, 0, 0.4);
  padding: 6px 18px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Lightbox mobile */
@media (max-width: 640px) {
  .lightbox-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  .lightbox-img-wrap {
    max-width: 96vw;
  }

  .lightbox-counter {
    bottom: 16px;
    font-size: 0.78rem;
  }
}

.about-award {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--teal);
  color: #fff;
  padding: 14px 18px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-teal);
  animation: float 3s ease-in-out infinite;
  max-width: 220px;
}

.award-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.about-award strong {
  display: block;
  font-size: 0.82rem;
}

.about-award span {
  font-size: 0.72rem;
  opacity: 0.85;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

/* ===========================
   KARNETY
   =========================== */
.membership {
  padding: 100px 0;
  background: var(--bg-2);
  position: relative;
}

.membership::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--teal), transparent);
  opacity: 0.45;
}

.membership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.membership-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.membership-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(10, 191, 188, 0.25);
}

.mc-featured {
  border-color: var(--teal);
  transform: translateY(-10px);
  box-shadow: var(--shadow-teal);
}

.mc-featured:hover {
  transform: translateY(-16px);
}

.mc-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 100px;
  white-space: nowrap;
}

.mc-header {
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
}

.mc-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  color: var(--black);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.mc-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.mc-amount {
  font-family: var(--font-display);
  font-size: 3.2rem;
  color: var(--teal);
  line-height: 1;
}

.mc-currency {
  font-size: 0.92rem;
  color: var(--gray-2);
  font-weight: 600;
}

.mc-student-price {
  font-size: 0.85rem;
  color: var(--gray-2);
  font-weight: 500;
  margin-top: 6px;
}

.mc-student-price strong {
  color: var(--teal);
  font-weight: 700;
}

.mc-student-muted {
  font-size: 0.85rem;
  color: var(--gray-2);
  font-weight: 500;
}

#plan-jednorazowe .mc-header {
  padding-bottom: 31px;
}

.mc-note {
  display: block;
  font-size: 0.78rem;
  color: var(--gray-3);
  margin-top: 6px;
}

.mc-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  min-height: 208px;
}

.mc-features li {
  font-size: 0.88rem;
  color: var(--gray-1);
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--bg-2);
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 60px;
}

.mc-feat-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--teal-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(10, 191, 188, 0.25);
  overflow: hidden;
  padding: 8px;
}

.mc-feat-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.mc-desc {
  font-size: 0.84rem;
  color: var(--gray-2);
  line-height: 1.7;
  margin-bottom: 24px;
  padding-top: 4px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.mc-btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

/* Presale badge */
.presale-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  margin-top: auto;
  margin-bottom: 14px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(10, 191, 188, 0.08) 0%, rgba(255, 193, 7, 0.10) 100%);
  border: 1px solid rgba(10, 191, 188, 0.3);
  position: relative;
  overflow: hidden;
  animation: presale-pulse 3s ease-in-out infinite;
}

.presale-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(10, 191, 188, 0.12), transparent);
  animation: presale-shimmer 4s ease-in-out infinite;
}

@keyframes presale-shimmer {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

@keyframes presale-pulse {
  0%, 100% {
    border-color: rgba(10, 191, 188, 0.3);
    box-shadow: 0 0 0 0 rgba(10, 191, 188, 0);
  }
  50% {
    border-color: rgba(10, 191, 188, 0.5);
    box-shadow: 0 0 12px rgba(10, 191, 188, 0.12);
  }
}

.presale-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  animation: presale-bounce 2s ease-in-out infinite;
}

@keyframes presale-bounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.presale-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.3;
}

.presale-text > strong {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-dark);
}

.presale-text > span {
  font-size: 0.8rem;
  color: var(--gray-2);
  font-weight: 500;
}

.presale-text > span strong {
  color: var(--teal-dark);
  font-weight: 700;
}

.presale-discount {
  font-size: 0.78rem;
  color: #d35400;
  font-weight: 600;
  margin-top: 2px;
}

.presale-discount strong {
  color: #c0392b;
  font-weight: 800;
}

.presale-code {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.76rem;
  color: var(--teal-dark);
  font-weight: 600;
  margin-top: 3px;
  padding: 3px 10px;
  background: linear-gradient(135deg, rgba(10, 191, 188, 0.12), rgba(10, 191, 188, 0.06));
  border: 1px dashed rgba(10, 191, 188, 0.4);
  border-radius: 6px;
  width: fit-content;
  letter-spacing: 0.03em;
}

.presale-code strong {
  color: var(--teal);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}
/* Already member */
.already-member {
  margin-top: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 28px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  flex-wrap: wrap;
  font-size: 0.92rem;
  color: var(--gray-2);
}

.am-icon {
  font-size: 1.4rem;
}

.am-link {
  font-weight: 700;
  color: var(--teal-dark);
  text-decoration: none;
  border-bottom: 2px solid var(--teal-light);
  transition: border-color 0.2s, color 0.2s;
}

.am-link:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* ===========================
   MINOR CONSENT NOTICE
   =========================== */
.minor-notice {
  margin-top: 32px;
  border-radius: var(--radius);
  border: 1px solid #f5c518;
  background: linear-gradient(135deg, #fffbea 0%, #fff8d6 100%);
  overflow: hidden;
}

.minor-notice-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 28px;
  flex-wrap: wrap;
}

.minor-notice-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.minor-notice-text {
  flex: 1;
  min-width: 200px;
  font-size: 0.9rem;
  color: var(--gray-2);
  line-height: 1.55;
}

.minor-notice-text strong {
  display: block;
  font-size: 1rem;
  color: #7a5800;
  margin-bottom: 4px;
}

.minor-notice-text a {
  color: var(--teal-dark);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--teal-light);
  transition: border-color 0.2s, color 0.2s;
}

.minor-notice-text a:hover {
  color: var(--teal);
  border-color: var(--teal);
}

.minor-download-btn {
  flex-shrink: 0;
  white-space: nowrap;
  border-color: #c89b00 !important;
  color: #7a5800 !important;
}

.minor-download-btn:hover {
  background: #c89b00 !important;
  color: #fff !important;
}

@media (max-width: 600px) {
  .minor-notice-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .minor-download-btn {
    width: 100%;
    text-align: center;
  }
}

/* ===========================
   INSTRUKCJA ZAKUPU
   =========================== */
.howto {
  padding: 100px 0;
  background: var(--bg);
  position: relative;
}

.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 56px;
}

.step {
  flex: 1;
  text-align: center;
  padding: 36px 20px;
  border-radius: var(--radius-lg);
  background: var(--bg-2);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
}

.step:hover {
  transform: translateY(-6px);
  border-color: rgba(10, 191, 188, 0.3);
  box-shadow: var(--shadow);
}

.step-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--teal-light);
  line-height: 1;
  margin-bottom: 8px;
}

.step-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  color: var(--black);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.86rem;
  color: var(--gray-2);
  line-height: 1.65;
}

.step-arrow {
  font-size: 1.6rem;
  color: var(--teal);
  align-self: center;
  flex-shrink: 0;
  padding: 0 8px;
  opacity: 0.5;
}

.howto-cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.howto-note {
  font-size: 0.88rem;
  color: var(--gray-2);
}

.howto-note a {
  color: var(--teal-dark);
  font-weight: 600;
  text-decoration: none;
}

.howto-note a:hover {
  text-decoration: underline;
}

/* ===========================
   FAQ
   =========================== */
.faq-section {
  padding: 100px 0;
  background: var(--bg-2);
  position: relative;
}

.faq-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--teal), transparent);
  opacity: 0.4;
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.faq-item.open {
  border-color: rgba(10, 191, 188, 0.35);
  box-shadow: 0 4px 20px rgba(10, 191, 188, 0.1);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--black);
  transition: color 0.2s;
}

.faq-q:hover {
  color: var(--teal-dark);
}

.faq-item.open .faq-q {
  color: var(--teal-dark);
}

.faq-icon {
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--teal);
  flex-shrink: 0;
  transition: transform 0.3s;
  line-height: 1;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
}

.faq-item.open .faq-a {
  max-height: 600px;
  padding: 0 24px 24px;
}

.faq-a p {
  font-size: 0.9rem;
  color: var(--gray-2);
  line-height: 1.8;
  margin-bottom: 10px;
}

.faq-a ul {
  padding-left: 4px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.faq-a ul li {
  font-size: 0.88rem;
  color: var(--gray-2);
}

/* Placeholder do uzupełnienia w FAQ */
.faq-todo {
  background: #fff8e1;
  color: #b45309;
  border: 1px solid #fde68a;
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 0.82rem;
  font-style: italic;
  font-weight: 600;
  cursor: text;
}

/* ===========================
   REGULAMIN
   =========================== */
.rules {
  padding: 100px 0;
  background: var(--bg);
}

/* Dokument regulaminu */
.rules-document {
  max-width: 860px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 56px;
  box-shadow: var(--shadow-sm);
  min-height: 300px;
}

/* Style dla wklejonej treści regulaminu */
.rules-document h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  color: var(--black);
  margin: 32px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--teal-light);
}

.rules-document h3:first-child {
  margin-top: 0;
}

.rules-document h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-1);
  margin: 20px 0 8px;
}

.rules-document p {
  font-size: 0.9rem;
  color: var(--gray-2);
  line-height: 1.8;
  margin-bottom: 14px;
}

.rules-document ol,
.rules-document ul {
  padding-left: 22px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rules-document li {
  font-size: 0.88rem;
  color: var(--gray-2);
  line-height: 1.7;
}

.rules-document strong {
  color: var(--gray-1);
}

/* Placeholder gdy regulamin nie jest jeszcze wklejony */
.rules-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  gap: 16px;
  color: var(--gray-3);
}

.rules-placeholder-icon {
  font-size: 3rem;
  opacity: 0.5;
}

.rules-placeholder h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gray-2);
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.rules-placeholder p {
  font-size: 0.88rem;
  color: var(--gray-3);
  max-width: 520px;
  line-height: 1.7;
}

.rules-placeholder code {
  background: var(--bg-3);
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 0.82rem;
  color: var(--teal-dark);
  font-family: monospace;
}

/* Karty skrótu regulaminu */
.rules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.rule-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--transition);
}

.rule-card:hover {
  transform: translateY(-5px);
  border-color: rgba(10, 191, 188, 0.25);
  box-shadow: var(--shadow);
}

.rule-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.rule-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  color: var(--black);
  margin-bottom: 10px;
}

.rule-card p {
  font-size: 0.87rem;
  color: var(--gray-2);
  line-height: 1.7;
}

/* CTA pełny regulamin */
.rules-download {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 36px 32px;
  background: var(--bg-2);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(10, 191, 188, 0.25);
  text-align: center;
}

.rules-download p {
  font-size: 0.92rem;
  color: var(--gray-2);
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: var(--black);
  padding: 64px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-tagline {
  font-size: 0.88rem;
  color: var(--gray-3);
  margin: 14px 0 20px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-btn-footer {
  background: rgba(255, 255, 255, 0.05);
}

.social-btn-footer:hover {
  background: var(--teal);
  border-color: var(--teal);
}

.footer-col-title {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-3);
  margin-bottom: 16px;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav a {
  font-size: 0.88rem;
  color: #aaa;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--teal);
}

.footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact li {
  font-size: 0.86rem;
  color: #aaa;
}

.footer-contact a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: var(--teal);
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--gray-3);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--gray-3);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--teal);
}

/* ===========================
   ANIMATIONS
   =========================== */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  .membership-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mc-featured {
    transform: none;
  }

  .mc-featured:hover {
    transform: translateY(-6px);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    flex-wrap: wrap;
  }

  .step-arrow {
    display: none;
  }

  .step {
    min-width: 160px;
  }

  .rules-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .nav-logo-img {
    height: 20px;
  }

  .navbar.scrolled .nav-logo-img {
    height: 18px;
  }

  .nav-burger span {
    width: 26px;
    height: 2.5px;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-award {
    right: 8px;
    bottom: -8px;
  }

  .hero-overlay {
    width: 100%;
    padding: 120px 24px 80px;
  }

  .hero-visual {
    width: 100%;
    opacity: 0.15;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(13, 13, 13, 0.98);
    backdrop-filter: blur(16px);
    padding: 16px 24px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    gap: 4px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links .nav-link {
    color: #bbb;
  }

  .nav-burger {
    display: flex;
  }

  .info-banner-inner {
    flex-direction: column;
  }

  .info-divider {
    display: none;
  }

  .info-item,
  #info-email {
    min-width: 100%;
    flex-basis: auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .info-socials {
    justify-content: flex-start;
    padding: 16px 20px;
  }
}

@media (max-width: 640px) {
  .steps {
    flex-direction: column;
    gap: 14px;
    margin-bottom: 40px;
  }

  .step {
    min-width: 0;
    width: 100%;
  }

  .membership-grid {
    grid-template-columns: 1fr;
  }

  .mc-featured {
    transform: none;
  }

  .rules-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero-title {
    font-size: clamp(2.5rem, 11vw, 3.5rem);
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    justify-content: center;
  }

  .about-stats {
    flex-wrap: wrap;
    gap: 20px;
  }
}