html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    background: #212121;
}
body {
    position: fixed;
    inset: 0;
    overflow: hidden;
}
@font-face {
    font-family: "Batusa";
    src: url("fonts/Batusa.otf") format("opentype");
    font-display: swap;
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

/* FULL SCREEN SECTION */
section {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: url("images/NHH_Day.jpg") center/cover no-repeat;
}

section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 0;
}

/* WAVE BACKGROUND */
section .wave {
    position: absolute;
    inset: 0;
    z-index: 1; /* above overlay */
    background: transparent; /* was gold */
    box-shadow: none; /* optional */
}

section .wave span {
    position: absolute;
    width: 325vh;
    height: 325vh;
    bottom: 0; /* 🔑 anchor to bottom */
    left: 50%;
    transform: translate(-50%, 98%); /* 🔑 flip direction */
}

/* WAVE LAYERS (GOLD-ish) */
section .wave span:nth-child(1) {
    border-radius: 45%;
    background: rgba(255, 215, 120, 0.3); /* highlight */
    animation: animate 22s linear infinite;
}

section .wave span:nth-child(2) {
    border-radius: 40%;
    background: rgba(255, 215, 120, 0.2); /* shadow */
    animation: animate 42s linear infinite;
}

section .wave span:nth-child(3) {
    border-radius: 42.5%;
    background: rgba(255, 215, 120, 0.08); /* soft highlight */
    animation: animate 55s linear infinite;
}
@keyframes animate {
    0% {
        transform: translate(-50%, 98%) rotate(0deg);
    }
    80% {
        transform: translate(-50%, 98%) rotate(180deg);
    }
}

/* CENTER CONTENT */
.logo-container {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* LOGO */
.logo {
    width: 175px;
    max-width: 70vw;
    height: auto;
}

/* CONTENT */
.content {
    position: absolute;
    inset: 0; /* fill section */
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 24px; /* side breathing room on mobile */
    color: #ffffff;
}

/* TYPOGRAPHY */
.content h1 {
    font-family: "Batusa", serif;
    font-size: 42px;
    font-weight: 400;
    letter-spacing: 0.6px;
    margin-bottom: 12px;
}
.content p {
    font-family: "Batusa", serif;
    font-size: 18px;
    line-height: 1.6;
    max-width: 550px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.85);
}

/* WHATSAPP BUTTON */
.whatsapp-link {
    margin-top: 10px;
    display: inline-flex; /* important */
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 999px;
    font-family: "Poppins", system-ui, sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(6px);
    transition: all 0.25s ease;
}
.whatsapp-link:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}
.wa-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}
.wa-image {
    width: 20px; /* 🔑 THIS controls icon size */
    height: 20px;
    display: block;
}
.Btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    width: 46px; /* collapsed circle */
    border: none;
    border-radius: 999px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: width 0.35s ease, transform 0.15s ease, background 0.25s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    background: #25d366;
    text-decoration: none; /* for <a> */ /*margin-top: 10px; /* spacing under text */
}

/* icon */
.sign {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px; /* fixed icon zone */
    height: 46px;
    flex: 0 0 46px;
}
.sign svg {
    width: 22px;
    height: 22px;
}
.sign svg path {
    fill: #fff;
}

/* text (not absolute anymore -> more stable) */
.text {
    white-space: nowrap;
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    color: #fff;
    font-family: "Poppins", system-ui, sans-serif;
    font-size: 14px;
    font-weight: 600;
    transition: opacity 0.25s ease, max-width 0.35s ease;
    padding-right: 0;
}

/* expand */
.Btn:hover {
    width: 180px; /* adjust */
    justify-content: flex-start;
}
.Btn:hover .text {
    opacity: 1;
    max-width: 160px; /* allows reveal */
    padding-right: 18px;
}

/* tap */
.Btn:active {
    transform: translateY(1px);
}

/* CODE LOADER */
.code-loader {
    color: #fff;
    font-family: Consolas, Menlo, Monaco, monospace;
    font-weight: bold;
    font-size: 80px;
    opacity: 0.8;
}
.code-loader span {
    display: inline-block;
    animation: pulse_414 0.4s alternate infinite ease-in-out;
}
.code-loader span:nth-child(odd) {
    animation-delay: 0.4s;
}
@keyframes pulse_414 {
    to {
        transform: scale(0.8);
        opacity: 0.5;
    }
}

/* ROTATE NOTICE */
.rotate-notice {
    display: none; /* default OFF */
    position: absolute;
    inset: 0;
    z-index: 999;
    background: #212121;
    color: #ffffff;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: "Poppins", system-ui, sans-serif;
    font-size: 16px;
    letter-spacing: 0.3px;
}

/* RESPONSIVE */
@media (orientation: landscape) and (max-height: 500px) {
    .rotate-notice {
        display: flex;
    }
    .content,
    .logo-container,
    .wave {
        display: none;
    }
}

@media (max-height: 700px) {
  .logo-container {
    top: 14px;
  }
  .logo {
    width: 125px;
  }
  .content h1 {
    font-size: 26px;
  }
  .content p {
    font-size: 15px;
  }
  .whatsapp-link {
    font-size: 14px;
    padding: 10px 18px;
  }
  .wa-image {
    width: 18px;
    height: 18px;
  }
  section .wave span {
    height: 295vh;
    width: 295vh;
  }
  .Btn {
    width: 185px; /* fixed width */
    justify-content: flex-start; /* icon left, text right */
    border-radius: 999px;
  }
  .text {
    opacity: 1; /* always visible */
    max-width: 140px; /* enough for text */ /* padding-right: 16px; */
  }
  .code-loader {
    font-size: 60px;
  }
}

@media (max-width: 900px) {
    .logo-container {
        top: 14px;
    }
    .logo {
        width: 125px;
    }
    .content h1 {
        font-size: 26px;
    }
    .content p {
        font-size: 15px;
    }
    .whatsapp-link {
        font-size: 14px;
        padding: 10px 18px;
    }
    .wa-image {
        width: 18px;
        height: 18px;
    }
    section .wave span {
        height: 295vh;
        width: 295vh;
    }
    .Btn {
        width: 185px; /* fixed width */
        justify-content: flex-start; /* icon left, text right */
        border-radius: 999px;
    }
    .text {
        opacity: 1; /* always visible */
        max-width: 140px; /* enough for text */ /* padding-right: 16px; */
    }
    .code-loader {
        font-size: 60px;
    }
}
