/* General Styles */
body {
    font-family: 'Press Start 2P', cursive;
    background-color: #1a1a2e;
    color: #e94560;
    margin: 0;
    padding: 0;
    min-height: 100vh;
  }
  
  /* Centered layout for main calculator page */
  body:not(.about-page) {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    flex-direction: column;
  }
  
  /* Scrollable layout for about page */
  body.about-page {
    display: block;
    padding-top: 4rem;
    padding-bottom: 2rem;
  }
  
  .container {
    text-align: center;
    background-color: #16213e;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    transition: box-shadow 0.3s ease;
  }
  
  .container.calculating {
    animation: glow 2s ease-in-out;
  }
  
  @keyframes glow {
    0% {
        box-shadow: 0 0 10px rgba(233, 69, 96, 0.5);
    }
    50% {
        box-shadow: 0 0 30px rgba(233, 69, 96, 0.8);
    }
    100% {
        box-shadow: 0 0 10px rgba(233, 69, 96, 0.5);
    }
  }
  
.title-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-wrap: wrap;
  transform: translateX(-30px);
  margin-bottom: 20px;
}

h1 {
  font-size: 20px;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
  line-height: 1.3;
  display: inline-block;
  margin: 0;
}

.title-heart {
  height: 60px !important;
  max-height: 60px !important;
  max-width: 60px !important;
  width: auto !important;
  min-width: 0 !important;
  object-fit: contain !important;
  display: block !important;
  position: relative !important;
  z-index: 1 !important;
  filter: drop-shadow(0 0 5px rgba(233, 69, 96, 0.5)) !important;
  margin-right: -8px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  box-sizing: border-box !important;
  align-self: center !important;
  top: 0 !important;
  transform: none !important;
  image-rendering: -webkit-optimize-contrast !important;
  image-rendering: crisp-edges !important;
  image-rendering: pixelated !important;
  -ms-interpolation-mode: nearest-neighbor !important;
}

/* Responsive title sizing for longer text */
@media (max-width: 1024px) {
  .title-container {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transform: none;
  }
  
  .title-heart {
    height: 40px !important;
    max-height: 40px !important;
    max-width: 40px !important;
    margin-right: 0 !important;
  }
  
  h1 {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .title-container {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transform: none;
  }
  
  .title-heart {
    height: 40px !important;
    max-height: 40px !important;
    max-width: 40px !important;
    margin-right: 0 !important;
  }
  
  h1 {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .title-container {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transform: none;
  }
  
  .title-heart {
    height: 35px !important;
    max-height: 35px !important;
    max-width: 35px !important;
    margin-right: 0 !important;
  }
  
  h1 {
    font-size: 14px;
  }
}

/* Shimmer effect for the title */
h1.shimmer {
  background: linear-gradient(
    90deg,
    #e94560 0%,
    #ff6b81 25%,
    #ff8fa3 50%,
    #ff6b81 75%,
    #e94560 100%
  );
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 2s ease-in-out;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  50% {
    background-position: 0% 0;
  }
  100% {
    background-position: 200% 0;
  }
}
  
  .input-group {
    margin-bottom: 20px;
  }
  
  input {
    padding: 10px;
    margin: 5px;
    border: 2px solid #e94560;
    border-radius: 5px;
    background-color: #0f3460;
    color: #e94560;
    font-family: 'Press Start 2P', cursive;
    width: 100%;
    max-width: 200px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
  }

  input:hover {
    border-color: #ff6b81;
    background-color: #1a4a80;
    box-shadow: 
      0 0 10px rgba(255, 107, 129, 0.6),
      0 0 20px rgba(255, 107, 129, 0.4),
      0 0 30px rgba(255, 107, 129, 0.2);
    transform: translateY(-2px);
  }

  input:focus {
    outline: none;
    border-color: #ff8fa3;
    background-color: #1a4a80;
    box-shadow: 
      0 0 15px rgba(255, 143, 163, 0.8),
      0 0 25px rgba(255, 143, 163, 0.6),
      0 0 35px rgba(255, 143, 163, 0.4);
    transform: translateY(-2px);
  }

  /* Maintain glow effect while typing */
  input:focus::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
      0deg,
      transparent,
      transparent 1px,
      rgba(255, 143, 163, 0.15) 1px,
      rgba(255, 143, 163, 0.15) 2px
    );
    pointer-events: none;
    animation: typingScanLines 1s ease-in-out infinite;
  }

  @keyframes typingScanLines {
    0% {
      opacity: 0.3;
    }
    50% {
      opacity: 0.8;
    }
    100% {
      opacity: 0.3;
    }
  }

  /* Atari-style scan lines for input hover */
  input:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
      0deg,
      transparent,
      transparent 1px,
      rgba(255, 107, 129, 0.1) 1px,
      rgba(255, 107, 129, 0.1) 2px
    );
    pointer-events: none;
    animation: scanLines 0.5s ease-in-out;
  }

  @keyframes scanLines {
    0% {
      opacity: 0;
    }
    50% {
      opacity: 1;
    }
    100% {
      opacity: 0.3;
    }
  }
  
button {
  padding: 12px 24px;
  background: linear-gradient(145deg, #ff6b81, #e94560);
  color: #16213e;
  border: 3px solid #ff8fa3;
  border-radius: 0;
  font-family: 'Press Start 2P', cursive;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 
    4px 4px 0px #8a2be2,
    6px 6px 0px #4b0082,
    inset 0 0 0 2px #ff8fa3;
  transition: all 0.1s ease;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}

button:hover {
  background: linear-gradient(145deg, #ff8fa3, #ff6b81);
  transform: translate(2px, 2px);
  box-shadow: 
    2px 2px 0px #8a2be2,
    4px 4px 0px #4b0082,
    inset 0 0 0 2px #ff8fa3;
}

button:active {
  transform: translate(4px, 4px);
  box-shadow: 
    0px 0px 0px #8a2be2,
    2px 2px 0px #4b0082,
    inset 0 0 0 2px #ff8fa3;
}

/* Atari-style scan lines effect */
button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.1) 2px,
    rgba(0, 0, 0, 0.1) 4px
  );
  pointer-events: none;
  opacity: 0.3;
}

/* Pixelated glow effect */
button::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #ff6b81, #ff8fa3, #ff6b81);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
  image-rendering: pixelated;
}

button:hover::after {
  opacity: 0.6;
}

/* Atari-style spark effect for button hover */
.spark {
  position: absolute;
  width: 12px;
  height: 12px;
  pointer-events: none;
  animation: sparkle 0.6s ease-out forwards;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}

.spark::before {
  content: '♥';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ff0000;
  font-size: 12px;
  line-height: 1;
  text-shadow: 
    1px 1px 0px #cc0000,
    2px 2px 0px #990000,
    3px 3px 0px #660000;
  image-rendering: pixelated;
}

.spark::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 1px,
    rgba(255, 215, 0, 0.3) 1px,
    rgba(255, 215, 0, 0.3) 2px
  );
  pointer-events: none;
}

@keyframes sparkle {
  0% {
    opacity: 1;
    transform: scale(0) rotate(0deg);
    filter: brightness(1);
  }
  25% {
    opacity: 1;
    transform: scale(1.2) rotate(90deg);
    filter: brightness(1.5);
  }
  50% {
    opacity: 1;
    transform: scale(1) rotate(180deg);
    filter: brightness(1.2);
  }
  75% {
    opacity: 0.8;
    transform: scale(0.8) rotate(270deg);
    filter: brightness(0.8);
  }
  100% {
    opacity: 0;
    transform: scale(0.3) rotate(360deg);
    filter: brightness(0.5);
  }
}
  
  .result {
    margin-top: 20px;
  }
  
  #measure-bar {
    width: 100%;
    height: 20px;
    background-color: #0f3460;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
  }
  
  #measure-bar div {
    height: 100%;
    background-color: #e94560;
    width: 0;
    transition: width 0.5s ease;
  }
  
  #result-text {
    font-size: 14px;
  }
  
footer {
  margin-top: 20px;
  font-size: 12px;
  text-align: center;
}

footer a {
  color: #e94560;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
}

footer a:hover {
  text-decoration: underline;
}

.page-description {
  font-size: 10px;
  font-family: 'Press Start 2P', cursive;
  margin: 15px auto 0;
  max-width: 500px;
  padding: 10px;
  line-height: 1.6;
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    90deg,
    #e94560 0%,
    #ff6b81 25%,
    #ff8fa3 50%,
    #ff6b81 75%,
    #e94560 100%
  );
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: colorfulShimmer 3s ease-in-out infinite;
  text-shadow: 0 0 10px rgba(233, 69, 96, 0.5);
}

/* Enhanced colorful shimmer effect for page description */
.page-description.shimmer {
  animation: colorfulShimmer 3s ease-in-out infinite;
}

@keyframes colorfulShimmer {
  0% {
    background-position: -200% 0;
    filter: brightness(1);
  }
  50% {
    background-position: 0% 0;
    filter: brightness(1.2);
  }
  100% {
    background-position: 200% 0;
    filter: brightness(1);
  }
}

#matrix-rain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: black;
}

.history-container {
    margin-top: 20px;
    max-height: 200px;
    overflow-y: auto;
    text-align: left;
    padding: 10px;
    background-color: #0f3460;
    border-radius: 5px;
}

.history-entry {
    font-size: 12px;
    margin: 5px 0;
    padding: 5px;
    border-bottom: 1px solid rgba(233, 69, 96, 0.2);
}

.history-entry:last-child {
    border-bottom: none;
}

#starry-night {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(to bottom, #0a0f1e, #1a1a2e);
}

/* Is This Real? Button - Top Left Corner */
.is-real-button {
    position: fixed;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 1000;
    padding: 0.5rem 0.8rem;
    background: linear-gradient(145deg, #ff6b81, #e94560);
    color: #16213e;
    border: 2px solid #ff8fa3;
    border-radius: 0;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.6rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 
        3px 3px 0px #8a2be2,
        5px 5px 0px #4b0082,
        inset 0 0 0 1px #ff8fa3;
    transition: all 0.1s ease;
    display: inline-block;
    white-space: nowrap;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.is-real-button:hover {
    background: linear-gradient(145deg, #ff8fa3, #ff6b81);
    transform: translate(2px, 2px);
    box-shadow: 
        1px 1px 0px #8a2be2,
        3px 3px 0px #4b0082,
        inset 0 0 0 1px #ff8fa3;
    color: #16213e;
}

.is-real-button:active {
    transform: translate(3px, 3px);
    box-shadow: 
        0px 0px 0px #8a2be2,
        1px 1px 0px #4b0082,
        inset 0 0 0 1px #ff8fa3;
}

/* Responsive styles for Is This Real? button */
@media (max-width: 1024px) {
    .is-real-button {
        position: fixed !important;
        top: 0.5rem !important;
        left: 0.5rem !important;
        z-index: 1000 !important;
        display: inline-block !important;
        font-size: 0.5rem;
        padding: 0.4rem 0.6rem;
        background: linear-gradient(145deg, #ff6b81, #e94560) !important;
        color: #16213e !important;
        border: 2px solid #ff8fa3 !important;
        text-decoration: none !important;
    }
}

@media (max-width: 768px) {
    .is-real-button {
        position: fixed !important;
        top: 0.5rem !important;
        left: 0.5rem !important;
        z-index: 1000 !important;
        display: inline-block !important;
        font-size: 0.5rem;
        padding: 0.4rem 0.6rem;
        background: linear-gradient(145deg, #ff6b81, #e94560) !important;
        color: #16213e !important;
        border: 2px solid #ff8fa3 !important;
        text-decoration: none !important;
    }
}

@media (max-width: 480px) {
    .is-real-button {
        position: fixed !important;
        top: 0.5rem !important;
        left: 0.5rem !important;
        z-index: 1000 !important;
        display: inline-block !important;
        font-size: 0.45rem;
        padding: 0.35rem 0.5rem;
        background: linear-gradient(145deg, #ff6b81, #e94560) !important;
        color: #16213e !important;
        border: 2px solid #ff8fa3 !important;
        text-decoration: none !important;
    }
}

/* Pixel Oracle Home Button - Top Right Corner */
.home-button {
    position: fixed;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 6px;
    padding: 0.35rem;
    transition: all 0.3s ease;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    box-shadow: none;
    gap: 0.25rem;
    opacity: 0.6;
}

.home-button:hover {
    background: transparent;
    transform: scale(1.05);
    box-shadow: none;
    opacity: 1;
}

.home-crystal {
    width: 48px;
    height: 48px;
    object-fit: contain;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.home-button:hover .home-crystal {
    transform: scale(1.1);
    filter: brightness(1.2);
    opacity: 1;
}

.home-tooltip {
    position: absolute;
    bottom: 100%;
    right: 0;
    margin-bottom: 0.5rem;
    padding: 0.4rem 0.6rem;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    color: #ffffff;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.6rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.home-button:hover .home-tooltip {
    opacity: 1;
}

.home-url {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.5rem;
    color: #ffffff;
    text-shadow: 
        0 0 3px rgba(255, 255, 255, 0.8),
        0 0 6px rgba(255, 255, 255, 0.6);
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.home-button:hover .home-url {
    color: #ffffff;
    text-shadow: 
        0 0 5px rgba(255, 255, 255, 1),
        0 0 10px rgba(255, 255, 255, 0.8);
    opacity: 1;
}

/* Responsive styles for home button */
@media (max-width: 1024px) {
    /* iPad adjustments for home button */
    .home-button {
        padding: 0.25rem;
        top: 0.5rem;
        right: 0.5rem;
        gap: 0.2rem;
        opacity: 0.7;
    }

    .home-crystal {
        width: 32px;
        height: 32px;
        opacity: 0.8;
    }

    .home-tooltip {
        font-size: 0.5rem;
        padding: 0.3rem 0.5rem;
    }

    .home-url {
        font-size: 0.35rem;
        opacity: 0.8;
    }
}

@media (max-width: 768px) {
    /* Mobile adjustments for home button */
    .home-button {
        padding: 0.2rem;
        top: 0.5rem;
        right: 0.5rem;
        gap: 0.18rem;
        opacity: 0.8;
    }

    .home-crystal {
        width: 28px;
        height: 28px;
        opacity: 0.85;
    }

    .home-tooltip {
        font-size: 0.45rem;
        padding: 0.3rem 0.45rem;
    }

    .home-url {
        font-size: 0.3rem;
        opacity: 0.85;
    }
}

@media (max-width: 480px) {
    /* Small mobile adjustments for home button */
    .home-button {
        padding: 0.15rem;
        top: 0.5rem;
        right: 0.5rem;
        border-width: 1px;
        border-radius: 4px;
        opacity: 0.85;
        gap: 0.15rem;
    }

    .home-crystal {
        width: 20px;
        height: 20px;
        opacity: 0.9;
    }

    .home-tooltip {
        font-size: 0.4rem;
        padding: 0.25rem 0.4rem;
    }

    .home-url {
        font-size: 0.25rem;
        opacity: 0.9;
    }
}

/* About Page Styles */
.about-container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #16213e;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    text-align: left;
}

.about-container h1 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 24px;
}

.about-section {
    margin-bottom: 2.5rem;
}

.about-section h2 {
    font-size: 16px;
    color: #ff6b81;
    margin-bottom: 1rem;
    border-bottom: 2px solid #e94560;
    padding-bottom: 0.5rem;
}

.about-section h3 {
    font-size: 12px;
    color: #ff8fa3;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.about-section p {
    font-size: 10px;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: #e94560;
}

.about-box {
    background-color: #0f3460;
    border: 2px solid #e94560;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(233, 69, 96, 0.3);
}

.about-box h3 {
    margin-top: 0;
    color: #ff8fa3;
}

.about-list {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.about-list li {
    font-size: 10px;
    line-height: 1.8;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    color: #e94560;
}

.about-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #ff6b81;
}

.about-list li strong {
    color: #ff8fa3;
}

.history-timeline {
    margin: 1.5rem 0;
}

.timeline-item {
    background-color: #0f3460;
    border-left: 3px solid #e94560;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 5px;
}

.timeline-item h3 {
    margin-top: 0;
    color: #ff6b81;
}

.faq-item {
    background-color: #0f3460;
    border: 1px solid #e94560;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 5px;
}

.faq-item h3 {
    margin-top: 0;
    color: #ff8fa3;
    font-size: 11px;
}

.note {
    background-color: #0f3460;
    border-left: 3px solid #ff6b81;
    padding: 0.8rem;
    margin: 1rem 0;
    font-style: italic;
    font-size: 9px;
}

.closing {
    text-align: center;
    font-size: 11px;
    color: #ff8fa3;
    margin-top: 2rem;
    padding: 1rem;
    background-color: #0f3460;
    border-radius: 5px;
}

.back-button {
    position: fixed;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 1000;
    padding: 0.5rem 0.8rem;
    background: linear-gradient(145deg, #ff6b81, #e94560);
    color: #16213e;
    border: 2px solid #ff8fa3;
    border-radius: 0;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.6rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 
        3px 3px 0px #8a2be2,
        5px 5px 0px #4b0082,
        inset 0 0 0 1px #ff8fa3;
    transition: all 0.1s ease;
    display: inline-block;
    white-space: nowrap;
}

.back-button:hover {
    background: linear-gradient(145deg, #ff8fa3, #ff6b81);
    transform: translate(2px, 2px);
    box-shadow: 
        1px 1px 0px #8a2be2,
        3px 3px 0px #4b0082,
        inset 0 0 0 1px #ff8fa3;
    color: #16213e;
}

.back-to-calc {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e94560;
}

.calc-button {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(145deg, #ff6b81, #e94560);
    color: #16213e;
    border: 3px solid #ff8fa3;
    border-radius: 0;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.7rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 
        4px 4px 0px #8a2be2,
        6px 6px 0px #4b0082,
        inset 0 0 0 2px #ff8fa3;
    transition: all 0.1s ease;
    cursor: pointer;
}

.calc-button:hover {
    background: linear-gradient(145deg, #ff8fa3, #ff6b81);
    transform: translate(2px, 2px);
    box-shadow: 
        2px 2px 0px #8a2be2,
        4px 4px 0px #4b0082,
        inset 0 0 0 2px #ff8fa3;
    color: #16213e;
}

.calc-button:active {
    transform: translate(4px, 4px);
    box-shadow: 
        0px 0px 0px #8a2be2,
        2px 2px 0px #4b0082,
        inset 0 0 0 2px #ff8fa3;
}

/* Responsive styles for about page */
@media (max-width: 768px) {
    .about-container {
        margin: 1rem;
        padding: 1.5rem;
        max-height: calc(100vh - 2rem);
    }
    
    .about-container h1 {
        font-size: 18px;
    }
    
    .about-section h2 {
        font-size: 14px;
    }
    
    .about-section h3 {
        font-size: 11px;
    }
    
    .about-section p,
    .about-list li {
        font-size: 9px;
    }
    
    .back-button {
        font-size: 0.5rem;
        padding: 0.4rem 0.6rem;
    }
}

@media (max-width: 480px) {
    .about-container {
        margin: 0.5rem;
        padding: 1rem;
    }
    
    .about-container h1 {
        font-size: 14px;
    }
    
    .about-section h2 {
        font-size: 12px;
    }
    
    .about-section h3 {
        font-size: 10px;
    }
    
    .about-section p,
    .about-list li {
        font-size: 8px;
    }
    
    .back-button {
        font-size: 0.45rem;
        padding: 0.35rem 0.5rem;
    }
    
    .calc-button {
        font-size: 0.6rem;
        padding: 10px 20px;
    }
}