* {
    box-sizing:border-box;
}


body {

    margin:0;

    background:#020617;

    color:#e2e8f0;

    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}


a {
    color:#60a5fa;
    text-decoration:none !important;
}


a:hover {
    text-decoration:underline;
}


.container {

    width:94%;

    max-width:1100px;

    margin:auto;
}


/*
|--------------------------------------------------------------------------
| HEADER
|--------------------------------------------------------------------------
*/

.header {

    background:#0f172a;

    border-bottom:
        1px solid #1e293b;
}


.header-inner {

    min-height:70px;

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:15px;
}


.logo {

    color:white;

    font-size:24px;

    font-weight:800;
}


.header-actions {

    display:flex;

    align-items:center;

    gap:8px;

    flex-wrap:wrap;
}


.button {

    display:inline-block;

    padding:9px 16px;

    border:0;

    border-radius:8px;

    background:#2563eb;

    color:white;

    font-weight:700;

    cursor:pointer;

    text-decoration:none;
}


.button:hover {

    background:#1d4ed8;

    color:white;

    text-decoration:none;
}


/*
|--------------------------------------------------------------------------
| NAVIGATION
|--------------------------------------------------------------------------
*/

.nav {

    background:#020617;

    border-bottom:
        1px solid #1e293b;
}


.nav-inner {

    display:flex;

    overflow-x:auto;
}


.nav a {

    padding:13px 16px;

    white-space:nowrap;

    color:#cbd5e1;

    text-decoration:none;
}


.nav a:hover {

    background:#1e293b;

    color:white;
}


/*
|--------------------------------------------------------------------------
| MAIN
|--------------------------------------------------------------------------
*/

main {

    padding:25px 0;
}


/*
|--------------------------------------------------------------------------
| STATS
|--------------------------------------------------------------------------
*/

.stats {

    display:grid;

    grid-template-columns:
        repeat(2,1fr);

    gap:15px;

    margin-bottom:20px;
}


.stat {

    background:#0f172a;

    border:
        1px solid #1e293b;

    border-radius:12px;

    padding:18px;
}


.stat-number {

    color:white;

    font-size:27px;

    font-weight:900;
}


.stat-label {

    color:#94a3b8;

    font-size:13px;
}


/*
|--------------------------------------------------------------------------
| CARD
|--------------------------------------------------------------------------
*/

.card {

    background:#0f172a;

    border:
        1px solid #1e293b;

    border-radius:14px;

    padding:18px;

    margin-bottom:15px;
}


/*
|--------------------------------------------------------------------------
| SEARCH
|--------------------------------------------------------------------------
*/

.search-form {

    display:flex;

    gap:8px;
}


.search-form input {

    flex:1;
}


input {

    width:100%;

    padding:12px;

    background:#020617;

    border:
        1px solid #334155;

    border-radius:9px;

    color:white;

    outline:none;
}


input:focus {

    border-color:#3b82f6;
}


/*
|--------------------------------------------------------------------------
| POST
|--------------------------------------------------------------------------
*/

.post {

    background:#0f172a;

    border:
        1px solid #1e293b;

    border-radius:14px;

    padding:20px;

    margin-bottom:15px;

    scroll-margin-top:20px;
}


.post-title {

    color:white;

    font-size:21px;

    font-weight:900;

    margin-bottom:6px;
}


.post-model {


    color:#cbd5e1;

    margin-bottom:10px;
}


/*
|--------------------------------------------------------------------------
| UPLOADER
|--------------------------------------------------------------------------
*/

.uploader-info {

    display:flex;

    align-items:center;

    gap:9px;

    flex-wrap:wrap;

    margin-top:10px;

    margin-bottom:15px;

    font-size:14px;
}


.uploader-label {

    color:#64748b;
}


.uploader-name {

    color:#60a5fa;

    font-weight:800;
}


.subscription-badge {

    display:inline-block;

    padding:4px 10px;

    border-radius:999px;

    font-size:11px;

    font-weight:900;

    letter-spacing:.5px;
}


.subscription-badge.free {

    background:#334155;

    color:#cbd5e1;
}


.subscription-badge.vip {

    background:#7c2d12;

    color:#fed7aa;
}


.subscription-badge.pro {

    background:#1e3a8a;

    color:#bfdbfe;
}


.subscription-badge.elite {

    background:#581c87;

    color:#e9d5ff;
}


/*
|--------------------------------------------------------------------------
| POST INFO
|--------------------------------------------------------------------------
*/

.post-info {

    display:grid;

    grid-template-columns:
        repeat(2,1fr);

    gap:8px;

    margin-top:15px;

    padding-top:15px;

    border-top:
        1px solid #1e293b;
}


.info-item {

    background:#020617;

    border-radius:8px;

    padding:10px;

    font-size:13px;

    overflow-wrap:anywhere;
}


.info-label {

    display:block;

    color:#64748b;

    margin-bottom:4px;
}


/*
|--------------------------------------------------------------------------
| DOWNLOAD
|--------------------------------------------------------------------------
*/

.actions {

    display:flex;

    align-items:center;

    gap:10px;

    flex-wrap:wrap;

    margin-top:15px;
}


.download {

    display:inline-block;

    padding:10px 15px;

    background:#2563eb;

    color:white;

    border-radius:8px;

    font-weight:800;

    text-decoration:none;
}


.download:hover {

    background:#1d4ed8;

    color:white;

    text-decoration:none;
}


.locked {

    display:inline-block;

    padding:10px 14px;

    background:#1e293b;

    color:#94a3b8;

    border-radius:8px;
}


/*
|--------------------------------------------------------------------------
| SOCIAL
|--------------------------------------------------------------------------
*/

.social-section {

    margin-top:18px;

    padding-top:18px;

    border-top:
        1px solid #1e293b;
}


.like-form {

    display:inline-block;

    margin-bottom:15px;
}


.like-button {

    border:
        1px solid #334155;

    background:#1e293b;

    color:#cbd5e1;

    padding:9px 14px;

    border-radius:8px;

    font-weight:800;

    cursor:pointer;
}


.like-button:hover {

    background:#334155;

    color:white;
}


.like-button.liked {

    background:#7f1d1d;

    border-color:#991b1b;

    color:#fecaca;
}


/*
|--------------------------------------------------------------------------
| COMMENTS
|--------------------------------------------------------------------------
*/

.comments-section {

    margin-top:5px;
}


.comment-form {

    margin-bottom:18px;
}


.comment-form textarea {

    width:100%;

    min-height:100px;

    resize:vertical;

    padding:12px;

    margin-bottom:10px;

    background:#020617;

    color:#e2e8f0;

    border:1px solid #334155;

    border-radius:9px;

    font-family:inherit;

    font-size:14px;
}


.comment-form textarea:focus {

    outline:none;

    border-color:#3b82f6;
}


.login-comment-message {

    background:#020617;

    border:1px solid #1e293b;

    border-radius:8px;

    padding:12px;

    margin-bottom:15px;

    color:#94a3b8;
}


.comments-title {

    margin:0 0 12px;

    color:white;

    font-size:18px;
}


.comment-list {

    display:flex;

    flex-direction:column;

    gap:10px;
}


.comment-item {

    background:#020617;

    border:
        1px solid #1e293b;

    border-radius:10px;

    padding:13px;
}


.comment-header {

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:10px;

    margin-bottom:7px;
}


.comment-author {

    color:#60a5fa;

    font-weight:800;
}


.comment-date {

    color:#64748b;

    font-size:11px;
}


.comment-text {

    color:#cbd5e1;

    line-height:1.5;

    overflow-wrap:anywhere;
}


.no-comments {

    background:#020617;

    border-radius:8px;

    padding:12px;

    color:#64748b;
}


/*
|--------------------------------------------------------------------------
| PAGINATION
|--------------------------------------------------------------------------
*/

.pagination {

    display:flex;

    justify-content:center;

    align-items:center;

    flex-wrap:wrap;

    gap:6px;

    margin-top:25px;
}


.pagination a {

    padding:9px 13px;

    background:#1e293b;

    border-radius:8px;

    color:#cbd5e1;

    text-decoration:none;
}


.pagination a:hover {

    background:#334155;

    color:white;
}


.pagination .active {

    background:#2563eb;

    color:white;

    font-weight:900;
}


/*
|--------------------------------------------------------------------------
| EMPTY
|--------------------------------------------------------------------------
*/

.empty {

    padding:50px 20px;

    text-align:center;

    color:#94a3b8;
}


/*
|--------------------------------------------------------------------------
| FOOTER
|--------------------------------------------------------------------------
*/

footer {

    padding:30px;

    text-align:center;

    color:#64748b;
}


/*
|--------------------------------------------------------------------------
| MOBILE
|--------------------------------------------------------------------------
*/

@media (max-width:700px) {

    .header-inner {

        flex-direction:column;

        align-items:flex-start;

        padding:12px 0;
    }


    .stats {

        grid-template-columns:1fr;
    }


    .search-form {

        flex-direction:column;
    }


    .post-info {

        grid-template-columns:1fr;
    }


    .comment-header {

        align-items:flex-start;

        flex-direction:column;
    }

}


/*
|--------------------------------------------------------------------------
| CURRENT PLAN
|--------------------------------------------------------------------------
*/

.current-plan {

    max-width: 650px;

    margin:
        25px auto;

    padding: 18px;

    background: #0f172a;

    border:
        1px solid #1e293b;

    border-radius: 14px;

    text-align: center;
}

.current-plan-title {

    color: #94a3b8;

    font-size: 13px;

    text-transform: uppercase;

    letter-spacing: .08em;
}

.current-plan-name {

    margin-top: 5px;

    font-size: 24px;

    font-weight: 800;

    color: white;
}


/*
|--------------------------------------------------------------------------
| DOWNLOAD USAGE
|--------------------------------------------------------------------------
*/

.download-box {

    max-width: 650px;

    margin:
        0 auto 30px;

    padding: 18px;

    background: #0f172a;

    border:
        1px solid #1e293b;

    border-radius: 14px;

    text-align: center;
}

.download-number {

    font-size: 28px;

    font-weight: 800;

    color: white;
}

.download-label {

    color: #94a3b8;

    margin-top: 4px;
}

.progress {

    height: 9px;

    background: #1e293b;

    border-radius: 999px;

    overflow: hidden;

    margin-top: 15px;
}

.progress-bar {

    height: 100%;

    background: #3b82f6;

    border-radius: 999px;
}


/*
|--------------------------------------------------------------------------
| PLANS
|--------------------------------------------------------------------------
*/

.plans {

    display: grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(240px, 1fr)
        );

    gap: 18px;
}


/*
|--------------------------------------------------------------------------
| PLAN CARD
|--------------------------------------------------------------------------
*/

.plan {

    background: #0f172a;

    border:
        1px solid #1e293b;

    border-radius: 16px;

    padding: 24px;

    position: relative;

    transition:
        transform .15s,
        border-color .15s;
}

.plan:hover {

    transform:
        translateY(-4px);

    border-color:
        #334155;
}

.plan.current {

    border:
        2px solid #3b82f6;
}


/*
|--------------------------------------------------------------------------
| CURRENT LABEL
|--------------------------------------------------------------------------
*/

.current-label {

    position: absolute;

    top: 12px;

    right: 12px;

    padding: 4px 8px;

    border-radius: 999px;

    background: #3b82f6;

    color: white;

    font-size: 10px;

    font-weight: 800;
}


/*
|--------------------------------------------------------------------------
| PLAN NAME
|--------------------------------------------------------------------------
*/

.plan h2 {

    margin:
        0 0 8px;

    font-size: 25px;
}


/*
|--------------------------------------------------------------------------
| PRICE
|--------------------------------------------------------------------------
*/

.price {

    font-size: 24px;

    font-weight: 800;

    color: white;

    margin-bottom: 8px;
}

.description {

    min-height: 45px;

    color: #94a3b8;

    font-size: 14px;
}


/*
|--------------------------------------------------------------------------
| DOWNLOADS
|--------------------------------------------------------------------------
*/

.downloads {

    margin:
        15px 0;

    padding: 10px;

    background: #020617;

    border-radius: 8px;

    text-align: center;

    font-weight: 700;
}


/*
|--------------------------------------------------------------------------
| FEATURES
|--------------------------------------------------------------------------
*/

.features {

    list-style: none;

    padding: 0;

    margin: 20px 0;
}

.features li {

    padding:
        8px 0;

    border-bottom:
        1px solid #1e293b;

    color: #cbd5e1;

    font-size: 14px;
}

.features li:last-child {

    border-bottom: none;
}

.features li::before {

    content: "✓";

    margin-right: 8px;

    color: #22c55e;

    font-weight: 800;
}


/*
|--------------------------------------------------------------------------
| BUTTON
|--------------------------------------------------------------------------
*/

.plan-button {

    display: block;

    width: 100%;

    padding: 12px;

    border-radius: 9px;

    color: white;

    text-align: center;

    font-weight: 800;

    text-decoration: none;
}

.plan-button:hover {

    opacity: .9;

    text-decoration: none;
}

.disabled {

    background: #334155 !important;

    color: #94a3b8;

    cursor: default;

    pointer-events: none;
}


/*
|--------------------------------------------------------------------------
| EXPIRATION
|--------------------------------------------------------------------------
*/

.expiration {

    text-align: center;

    color: #94a3b8;

    margin-top: 25px;

    font-size: 13px;
}

/*
|--------------------------------------------------------------------------
| UPLOAD.PHP
|--------------------------------------------------------------------------
*/

.upload-page main form {
    width: 100%;
    margin: 0;
    padding: 30px;
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .30);
}

.upload-page main label {
    display: block;
    margin: 0 0 8px;
    color: #f8fafc;
    font-size: 14px;
    font-weight: 700;
}

.upload-page main input[type="text"],
.upload-page main input[type="file"] {
    display: block;
    width: 100%;
    min-height: 46px;
    margin: 0 0 20px;
    padding: 11px 13px;
    border: 1px solid #334155;
    border-radius: 9px;
    outline: none;
    background: #020617;
    color: #f8fafc;
    font-size: 15px;
}

.upload-page main input[type="file"] {
    padding: 8px;
    cursor: pointer;
}

.upload-page main input[type="text"]::placeholder {
    color: #64748b;
}

.upload-page main input[type="text"]:focus,
.upload-page main input[type="file"]:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .15);
}

.upload-page main .note {
    margin: -5px 0 22px;
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.6;
}

.upload-page main button[type="submit"] {
    display: block;
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 12px 18px;
    border: 0;
    border-radius: 9px;
    background: #2563eb;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: background .2s ease, transform .15s ease;
}

.upload-page main button[type="submit"]:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.upload-page main button[type="submit"]:active {
    transform: translateY(0);
}

.upload-page .success,
.upload-page .error {
    width: 100%;
    margin: 0 0 18px;
    padding: 13px 15px;
    border-radius: 9px;
    border: 1px solid rgba(255,255,255,.08);
    line-height: 1.5;
}

.upload-page .success {
    background: #064e3b;
    color: #a7f3d0;
}

.upload-page .error {
    background: #450a0a;
    color: #fecaca;
    white-space: pre-wrap;
}

@media (max-width: 760px) {
    .upload-page .header-inner {
        min-height: auto;
        padding: 4px 0;
        align-items: flex-start;
    }

    .upload-page .header-actions {
        justify-content: flex-end;
    }

    .upload-page .header-actions > span {
        display: none;
    }

    .upload-page main {
        padding: 28px 0 45px;
    }

    .upload-page main form {
        padding: 22px;
    }
}

@media (max-width: 520px) {
    .upload-page .logo {
        font-size: 20px;
    }

    .upload-page .header-actions {
        gap: 5px;
    }

    .upload-page .button {
        min-height: 36px;
        padding: 7px 10px;
        font-size: 13px;
    }

    .upload-page .nav a {
        min-height: 44px;
        padding: 11px 13px;
        font-size: 13px;
    }

    .upload-page main > .container {
        width: min(94%, 760px);
    }

    .upload-page main form {
        padding: 18px;
        border-radius: 14px;
    }
}





/*
|--------------------------------------------------------------------------
| CREATE REQUEST
|--------------------------------------------------------------------------
*/

.create-card {

    background: #0f172a;

    border:
        1px solid #1e293b;

    border-radius: 14px;

    padding: 20px;

    margin-bottom: 20px;
}


.create-card h2 {

    margin-top: 0;

    color: white;
}


.form-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 15px;
}


.form-group {

    margin-bottom: 5px;
}


.form-group.full {

    grid-column: 1 / -1;
}

textarea,
select {

    width: 100%;

    padding: 12px;

    background: #020617;

    color: #e2e8f0;

    border:
        1px solid #334155;

    border-radius: 9px;

    outline: none;

    font-family: inherit;

    font-size: 14px;
}

/*
|--------------------------------------------------------------------------
| ALERTS
|--------------------------------------------------------------------------
*/

.alert {

    padding: 13px;

    border-radius: 9px;

    margin-bottom: 15px;
}


.alert.error {

    background: #450a0a;

    color: #fecaca;

    border:
        1px solid #7f1d1d;
}


.alert.success {

    background: #064e3b;

    color: #a7f3d0;

    border:
        1px solid #065f46;
}


/*
|--------------------------------------------------------------------------
| FILTER
|--------------------------------------------------------------------------
*/

.filter-card {

    background: #0f172a;

    border:
        1px solid #1e293b;

    border-radius: 14px;

    padding: 18px;

    margin-bottom: 20px;
}


.filter-form {

    display: grid;

    grid-template-columns: 1fr 180px auto;

    gap: 10px;
}


/*
|--------------------------------------------------------------------------
| REQUEST CARD
|--------------------------------------------------------------------------
*/

.request-card {

    background: #0f172a;

    border:
        1px solid #1e293b;

    border-radius: 14px;

    padding: 20px;

    margin-bottom: 14px;
}


.request-title {

    font-size: 20px;

    font-weight: 900;

    color: white;

    margin-bottom: 7px;
}


.request-title a {

    color: white;

    text-decoration: none;
}


.request-title a:hover {

    color: #60a5fa;
}


.request-meta {

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 9px;

    color: #94a3b8;

    font-size: 13px;

    margin-bottom: 12px;
}


.requester {

    color: #60a5fa;

    font-weight: 800;
}


.status {

    display: inline-block;

    padding: 4px 10px;

    border-radius: 999px;

    font-size: 11px;

    font-weight: 900;

    text-transform: uppercase;
}


.status.open {

    background: #064e3b;

    color: #a7f3d0;
}


.status.solved {

    background: #1e3a8a;

    color: #bfdbfe;
}


.status.closed {

    background: #334155;

    color: #cbd5e1;
}


.request-details {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 13px;
}


.detail {

    background: #020617;

    border-radius: 7px;

    padding: 7px 10px;

    color: #cbd5e1;

    font-size: 12px;
}


.detail strong {

    color: #64748b;

    margin-right: 4px;
}


.request-description {

    color: #cbd5e1;

    line-height: 1.55;

    white-space: pre-line;

    overflow-wrap: anywhere;

    margin-bottom: 15px;

    display: -webkit-box;

    -webkit-line-clamp: 4;

    -webkit-box-orient: vertical;

    overflow: hidden;
}


.request-footer {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    padding-top: 14px;

    border-top:
        1px solid #1e293b;
}


.answers {

    color: #94a3b8;

    font-size: 13px;
}


/*
|--------------------------------------------------------------------------
| EMPTY
|--------------------------------------------------------------------------
*/

.empty {

    background: #0f172a;

    border:
        1px solid #1e293b;

    border-radius: 14px;

    padding: 50px 20px;

    text-align: center;

    color: #94a3b8;
}


.empty h2 {

    color: white;
}

/*
|--------------------------------------------------------------------------
| MOBILE
|--------------------------------------------------------------------------
*/

@media (max-width: 650px) {

    .header-inner {

        flex-direction: column;

        align-items: flex-start;
    }

    .page-title h1 {

        font-size: 28px;
    }

}

/* =========================================================
   WORKING COMPACT MOBILE MENU
   Works with #mobileMenuToggle and #mainNavigation.is-open
   already present in index.php.
   ========================================================= */

.nav {
    position: relative;
    z-index: 1000;
}

.nav .container {
    position: relative;
}

.mobile-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: auto;
    min-width: 44px;
    min-height: 42px;
    margin: 6px 0;
    padding: 8px 12px;
    border: 1px solid #334155;
    border-radius: 8px;
    background: #1e293b;
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.mobile-menu-toggle:hover,
.mobile-menu-toggle.is-open {
    background: #2563eb;
    border-color: #2563eb;
}

.mobile-menu-icon {
    font-size: 19px;
    line-height: 1;
}

.nav-inner {
    display: flex;
    align-items: center;
    gap: 2px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.nav-inner::-webkit-scrollbar {
    display: none;
}

.nav a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 9px 13px;
    border-radius: 7px;
    white-space: nowrap;
    flex: 0 0 auto;
    font-size: 14px;
    font-weight: 600;
}

.nav a:hover {
    text-decoration: none;
}

@media (max-width: 700px) {
    .header-inner {
        min-height: 56px;
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }

    .logo {
        font-size: 19px;
        white-space: nowrap;
    }

    .header-actions {
        margin-left: auto;
        flex-wrap: nowrap;
    }

    .header-actions > span {
        display: none;
    }

    .header-actions .button {
        min-height: 36px;
        padding: 7px 9px;
        font-size: 12px;
    }

    .nav .container {
        width: 94%;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-inner {
        display: none;
        width: 100%;
        padding: 5px 0 10px;
        overflow: visible;
        flex-direction: column;
        align-items: stretch;
        gap: 3px;
    }

    .nav-inner.is-open {
        display: flex;
    }

    .nav a {
        display: flex;
        width: 100%;
        min-height: 42px;
        padding: 10px 12px;
        border-radius: 7px;
        justify-content: flex-start;
        font-size: 14px;
    }

    .nav a:hover {
        background: #1e293b;
    }
}

@media (max-width: 480px) {
    .header-inner {
        min-height: 52px;
    }

    .logo {
        font-size: 17px;
    }

    .header-actions .button {
        min-height: 34px;
        padding: 6px 8px;
        font-size: 11px;
    }

    .mobile-menu-toggle {
        min-height: 40px;
        margin: 5px 0;
        padding: 7px 11px;
        font-size: 13px;
    }

    .mobile-menu-icon {
        font-size: 18px;
    }

    .nav a {
        min-height: 40px;
        padding: 9px 11px;
        font-size: 13px;
    }
}

@media (max-width: 360px) {
    .container {
        width: 96%;
    }

    .logo {
        font-size: 16px;
    }

    .header-actions .button {
        padding: 6px 7px;
        font-size: 10px;
    }

    .mobile-menu-toggle {
        min-height: 38px;
        padding: 6px 9px;
    }

    .nav a {
        min-height: 38px;
        padding: 8px 10px;
        font-size: 12px;
    }
}

@media (min-width: 701px) {
    .mobile-menu-toggle {
        display: none !important;
    }

    .nav-inner {
        display: flex !important;
    }
}


/* =========================================================
   SITE FOOTER
   ========================================================= */

.site-footer {
    margin-top: 40px;
    padding: 24px 0;
    background: #020617;
    border-top: 1px solid #1e293b;
    color: #94a3b8;
}

.site-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.site-footer-brand strong {
    color: #fff;
    font-size: 15px;
}

.site-footer-brand span {
    font-size: 12px;
}

.site-footer-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.site-footer-links a {
    color: #cbd5e1;
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
}

.site-footer-links a:hover {
    color: #60a5fa;
    text-decoration: underline;
}

@media (max-width: 700px) {
    .site-footer {
        margin-top: 30px;
        padding: 20px 0;
    }

    .site-footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 14px;
    }

    .site-footer-links {
        justify-content: center;
        gap: 9px 14px;
    }

    .site-footer-links a {
        font-size: 12px;
    }
}

@media (max-width: 420px) {
    .site-footer-links {
        flex-direction: column;
        gap: 8px;
    }
}


/* =========================================================
   LEGAl
   ========================================================= */
.legal-page {
    min-height: 100vh;
    background: #020617;
    color: #cbd5e1;
}
.legal-page .legal-container {
    width: min(92%, 900px);
    margin: 0 auto;
    padding: 42px 0 70px;
}
.legal-page .legal-card {
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 16px 40px rgba(0,0,0,.2);
}
.legal-page h1 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 34px;
}
.legal-page .legal-updated {
    margin: 0 0 30px;
    color: #94a3b8;
    font-size: 13px;
}
.legal-page h2 {
    margin: 30px 0 10px;
    color: #fff;
    font-size: 21px;
}
.legal-page p,
.legal-page li {
    line-height: 1.75;
}
.legal-page ul {
    padding-left: 24px;
}

.legal-footer {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #1e293b;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
@media (max-width: 600px) {
    .legal-page .legal-card {
        padding: 22px 18px;
        border-radius: 12px;
    }
    .legal-page h1 {
        font-size: 28px;
    }
}

/* =========================================================
   FIXED HEADER + NAVIGATION
   Keeps the header and nav visible while scrolling.
   ========================================================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 2000;
}

.nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1999;
}

/*
 * The fixed header + nav are removed from normal document flow.
 * Add enough top space so page content does not hide underneath them.
 */
main {
    padding-top: 125px;
}

/*
 * Keep anchor jumps from landing underneath the fixed navigation.
 */
html {
    scroll-padding-top: 125px;
}

/*
 * Mobile header height is smaller, while the nav remains directly
 * underneath it.
 */
@media (max-width: 700px) {
    .header {
        position: fixed;
        top: 0;
    }

    .nav {
        top: 56px;
    }

    main {
        padding-top: 112px;
    }

    html {
        scroll-padding-top: 112px;
    }
}

@media (max-width: 480px) {
    .nav {
        top: 52px;
    }

    main {
        padding-top: 108px;
    }

    html {
        scroll-padding-top: 108px;
    }
}