* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --screen-width: 1280px;
    --screen-height: 832px;
}

body {
    font-family: 'Roboto Mono', monospace;
    background: #FFFFFF;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    width: var(--screen-width);
    height: var(--screen-height);
    position: relative;
    transform-origin: center center;
}

/* Logo */
.logo {
    position: absolute;
    left: 77px;
    top: 76px;
    width: 98px;
    height: 65px;
    z-index: 100;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Language Icon */
.language-icon {
    position: absolute;
    right: calc(100% - 1153px - 50px);
    top: 74px;
    width: 50px;
    height: 50px;
    z-index: 100;
    transition: transform 0.3s ease;
}

.language-icon:hover {
    transform: scale(1.1);
}

.language-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Images Container */
.images-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.image-layer {
    position: absolute;
    opacity: 0;
    transform: translateY(0) scale(1);
    transition: opacity 0.8s ease, transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.image-layer.active {
    opacity: 1;
    pointer-events: auto;
}

.image-layer.lifting {
    opacity: 0;
    z-index: 10;
}

.image-layer[data-item="card-benefits"].lifting {
    transform: translateY(-100vh) scale(0.95) rotate(21.75deg);
}

.image-layer:not([data-item="card-benefits"]).lifting {
    transform: translateY(-100vh) scale(0.95);
}

.image-layer.landing {
    animation: landingWiggle 2s ease-out;
}

@keyframes landingWiggle {
    0% {
        transform: translateY(0) scale(1) rotate(0deg);
    }
    10% {
        transform: translateY(-5px) scale(1.02) rotate(-0.5deg);
    }
    20% {
        transform: translateY(2px) scale(0.99) rotate(0.3deg);
    }
    30% {
        transform: translateY(-2px) scale(1.01) rotate(-0.2deg);
    }
    40% {
        transform: translateY(1px) scale(1) rotate(0.1deg);
    }
    50% {
        transform: translateY(0) scale(1) rotate(0deg);
    }
    100% {
        transform: translateY(0) scale(1) rotate(0deg);
    }
}

@keyframes landingWiggleRotated {
    0% {
        transform: translateY(0) scale(1) rotate(21.75deg);
    }
    10% {
        transform: translateY(-5px) scale(1.02) rotate(-22.25deg);
    }
    20% {
        transform: translateY(2px) scale(0.99) rotate(-21.45deg);
    }
    30% {
        transform: translateY(-2px) scale(1.01) rotate(-21.95deg);
    }
    40% {
        transform: translateY(1px) scale(1) rotate(-21.65deg);
    }
    50% {
        transform: translateY(0) scale(1) rotate(21.75deg);
    }
    100% {
        transform: translateY(0) scale(1) rotate(21.75deg);
    }
}

.image-layer[data-item="card-benefits"].landing {
    animation: landingWiggleRotated 2s ease-out;
}

/* Card Benefits Image (77.png) */
.image-layer[data-item="card-benefits"] {
    left: -109px;
    top: 78px;
    width: 970.14px;
    height: 611.74px;
    transform: rotate(21.75deg);
    transform-origin: center center;
}

.image-layer[data-item="card-benefits"] .product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Cooked Experience Kit */
.image-layer[data-item="cooked-experience-kit"] {
    left: -105px;
    top: 76px;
    width: 904px;
    height: 904px;
}

.image-layer[data-item="cooked-experience-kit"] .product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Convconv Gathering Box */
.image-layer[data-item="convconv-gathering-box"] {
    left: -62px;
    top: 256px;
    width: 1078px;
    height: 824px;
}

.image-layer[data-item="convconv-gathering-box"] .base-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.image-layer[data-item="convconv-gathering-box"] .overlay-image {
    position: absolute;
    object-fit: contain;
}

.image-layer[data-item="convconv-gathering-box"] .overlay-1 {
    left: 97px;
    top: 203px;
    width: 367px;
    height: 367px;
}

.image-layer[data-item="convconv-gathering-box"] .overlay-2 {
    left: 464px;
    top: 311px;
    width: 281px;
    height: 281px;
}

.image-layer[data-item="convconv-gathering-box"] .overlay-3 {
    left: 436px;
    top: 97px;
    width: 211px;
    height: 211px;
}

/* Soon Images */
.image-layer[data-item]:not([data-item="card-benefits"]):not([data-item="cooked-experience-kit"]):not([data-item="convconv-gathering-box"]) {
    left: 7px;
    top: 213px;
    width: 809px;
    height: 619.5px;
}

.image-layer[data-item]:not([data-item="card-benefits"]):not([data-item="cooked-experience-kit"]):not([data-item="convconv-gathering-box"]) .product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Product List */
.product-list {
    position: absolute;
    left: 834px;
    top: 209px;
    width: 369px;
    height: 312px;
    z-index: 50;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
}

.list-item {
    font-family: 'Roboto Mono', monospace;
    font-weight: 500;
    font-size: 20px;
    line-height: 26px;
    color: #000000;
    cursor: pointer;
    transition: transform 0.3s ease, font-weight 0.3s ease;
    text-align: left;
    user-select: none;
}

.list-item:hover {
    transform: scale(1.5);
    transform-origin: left center;
}

.list-item.active {
    font-weight: 700;
}

.list-item .small-text {
    font-size: 15px;
}

/* Price */
.price {
    position: absolute;
    left: 834px;
    top: 592px;
    width: 369px;
    height: 47px;
    font-family: 'Roboto Slab', serif;
    font-weight: 900;
    font-size: 96px;
    line-height: 26px;
    color: #000000;
    text-align: left;
    z-index: 50;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.price:hover {
    transform: scale(1.05);
}

/* Add to Cart Button */
.add-to-cart-btn {
    position: absolute;
    left: 868px;
    top: 674px;
    width: 302px;
    height: 70px;
    background: #FFFAFA;
    border: none;
    outline: none;
    border-radius: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    font-family: 'Roboto Mono', monospace;
    font-weight: 700;
    font-size: 24px;
    line-height: 24px;
    color: #B6B6B6;
    z-index: 50;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.add-to-cart-btn:active {
    transform: translateY(0);
}

/* Footer */
.footer {
    position: absolute;
    left: 50%;
    top: 804px;
    width: 239px;
    height: 29px;
    z-index: 100;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    transform: translateX(-50%);
}

.footer a {
    font-family: 'Roboto Mono', monospace;
    font-weight: 400;
    font-size: 12px;
    line-height: 24px;
    color: #000000;
    text-decoration: none;
    text-align: center;
    transition: opacity 0.3s ease;
}

.footer a:hover {
    opacity: 0.7;
}

/* Responsive Scaling */
@media (max-width: 1280px) {
    .container {
        transform: scale(calc(100vw / var(--screen-width)));
        transform-origin: center center;
    }
}

@media (max-height: 832px) {
    .container {
        transform: scale(calc(100vh / var(--screen-height)));
        transform-origin: center center;
    }
}

@media (max-width: 1280px) and (max-height: 832px) {
    .container {
        transform: scale(min(calc(100vw / var(--screen-width)), calc(100vh / var(--screen-height))));
        transform-origin: center center;
    }
}

/* Parallax effect on hover */
.images-container .image-layer.active {
    transition: transform 0.1s ease-out;
}

/* Ensure images start with proper opacity */
.image-layer .product-image {
    opacity: 1;
    transition: opacity 0.8s ease;
}

.image-layer:not(.active) .product-image {
    opacity: 0;
}

/* Convconv overlays */
.image-layer[data-item="convconv-gathering-box"] .overlay-image {
    opacity: 0;
    transition: opacity 0.8s ease;
}

.image-layer[data-item="convconv-gathering-box"].active .overlay-image {
    opacity: 1;
}

