.novelvexa-gem-store {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 40px 20px 60px;
    box-sizing: border-box;
}

.novelvexa-gem-store-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 45px;
}

.novelvexa-gem-store-heading {
    flex: 1;
}

.novelvexa-gem-store-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0.65;
}

.novelvexa-gem-store-heading h1 {
    margin: 0 0 10px;
    font-size: 42px;
    line-height: 1.15;
}

.novelvexa-gem-store-heading p {
    margin: 0;
    font-size: 16px;
    opacity: 0.75;
}

.novelvexa-gem-balance-card {
    min-width: 190px;
    padding: 20px 24px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.04);
    text-align: center;
}

.novelvexa-gem-balance-label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    opacity: 0.65;
}

.novelvexa-gem-balance-value {
    display: block;
    font-size: 30px;
    line-height: 1.1;
}

.novelvexa-gem-balance-icon {
    font-size: 24px;
    margin-right: 5px;
}

.novelvexa-gem-balance-unit {
    display: block;
    margin-top: 5px;
    font-size: 13px;
    opacity: 0.65;
}

.novelvexa-gem-packages {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.novelvexa-gem-package {
    position: relative;
    padding: 30px 22px 24px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.035);
    text-align: center;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.novelvexa-gem-package:hover {
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.20);
}

.novelvexa-gem-package.is-featured {
    border-width: 2px;
}

.novelvexa-gem-package-badge {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.8px;
    white-space: nowrap;
    background: #ffffff;
    color: #222222;
}

.novelvexa-gem-package-icon {
    margin-bottom: 14px;
    font-size: 42px;
    line-height: 1;
}

.novelvexa-gem-package-gems {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.15;
}

.novelvexa-gem-package-title {
    margin-top: 2px;
    font-size: 14px;
    font-weight: 600;
    opacity: 0.6;
}

.novelvexa-gem-package-description {
    min-height: 44px;
    margin: 14px 0 18px;
    font-size: 13px;
    line-height: 1.5;
    opacity: 0.65;
}

.novelvexa-gem-package-price {
    margin-bottom: 20px;
    font-size: 26px;
    font-weight: 800;
}

.novelvexa-gem-package-price span {
    font-size: 11px;
    font-weight: 600;
    opacity: 0.55;
}

.novelvexa-buy-gems-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    padding: 10px 18px;
    border: 0;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.novelvexa-buy-gems-button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.novelvexa-buy-gems-button.is-disabled,
.novelvexa-buy-gems-button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
}

.novelvexa-gem-store-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
    font-size: 13px;
    opacity: 0.60;
    text-align: center;
}

@media (max-width: 980px) {
    .novelvexa-gem-packages {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .novelvexa-gem-store-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .novelvexa-gem-balance-card {
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 560px) {
    .novelvexa-gem-store {
        padding: 25px 15px 40px;
    }

    .novelvexa-gem-store-heading h1 {
        font-size: 32px;
    }

    .novelvexa-gem-packages {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   GEM PACKAGE ALIGNMENT FIX
   ========================================================= */

.novelvexa-gem-packages {
    align-items: stretch;
}

.novelvexa-gem-package {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 430px;
    box-sizing: border-box;
}

.novelvexa-gem-package-description {
    min-height: 48px;
}

.novelvexa-gem-package-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    margin-top: auto;
    margin-bottom: 20px;
    white-space: nowrap;
}

.novelvexa-gem-package-price span {
    display: inline;
    white-space: nowrap;
}

.novelvexa-buy-gems-button {
    margin-top: 0;
    flex-shrink: 0;
}

.novelvexa-login-to-buy-button {
    text-decoration: none !important;
    box-sizing: border-box;
}