/* Base styles */
body {
  background-color: #10072c;
  color: #ffffff;
  font-family: 'Exo 2', sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  position: relative;
  padding-bottom: 80px; /* space for footer */
}

/* Social Icons in top-right corner */
.social-icons {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 15px;
}

/* Icon images */
.social-icons img.icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  transition: opacity 0.3s;
}

.social-icons img.icon:hover {
  opacity: 0.7;
}

/* Main content */
.container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
}

.logo {
  width: 150px;
  height: auto;
  margin-bottom: 20px;
}

h1 {
  font-family: 'Patua One', cursive;
  font-size: 3rem;
  margin: 0;
}

p {
  font-size: 1.5rem;
  margin-top: 0.5rem;
  opacity: 0.85;
}

/* === Footer: Full-width white strip === */
.footer-links {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  padding: 1rem 0;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.15);
  z-index: 1000;
}

.footer-links nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.footer-links nav ul li a {
  text-decoration: none;
  color: #10072c;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s;
}

.footer-links nav ul li a:hover {
  color: #dd127f;
}

/* === Responsive Media Queries === */

/* Tablet */
@media (min-width: 600px) {
  .logo {
    width: 180px;
  }

  h1 {
    font-size: 3.5rem;
  }

  p {
    font-size: 1.7rem;
  }

  .social-icons img.icon {
    width: 30px;
    height: 30px;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .logo {
    width: 200px;
  }

  h1 {
    font-size: 4rem;
  }

  p {
    font-size: 2rem;
  }

  .social-icons img.icon {
    width: 32px;
    height: 32px;
  }
}

/* === Animated Text and Cursor Styles === */
#animated-text {
  /* Ensure it has a minimum height even when empty to prevent jank */
  min-height: 1.2em; 
  /* Add a blinking cursor effect */
  border-right: 0.1em solid; /* 'solid' will inherit the text color */
  animation: blink-caret 1s step-end infinite;
  /* Keep text aligned */
  display: inline-block;
  vertical-align: bottom;
  /* Ensure it inherits the <p> tag's font styles */
  letter-spacing: inherit;
  font-size: inherit;
  font-family: inherit;
  /* Make cursor shorter by adjusting line-height and positioning */
  line-height: 0.9em;
  /* Position the cursor to align with text properly */
  vertical-align: text-bottom;
  /* Optional: add a small bottom margin to fine-tune */
  margin-bottom: 0.05em;
}

/* Blinking cursor animation */
@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: inherit } /* 'inherit' to match text color */
}
