:root {
  color-scheme: dark;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: #0b0c0f;
  color: #f5f6f8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 20% 20%, #12141a 0%, #0b0c0f 60%);
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(10, 11, 15, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: linear-gradient(135deg, #ff3b3b, #ff7a18);
  color: #0b0c0f;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-title {
  font-size: 18px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.brand-subtitle {
  font-size: 12px;
  color: #9ea3ad;
  text-transform: uppercase;
  letter-spacing: 0.28em;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.lang-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.lang-trigger {
  border: none;
  background: transparent;
  padding: 0;
  border-radius: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: none;
}

.lang-trigger:hover {
  border-color: transparent;
}

.lang-flag {
  width: 28px;
  height: 20px;
  display: block;
  border-radius: 4px;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  transform: none;
  min-width: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  opacity: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
  transition: 0.2s ease;
  z-index: 20;
}

.lang-menu.is-open {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.lang-option {
  display: block;
  padding: 0;
  color: #e6e9f0;
  text-decoration: none;
}

.lang-option:hover {
  color: #ffffff;
}


.btn {
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.16);
  color: #d3d6de;
  min-width: 92px;
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-primary {
  background: #ff3b3b;
  color: #0b0c0f;
  font-weight: 600;
}

.btn-primary:hover {
  background: #ff5b5b;
}

.hero-empty {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
  text-align: center;
}

.subtitle {
  margin: 0;
  font-size: 18px;
  color: #b7bcc7;
}

@media (max-width: 820px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-actions {
    width: 100%;
    justify-content: flex-start;
  }
}
