:root {
    --bg-1: #f0f4ff;
    --bg-2: #ffe7f3;
    --card: rgba(255, 255, 255, 0.9);
    --primary: #5b4ae3;
    --secondary: #ff5ca8;
    --text: #1f2540;
    --muted: #5d6688;
    --border: #e7eaf6;
    --shadow: 0 18px 40px rgba(91, 74, 227, 0.18);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, var(--bg-1), var(--bg-2));
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.card {
    width: min(100%, 520px);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 28px 24px;
    backdrop-filter: blur(8px);
}

.brand-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    margin-bottom: 24px;
}

.brand-logo {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 18px rgba(91, 74, 227, 0.18);
    background: #fff;
    padding: 4px;
}

.brand-title {
    margin: 0;
    font-size: clamp(1.1rem, 2.4vw, 1.8rem);
    line-height: 1.3;
    color: var(--primary);
    font-weight: 700;
}

h2 {
    margin: 0 0 20px;
    text-align: center;
    font-size: 24px;
    color: var(--secondary);
}

form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

label {
    font-weight: 700;
    color: var(--muted);
    font-size: 0.95rem;
}

input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #dfe6ff;
    background: #fbfcff;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(91, 74, 227, 0.12);
}

select {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #dfe6ff;
    background: #fbfcff;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(91, 74, 227, 0.12);
}

button {
    width: 100%;
    border: none;
    border-radius: 12px;
    padding: 15px 18px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 12px 24px rgba(91, 74, 227, 0.24);
}

button:hover {
    transform: translateY(-1px);
}

.details {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.detail-box {
    flex: 1;
    min-width: 180px;
    background: linear-gradient(135deg, #eef5ff, #fff3fb);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px;
}

.label {
    display: block;
    color: var(--muted);
    font-size: 0.8rem;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.value {
    font-size: clamp(1.05rem, 2vw, 1.4rem);
    font-weight: 700;
    color: var(--text);
}

.qr-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 2px dashed #d8e4ff;
    border-radius: 20px;
    padding: 18px;
    margin-bottom: 24px;
}

.qr-wrap img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.badge {
    display: inline-block;
    background: linear-gradient(135deg, #19a974, #63d4a4);
    color: #fff;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

li {
    background: linear-gradient(135deg, #f2fff8, #fffaf0);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px 16px;
    color: var(--text);
}

strong {
    color: var(--text);
}

.link {
    display: inline-block;
    margin-top: 22px;
    text-decoration: none;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 700;
}

@media (max-width: 600px) {
    body {
        padding: 16px;
        align-items: flex-start;
    }

    .card {
        padding: 22px 16px;
        border-radius: 18px;
    }

    .details {
        display: grid;
        gap: 12px;
    }

    .detail-box {
        min-width: 100%;
    }

    input, button {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .brand-logo {
        width: 56px;
        height: 56px;
    }

    li {
        padding: 12px 14px;
    }
}
