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

html {
  min-height: 100vh;
  background: linear-gradient(135deg, #ffd54f, #ffb300, #ff8f00, #ff6f00);
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  min-height: 100vh;
  background: linear-gradient(135deg, #ffd54f, #ffb300, #ff8f00, #ff6f00);
  background-size: 400% 400%;
  animation: gradientShift 12s ease infinite;
  color: #fff;
  overflow-x: hidden;
  position: relative;
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

#stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background-color: transparent;
  background-image: none;
}

.container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

header {
  text-align: center;
  margin-bottom: 30px;
}

.title {
  font-size: 3.2rem;
  text-shadow: 0 2px 15px rgba(0,0,0,0.3);
  animation: float 3s ease-in-out infinite;
}

.subtitle {
  font-size: 1.3rem;
  opacity: 0.9;
  margin-top: 8px;
  letter-spacing: 2px;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* Scratch cat bounce animation */
.scratch-visual {
  position: relative;
  height: 140px;
  margin: 10px 0 30px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scratch-cat {
  font-size: 80px;
  animation: catBounce 1.2s ease-in-out infinite;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
}

.block-deco {
  position: absolute;
  width: 50px;
  height: 20px;
  border-radius: 4px;
  opacity: 0.6;
  animation: blockFloat 3s ease-in-out infinite;
}

.block-1 { background: #4c97ff; top: 15px; left: 15%; animation-delay: 0s; }
.block-2 { background: #9966ff; top: 80px; right: 20%; animation-delay: 1s; }
.block-3 { background: #ffab19; top: 50px; left: 10%; animation-delay: 0.5s; }
.block-4 { background: #59c059; bottom: 10px; right: 12%; animation-delay: 1.5s; }
.block-5 { background: #ff6680; top: 10px; right: 35%; animation-delay: 0.8s; }

@keyframes catBounce {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25%      { transform: translateY(-20px) rotate(-5deg); }
  75%      { transform: translateY(5px) rotate(3deg); }
}

@keyframes blockFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.6; }
  50%      { transform: translateY(-10px) rotate(5deg); opacity: 0.9; }
}

.card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 20px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.card h2, .card h3 {
  margin-bottom: 12px;
}

.card p {
  line-height: 1.7;
}

.card ul {
  list-style: none;
  padding: 0;
}

.card li {
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  line-height: 1.6;
}

.card li:last-child {
  border-bottom: none;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 640px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .title {
    font-size: 2.2rem;
  }
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.year {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.25);
  padding: 4px 14px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.95rem;
  min-width: 60px;
  text-align: center;
}

.timeline-item span:last-child {
  line-height: 1.6;
}

footer {
  text-align: center;
  margin-top: 40px;
  padding: 20px;
  font-size: 1rem;
  opacity: 0.85;
}
