* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #0b0b0b;
  color: #f0ece4;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

.navbar {
  background: #0f0f0f;
  border-bottom: 1px solid #2a251f;
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(4px);
}

.navbar__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1.25rem;
  color: #f0a868;
  letter-spacing: -0.01em;
}

.brand__icon {
  width: 32px;
  height: 32px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2L2 7l10 5 10-5-10-5z'/%3E%3Cpath d='M2 17l10 5 10-5'/%3E%3Cpath d='M2 12l10 5 10-5'/%3E%3C/svg%3E") no-repeat center;
  mask-size: contain;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2L2 7l10 5 10-5-10-5z'/%3E%3Cpath d='M2 17l10 5 10-5'/%3E%3Cpath d='M2 12l10 5 10-5'/%3E%3C/svg%3E") no-repeat center;
  -webkit-mask-size: contain;
  display: inline-block;
}

.brand__name {
  background: linear-gradient(135deg, #f0a868 0%, #d4873a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar__menu {
  display: flex;
  align-items: center;
}

.menu__list {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.menu__link {
  color: #a0978a;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
}

.menu__link:hover,
.menu__link.active {
  color: #f0a868;
  border-bottom-color: #f0a868;
}

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

.user-badge {
  background: #1a1714;
  padding: 0.3rem 1rem 0.3rem 1.2rem;
  border-radius: 40px;
  font-size: 0.85rem;
  color: #d6cdc0;
  border: 1px solid #3a342c;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.user-badge::before {
  content: "";
  width: 16px;
  height: 16px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E") no-repeat center;
  mask-size: contain;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E") no-repeat center;
  -webkit-mask-size: contain;
  display: inline-block;
}

.logout-btn {
  background: transparent;
  border: 1px solid #3b342c;
  color: #a0978a;
  padding: 0.3rem 1rem;
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.logout-btn::before {
  content: "";
  width: 14px;
  height: 14px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpolyline points='16 17 21 12 16 7'/%3E%3Cline x1='21' y1='12' x2='9' y2='12'/%3E%3C/svg%3E") no-repeat center;
  mask-size: contain;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpolyline points='16 17 21 12 16 7'/%3E%3Cline x1='21' y1='12' x2='9' y2='12'/%3E%3C/svg%3E") no-repeat center;
  -webkit-mask-size: contain;
  display: inline-block;
}

.logout-btn:hover {
  border-color: #f0a868;
  color: #f0a868;
  background: rgba(240, 168, 104, 0.05);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 0.3rem;
  background: transparent;
  border: none;
  padding: 0.3rem;
  cursor: pointer;
}

.toggle-line {
  width: 24px;
  height: 2px;
  background: #d6cdc0;
  transition: 0.2s;
  border-radius: 4px;
}

.footer {
  margin-top: auto;
  padding: 1.5rem 0;
  border-top: 1px solid #23201b;
  color: #7a7267;
  font-size: 0.85rem;
}

.footer__container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer__meta {
  opacity: 0.7;
}

@media (max-width: 768px) {
  .navbar__menu {
    display: none;
    width: 100%;
    order: 3;
    padding-top: 0.75rem;
  }

  .navbar__menu.open {
    display: block;
  }

  .menu__list {
    flex-direction: column;
    gap: 0.3rem;
    padding: 0.5rem 0;
  }

  .menu__link {
    display: block;
    padding: 0.5rem 0.5rem;
    border-bottom: none;
    border-left: 3px solid transparent;
  }

  .menu__link:hover,
  .menu__link.active {
    border-left-color: #f0a868;
    border-bottom-color: transparent;
    background: #1f1b17;
    padding-left: 1rem;
  }

  .menu-toggle {
    display: flex;
  }

  .footer__container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .navbar__actions {
    gap: 0.5rem;
  }
  
  .logout-btn {
    padding: 0.2rem 0.7rem;
    font-size: 0.75rem;
  }
  
  .logout-btn::before {
    width: 12px;
    height: 12px;
  }
}

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

  .navbar__brand {
    font-size: 1.1rem;
  }

  .user-badge {
    font-size: 0.75rem;
    padding: 0.2rem 0.7rem;
  }
}