/**
 * Site chrome for the Pokal Generator.
 * Copied from public/style.css header rules so the isolated
 * text-sign-generator Worker (*.workers.dev) works without /style.css.
 * Do not edit public/style.css from here — keep both in sync when changing header look.
 */
:root {
  --text-primary: #333333;
  --text-secondary: #666666;
}

.main-header {
  padding: 0.8rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  background: #333333;
  border-bottom: 2px solid #222222;
  margin-bottom: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-left .logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.header-left .logo img {
  height: 48px;
  width: auto;
  display: block;
}

.header-brand {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.header-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  pointer-events: none;
}

.header-center h1 {
  font-size: 1.2rem;
  margin: 0;
  color: #ffffff;
  letter-spacing: 0;
  font-weight: 800;
}

.header-center h1 span:last-child {
  color: #ffffff;
  font-weight: 800;
}

.header-center p {
  font-size: 0.7rem;
  margin: 0.15rem 0 0;
  color: #cccccc;
  line-height: 1.35;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-switcher {
  display: flex;
  gap: 0.3rem;
  font-size: 0.7rem;
  font-weight: bold;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-btn {
  padding: 0.4rem 1.2rem;
  background: #555555;
  color: #ffffff;
  font-weight: 600;
  border-radius: 4px;
  font-size: 0.8rem;
  text-decoration: none;
  transition: background 0.3s ease;
}

.nav-btn:hover {
  background: #666666;
}

@media (max-width: 1000px) {
  .header-brand {
    display: none;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 0 1rem;
    flex-wrap: wrap;
  }

  .header-center {
    position: static;
    transform: none;
    flex: 1 1 100%;
    margin: 0.8rem 0 0 0;
    align-items: center;
    text-align: center;
    order: 3;
    max-width: none;
  }

  .header-center h1 {
    font-size: 1.1rem;
  }

  .header-center p {
    display: block;
    font-size: 0.65rem;
  }

  .header-right {
    gap: 0.5rem;
  }

  .nav-btn {
    padding: 0.3rem 0.8rem;
  }
}
