:root {
  --p: #2563eb;
  --s: #7c3aed;
  --bg: #f8fafc;
  --txt: #1e293b
}

body {
  font-family: system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--txt);
  margin: 0;
  line-height: 1.5
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px
}

.navbar {
  background: #fff;
  padding: 1rem 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center
}

.links a {
  margin-left: 20px;
  text-decoration: none;
  color: var(--p);
  font-weight: 600
}

.dashboard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 20px
}

.card {
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05)
}

.game-core {
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  text-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  margin-bottom: 30px
}

#timer-box {
  height: 10px;
  background: #e2e8f0;
  border-radius: 5px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden
}

#timer-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--p), var(--s));
  width: 100%;
  transition: width 0.1s linear
}

#op-display {
  font-size: 4rem;
  font-weight: 800;
  margin: 20px 0;
  color: var(--txt)
}

.input-area input {
  padding: 12px;
  font-size: 1.5rem;
  width: 120px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  text-align: center
}

.input-area button {
  padding: 12px 25px;
  font-size: 1.2rem;
  background: var(--p);
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  margin-left: 10px
}

.github-grid {
  display: grid;
  grid-template-columns: repeat(53, 1fr);
  gap: 3px;
  overflow-x: auto;
  padding: 10px;
  background: #fff;
  border-radius: 8px
}

.day {
  width: 12px;
  height: 12px;
  background: #ebedf0;
  border-radius: 2px
}

.day.v1 {
  background: #9be9a8
}

.day.v2 {
  background: #40c463
}

.day.v3 {
  background: #30a14e
}

#blog article {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  margin-bottom: 20px;
  border-left: 5px solid var(--p)
}
