@import url('https://fonts.googleapis.com/css2?family=ZCOOL+XiaoWei&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Zhi+Mang+Xing&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Prevent tap highlight */
* {
  -webkit-tap-highlight-color: transparent;
}

/* Prevent accidental text selection */
/* Disable selection only where you don't want it */
.globe-container,
nav,
button,
canvas {
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Still allow text everywhere else */
body, html {
  -webkit-user-select: text;
  -ms-user-select: text;
  user-select: text;
  background:#000000;
}

/* Keep form fields selectable */
input, textarea, select {
  -webkit-user-select: text;
  user-select: text;
}

/* Golden text selection */
::selection {
    background-color: #c8a951; /* golden background */
    color: #000000; /* dark text for contrast */
}

/* For Firefox */
::-moz-selection {
    background-color: #c8a951;
    color: #000000;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

h1 {
  text-align: center;
  color: #fff;
  font-size: 5rem;
  font-weight: 500;
  line-height: 1;
}

.container {
  position: relative;
  width: 100vw;
height: 100vh;      /* fallback for Edge/Firefox */
height: 100svh;     /* modern browsers */

  overflow: hidden;
}

.hero-img {
  position: absolute;
  top: 0;
  width: 100vw;
height: 100vh;      /* fallback for Edge/Firefox */
height: 100svh;     /* modern browsers */

  overflow: hidden;
  z-index: 1;
}


.btn {
  display: flex;
  justify-content: flex-end;
}

.btn a {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  width: 60px;
  height: 40px;
  color: #000;
  background-color: #fff;
  border-radius: 40px;
}

.header {
  width: 100%;
  height: 100%;
  padding-top: 15svh;
  padding-top: 15vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5em;
          color: white;
        z-index: 1;
        position: relative;
}

       .main-heading {
font-family: 'ZCOOL XiaoWei', serif;

            font-size: clamp(2.5rem, 8vw, 6rem);
                        font-weight: 700;
            letter-spacing: 0.02em;
            line-height: 1.1;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);

            text-transform: uppercase;
            position: relative;
            display: inline-block;
            padding: 0 0.5rem;
        }

               .main-text {
 color: #fff;
        }

.shine-text {
  font-family: 'ZCOOL XiaoWei', serif;
  font-weight: 700;
  color: #ffe99b;

}



        .main-heading::before, .main-heading::after {
            content: "";
            position: absolute;
            height: 2px;
            width: 40%;
                    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);

            background: linear-gradient(90deg, transparent, #c8a951, transparent);
            top: 50%;
        }

        .main-heading::before {
            left: -45%;
        }

        .main-heading::after {
            right: -45%;
        }


        .sub-heading-container {
            position: relative;
            text-align: center;
        }

        .sub-heading {
    font-family: 'ZCOOL XiaoWei', serif;
                font-weight: 600;
                    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);

            font-size: clamp(1rem, 1.2vw, 2.2rem);
            text-transform: uppercase;
            max-width: 100%;
            margin: 0 auto;
            opacity: 1;
            position: relative;
            padding: 0rem 3.5rem;
        }

        .sub-heading::before, .sub-heading::after {
            content: "※";
            position: absolute;
            color: #b3983d;
            font-size: 2rem;
            top: 50%;
            transform: translateY(-50%);
        }

        .sub-heading::before {
            left: 0;
        }

        .sub-heading::after {
            right: 0;
        }


            /* Responsive adjustments */
      @media (max-width: 768px) {
        .header {
          padding-top: 15svh;
        }

        .main-heading::before, .main-heading::after {
          width: 30%;
        }

        .main-heading::before {
          left: -35%;
        }

        .main-heading::after {
          right: -35%;
        }
      }

      @media (max-width: 480px) {
        .main-heading::before, .main-heading::after {
          display: none;
        }

            .sub-heading {
                max-width: 100%;

            }
      }

  .cta-hero-container {
    position: absolute;
    left: 50%;
    bottom: 0em;
    transform: translateX(-50%);
    width: 100%;
    max-width: none;
    z-index: 10;
    perspective: 1000px;
  }

  .cta-hero {
    position: relative;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to bottom, rgba(10, 10, 8, 0) 0%, rgba(20, 18, 8, 0.9) 100%);
    border-bottom: 2px solid rgba(200, 169, 81, 0.9);
    overflow: hidden;
    cursor: pointer;
    width: 100%;
  }

  .cta-hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    position: relative;
    z-index: 3;
  }



  .cta-hero:hover  {
    opacity: 1;
    transform: scale(1.2);

  }



  .cta-hero:hover .cta-hero-label {
    color: #c8a951;
    letter-spacing: 0.22em;
    text-shadow: 0 0 15px rgba(200, 169, 81, 0.7);
  }



  .cta-hero:hover {
    transform: scaleX(1);
  }

  /* Chinese characters rushing effect - full width */
  .cta-hero-symbols {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    top: 0;
    left: 0;
  }

  .cta-hero-symbol {
    position: absolute;
    font-family: 'Noto Serif SC', serif;
    color: rgba(200, 169, 81, 0.15);
    font-size: 2rem;
    font-weight: 700;
    opacity: 0;
    z-index: 1;
    animation: symbolRush 3.5s linear infinite;
  }

  .cta-hero:hover .cta-hero-symbol {
    opacity: 1;
  }

  .cta-hero-symbol:nth-child(1) { top: -40px; left: 7%; animation-delay: 0s; }
  .cta-hero-symbol:nth-child(2) { top: -40px; left: 22%; animation-delay: 0.4s; }
  .cta-hero-symbol:nth-child(3) { top: -40px; left: 38%; animation-delay: 0.8s; }
  .cta-hero-symbol:nth-child(4) { top: -40px; left: 53%; animation-delay: 1.2s; }
  .cta-hero-symbol:nth-child(5) { top: -40px; left: 68%; animation-delay: 1.6s; }
  .cta-hero-symbol:nth-child(6) { top: -40px; left: 83%; animation-delay: 2.0s; }
  .cta-hero-symbol:nth-child(7) { top: -40px; left: 12%; animation-delay: 2.4s; }
  .cta-hero-symbol:nth-child(8) { top: -40px; left: 29%; animation-delay: 2.8s; }
  .cta-hero-symbol:nth-child(9) { top: -40px; left: 45%; animation-delay: 3.2s; }
  .cta-hero-symbol:nth-child(10) { top: -40px; left: 61%; animation-delay: 3.6s; }
  .cta-hero-symbol:nth-child(11) { top: -40px; left: 77%; animation-delay: 4.0s; }
  .cta-hero-symbol:nth-child(12) { top: -40px; left: 5%; animation-delay: 4.4s; }
  .cta-hero-symbol:nth-child(13) { top: -40px; left: 18%; animation-delay: 4.8s; }
  .cta-hero-symbol:nth-child(14) { top: -40px; left: 34%; animation-delay: 5.2s; }
  .cta-hero-symbol:nth-child(15) { top: -40px; left: 50%; animation-delay: 5.6s; }
  .cta-hero-symbol:nth-child(16) { top: -40px; left: 66%; animation-delay: 6.0s; }
  .cta-hero-symbol:nth-child(17) { top: -40px; left: 82%; animation-delay: 6.4s; }
  .cta-hero-symbol:nth-child(18) { top: -40px; left: 15%; animation-delay: 6.8s; }
  .cta-hero-symbol:nth-child(19) { top: -40px; left: 42%; animation-delay: 7.2s; }
  .cta-hero-symbol:nth-child(20) { top: -40px; left: 74%; animation-delay: 7.6s; }

  @keyframes symbolRush {
    0% {
      transform: translateY(0) rotate(0deg);
      opacity: 0;
    }
    10% {
      opacity: 0.7;
    }
    30% {
      opacity: 0.9;
    }
    50% {
      opacity: 0.7;
    }
    70% {
      opacity: 0.4;
    }
    100% {
      transform: translateY(150px) rotate(8deg);
      opacity: 0;
    }
  }




  /* Responsive adjustments */
  @media (max-width: 768px) {
    .cta-hero {
      height: 90px;
    }

    .cta-hero-content {
      gap: 20px;
    }



    .cta-hero-label {
      font-size: 1.2rem;
    }

    .cta-hero-symbol {
      font-size: 1.7rem;
    }
  }

  @media (max-width: 480px) {
    .cta-hero {
      height: 80px;
    }

    .cta-hero-content {
      gap: 15px;
    }

    .cta-hero-label {
      font-size: 1rem;
      letter-spacing: 0.12em;
    }

    .cta-hero-symbol {
      font-size: 1.5rem;
    }
  }.cta-hero-label {
    font-family: 'ZCOOL XiaoWei', serif;
    font-size: 1.4rem;
    color: #e8e1c7;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
    transition: all 0.4s ease;
    text-align: center;
    font-weight: 300;
}

.subtle-arrow {
    opacity: 0.6;
    transition: all 0.4s ease;
    transform: translateY(0);
}

.cta-hero:hover .subtle-arrow {
    opacity: 0.9;
    transform: translateY(5px);
}

.cta-hero:hover .cta-hero-label {
    color: #c8a951;
    text-shadow: 0 0 12px rgba(200, 169, 81, 0.4);
}

/* Reduce symbol opacity and speed slightly */
.cta-hero-symbol {
    position: absolute;
    font-family: 'Noto Serif SC', serif;
    color: rgba(200, 169, 81, 0.12);
    font-size: 1.8rem;
    font-weight: 700;
    opacity: 0;
    z-index: 1;
    animation: symbolRush 4s linear infinite;
}

@keyframes symbolRush {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    15% {
        opacity: 0.5;
    }
    35% {
        opacity: 0.7;
    }
    55% {
        opacity: 0.5;
    }
    75% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(140px) rotate(5deg);
        opacity: 0;
    }
}


.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;      /* fallback for Edge/Firefox */
height: 100svh;     /* modern browsers */

  overflow: hidden;
  z-index: 100;
  transition: opacity 0.5s ease;
    display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.logo-loader {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem; /* Space between text and logo */
}

.logo-loader img {
  width: 180px;
  height: 180px;
  opacity: 0;
  transform: scale(0.8);
  animation: logoReveal 2.5s ease-in-out forwards;
}
@keyframes logoReveal {
  0% {
    opacity: 0;
    transform: scale(0.8) rotate(-10deg);
  }
  20% {
    opacity: 1;
    transform: scale(1.05) rotate(5deg);
  }
  40% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
  70% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.2);
  }
}

.overlay {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
}

.block {
  position: absolute;
  top: 0;
  width: 51%;
  height: 100%;
  background: #000000;
}

.block:first-child {
  left: 0;
}

.block:last-child {
  right: 0;
}

.intro-logo {
  position: relative;
  display: flex;
  gap: 0.5rem;
  user-select: none;
  z-index: 10;
  user-select: none; /* Prevent text selection */
  -webkit-user-select: none; /* Safari support */
  -moz-user-select: none; /* Firefox support */
  -ms-user-select: none; /* IE/Edge support */
}

#word-1, #word-2 {
  position: relative;
  padding: 0 10rem;
}

.word h1 {
  font-size: 2.5rem;
  font-family: 'Zhi Mang Xing', cursive;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: white; /* Ensure text is white */
}

@media (max-width: 900px) {
  .word h1 {
    font-size: 1.8rem;
    letter-spacing: 0.05em;
  }

  .intro-logo {
    gap: 0.3rem;
  }
}

@media (max-width: 480px) {
  .word h1 {
    font-size: 1.5rem;
  }

  .intro-logo {
    flex-direction: column; /* Stack words vertically on very small screens */
    gap: 0.1rem;
    text-align: center;
  }
}
.divider {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  transform-origin: center top;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, transparent 0%, #ffffff 15%, #ffffff 85%, transparent 100%);
  z-index: 2;
}




.line,
.cta-label,
.word,
.count .digit {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

.line h1,
.line p,
.count .digit h1 {
  position: relative;
  transform: translateY(120%);
  will-change: transform;
}

#word-1 h1 {
  transform: translateY(-120%);
}

#word-2 h1 {
  transform: translateY(120%);
}

.block {
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.divider {
  transform: scaleY(0%);
  will-change: transform;
}

.hero-img {
  transform: scale(1.5);
  will-change: transform;
}

@media (max-width: 900px) {
  h1 {
    font-size: 2.5rem;
  }


}
    .whatsapp-button {
        position: fixed;
        bottom: 2rem;
        right: 2rem;
        width: 70px;
        height: 70px;
        background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
        color: white;
        border: none;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        z-index: 1000;
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
        overflow: hidden;
    }

    .whatsapp-button::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: -1;
    }

    .whatsapp-button.visible {
        opacity: 1;
        visibility: visible;
    }

    .whatsapp-button:hover {
        transform: translateY(-5px) scale(1.08);
        box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
    }

    .whatsapp-button:hover::before {
        opacity: 1;
    }

    .whatsapp-button i {
        font-size: 2.4rem;
        transition: transform 0.3s ease;
    }

    .whatsapp-button:hover i {
        transform: scale(1.15);
    }

    /* Pulse animation */
    @keyframes pulse-glow {
        0% {
            box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
        }
        70% {
            box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
        }
        100% {
            box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
        }
    }

    .whatsapp-button.pulse {
        animation: pulse-glow 2s infinite;
    }

    /* Enhanced Popup Styles */
    .whatsapp-popup {
        position: absolute;
        bottom: 85px;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
        width: 260px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(15px) scale(0.95);
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        z-index: 999;
        pointer-events: none;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(200, 169, 81, 0.2);
    }

    .whatsapp-popup::after {
        content: '';
        position: absolute;
        bottom: -8px;
        right: 15px;
        width: 16px;
        height: 16px;
        background: rgba(255, 255, 255, 0.95);
        transform: rotate(45deg);
        border-right: 1px solid rgba(200, 169, 81, 0.2);
        border-bottom: 1px solid rgba(200, 169, 81, 0.2);
    }

    .whatsapp-button:hover .whatsapp-popup {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }

    .popup-content {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .popup-content i {
        color: #25D366;
        font-size: 1.8rem;
        flex-shrink: 0;
    }

    .popup-text {
        color: #2d3748;
        font-weight: 600;
        font-size: 1rem;
        line-height: 1.4;
        font-family: 'Cinzel', serif;
    }

    .popup-subtext {
        color: #4a5568;
        font-size: 0.85rem;
        margin-top: 5px;
        font-weight: 400;
    }

    /* Notification badge */
    .whatsapp-notification {
        position: absolute;
        top: -5px;
        right: -5px;
        width: 22px;
        height: 22px;
        background: #c8a951;
        color: #000000;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.7rem;
        font-weight: bold;
        animation: pulse 2s infinite;
        box-shadow: 0 2px 8px rgba(200, 169, 81, 0.5);
    }

    @keyframes pulse {
        0% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.1);
        }
        100% {
            transform: scale(1);
        }
    }

    /* Responsive Design */
    @media (max-width: 768px) {
        .whatsapp-button {
            bottom: 1.5rem;
            right: 1.5rem;
            width: 65px;
            height: 65px;
        }

        .whatsapp-button i {
            font-size: 2.2rem;
        }

        .whatsapp-popup {
            width: 240px;
            bottom: 75px;
            right: -20px;
        }

        .whatsapp-popup::after {
            right: 25px;
        }
    }

    @media (max-width: 480px) {
        .whatsapp-button {
            width: 60px;
            height: 60px;
            bottom: 1rem;
            right: 1rem;
        }

        .whatsapp-button i {
            font-size: 2rem;
        }

        .whatsapp-popup {
            width: 220px;
            right: -30px;
        }

        .whatsapp-popup::after {
            right: 35px;
        }
    }.whatsapp-button:hover .whatsapp-popup {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    transition: transform 0.3s ease, opacity 0.3s ease;
}