/* Reset & Global */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(to right, #38bdf8, #8b5cf6);
    overflow-x: hidden;
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Container utama */
.container-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1100px;
    width: 100%;
    gap: 2rem;
    padding: 40px 30px;
    background-color: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    border-radius: 7px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}


/* Kolom kiri */
.konten-kiri {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.card-preview {
    width: 100%;
    border-radius: 7px;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
}

.preview-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: filter 0.3s ease;
}

.card-preview a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(0.2px);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.card-preview a:hover::after {
    opacity: 1;
}

.badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ff6363;
    color: white;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 20px;
    z-index: 2;
}

.button-preview {
    text-align: center;
}

.button-preview .btn {
    background-color: transparent;
    color: white;
    border-radius: 9999px;
    padding: 0.5rem 1.25rem;
    font-size: 1rem;
    border: 1px solid #ffffff;
    transition: 0.2s ease;
    text-decoration: none;
}

.button-preview .btn:hover {
    color: black;
    border: 1px solid #000000;
}

/* Kolom kanan */
.konten-kanan {
    flex: 1;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    text-align: center;
    padding: 1rem;
}

.deskripsi-preview h2 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.subjudul {
    font-size: 1rem;
    color: #cccccc;
    margin-bottom: 0.25rem;
}

.deskripsi-preview p {
    font-size: 1rem;
    color: #e0e0e0;
    margin-bottom: 0.5rem;
}

.deskripsi-preview p i {
    margin-right: 6px;
}

.divider {
    width: 250px;
    border: 1.2px solid white;
    border-radius: 10px;
    margin: 0 auto;
}

.order-preview .btn {
    background-color: white;
    color: black;
    border-radius: 9999px;
    padding: 0.5rem 1.25rem;
    font-size: 1rem;
    border: 1px solid #ffffff;
    transition: 0.2s ease;
    text-decoration: none;
}

.order-preview .btn:hover {
    transform: translateY(-4px);
}

.quote {
    margin-top: 1rem;
    font-style: italic;
    color: #ffffffaa;
    font-size: 0.9rem;
}

.share-icons {
    margin-top: 1.5rem;
}

.share-icons a {
    margin: 0 8px;
    color: white;
    font-size: 2rem;
    transition: color 0.3s;
}

.share-icons a:hover {
    color: #15fa7c;
}

/* Animasi masuk */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

#backgroundCanvas {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    filter: blur(2px);
}

/* Responsive */
@media (max-width: 768px) {
    .container-card {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .konten-kiri,
    .konten-kanan {
        align-items: center;
    }

    .deskripsi-preview h2 {
        font-size: 1.5rem;
    }
}