﻿:root {
  --bg: #f5f2ee;
  --ink: #1d1b1a;
  --muted: #6b645f;
  --card: #ffffff;
  --accent: #b44d2a;
  --accent-2: #2a6bb4;
  --shadow: 0 10px 30px rgba(0,0,0,0.08);
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1000px 400px at 10% -10%, rgba(180,77,42,0.18), transparent 60%),
    radial-gradient(900px 300px at 90% -5%, rgba(42,107,180,0.18), transparent 60%),
    url('../img/noise.svg'),
    var(--bg);
  background-attachment: fixed;
}
body.loaded  .card {
  animation: float-in 420ms ease both;
}
@keyframes float-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 8vw 0 8vw;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.logo {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
}
.logo img {
  width: 28px;
  height: 28px;
}
.brand h1 {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  margin: 0;
}
.sub {
  margin: 4px 0 0 0;
  color: var(--muted);
  font-size: 14px;
}
.logout {
  color: var(--ink);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.7);
}
main {
  padding: 18px 8vw 60px 8vw;
}
.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: center;
  margin-top: 10px;
}
.hero h2 {
  font-family: 'Fraunces', serif;
  font-size: 38px;
  margin: 0 0 10px 0;
}
.hero p {
  color: var(--muted);
  margin: 0 0 16px 0;
}
.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.search {
  flex: 1 1 280px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.08);
  background: white;
  font-size: 15px;
}
.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chip {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.1);
  background: transparent;
  cursor: pointer;
}
.chip.active {
  background: var(--ink);
  color: white;
}
.grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}
 .card {
  background: var(--card);
  padding: 10px;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.12);
}
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.title-row {
  display: flex;
  align-items: center;
  gap: 5px;
}
.app-icon {
  width: 12px;
  height: 12px;
  filter: grayscale(100%);
  opacity: 0.8;
}
.card h3 {
  margin: 0;
  font-size: 15px;
}
.badge {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: rgba(0,0,0,0.07);
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 12px;
}
.badge-logo {
  background: white;
  border: 1px solid rgba(0,0,0,0.06);
}
.badge-logo img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}
.tag {
  font-size: 12px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(0,0,0,0.06);
}
.url {
  font-size: 9px;
  color: var(--muted);
  word-break: break-all;
  margin: 0;
}
.open {
  margin-top: auto;
  align-self: flex-start;
  padding: 3px 7px;
  border-radius: 8px;
  background: var(--accent);
  color: white;
  font-size: 9px;
}
.section-title {
  margin: 24px 0 8px 0;
  font-family: 'Fraunces', serif;
}
.login-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 6vw;
}
.login-card {
  width: min(420px, 100%);
  background: white;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 26px;
}
.login-card h2 {
  font-family: 'Fraunces', serif;
  margin: 0 0 8px 0;
}
.field {
  display: grid;
  gap: 6px;
  margin-top: 14px;
}
.field input {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.1);
  font-size: 15px;
}
.btn {
  width: 100%;
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 12px;
  border: none;
  background: var(--ink);
  color: white;
  font-size: 15px;
  cursor: pointer;
}
.error {
  color: #b00020;
  margin-top: 10px;
  font-size: 13px;
}
@media (max-width: 1200px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .grid { grid-template-columns: 1fr; }
}










