@font-face {
    font-family: "Builder Sans";
    src: url("../font/Builder%20Sans.ttf") format("truetype");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: "Builder Extended";
    src: url("../font/builderExtended/BuilderExtended-Light-300.otf") format("opentype");
    font-style: normal;
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: "Builder Extended";
    src: url("../font/builderExtended/BuilderExtended-Regular-400.otf") format("opentype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Builder Extended";
    src: url("../font/builderExtended/BuilderExtended-SemiBold-600.otf") format("opentype");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "Builder Extended";
    src: url("../font/builderExtended/BuilderExtended-Bold-700.otf") format("opentype");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "Builder Extended";
    src: url("../font/builderExtended/BuilderExtended-ExtraBold-800.otf") format("opentype");
    font-style: normal;
    font-weight: 800;
    font-display: swap;
}

:root {
    color-scheme: light;
    --ink: #202227;
    --muted: #6A6F61;
    --line: #e5eaf2;
    --blue: #4778e8;
    --blue-dark: #315fc8;
    --surface: #fff;
    --page: #fff;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--page);
    color: var(--ink);
    font-family: "Builder Sans", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

button { font: inherit; }

.title-break { display: block; }
.title-desktop-break { display: block; }

@media (max-width: 760px) {
    .title-desktop-break { display: inline; }
}

main { max-width: 1160px; padding: 28px; margin: auto; }

.balance {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 14px;
}

.balance-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 13px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: white;
    font-size: 14px;
    font-weight: 750;
}

.balance-pill .credit-mark { font-size: 17px; }
.balance-pill small { color: var(--muted); font-weight: 550; }

.eyebrow {
    margin: 0 0 9px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.25px;
    text-transform: uppercase;
}
h1 {
    max-width: 790px;
    margin: 0;
    font-family: "Builder Extended", "Builder Sans", "Segoe UI", Arial, sans-serif;
    font-size: clamp(36px, 4.8vw, 56px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -2.2px;
}
.intro-copy { margin: 13px 0 0; color: var(--muted); font-size: 16px; }

.section { margin: 34px 0; }
.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 14px;
}
h2 {
    margin: 0;
    font-size: 23px;
    line-height: 1.2;
    letter-spacing: -.7px;
}
.section-heading p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.roblox-username {
    margin-bottom: 14px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: white;
}
.intro {
    margin: 0 0 30px;
    min-height: 180px;
    padding: 24px 42px;
    border-radius: 18px;
    background-image: url("../bg-header.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 175% auto;
}
.roblox-label-row {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 24px;
    margin-bottom: 8px;
}
.roblox-username label {
    display: block;
    color: #30384a;
    font-size: 13px;
    font-weight: 750;
    line-height: 24px;
}
.roblox-username label[hidden] {
    display: none !important;
}
.roblox-username input {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid #dfe4ec;
    border-radius: 10px;
    outline: none;
    font: inherit;
}
.roblox-username input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px #315fc81a;
}
.roblox-profile {
    min-height: 0;
    display: none;
    align-items: center;
    margin-top: 0;
}
.roblox-profile.visible { display: flex; }
.roblox-profile strong {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 15px;
    line-height: 24px;
}
.roblox-profile strong #roblox-display-name {
    display: inline;
    margin-top: 0;
    color: var(--ink);
    font-size: 15px;
}
.roblox-profile-name-label {
    color: var(--ink);
    font-size: 15px;
    line-height: 24px;
}
.roblox-verified {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    object-fit: contain;
}
.roblox-profile-status { margin-top: 10px; color: var(--muted); font-size: 13px; }
@media (max-width: 600px) {
    .intro {
        height: 96px;
        min-height: 96px;
        padding: 8px 24px 18px;
        background-position: center;
        background-size: 210% auto;
    }
    .intro h1 {
        transform: translateY(-10px);
    }
    .roblox-label-row {
        flex-wrap: nowrap;
        gap: 8px;
    }
    .roblox-profile.visible { margin-top: 0; }
    .roblox-username label,
    .roblox-profile strong {
        white-space: nowrap;
    }
}

.featured {
    overflow: hidden;
    display: block;
    border: 0;
    border-radius: 12px;
    background: #f7f7f7;
}

.featured-banner {
    position: relative;
    min-height: 145px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 24px 30px;
    background: #17191f;
    color: white;
}

.featured-art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 43%;
    filter: brightness(0.65);
}

.featured-banner:before {
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(90deg, #090b10f7 0%, #11151dd9 38%, #11151d33 82%);
    content: "";
}

.promo-icon {
    z-index: 1;
    width: 96px;
    height: 96px;
    display: grid;
    place-items: center;
    flex: 0 0 96px;
    margin-right: 17px;
    object-fit: contain;
}

.promo-text { z-index: 1; }
.promo-text strong { display: block; font-size: 18px; }
.promo-text span { display: block; margin-top: 5px; color: #d7e3ff; font-size: 14px; font-weight: 400; }
.promo-tag {
    z-index: 1;
    margin-left: auto;
    padding: 8px 11px;
    border: 1px solid #ffffff4d;
    border-radius: 999px;
    background: #ffffff18;
    font-size: 12px;
    font-weight: 750;
    white-space: nowrap;
}

.package-list { padding: 10px 22px; }
.package-row {
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.package-row:last-child { border-bottom: 0; }
.package-amount { display: flex; align-items: center; gap: 9px; }
.credit-mark { color: var(--blue); }
img.credit-mark { width: 18px; height: 18px; object-fit: contain; }
.package-amount strong { font-size: 20px; letter-spacing: -.4px; }
.old-credit-value {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: #6A6F61;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
}
.old-credit-value:after {
    position: absolute;
    top: 50%;
    right: 0;
    left: 0;
    height: 1px;
    background: currentColor;
    content: "";
    pointer-events: none;
}
.old-credit-value del { text-decoration: none; }
.old-credit-icon { width: 15px; height: 15px; object-fit: contain; filter: grayscale(1); opacity: .68; }

.price-button {
    min-width: 190px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 11px 14px;
    border: 1px solid #dcdde3;
    border-radius: 11px;
    background: #dcdde3;
    color: #244b9e;
    cursor: pointer;
    font-size: 14px;
    font-weight: 750;
    transition: background .16s ease, transform .16s ease, border-color .16s ease;
}
.price-button:hover { transform: translateY(-1px); border-color: #b6c9f5; background: #e6edff; }
.price-button span { font-size: 17px; }

.simple-list {
    overflow: hidden;
    padding: 3px 22px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: white;
}

.membership-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.membership-card {
    min-height: 258px;
    padding: 21px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: white;
}
.membership-card.highlight {
    border-color: #b9ccfa;
    background: linear-gradient(155deg, #f7f9ff, #fff 62%);
    box-shadow: 0 8px 25px #4778e812;
}
.member-top { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.member-top h3 { margin: 0; font-size: 17px; letter-spacing: -.4px; }
.member-price { text-align: right; white-space: nowrap; }
.member-price strong { display: block; font-size: 14px; }
.member-price del { color: #6A6F61; font-size: 11px; }
.membership-card > p { min-height: 38px; margin: 13px 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.perks { display: grid; gap: 10px; margin: 0 0 17px; padding: 0; list-style: none; }
.perks li { display: flex; gap: 9px; color: #58657b; font-size: 12px; line-height: 1.35; }
.perks li:before { color: var(--blue); content: "✓"; font-weight: 900; }
.member-button {
    width: 100%;
    padding: 10px;
    border: 0;
    border-radius: 10px;
    background: #edf2ff;
    color: #315fc8;
    cursor: pointer;
    font-size: 13px;
    font-weight: 750;
}
.highlight .member-button { background: var(--blue); color: white; }
.member-button:hover { filter: brightness(.97); }

.notice {
    padding: 15px 17px;
    border: 1px solid #dfe7f8;
    border-radius: 13px;
    background: #f0f4ff;
    color: #58657b;
    font-size: 13px;
    line-height: 1.55;
}

footer {
    max-width: 1160px;
    padding: 0 28px 30px;
    margin: auto;
    color: #8993a5;
    font-size: 12px;
}

.toast {
    position: fixed;
    z-index: 10;
    right: 22px;
    bottom: 22px;
    max-width: min(380px, calc(100vw - 32px));
    padding: 13px 17px;
    border: 1px solid #35445e;
    border-radius: 12px;
    background: #17253f;
    color: white;
    box-shadow: 0 12px 35px #0e1a2e33;
    font-size: 14px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease;
}
.toast.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 760px) {
    main { padding: 24px 18px; }
    .balance { margin-bottom: 18px; }
    h1 { letter-spacing: -1.5px; text-align: left; }
    .section { margin: 29px 0; }
    .featured-banner { min-height: 130px; padding: 20px; }
    .promo-tag { position: absolute; right: 16px; bottom: 15px; padding: 6px 9px; font-size: 10px; }
    .promo-text { padding-right: 78px; }
    .promo-text strong { font-size: 16px; }
    .promo-text span { font-size: 12px; }
    .package-list, .simple-list { padding-right: 14px; padding-left: 14px; }
    .price-button { min-width: 145px; padding: 10px; font-size: 12px; }
    .package-amount { gap: 6px; }
    .package-amount strong { font-size: 17px; }
    .package-amount del { font-size: 16px; }
    .membership-grid { grid-template-columns: 1fr; }
    .membership-card { min-height: auto; }
    .membership-card > p { min-height: auto; }
    footer { padding: 0 18px 24px; }
}

@media (max-width: 390px) {
    .package-row { gap: 8px; }
    .price-button { min-width: 127px; gap: 6px; }
    .package-amount strong { font-size: 15px; }
}

.balance { display: none; }
main { max-width: 580px; padding: 18px 12px 25px; }
.intro { margin: 0 0 34px; text-align: center; }
.intro .eyebrow, .intro-copy, .section-heading p { display: none; }
h1 { max-width: 100%; margin: 0 auto; font-size: clamp(22px, 7vw, 44px); line-height: 1.08; letter-spacing: -1.3px; }
.title-break { display: block; }
.title-desktop-break { display: inline; }
.section { margin: 0 0 22px; }
.section-heading { margin-bottom: 8px; }
h2 { font-size: 18px; letter-spacing: -.2px; }
.featured { border-radius: 12px; }
.featured-banner {
    min-height: 100px;
    padding: 14px 16px;
    border-radius: 12px 12px 0 0;
    background: #17191f;
}
.featured-banner:after { display: none; }
.featured-banner:before { background: linear-gradient(90deg, #090b10ed 0%, #11151dbb 48%, #11151d24 92%); }
.promo-icon { width: 80px; height: 80px; flex-basis: 80px; margin-right: 14px; }
.promo-text { padding-right: 0; }
.promo-text strong { font-size: 15px; }
.promo-text span { margin-top: 4px; font-size: 12px; }
.promo-tag { display: none; }
.package-list { padding: 4px 20px 8px; }
.simple-list { padding: 4px 10px; }
.package-row {
    min-height: 64px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 68px minmax(96px, .95fr);
    gap: 5px;
    border-bottom-color: #f0f0f0;
}
.package-amount { min-width: 0; gap: 3px; }
.package-amount .credit-mark { font-size: 16px; }
.package-amount strong { font-size: 19px; letter-spacing: -.2px; }
.old-credit-value { font-size: 13px; }
.package-bonus {
    justify-self: center;
    padding: 4px 7px;
    border-radius: 999px;
    background: #f1f2f4;
    color: #525966;
    font-size: 11px;
    white-space: nowrap;
}
.price-button {
    min-width: 0;
    justify-content: center;
    padding: 11px 8px;
    border: 0;
    border-radius: 8px;
    background: #dcdde3;
    color: #20232a;
    font-size: 12px;
}
.price-button:hover { border: 0; background: #dfe1e6; }
.simple-list .package-row:last-child { border-bottom: 0; }
.faq-list { display: grid; gap: 6px; }
.faq-list details {
    overflow: hidden;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    background: white;
}
.faq-list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 38px;
    padding: 0 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 650;
    list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:after { color: #777; content: "⌄"; font-size: 12px; }
.faq-list details[open] summary:after { content: "⌃"; }
.faq-list details p { margin: 0; padding: 0 14px 14px; color: #687080; font-size: 14px; line-height: 1.5; }
.notice { margin-top: 18px; padding: 10px; font-size: 10px; }
footer { max-width: 500px; padding: 0 12px 20px; font-size: 10px; }

.featured .package-row {
    min-height: 64px;
    grid-template-columns: minmax(0, 1fr) minmax(68px, .7fr) minmax(110px, .9fr);
}

@media (max-width: 440px) {
    .package-row,
    .featured .package-row {
        grid-template-columns: minmax(0, 1fr) minmax(96px, 110px);
        column-gap: 8px;
        row-gap: 0;
    }
}

@media (min-width: 441px) and (max-width: 999px) {
    main, footer { max-width: 720px; width: 100%; }
    h1 { max-width: 440px; }
    h2 { font-size: clamp(20px, 3vw, 24px); }
    .featured-banner { min-height: 120px; }
    .package-list { padding-right: 18px; padding-left: 18px; }
    .package-amount strong { font-size: clamp(17px, 3.2vw, 21px); }
    .old-credit-value { font-size: clamp(12px, 2.2vw, 14px); }
    .package-bonus { font-size: clamp(11px, 1.8vw, 13px); }
    .price-button { font-size: clamp(12px, 1.9vw, 14px); }
    .promo-text strong { font-size: clamp(16px, 2.8vw, 18px); }
    .promo-text span { font-size: clamp(12px, 2vw, 14px); }
    .faq-list summary, .faq-list details p { font-size: clamp(14px, 2vw, 16px); }
}

@media (min-width: 361px) and (max-width: 440px) {
    h1 { font-size: clamp(32px, 8.5vw, 37px); }
    h2 { font-size: clamp(18px, 5vw, 21px); }
    .package-amount strong { font-size: clamp(18px, 4.8vw, 20px); }
    .old-credit-value { font-size: clamp(11px, 3.2vw, 13px); }
    .package-bonus { font-size: clamp(10px, 3vw, 12px); }
    .price-button { font-size: clamp(12px, 3.4vw, 14px); }
    .promo-text strong { font-size: clamp(14px, 4vw, 16px); }
    .promo-text span { font-size: clamp(11px, 3vw, 13px); }
    .faq-list summary, .faq-list details p { font-size: clamp(15px, 3.8vw, 16px); }
}

@media (max-width: 360px) {
    main { padding-right: 10px; padding-left: 10px; }
    h1 { font-size: 31px; }
    .featured-banner { min-height: 112px; padding: 12px; }
    .promo-icon { width: 72px; height: 72px; flex-basis: 72px; margin-right: 10px; }
    .promo-text strong { font-size: 14px; }
    .promo-text span { font-size: 12px; }
    .package-list, .simple-list { padding-right: 10px; padding-left: 10px; }
    h2 { font-size: clamp(17px, 5.5vw, 18px); }
    .faq-list summary, .faq-list details p { font-size: clamp(15px, 4vw, 16px); }
}

@media (max-width: 999px) {
    .package-amount strong { font-size: 24px; }
    .old-credit-value { font-size: 16px; }
    .package-row .price-button { font-size: 12px; }
}

@media (max-width: 440px) {
    .package-bonus { display: none; }
    .old-credit-value { font-size: 18px; }
    .old-credit-icon { width: 18px; height: 18px; }
    .package-row .price-button { font-size: 14px; }
}

@media (min-width: 441px) and (max-width: 999px) {
    .package-row,
    .featured .package-row {
        grid-template-columns: minmax(0, 1fr) 110px 175px;
        gap: 12px;
    }
    .package-bonus { justify-self: center; }
}

@media (max-width: 440px) {
    .old-credit-value { font-size: 18px; }
}

@media (max-width: 760px) {
    .package-bonus { display: none !important; }
    .package-row,
    .featured .package-row {
        min-height: 64px;
        grid-template-columns: minmax(0, 1fr) 106px;
        grid-template-rows: 64px;
        align-items: center;
        column-gap: 8px;
        row-gap: 0;
    }
    .package-amount {
        grid-column: 1;
        grid-row: 1;
        height: 52px;
        display: grid;
        grid-template-columns: 18px minmax(0, 1fr);
        grid-template-rows: 30px 22px;
        align-items: center;
        align-self: center;
        column-gap: 5px;
        row-gap: 0;
        overflow: visible;
    }
    .package-amount .credit-mark {
        grid-column: 1;
        grid-row: 1;
        width: 18px;
        height: 18px;
    }
    .package-amount strong {
        grid-column: 2;
        grid-row: 1;
        line-height: 30px;
    }
    .package-amount .old-credit-value {
        grid-column: 2;
        grid-row: 2;
        align-self: start;
        line-height: 20px;
    }
    .package-bonus {
        grid-column: 1;
        grid-row: 1;
        display: none !important;
    }
    .package-row .price-button {
        grid-column: 2;
        grid-row: 1;
        width: 100%;
        height: 38px;
        padding: 0 8px;
        align-self: center;
    }
}

@media (max-width: 360px) {
    .package-amount strong { font-size: 24px; }
}

@media (min-width: 1000px) {
    main, footer { max-width: 760px; }
    .intro { margin-bottom: 38px; }
    h1 { max-width: 720px; font-size: 50px; }
    .title-break { display: block; }
    .title-desktop-break { display: block; }
    .section { margin-bottom: 28px; }
    h2 { font-size: 20px; }
    #featured-heading { font-size: 28px; }
    #packages-heading { font-size: 28px; }
    .package-row { min-height: 68px; grid-template-columns: minmax(0, 1fr) 90px 155px; gap: 12px; }
    .package-row .price-button { min-width: 0; }
    .featured .package-row { min-height: 68px; grid-template-columns: minmax(0, 1fr) 90px 155px; }
    .featured-banner { min-height: 110px; }
    .package-amount { gap: 8px; }
    .package-amount .credit-mark { font-size: 16px; }
    .package-amount img.credit-mark { width: 28px; height: 28px; }
    .package-amount strong { font-size: 28px; }
    .old-credit-value { font-size: 22px; }
    .package-bonus { font-size: 13px; }
    .price-button { padding: 12px; font-size: 16px; }
    .promo-text strong { font-size: 15px; }
    .promo-text span { font-size: 12px; }
    .promo-tag { right: 14px; bottom: 14px; font-size: 9px; }
    .faq-list summary, .faq-list details p { font-size: 16px; }
}

/* Final mobile package layout: keep the amount and price in two stable columns. */
@media (max-width: 760px) {
    .package-row,
    .featured .package-row {
        min-height: 64px;
        grid-template-columns: minmax(0, 1fr) 106px;
        grid-template-rows: 64px;
        column-gap: 8px;
        row-gap: 0;
    }
    .package-amount {
        grid-column: 1;
        grid-row: 1;
        height: 64px;
        display: flex !important;
        align-items: center;
        gap: 6px;
        row-gap: 0;
        white-space: nowrap;
    }
    .package-amount .credit-mark {
        justify-self: center;
    }
    .package-amount strong {
        font-size: 24px;
        line-height: 1;
        white-space: nowrap;
    }
    .package-amount .old-credit-value {
        align-self: center;
        width: max-content;
        font-size: 20px;
        line-height: 22px;
        margin-left: 2px;
    }
    .old-credit-icon {
        width: 20px;
        height: 20px;
        flex: 0 0 20px;
    }
    .package-bonus { display: none !important; }
    .package-row .price-button {
        grid-column: 2;
        grid-row: 1;
        width: 106px;
        min-width: 106px;
        height: 38px;
        padding: 0 8px;
        font-size: 14px;
        white-space: nowrap;
    }
}

.roblox-username label.roblox-field-label,
.roblox-display-name { font-size: 15px; }

.promo-text strong { font-size: 21px; }
.promo-text span { font-size: 16px; font-weight: 400; }

@media (max-width: 760px) {
    .promo-text strong { font-size: 18px; }
    .promo-text span { font-size: 14px; font-weight: 400; }
}
