:root {
  --green-main: #5F8F8B;
  --green-soft: #A7C4BE;
  --gold: #F2C879;
  --orange-soft: #E29A5A;
  --bg-main: #F6F4F1;
  --bg-card: #FFFFFF;
  --border-light: #E6E3DE;
  --text-main: #2F2F2F;
  --text-secondary: #6B6B6B;
  --text-muted: #9A9A9A;
  --ink: var(--text-main);
  --paper: var(--bg-main);
  --accent: var(--orange-soft);
  --accent-2: var(--green-main);
  --shadow: rgba(16, 16, 16, 0.18);
  --glass: rgba(255, 255, 255, 0.65);
  --radius: 18px;
}

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

body {
  font-family: "Baskerville", "Garamond", "Palatino Linotype", "Book Antiqua", serif;
  color: var(--text-main);
  background: var(--bg-main);
  min-height: 100vh;
  display: flex;
  justify-content: stretch;
  align-items: stretch;
  padding: 0;
}

.page {
  width: 100%;
  min-height: 100vh;
  background: var(--bg-main);
  border-radius: 0;
  box-shadow: 0 24px 60px var(--shadow);
  overflow: hidden;
  position: relative;
}

.page::before,
.page::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  filter: blur(0.5px);
  opacity: 0.18;
  z-index: 0;
}

.page::before {
  background: radial-gradient(circle, #c44a2a, transparent 70%);
  top: -80px;
  right: -60px;
}

.page::after {
  background: radial-gradient(circle, #1d6b78, transparent 70%);
  bottom: -120px;
  left: -80px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 40px;
  position: relative;
  z-index: 1;
  border-bottom: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  gap: 24px;
}

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

.header-nav {
  justify-content: flex-end;
}

.header-nav a {
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.header-search {
  flex: 1;
  max-width: 380px;
  margin: 0 16px;
}

.landing-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.landing-actions .btn {
  padding: 8px 18px;
  font-size: 0.9rem;
  text-transform: none;
  letter-spacing: 0.03em;
}

.landing {
  padding: 40px 40px 60px;
  display: grid;
  gap: 48px;
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 32px;
  align-items: center;
  padding: 36px 32px;
  border-radius: 32px;
  background-image:
    linear-gradient(90deg, rgba(255, 252, 247, 0.92) 0%, rgba(255, 252, 247, 0.7) 45%, rgba(255, 252, 247, 0.2) 100%),
    url("banner.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.landing-text h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 14px;
}

.landing-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 18px;
}

.landing-text {
  margin-left: 0;
  padding-left: 0;
  max-width: 560px;
  justify-self: start;
  text-align: left;
}

.landing-visual {
  position: relative;
  display: grid;
  justify-items: start;
  gap: 20px;
  align-self: center;
}

.landing-text {
  order: 2;
}

.landing-visual {
  order: 1;
}

.hero-illustration {
  display: none;
}

.login-card {
  width: min(300px, 100%);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.12);
  display: grid;
  gap: 10px;
  margin-top: 0;
}

.login-card .form-card {
  gap: 12px;
}

.login-card h3 {
  font-size: 1.15rem;
}

.login-card label {
  font-size: 0.95rem;
}

.login-card input {
  padding: 10px 12px;
  font-size: 0.95rem;
}

.align-right {
  text-align: right;
  display: block;
}

.social-row {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.social-row .icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(29, 107, 120, 0.12);
  display: grid;
  place-items: center;
  font-weight: 600;
}

.landing-blog {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 28px;
}

.section-head {
  margin-bottom: 16px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.blog-card {
  background: var(--bg-card);
  border-radius: 18px;
  padding: 16px;
  display: grid;
  gap: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 16px 26px rgba(0, 0, 0, 0.08);
  min-height: 260px;
}

.blog-thumb {
  height: 150px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(29, 107, 120, 0.35), rgba(255, 255, 255, 0.75));
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.blog-thumb.alt {
  background: linear-gradient(135deg, rgba(196, 74, 42, 0.3), rgba(255, 255, 255, 0.7));
}

.blog-thumb.warm {
  background: linear-gradient(135deg, rgba(202, 168, 90, 0.35), rgba(255, 255, 255, 0.75));
}

.blog-aside {
  display: grid;
  gap: 16px;
}

.callout-card {
  background: rgba(255, 255, 255, 0.82);
  border-radius: 18px;
  padding: 18px;
  display: grid;
  gap: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.06);
}

.callout-list {
  list-style: none;
  display: grid;
  gap: 8px;
}

.book-stack {
  height: 120px;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(29, 107, 120, 0.25), rgba(196, 74, 42, 0.2));
}

.partner-row {
  display: grid;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(27, 27, 27, 0.7);
}

.nav a,
.nav .modal-trigger {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.nav a:hover,
.nav .modal-trigger:hover {
  color: var(--accent-2);
  border-color: rgba(29, 107, 120, 0.35);
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}


.logo-mark {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: conic-gradient(from 210deg, #c44a2a, #caa85a, #1d6b78, #c44a2a);
  position: relative;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.6);
  overflow: hidden;
}

.logo-mark::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.8);
}

.logo-mark.logo-image {
  background: transparent;
}

.logo-mark.logo-image::after {
  display: none;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.logo-text h1 {
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.logo-text span {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(27, 27, 27, 0.7);
}

main {
  padding: 48px 40px 56px;
  display: grid;
  gap: 32px;
  position: relative;
  z-index: 1;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  align-items: center;
}

.banner-highlight {
  margin-bottom: 12px;
}

.banner-highlight img {
  width: 100%;
  height: clamp(280px, 42vw, 480px);
  object-fit: cover;
  border-radius: calc(var(--radius) + 10px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
  display: block;
}

.hero-card {
  background: var(--glass);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.blog-area {
  display: grid;
  gap: 18px;
}

.blog-card-group {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  padding: 20px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
  display: grid;
  gap: 18px;
}

.blog-area h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  margin-bottom: 6px;
}

.blog-area .section-head {
  display: grid;
  gap: 8px;
  margin: 0;
}

.blog-area .section-head p {
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 520px;
}

.blog-area .section-head .btn {
  white-space: nowrap;
}

.blog-area .section-head .inline-link {
  margin-top: 12px;
  display: inline-flex;
  align-self: flex-start;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  margin-bottom: 12px;
}

.search-area {
  display: grid;
  gap: 16px;
}

.search-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 26px;
  align-items: stretch;
}

.search-intro {
  background: rgba(255, 255, 255, 0.7);
  border-radius: calc(var(--radius) + 6px);
  padding: 24px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
  display: grid;
  gap: 12px;
}

.search-area h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  margin-bottom: 6px;
}

.search-intro p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.search-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  border: 1px solid rgba(29, 107, 120, 0.25);
  background: rgba(29, 107, 120, 0.08);
  color: var(--accent-2);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.chip:hover {
  border-color: rgba(29, 107, 120, 0.45);
}

.search-note {
  font-size: 0.9rem;
  color: rgba(27, 27, 27, 0.6);
}

.club-area {
  display: grid;
}

.club-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 24px;
  padding: 26px;
  border-radius: calc(var(--radius) + 8px);
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.7));
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
  align-items: center;
}

.club-text h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  margin: 10px 0 12px;
}

.club-text p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.club-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.club-stats {
  display: grid;
  gap: 14px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 18px;
  padding: 18px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.club-stats strong {
  font-size: 1.5rem;
  color: var(--accent-2);
}

.club-stats span {
  display: block;
  font-size: 0.9rem;
  color: rgba(27, 27, 27, 0.65);
}

.about-area {
  display: grid;
}

.about-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px;
  padding: 26px;
  border-radius: calc(var(--radius) + 8px);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
  align-items: center;
}

.about-text h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  margin: 10px 0 12px;
}

.about-text p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.about-highlight {
  display: grid;
  gap: 14px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  padding: 18px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.about-highlight strong {
  font-size: 1.5rem;
  color: var(--accent-2);
}

.about-highlight span {
  display: block;
  font-size: 0.9rem;
  color: rgba(27, 27, 27, 0.65);
}

.search-card {
  background: rgba(255, 255, 255, 0.8);
  border-radius: calc(var(--radius) + 6px);
  padding: 22px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  display: grid;
  gap: 16px;
}

.search-field input {
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.95);
  font-family: inherit;
  font-size: 1rem;
}

.search-actions {
  display: grid;
  gap: 16px;
}

.search-actions .btn {
  justify-self: start;
  padding: 8px 16px;
  font-size: 0.9rem;
}

.search-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.search-filters label {
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(27, 27, 27, 0.65);
}

.search-filters select {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.9);
  font-family: inherit;
}

.hero p {
  font-size: 1.05rem;
  line-height: 1.6;
}

.form-card {
  display: grid;
  gap: 18px;
}

.banner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px;
  align-items: stretch;
}

.banner-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 10px 0 14px;
}

.banner-text p {
  font-size: 1.05rem;
  line-height: 1.7;
}

.banner-panel {
  background: var(--glass);
  border-radius: calc(var(--radius) + 6px);
  padding: 26px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
  display: grid;
  gap: 20px;
  align-content: start;
}

.banner-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
}

.banner-metrics strong {
  display: block;
  font-size: 1.4rem;
  color: var(--accent-2);
}

.banner-metrics span {
  font-size: 0.9rem;
  color: rgba(27, 27, 27, 0.7);
}

.banner-quote {
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.75);
  border-left: 4px solid var(--gold);
  display: grid;
  gap: 10px;
}

.banner-quote p {
  font-size: 1rem;
  line-height: 1.6;
}

.summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.summary-card {
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.07);
}

.summary-card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.summary-card p {
  line-height: 1.6;
  color: rgba(27, 27, 27, 0.78);
}

.categories {
  display: grid;
  gap: 20px;
}

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

.section-header h3 {
  font-size: 1.5rem;
  margin-top: 6px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.category-card {
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.06);
  display: grid;
  gap: 10px;
}

.category-card h4 {
  font-size: 1.1rem;
}

.category-card p {
  color: rgba(27, 27, 27, 0.75);
  line-height: 1.5;
}

.category-meta {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(27, 27, 27, 0.6);
}

.section-link {
  color: inherit;
  text-decoration: none;
}

.section-link:hover {
  color: var(--accent-2);
}

.dashboard-body {
  align-items: flex-start;
  padding: 0;
}

.dashboard {
  max-width: none;
  margin: 0;
  width: 100%;
}

.dash-header {
  display: grid;
  grid-template-columns: auto minmax(240px, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 22px 32px;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.75);
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.search-bar input {
  border: none;
  background: transparent;
  padding: 6px 4px;
  font-size: 0.95rem;
}

.search-bar input:focus {
  outline: none;
}

.search-icon {
  font-size: 0.95rem;
  color: rgba(27, 27, 27, 0.6);
}

.dash-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.icon-btn {
  border: none;
  background: rgba(255, 255, 255, 0.75);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  cursor: pointer;
}

.icon {
  font-size: 1.05rem;
}

.user-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.75);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.9rem;
}

.user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1d6b78, #c44a2a);
}

.dash-nav {
  display: flex;
  gap: 16px;
  padding: 14px 32px 18px;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.dash-link {
  text-decoration: none;
  color: rgba(27, 27, 27, 0.75);
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
}

.dash-link.active {
  color: var(--accent-2);
  font-weight: 600;
}

.dash-layout {
  display: grid;
  grid-template-columns: minmax(200px, 0.8fr) minmax(0, 2fr) minmax(220px, 0.9fr);
  gap: 24px;
  padding: 28px 32px 40px;
}

.dash-card {
  background: rgba(255, 255, 255, 0.78);
  border-radius: 18px;
  padding: 20px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.06);
}

.profile-card {
  display: grid;
  gap: 16px;
}

.profile-top {
  display: flex;
  gap: 12px;
  align-items: center;
}

.profile-avatar {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: url('logoGato.png') center/cover no-repeat;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.profile-stats {
  display: grid;
  gap: 10px;
}

.profile-stats div {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

.mini-card h4 {
  margin: 10px 0 8px;
}

.progress-line {
  height: 8px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.progress-line span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #1d6b78, #caa85a);
}

.pill-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pill {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.8rem;
}

.dash-main {
  display: grid;
  gap: 20px;
}

.welcome h2 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.quote-card {
  background: rgba(29, 107, 120, 0.15);
  padding: 14px 18px;
  border-radius: 14px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.stat-card strong {
  font-size: 1.6rem;
  display: block;
  margin-top: 8px;
}

.dash-row {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 18px;
}

.tracker-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin: 18px 0;
}

.tracker-grid span {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  background: rgba(29, 107, 120, 0.18);
}

.tracker-grid span:nth-child(odd) {
  background: rgba(196, 74, 42, 0.18);
}

.tracker-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(27, 27, 27, 0.7);
}

.challenge {
  display: grid;
  gap: 16px;
  justify-items: center;
  text-align: center;
}

.challenge-progress {
  font-size: 1.4rem;
}

.progress-ring {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: conic-gradient(#1d6b78 40%, rgba(0, 0, 0, 0.08) 0);
  display: grid;
  place-items: center;
}

.ring-center {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  display: grid;
  place-items: center;
  font-weight: 600;
}

.shelf {
  display: grid;
  gap: 16px;
}

.shelf-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.shelf-books {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 14px;
}

.book-cover,
.book-add {
  height: 160px;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(29, 107, 120, 0.25), rgba(196, 74, 42, 0.25));
  display: grid;
  place-items: center;
  font-weight: 600;
  position: relative;
}

.book-cover span {
  position: absolute;
  bottom: 10px;
  font-size: 0.75rem;
  color: rgba(27, 27, 27, 0.7);
}

.book-add {
  background: rgba(255, 255, 255, 0.6);
  border: 1px dashed rgba(0, 0, 0, 0.2);
  font-weight: 500;
}

.dash-aside {
  display: grid;
  gap: 20px;
}

.card-header {
  display: grid;
  gap: 6px;
  margin-bottom: 10px;
}

.bubble-chart {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.bubble-chart span {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(29, 107, 120, 0.15);
  font-size: 0.8rem;
}

.matcher-content {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  align-items: center;
}

.matcher-cover {
  height: 120px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(196, 74, 42, 0.4), rgba(29, 107, 120, 0.35));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 600;
  text-align: center;
}

.project-list {
  display: grid;
  gap: 16px;
}

label {
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-main);
}

input,
textarea,
select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-main);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.btn {
  padding: 12px 20px;
  border-radius: 999px;
  border: none;
  background: var(--orange-soft);
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

header .btn {
  padding: 8px 16px;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.btn.secondary {
  background: var(--green-main);
}

.btn.ghost {
  background: transparent;
  color: var(--green-main);
  border: 1px solid var(--green-soft);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.helper {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.lists {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.list-card {
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
}

.list-card h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.list-card ul {
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 0.98rem;
}

.list-card li {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  border-left: 3px solid var(--gold);
}

.tag {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(27, 27, 27, 0.55);
}

footer {
  padding: 24px 40px 36px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.95rem;
  color: rgba(27, 27, 27, 0.7);
  display: grid;
  gap: 20px;
  background: rgba(255, 255, 255, 0.7);
}

.site-footer .footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 26px;
}

.footer-brand h3 {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 10px;
}

.footer-brand p {
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-social a {
  text-decoration: none;
  color: var(--accent-2);
  font-weight: 600;
  font-size: 0.9rem;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links h4,
.footer-news h4 {
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 6px;
}

.footer-links a {
  text-decoration: none;
  color: rgba(27, 27, 27, 0.72);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--accent-2);
}

.footer-news p {
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
}

.footer-form {
  display: grid;
  gap: 8px;
}

.footer-form label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.footer-form input {
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.9);
  font-family: inherit;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 16px;
  font-size: 0.85rem;
  color: rgba(27, 27, 27, 0.6);
}

.modal-toggle {
  position: fixed;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(18, 18, 18, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 20;
}

.modal-toggle:checked ~ .modal {
  display: flex;
}

.modal-card {
  width: min(520px, 100%);
  background: rgba(255, 255, 255, 0.98);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  padding: 24px;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.modal-close {
  text-decoration: none;
  font-size: 1.6rem;
  color: rgba(27, 27, 27, 0.6);
  line-height: 1;
}

.modal-body {
  display: grid;
  gap: 14px;
}

.fade-up {
  animation: fadeUp 0.8s ease both;
}

.fade-delay {
  animation-delay: 0.18s;
}

.fade-delay-2 {
  animation-delay: 0.36s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 720px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  main {
    padding: 36px 24px 44px;
  }

  .banner {
    grid-template-columns: 1fr;
  }

  .section-header {
    align-items: flex-start;
  }

  .landing {
    padding: 28px 24px 40px;
  }

  .landing-hero,
  .landing-blog {
    grid-template-columns: 1fr;
  }

  .landing-actions {
    width: 100%;
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .login-card {
    margin-top: 0;
    width: 100%;
  }

  .dash-header {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .dash-nav {
    padding: 10px 24px 16px;
  }

  .dash-layout {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .dash-row {
    grid-template-columns: 1fr;
  }

  .matcher-content {
    grid-template-columns: 1fr;
  }

  footer {
    padding: 20px 24px 30px;
  }

  .footer-form-row {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .search-shell {
    grid-template-columns: 1fr;
  }

  .search-actions .btn {
    justify-self: stretch;
  }

  .club-card {
    grid-template-columns: 1fr;
  }

  .about-card {
    grid-template-columns: 1fr;
  }
}
