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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #ff4d4d 0%, #ffffff 50%, #ffffff 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #1a1a1a;
  overflow-x: hidden;
}

.container {
  text-align: center;
  padding: 2rem;
  max-width: 800px;
  width: 100%;
}

.flag-stripe {
  width: 100%;
  height: 12px;
  background: linear-gradient(to right, #ff0000 50%, #ffffff 50%);
  margin-bottom: 2rem;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

h1 {
  font-size: 2.5rem;
  color: #b30000;
  text-shadow: 2px 2px 0 #fff;
  margin-bottom: 0.5rem;
}

.year-display {
  font-size: 5rem;
  font-weight: 900;
  color: #ff1a1a;
  text-shadow: 3px 3px 0 #fff, 6px 6px 12px rgba(0,0,0,0.2);
  margin: 1rem 0;
  line-height: 1;
}

.subtitle {
  font-size: 1.4rem;
  color: #4d0000;
  margin-bottom: 2rem;
}

.countdown-box {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.countdown-item {
  background: #fff;
  border: 3px solid #ff0000;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.countdown-value {
  font-size: 2.2rem;
  font-weight: bold;
  color: #cc0000;
  display: block;
}

.countdown-label {
  font-size: 0.9rem;
  color: #666;
  text-transform: uppercase;
}

.message {
  background: rgba(255, 255, 255, 0.85);
  border-left: 6px solid #ff0000;
  padding: 1.5rem;
  border-radius: 0 12px 12px 0;
  margin: 2rem 0;
  font-size: 1.1rem;
  line-height: 1.7;
  text-align: left;
}

.emblem {
  font-size: 4rem;
  margin: 1rem 0;
}

.footer {
  margin-top: 2rem;
  color: #4d0000;
  font-size: 0.95rem;
}

@media (max-width: 600px) {
  h1 { font-size: 1.7rem; }
  .year-display { font-size: 3.5rem; }
  .subtitle { font-size: 1.1rem; }
  .countdown-box { grid-template-columns: repeat(2, 1fr); }
  .countdown-value { font-size: 1.8rem; }
}

@media print {
  body { background: #fff; }
  .countdown-box { page-break-inside: avoid; }
}
