@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

:root {
  --bg: #e4e4e589;
  --card: rgba(239, 242, 245, 0.916);
  --card-border:rgb(9, 9, 9);
  --text: rgb(10, 9, 9);
  --muted: rgba(230, 15, 15);
  --accent: rgba(230, 15, 15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", system-ui;
}

body {
  background: var(--bg);
  color: var(--text);
  display: flex;
  justify-content: center;
  min-height: 100vh;
}

/* APP */
.app {
  width: 100%;
  max-width: 420px;
  padding: 18px;
}

/* HEADER BLOCK */
header {
  margin-bottom: 16px;
}

header h1 {
  font-size: 24px;
  font-weight: 700;
}

header p {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

/* CALENDAR WRAPPER */
.calendar {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 16px;
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}

/* TOP NAV MONTH */
.month {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.month h2 {
  font-size: 16px;
  font-weight: 600;
}

.month button {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid var(--card-border);
  background: rgb(9, 9, 9);
  color: rgb(240, 45, 10);
  font-size: 18px;
  cursor: pointer;
  transition: 0.2s ease;
}

.month button:hover {
  background: rgba(79,140,255,0.2);
  border-color: var(--accent);
}

/* WEEKDAYS */
.weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-bottom: 10px;
}

.weekdays div {
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--muted);
}

/* DAYS GRID */
.days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

/* DAY CELL (IMPORTANT CHANGE) */
.days div {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 12px;

  font-size: 14px;
  font-weight: 500;

  background: transparent;
  transition: 0.2s ease;
}

/* HOVER = interaction feel */
.days div:hover {
  background: rgba(255,255,255,0.06);
  transform: translateY(-1px);
}

/* TODAY = real focus state */
.days div.today {
  background: var(--accent);
  color: rgb(253, 252, 250);
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(229, 108, 9, 0.452);
}

/* EMPTY CELLS */
.days div:empty {
  background: transparent;
}

/* SMALL ANIMATION FEEL (not fake glow, real UX motion) */
.days div {
  animation: pop 0.2s ease;
}

@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}