/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  height: 100%;
}

body {
  background: #000000;
  color: #f5f5f5;
  font-family: 'Manrope', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Block display ensures custom elements don't collapse to inline */
tz-header,
tz-footer {
  display: block;
  width: 100%;
}

/* ---- Header ---- */

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2.5rem;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}


header.scrolled {
  background: rgba(0, 0, 0, 0.333);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

@media (max-width: 768px) {
  header {
    padding-inline: 1.25rem;
  }
}

/* ---- Logo ---- */

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Audiowide', sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: #f5f5f5;
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
}

@media (max-width: 768px) {
  .logo {
    font-size: 1rem;
  }
}

/* ---- Footer ---- */

footer {
  background: #111111;
  padding: 1.25rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

@media (max-width: 768px) {
  footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.25rem 1.5rem;
    gap: 0.5rem;
  }
}

.footer-copy {
  font-size: 0.8rem;
  font-weight: 600;
  color: #A0A0A0;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.footer-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: #A0A0A0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #FFFFFF;
  text-decoration: none;
}

/* ---- Container ---- */

.container {
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }
}


/* ---- Links ---- */

a {
  color: #00D4FF;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ---- Content pages (privacy, cookies) ---- */

.content-main {
  display: flex;
  justify-content: center;
  padding: 8rem 2.5rem 6rem;
  min-height: 100vh;
}

article {
  width: 100%;
  max-width: 680px;
}

article h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  color: #f5f5f5;
}

.meta {
  font-size: 0.8rem;
  color: #777;
  margin: 0 0 1.5rem;
}

.intro {
  font-size: 1rem;
  line-height: 1.7;
  color: #aaa;
  margin: 0 0 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #1f1f1f;
}

section {
  margin-bottom: 2.5rem;
}

h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #f5f5f5;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 0.85rem;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 1.5rem 0 0.5rem;
}

article p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #aaa;
  margin: 0 0 0.75rem;
}

ul {
  margin: 0.5rem 0 0.75rem 1.25rem;
  padding: 0;
}

li {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #aaa;
  margin-bottom: 0.4rem;
}

strong {
  color: #d0d0d0;
  font-weight: 600;
}

/* ---- Toast notifications ---- */

.tz-toast {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  transform: translateX(12px);
  opacity: 0;
  background: #111111;
  border: 1px solid #2A2A2A;
  border-left: 3px solid #2A2A2A;
  border-radius: 8px;
  padding: 0.875rem 1.25rem;
  font-family: 'Manrope', sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  color: #FFFFFF;
  white-space: nowrap;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  z-index: 200;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.tz-toast--visible {
  opacity: 1;
  transform: translateX(0);
}

.tz-toast--success { border-left-color: #22C55E; }
.tz-toast--error   { border-left-color: #EF4444; }

@media (max-width: 768px) {
  .tz-toast {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 0;
    white-space: normal;
    transform: translateY(100%);
  }

  .tz-toast--visible {
    transform: translateY(0);
  }
}
