:root {
  --primary-color: #4e2a1d;
  --body-color: #4e2a1d;
  --white-color: #ffffff;
}

/* PAGE LOADER */
:root {
  --brown: #4e2a1d;
  --brown-light: #7a4a35;
  --cream: #f5efe6;
  --warm: #d4b896;
  --gold: #c9a96e;
}
.page-loader {
  display: block;
  position: fixed;
  z-index: 999999;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-loader::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px;
  pointer-events: none;
  z-index: 100;
  opacity: 0.6;
}

/* Radial warm glow behind logo */
.glow {
  position: fixed;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    ellipse at center,
    rgba(201, 169, 110, 0.18) 0%,
    transparent 70%
  );
  border-radius: 50%;
  animation: pulse-glow 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulse-glow {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}

/* Thin decorative border lines */
.frame {
  position: fixed;
  inset: 28px;
  border: 1px solid rgba(78, 42, 29, 0.12);
  pointer-events: none;
  animation: frame-in 1.8s cubic-bezier(0.77, 0, 0.18, 1) forwards;
  transform-origin: center;
  opacity: 0;
}
.frame::before,
.frame::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--gold);
  border-style: solid;
}
.frame::before {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
}
.frame::after {
  bottom: -1px;
  right: -1px;
  border-width: 0 2px 2px 0;
}

@keyframes frame-in {
  0% {
    opacity: 0;
    transform: scale(1.04);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Container */
.loader-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 10;
}

/* SVG Logo */
.logo-svg {
  width: clamp(260px, 45vw, 420px);
  opacity: 0;
  animation: logo-appear 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards;
}

@keyframes logo-appear {
  0% {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* Paths draw-on effect via stroke animation */
.logo-svg path {
  fill: none;
  stroke: var(--brown);
  stroke-width: 1.2;
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  animation: draw 4s ease forwards;
}

/* Stagger each path */
.logo-svg path:nth-child(1) {
  animation-delay: 0.1s;
}
.logo-svg path:nth-child(2) {
  animation-delay: 0.2s;
}
.logo-svg path:nth-child(3) {
  animation-delay: 0.3s;
}
.logo-svg path:nth-child(4) {
  animation-delay: 0.4s;
}
.logo-svg path:nth-child(5) {
  animation-delay: 0.5s;
}
.logo-svg path:nth-child(6) {
  animation-delay: 0.6s;
}
.logo-svg path:nth-child(7) {
  animation-delay: 0.7s;
}
.logo-svg path:nth-child(8) {
  animation-delay: 0.75s;
}
.logo-svg path:nth-child(9) {
  animation-delay: 0.8s;
}
.logo-svg path:nth-child(10) {
  animation-delay: 0.85s;
}
.logo-svg path:nth-child(11) {
  animation-delay: 0.9s;
}
.logo-svg path:nth-child(12) {
  animation-delay: 0.95s;
}
.logo-svg path:nth-child(13) {
  animation-delay: 1s;
}
.logo-svg path:nth-child(14) {
  animation-delay: 1.05s;
}
.logo-svg path:nth-child(15) {
  animation-delay: 1.1s;
}
.logo-svg path:nth-child(16) {
  animation-delay: 1.15s;
}

@keyframes draw {
  0% {
    stroke-dashoffset: 2000;
    fill: transparent;
  }
  70% {
    stroke-dashoffset: 0;
    fill: transparent;
  }
  100% {
    stroke-dashoffset: 0;
    fill: var(--brown);
    stroke-width: 0;
  }
}

/* Divider line */
.divider {
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: line-grow 1s ease-out 1.6s forwards;
}

@keyframes line-grow {
  to {
    width: clamp(160px, 28vw, 260px);
  }
}

/* Progress bar */
.progress-track {
  width: clamp(160px, 28vw, 260px);
  height: 2px;
  background: rgba(78, 42, 29, 0.1);
  border-radius: 2px;
  overflow: hidden;
  opacity: 0;
  animation: fade-in 0.5s ease 1.8s forwards;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--brown-light), var(--gold));
  border-radius: 2px;
  animation: progress 3.5s cubic-bezier(0.4, 0, 0.2, 1) 2s forwards;
}

@keyframes progress {
  0% {
    width: 0%;
  }
  40% {
    width: 55%;
  }
  70% {
    width: 78%;
  }
  90% {
    width: 92%;
  }
  100% {
    width: 100%;
  }
}

/* Loading label */
.label {
  font-family: "Montserrat", sans-serif;
  font-weight: 200;
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--brown);
  opacity: 0;
  animation: fade-in 0.8s ease 2s forwards;
}

@keyframes fade-in {
  to {
    opacity: 0.55;
  }
}

/* Dots pulse */
.dots span {
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
  margin: 0 3px;
  opacity: 0;
  animation: dot-pulse 1.4s ease-in-out infinite;
}
.dots span:nth-child(1) {
  animation-delay: 0s;
}
.dots span:nth-child(2) {
  animation-delay: 0.22s;
}
.dots span:nth-child(3) {
  animation-delay: 0.44s;
}

@keyframes dot-pulse {
  0%,
  100% {
    opacity: 0.15;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.5);
  }
}

@keyframes fade-in {
  to {
    opacity: 0.55;
  }
}
.dots {
  opacity: 0;
  animation: fade-in 0.8s ease 2.2s forwards;
}
/* END PAGE LOADER */

body {
  margin: 0;
  padding: 0;
  font-family: "albertsans", sans-serif;
  font-size: 18px;
  line-height: 1.5;
  color: var(--body-color);
}

@font-face {
  font-family: "albertsans";
  src:
    url("../fonts/albertsans-variablefont_wght-webfont.woff") format("woff2"),
    url("../fonts/albertsans-variablefont_wght-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 99;
  width: 100%;
  padding: 1.5rem 0;
  text-align: center;
}
.header .logo {
  text-align: center;
}
.header .logo img {
  width: 360px;
}
.ring-image {
  text-align: center;
  padding-bottom: 1rem;
}
.ring-image img {
  animation: floatY 4s ease-in-out infinite;
}
.signup-content p {
  margin-bottom: 1.5rem;
  font-size: 24px;
  font-weight: bold;
  font-family: "albertsans", serif;
}
.signup-button {
  padding: 0.8rem 2.5rem;
  background-color: #4e2a1d;
  display: inline-block;
  color: #ffffff;
  font-size: 24px;
  font-weight: 400;
  text-decoration: none;
  text-transform: uppercase;
}
.ring {
  position: absolute;
  top: 150px;
  left: 150px;
  animation: floatRing 4s ease-in-out infinite;
}
.neckless {
  position: absolute;
  right: -190px;
  top: -174px;
}
.neckless-bottom {
  position: absolute;
  bottom: -150px;
  left: -60px;
}
.bg-circle {
  position: absolute;
  width: 600px;
  height: 600px;
}

.bg-circle.top {
  top: -250px;
  left: -254px;
}

.bg-circle.bottom {
  bottom: -360px;
  right: -360px;
}
.footer {
  position: absolute;
  left: 0;
  bottom: 50px;
  width: 100%;
  text-align: center;
  z-index: 9;
}
.socials {
  position: absolute;
  right: 50px;
  bottom: 0;
  display: flex;
  justify-content: end;
  gap: 18px;
  align-items: center;
}
@media (max-width: 1650px) {
  .neckless-bottom img {
    width: 350px;
  }
  .ring img {
    width: 200px;
  }
  .ring-image img {
    width: 240px;
  }
  .ring {
    left: 140px;
  }
}
.kk-page {
  min-height: 100vh;
  background: #fbf5e7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 40px 20px;
  font-family: "albertsans", sans-serif;
}

@keyframes rotateSlow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes sparkleAnim {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.5) rotate(0deg);
  }

  50% {
    opacity: 1;
    transform: scale(1.2) rotate(180deg);
  }
}

@keyframes plusFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.4;
  }

  50% {
    transform: translateY(-6px) scale(1.2);
    opacity: 0.7;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px) translateY(-60%);
  }

  to {
    opacity: 1;
    transform: translateX(0) translateY(-60%);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 860px;
  width: 100%;
  top: 30px;
}

.brand-name {
  font-family: "albertsans", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 4px;
  color: #4a2c14;
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.3s forwards;
}

.coming-soon-text {
  font-family: "albertsans", serif;
  font-size: clamp(58px, 10vw, 100px);
  font-weight: 900;
  color: #3a1f08;
  line-height: 1;
  margin-bottom: 14px;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.5s forwards;
  letter-spacing: -2px;
}

.tagline {
  font-family: "albertsans", sans-serif;
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 500;
  letter-spacing: 5px;
  color: #4e2a1d;
  margin-bottom: 30px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.7s forwards;
  text-transform: uppercase;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.countdown-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 44px;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.9s forwards;
}

.flip-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.flip-box {
  width: clamp(120px, 12vw, 150px);
  height: clamp(120px, 12vw, 150px);
  background: #2c1919;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 8px 32px rgba(58, 26, 10, 0.25);
}

.flip-box::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
  z-index: 2;
}

.flip-box::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: #522e2e;
  z-index: 1;
}

.flip-number {
  font-family: "albertsans", serif;
  font-size: clamp(50px, 6vw, 70px);
  font-weight: 700;
  color: #d2aeae;
  position: relative;
  z-index: 3;
  letter-spacing: -1px;
  transition: all 0.3s ease;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.flip-number.flip-animate {
  animation: flipNumber 0.4s ease;
}

@keyframes flipNumber {
  0% {
    transform: rotateX(0deg);
    opacity: 1;
  }

  40% {
    transform: rotateX(-90deg);
    opacity: 0;
  }

  60% {
    transform: rotateX(90deg);
    opacity: 0;
  }

  100% {
    transform: rotateX(0deg);
    opacity: 1;
  }
}

.flip-label {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 3px;
  color: #4e2a1d;
  text-transform: uppercase;
}

.ring-showcase {
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 1s ease 1.1s forwards;
  position: relative;
  display: inline-block;
}

.ring-img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  animation: floatRing 4s ease-in-out infinite;
  filter: drop-shadow(0 12px 20px rgba(58, 26, 10, 0.2));
}

@keyframes floatRing {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }

  50% {
    transform: translateY(-14px) rotate(2deg);
  }
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}
.neckless-mobile {
  position: absolute;
  right: -55%;
  top: 80px;
  display: none;
}
@media (max-width: 1699px) {
  .content {
    top: 60px;
  }
  .footer {
    position: relative;
    bottom: 0;
    margin-top: 2rem;
  }
  .coming-soon-text {
    font-size: clamp(58px, 10vw, 70px);
  }
  .flip-box {
    width: clamp(120px, 12vw, 130px);
    height: clamp(120px, 12vw, 130px);
  }
}
@media (max-width: 768px) {
  .header {
    position: relative;
    padding: 1rem 0;
  }
  .header .logo img {
    width: 270px;
  }
  .kk-page {
    padding: 0 20px;
    justify-content: space-between;
  }
  .content {
    top: 0;
  }
  .countdown-row {
    max-width: 300px;
    margin: auto;
  }
  .flip-box {
    width: clamp(90px, 12vw, 130px);
    height: clamp(90px, 12vw, 130px);
  }
  .flip-label {
    font-size: 14px;
  }
  .neckless {
    display: none;
  }
  .ring {
    left: -78px;
    top: 170px;
  }
  .bg-circle.top {
    display: none;
  }
  .footer {
    position: relative;
    left: 0;
    bottom: 0;
    padding-top: 10px;
    margin-top: 0;
  }
  .signup-content p {
    margin-bottom: 1.5rem;
    font-size: 20px;
  }
  .signup-button {
    padding: 0.5rem 2rem;
    font-size: 20px;
  }
  .socials {
    position: relative;
    right: 0;
    bottom: 0;
    justify-content: center;
    padding-top: 1.5rem;
  }
  .ring-image {
    margin-top: 1rem;
  }
  .neckless-mobile {
    display: block;
  }
  .neckless-bottom {
    display: none;
  }
  .bg-circle.bottom {
    bottom: -250px;
    right: auto;
    left: -250px;
    width: auto;
    height: auto;
  }
  .bg-circle.bottom img {
    width: 450px;
  }
  .coming-soon-text {
    line-height: 1.2;
    font-size: 34px;
    letter-spacing: normal;
    max-width: 300px;
    margin: auto;
    margin-bottom: 1rem;
  }
  .tagline {
    margin-bottom: 30px;
  }
}
