:root {
  --background: #0b0d10;
  --surface: #12161b;
  --surface-light: #181d24;
  --border: #29313b;
  --text: #f4f4f2;
  --muted: #929ba7;
  --accent: #d6ad60;
  --accent-light: #f0d69e;
  --max-width: 1280px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(
      circle at top right,
      rgba(214, 173, 96, 0.08),
      transparent 32%
    ),
    var(--background);
  color: var(--text);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Hiragino Sans",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

.dashboard {
  width: min(100% - 48px, var(--max-width));
  margin: 0 auto;
}

.dashboard-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding: 64px 0 36px;
  border-bottom: 1px solid var(--border);
}

.eyebrow,
.section-label {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.dashboard-header h1 {
  margin-top: 8px;
  font-size: clamp(2.2rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.greeting {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1rem;
}

.date-box {
  flex-shrink: 0;
  text-align: right;
}

#current-date {
  color: var(--muted);
  font-size: 0.9rem;
}

#current-time {
  margin-top: 4px;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.hero-card {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-top: 36px;
  padding: 48px;
  background:
    linear-gradient(
      135deg,
      rgba(214, 173, 96, 0.13),
      transparent 45%
    ),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
}

.hero-card h2 {
  max-width: 760px;
  margin-top: 12px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.hero-text {
  max-width: 700px;
  margin-top: 20px;
  color: var(--muted);
}

.hero-status {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
}

.status-dot {
  width: 9px;
  height: 9px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(214, 173, 96, 0.8);
}

.dashboard-section {
  margin-top: 72px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
}

.section-heading h2 {
  margin-top: 6px;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  letter-spacing: -0.03em;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.link-card {
  position: relative;
  min-height: 220px;
  padding: 24px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.link-card:hover {
  transform: translateY(-5px);
  background: var(--surface-light);
  border-color: var(--accent);
}

.card-number {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.link-card h3 {
  margin-top: 64px;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.link-card p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}

.arrow {
  position: absolute;
  right: 22px;
  bottom: 18px;
  color: var(--accent-light);
  font-size: 1.4rem;
  transition: transform 0.2s ease;
}

.link-card:hover .arrow {
  transform: translate(3px, -3px);
}

.dashboard-footer {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  margin-top: 96px;
  padding: 32px 0 48px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

@media (max-width: 1000px) {
  .link-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .dashboard {
    width: min(100% - 28px, var(--max-width));
  }

  .dashboard-header {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 40px;
  }

  .date-box {
    text-align: left;
  }

  .hero-card {
    align-items: flex-start;
    flex-direction: column;
    padding: 30px;
  }

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

  .link-card {
    min-height: 180px;
  }

  .link-card h3 {
    margin-top: 42px;
  }

  .dashboard-footer {
    flex-direction: column;
  }
}