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

body {
    font-family: Arial, Helvetica, sans-serif;

    background:
        linear-gradient(
            135deg,
            #0a1128,
            #0d1b3d
        );

    color: #ffffff;

    min-height: 100vh;
}

a {
    text-decoration: none;
}

/* NAVBAR */

.navbar {
    background: rgba(10, 17, 40, 0.95);

    border-bottom: 1px solid rgba(
        255,
        255,
        255,
        0.08
    );

    position: sticky;

    top: 0;

    z-index: 1000;

    backdrop-filter: blur(10px);
}

.navbar-container {
    width: 90%;

    max-width: 1200px;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    min-height: 70px;
}

.brand {
    font-size: 26px;

    font-weight: 800;

    color: #ffffff;
}

.brand span {
    color: #d4af37;
}

.nav-menu {
    display: flex;

    align-items: center;

    gap: 22px;
}

.nav-menu a {
    color: #d8dcf0;

    font-size: 15px;

    transition: 0.2s;
}

.nav-menu a:hover {
    color: #ffffff;
}

.nav-button {
    background: #d4af37;

    color: #ffffff !important;

    padding: 10px 18px;

    border-radius: 8px;

    font-weight: 600;
}

.nav-button:hover {
    background: #b8862c;
}

.nav-button-outline {
    background: transparent;

    border: 1px solid #d4af37;
}

/* MAIN */

.main-content {
    width: 90%;

    max-width: 1200px;

    margin: auto;

    padding-bottom: 60px;
}

/* HERO */

/* STATS */

/* SECTION */

.section {
    margin-top: 55px;
}

/* GAME GRID */

/* FORM */

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;

    margin-bottom: 9px;

    font-size: 14px;

    color: #d5daec;
}

/* ALERT */

.alert {
    padding: 14px 16px;

    border-radius: 9px;

    margin-bottom: 20px;
}

/* TABLE */

table {
    width: 100%;

    border-collapse: collapse;
}

th,
td {
    padding: 16px;

    text-align: left;

    border-bottom: 1px solid rgba(
        255,
        255,
        255,
        0.06
    );
}

th {
    color: #929bb9;

    font-size: 13px;

    text-transform: uppercase;
}

td {
    color: #e1e5f4;
}

/* ADMIN */

/* FOOTER */

.footer {
    background: #0a1128;

    border-top: 1px solid rgba(
        255,
        255,
        255,
        0.07
    );

    margin-top: 60px;
}

.footer-container {
    width: 90%;

    max-width: 1200px;

    margin: auto;

    padding: 35px 0;

    display: flex;

    justify-content: space-between;

    gap: 30px;

    color: #8b94b2;
}

.footer h3 {
    color: white;

    margin-bottom: 8px;
}

/* RESPONSIVE */

@media (
    max-width: 700px
) {

    .navbar-container {
        flex-direction: column;

        padding: 16px 0;

        gap: 15px;
    }

    .nav-menu {
        flex-wrap: wrap;

        justify-content: center;
    }

    

    

    

    

    

    .footer-container {
        flex-direction: column;
    }
}

/* Home refresh */
:root {
    --ink: #f7f8ff;
    --muted: #8d96b5;
    --panel: #0f1730;
    --line: rgba(255,255,255,.09);
    --accent: #c9992e;
    --accent-2: #e8c14a;
}

body {
    background: #0a1128;
    background-image: radial-gradient(circle at 80% -10%, rgba(212,175,55,.14), transparent 34%), radial-gradient(circle at 10% 40%, rgba(30,58,110,.12), transparent 30%);
}

.eyebrow { color: #e3c168; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #e3c168; box-shadow: 0 0 14px #e3c168; margin-right: 8px; }
.home-hero { min-height: 500px; margin-top: 28px; padding: 64px 7%; border: 1px solid var(--line); border-radius: 28px; display: flex; align-items: center; overflow: hidden; position: relative; background: linear-gradient(115deg, #12234f 0%, #12182e 54%, #16204a 100%); }
.hero-copy { position: relative; z-index: 2; max-width: 570px; }
.hero-copy h1 { margin: 20px 0 18px; font-size: clamp(42px, 5vw, 72px); letter-spacing: -.055em; line-height: .98; }
.hero-copy h1 em, .section-heading h2 em { color: #d4af37; font-style: normal; }
.hero-copy p { max-width: 480px; color: #aab3cf; font-size: 16px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 25px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 19px; border: 0; border-radius: 10px; padding: 14px 20px; color: #fff; font-weight: 800; background: linear-gradient(135deg, #c9992e, #e8c14a); box-shadow: 0 13px 30px rgba(212, 175, 55,.24); }
.btn:hover { transform: translateY(-2px); color: #fff; }
.text-link { color: #bbc2db; font-size: 13px; font-weight: 700; }
.text-link:hover { color: #fff; }

.section { margin-top: 0; }.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 28px; }.section-heading h2 { margin-top: 9px; font-size: 35px; letter-spacing: -.04em; }.game-catalog { display: grid; grid-template-columns: repeat(5,1fr); gap: 15px; }.catalog-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #10193a; transition: .25s; }.catalog-card:hover { transform: translateY(-5px); border-color: rgba(212,175,55,.6); box-shadow: 0 18px 34px rgba(0,0,0,.2); }.catalog-cover { height: 155px; display: flex; flex-direction: column; justify-content: center; padding: 20px; position: relative; overflow: hidden; color: #fff; }.catalog-cover strong { z-index: 1; font-size: 42px; letter-spacing: -.08em; }.catalog-cover small { z-index: 1; margin-top: 5px; opacity: .82; font-size: 10px; }.cover-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }.cover-glow { position: absolute; right: -20px; bottom: -40px; width: 150px; height: 150px; border-radius: 50%; background: rgba(255,255,255,.17); filter: blur(18px); }.featured-badge { position: absolute; top: 10px; left: 10px; z-index: 2; padding: 4px 10px; border-radius: 999px; background: rgba(212,175,55,.92); color: #1a1408; font-size: 10px; font-weight: 700; letter-spacing: .02em; }
.catalog-card-oos .catalog-cover { filter: grayscale(.6); opacity: .6; }
.oos-ribbon { position: absolute; top: 10px; right: -30px; z-index: 2; padding: 4px 34px; transform: rotate(35deg); background: rgba(220,90,70,.92); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .02em; }.cover-violet { background: linear-gradient(140deg,#1c2c52,#3a5a99); }.cover-orange { background: linear-gradient(140deg,#a94325,#ff9d43); }.cover-gold { background: linear-gradient(140deg,#735d1e,#ddb64e); }.cover-red { background: linear-gradient(140deg,#7c1e43,#e75b6b); }.cover-blue { background: linear-gradient(140deg,#245eaa,#66d7d8); }.catalog-body { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px; }.catalog-body h3 { font-size: 14px; }.catalog-body p { margin-top: 6px; color: #7f89a9; font-size: 10px; }.round-arrow { display: grid; place-items: center; flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; color: #f0cf6b; background: rgba(212,175,55,.15); }.no-results,.empty-state { padding: 30px; color: var(--muted); text-align: center; border: 1px dashed var(--line); border-radius: 14px; }.how-section { margin-top: 110px; }.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; }.step-card { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(145deg, rgba(24,33,58,.9), rgba(17,23,43,.9)); }.step-icon { width: 40px; height: 40px; margin-bottom: 30px; border-radius: 11px; display: grid; place-items: center; color: #f0cf6b; background: rgba(212,175,55,.16); font-size: 21px; }.step-card h3 { font-size: 16px; }.step-card p { margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.6; }

@media (max-width: 900px) { .game-catalog { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 600px) { .home-hero { padding: 42px 25px; }.hero-copy h1 { font-size: 42px; }.hero-actions { gap: 15px; }.section-heading { align-items: flex-start; flex-direction: column; gap: 22px; }.game-catalog { grid-template-columns: repeat(2,1fr); }.catalog-cover { height: 125px; }.steps-grid { grid-template-columns: 1fr; } }

/* MYC marketplace homepage */
:root {
    --ink: #f2f5f0;
    --muted: #a2b0a9;
    --panel: #182321;
    --line: rgba(227, 241, 232, .12);
    --accent: #b9ed68;
    --accent-2: #d5f891;
}

html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { background: #101918; background-image: radial-gradient(ellipse at 78% 0%, rgba(83, 142, 104, .17), transparent 30%), linear-gradient(180deg, #101918 0%, #141b19 48%, #101716 100%); color: var(--ink); }
.main-content { width: min(92%, 1280px); padding-bottom: 76px; }
.navbar { background: rgba(16, 25, 24, .94); border-color: rgba(227, 241, 232, .1); backdrop-filter: blur(16px); }
.navbar-container { width: min(92%, 1280px); min-height: 76px; gap: 24px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 10px; color: var(--ink); font-size: 15px; }
.brand-mark { display: grid; width: 36px; aspect-ratio: 1; place-items: center; border-radius: 11px; background: var(--accent); color: #142018; font-size: 19px; font-weight: 900; }
.brand-name { white-space: nowrap; }.brand-name b { color: var(--accent); }
.header-search { position: relative; display: flex; min-width: 160px; max-width: 610px; height: 44px; flex: 1 1 480px; align-items: center; gap: 10px; padding: 4px 5px 4px 14px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255,255,255,.045); }
.header-search label { color: var(--accent); font-size: 24px; line-height: 1; }
.header-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; font-size: 13px; }
.header-search input::placeholder { color: #91a199; }
.header-search button { height: 34px; padding: 0 15px; border: 0; border-radius: 6px; background: var(--accent); color: #172019; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }
.search-suggest { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 60; background: #0f1830; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; overflow-y: auto; max-height: 64vh; box-shadow: 0 18px 40px rgba(0,0,0,.45); }
.search-suggest-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; color: var(--ink); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.05); }
.search-suggest-item:last-child { border-bottom: 0; }
.search-suggest-item:hover, .search-suggest-item.is-active { background: rgba(185,237,104,.12); }
.search-suggest-item img, .search-suggest-ph { width: 38px; height: 38px; border-radius: 8px; object-fit: cover; flex: 0 0 38px; }
.search-suggest-ph { display: flex; align-items: center; justify-content: center; background: var(--accent); color: #172019; font-weight: 800; font-size: 13px; }
.search-suggest-name { font-size: 14px; line-height: 1.3; }
.search-suggest-empty { padding: 12px; color: #91a199; font-size: 13px; }
.nav-menu { gap: 17px; white-space: nowrap; }.nav-menu a { color: #c0cbc4; font-size: 12px; }.nav-menu a:hover { color: var(--accent); }
.nav-button { padding: 10px 13px; border-radius: 7px; background: var(--accent); color: #18211b !important; }.nav-button-outline { border-color: var(--line); color: var(--ink) !important; }
.menu-toggle { display: none; }
.home-hero { min-height: 380px; margin-top: 25px; padding: 48px clamp(25px, 5vw, 70px); border-color: rgba(205, 239, 188, .16); border-radius: 14px; background: radial-gradient(ellipse at 85% 40%, rgba(91, 139, 91, .4), transparent 33%), linear-gradient(112deg, #1c2a26 0%, #1c2b25 56%, #25372c 100%); }
.hero-copy { max-width: 560px; }.eyebrow { color: #c3e69a; font-size: 10px; letter-spacing: .12em; }
.hero-copy h1 { max-width: 650px; margin: 17px 0 15px; font-size: clamp(38px, 4.4vw, 60px); letter-spacing: 0; line-height: 1.04; }
.hero-copy h1 em, .section-heading h2 em { color: var(--accent); }
.hero-copy p { max-width: 470px; color: #c0cbc2; font-size: 14px; line-height: 1.7; }
.hero-actions { gap: 20px; margin-top: 24px; }.btn { border-radius: 7px; padding: 12px 17px; background: var(--accent); box-shadow: none; color: #18211b; }.btn:hover { color: #18211b; }
.text-link { color: #d1dad4; }.hero-note { display: flex; align-items: center; gap: 8px; margin-top: 25px; color: #bac7bf; font-size: 11px; }.hero-note span { color: var(--accent); font-size: 15px; }
.hero-showcase { position: absolute; top: 50%; right: 7%; display: grid; width: min(38%, 410px); height: 270px; grid-template: 1fr 1fr / 1.05fr .95fr; gap: 10px; transform: translateY(-50%) rotate(-3deg); }
.hero-tile { position: relative; overflow: hidden; border: 1px solid rgba(240,255,240,.22); border-radius: 8px; background: #344b3b; box-shadow: 0 16px 30px rgba(0,0,0,.24); }
.hero-tile-1 { grid-row: span 2; }.hero-tile img { width: 100%; height: 100%; object-fit: cover; opacity: .84; transition: transform .3s; }.hero-tile:hover img { transform: scale(1.04); }
.hero-tile::after { position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(9,16,12,.82)); content: ''; }
.hero-tile > span { position: absolute; z-index: 1; right: 12px; bottom: 12px; left: 12px; color: white; font-size: 12px; font-weight: 800; }.hero-tile-1 > span { font-size: 16px; }
.hero-empty { display: grid; grid-column: 1 / -1; place-content: center; border: 1px dashed var(--line); border-radius: 10px; color: #dbe9db; font-size: 24px; font-weight: 800; text-align: center; }
.category-rail { position: sticky; z-index: 20; top: 76px; display: flex; gap: 8px; overflow-x: auto; margin: 23px 0 52px; padding: 12px 0; scrollbar-width: none; background: rgba(16,25,24,.92); }
.category-rail::-webkit-scrollbar,.category-tabs::-webkit-scrollbar { display: none; }
.category-rail a { display: inline-flex; min-height: 40px; flex: 0 0 auto; align-items: center; gap: 8px; padding: 0 14px; border: 1px solid var(--line); border-radius: 7px; color: #d6dfd8; font-size: 12px; font-weight: 700; transition: border-color .2s, color .2s, background .2s; }
.category-rail a:hover { border-color: var(--accent); background: rgba(185,237,104,.08); color: var(--accent); }.category-rail a span { font-size: 15px; }
.section { margin-top: 58px; }.product-section { scroll-margin-top: 132px; }.section-heading { margin-bottom: 20px; }.section-heading h2 { margin-top: 7px; font-size: 27px; letter-spacing: 0; }.section-link { color: var(--accent); font-size: 12px; font-weight: 800; }.section-link span { margin-left: 5px; }
.game-catalog { grid-template-columns: repeat(6, minmax(0,1fr)); gap: 13px; }.featured-grid { grid-template-columns: repeat(6, minmax(0,1fr)); }
.catalog-card { border-color: var(--line); border-radius: 8px; background: #1a2421; transition: transform .2s, border-color .2s, box-shadow .2s; }.catalog-card:hover { transform: translateY(-3px); border-color: rgba(185,237,104,.55); box-shadow: 0 12px 22px rgba(0,0,0,.16); }
.catalog-cover { height: auto; aspect-ratio: 1.34; padding: 14px; background-color: #283b31; }.cover-image { transition: transform .25s; }.catalog-card:hover .cover-image { transform: scale(1.035); }.catalog-cover strong { font-size: 34px; letter-spacing: 0; }.catalog-cover small { font-size: 10px; }
.featured-badge,.new-badge { position: absolute; z-index: 2; top: 8px; left: 8px; padding: 5px 8px; border-radius: 4px; background: var(--accent); color: #152019; font-size: 9px; font-weight: 800; }.new-badge { background: #ff9b7b; color: #281812; }
.catalog-body { min-height: 72px; gap: 5px; padding: 10px; }.catalog-body h3 { overflow: hidden; font-size: 12px; line-height: 1.35; text-overflow: ellipsis; }.catalog-body p { overflow: hidden; margin-top: 4px; color: #9eaca3; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }.round-arrow { flex-basis: 27px; width: 27px; height: 27px; border-radius: 6px; background: rgba(185,237,104,.12); color: var(--accent); }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 0 0 20px; }.category-tabs { display: flex; max-width: 100%; gap: 7px; overflow-x: auto; scrollbar-width: none; }.tier-tab { flex: 0 0 auto; padding: 9px 12px; border: 1px solid var(--line); border-radius: 6px; background: transparent; color: #c2cec6; font-size: 11px; cursor: pointer; }.tier-tab.active { border-color: var(--accent); background: rgba(185,237,104,.13); color: var(--accent); }
.catalog-search { display: flex; width: 225px; flex: 0 0 auto; align-items: center; gap: 8px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 6px; color: var(--accent); }.catalog-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; font-size: 11px; }.catalog-search input::placeholder { color: #91a199; }
.load-more { display: flex; min-width: 210px; margin: 25px auto 0; border: 1px solid rgba(185,237,104,.45); background: rgba(185,237,104,.08); color: var(--accent); }.load-more:hover { background: rgba(185,237,104,.16); color: var(--accent); }
.no-results,.empty-state { border-color: var(--line); border-radius: 8px; color: var(--muted); }.benefits-section { margin-top: 75px; }.benefit-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }.benefit-grid article { min-height: 150px; padding: 19px; border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(145deg, rgba(31,46,39,.84), rgba(23,34,30,.72)); }.benefit-icon { display: grid; width: 36px; height: 36px; place-items: center; margin-bottom: 17px; border-radius: 8px; background: rgba(185,237,104,.12); color: var(--accent); font-size: 18px; }.benefit-coral { background: rgba(255,155,123,.12); color: #ff9b7b; }.benefit-teal { background: rgba(93,213,188,.12); color: #5dd5bc; }.benefit-blue { background: rgba(127,185,235,.12); color: #7fb9eb; }.benefit-grid h3 { font-size: 13px; }.benefit-grid p { margin-top: 7px; color: var(--muted); font-size: 11px; line-height: 1.55; }
.payment-section { padding: 25px; border: 1px solid var(--line); border-radius: 9px; background: rgba(25,38,33,.7); }.payment-list { display: flex; flex-wrap: wrap; gap: 9px; }.payment-list .payment-option { display: inline-flex; min-height: 40px; align-items: center; gap: 9px; padding: 6px 12px 6px 7px; border: 1px solid var(--line); border-radius: 6px; color: #dce5dd; font-size: 11px; }.payment-mark { display: grid; width: 27px; aspect-ratio: 1; place-items: center; border-radius: 5px; background: var(--accent); color: #172118; font-size: 12px; font-weight: 900; }
.how-section { margin-top: 75px; }.steps-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; padding: 0; list-style: none; }.step-card { min-height: 150px; padding: 19px; border-color: var(--line); border-radius: 8px; background: rgba(26,39,34,.72); }.step-number { position: absolute; top: 18px; right: 18px; color: #92a198; font: 700 10px monospace; }.step-icon { width: 34px; height: 34px; margin-bottom: 20px; border-radius: 7px; background: rgba(185,237,104,.12); color: var(--accent); }.step-card h3 { font-size: 13px; }.step-card p { color: var(--muted); font-size: 11px; }
.information-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }.information-grid a { position: relative; min-height: 150px; padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: #1a2521; color: var(--ink); }.information-grid a > span { color: var(--accent); font-size: 9px; font-weight: 800; letter-spacing: .08em; }.information-grid h3 { margin-top: 16px; font-size: 14px; }.information-grid p { max-width: 270px; margin-top: 7px; color: var(--muted); font-size: 11px; line-height: 1.55; }.information-grid b { position: absolute; right: 18px; bottom: 16px; color: var(--accent); }
.about-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; padding: 34px; border: 1px solid var(--line); border-radius: 9px; background: linear-gradient(125deg, rgba(32,48,39,.94), rgba(24,35,31,.88)); }.about-copy h2 { max-width: 420px; margin-top: 12px; font-size: 27px; line-height: 1.2; }.about-copy p { margin-top: 14px; color: #b1beb5; font-size: 12px; line-height: 1.8; }.faq-list details { padding: 13px 0; border-bottom: 1px solid var(--line); }.faq-list summary { color: #e6eee7; font-size: 12px; font-weight: 700; cursor: pointer; }.faq-list details p { padding: 9px 0 1px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.footer { margin-top: 20px; border-top: 1px solid var(--line); background: #0c1312; }.footer-container { display: grid; width: min(92%,1280px); grid-template-columns: 1.6fr repeat(3,1fr); gap: 25px; margin: auto; padding: 45px 0 20px; }.footer-brand p { max-width: 230px; margin-top: 14px; color: var(--muted); font-size: 11px; line-height: 1.6; }.footer-column { display: flex; flex-direction: column; gap: 11px; }.footer-column h2 { margin-bottom: 3px; color: #e6eee7; font-size: 11px; }.footer-column a { color: var(--muted); font-size: 11px; }.footer-column a:hover { color: var(--accent); }.footer-bottom { display: flex; grid-column: 1 / -1; justify-content: space-between; gap: 15px; margin-top: 15px; padding-top: 16px; border-top: 1px solid var(--line); color: #87968d; font-size: 10px; }

@media (min-width: 1450px) { .main-content,.navbar-container,.footer-container { width: min(90%, 1340px); } }
@media (max-width: 1100px) {
    .navbar-container { gap: 14px; }.nav-menu { gap: 10px; }.nav-menu a { font-size: 11px; }
    .game-catalog,.featured-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }.hero-showcase { right: 4%; width: 36%; }
}
@media (max-width: 760px) {
    .navbar-container { position: relative; min-height: 68px; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 10px; padding: 10px 0; }.header-search { order: 3; max-width: none; height: 40px; flex-basis: 100%; }.header-search button { height: 30px; }.menu-toggle { display: flex; width: 38px; height: 38px; flex: 0 0 auto; flex-direction: column; align-items: center; justify-content: center; gap: 5px; margin-left: auto; border: 1px solid var(--line); border-radius: 7px; background: transparent; }.menu-toggle span { width: 16px; height: 2px; border-radius: 2px; background: var(--ink); }
    .nav-menu { position: absolute; top: calc(100% - 1px); right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 8px 14px 13px; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 9px 9px; background: #15201d; box-shadow: 0 15px 24px rgba(0,0,0,.25); }.nav-menu.is-open { display: flex; flex-direction: column; }.nav-menu a { padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: 13px; }.nav-menu a:last-child { border-bottom: 0; }.nav-menu .nav-button { margin-top: 8px; padding: 11px; text-align: center; }
    .category-rail { top: 108px; margin: 16px 0 36px; }.home-hero { min-height: 0; padding: 32px 25px 190px; }.hero-copy { max-width: none; }.hero-copy h1 { font-size: 39px; }.hero-copy p { max-width: 540px; font-size: 13px; }.hero-showcase { top: auto; right: 9%; bottom: 19px; width: 78%; height: 145px; transform: rotate(-2deg); }.hero-tile > span { right: 8px; bottom: 8px; left: 8px; font-size: 10px; }.hero-tile-1 > span { font-size: 12px; }.hero-empty { font-size: 17px; }
    .main-content { width: min(92%,640px); padding-bottom: 55px; }.game-catalog,.featured-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }.catalog-toolbar { align-items: stretch; flex-direction: column; }.category-tabs { padding-bottom: 2px; }.catalog-search { width: 100%; }.benefit-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.steps-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.about-section { grid-template-columns: 1fr; gap: 22px; padding: 24px; }.information-grid { grid-template-columns: 1fr; }.information-grid a { min-height: 125px; }.footer-container { grid-template-columns: repeat(2,minmax(0,1fr)); }.footer-brand { grid-column: 1 / -1; }.section { margin-top: 46px; }.section-heading h2 { font-size: 24px; }
}
@media (max-width: 430px) {
    .navbar-container,.main-content,.footer-container { width: calc(100% - 28px); }.home-hero { padding: 28px 18px 174px; border-radius: 10px; }.hero-copy h1 { font-size: 34px; }.hero-copy p { font-size: 12px; }.hero-actions { align-items: flex-start; flex-direction: column; gap: 13px; }.hero-showcase { right: 7%; bottom: 16px; width: 86%; height: 132px; }.hero-note { align-items: flex-start; line-height: 1.45; }.category-rail { margin-bottom: 30px; }.category-rail a { min-height: 37px; padding: 0 11px; font-size: 11px; }.game-catalog,.featured-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }.catalog-cover { aspect-ratio: 1.2; }.catalog-body { min-height: 67px; padding: 8px; }.catalog-body h3 { font-size: 11px; }.catalog-body p { font-size: 9px; }.section-heading { align-items: flex-start; gap: 10px; }.section-heading h2 { font-size: 22px; }.section-link { align-self: end; white-space: nowrap; font-size: 10px; }.benefit-grid article { min-height: 145px; padding: 14px; }.steps-grid { gap: 9px; }.step-card { min-height: 145px; padding: 14px; }.payment-section { padding: 18px; }.about-section { padding: 19px; }.about-copy h2 { font-size: 23px; }.footer-container { gap: 24px 16px; }.footer-bottom { flex-direction: column; font-size: 9px; }
}

/* ========================================================= */
/* SHARED COMPONENTS (checkout, payment, history, admin)     */
/* ========================================================= */

.card {
    background: linear-gradient(150deg, #10193a, #0d1730);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 26px;
    margin-bottom: 22px;
}

.card.form-card { max-width: 620px; margin: 50px auto; }
.card.metric { text-align: left; }
.card.metric span { display: block; color: var(--muted); font-size: 13px; margin-bottom: 10px; }
.card.metric strong { font-size: 28px; color: var(--ink); }

.section-title { display: flex; align-items: end; justify-content: space-between; margin: 34px 0 22px; }
.section-title h2 { font-size: 26px; margin-top: 6px; }

.summary-row { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.summary-row strong { color: var(--ink); text-align: right; }

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 10px;
    padding: 13px 20px;
    color: #14192c;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 12px 28px rgba(212,175,55,.2);
    transition: transform .2s, opacity .2s;
    text-decoration: none;
}
.btn:hover { transform: translateY(-2px); color: #14192c; }
.btn.small { padding: 8px 14px; font-size: 12px; box-shadow: none; }
.btn.ghost { background: transparent; color: var(--ink) !important; border: 1px solid var(--line); box-shadow: none; }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent-2) !important; }
.btn.danger { background: linear-gradient(135deg, #b3413a, #e2645b); color: #fff; box-shadow: none; }

/* FORMS */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 8px; color: #c9d0e4; font-size: 13px; font-weight: 600; }
.input, .panel input[type="text"], .panel input[type="number"], .panel textarea, .panel select {
    width: 100%;
    padding: 13px 14px;
    border-radius: 9px;
    border: 1px solid #24345c;
    background: #0a1128;
    color: #ffffff;
    outline: none;
    font: inherit;
    transition: .2s;
}
.input:focus, .panel input:focus, .panel textarea:focus, .panel select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(212,175,55,.12); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ALERT extra modifiers used inline (class="alert success"/"alert error") */
.alert.success { background: rgba(44,207,128,.13); border: 1px solid rgba(44,207,128,.25); color: #65e3a4; }
.alert.error { background: rgba(255,73,73,.13); border: 1px solid rgba(255,73,73,.25); color: #ff8d8d; }
.alert.info { background: rgba(80,160,255,.1); border: 1px solid rgba(80,160,255,.3); color: var(--ink); }
.alert.info ol { margin: 8px 0 0; padding-left: 20px; font-size: 13px; line-height: 1.6; }

/* PANEL (admin forms) */
.panel { background: #10193a; border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.panel h3 { margin-bottom: 18px; font-size: 18px; }

/* TABLE */
.table-wrap { overflow-x: auto; background: #10193a; border: 1px solid var(--line); border-radius: 14px; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 15px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: 13px; }
.table th { color: var(--muted); text-transform: uppercase; font-size: 11px; letter-spacing: .04em; }
.table td { color: #e6e9f5; }
.table td.actions { display: flex; gap: 8px; }
.muted { color: var(--muted); font-size: 12px; }

/* METRICS GRID (admin dashboard) */
.metrics { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-bottom: 10px; }

/* STATUS BADGE */
.badge { display: inline-block; padding: 6px 12px; border-radius: 999px; font-size: 11px; font-weight: 800; text-transform: uppercase; background: rgba(255,255,255,.08); color: var(--ink); }
.badge.pending { background: rgba(255,199,111,.15); color: #ffc76f; }
.badge.paid, .badge.processing { background: rgba(80,160,255,.15); color: #7cb3ff; }
.badge.success { background: rgba(46,204,113,.15); color: #68e5a0; }
.badge.failed { background: rgba(231,76,60,.15); color: #ff8378; }

/* ADMIN NAV */
.admin-nav { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }

@media (max-width: 700px) {
    .two-col { grid-template-columns: 1fr; }
    .metrics { grid-template-columns: repeat(2,1fr); }
    .section-title { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* GAME DETAIL / CHECKOUT PAGE */
.game-hero { display: flex; align-items: center; gap: 22px; }
.game-cover { width: 84px; height: 84px; border-radius: 18px; overflow: hidden; flex-shrink: 0; background: linear-gradient(135deg, var(--accent), var(--accent-2)); display: flex; align-items: center; justify-content: center; }
.game-cover img { width: 100%; height: 100%; object-fit: cover; }
.game-cover-initial { font-size: 34px; font-weight: 900; color: #14192c; }
.game-hero h1 { font-size: 26px; margin: 4px 0 6px; }

.layout { display: grid; grid-template-columns: 1.7fr 1fr; gap: 22px; align-items: start; }
.layout aside.summary { position: sticky; top: 95px; }

.card-title { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.card-title .number { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #14192c; font-weight: 900; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.card-title h2 { font-size: 17px; }

.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }

.notice-box { background: rgba(212,175,55,.08); border: 1px solid rgba(212,175,55,.25); border-radius: 10px; padding: 12px 14px; font-size: 13px; color: #e3c168; margin-bottom: 16px; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; max-height: 420px; overflow-y: auto; padding-right: 4px; }
.product-option input { position: absolute; opacity: 0; width: 0; height: 0; }
.product-box { display: flex; flex-direction: column; gap: 3px; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; cursor: pointer; transition: border-color .15s, background .15s; }
.product-option input:checked + .product-box { border-color: var(--accent); background: rgba(212,175,55,.1); }
.product-name { display: block; font-size: 12px; font-weight: 700; line-height: 1.25; }
.product-price { display: block; font-size: 12px; color: var(--accent-2); font-weight: 800; }
.product-option-oos .product-box { opacity: .5; cursor: not-allowed; }
.product-option-oos .product-price { color: var(--muted); }
.badge-oos { display: inline-block; margin-left: 4px; padding: 1px 6px; border-radius: 999px; background: rgba(220,90,70,.18); color: #e0654d; font-size: 9px; font-weight: 700; vertical-align: middle; }

@media (max-width: 700px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); max-height: 340px; gap: 6px; }
    .product-box { padding: 7px 6px; }
    .product-name { font-size: 11px; }
    .product-price { font-size: 11px; }
}

.price-tier-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tier-tab { appearance: none; -webkit-appearance: none; font-family: inherit; border: 1px solid var(--line); background: transparent; color: var(--muted); border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 700; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.tier-tab:hover { border-color: var(--accent); color: var(--ink); }
.tier-tab.active { border-color: var(--accent); background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #14192c; }
.no-results { text-align: center; color: var(--muted); font-size: 13px; }

.payment-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.payment-option input { position: absolute; opacity: 0; width: 0; height: 0; }
.payment-box { display: flex; align-items: center; justify-content: center; text-align: center; border: 1px solid var(--line); border-radius: 10px; padding: 14px; cursor: pointer; font-weight: 700; font-size: 13px; transition: border-color .15s, background .15s; }
.payment-option input:checked + .payment-box { border-color: var(--accent); background: rgba(212,175,55,.1); color: var(--accent-2); }

@media (max-width: 900px) {
    .layout { grid-template-columns: 1fr; }
    .layout aside.summary { position: static; }
}

/* ========================================================= */
/* HALAMAN: login, cek transaksi, error                      */
/* ========================================================= */

.btn { font-family: inherit; }
.btn.block { width: 100%; }

/* Input dengan tombol di sampingnya (lihat password, cek transaksi) */
.input-action { display: flex; gap: 8px; }
.input-action .input { flex: 1; min-width: 0; }
.input-action .btn { flex: 0 0 auto; }

/* Aksi per baris tabel admin (form POST di samping tombol Edit) + pagination */
.row-actions { display: flex; gap: 8px; }
.pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }

/* LOGIN */
.auth-layout { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 48px; margin-top: 48px; }
.auth-intro h1 { margin: 16px 0 14px; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; }
.auth-intro h1 em { color: var(--accent); font-style: normal; }
.auth-intro p { max-width: 460px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.auth-features { display: grid; gap: 12px; margin-top: 26px; list-style: none; }
.auth-features li { display: flex; align-items: center; gap: 12px; color: var(--ink); font-size: 13px; }
.auth-features span { display: grid; flex: 0 0 36px; height: 36px; place-items: center; border-radius: 8px; background: rgba(185,237,104,.12); }
.auth-card { margin-bottom: 0; }
.auth-card h2 { font-size: 22px; }
.auth-card > .muted { margin: 8px 0 22px; font-size: 13px; line-height: 1.6; }

/* CEK TRANSAKSI */
.lookup { max-width: 760px; margin: 44px auto 0; }
.lookup h1 { margin: 12px 0 8px; font-size: clamp(26px, 3.2vw, 36px); }
.lookup > .muted { font-size: 14px; }
.lookup-form { margin-top: 24px; }
.lookup-form .form-group { margin-bottom: 0; }
.trx-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.trx-head h3 { margin-top: 4px; font-size: 17px; }
.trx-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.trx-grid dt { color: var(--muted); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.trx-grid dd { margin-top: 5px; font-size: 13px; font-weight: 700; overflow-wrap: anywhere; }

/* ERROR (abort()) */
.error-page { text-align: center; }
.error-page h2 { margin: 10px 0; }
.error-page .btn { margin-top: 20px; }

@media (max-width: 860px) {
    .auth-layout { grid-template-columns: 1fr; gap: 28px; margin-top: 28px; }
}
@media (max-width: 600px) {
    .trx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lookup-form .input-action { flex-direction: column; }
}
