body {
  margin: 0;
  font-family: 'Helvetica', Arial, sans-serif;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  color: #e8e8e8;
  padding: 2rem;
  height: 100vh;
  overflow: hidden;
  transition: background 2s ease;
}

main {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - 8rem);
  text-align: left;
  padding-bottom: 8rem;
}

footer {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  background: transparent;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 0.73rem;
  z-index: 100;
  min-height: 4rem;
}

.footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
}

.datetime-info {
  font-size: 0.65rem;
  font-style: normal;
  font-weight: normal;
  opacity: 0.5;
  text-transform: uppercase;
  font-family: Helvetica, Arial, sans-serif;
}

.footer-quote {
  font-style: italic;
  opacity: 0.7;
  font-weight: normal;
  font-size: 0.6rem;
}

.footer-quote:before {
  content: '"';
}

.footer-quote:after {
  content: '"';
}

footer p:before {
  content: '"';
}

footer p:after {
  content: '"';
}

/* Original navigation styling */
nav {
  position: fixed;
  top: 2rem;
  left: 2rem;
  padding: 0;
  margin: 0;
}

nav p {
  font-size: 0.77rem;
  margin: 1.5rem 0;
  margin-left: 0;
  padding-left: 0;
  text-align: left;
  text-transform: uppercase;
  font-weight: bold;
}

nav a {
  color: var(--text-color, #e8e8e8);
  text-decoration: none;
  transition: all 0.3s ease;
}

nav a:hover {
  color: var(--text-hover-color, #fff);
}

/* Social icons in footer */
.social-icons-footer {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  margin-top: 0.5rem;
}

.social-icon {
  width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color, #e8e8e8);
  opacity: 0.6;
  transition: opacity 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.social-icon:hover {
  opacity: 1;
  transform: scale(1.1);
}

.social-icon svg {
  width: 100%;
  height: 100%;
}

.translate-icon {
  color: #e8e8e8;
  opacity: 0.6;
  cursor: pointer;
  transition: opacity 0.3s ease;
  position: relative;
}

.translate-icon:hover {
  opacity: 1;
}

.language-menu {
  position: absolute;
  bottom: 3rem;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  padding: 0.5rem 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3), 0 0 0 1px rgba(0,0,0,0.1);
  z-index: 1001;
}

.language-option {
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-size: 0.8rem;
  color: #000000;
  white-space: nowrap;
}

.language-option:hover {
  background: rgba(0, 0, 0, 0.1);
}

.fixed-nav {
  position: fixed;
  bottom: 8rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 999;
  pointer-events: none;
}

.nav-button {
  font-family: 'Helvetica', Arial, sans-serif;
  font-size: 0.77rem;
  font-weight: bold;
  text-transform: uppercase;
  color: #e8e8e8;
  text-decoration: none;
  background: none;
  border: none;
  opacity: 1;
  transition: color 0.3s ease;
  pointer-events: all;
}

.nav-button:hover {
  color: #fff;
}

#yearMenu p {
  font-size: 0.77rem;
  margin: 1.5rem 0;
  text-align: left;
  text-transform: uppercase;
  font-weight: bold;
  font-family: Helvetica, Arial, sans-serif;
}

#yearMenu a {
  color: #e8e8e8;
  text-decoration: none;
  transition: all 0.3s ease;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.77rem;
  font-weight: bold;
  text-transform: uppercase;
}

#yearMenu a:hover {
  color: #fff;
}

/* Seamless Day/Night Cycle - Continuous Gradient Transition */
body {
  background: linear-gradient(135deg, var(--gradient-color-1, #87ceeb), var(--gradient-color-2, #add8e6), var(--gradient-color-3, #b0e0e6)) !important;
  color: var(--text-color, #1e3a8a) !important;
  transition: background 1.5s ease-in-out, color 1.5s ease-in-out;
}

.social-icon, nav a, .nav-button, #yearMenu a, .translate-icon, .footer-quote, .datetime-info {
  color: var(--text-color, #1e3a8a) !important;
  transition: color 1.5s ease-in-out;
}

.nav-button:hover, #yearMenu a:hover {
  color: var(--text-hover-color, #1e40af) !important;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .social-icons-footer {
    gap: 0.7rem;
    margin-top: 0.4rem;
  }
  
  .social-icon {
    width: 12px;
    height: 12px;
  }
  
  nav {
    left: 1rem;
    top: 1.5rem;
  }
  
  nav p {
    font-size: 0.7rem;
    margin: 1rem 0;
  }
}