@import url("https://fonts.googleapis.com/css2?family=Pirata+One&family=Space+Grotesk:wght@400;500;600&display=swap");

:root {
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #04050a;
  color: #f9f7f2;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 215, 0, 0.2), transparent 35%),
    radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.08), transparent 40%),
    linear-gradient(180deg, #030409 0%, #0b0f1c 35%, #04050a 100%);
}

.app-shell {
  min-height: 100vh;
  padding: clamp(1.5rem, 3vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  background: rgba(8, 11, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  padding: clamp(1.5rem, 2vw, 2.5rem);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.45);
}

.hero__content {
  max-width: 640px;
}

.hero__hud {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: min(280px, 100%);
}

.hero h1 {
  margin: 0.3rem 0;
  font-size: clamp(2rem, 4vw, 3rem);
  font-family: "Pirata One", "Times New Roman", serif;
  letter-spacing: 0.04em;
}

.hero .lead {
  margin: 0;
  color: #cfcfc0;
  line-height: 1.5;
}

.hero__actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.hero__note {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: #a49b6b;
}

.hero__hud .hud-card {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 1rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-transform: uppercase;
  font-size: 0.9rem;
}

.hero__hud .hud-card p {
  margin: 0.2rem 0;
}

.hero__hud #haul-count,
.hero__hud #sea-state,
.hero__hud #last-run {
  font-size: 1.4rem;
  font-weight: 600;
  color: #f6be4b;
}

input[type="search"] {
  flex: 1;
  min-width: 200px;
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #fefefe;
}

button {
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(135deg, #f6be4b, #e68a2e);
  color: #050409;
  transition: transform 0.2s ease;
}

button:hover {
  transform: translateY(-1px);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.card {
  background: rgba(7, 10, 22, 0.9);
  border-radius: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.35);
}

.card__media {
  width: 100%;
  height: 160px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.3), rgba(17, 24, 39, 0.9));
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.card__body .title {
  margin: 0;
  font-size: 1.15rem;
}

.card__body .summary {
  margin: 0;
  color: #d5d6d3;
  font-size: 0.95rem;
  line-height: 1.4;
}

.card__body .meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #a0926f;
}

.eyebrow {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: #a5a59c;
}

.read-more {
  margin-top: auto;
  color: #f6be4b;
  text-decoration: none;
  font-weight: 600;
}

@media (max-width: 800px) {
  .hero {
    flex-direction: column;
  }
  .hero__hud {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
  }
  .hero__actions {
    flex-direction: column;
  }
}
