@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Tajawal:wght@300;400;500;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html, body {
    height: 100%;
    margin: 0;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

a {
    color: inherit;
    text-decoration: none
}

img {
    max-width: 100%;
    display: block
}

button,
input,
textarea,
select {
    font: inherit
}

body.nelix-public {
    --pub-bg: #050608;
    --pub-bg-soft: #46453e;
    --pub-surface: rgba(255, 255, 255, .025);
    --pub-surface-2: rgba(255, 255, 255, .045);
    --pub-hairline: rgba(255, 255, 255, .06);
    --pub-hairline-2: rgba(255, 255, 255, .09);
    --pub-hairline-3: rgba(255, 255, 255, .14);
    --pub-text: #f4f5f7;
    --pub-text-soft: #b3b7c0;
    --pub-text-muted: #6c7180;
    --pub-accent: #ffd700;
    --pub-accent-soft: rgba(255, 215, 0, .14);
    --pub-accent-line: rgba(255, 215, 0, .30);
    background: var(--pub-bg);
    color: var(--pub-text);
    font-family: 'Inter', 'Tajawal', system-ui, -apple-system, "Segoe UI", sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -.005em;
    display: flex;
    flex-direction: column
}

body.nelix-public:before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -2;
    background-color: var(--pub-bg);
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .055) 1px, transparent 0);
    background-size: 22px 22px
}

body.nelix-public:after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background: radial-gradient(900px 600px at 50% -200px, rgba(255, 215, 0, .06), transparent 60%), radial-gradient(900px 700px at 50% calc(100% + 200px), rgba(255, 215, 0, .04), transparent 60%)
}

.site-main {
    flex: 1;
    padding-top: 72px
}

.nelix-container,
.header-inner,
.classic-panel,
.section-wrap,
.product-page,
.form-page {
    width: 100%;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 28px;
    padding-right: 28px
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    z-index: 1000;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, rgba(8, 10, 14, .78), rgba(5, 6, 8, .62));
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, .04);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .02), 0 8px 28px rgba(0, 0, 0, .28);
    transition: .26s ease
}

.site-header:before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, .18), transparent);
    opacity: .5
}

.site-header.is-scrolled {
    background: linear-gradient(180deg, rgba(5, 6, 8, .92), rgba(5, 6, 8, .85));
    border-bottom-color: var(--pub-hairline-2);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .03), 0 12px 36px rgba(0, 0, 0, .45)
}

.header-inner {
    height: 72px;
    display: flex;
    align-items: center;
    gap: 28px
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--pub-text);
    font-weight: 800;
    font-size: 14.5px;
    letter-spacing: .08em;
    text-transform: uppercase;
    flex-shrink: 0
}

.brand img {
    height: 34px;
    width: 34px;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(255, 215, 0, .18))
}

.brand span {
    background: linear-gradient(180deg, #fff, #c9cdd6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1;
    margin-left: 16px
}

.main-nav a {
    font-size: 13px;
    font-weight: 500;
    color: var(--pub-text-soft);
    padding: 9px 16px;
    border-radius: 8px;
    transition: .18s ease;
    white-space: nowrap;
    letter-spacing: .02em;
    position: relative
}

.main-nav a:hover {
    color: var(--pub-text);
    background: rgba(255, 255, 255, .045)
}

.main-nav a.is-active {
    color: var(--pub-text);
    background: rgba(255, 255, 255, .025)
}

.main-nav a.is-active:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 1px;
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: var(--pub-accent);
    transform: translateX(-50%);
    box-shadow: 0 0 12px rgba(255, 215, 0, .55)
}

.account-area {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    flex-shrink: 0
}

.nelix-nav-burger {
    display: none;
    background: transparent;
    border: 1px solid var(--pub-hairline-2);
    color: var(--pub-text);
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer
}

.user-box {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 4px 12px 4px 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--pub-hairline-2);
    color: var(--pub-text)
}

.discord-avatar,
.user-box img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover
}

.user-box span {
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px
}

.account-link {
    color: var(--pub-accent);
    font-size: 12px;
    font-weight: 700
}

.nelix-btn,
.button-primary,
.button-secondary,
button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 10px;
    padding: 11px 18px;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.15;
    transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease
}

.nelix-btn-lg {
    padding: 14px 28px;
    font-size: 14px
}

.nelix-btn:hover,
.button-primary:hover,
.button-secondary:hover,
button:hover {
    transform: translateY(-1px)
}

.button-primary,
.nelix-btn-primary,
button {
    background: var(--pub-accent);
    border-color: rgba(255, 215, 0, .45);
    color: #021b12;
    box-shadow: none;
}

.button-primary:hover,
.nelix-btn-primary:hover,
button:hover {
    background: #14c994;
    color: #021b12
}

.button-secondary,
.nelix-btn-secondary {
    background: rgba(255, 255, 255, .03);
    border-color: var(--pub-hairline-2);
    color: var(--pub-text)
}

.button-secondary:hover,
.nelix-btn-secondary:hover {
    background: rgba(255, 255, 255, .06);
    border-color: var(--pub-hairline-3)
}

.hero {
    position: relative;
    text-align: center;
    padding: 150px 0 110px;
    max-width: none
}

.hero:before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(520px 360px at var(--mx, 50%) var(--my, 38%), rgba(255, 215, 0, .12), transparent 65%);
    opacity: .9
}

.hero .nelix-container {
    position: relative
}

.hero-text {
    max-width: 880px;
    margin: 0 auto
}

.eyebrow,
.nelix-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid var(--pub-hairline-2);
    background: rgba(255, 255, 255, .02);
    color: var(--pub-text-soft);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .18em;
    margin-bottom: 0
}

.eyebrow .dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--pub-accent);
    box-shadow: 0 0 10px var(--pub-accent)
}

.hero h1,
.page-title h1,
.product-info h1 {
    font-size: clamp(38px, 6vw, 76px);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -.035em;
    margin: 28px auto 24px;
    color: var(--pub-text)
}

.hero h1 .accent {
    font-style: italic;
    font-weight: 400;
    color: var(--pub-accent)
}

.hero p,
.page-title p,
.product-info p,
.muted {
    font-size: 15px;
    line-height: 1.7;
    color: var(--pub-text-soft)
}

.hero p.lede {
    font-size: clamp(15px, 1.7vw, 17px);
    max-width: 620px;
    margin: 0 auto 42px
}

.hero-actions,
.nelix-hero-ctas {
    display: inline-flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center
}

.nelix-section,
.section-wrap {
    max-width: none;
    padding-top: 88px;
    padding-bottom: 88px;
    border-top: 1px solid var(--pub-hairline);
    margin-top: 0;
    margin-bottom: 0
}

.section-title,
.nelix-section-head {
    max-width: 720px;
    margin: 0 auto 56px;
    text-align: center
}

.section-title h2,
.nelix-section-head h2 {
    font-size: clamp(28px, 3.6vw, 44px);
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1.1;
    margin: 0 0 18px;
    color: var(--pub-text)
}

.section-title p,
.nelix-section-head p {
    max-width: 560px;
    margin: 0 auto;
    color: var(--pub-text-soft);
    font-size: 15px;
    line-height: 1.65
}

.nelix-section-eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .22em;
    color: var(--pub-text-muted);
    margin-bottom: 14px
}

.classic-grid {
    display: grid;
    gap: 22px
}

.classic-grid.three,
.nelix-pillcard-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr))
}

.classic-card,
.product-card,
.stat-card,
.empty-box {
    position: relative;
    padding: 34px 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .008));
    border: 1px solid var(--pub-hairline);
    border-radius: 14px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .04);
    transition: .22s ease
}

.classic-card:hover,
.product-card:hover,
.stat-card:hover {
    border-color: var(--pub-hairline-3);
    background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012));
    transform: translateY(-3px);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .06)
}

.nelix-pillcard {
    padding-top: 56px !important;
    margin-top: 36px;
    text-align: center
}

.nelix-pillcard-icon {
    position: absolute;
    top: -36px;
    left: 50%;
    transform: translateX(-50%);
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: linear-gradient(180deg, #14181f, #0a0c12);
    color: var(--pub-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .08), 0 0 0 1px var(--pub-hairline-3)
}

.nelix-pillcard-icon:after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 22px;
    border: 1px solid rgba(255, 215, 0, .15);
    pointer-events: none
}

.nelix-pillcard-num {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--pub-accent);
    margin-bottom: 10px
}

.classic-card h3,
.product-card h3,
.stat-card strong {
    font-size: 18px;
    font-weight: 700;
    color: var(--pub-text);
    margin: 0 0 12px;
    letter-spacing: -.01em
}

.classic-card p,
.product-card p {
    font-size: 13.5px;
    color: var(--pub-text-soft);
    line-height: 1.7;
    margin: 0 auto;
    max-width: 320px
}

.nelix-cta {
    padding: 54px 32px;
    text-align: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
    border: 1px solid var(--pub-hairline);
    border-radius: 18px;
    box-shadow: 0 18px 54px rgba(0, 0, 0, .34)
}

.nelix-cta h2 {
    font-size: clamp(28px, 3.5vw, 46px);
    letter-spacing: -.03em;
    margin-bottom: 12px
}

.nelix-cta p {
    color: var(--pub-text-soft);
    margin-bottom: 26px
}

.page-title {
    margin-top: 54px;
    margin-bottom: 0;
    padding: 58px 38px;
    text-align: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
    border: 1px solid var(--pub-hairline);
    border-radius: 18px;
    box-shadow: 0 18px 54px rgba(0, 0, 0, .32)
}

.page-title h1 {
    font-size: clamp(34px, 4.8vw, 58px);
    margin-top: 18px
}

.compact-title {
    margin-bottom: 28px
}

.product-image {
    height: 170px;
    margin-bottom: 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .035);
    border: 1px solid var(--pub-hairline);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .92
}

.product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 22px
}

.price,
.large-price {
    color: var(--pub-accent);
    font-weight: 800
}

.price {
    font-size: 21px
}

.large-price {
    display: block;
    font-size: 34px;
    margin: 22px 0
}

.small-link {
    color: var(--pub-accent);
    font-weight: 700;
    font-size: 13px
}

.small-link:hover {
    text-decoration: underline
}

.product-page {
    margin-top: 54px;
    margin-bottom: 90px;
    padding: 32px;
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 36px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
    border: 1px solid var(--pub-hairline);
    border-radius: 18px;
    box-shadow: 0 18px 54px rgba(0, 0, 0, .32)
}

.product-large-image {
    min-height: 320px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .035);
    border: 1px solid var(--pub-hairline);
    overflow: hidden
}

.product-large-image img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.product-info {
    align-self: center
}

.form-page {
    margin: 0 auto 90px;
    display: flex;
    justify-content: center
}

.classic-form-box {
    width: 560px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
    border: 1px solid var(--pub-hairline);
    border-radius: 18px;
    padding: 32px;
    box-shadow: 0 18px 54px rgba(0, 0, 0, .32)
}

.wide-form {
    width: 760px
}

.classic-form-box h2 {
    font-size: 28px;
    margin-bottom: 8px
}

.classic-form {
    margin-top: 24px
}

.classic-form label {
    display: block;
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 700;
    color: var(--pub-text);
    letter-spacing: .02em
}

.classic-form input,
.classic-form select,
.classic-form textarea {
    width: 100%;
    padding: 13px 14px;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, .035);
    color: var(--pub-text);
    border: 1px solid var(--pub-hairline-2);
    border-radius: 10px;
    outline: none
}

.classic-form input:focus,
.classic-form select:focus,
.classic-form textarea:focus {
    border-color: var(--pub-accent-line);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, .08)
}

.classic-form input[readonly] {
    background: rgba(255, 255, 255, .02);
    color: var(--pub-text-muted)
}

.notice {
    padding: 13px 15px;
    border: 1px solid var(--pub-hairline-2);
    border-radius: 12px;
    margin: 18px 0;
    background: rgba(255, 255, 255, .035);
    color: var(--pub-text);
    font-weight: 700
}

.notice.success {
    border-color: rgba(255, 215, 0, .35);
    background: rgba(255, 215, 0, .11);
    color: #88f3c3
}

.notice.error {
    border-color: rgba(248, 113, 113, .35);
    background: rgba(248, 113, 113, .10);
    color: #fecaca
}

.table-box {
    background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
    border: 1px solid var(--pub-hairline);
    border-radius: 18px;
    padding: 18px;
    overflow-x: auto;
    box-shadow: 0 18px 54px rgba(0, 0, 0, .32)
}

.table-box h2 {
    margin: 0 0 18px
}

.classic-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0
}

.classic-table th {
    background: rgba(255, 255, 255, .045);
    color: var(--pub-text);
    font-size: 12px;
    text-align: left;
    padding: 13px;
    border-bottom: 1px solid var(--pub-hairline);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: .08em
}

.classic-table td {
    padding: 13px;
    border-bottom: 1px solid var(--pub-hairline);
    color: var(--pub-text-soft);
    vertical-align: top
}

.classic-table tr:last-child td {
    border-bottom: 0
}

.classic-table code {
    font-family: Consolas, ui-monospace, monospace;
    font-size: 12px;
    color: #d7fbe9;
    background: rgba(255, 215, 0, .08);
    border: 1px solid rgba(255, 215, 0, .16);
    border-radius: 6px;
    padding: 3px 6px
}

.status {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 999px;
    border: 1px solid var(--pub-hairline-2);
    font-size: 12px;
    text-transform: capitalize
}

.status.active {
    color: #88f3c3;
    background: rgba(255, 215, 0, .11);
    border-color: rgba(255, 215, 0, .25)
}

.status.blocked,
.status.expired,
.status.hidden,
.status.disabled {
    color: #fecaca;
    background: rgba(248, 113, 113, .10);
    border-color: rgba(248, 113, 113, .25)
}

.stat-card span {
    display: block;
    color: var(--pub-accent);
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: 11px;
    margin-bottom: 8px
}

.stat-card strong {
    font-size: 34px
}

.admin-links a {
    display: block;
    margin-top: 10px
}

.site-footer {
    border-top: 1px solid var(--pub-hairline);
    color: var(--pub-text-muted);
    text-align: center;
    padding: 26px 15px;
    font-size: 13px;
    background: rgba(5, 6, 8, .72);
    margin-top: auto;
}

.nelix-reveal,
.classic-card,
.product-card,
.stat-card,
.table-box,
.classic-form-box {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .55s ease, transform .55s ease
}

.is-in,
.classic-card.is-in,
.product-card.is-in,
.stat-card.is-in,
.table-box.is-in,
.classic-form-box.is-in {
    opacity: 1;
    transform: none
}

@media(max-width:900px) {
    .nelix-nav-burger {
        display: inline-flex;
        order: 99
    }

    .site-header .main-nav {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        margin-left: 0;
        padding: 12px 18px 18px;
        background: rgba(5, 6, 8, .96);
        backdrop-filter: saturate(160%) blur(16px);
        border-bottom: 1px solid var(--pub-hairline);
        transform-origin: top;
        transform: scaleY(0);
        opacity: 0;
        pointer-events: none;
        transition: .18s ease
    }

    .site-header.is-open .main-nav {
        transform: scaleY(1);
        opacity: 1;
        pointer-events: auto
    }

    .main-nav a {
        padding: 12px 14px
    }

    .main-nav a.is-active:after {
        display: none
    }

    .account-area {
        margin-left: auto
    }

    .classic-grid.three,
    .nelix-pillcard-grid,
    .product-page {
        grid-template-columns: 1fr
    }

    .product-page {
        padding: 22px
    }

    .hero {
        padding: 110px 0 74px
    }

    .section-wrap,
    .nelix-section {
        padding-top: 62px;
        padding-bottom: 62px
    }

    .page-title {
        margin-top: 34px
    }

    .hero h1 {
        font-size: 44px
    }

    .form-page {
        padding-left: 20px;
        padding-right: 20px
    }

    .classic-form-box,
    .wide-form {
        width: 100%
    }
}

@media(max-width:640px) {

    .nelix-container,
    .header-inner,
    .classic-panel,
    .section-wrap,
    .product-page,
    .form-page {
        padding-left: 20px;
        padding-right: 20px
    }

    .brand span {
        font-size: 12px
    }

    .account-area .user-box span {
        display: none
    }

    .login-button span {
        display: none
    }

    .hero h1 {
        font-size: 38px
    }

    .hero-actions,
    .nelix-hero-ctas {
        width: 100%
    }

    .hero-actions .nelix-btn,
    .nelix-hero-ctas .nelix-btn {
        width: 100%
    }

    .product-bottom {
        align-items: flex-start;
        flex-direction: column
    }

    .classic-table th,
    .classic-table td {
        padding: 11px 10px;
        font-size: 12px
    }
}

/* Rebuilt Admin Menu */
.admin-menu-wrap {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto 28px;
    padding: 0 28px
}

.admin-menu-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--pub-hairline);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012));
    box-shadow: 0 18px 54px rgba(0, 0, 0, .32), inset 0 1px 0 rgba(255, 255, 255, .04);
    padding: 18px
}

.admin-menu-card:before {
    content: '';
    position: absolute;
    inset: -1px;
    background: radial-gradient(520px 160px at 15% 0, rgba(255, 215, 0, .16), transparent 60%);
    pointer-events: none
}

.admin-menu-head {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--pub-text)
}

.admin-menu-logo {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 215, 0, .12);
    border: 1px solid rgba(255, 215, 0, .25);
    color: var(--pub-accent);
    box-shadow: 0 0 22px rgba(255, 215, 0, .12)
}

.admin-menu-head span {
    display: block;
    color: var(--pub-text-muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .18em;
    font-weight: 700
}

.admin-menu-head strong {
    display: block;
    font-size: 18px;
    letter-spacing: -.02em
}

.admin-menu-links {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px
}

.admin-menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 78px;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid var(--pub-hairline-2);
    background: rgba(255, 255, 255, .025);
    color: var(--pub-text-soft);
    transition: .2s ease
}

.admin-menu-link i {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .045);
    border: 1px solid var(--pub-hairline-2);
    color: var(--pub-accent);
    font-size: 16px;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important
}

.admin-menu-link strong {
    display: block;
    color: var(--pub-text);
    font-size: 14px;
    line-height: 1.2;
    margin-bottom: 4px
}

.admin-menu-link small {
    display: block;
    color: var(--pub-text-muted);
    font-size: 12px;
    line-height: 1.25
}

.admin-menu-link:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 215, 0, .28);
    background: rgba(255, 215, 0, .055);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .24)
}

.admin-menu-link.is-active {
    border-color: rgba(255, 215, 0, .45);
    background: linear-gradient(180deg, rgba(255, 215, 0, .14), rgba(255, 215, 0, .045));
    box-shadow: 0 0 0 1px rgba(255, 215, 0, .08) inset, 0 14px 36px rgba(0, 0, 0, .28)
}

.admin-menu-link.is-active i {
    background: var(--pub-accent);
    color: #021b12;
    border-color: rgba(255, 215, 0, .55);
    box-shadow: 0 0 18px rgba(255, 215, 0, .18)
}

@media(max-width:960px) {
    .admin-menu-links {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media(max-width:640px) {
    .admin-menu-wrap {
        padding: 0 20px
    }

    .admin-menu-links {
        grid-template-columns: 1fr
    }

    .admin-menu-link {
        min-height: 68px
    }

    .admin-menu-head strong {
        font-size: 16px
    }
}


/* Full Admin Rebuild - panels, cards, buttons */
.admin-shell {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto 90px;
    padding: 0 28px
}

.admin-section {
    margin-top: 28px
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px
}

.admin-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr))
}

.admin-grid.four {
    grid-template-columns: repeat(4, minmax(0, 1fr))
}

.admin-panel {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--pub-hairline);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012));
    box-shadow: 0 18px 54px rgba(0, 0, 0, .32), inset 0 1px 0 rgba(255, 255, 255, .04);
    padding: 22px
}

.admin-panel:before {
    content: '';
    position: absolute;
    inset: -1px;
    background: radial-gradient(480px 150px at 15% 0, rgba(255, 215, 0, .13), transparent 60%);
    pointer-events: none
}

.admin-panel>* {
    position: relative
}

.admin-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px
}

.admin-panel-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--pub-text);
    letter-spacing: -.02em;
    margin: 0
}

.admin-panel-sub {
    font-size: 13px;
    color: var(--pub-text-muted);
    margin-top: 6px;
    line-height: 1.5
}

.admin-form {
    display: grid;
    gap: 15px
}

.admin-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px
}

.admin-field label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 7px;
    font-size: 12px;
    font-weight: 800;
    color: var(--pub-text);
    letter-spacing: .06em;
    text-transform: uppercase
}

.admin-field input,
.admin-field select,
.admin-field textarea {
    width: 100%;
    min-height: 44px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--pub-hairline-2);
    background: rgba(255, 255, 255, .035);
    color: var(--pub-text);
    outline: none;
    transition: .18s ease
}

.admin-field textarea {
    min-height: 116px;
    resize: vertical
}

.admin-field input:focus,
.admin-field select:focus,
.admin-field textarea:focus {
    border-color: var(--pub-accent-line);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, .08);
    background: rgba(255, 255, 255, .05)
}

.admin-field select option {
    background: #080b10;
    color: #f4f5f7
}

.admin-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px
}

.admin-btn,
.admin-action-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease
}

.admin-btn:hover,
.admin-action-link:hover {
    transform: translateY(-1px)
}

.admin-btn i,
.admin-action-link i {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important
}

.admin-btn.primary,
.admin-action-link.primary {
    background: var(--pub-accent);
    border-color: rgba(255, 215, 0, .45);
    color: #021b12;
    box-shadow: none;
}

.admin-btn.primary:hover,
.admin-action-link.primary:hover {
    background: #14c994;
    color: #021b12
}

.admin-btn.secondary,
.admin-action-link.secondary {
    background: rgba(255, 255, 255, .035);
    border-color: var(--pub-hairline-2);
    color: var(--pub-text)
}

.admin-btn.secondary:hover,
.admin-action-link.secondary:hover {
    background: rgba(255, 255, 255, .065);
    border-color: rgba(255, 255, 255, .16);
    color: var(--pub-text)
}

.admin-btn.danger,
.admin-action-link.danger {
    background: rgba(248, 113, 113, .10);
    border-color: rgba(248, 113, 113, .25);
    color: #fecaca
}

.admin-btn.danger:hover,
.admin-action-link.danger:hover {
    background: rgba(248, 113, 113, .16);
    border-color: rgba(248, 113, 113, .36)
}

.admin-stat {
    min-height: 124px;
    display: flex;
    flex-direction: column;
    justify-content: space-between
}

.admin-stat span {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--pub-text-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 800
}

.admin-stat span i {
    color: var(--pub-accent)
}

.admin-stat strong {
    font-size: 38px;
    color: var(--pub-text);
    letter-spacing: -.04em
}

.admin-card-link {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 104px;
    color: var(--pub-text);
    text-decoration: none
}

.admin-card-link-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 215, 0, .12);
    border: 1px solid rgba(255, 215, 0, .25);
    color: var(--pub-accent);
    flex-shrink: 0
}

.admin-card-link-icon i {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important
}

.admin-card-link strong {
    display: block;
    font-size: 16px;
    margin-bottom: 5px
}

.admin-card-link small {
    display: block;
    color: var(--pub-text-muted);
    font-size: 13px;
    line-height: 1.45
}

.admin-card-link:hover {
    border-color: rgba(255, 215, 0, .32);
    background: rgba(255, 215, 0, .045)
}

.admin-table-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.admin-mini-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 32px;
    padding: 0 11px;
    border-radius: 10px;
    border: 1px solid var(--pub-hairline-2);
    background: rgba(255, 255, 255, .035);
    color: var(--pub-text);
    font-size: 12px;
    font-weight: 800;
    transition: .18s ease
}

.admin-mini-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 215, 0, .32);
    background: rgba(255, 215, 0, .07)
}

.admin-mini-btn i {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    color: var(--pub-accent)
}

.admin-license-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
    gap: 18px
}

.admin-license-card {
    padding: 22px
}

.admin-license-key {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 11px;
    border-radius: 10px;
    background: rgba(255, 215, 0, .08);
    border: 1px solid rgba(255, 215, 0, .18);
    color: #d7fbe9;
    font-family: Consolas, ui-monospace, monospace;
    font-size: 12px;
    white-space: nowrap
}

.admin-license-meta {
    color: var(--pub-text-muted);
    font-size: 13px;
    line-height: 1.7
}

.admin-divider {
    height: 1px;
    background: var(--pub-hairline);
    margin: 18px 0
}

.admin-code-message {
    word-break: break-word
}

.classic-table .admin-action-link,
.classic-table .admin-mini-btn {
    white-space: nowrap
}

.table-box h2 {
    color: var(--pub-text)
}

@media(max-width:980px) {

    .admin-grid,
    .admin-grid.two,
    .admin-grid.four {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .admin-license-grid {
        grid-template-columns: 1fr
    }
}

@media(max-width:640px) {
    .admin-shell {
        padding: 0 20px
    }

    .admin-grid,
    .admin-grid.two,
    .admin-grid.four,
    .admin-form-row {
        grid-template-columns: 1fr
    }

    .admin-panel {
        padding: 18px
    }

    .admin-panel-head {
        flex-direction: column
    }

    .admin-actions {
        align-items: stretch
    }

    .admin-btn,
    .admin-action-link {
        width: 100%
    }

    .admin-license-key {
        white-space: normal;
        word-break: break-all
    }
}

.buy-mini-btn {
    padding: 9px 14px;
    font-size: 13px;
    white-space: nowrap;
}

/* Elegant Global Alerts */
.nelix-alert {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    animation: alert-slide-down 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes alert-slide-down {
    0% { transform: translateY(-15px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

.nelix-alert-success {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #34d399;
}
.nelix-alert-success i {
    color: #10b981;
    font-size: 1.2rem;
}

.nelix-alert-error {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #f87171;
}
.nelix-alert-error i {
    color: #ef4444;
    font-size: 1.2rem;
}
