body {
    margin: 0;
    padding: 0;
    font-family: "IQOS Sans", sans-serif;
    overflow: hidden;
}

.page_area {
    background-color: #393E44;
    display: flex;
    width: 100%;
    height: 100dvh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.page_area.bg {
    background-image: url(../images/bg-1.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.page_area .page {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.page_area .page h2 {
    color: #FFFDFB;
     font-family: "IQOS Sans", sans-serif;
    font-size: 4.09519rem;
    font-style: normal;
    font-weight: 300;
    line-height: 5.119rem;
    letter-spacing: 0.026rem;
    margin: 0;
}

.page_area .page p {
    text-align: center;
    font-family: "IQOS Sans", sans-serif;
    font-size: 1.59894rem;
    font-style: normal;
    font-weight: 400;
    line-height: 2.09488rem;
    letter-spacing: 0.00438rem;
    color:#fff;
    margin:  20px 0;
}

.page_area .page a {
    display: flex;
    padding: 0 0;
    justify-content: center;
    align-items: center;
    gap: 0.81388rem;
    border-radius: 14.64925rem;
    background: #FFFDFB;
    width: max-content;
    color: #333;
    text-decoration: none;
    padding: 15px 25px;
}

.warning {
    color: #FFFDFB;
    text-align: center;
     font-family: "IQOS Sans", sans-serif;
    font-size: 0.77669rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    position: absolute;
    bottom: 25px;
}

.page_item {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 6rem;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    transform: translateX(0);
    transition: transform 0.3s ease;
}

.page_item.active {
    display: flex;
}

.page_item.slide_out {
    transform: translateX(-100%);
}

.page_item.slide_in {
    display: flex;
    transform: translateX(100%);
}

.page_item.mini {}

.page_item.mini h2 {
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: 45px;
}

.page_item.mini p {
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 33.6px;
}

.page.mini {}
.page.mini h2 {
    text-align: center;
     font-family: "IQOS Sans", sans-serif;
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: 45px;
    letter-spacing: 0.369px;
}

.page.mini p {
    text-align: center;
     font-family: "IQOS Sans", sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 33.6px; 
    letter-spacing: 0.07px;
}

/* Cards Container */
.cards_container {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.card {
    width: 300px;
    height: 400px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transform-style: preserve-3d;
}

.card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.card.selected {
    transform: scale(1.1) translateY(-20px);
    z-index: 10;
}

.card.unselected_left {
    animation: slideOutLeft 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.card.unselected_right {
    animation: slideOutRight 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes slideOutLeft {
    0% {
        transform: translateX(0) rotateY(0deg);
        opacity: 1;
    }
    100% {
        transform: translateX(-150%) rotateY(-45deg);
        opacity: 0;
    }
}

@keyframes slideOutRight {
    0% {
        transform: translateX(0) rotateY(0deg);
        opacity: 1;
    }
    100% {
        transform: translateX(150%) rotateY(45deg);
        opacity: 0;
    }
}

.card_content {
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding: 30px;
    position: relative;
    background: linear-gradient(135deg, #ff4444 0%, #cc3333 100%);
}

.card_title {
     font-family: "IQOS Sans", sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: white;
    background: rgba(0, 0, 0, 0.6);
    padding: 15px 25px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    letter-spacing: 1px;
}

/* Next Button */
.next_btn {
    background: #FFFDFB;
    color: #333;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
     font-family: "IQOS Sans", sans-serif;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(20px);
    margin-top: 40px;
}

.next_btn.show {
    opacity: 1;
    transform: translateY(0);
}

.next_btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Final Screen */
.final_result {
    display: flex;
    align-items: center;
    gap: 60px;
    margin: 40px 0;
}

.product_image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.product_image img {
    max-width: 200px;
    height: auto;
}

.scent_info {
    flex: 1;
    text-align: left;
}

.scent_info h3 {
     font-family: "IQOS Sans", sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #FFFDFB;
}

.scent_info p {
     font-family: "IQOS Sans", sans-serif;
    font-size: 18px;
    opacity: 0.8;
    line-height: 1.4;
}

.save_preference {
    display: flex;
    padding: 15px 40px;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    background: #FFFDFB;
    color: #333;
    text-decoration: none;
     font-family: "IQOS Sans", sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.save_preference:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.boxes {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
    position: relative;
    transition: all 0.3s ease;
}

.box {
    width: 280px;
    height: 320px;
    background-color: #000;
    border-radius: 21.882px 21.882px 0 0;
    position: relative;
    background-size: cover;
    background-position: top;
}

.box span {
    border-radius: 0 0 21.882px 21.882px;
    background: var(--BF-Lighter-Brown, #E5BD69);
    width: 100%;
    position: absolute;
    bottom: -50px;
    left: 0;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

@media (max-width: 1024px) {
    .cards_container {
        gap: 30px;
    }
    
    .card {
        width: 250px;
        height: 350px;
    }
    
    .final_result {
        flex-direction: column;
        gap: 40px;
    }
    
    .scent_info {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .cards_container {
        flex-direction: column;
        gap: 20px;
    }
    
    .card {
        width: 280px;
        height: 300px;
    }
    
    .page.mini h2 {
        font-size: 28px;
        line-height: 35px;
    }
    
    .page.mini p {
        font-size: 20px;
        line-height: 28px;
    }
}


.pagination {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    background-color: #FFFDFB;
    padding: 18px 16px;
    border-radius: 67px;
    border-radius: 67px;
    width: 100px;
}

.pagination span {
    border-radius: 50%;
    background-color: #393E44;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 11744040px;
    opacity: 0.4;
    width: 28px;
    height: 7px;
}

.pagination span.active {
    background-color: #393E44;
    transform: scale(1.2);
    opacity: 1;
}

.pagination span:hover {
    background-color: rgba(255, 255, 255, 0.6);
}

.close_popap {
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
}
.close_popap svg {}

.tinder-left {
  animation: tinderLeft 2500ms cubic-bezier(.2,.8,.2,1) forwards;
  will-change: transform, opacity;
}

@keyframes tinderLeft {
  0% {
    transform: translate(0,0) rotate(0deg) scale(1);
    opacity: 1;
  }
  60% {
    transform: translate(-36vw, -10.8%) rotate(-10.8deg) scale(1.02);
  }
  100% {
    transform: translate(-120vw, -18%) rotate(-24deg) scale(.98);
    opacity: 0;
    pointer-events: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tinder-left {
    animation-duration: 1ms;
  }
}


.tinder-right {
  animation: tinderRight 2500ms cubic-bezier(.2,.8,.2,1) forwards;
  will-change: transform, opacity;
}

@keyframes tinderRight {
  0% {
    transform: translate(0,0) rotate(0deg) scale(1);
    opacity: 1;
  }
  60% {
    transform: translate(36vw, -10.8%) rotate(10.8deg) scale(1.02);
  }
  100% {
    transform: translate(120vw, -18%) rotate(24deg) scale(.98);
    opacity: 0;
    pointer-events: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tinder-right {
    animation-duration: 1ms;
  }
}


.a-left {
    animation: insetToZero-Left 1s ease forwards;
}

.a-right {
    animation: insetToZero-Right 1s ease forwards;
}


@keyframes insetToZero-Left {
  0% {
    opacity: 0;
  }
  100% {
    top: 0;
    bottom: 0;
    left: 0;
    opacity: 1;
  }
}

@keyframes insetToZero-Right {
  0% {
    opacity: 0;
  }
  100% {
    top: 0;
    bottom: 0;
    right: 0;
    opacity: 1;
  }
}

.pointer-events-none {
    pointer-events: none !important;
}

.black_box {
    background-color: #202123 !important;
    pointer-events: none !important;
    border-radius: 21px;
}


.fake_box {
    width: 280px;
    height: 320px;
    position: absolute;
    display: none;
    will-change: width, height;
    transition: all 0.6s ease;
    filter: drop-shadow(0 6.04px 6.04px rgba(0, 0, 0, .25));
    pointer-events: none !important;
    transform-style: preserve-3d;
    background-size: cover;
}

.fake_box .box {
    width: 100%;
    height: 100%;
    will-change: width, height;
transition: transform 0.6s linear, left 0.6s linear, top 0.6s linear, bottom 0.6s linear, width 0.6s linear, height 0.6s linear;

    background-repeat: no-repeat;
    background-position: top;
    background-size: cover;
}

.restart {
    display: flex;
    padding: 0 0;
    justify-content: center;
    align-items: center;
    gap: 0.81388rem;
    border-radius: 14.64925rem;
    background: #FFFDFB;
    width: max-content;
    color: #333;
    text-decoration: none;
    padding: 15px 25px;
    white-space: pre;
}

.pagination.convert {
    opacity: 1 !important;
    position: relative;
    top: 115px;
    background: none;
    padding: 0;
    margin: 0;
}

.input_area {
    margin: 0 0 20px 0;
}
.input_area input {
    width: 400px;
    display: flex;
    margin: 0;
    padding: 15px 10px;
    outline: none;
    font-family: "IQOS Sans", sans-serif;
    font-size: 16px;
}

button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.81388rem;
    border-radius: 14.64925rem;
    background: #FFFDFB;
    width: max-content;
    color: #333;
    text-decoration: none;
    padding: 15px 25px;
    border: none;
    font-family: "IQOS Sans", sans-serif;
    cursor: pointer;
}

.fake_box.rotate .box {
    transform: rotateY(180deg);
}

.area_rotate {
    transform: rotateY(180deg);
}

.fake_box .top {
    display: flex;
    flex-direction: column;
    color: #fff;
    align-items: center;
    justify-content: center;
    padding-top: 45px;
}

.demo {
    background-size: 421px 590px !important;
}

.fake_box .top h2 {
    font-size: 36px;
    font-style: normal;
    font-weight: 700;
    line-height: 45px;
    margin: 0;
}

.fake_box .top p {
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 33.6px;
    margin: 0px 0
}

.fake_box .bottom {
    position: absolute;
    bottom: 0;
    width: 100%;
    left: 0;
}
.fake_box .bottom font {
    color: #fff;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 15px;
}
.fake_box .bottom li {
    list-style: none;
    background-color: #F8F0E9;
    font-size: 15px;
    border-radius: 8px;
    padding: 8px 16px;
    line-height: 20px;
}

.fake_box .bottom ul {
    margin: 0;
    display: flex;
    gap: 10px;
    margin-bottom: 45px;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.fake_box .area {
    width: 100%;
    height: 100%;
    display: flex;
}

.products {
    margin-left: 80px;
}