/* ========= Sofra House – przerwa techniczna (jasna karta) ========= */

:root {
  --red: #b3261e;
  --black: #151515;
  --bg-dark: #050509;
  --card-bg: #fff7ef;
  --text-main: #281814;
  --text-soft: #6b4b3c;
}

/* --- Layout bazowy --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at top, #3b1a1a 0, transparent 55%),
    radial-gradient(circle at bottom, #1b1b26 0, transparent 55%),
    var(--bg-dark);
  display: flex;
  flex-direction: column;
}

/* opcjonalnie: delikatne logo w tle */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("logo.png") center/220px no-repeat;
  opacity: 0.06;
  pointer-events: none;
}

/* Pusty header – zostawiamy miejsce na ewentualny pasek u góry */
.header {
  height: 60px;
}

/* Główny kontener – środek ekranu */
.container {
  flex: 1;
  width: min(1100px, 100% - 32px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Karta przerwy technicznej --- */

.break-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 0 32px;
}

.break-card {
  width: 100%;
  max-width: 720px;
  text-align: center;
  padding: 1.7rem 2.4rem;
  border-radius: 22px;
  background: var(--card-bg);
  border: 1px solid rgba(179, 38, 30, 0.22);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.5);
}

/* Wideo – całe widoczne, bez przewijania */
.break-video {
  width: 100%;
  height: auto;
  max-height: 38vh;
  object-fit: contain;
  border-radius: 16px;
  margin-bottom: 1.4rem;
}

/* Teksty */
.page-title {
  margin: 0 0 0.6rem;
  font-size: clamp(1.8rem, 2.4vw, 2.2rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--red);
}

.break-text {
  margin: 0.2rem 0;
  font-size: 1rem;
  color: var(--text-main);
}

.break-subtext {
  margin-top: 0.6rem;
  font-size: 0.96rem;
  color: var(--text-soft);
}

/* --- Animacja wejścia --- */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  animation: fadeUp 0.75s forwards 0.25s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: none;
  }
}

/* --- Responsywność --- */
@media (max-width: 768px) {
  .header {
    height: 40px;
  }

  .container {
    width: min(100% - 24px, 480px);
  }

  .break-card {
    padding: 1.3rem 1.5rem;
  }

  .break-video {
    max-height: 32vh;
  }

  .page-title {
    font-size: 1.5rem;
  }

  .break-text,
  .break-subtext {
    font-size: 0.95rem;
  }
}
