:root {
    --lp-primary: #6D5BFF;
    --lp-secondary: #8B7BFF;
    --lp-success: #00C853;
    --lp-bg: #0F172A;
    --lp-bg-soft: #111C33;
    --lp-card: #1E293B;
    --lp-card-2: #24324A;
    --lp-text: #FFFFFF;
    --lp-muted: #94A3B8;
    --lp-border: rgba(148, 163, 184, .18);
    --lp-glass: rgba(30, 41, 59, .72);
    --lp-shadow: 0 24px 80px rgba(2, 6, 23, .44);
    --lp-radius-lg: 24px;
    --lp-radius-md: 18px;
    --lp-radius-sm: 14px;
}

html {
    scroll-behavior: smooth;
}

body.app-shell {
    background:
        radial-gradient(circle at 12% 0%, rgba(109, 91, 255, .20), transparent 34rem),
        linear-gradient(180deg, #0F172A 0%, #0B1120 48%, #0F172A 100%);
    color: var(--lp-text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
}

a {
    color: inherit;
}

.app-main {
    padding-top: 84px;
}

.container-xl {
    max-width: 1180px;
}

.lp-muted {
    color: var(--lp-muted);
}

.lp-header {
    position: relative;
    z-index: 1030;
}

.lp-navbar {
    background: rgba(15, 23, 42, .82);
    border-bottom: 1px solid var(--lp-border);
    backdrop-filter: blur(18px);
    box-shadow: 0 10px 40px rgba(2, 6, 23, .22);
    padding: .8rem 0;
}

.brand-mark {
    align-items: center;
    background: linear-gradient(135deg, var(--lp-primary), var(--lp-secondary));
    border-radius: 14px;
    box-shadow: 0 0 32px rgba(109, 91, 255, .38);
    color: #fff;
    display: inline-flex;
    font-size: .78rem;
    font-weight: 800;
    height: 38px;
    justify-content: center;
    margin-right: .55rem;
    width: 38px;
}

.brand-copy {
    font-weight: 800;
}

.navbar-brand {
    align-items: center;
    color: var(--lp-text);
    display: inline-flex;
    font-weight: 900;
}

.navbar-brand::before {
    align-items: center;
    background: linear-gradient(135deg, var(--lp-primary), var(--lp-secondary));
    border-radius: 14px;
    box-shadow: 0 0 32px rgba(109, 91, 255, .38);
    color: #fff;
    content: "LP";
    display: inline-flex;
    font-size: .78rem;
    font-weight: 800;
    height: 38px;
    justify-content: center;
    margin-right: .55rem;
    width: 38px;
}

.lp-search {
    align-items: center;
    background: rgba(30, 41, 59, .72);
    border: 1px solid var(--lp-border);
    border-radius: 999px;
    color: var(--lp-muted);
    gap: .65rem;
    margin-left: 2rem;
    max-width: 420px;
    padding: .68rem 1rem;
    width: 38vw;
}

.lp-search input {
    background: transparent;
    border: 0;
    color: var(--lp-text);
    outline: 0;
    width: 100%;
}

.lp-search input::placeholder {
    color: var(--lp-muted);
}

.lp-nav .nav-link {
    border-radius: 999px;
    color: var(--lp-muted);
    font-size: .92rem;
    padding: .55rem .85rem;
}

.lp-nav .nav-link:hover,
.lp-nav .nav-link:focus {
    background: rgba(109, 91, 255, .12);
    color: var(--lp-text);
}

.lp-icon-btn,
.lp-btn {
    align-items: center;
    border: 0;
    border-radius: 999px;
    display: inline-flex;
    font-weight: 800;
    justify-content: center;
    min-height: 42px;
    padding: .72rem 1.05rem;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.lp-btn:hover,
.lp-icon-btn:hover {
    transform: translateY(-2px);
}

.lp-btn-primary {
    background: linear-gradient(135deg, var(--lp-primary), var(--lp-secondary));
    box-shadow: 0 18px 44px rgba(109, 91, 255, .34);
    color: #fff;
}

.lp-btn-ghost,
.lp-icon-btn {
    background: rgba(30, 41, 59, .74);
    border: 1px solid var(--lp-border);
    color: var(--lp-text);
}

.lp-btn-small {
    background: rgba(109, 91, 255, .14);
    border: 1px solid rgba(139, 123, 255, .34);
    color: #fff;
    min-height: 36px;
    padding: .5rem .8rem;
}

.wireframe-band,
.content-section,
.hero-section {
    padding: 1.35rem 0;
}

.wireframe-band {
    padding-top: 1.8rem;
}

.section-head {
    align-items: end;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.section-kicker {
    color: var(--lp-secondary);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .08em;
    margin-bottom: .4rem;
    text-transform: uppercase;
}

.section-title {
    color: var(--lp-text);
    font-size: clamp(1.5rem, 2.5vw, 2.35rem);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.1;
    margin: 0;
}

.text-link {
    color: var(--lp-secondary);
    font-weight: 800;
    text-decoration: none;
}

.wireframe-grid {
    display: grid;
    gap: .75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wire-card,
.token-card,
.component-card {
    background: rgba(30, 41, 59, .58);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-sm);
    color: var(--lp-muted);
    padding: .9rem;
}

.wire-card span {
    background: linear-gradient(90deg, rgba(109, 91, 255, .8), rgba(0, 200, 83, .65));
    border-radius: 999px;
    display: block;
    height: 8px;
    margin-bottom: .65rem;
    width: 58%;
}

.lp-hero {
    border-radius: var(--lp-radius-lg);
    box-shadow: var(--lp-shadow);
    overflow: hidden;
}

.hero-slide {
    align-items: center;
    background:
        linear-gradient(90deg, rgba(15, 23, 42, .96) 0%, rgba(15, 23, 42, .72) 48%, rgba(15, 23, 42, .18) 100%),
        var(--hero-image) center / cover;
    display: flex;
    min-height: 420px;
    padding: clamp(1.2rem, 5vw, 4rem);
}

.hero-content {
    max-width: 560px;
}

.hero-pill {
    background: rgba(0, 200, 83, .14);
    border: 1px solid rgba(0, 200, 83, .35);
    border-radius: 999px;
    color: #9BFFBF;
    display: inline-flex;
    font-size: .78rem;
    font-weight: 900;
    margin-bottom: 1rem;
    padding: .48rem .72rem;
}

.hero-content h2 {
    font-size: clamp(2rem, 6vw, 4.5rem);
    font-weight: 950;
    letter-spacing: 0;
    line-height: .95;
    margin-bottom: 1rem;
}

.hero-content p {
    color: var(--lp-muted);
    font-size: 1.08rem;
    margin-bottom: 1.35rem;
    max-width: 480px;
}

.category-grid {
    display: grid;
    gap: .8rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-card,
.product-card,
.flash-panel,
.game-info-panel,
.checkout-panel,
.value-card,
.dashboard-card,
.stats-grid > div,
.testimonial-card {
    background: linear-gradient(180deg, rgba(30, 41, 59, .86), rgba(17, 28, 51, .86));
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-md);
    box-shadow: 0 12px 32px rgba(2, 6, 23, .22);
}

.category-card {
    color: var(--lp-text);
    min-height: 122px;
    overflow: hidden;
    padding: .9rem;
    position: relative;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.category-card-image {
    align-items: flex-start;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, .24), rgba(15, 23, 42, .86)),
        var(--category-image) center / cover;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 154px;
}

.category-card-image::before {
    background: linear-gradient(135deg, rgba(109, 91, 255, .22), rgba(0, 200, 83, .12));
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.category-card-image > * {
    position: relative;
    z-index: 1;
}

.category-card:hover {
    border-color: rgba(139, 123, 255, .72);
    box-shadow: 0 16px 46px rgba(109, 91, 255, .24);
    transform: scale(1.03);
}

.category-icon {
    align-items: center;
    background: linear-gradient(135deg, rgba(109, 91, 255, .95), rgba(139, 123, 255, .64));
    border-radius: 16px;
    display: inline-flex;
    font-weight: 900;
    height: 44px;
    justify-content: center;
    margin-bottom: .8rem;
    width: 44px;
}

.category-card strong,
.category-card small {
    display: block;
}

.category-card small {
    color: #CBD5E1;
    font-weight: 700;
}

.product-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

.product-card {
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease;
}

.product-card:hover {
    box-shadow: 0 18px 48px rgba(109, 91, 255, .18);
    transform: translateY(-4px);
}

.product-card img {
    aspect-ratio: 16 / 10;
    display: block;
    object-fit: cover;
    width: 100%;
}

.product-body {
    padding: 1rem;
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-bottom: .8rem;
}

.badge-row span,
.discount-badge {
    background: rgba(109, 91, 255, .16);
    border: 1px solid rgba(139, 123, 255, .28);
    border-radius: 999px;
    color: #D8D3FF;
    font-size: .72rem;
    font-weight: 900;
    padding: .35rem .55rem;
}

.product-body h3,
.flash-card h3,
.checkout-step h3,
.value-card h3,
.dashboard-card h3,
.game-info-body h3 {
    color: var(--lp-text);
    font-size: 1.05rem;
    font-weight: 900;
    margin-bottom: .4rem;
}

.product-body p,
.flash-card p,
.value-card p,
.testimonial-card p,
.game-info-body p,
.game-info-body li {
    color: var(--lp-muted);
}

.flash-panel {
    padding: 1rem;
}

.flash-head {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.countdown {
    background: rgba(0, 200, 83, .12);
    border: 1px solid rgba(0, 200, 83, .36);
    border-radius: 14px;
    color: #9BFFBF;
    font-weight: 950;
    padding: .65rem .8rem;
}

.flash-list {
    display: grid;
    gap: .8rem;
}

.flash-card {
    align-items: center;
    background: rgba(15, 23, 42, .48);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-sm);
    display: flex;
    gap: .9rem;
    padding: .85rem;
}

.flash-card del {
    color: #64748B;
    margin-left: .35rem;
}

.sale-progress {
    background: rgba(148, 163, 184, .16);
    border-radius: 999px;
    height: 8px;
    overflow: hidden;
}

.sale-progress span {
    background: linear-gradient(90deg, var(--lp-success), var(--lp-secondary));
    display: block;
    height: 100%;
}

.topup-layout {
    display: grid;
    gap: 1rem;
}

.game-info-panel {
    overflow: hidden;
}

.game-info-panel img {
    aspect-ratio: 16 / 10;
    display: block;
    object-fit: cover;
    width: 100%;
}

.game-info-body,
.checkout-panel {
    padding: 1rem;
}

.game-info-body ul {
    margin-bottom: 0;
    padding-left: 1.1rem;
}

.checkout-step {
    border-bottom: 1px solid var(--lp-border);
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    position: relative;
}

.step-label {
    align-items: center;
    background: linear-gradient(135deg, var(--lp-primary), var(--lp-secondary));
    border-radius: 999px;
    display: inline-flex;
    font-size: .8rem;
    font-weight: 950;
    height: 28px;
    justify-content: center;
    margin-bottom: .65rem;
    width: 28px;
}

.lp-input,
.lp-input:focus {
    background: rgba(15, 23, 42, .72);
    border: 1px solid var(--lp-border);
    border-radius: 14px;
    color: var(--lp-text);
    min-height: 48px;
}

.lp-input::placeholder {
    color: #64748B;
}

.lp-input:focus {
    border-color: var(--lp-secondary);
    box-shadow: 0 0 0 .2rem rgba(109, 91, 255, .16);
}

.nickname-result {
    background: rgba(15, 23, 42, .5);
    border: 1px dashed var(--lp-border);
    border-radius: 14px;
    color: var(--lp-muted);
    margin-top: .75rem;
    padding: .85rem;
}

.nickname-result.is-loading {
    background: linear-gradient(90deg, rgba(30, 41, 59, .8), rgba(51, 65, 85, .8), rgba(30, 41, 59, .8));
    background-size: 200% 100%;
    animation: skeleton 1s infinite linear;
}

.nominal-grid,
.payment-select-grid {
    display: grid;
    gap: .65rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.select-card {
    background: rgba(15, 23, 42, .62);
    border: 1px solid var(--lp-border);
    border-radius: 16px;
    color: var(--lp-text);
    min-height: 64px;
    padding: .8rem;
    text-align: left;
}

.select-card small {
    color: var(--lp-muted);
    display: block;
    margin-top: .25rem;
}

.select-card.is-active {
    background: linear-gradient(var(--lp-card), var(--lp-card)) padding-box,
        linear-gradient(135deg, var(--lp-primary), var(--lp-success)) border-box;
    border: 1px solid transparent;
}

.order-summary {
    background: rgba(15, 23, 42, .62);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-md);
    padding: 1rem;
}

.order-summary div {
    color: var(--lp-muted);
    display: flex;
    justify-content: space-between;
    margin-bottom: .7rem;
}

.order-summary strong {
    color: var(--lp-text);
}

.order-summary .total {
    border-top: 1px solid var(--lp-border);
    color: var(--lp-text);
    margin-top: .9rem;
    padding-top: .9rem;
}

.game-detail-hero {
    background:
        linear-gradient(90deg, rgba(15, 23, 42, .98), rgba(15, 23, 42, .82), rgba(15, 23, 42, .54)),
        var(--game-cover) center / cover;
    border-bottom: 1px solid var(--lp-border);
    margin-top: -1rem;
    padding: 2rem 0;
}

.game-detail-hero-inner {
    align-items: end;
    display: grid;
    gap: 1rem;
}

.game-cover-card {
    background: rgba(30, 41, 59, .74);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-md);
    box-shadow: var(--lp-shadow);
    max-width: 220px;
    overflow: hidden;
}

.game-cover-card img {
    aspect-ratio: 1 / 1;
    display: block;
    object-fit: cover;
    width: 100%;
}

.game-hero-copy {
    max-width: 720px;
}

.game-hero-copy h1 {
    color: var(--lp-text);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 950;
    letter-spacing: 0;
    line-height: 1;
    margin-bottom: .8rem;
}

.game-hero-copy p {
    color: var(--lp-muted);
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.game-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-bottom: 1rem;
}

.game-trust-row span,
.game-price-pill {
    background: rgba(30, 41, 59, .76);
    border: 1px solid var(--lp-border);
    border-radius: 999px;
    color: var(--lp-text);
    display: inline-flex;
    font-size: .82rem;
    font-weight: 900;
    padding: .48rem .7rem;
}

.game-price-pill {
    background: rgba(0, 200, 83, .14);
    border-color: rgba(0, 200, 83, .35);
    color: #9BFFBF;
}

.game-detail-layout {
    display: grid;
    gap: 1rem;
}

.game-detail-info {
    align-self: start;
}

.game-detail-info h2,
.product-detail-step h2,
.game-order-summary h2 {
    color: var(--lp-text);
    font-size: 1.05rem;
    font-weight: 900;
    margin-bottom: .5rem;
}

.game-checkout-flow,
.game-order-summary {
    background: linear-gradient(180deg, rgba(30, 41, 59, .86), rgba(17, 28, 51, .86));
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-md);
    box-shadow: 0 12px 32px rgba(2, 6, 23, .22);
    padding: 1rem;
}

.product-detail-step:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.product-choice-group {
    margin-top: 1rem;
}

.product-choice-group h3 {
    color: var(--lp-text);
    font-size: .95rem;
    font-weight: 900;
    margin-bottom: .65rem;
}

.product-choice-grid {
    display: grid;
    gap: .65rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-choice-card {
    min-height: 92px;
}

.product-choice-card span,
.product-choice-card strong {
    display: block;
}

.product-choice-card strong {
    color: #9BFFBF;
    margin-top: .45rem;
}

.game-order-summary {
    align-self: start;
}

.value-grid,
.dashboard-grid,
.testimonial-row,
.design-system-grid,
.stats-grid {
    display: grid;
    gap: 1rem;
}

.value-card,
.dashboard-card,
.testimonial-card,
.stats-grid > div {
    padding: 1rem;
}

.value-card span {
    background: linear-gradient(135deg, var(--lp-success), var(--lp-secondary));
    border-radius: 999px;
    display: block;
    height: 10px;
    margin-bottom: 1rem;
    width: 54px;
}

.mini-stat-grid {
    display: grid;
    gap: .55rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 1rem 0;
}

.mini-stat-grid span,
.menu-pills small {
    background: rgba(15, 23, 42, .58);
    border: 1px solid var(--lp-border);
    border-radius: 12px;
    color: var(--lp-muted);
    padding: .65rem;
}

.menu-pills {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stats-grid strong {
    color: var(--lp-text);
    display: block;
    font-size: clamp(1.55rem, 4vw, 2.6rem);
    font-weight: 950;
}

.stats-grid span {
    color: var(--lp-muted);
}

.avatar {
    align-items: center;
    background: linear-gradient(135deg, var(--lp-primary), var(--lp-secondary));
    border-radius: 999px;
    display: inline-flex;
    font-weight: 900;
    height: 40px;
    justify-content: center;
    margin-bottom: .75rem;
    width: 40px;
}

.stars {
    color: #FACC15;
    letter-spacing: 0;
    margin: .35rem 0;
}

.token-card,
.component-card {
    align-items: center;
    display: flex;
    gap: .75rem;
}

.token-card span {
    border-radius: 999px;
    display: inline-flex;
    height: 28px;
    width: 28px;
}

.lp-footer {
    background: rgba(2, 6, 23, .74);
    border-top: 1px solid var(--lp-border);
    margin-top: 2rem;
    padding: 2rem 0 6rem;
}

.lp-footer a {
    color: var(--lp-muted);
    display: block;
    margin-bottom: .55rem;
    text-decoration: none;
}

.lp-footer a:hover {
    color: var(--lp-text);
}

.lp-footer-title {
    color: var(--lp-text);
    font-size: .95rem;
    font-weight: 900;
    margin-bottom: .8rem;
}

.lp-social,
.payment-grid span {
    align-items: center;
    background: rgba(30, 41, 59, .82);
    border: 1px solid var(--lp-border);
    border-radius: 12px;
    color: var(--lp-text);
    display: inline-flex;
    font-weight: 800;
    justify-content: center;
    min-height: 38px;
    padding: .4rem .7rem;
}

.payment-grid {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
}

.lp-footer-bottom {
    border-top: 1px solid var(--lp-border);
    color: var(--lp-muted);
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: space-between;
    margin-top: 1.5rem;
    padding-top: 1rem;
}

.mobile-bottom-nav {
    align-items: center;
    background: rgba(15, 23, 42, .92);
    border-top: 1px solid var(--lp-border);
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    left: 0;
    position: fixed;
    right: 0;
    z-index: 1040;
}

.mobile-bottom-nav a {
    color: var(--lp-muted);
    font-size: .72rem;
    font-weight: 800;
    padding: .75rem .25rem;
    text-align: center;
    text-decoration: none;
}

.mobile-bottom-nav a:hover {
    color: var(--lp-text);
}

.not-set {
    color: var(--bs-danger);
    font-style: italic;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    color: var(--lp-muted);
    display: block;
    margin-top: 5px;
}

.error-summary {
    background: rgba(220, 38, 38, .12);
    border-left: 3px solid var(--bs-danger);
    color: #FCA5A5;
    margin: 0 0 15px 0;
    padding: 10px 20px;
}

.lp-breadcrumb {
    background: rgba(30, 41, 59, .46);
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-sm);
    margin: 0 0 1rem;
    padding: .8rem 1rem;
}

.lp-breadcrumb .breadcrumb-item,
.lp-breadcrumb .breadcrumb-item a {
    color: var(--lp-muted);
    text-decoration: none;
}

.lp-breadcrumb .breadcrumb-item.active {
    color: var(--lp-text);
}

.admin-section {
    padding: 1.35rem 0;
}

.admin-page-head {
    align-items: flex-end;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
}

.admin-stats-grid,
.admin-menu-grid {
    display: grid;
    gap: 1rem;
}

.admin-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 1rem;
}

.admin-menu-grid {
    grid-template-columns: 1fr;
}

.admin-panel,
.admin-stat-card,
.admin-menu-card {
    background: linear-gradient(180deg, rgba(30, 41, 59, .86), rgba(17, 28, 51, .86));
    border: 1px solid var(--lp-border);
    border-radius: var(--lp-radius-md);
    box-shadow: 0 12px 32px rgba(2, 6, 23, .22);
}

.admin-panel {
    padding: 1rem;
}

.admin-form-panel {
    padding: 1rem;
}

.admin-stat-card {
    min-height: 104px;
    padding: 1rem;
}

.admin-stat-card span,
.admin-menu-card small,
.admin-table,
.admin-table td,
.admin-table th {
    color: var(--lp-muted);
}

.admin-stat-card strong {
    color: var(--lp-text);
    display: block;
    font-size: clamp(1.15rem, 2vw, 1.55rem);
    font-weight: 950;
    line-height: 1.15;
    margin-top: .4rem;
    overflow-wrap: anywhere;
}

.admin-menu-card {
    color: var(--lp-text);
    min-height: 152px;
    padding: 1rem;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.admin-menu-card:hover {
    border-color: rgba(139, 123, 255, .72);
    box-shadow: 0 18px 48px rgba(109, 91, 255, .18);
    color: var(--lp-text);
    transform: translateY(-3px);
}

.admin-menu-card span {
    align-items: center;
    background: linear-gradient(135deg, rgba(109, 91, 255, .95), rgba(0, 200, 83, .58));
    border-radius: 14px;
    display: inline-flex;
    font-size: .78rem;
    font-weight: 950;
    height: 42px;
    justify-content: center;
    margin-bottom: .85rem;
    width: 42px;
}

.admin-menu-card strong,
.admin-menu-card small {
    display: block;
}

.admin-menu-card strong {
    font-weight: 900;
    margin-bottom: .3rem;
}

.admin-filter-panel {
    margin-bottom: 1rem;
}

.admin-table-panel {
    overflow-x: auto;
}

.admin-table {
    --bs-table-bg: transparent;
    --bs-table-striped-bg: rgba(15, 23, 42, .28);
    --bs-table-hover-bg: rgba(109, 91, 255, .10);
    border-color: var(--lp-border);
    margin-bottom: 0;
}

.admin-table thead th {
    border-bottom-color: var(--lp-border);
    color: var(--lp-text);
    font-size: .78rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.admin-table td,
.admin-table th {
    border-color: var(--lp-border);
    padding: .85rem .75rem;
    vertical-align: middle;
}

.admin-row-action {
    background: rgba(30, 41, 59, .74);
    border: 1px solid var(--lp-border);
    border-radius: 999px;
    color: var(--lp-text);
    display: inline-flex;
    font-size: .82rem;
    font-weight: 800;
    min-height: 32px;
    padding: .35rem .65rem;
    text-decoration: none;
}

.admin-row-action:hover {
    background: rgba(109, 91, 255, .16);
    color: var(--lp-text);
}

.admin-row-action-danger {
    border-color: rgba(248, 113, 113, .42);
    color: #FCA5A5;
}

/* Pagination Styles */
.pagination {
    display: inline-flex;
    padding-left: 0;
    list-style: none;
    border-radius: 0;
}

.page-item:first-child .page-link {
    border-top-left-radius: 999px;
    border-bottom-left-radius: 999px;
}

.page-item:last-child .page-link {
    border-top-right-radius: 999px;
    border-bottom-right-radius: 999px;
}

.page-link {
    position: relative;
    display: block;
    padding: 0.5rem 0.9rem;
    margin-left: -1px;
    line-height: 1.25;
    color: var(--lp-muted);
    background-color: rgba(30, 41, 59, .74);
    border: 1px solid var(--lp-border);
    text-decoration: none;
    font-weight: 700;
    transition: all .18s ease;
}

.page-link:hover {
    z-index: 2;
    color: var(--lp-text);
    background-color: rgba(109, 91, 255, .16);
    border-color: rgba(139, 123, 255, .34);
}

.page-link:focus {
    z-index: 3;
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(109, 91, 255, .25);
}

.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background: linear-gradient(135deg, var(--lp-primary), var(--lp-secondary));
    border-color: transparent;
    box-shadow: 0 10px 30px rgba(109, 91, 255, .35);
}

.page-item.disabled .page-link {
    color: rgba(148, 163, 184, .38);
    pointer-events: none;
    background-color: rgba(15, 23, 42, .48);
    border-color: rgba(148, 163, 184, .2);
}

.admin-list .list-group-item {
    border-color: var(--lp-border);
    color: var(--lp-muted);
}

.admin-list strong {
    color: var(--lp-text);
}

.form-label {
    color: var(--lp-muted);
    font-size: .82rem;
    font-weight: 800;
    margin-bottom: .45rem;
}

.form-select.lp-input {
    color: var(--lp-text);
}

.form-select.lp-input option {
    background: var(--lp-card);
    color: var(--lp-text);
}

.form-text,
.invalid-feedback {
    color: var(--lp-muted);
}

.has-error .help-block,
.invalid-feedback {
    color: #FCA5A5;
}

.site-login,
.site-contact,
.site-error,
.site-about,
.site-contact-success {
    flex: 1;
}

.login-split-card,
.card {
    background-color: var(--lp-card);
    border: 1px solid var(--lp-border);
    color: var(--lp-text);
}

.login-brand-panel {
    background: linear-gradient(135deg, var(--lp-primary), var(--lp-secondary));
    min-height: 480px;
    position: relative;
}

.login-btn {
    background: linear-gradient(135deg, var(--lp-primary), var(--lp-secondary));
    border: none;
    font-weight: 800;
}

.site-contact textarea.form-control {
    height: 140px;
}

@keyframes skeleton {
    from {
        background-position: 200% 0;
    }
    to {
        background-position: -200% 0;
    }
}

@media (min-width: 576px) {
    .wireframe-grid,
    .stats-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .admin-stats-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .category-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .app-main {
        padding-top: 92px;
    }

    .game-detail-hero-inner {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .flash-list,
    .value-grid,
    .dashboard-grid,
    .testimonial-row,
    .design-system-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .topup-layout {
        grid-template-columns: .85fr 1.15fr;
    }

    .nominal-grid,
    .payment-select-grid,
    .product-choice-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .admin-menu-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .game-detail-layout {
        grid-template-columns: .72fr 1.35fr .8fr;
    }

    .game-order-summary {
        position: sticky;
        top: 110px;
    }

    .admin-stats-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .admin-menu-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .category-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .value-grid,
    .design-system-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .dashboard-grid,
    .testimonial-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .mobile-bottom-nav {
        display: none;
    }

    .lp-footer {
        padding-bottom: 2rem;
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(15, 23, 42, .96);
        border: 1px solid var(--lp-border);
        border-radius: 18px;
        margin-top: .8rem;
        padding: .75rem;
    }

    .hero-slide {
        min-height: 360px;
    }
}

@media (max-width: 575.98px) {
    .section-head,
    .flash-head,
    .admin-page-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .category-grid {
        gap: .6rem;
    }

    .category-card {
        min-height: 112px;
    }

    .hero-slide {
        background:
            linear-gradient(180deg, rgba(15, 23, 42, .96) 0%, rgba(15, 23, 42, .78) 100%),
            var(--hero-image) center / cover;
    }
}
