body {
  background: linear-gradient(160deg, #0a0a0a, #2a2f3a);
  color: #fff;
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* pokud přesto něco přetéká */
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
*, *::before, *::after {
  box-sizing: border-box;
}

:root {
  --color-gradient-start: #f5c842;
  --color-gradient-end: #00aaff;
  --color-text-main: #ffffff;
  --color-text-muted: rgba(255, 255, 255, 0.3);
}

.logo {
  position: fixed;
  top: 1rem;
  left: 3rem;
  font-size: 1rem;
  font-weight: bold;
  background: linear-gradient(to right, var(--color-gradient-start), var(--color-gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-decoration: none;
  font-family: 'Arial', sans-serif;
  letter-spacing: 1px;
  z-index: 100;
  transition: opacity 0.3s;
}
.logo:hover {
  opacity: 1;
}

.site-header {
  position: fixed;
  top: 0;
  height: 50px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  background: #111;
  color: #fff;
}

.language-switch {
  position: fixed;
  top: 1rem;
  right: 3rem;
  font-size: 0.9rem;
  font-family: 'Arial', sans-serif;
  z-index: 100;
}

.language-switch a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  margin: 0 0.3rem;
  transition: color 0.2s;
}

.language-switch a:hover {
  color: #fff;
}

.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 2rem 1rem;
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 0.5rem; /* zmenšeno, klidně i 0 */
  padding-bottom: 1.5rem; /* nový prostor pod textem */
  animation: fadeIn 1s ease-in-out;
}

.hero h1 {
  font-size: 2rem;
  animation: fadeIn 1s ease-in-out;
  margin-bottom: 1.5rem; /* přidáno pro lepší mezeru od formuláře */
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.thought-form {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 2rem;
}

.thought-form form {
  display: flex;
  gap: 0.5rem;
  max-width: 600px;
  width: 90%;
  align-items: flex-end; /* zarovná tlačítko dole */
}

.thought-form textarea {
  flex: 1;
  width: 100%;
  padding: 0.6rem 1rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  line-height: 1.2;
  background-color: #1a1a1a;
  color: #fff;
  resize: none;
  height: auto;
  min-height: 1.5em;
  max-height: 50vh;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px #444;
  transition: box-shadow 0.3s;
  box-sizing: border-box;
}

.thought-form textarea:focus {
  box-shadow: 0 0 0 2px #f5c842;
}

.thought-form button {
  padding: 0.8rem 1.2rem;
  height: 2.6rem;
  border: none;
  border-radius: 8px;
  background: linear-gradient(to right, #f5c842, #00aaff);
  color: #000;
  font-weight: bold;
  cursor: pointer;
  transition: opacity 0.3s;
  box-sizing: border-box;
}

.thought-form button:hover {
  opacity: 0.9;
}




footer.corner {
  position: fixed;
  bottom: 10px;
  right: 10px;
  font-size: 0.75rem;
  color: #aaa;
  opacity: 0.3;
  pointer-events: none;
  font-family: 'Arial', sans-serif;
}

.branding {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-family: 'Arial', sans-serif;
  letter-spacing: 1px;
  text-decoration: none;
  transition: opacity 0.3s;
  z-index: 10;
}
.branding:hover {
  opacity: 0.8;
}


