:root {
    --bg: linear-gradient(180deg, #1e1b4b, #0f172a);
    --card-bg: rgba(30, 27, 75, 0.85);
    --border: rgba(236, 72, 153, 0.4);
    --brawl-pink: #ec4899;
    --brawl-purple: #8b5cf6;
    --brawl-yellow: #facc15;
    --text: #ffffff;
    --text-dim: #cbd5e1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: var(--bg);
    color: var(--text);
    padding-bottom: 60px;
}

.container {
    padding: 0 20px;
    max-width: 600px;
    margin: 0 auto;
}

/* Header */
.header {
    height: 70px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
    margin-bottom: 30px;
}

.logo-main {
    font-weight: 900;
    font-size: 22px;
}

.logo-sub {
    background: linear-gradient(90deg, #ec4899, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

.btn-back {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 14px;
}

/* Title */
.page-title {
    font-size: 26px;
    margin-bottom: 8px;
    background: linear-gradient(90deg, #ec4899, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-subtitle {
    color: var(--text-dim);
    font-size: 14px;
    margin-bottom: 25px;
}

/* ===================== */
/* GEM GRID */
/* ===================== */

.uc-packages {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.uc-card {
    background: var(--card-bg);
    border: 2px solid var(--border);
    border-radius: 20px;
    padding: 22px;
    text-align: center;
    cursor: pointer;
    transition: 0.3s ease;
    position: relative;
    backdrop-filter: blur(10px);
}

/* Cartoon hover bounce */
.uc-card:hover {
    transform: translateY(-6px) scale(1.03);
    border-color: var(--brawl-pink);
    box-shadow: 0 0 25px rgba(236, 72, 153, 0.6);
}

/* Active */
.uc-card.active {
    border: 3px solid var(--brawl-yellow);
    box-shadow: 0 0 30px rgba(250, 204, 21, 0.8);
}

/* Badge */
.uc-card .badge {
    position: absolute;
    top: -8px;
    right: 10px;
    background: var(--brawl-yellow);
    color: #000;
    font-size: 11px;
    font-weight: 900;
    padding: 4px 8px;
    border-radius: 8px;
}

/* Icon */
.uc-card img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 12px;
    filter: drop-shadow(0 0 12px rgba(139, 92, 246, 0.6));
}

/* Gem amount */
.uc-card h3 {
    font-size: 18px;
    margin-bottom: 6px;
}

/* Price */
.uc-card p {
    color: var(--brawl-pink);
    font-weight: 900;
    font-size: 15px;
}

/* ===================== */
/* ORDER SUMMARY */
/* ===================== */

.order-summary {
    background: rgba(30, 27, 75, 0.9);
    border: 2px dashed var(--brawl-purple);
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 25px;
}

.sum-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 14px;
}

.val {
    font-weight: 900;
    color: var(--brawl-yellow);
}

/* ===================== */
/* BUTTON */
/* ===================== */

.btn-primary-lg {
    width: 100%;
    background: linear-gradient(90deg, #ec4899, #8b5cf6);
    color: #fff;
    border: none;
    padding: 18px;
    border-radius: 18px;
    font-weight: 900;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 0 25px rgba(236, 72, 153, 0.6);
}

.btn-primary-lg:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 35px rgba(236, 72, 153, 0.9);
}

.btn-primary-lg:disabled {
    background: #1e293b;
    color: #475569;
    box-shadow: none;
    cursor: not-allowed;
}
.note { text-align: center; color: var(--text-dim); font-size: 12px; margin-top: 15px; }
.note-box {
    background: #f5e7c8;
    border-radius: 12px;
    padding: 15px;
    margin: 15px;
    font-size: 14px;
    color: #333;
    position: relative;
}

.note-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.note-title {
    color: #d90000;
    font-weight: bold;
}

.note-close {
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
}

.note-content p {
    margin-bottom: 8px;
    line-height: 1.5;
}

.note-content a {
    color: #0066ff;
    font-weight: 600;
    text-decoration: none;
}
/* ===== SUPPORT MODAL OVERLAY ===== */
.support-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 15px;
}

/* ===== MODAL BOX ===== */
.support-content {
    background: #ffffff;
    width: 100%;
    max-width: 520px;
    height: 90vh;
    border-radius: 18px;
    overflow-y: auto;
    position: relative;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: modalFade 0.25s ease;
}

/* ===== ANIMATION ===== */
@keyframes modalFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== HEADER ===== */
.support-header {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.support-header h2 {
    font-size: 18px;
    margin: 0;
    font-weight: 600;
}

/* ===== CLOSE BUTTON ===== */
.close-support {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
    transition: 0.2s;
}

.close-support:hover {
    color: #ff3b30;
}

/* ===== BODY TEXT ===== */
.support-body h3 {
    font-size: 16px;
    margin-top: 20px;
    margin-bottom: 8px;
    font-weight: 600;
}

.support-body p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
    color: #444;
}

/* ===== IMAGES ===== */
.support-body img {
    width: 100%;
    max-height: 260px;
    object-fit: contain;
    border-radius: 12px;
    margin: 10px 0 20px 0;
    background: #f2f2f2;
}

/* ===== WARNING BOX ===== */
.support-note {
    background: #fff3cd;
    padding: 12px;
    border-radius: 10px;
    font-size: 13px;
    margin-top: 20px;
    color: #856404;
}

/* ===== SCROLLBAR BEAUTIFY ===== */
.support-content::-webkit-scrollbar {
    width: 6px;
}

.support-content::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}
.support-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.support-content {
    background: #fff;
    width: 95%;
    max-width: 520px;
    height: 90vh;
    overflow-y: auto;
    border-radius: 16px;
}
body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}