@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700&display=swap");

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Montserrat", system-ui, sans-serif;
  background: url("wallpaper.jpg") center / cover no-repeat fixed;
  color: #3f4a3c;
}

.header {
  position: relative;
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.header h1 {
  margin: 0;
  font-size: 2.2rem;
  font-weight: 700;
}

.cat {
  width: 90px;
  image-rendering: pixelated;
}

.widgets {
  max-width: 1100px;
  margin: 36px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.widget-card {
  background: rgba(245, 247, 238, 0.9);
  backdrop-filter: blur(8px);
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow: 0 12px 30px rgba(40, 45, 35, 0.25);
}

.widget-card h2 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 700;
}

.widget-card p,
.widget-card li {
  font-size: 0.9rem;
  line-height: 1.45;
}

.widget-card ul {
  margin: 0;
  padding-left: 16px;
}

.main-content {
  max-width: 1000px;
  margin: 56px auto 120px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.section {
  background: rgba(245, 247, 238, 0.9);
  border-radius: 22px;
  padding: 30px 34px;
  box-shadow: 0 14px 36px rgba(40, 45, 35, 0.25);
}

.section.diary {
  grid-column: 1 / -1;
  min-height: 520px;
}

.section h2 {
  margin: 0 0 18px;
  font-size: 1.2rem;
  font-weight: 700;
}

.entry h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 600;
}

.entry time {
  display: block;
  font-size: 0.75rem;
  opacity: 0.7;
  margin-bottom: 12px;
}

.entry p {
  font-size: 0.9rem;
  line-height: 1.5;
}

.card {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10;
  background: rgba(58, 64, 55, 0.85);
  backdrop-filter: blur(10px);
  padding: 14px 18px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 12px 30px rgba(40, 45, 35, 0.35);
}

.card img {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
}

.text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.track {
  font-weight: 600;
  font-size: 0.95rem;
  color: #eef2e6;
}

.artist {
  font-size: 0.85rem;
  color: #cfd6c3;
}

.status {
  font-size: 0.7rem;
  color: #aeb7a0;
  letter-spacing: 0.04em;
}

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

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