* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background-color: #fff7fb;
  padding-top: 88px;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  display: flex;
  align-items: center;
  padding: 14px 50px;
  background-color: #ffbfec;
}


.nav-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #d85590;
}

.nav-name {
  font-size: 28px;
  font-weight: 700;
  color: #c93779;
  margin-left: 12px;
}

.menu {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  margin-left: auto;
  
}

.menu a {
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
  color: #d85590;
  transition: 0.3s ease;
}

.menu a:hover {
  color: #ea1068;
}

.menu img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #c93779;
  cursor: pointer;
}
/* ===== Clock in Navbar ===== */
.nav-clock {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 14px;
  font-size: 13px;
  font-weight: 600;
  color: #c93779;
  line-height: 1.3;
  white-space: nowrap;
}

#dateSpan {
  font-size: 13px;
}

#timeSpan {
  font-size: 14px;
  font-weight: 700;
  color: #a81f5a;
}
.theme-toggle {
  border: none;
  background: white;
  color: #c93779;
  font-size: 18px;
  padding: 8px 12px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

#askName {
  font-size: 52px;
  font-weight: 900;
  color: #b02564;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  font-family: "Georgia", "Times New Roman", serif;
}

.welcome-container input {
  padding: 12px 16px;
  width: 220px;
  font-size: 18px;
  border-radius: 12px;
  border: 2px solid #d85590;
  outline: none;
  margin-top: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(216, 85, 144, 0.25);
}


.welcome-container input::placeholder {
  font-size: 18px;
  color: #c97fa3;
}

.welcome-container input:focus {
  border-color: #ea1068;
  box-shadow: 0 0 18px rgba(234, 16, 104, 0.5);
}

.welcome-container button {
  margin-top: 18px;
  padding: 12px 26px;
  font-size: 18px;
  border-radius: 30px;
  background: linear-gradient(135deg, #d85590, #ea1068);
  border: none;
  color: white;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.welcome-container button:hover {
  transform: scale(1.05);
}

#welcomeMessage {
  margin-top: 40px;
  font-size: 46px;
  font-weight: 900;
  color: #a81f5a;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  text-shadow: 2px 2px 6px rgba(168, 31, 90, 0.2);
}

#welcomeMessage span {
  color: #ea1068;
  font-size: 52px;
}

.tagline {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}
.tagline img {
  width: 420px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 20px 45px rgba(234, 16, 104, 0.25);
}
.home-para {
  max-width: 950px;
  margin: 40px auto;
  padding: 25px 30px;

  background: #fff0f7;
  border-radius: 18px;

  font-size: 19px;
  line-height: 1.8;
  color: #8f1d4e;
  text-align: center;

  font-family: "Segoe UI", sans-serif;

  box-shadow: 0 10px 30px rgba(233, 30, 99, 0.15);

  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.home-para strong {
  color: #e91e63;
  font-weight: 600;
}

body.dark {
  background-color: #1e1e1e;
  color: #ffffff;
}

body.dark .navbar {
  background-color: #121212;
}

body.dark .nav-name,
body.dark .menu a,
body.dark .nav-clock {
  color: #ff9fcf;
}

body.dark .menu a:hover {
  color: #ff5fa2;
}

body.dark #askName,
body.dark #welcomeMessage {
  color: #ff8fc4;
}

body.dark #welcomeMessage span {
  color: #ff5fa2;
}

body.dark .welcome-container input {
  background: #2a2a2a;
  color: white;
  border-color: #ff5fa2;
}

body.dark .welcome-container input::placeholder {
  color: #cfa0b6;
}

body.dark .welcome-container button {
  background: linear-gradient(135deg, #ff5fa2, #c93779);
}

body.dark .tagline img {
  box-shadow: 0 20px 45px rgba(0,0,0,0.6);
}

body.dark .home-para {
  background: #2a2a2a;
  color: #e6c1d3;
  box-shadow: 0 12px 35px rgba(0,0,0,0.6);
}

body.dark .home-para strong {
  color: #ff7db8;
}

body.dark .theme-toggle {
  background: #000;
  color: white;
}

.footer {
  background: #ffe6f2;
  padding: 30px 50px 10px;
  color: #c93779;
  margin-top: 80px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-left h3 {
  font-size: 18px;
  margin-bottom: 5px;
}

.footer-left p {
  font-size: 14px;
  color: #a83a6a;
}

.footer-center a {
  margin: 0 12px;
  text-decoration: none;
  color: #c93779;
  font-weight: 500;
}

.footer-center a:hover {
  color: #ea1068;
}

.footer-right {
  display: flex;
  align-items: center;
  font-size: 14px;
}

.footer-right .heart {
  margin-right: 6px;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: #a83a6a;
  border-top: 1px solid #f2b6d8;
  padding-top: 10px;
}
body.dark .footer {
  background: #121212;
  color: #ff9fcf;
}

body.dark .footer-left h3 {
  color: #ff8fc4;
}

body.dark .footer-left p {
  color: #d9a3bd;
}

body.dark .footer-center a {
  color: #ff9fcf;
}

body.dark .footer-center a:hover {
  color: #ff5fa2;
}

body.dark .footer-right {
  color: #ffb3d9;
}

body.dark .footer-right .heart {
  color: #ff5fa2;
}

body.dark .footer-bottom {
  color: #cfa0b6;
  border-top: 1px solid #2a2a2a;
}


@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .footer-center a {
    display: inline-block;
    margin: 6px;
  }
}
