:root {
  --bg: #f6f8fb;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Header */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.brand-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  font-size: 15px;
  font-weight: 600;
  color: #374151;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 14px;
  transition: 0.2s ease;
  border: 1px solid transparent;
}

.btn-light {
  background: #fff;
  color: #374151;
  border-color: var(--line);
}

.btn-light:hover {
  background: #f9fafb;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

/* Main wrapper helper */
.page-shell {
  min-height: calc(100vh - 140px);
  padding-top: 78px;
}

/* Footer */

.site-footer {
  margin-top: 60px;
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 20px 40px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.footer-links {
  margin: 0 0 12px;
}

.footer-links a {
  margin: 0 10px;
  color: var(--primary);
}

.footer-links a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .nav-wrap {
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
  }

  .nav-actions {
    margin-left: auto;
  }
}

@media (max-width: 640px) {
  .brand-text {
    font-size: 16px;
  }

  .nav-actions {
    width: 100%;
    justify-content: center;
  }
}

.auth-overlay{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;

  background:rgba(255,255,255,0.2);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);

  display:flex;
  align-items:center;
  justify-content:center;

  z-index:9999;
}

.auth-box{
  width:360px;
  background:white;
  border-radius:12px;
  padding:22px;

  box-shadow:0 20px 60px rgba(0,0,0,0.2);
}
