* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.card {
    display: flex;
    flex-direction: row;
    width: 800px;
    min-height: 600px;
    /* width: auto; */
    background-color: #ffffff;
    /* border-radius: 16px; */
    overflow: hidden;
    /* box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08); */
    position: relative;
    max-width: 95vw;
    margin: 10px;
}

/* ── LEFT PANEL ── */
.left-panel {
    flex: 1;
    /* background: radial-gradient(ellipse at center, #dce8f8 0%, #c5d8f5 50%, #a8c4ef 100%); */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 20px 20px 24px;
    position: relative;
    overflow-x: visible;
}

/* Floating hearts */
.heart {
    position: absolute;
    font-size: 28px;
    opacity: 0.85;
}
.heart-1 { top: 60px;  left: 60px;  font-size: 32px; }
.heart-2 { top: 100px; right: 50px; font-size: 22px; }
.heart-3 { bottom: 160px; right: 40px; font-size: 36px; }
.heart-4 { bottom: 120px; left: 30px; font-size: 20px; }

/* AXA logo top-left */
.axa-logo {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 48px;
}

/* Avatar image */
.avatar-wrapper {
    width: auto;
    height: 460px;
    /* border-radius: 50%; */
    overflow: hidden;
    margin-bottom: 12px;
    /* background: radial-gradient(circle, #e8f0fb 0%, #c5d8f5 100%); */
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* "Halo, Saya emma" text */
.greeting {
    text-align: center;
    line-height: 1.2;
}

.greeting .halo {
    font-size: 14px;
    font-weight: 400;
    color: #333;
}

.greeting .saya {
    font-size: 12px;
    font-weight: 300;
    color: #555;
    font-style: italic;
}

.greeting .emma-text {
    font-size: 42px;
    font-weight: 700;
    font-style: italic;
    color: #1a1a2e;
    font-family: Georgia, serif;
    line-height: 1;
}

.greeting .tagline {
    font-size: 11px;
    color: #444;
    margin-top: 4px;
}

/* ── RIGHT PANEL ── */
.right-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 32px 36px;
    gap: 18px;
    text-align: center;
}

/* Intro text */
.intro-text {
    font-size: 13px;
    color: #333;
    line-height: 1.6;
}

/* Emma logo */
.emma-logo {
    display: flex;
    align-items: center;
    gap: 4px;
}

.emma-logo .emma-brand {
    font-size: 28px;
    font-style: italic;
    font-weight: 700;
    color: #1a1a2e;
    font-family: Georgia, serif;
}

.emma-logo .by-axa {
    font-size: 10px;
    color: #e63946;
    font-weight: 600;
}

.emma-logo img {
    width: 100px;
    height: auto;
}

/* Divider */
.divider {
    width: 100%;
    border: none;
    /* border-top: 1px solid #e8e8e8; */
}

/* RewardPro section */
.feature-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.reward-pro-logo {
    font-size: 26px;
    font-weight: 700;
    font-style: italic;
    color: #e63946;
    font-family: Georgia, serif;
    border-bottom: 2px solid #e63946;
    padding-bottom: 2px;
}

.reward-pro-logo span {
    color: #1a1a2e;
}

.reward-pro-logo img {
    width: 150px;
    height: auto;
}

.feature-desc {
    font-size: 12px;
    color: #555;
    line-height: 1.5;
    /* max-width: 220px; */
}

/* FitXCore section */
.fitxcore-logo {
    font-size: 26px;
    font-weight: 700;
    font-style: italic;
    font-family: Georgia, serif;
}

.fitxcore-logo .fit  { color: #1a1a2e; }
.fitxcore-logo .x    { color: #e63946; }
.fitxcore-logo .core { color: #1a1a2e; }

.fitxcore-logo img {
    width: 160px;
    height: auto;
}

.fitxcore-sub {
    font-size: 11px;
    color: #e63946;
    font-style: italic;
}

.fitxcore-sub .black { color: #1a1a2e; }

/* Download section */
.download-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.download-label {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a2e;
}

.store-buttons {
    display: flex;
    gap: 10px;
}

.store-btn {
    display: block;
    align-items: center;
    /* gap: 6px; */
    /* background-color: #1a1a2e; */
    color: #fff;
    border-radius: 8px;
    padding: 8px 6px;
    text-decoration: none;
    font-size: 10px;
    /* min-width: 110px; */
}

.store-btn .store-icon {
    font-size: 22px;
    line-height: 1;
}

.store-btn .store-text {
    display: flex;
    flex-direction: column;
}

.store-btn .get-it {
    font-size: 8px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.store-btn .store-name {
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.store-btn img {
    width: 120px;
    height: auto;
}

/* ──────────────────────────────────────────────────────── */
/* RESPONSIVE MEDIA QUERIES */
/* ──────────────────────────────────────────────────────── */

/* Tablets and smaller desktops (768px and below) */
@media (max-width: 768px) {
    .card {
        width: 100%;
        min-height: auto;
        flex-direction: column;
        max-width: 100%;
    }

    body {
        padding: 10px;
    }

    .left-panel {
        padding: 20px 20px 0;
        min-height: 300px;
    }

    .avatar-wrapper {
        height: 250px;
        margin-bottom: 8px;
    }

    .axa-logo {
        width: 40px;
    }

    .right-panel {
        padding: 20px 20px;
        gap: 12px;
    }

    .intro-text {
        font-size: 12px;
    }

    .emma-logo img {
        width: 80px;
    }

    .reward-pro-logo img,
    .fitxcore-logo img {
        width: 120px;
    }

    .feature-desc {
        font-size: 11px;
    }

    .store-btn img {
        width: 100px;
    }

    .download-label {
        font-size: 12px;
    }
}

/* Mobile devices (480px and below) */
@media (max-width: 480px) {
    .card {
        width: 100%;
        min-height: auto;
    }

    body {
        padding: 5px;
    }

    .left-panel {
        padding: 15px 15px 0;
        min-height: 200px;
    }

    .avatar-wrapper {
        /* height: 180px; */
        height: auto;
        margin-bottom: 8px;
    }

    .axa-logo {
        width: 32px;
        top: 12px;
        left: 12px;
    }

    /* Adjust heart positions for smaller screens */
    .heart-1 { top: 40px;  left: 40px;  font-size: 24px; }
    .heart-2 { top: 70px; right: 30px; font-size: 18px; }
    .heart-3 { bottom: 100px; right: 20px; font-size: 28px; }
    .heart-4 { bottom: 80px; left: 15px; font-size: 16px; }

    .right-panel {
        padding: 15px;
        gap: 10px;
    }

    .intro-text {
        font-size: 11px;
    }

    .emma-logo img {
        width: 70px;
    }

    .reward-pro-logo img,
    .fitxcore-logo img {
        width: 100px;
    }

    .feature-desc {
        font-size: 10px;
    }

    .store-buttons {
        flex-wrap: wrap;
        gap: 2px;
        justify-content: center;
    }

    .store-btn img {
        width: 90px;
    }

    .download-label {
        font-size: 11px;
    }

    .greeting .emma-text {
        font-size: 32px;
    }

    .download-section {
        gap: 8px;
    }
}