body {
  margin: 0;
  color: beige;
  scroll-behavior: smooth;
  font-family: "Inter", sans-serif;
  background: #1c1c19;
  scroll-snap-type: y mandatory;
}

html {
  scroll-behavior: smooth;
}

.page {
  height: 100vh;
  width: 100%;
  position: relative;
  overflow: hidden;
  scroll-snap-align: start;
  opacity: 0;
  transform: translateY(60px) scale(0.98);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.page.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.top-bar {
  position: absolute;
  top: 80px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  text-align: center;
  border-top: 3px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
}

.top-bar span {
  position: relative;
  font-size: 0.9rem;
  opacity: 1;
}

.top-bar span:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: -80px;
  height: 120px;
  border-radius: 10px;
  width: 3px;
  background: rgba(255, 255, 255, 0.2);
}

.hero {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.hero h1 {
  font-size: 9rem;
  font-family: "Playfair Display", serif;
  font-weight: 400;
  letter-spacing: -2px;
  margin: 0;
}

.role {
  margin-top: 30px;
  display: inline-block;
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 2rem;
}

.overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.star {
  position: absolute;
  width: 80px;
  top: 35px;
  left: -20%;
}

.star1 {
  position: absolute;
  width: 80px;
  bottom: 35px;
  right: -20%;
}

.name {
  position: absolute;
  top: -50%;
  width: 400px;
  right: -35%;
}

.circle {
  position: absolute;
  bottom: -5%;
  left: 15%;
  width: 400px;
}

.star,
.star1 {
  animation: float 4s ease-in-out infinite;
}

/* .name {
  animation: floatSlow 6s ease-in-out infinite;
} */

.circle {
  animation: floatSlow 7s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes floatSlow {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes floatTilt {
  0%,
  100% {
    transform: translateY(0) rotate(-4deg) scale(1);
  }
  50% {
    transform: translateY(-14px) rotate(4deg) scale(1.04);
  }
}

@keyframes orbitDrift {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(18deg);
  }
}

@keyframes hoverSwing {
  0%,
  100% {
    transform: translateY(0) rotate(-3deg);
  }
  50% {
    transform: translateY(12px) rotate(3deg);
  }
}
/* index one */
/* ===== SECTION ===== */
.indexone {
  background-color: beige;
  color: #1c1c19;
}

/* ===== WRAPPER ===== */
.wrapperone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(2rem, 7vw, 7rem);
  padding: clamp(6rem, 10vh, 8rem) clamp(1.5rem, 6vw, 5rem) 3rem;
  width: min(1180px, 100%);
  margin: 0 auto;
  min-height: 100vh;
  box-sizing: border-box;
  position: relative;
}

/* ===== IMAGE ===== */
.profile-photo {
  width: clamp(220px, 28vw, 360px);
  max-width: 42vw;
  height: auto;
  border-radius: 18px;
  display: block;
  object-fit: cover;
  flex-shrink: 0;
}

/* ===== TEXT ===== */
.text {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  max-width: min(400px, 100%);
  gap: 0;
  text-align: right;
}

.text h1,
.text p {
  margin: 0;
}

.text h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(3rem, 6vw, 4.8rem);
  line-height: 1.2;
  letter-spacing: 1px;
}

.text p {
  margin-top: 10px;
  opacity: 0.7;
  line-height: 1.6;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
}

.indexone .overlay img {
  position: absolute;
  width: clamp(120px, 16vw, 220px);
  height: auto;
}

.pin {
  position: absolute;
  top: 30%;
  left: 70%;
  transform: translate(-50%, -60%);
}
.s3 {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translate(-60%, -60%);
  opacity: 0.6;
}
.s2 {
  position: absolute;
  bottom: 10%;
  left: 20%;
  transform: translate(-50%, -50%);
}

.s1sticker {
  top: 12%;
  left: 8%;
  transform: translate(-20%, -10%);
}

@media (max-width: 1100px) {
  .wrapperone {
    gap: 2.5rem;
  }

  .pin {
    left: 70%;
  }

  .s3 {
    left: 52%;
  }
}

@media (max-width: 820px) {
  .wrapperone {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding-top: 7rem;
    padding-bottom: 4rem;
  }

  .text {
    align-items: center;
    text-align: center;
  }

  .profile-photo {
    width: min(320px, 72vw);
    max-width: 100%;
  }

  .indexone .overlay img {
    width: clamp(100px, 22vw, 160px);
  }

  .s1sticker {
    top: 10%;
    left: 8%;
  }

  .pin {
    top: 20%;
    right: 10%;
  }

  .s3 {
    bottom: 6%;
    left: 70%;
  }

  .s2 {
    bottom: 22%;
    left: 8%;
  }
}

@media (max-width: 520px) {
  .wrapperone {
    padding-left: 1rem;
    padding-right: 1rem;
    gap: 1.5rem;
  }

  .text h1 {
    line-height: 1;
  }

  .text p {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .indexone .overlay img {
    width: 90px;
  }

  .pin {
    right: 4%;
  }

  .s3 {
    left: 78%;
  }
}
.indextwo {
  background-color: beige;
  color: #1c1c19;
}
.wrappertwo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(2rem, 7vw, 7rem);
  padding: clamp(6rem, 10vh, 8rem) clamp(1.5rem, 6vw, 5rem) 3rem;
  width: min(1180px, 100%);
  margin: 0 auto;
  min-height: 100vh;
  box-sizing: border-box;
}
.qr {
  width: clamp(220px, 28vw, 360px);
  max-width: 42vw;
  height: auto;
  display: block;
  flex-shrink: 0;
}

.indextwo .text {
  align-items: flex-start;
  text-align: left;
  max-width: min(520px, 100%);
}

@media (max-width: 1100px) {
  .wrappertwo {
    gap: 2.5rem;
  }
}

@media (max-width: 820px) {
  .wrappertwo {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding-top: 7rem;
    padding-bottom: 4rem;
  }

  .indextwo .text {
    align-items: center;
    text-align: center;
    max-width: 100%;
  }

  .qr {
    width: min(320px, 72vw);
    max-width: 100%;
  }
}

@media (max-width: 520px) {
  .wrappertwo {
    padding-left: 1rem;
    padding-right: 1rem;
    gap: 1.5rem;
  }

  .qr {
    width: min(260px, 70vw);
  }
}
.sticker {
  position: absolute;
}

.swirl-wrapper {
  position: absolute;
  top: 10%;
  left: 10%;
}

.swirl {
  width: clamp(130px, 16vw, 220px);
  height: auto;
  display: block;
  cursor: pointer;
  transition: transform 20.3s ease;
}

.hint {
  position: absolute;
  top: -2rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(28, 28, 25, 0.78);
  font-size: 0.7rem;
  color: beige;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.btn {
  bottom: 5%;
  right: 10%;
  height: 25%;
  transition: transform 5.3s ease;
}
.btn:hover {
  transform: scale(1.05) rotate(360deg);
}
.swirl-wrapper:hover .swirl {
  transform: scale(1.05) rotate(860deg);
}
.phone {
  height: 30%;
  transition: all 0.3s ease;
  bottom: -3%;
}
.phone:hover {
  height: 35%;
  filter: drop-shadow(0 0 15px rgba(108, 142, 191, 0.8));
}
.stemp {
  top: 2%;
  right: 10%;
  height: 30%;
}
.swirl-wrapper:hover .hint {
  opacity: 1;
  transform: translateX(-50%) translateY(-0.2rem);
}

@media (max-height: 850px) {
  .wrappertwo {
    padding-top: 4.5rem;
    padding-bottom: 2rem;
  }

  .qr {
    width: clamp(180px, 22vw, 300px);
  }

  .swirl-wrapper {
    top: 7%;
    left: 6%;
  }

  .swirl {
    width: clamp(100px, 11vw, 170px);
  }

  .btn {
    right: 6%;
    height: 20%;
  }

  .phone {
    height: 24%;
    bottom: 0;
  }

  .stemp {
    top: 1%;
    right: 6%;
    height: 24%;
  }
}

@media (max-height: 700px) {
  .wrappertwo {
    padding-top: 4rem;
    gap: 1.5rem;
  }

  .indextwo .text h1 {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
  }

  .indextwo .text p {
    font-size: 0.96rem;
    line-height: 1.45;
  }

  .qr {
    width: clamp(150px, 18vw, 240px);
  }

  .swirl-wrapper {
    top: 5%;
    left: 4%;
  }

  .swirl {
    width: clamp(82px, 9vw, 130px);
  }

  .btn {
    right: 4%;
    bottom: 3%;
    height: 16%;
  }

  .phone {
    height: 19%;
    bottom: 1%;
  }

  .stemp {
    right: 4%;
    height: 18%;
  }

  .hint {
    top: -1.6rem;
    font-size: 0.62rem;
  }
}

@media (max-width: 820px) and (max-height: 900px) {
  .swirl-wrapper {
    top: 4%;
    left: 6%;
  }

  .swirl {
    width: clamp(88px, 20vw, 140px);
  }

  .btn {
    right: 6%;
    bottom: 2%;
    height: 16%;
  }

  .phone {
    height: 20%;
    bottom: 0;
  }

  .stemp {
    right: 6%;
    height: 18%;
  }
}
.indexthree {
  color: beige;
  background-color: #1c1c19;
}

.wrapperthree {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(2rem, 7vw, 7rem);
  padding: clamp(6rem, 10vh, 8rem) clamp(1.5rem, 6vw, 5rem) 3rem;
  width: min(1180px, 100%);
  margin: 0 auto;
  min-height: 100vh;
  box-sizing: border-box;
  position: relative;
}

.indexthree .text {
  align-items: flex-start;
  text-align: left;
  max-width: min(520px, 100%);
}

.computer {
  width: clamp(220px, 28vw, 360px);
  max-width: 42vw;
  height: auto;
  display: block;
  flex-shrink: 0;
  position: relative;
  transform: translateY(20%);
  z-index: 1;
}

.crome-stars {
  top: 10%;
  left: 8%;
  width: clamp(165px, 21vw, 285px);
  animation: floatTilt 5.5s ease-in-out infinite;
}

.crome-swirl {
  bottom: 10%;
  left: 18%;
  width: clamp(165px, 21vw, 285px);
  animation: orbitDrift 8s ease-in-out infinite;
}

.samsung {
  top: 8%;
  right: 10%;
  width: clamp(180px, 24vw, 330px);
  animation: hoverSwing 6.5s ease-in-out infinite;
}

@media (max-width: 1100px) {
  .wrapperthree {
    gap: 2.5rem;
  }
}

@media (max-width: 820px) {
  .wrapperthree {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding-top: 7rem;
    padding-bottom: 4rem;
  }

  .indexthree .text {
    align-items: center;
    text-align: center;
    max-width: 100%;
  }

  .computer {
    width: min(320px, 72vw);
    max-width: 100%;
  }

  .crome-stars {
    top: 8%;
    left: 8%;
  }

  .crome-swirl {
    bottom: 8%;
    left: 10%;
  }

  .samsung {
    top: 10%;
    right: 8%;
  }
}

@media (max-width: 520px) {
  .wrapperthree {
    padding-left: 1rem;
    padding-right: 1rem;
    gap: 1.5rem;
  }

  .computer {
    width: min(260px, 70vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  .crome-stars,
  .crome-swirl,
  .samsung {
    animation: none;
  }
}
