:root {
    --bg-color: #FFF5F7;
    --accent-color: #FF4D6D;
    --text-dark: #222;
    --card-bg: #FFE4EA
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-color);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center
}

.container {
    width: 100%;
    max-width: 800px;
    padding: 20px;
    text-align: center
}

.header {
    margin-bottom: 40px
}

.header h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 5rem;
    color: #333;
    font-weight: 900;
    letter-spacing: -2px;
    line-height: .8;
    text-transform: lowercase
}

.header .cursive {
    font-family: 'Great Vibes', cursive;
    color: var(--accent-color);
    font-size: 6rem;
    display: block;
    margin-top: -10px;
    transform: rotate(-5deg)
}

.content-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 50px
}

.qr-card,
.info-list {
    flex: 1 1 320px;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.qr-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 40px;
    position: relative;
    box-shadow: 0 10px 30px rgba(255, 77, 109, .1);
    align-items: center;
}

.qr-frame {
    border: 3px solid var(--accent-color);
    border-radius: 24px;
    padding: 8px;
    background: #fff;
    display: inline-block;
    position: relative;
    animation: qrGlow 3s ease-in-out infinite
}

.qr-frame::after {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 28px;
    border: 2px solid var(--accent-color);
    opacity: 0;
    animation: qrPulse 3s ease-in-out infinite
}

.qr-image {
    width: 70vw;
    max-width: 250px;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center
}

.qr-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block
}

@keyframes qrGlow {
    0% {
        box-shadow: 0 0 0 rgba(255, 77, 109, 0)
    }

    50% {
        box-shadow: 0 10px 30px rgba(255, 77, 109, .35)
    }

    100% {
        box-shadow: 0 0 0 rgba(255, 77, 109, 0)
    }
}

@keyframes qrPulse {
    0% {
        opacity: 0;
        transform: scale(.98)
    }

    50% {
        opacity: .6;
        transform: scale(1.02)
    }

    100% {
        opacity: 0;
        transform: scale(.98)
    }
}

.info-list {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 25px
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px
}

.icon-box {
    width: 70px;
    height: 70px;
    background: var(--card-bg);
    border-radius: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    color: var(--accent-color)
}

.info-text h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 4px;
    text-transform: none;
    letter-spacing: 0
}

.info-text p {
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 600;
    color: #3a3a3a;
    font-size: 1.02rem;
    letter-spacing: 0
}

.account-select {
    width: 100%;
    max-width: 300px;
    padding: 12px 16px;
    border-radius: 999px;
    border: 2px solid var(--card-bg);
    background: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #222;
    box-shadow: 0 6px 18px rgba(255, 77, 109, .08);
    transition: border-color .25s ease, box-shadow .25s ease, transform .1s ease
}

.account-select:hover {
    border-color: var(--accent-color);
    box-shadow: 0 10px 26px rgba(255, 77, 109, .18)
}

.account-select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 77, 109, .15)
}

.account-select:active {
    transform: translateY(1px)
}

.info-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px
}

.footer-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 24px
}

.footer-actions .download-btn {
    display: none;
    margin-top: 0
}

.download-btn {
    margin-top: 0
}

.download-btn {
    display: none;
    margin-top: 10px;
    align-items: center;
    justify-content: center;
    background: var(--accent-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(255, 77, 109, .2);
    transition: transform .1s ease, box-shadow .2s ease
}

.download-btn:hover {
    box-shadow: 0 12px 28px rgba(255, 77, 109, .28)
}

.download-btn:active {
    transform: translateY(1px)
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 3.5rem;
    }

    .header .cursive {
        font-size: 4rem;
    }

    .content-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .qr-card {
        padding: 30px;
    }

    .info-list {
        width: fit-content;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 20px;
        align-items: stretch;
        text-align: left;
    }

    .info-item {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
        gap: 20px;
        width: 100%;
    }

    .info-actions {
        justify-content: center;
        width: 100%;
    }

    .account-select {
        margin: 0 auto;
    }
}