/* Wspólne style stron publicznych (layout "site") — poza Tailwindem. */

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Bez tego krótsze strony nie mają paska przewijania i logo skacze przy nawigacji. */
html {
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: #6f4da4 rgba(26, 14, 46, 0.8);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(26, 14, 46, 0.8);
}

::-webkit-scrollbar-thumb {
  border-radius: 50px;
  border: 2px solid rgba(26, 14, 46, 0.8);
  background: linear-gradient(180deg, #6f4da4, #3d2b5a);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #9b6dd7, #6f4da4);
}

body,
h1,
h2,
p {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Open Sans", sans-serif;
  background-color: #1a0e2e;
  color: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(111, 77, 164, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(61, 43, 90, 0.4) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(111, 77, 164, 0.2) 0%, transparent 50%);
  animation: site-bg-pulse 8s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes site-bg-pulse {
  0% { opacity: 0.7; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.05); }
}

/* Elementy klikalne i dekoracje — zaznaczanie tylko przeszkadza (dwuklik, przeciąganie na mobile).
   Treść, adresy i telefony zostają kopiowalne. */
.site-particles,
.site-logos,
.site-badge,
.site-card-icon,
.site-login-btn,
.site-social-link {
  user-select: none;
  -webkit-user-select: none;
}

.site-logos img {
  -webkit-user-drag: none;
}
.site-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.site-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(111, 77, 164, 0.5);
  border-radius: 50%;
  animation: site-float linear infinite;
}

@keyframes site-float {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-10vh) rotate(720deg); opacity: 0; }
}

/* Pasek logowania */
.site-login {
  position: fixed;
  top: 1.25rem;
  right: 1.5rem;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.site-login-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #a892c8;
  margin-right: 0.2rem;
}

.site-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.3rem;
  border-radius: 50px;
  border: 1px solid rgba(184, 158, 220, 0.4);
  background: rgba(111, 77, 164, 0.28);
  backdrop-filter: blur(8px);
  color: #d4b8f0;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
}

.site-login-btn:hover {
  transform: translateY(-2px);
  background: rgba(111, 77, 164, 0.5);
  border-color: rgba(201, 167, 245, 0.7);
  color: #fff;
}

/* Nagłówek z logotypami */
.site-header {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 5.5rem 1rem 0;
  text-align: center;
}

.site-logos {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  text-decoration: none;
  animation: site-logo-float 4s ease-in-out infinite;
}

.site-logo {
  height: 80px;
  width: auto;
  filter: drop-shadow(0 0 25px rgba(111, 77, 164, 0.5));
}

.site-logo-cafe {
  height: 72px;
  width: auto;
  filter: drop-shadow(0 0 25px rgba(111, 77, 164, 0.5));
}

.site-logos-divider {
  width: 1px;
  height: 56px;
  background: rgba(111, 77, 164, 0.4);
}

@keyframes site-logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.site-tagline {
  margin-top: 1.25rem;
  font-size: clamp(0.7rem, 1.5vw, 0.8rem);
  font-weight: 400;
  color: #a892c8;
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* Treść */
.site-main {
  position: relative;
  z-index: 1;
  flex: 1;
  width: 100%;
  max-width: 1060px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Karty */
.site-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 300px));
  justify-content: center;
  gap: 1.25rem;
  width: 100%;
  margin: 2.5rem 0 1rem;
}

.site-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  border-radius: 24px;
  border: 1px solid rgba(111, 77, 164, 0.3);
  background: linear-gradient(160deg, rgba(61, 43, 90, 0.6) 0%, rgba(26, 14, 46, 0.8) 100%);
  backdrop-filter: blur(12px);
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s, border-color 0.3s;
  overflow: hidden;
  min-height: 240px;
}

.site-card::after {
  content: "→";
  position: absolute;
  bottom: 1.25rem;
  right: 1.5rem;
  font-size: 1.2rem;
  color: rgba(184, 158, 220, 0);
  transition: color 0.3s, transform 0.3s;
  z-index: 1;
}

.site-card:hover::after {
  color: rgba(184, 158, 220, 0.7);
  transform: translateX(4px);
}

.site-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: radial-gradient(circle at 50% 0%, rgba(111, 77, 164, 0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}

.site-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(111, 77, 164, 0.3), 0 0 0 1px rgba(111, 77, 164, 0.4);
  border-color: rgba(111, 77, 164, 0.6);
}

.site-card:hover::before {
  opacity: 1;
}

.site-card:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(201, 167, 245, 0.6), 0 10px 40px rgba(111, 77, 164, 0.3);
  border-color: rgba(201, 167, 245, 0.7);
}

.site-card-icon {
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  line-height: 1;
}

.site-card-icon img,
.site-card-icon svg {
  width: 56px;
  height: 56px;
  object-fit: contain;
  transition: filter 0.3s, color 0.3s;
}

.site-card-icon svg {
  fill: none;
  stroke: currentColor;
  color: #d4b8f0;
}

.site-card:hover .site-card-icon img {
  filter: brightness(1.3);
}

.site-card:hover .site-card-icon svg {
  color: #eecdfc;
}

.site-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  position: relative;
  z-index: 1;
}

.site-card-subtitle {
  font-size: 0.85rem;
  color: #b89edc;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
  font-weight: 400;
}

.site-card-address {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: #a892c8;
  position: relative;
  z-index: 1;
}

/* Plakietki */
.site-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  z-index: 2;
}

.site-badge-new {
  background: linear-gradient(135deg, #6f4da4, #9b6dd7);
  color: #fff;
  animation: site-badge-pulse 2s ease-in-out infinite;
}

.site-badge-active {
  background: rgba(111, 77, 164, 0.2);
  border: 1px solid rgba(111, 77, 164, 0.4);
  color: #b89edc;
}

.site-badge-soon {
  background: rgba(201, 167, 245, 0.1);
  border: 1px solid rgba(201, 167, 245, 0.3);
  color: #c9a7f5;
}

@keyframes site-badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(111, 77, 164, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(111, 77, 164, 0); }
}

/* Stopka */
.site-footer {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1060px;
  margin-top: 1rem;
  padding: 1.5rem 1rem 2rem;
  border-top: 1px solid rgba(111, 77, 164, 0.2);
  font-size: 0.75rem;
  color: #a892c8;
  text-align: center;
}

.site-socials {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.site-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(184, 158, 220, 0.4);
  background: rgba(111, 77, 164, 0.25);
  color: #d4b8f0;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
}

.site-social-link:hover {
  transform: translateY(-3px);
  background: rgba(111, 77, 164, 0.4);
  border-color: rgba(201, 167, 245, 0.6);
  color: #fff;
}

.site-social-link svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Elementy treści stron */
.site-heading {
  margin-top: 1.5rem;
  font-size: clamp(1.3rem, 3.5vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
}

.site-heading span {
  color: #c9a7f5;
}

.site-lead {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  font-weight: 300;
  color: #cbb2ec;
}

.site-footer-contact {
  margin-bottom: 0.75rem;
}

.site-footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #b89edc;
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer-contact a:hover {
  color: #eecdfc;
}

.site-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 1rem 0;
}

.site-pills-label {
  margin-top: 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #a892c8;
}

.site-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  border: 1px solid rgba(111, 77, 164, 0.45);
  background: rgba(111, 77, 164, 0.2);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: #d4b8f0;
}

/* Ikony dziedziczą kolor i wielkość tekstu, więc pasują wszędzie tak samo. */
.site-icon {
  flex: 0 0 auto;
  width: 1.15em;
  height: 1.15em;
}

a.site-pill {
  text-decoration: none;
  transition: transform 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
}

a.site-pill:hover {
  transform: translateY(-2px);
  background: rgba(111, 77, 164, 0.4);
  border-color: rgba(201, 167, 245, 0.6);
  color: #fff;
}

.site-pill-primary {
  background: linear-gradient(135deg, #6f4da4, #9b6dd7);
  border-color: transparent;
  color: #fff;
}

.site-pill-muted {
  background: rgba(201, 167, 245, 0.1);
  border-color: rgba(201, 167, 245, 0.3);
  color: #c9a7f5;
}

/* Blok tekstowy (Estyma Cafe) */
.site-prose {
  max-width: 44rem;
  margin: 2rem auto 0;
  text-align: left;
}

.site-prose h2 {
  margin-top: 2rem;
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  font-weight: 700;
  color: #c9a7f5;
}

.site-prose h2:first-child {
  margin-top: 0;
}

.site-prose p {
  margin-top: 0.75rem;
  font-size: clamp(0.9rem, 2vw, 1rem);
  line-height: 1.7;
  color: #cbb2ec;
}

.site-prose-highlight {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  border-radius: 20px;
  border: 1px solid rgba(111, 77, 164, 0.4);
  background: linear-gradient(160deg, rgba(61, 43, 90, 0.6) 0%, rgba(26, 14, 46, 0.8) 100%);
  color: #eddfff;
}

.site-prose-highlight a {
  color: #d4b8f0;
  text-decoration: none;
  border-bottom: 1px dashed rgba(201, 167, 245, 0.4);
}

.site-prose-highlight a:hover {
  border-bottom-color: #c9a7f5;
}

/* Urodziny — wszystkie sekcje trzymają szerokość `.site-prose`, żeby kafelki nie były szersze od tekstu. */
.bday-includes,
.bday-panels,
.bday-themes,
.bday-section-title,
.bday-section-lead {
  width: 100%;
  max-width: 44rem;
}

.bday-includes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem 1.5rem;
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
}

.bday-include {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
}

.bday-include-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 20px;
  border: 1px solid rgba(111, 77, 164, 0.45);
  background: rgba(111, 77, 164, 0.2);
  color: #d4b8f0;
}

.bday-include-glyph {
  width: 36px;
  height: 36px;
  fill: none;
}

.bday-include-label {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  color: #eddfff;
}

.bday-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 2.5rem 0 0;
}

.bday-panel-extras {
  grid-column: 1 / -1;
}

.bday-panel {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border-radius: 20px;
  border: 1px solid rgba(111, 77, 164, 0.35);
  background: linear-gradient(160deg, rgba(61, 43, 90, 0.55) 0%, rgba(26, 14, 46, 0.75) 100%);
  text-align: left;
}

.bday-panel-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #c9a7f5;
}

.bday-panel-duration {
  justify-content: center;
}

.bday-duration {
  margin-top: 0.75rem;
  font-size: clamp(2.25rem, 7vw, 3rem);
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
}

.bday-panel-note {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #a892c8;
}

.bday-list {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-evenly;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.bday-list-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px dashed rgba(111, 77, 164, 0.3);
  font-size: 0.95rem;
  color: #cbb2ec;
}

.bday-list-row:last-child {
  border-bottom: 0;
}

.bday-list-note {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  line-height: 1.4;
  color: #8f79ad;
}

.bday-price {
  flex: 0 0 auto;
  font-weight: 700;
  color: #eecdfc;
}

.bday-section-title {
  margin-top: 3rem;
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 700;
  color: #c9a7f5;
}

.bday-section-lead {
  max-width: 34rem;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #a892c8;
}

.bday-themes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: 0.6rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.bday-theme {
  --bday-hue: 270;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.4rem;
  padding: 0.8rem 0.5rem 0.7rem;
  border-radius: 16px;
  border: 1px solid hsl(var(--bday-hue) 60% 60% / 0.35);
  background:
    linear-gradient(160deg, hsl(var(--bday-hue) 55% 30% / 0.75) 0%, hsl(var(--bday-hue) 60% 12% / 0.85) 100%);
  transition: transform 0.2s, border-color 0.2s;
}

.bday-theme:hover {
  transform: translateY(-3px);
  border-color: hsl(var(--bday-hue) 70% 70% / 0.7);
}

.bday-theme-icon {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.bday-theme-name {
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
  color: #f0e4ff;
}

.bday-theme-badge {
  position: absolute;
  top: -0.5rem;
  right: -0.25rem;
  padding: 0.15rem 0.5rem;
  border-radius: 50px;
  background: linear-gradient(135deg, #d94b9c, #9b6dd7);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
}

/* Responsive */
@media (max-width: 640px) {
  .site-login {
    top: 0.7rem;
    right: 0.6rem;
    left: 0.6rem;
    justify-content: center;
    gap: 0.45rem;
  }

  .site-login-label {
    display: none;
  }

  .site-login-btn {
    padding: 0.5rem 0.95rem;
    font-size: 0.82rem;
  }

  .site-header {
    padding-top: 5rem;
  }

  .site-logos {
    gap: 1rem;
  }

  .site-logo {
    height: 52px;
  }

  .site-logo-cafe {
    height: 46px;
  }

  .site-logos-divider {
    height: 38px;
  }

  .site-main {
    padding: 1.5rem 1rem;
  }

  .site-card {
    min-height: 200px;
    padding: 1.75rem 1.25rem;
  }

  .bday-includes {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .bday-panels {
    grid-template-columns: 1fr;
  }

  .bday-include-icon {
    width: 76px;
    height: 76px;
    border-radius: 22px;
  }

  .bday-include-glyph {
    width: 42px;
    height: 42px;
  }

  .bday-include-label {
    font-size: 1.1rem;
  }

  .bday-themes {
    grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  }

  .bday-theme-icon {
    width: 30px;
    height: 30px;
  }

  .bday-theme-name {
    font-size: 0.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  .site-logos,
  .site-particle,
  .site-badge-new {
    animation: none;
  }
}
