h1,
h2 {
  font-family: "Bitcount Ink", sans-serif;
  font-weight: 400;
  margin: 0;
  color: #f3e8ff;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  -webkit-text-stroke: 1.5px #1a0033;
  paint-order: stroke fill;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8),
               0 0 12px rgba(168, 85, 247, 0.5);
}

h1 {
  font-size: clamp(1.75rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1rem, 2.5vw, 1.75rem);
}

html {
  min-height: 100%;
  background-color: #0a0014;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
  color: white;
  display: flex;
  flex-direction: column;
  background-color: rgba(88, 28, 135, 0.45);
  backdrop-filter: blur(12px);
}

.tytulowy-panel {
  flex-shrink: 0;
  text-align: center;
  width: 100%;
  padding: clamp(0.75rem, 2vh, 1.5rem) clamp(1rem, 3vw, 2rem);
  background-color: #1a0033;
  border-bottom: 2px solid rgba(124, 58, 237, 0.6);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
  box-sizing: border-box;
  z-index: 10;
}

.menu {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(1.5rem, 4vh, 3rem) 1rem;
  box-sizing: border-box;
}

.menu::before {
  content: "";
  position: absolute;
  background-image: url("Backgorund3.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  filter: blur(5px);
}

.przyciski {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(10px, 2.5vh, 20px);
  width: min(340px, 85vw);
}

.przyciski .przycisk {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  box-sizing: border-box;
  text-decoration: none;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.5px;
  -webkit-text-stroke: 1.5px #1a0033;
  paint-order: stroke fill;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9),
               0 0 8px rgba(168, 85, 247, 0.6);
  background-color: #1a0033;
  width: 100%;
  height: clamp(48px, 8vh, 64px);
  font-size: clamp(0.95rem, 2.2vw, 1.25rem);
  border-radius: 20px;
  font-family: "Bitcount Ink", sans-serif;
  border: 2px solid #7c3aed;
  transition:
    width 0.25s ease,
    transform 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    color 0.25s ease,
    text-shadow 0.25s ease;
    letter-spacing: 4px;
}

.przyciski .przycisk:hover,
.przyciski .przycisk:focus-visible {
  width: 110%;
  background-color: #562d9c;
  color: #ffffff;
  -webkit-text-stroke: 1.5px #2e1065;
  border-color: #d8b4fe;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.6),
              0 0 24px rgba(124, 58, 237, 0.35),
              inset 0 0 8px rgba(192, 132, 252, 0.3);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
}

#przyciskDzwiek {
  position: fixed;
  bottom: clamp(1rem, 3vh, 1.5rem);
  left: clamp(1rem, 3vw, 1.5rem);
  width: clamp(48px, 8vw, 60px);
  height: clamp(48px, 8vw, 60px);
  padding: 0;
  border-radius: 50%;
  border: none;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  z-index: 20;
}

#przyciskDzwiek:hover {
  opacity: 1;
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(124, 58, 237, 0.8);
}