html, body {
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  font-family: 'Times New Roman', Times, serif;
  overflow-x: hidden;
}

/* 1. Enlarged Red Title Banner */
.banner {
  background: linear-gradient(180deg, #ab0000 0%, #ff3333 70%, #ffffff 100%);
  padding: 60px 10px 35px 10px;
  text-align: center;
}

.glow-text {
  color: #ffffff;
  font-size: 4.5rem;
  font-weight: bold;
  margin: 0;
  text-shadow: 0 0 12px #ffffff, 0 0 25px #ffffff, 0 0 35px #ffffff;
}

/* 2. Blue Disclaimer Bar */
.disclaimer {
  background-color: #3355ff;
  color: #ffffff;
  font-family: 'Times New Roman', Times, serif;
  font-size: 0.85rem;
  font-weight: normal;
  margin-top: 25px;
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  position: relative;
  height: 32px; /* Set comfortable height for vertical centering */
  display: flex;
  align-items: center; /* Centers child text vertically */
}

.disclaimer-text {
  position: absolute;
  left: 0;
  white-space: nowrap;
  will-change: transform;
  line-height: 1;
}

/* 3. Main Body Layout */
.wrapper {
  max-width: 950px;
  margin: 0 auto;
  padding: 30px 20px;
}

.grade-title {
  text-align: center;
  font-size: 2.8rem;
  font-weight: bold;
  margin: 10px 0 20px 0;
}

.divider {
  border: 0;
  height: 1px;
  background: #cccccc;
  margin: 35px 0;
}

.grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

/* 4. Image-As-Button Containers */
.img-button {
  display: block;
  width: 210px;
  height: 210px;
  border-radius: 28px;
  background: transparent;
  padding: 0;
  margin: 0;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}

.img-button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 28px;
}

/* Soft Image Glows */
.us-history {
  box-shadow: 0 0 30px 8px rgba(0, 91, 148, 0.45);
}

.calc {
  box-shadow: 0 0 30px 8px rgba(76, 99, 167, 0.45);
}

.csa {
  box-shadow: 0 0 30px 8px rgba(26, 158, 135, 0.45);
}

.gov {
  box-shadow: 0 0 30px 8px rgba(81, 24, 120, 0.45);
}

/* Hover and Click Animation handled strictly via CSS */
.img-button:hover {
  transform: translateY(0px) scale(1.04);
}

.img-button:active {
  transform: scale(0.96);
}

/* 5. Footer Styling */
.footer {
  text-align: center;
  font-family: 'Times New Roman', Times, serif;
  font-size: 1.1rem;
  color: #333333;
  padding: 30px 15px 40px 15px;
  margin-top: 20px;
}

.footer a {
  color: #005691;
  text-decoration: underline;
  word-break: break-all;
}

.footer a:hover {
  color: #cc0000;
}
