@import url("https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@500;600;700;800&family=Manrope:wght@400;500;600;700&display=swap");

:root {
  --bg: #eef3f7;
  --panel: #ffffff;
  --ink: #14202c;
  --accent: #0d6dff;
  --accent-2: #00a4a6;
  --muted: #596778;
  --line: #cfdae6;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 0% 0%, rgba(13, 109, 255, 0.18) 0, transparent 28%),
    radial-gradient(circle at 100% 0%, rgba(0, 164, 166, 0.14) 0, transparent 30%),
    var(--bg);
}

h1,
h2,
h3,
button {
  font-family: "Barlow Semi Condensed", "Trebuchet MS", sans-serif;
  letter-spacing: 0.03em;
}

.auth-shell,
.dashboard-shell {
  min-height: 100vh;
  width: min(980px, 92%);
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.card,
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.2rem;
  box-shadow: 0 10px 32px rgba(21, 45, 77, 0.08);
}

.grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.home-shell {
  display: grid;
  gap: 1rem;
  align-content: center;
}

.home-hero {
  background:
    linear-gradient(130deg, rgba(13, 109, 255, 0.18), rgba(0, 164, 166, 0.05) 55%),
    linear-gradient(180deg, #ffffff, #f5f9ff);
  position: relative;
  overflow: hidden;
}

.home-hero::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 164, 166, 0.2), rgba(0, 164, 166, 0));
  pointer-events: none;
}

.home-hero h1 {
  margin: 0.2rem 0 0.7rem;
  max-width: 18ch;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--accent);
}

.hero-copy {
  margin: 0;
  max-width: 64ch;
  color: #304257;
  font-size: 1.04rem;
}

.hero-points {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero-points span {
  border: 1px solid #bfd2ea;
  background: #f4f9ff;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
}

.auth-card {
  padding: 0;
  overflow: hidden;
  border-top: 3px solid var(--accent);
}

.auth-card-head {
  padding: 1.2rem 1.2rem 0.4rem;
}

.auth-card-head h2 {
  margin: 0;
}

.auth-card-head p {
  margin: 0.45rem 0 0;
  color: var(--muted);
}

.auth-grid {
  gap: 0;
}

.auth-pane {
  padding: 1.2rem;
}

.auth-pane:first-child {
  border-right: 1px solid var(--line);
}

.auth-pane h3 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
  text-transform: uppercase;
}

.auth-pane button {
  margin-top: 0.35rem;
}

.auth-hint {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.home-page {
  color: #edf3fb;
  background:
    radial-gradient(circle at 8% -10%, rgba(221, 169, 92, 0.22), transparent 30%),
    radial-gradient(circle at 100% 0%, rgba(80, 131, 204, 0.2), transparent 36%),
    linear-gradient(180deg, #0d121a, #141e2a 42%, #121a24);
}

.home-page .card {
  background: linear-gradient(180deg, rgba(23, 32, 45, 0.92), rgba(18, 26, 36, 0.92));
  border: 1px solid rgba(198, 164, 104, 0.38);
  box-shadow: 0 14px 36px rgba(2, 8, 16, 0.5);
}

.home-page .home-hero {
  background:
    linear-gradient(125deg, rgba(198, 164, 104, 0.18), rgba(55, 93, 143, 0.16) 56%),
    linear-gradient(180deg, rgba(24, 34, 48, 0.98), rgba(20, 29, 40, 0.98));
}

.home-page .home-hero::after {
  background: radial-gradient(circle, rgba(198, 164, 104, 0.28), rgba(198, 164, 104, 0));
}

.home-page .eyebrow {
  color: #e7c487;
}

.home-page .home-hero h1,
.home-page .auth-card-head h2,
.home-page .auth-pane h3 {
  color: #f8fbff;
}

.home-page .hero-copy,
.home-page .auth-card-head p,
.home-page .auth-hint {
  color: #bcc9d8;
}

.home-page .hero-points span {
  border: 1px solid rgba(198, 164, 104, 0.5);
  background: rgba(15, 24, 36, 0.62);
  color: #e7eef8;
}

.home-page .auth-card {
  border-top: 3px solid #c6a468;
}

.home-page .auth-pane:first-child {
  border-right: 1px solid rgba(198, 164, 104, 0.28);
}

.home-page input,
.home-page textarea,
.home-page select {
  border: 1px solid rgba(163, 183, 210, 0.35);
  background: rgba(11, 18, 26, 0.72);
  color: #edf3fb;
}

.home-page input::placeholder,
.home-page textarea::placeholder {
  color: #8ea0b7;
}

.home-page input:focus,
.home-page textarea:focus,
.home-page select:focus {
  outline: 2px solid rgba(198, 164, 104, 0.28);
  border-color: #c6a468;
}

.home-page button {
  background: linear-gradient(90deg, #c6a468, #dbbf87);
  color: #1a222e;
  box-shadow: 0 10px 24px rgba(198, 164, 104, 0.22);
}

.home-page button:hover {
  box-shadow: 0 12px 28px rgba(198, 164, 104, 0.36);
}

.home-page .topbar {
  background: linear-gradient(180deg, rgba(23, 32, 45, 0.92), rgba(18, 26, 36, 0.92));
  border: 1px solid rgba(198, 164, 104, 0.28);
  border-radius: 12px;
  padding: 1.2rem;
  margin-bottom: 1.5rem;
}

.home-page .topbar h1 {
  margin: 0;
  font-size: 1.5rem;
  color: #f8fbff;
}

.home-page .topbar p {
  margin: 0.4rem 0 0;
  color: #bcc9d8;
  font-size: 0.95rem;
}

.home-page .topbar strong {
  color: #e7c487;
}

.home-page .topbar button.secondary {
  background: rgba(94, 111, 99, 0.7);
  color: #f8fbff;
  border: 1px solid rgba(198, 164, 104, 0.28);
}

.home-page .topbar button.secondary:hover {
  background: rgba(94, 111, 99, 0.9);
  box-shadow: 0 8px 20px rgba(198, 164, 104, 0.16);
}

.home-page .panel {
  background: linear-gradient(180deg, rgba(23, 32, 45, 0.92), rgba(18, 26, 36, 0.92));
  border: 1px solid rgba(198, 164, 104, 0.28);
}

.home-page .panel h2 {
  color: #f8fbff;
  margin-top: 0;
}

.home-page .panel p {
  color: #bcc9d8;
}

.home-page .resource-list li {
  background: rgba(11, 18, 26, 0.5);
  border: 1px solid rgba(198, 164, 104, 0.28);
  color: #edf3fb;
}

.home-page .resource-list h3 {
  color: #f8fbff;
}

.home-page .resource-list p {
  color: #bcc9d8;
}

.home-page .resource-type {
  color: #a3b7d2;
}

.home-page .resource-list a {
  background: linear-gradient(90deg, #c6a468, #dbbf87);
  color: #1a222e;
  border: 0;
  border-radius: 8px;
  padding: 0.6rem 1rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
}

.home-page .resource-list a:hover {
  box-shadow: 0 8px 20px rgba(198, 164, 104, 0.3);
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

input,
textarea,
select,
button {
  font: inherit;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.6rem 0.7rem;
  background: #fff;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(13, 109, 255, 0.18);
  border-color: var(--accent);
}

button {
  border: 0;
  border-radius: 10px;
  padding: 0.7rem 1rem;
  background: linear-gradient(90deg, var(--accent), #2682ff);
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: transform 140ms ease, box-shadow 140ms ease;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(13, 109, 255, 0.26);
}

button.secondary {
  background: #5e6f63;
}

.resource-form {
  max-width: 600px;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkbox input {
  width: auto;
}

.resource-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.8rem;
}

.resource-list li {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.resource-type {
  margin: 0;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 0.82rem;
}

.resource-list h3 {
  margin: 0.3rem 0;
}

.resource-list p {
  margin: 0.2rem 0;
}

@media (max-width: 760px) {
  .grid-two {
    grid-template-columns: 1fr;
  }

  .home-hero h1 {
    max-width: 100%;
  }

  .auth-pane:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .resource-list li {
    flex-direction: column;
  }
}
