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

body {
  font-family: 'Nunito', sans-serif;
  background: linear-gradient(135deg, #fff8f5 0%, #fef3ff 50%, #f0feff 100%);
  min-height: 100vh;
  color: #2d1b4e;
}

a { color: #8b5cf6; text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header {
  background: #fff;
  box-shadow: 0 4px 24px rgba(232, 67, 147, 0.10);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  background: linear-gradient(white, white) padding-box,
    conic-gradient(#e84393, #f97316, #f59e0b, #22c55e, #06b6d4, #8b5cf6, #e84393) border-box;
  border: 3px solid transparent;
}

.brand strong {
  display: block;
  font-family: 'Quicksand', sans-serif;
  font-size: 16px;
}

.brand small {
  display: block;
  font-size: 11px;
  color: #9b8aab;
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.site-nav a {
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #6b5b85;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 10px;
}

.site-nav a.active,
.site-nav a:hover {
  background: #f3e8ff;
  color: #2d1b4e;
  text-decoration: none;
}

.nav-user {
  font-size: 13px;
  color: #9b8aab;
  font-weight: 600;
}

.site-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 20px 60px;
}

.site-footer {
  text-align: center;
  padding: 24px 20px 40px;
  color: #9b8aab;
  font-size: 13px;
}

.footer-note {
  margin-top: 6px;
  font-size: 11px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.flash {
  padding: 14px 18px;
  border-radius: 14px;
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 14px;
}

.flash-success { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.flash-error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.flash-info { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }

.hero {
  text-align: center;
  margin-bottom: 32px;
}

.hero h1 {
  font-family: 'Quicksand', sans-serif;
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 10px;
}

.hero h1 span {
  background: linear-gradient(90deg, #e84393, #f97316, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  color: #9b8aab;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}

.eval-card {
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.eval-card h2 {
  font-family: 'Quicksand', sans-serif;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
}

.eval-card p {
  font-size: 13px;
  color: #6b5b85;
  line-height: 1.5;
  flex: 1;
}

.eval-price {
  font-family: 'Quicksand', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #e84393;
}

.badge-owned {
  display: inline-block;
  background: #ecfdf5;
  color: #047857;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 10px;
  border-radius: 999px;
}

.card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 14px;
  font-family: 'Quicksand', sans-serif;
  font-size: 14px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(135deg, #e84393, #8b5cf6);
  color: #fff;
  box-shadow: 0 6px 20px rgba(232, 67, 147, 0.28);
}

.btn-secondary {
  background: #fff;
  color: #6b5b85;
  border: 2px solid #f3e8ff;
}

.btn-success {
  background: linear-gradient(135deg, #22c55e, #06b6d4);
  color: #fff;
}

.auth-card {
  max-width: 460px;
  margin: 0 auto;
  background: #fff;
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.10);
}

.auth-card h1 {
  font-family: 'Quicksand', sans-serif;
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 8px;
}

.auth-card .subtitle {
  color: #9b8aab;
  font-size: 14px;
  margin-bottom: 22px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9b8aab;
  margin-bottom: 6px;
}

.form-group input {
  width: 100%;
  border: 2px solid #f3e8ff;
  border-radius: 12px;
  padding: 11px 14px;
  font-size: 14px;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  color: #2d1b4e;
  background: #fafafa;
}

.form-group input:focus {
  outline: none;
  border-color: #e84393;
  background: #fff;
}

.form-error {
  background: #fef2f2;
  color: #b91c1c;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

.auth-links {
  margin-top: 16px;
  text-align: center;
  font-size: 13px;
  color: #9b8aab;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.dashboard-header h1 {
  font-family: 'Quicksand', sans-serif;
  font-size: 28px;
  font-weight: 800;
}

.empty-state {
  background: #fff;
  border-radius: 20px;
  padding: 40px 24px;
  text-align: center;
  color: #9b8aab;
}

@media (max-width: 640px) {
  .site-header-inner { flex-direction: column; align-items: flex-start; }
  .site-nav { width: 100%; }
}
