body.authentication-bg.public-info-page {
    position: relative;
    min-height: 100vh;
    background-color: #080f1c;
    background-image:
        linear-gradient(135deg, rgba(5, 10, 19, 0.88), rgba(7, 18, 33, 0.9)),
        url('../images/bot-bg.png');
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    color: #dbe5f2;
}

body.authentication-bg.public-info-page::before {
    position: fixed;
    z-index: 0;
    inset: 0;
    background:
        radial-gradient(ellipse at 12% 8%, rgba(71, 103, 210, 0.2), transparent 34%),
        radial-gradient(ellipse at 90% 36%, rgba(30, 190, 201, 0.1), transparent 30%);
    content: "";
    pointer-events: none;
}

.public-info-page .account-pages,
.public-info-page .container.mt-6,
.public-info-page .container.mt-4 {
    position: relative;
    z-index: 1;
}

.public-info-page .account-pages {
    padding-top: clamp(1.25rem, 4vw, 4rem) !important;
    padding-bottom: 1.5rem !important;
}

.public-info-page .account-pages .card {
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.17) !important;
    border-radius: 24px;
    background: linear-gradient(155deg, rgba(16, 25, 39, 0.97), rgba(9, 15, 25, 0.97));
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.44), inset 0 1px 0 rgba(255, 255, 255, 0.035) !important;
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.public-info-page .card-body {
    --public-page-gutter: clamp(1.15rem, 4vw, 3rem);
    padding: var(--public-page-gutter) !important;
    color: #b7c4d6;
}

.public-info-page .card-body > .text-center:first-child {
    position: relative;
    margin: calc(0px - var(--public-page-gutter)) calc(0px - var(--public-page-gutter)) 2rem !important;
    padding: clamp(1.65rem, 4vw, 3.1rem) var(--public-page-gutter) 2rem !important;
    border-bottom: 1px solid rgba(148, 163, 184, 0.13);
    background:
        radial-gradient(ellipse at 88% 0%, rgba(91, 124, 250, 0.2), transparent 40%),
        linear-gradient(115deg, rgba(19, 31, 51, 0.98), rgba(12, 21, 35, 0.78));
}

.public-info-page .card-body > .text-center:first-child img {
    display: block;
    width: clamp(145px, 18vw, 190px);
    height: auto;
    max-width: 100%;
    margin: 0 auto 1.5rem;
}

.public-info-page .card-body > .text-center:first-child h1,
.public-info-page .card-body > .text-center:first-child h2 {
    max-width: 950px;
    margin: 0 auto 1rem !important;
    color: #f7f9ff !important;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.15;
}

.public-info-page .card-body > .text-center:first-child p {
    max-width: 950px;
    margin-right: auto;
    margin-left: auto;
    color: #b5c3d6 !important;
    font-size: clamp(0.94rem, 1.2vw, 1rem);
    line-height: 1.8;
}

.public-info-page .card-body > .text-center:first-child hr,
.public-info-page .card-body hr {
    border-color: rgba(148, 163, 184, 0.16);
    opacity: 1;
}

.public-info-page .card-body h1:not(.text-warning):not(.text-white),
.public-info-page .card-body h2:not(.text-warning):not(.text-white),
.public-info-page .card-body h3:not(.text-warning):not(.text-white),
.public-info-page .card-body h4:not(.text-warning):not(.text-white),
.public-info-page .card-body h5:not(.text-warning):not(.text-white) {
    color: #edf3fc;
}

.public-info-page .card-body .text-dark {
    color: #e5edf8 !important;
}

.public-info-page .card-body .text-muted {
    color: #a9b7c9 !important;
}

.public-info-page .card-body .text-warning {
    color: #efc86e !important;
}

.public-info-page .card-body p,
.public-info-page .card-body li {
    line-height: 1.78;
}

.public-info-page .card-body ul,
.public-info-page .card-body ol {
    padding-left: 1.35rem;
}

.public-info-page .card-body li::marker {
    color: #8ca5ff;
}

.public-info-page .card-body > .text-start {
    margin-bottom: 1.5rem !important;
    padding: clamp(1rem, 2.5vw, 1.6rem);
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(24, 36, 54, 0.68), rgba(14, 22, 35, 0.64));
}

.public-info-page .card-body .border.rounded-3,
.public-info-page .card-body .bg-light,
.public-info-page .card-body .bg-dark,
.public-info-page .card-body [style*="background: #f8f9fa"] {
    border-color: rgba(148, 163, 184, 0.15) !important;
    border-radius: 16px !important;
    background: linear-gradient(145deg, rgba(24, 36, 54, 0.86), rgba(14, 22, 35, 0.84)) !important;
    color: #dbe5f2;
}

.public-info-page .card-body .border-start {
    border-left-color: rgba(129, 153, 255, 0.72) !important;
}

.public-info-page .card-body .text-warning.border-start {
    border-left-color: #efc86e !important;
}

.public-info-page .card-body .terms-content {
    color: #b7c4d6;
    line-height: 1.8;
}

.public-info-page .card-body .terms-content > h2:first-child {
    padding: 1.2rem 1.3rem;
    border: 1px solid rgba(129, 153, 255, 0.18);
    border-radius: 16px;
    background: rgba(91, 124, 250, 0.08);
    font-size: clamp(1.2rem, 2.5vw, 1.65rem);
    line-height: 1.4;
}

.public-info-page .card-body .accordion {
    --bs-accordion-bg: rgba(14, 22, 35, 0.85);
    --bs-accordion-color: #b7c4d6;
    --bs-accordion-border-color: rgba(148, 163, 184, 0.15);
    --bs-accordion-btn-color: #e7edf7;
    --bs-accordion-btn-bg: rgba(20, 31, 48, 0.92);
    --bs-accordion-active-color: #f4f7ff;
    --bs-accordion-active-bg: rgba(91, 124, 250, 0.14);
    --bs-accordion-btn-focus-box-shadow: 0 0 0 3px rgba(91, 124, 250, 0.14);
}

.public-info-page .card-body .accordion-item {
    overflow: hidden;
    margin-bottom: 0.7rem;
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 14px;
    background: rgba(14, 22, 35, 0.85);
}

.public-info-page .card-body .accordion-button {
    min-height: 56px;
    font-weight: 650;
    line-height: 1.5;
}

.public-info-page .card-body .accordion-button::after {
    filter: brightness(0) invert(0.85);
}

.public-info-page .card-body .accordion-body {
    color: #a9b7c9;
    line-height: 1.8;
}

.public-info-page .card-body .table {
    --bs-table-color: #c1ccda;
    --bs-table-bg: rgba(255, 255, 255, 0.025);
    --bs-table-border-color: rgba(148, 163, 184, 0.15);
    --bs-table-striped-bg: rgba(255, 255, 255, 0.035);
    color: var(--bs-table-color);
    border-color: var(--bs-table-border-color) !important;
}

.public-info-page .card-body .table > :not(caption) > * > * {
    border-color: var(--bs-table-border-color) !important;
    background-color: transparent;
    color: inherit;
}

.public-info-page .card-body .table th {
    color: #f0c86c !important;
    font-weight: 700;
}

.public-info-page .card-body .btn-dark {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.3rem;
    border: 1px solid rgba(129, 153, 255, 0.3);
    border-radius: 12px;
    background: linear-gradient(135deg, #5b7cfa, #7657e8);
    box-shadow: 0 10px 24px rgba(74, 103, 220, 0.24);
    color: #fff;
    font-weight: 700;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.public-info-page .card-body .btn-dark:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(74, 103, 220, 0.35);
    color: #fff;
}

.public-info-page .container.mt-6 .d-flex {
    flex-wrap: wrap;
    gap: 0.5rem !important;
    justify-content: center;
    margin-bottom: 0.75rem !important;
}

.public-info-page .container.mt-6 .d-flex > span {
    display: none;
}

.public-info-page .container.mt-6 .d-flex > a {
    padding: 0.45rem 0.72rem;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 999px;
    background: rgba(13, 21, 34, 0.78);
    color: #afbdd0 !important;
    font-size: 0.78rem;
    text-decoration: none;
    transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.public-info-page .container.mt-6 .d-flex > a:hover {
    border-color: rgba(129, 153, 255, 0.35);
    background: rgba(91, 124, 250, 0.12);
    color: #f2f5ff !important;
}

.public-info-page .container.mt-4 > .text-center {
    padding: 1.25rem 1.4rem;
    border: 1px solid rgba(148, 163, 184, 0.13);
    border-radius: 16px;
    background: rgba(9, 15, 25, 0.76);
    color: #aab8ca !important;
    font-size: 0.73rem;
    line-height: 1.75;
}

@media (max-width: 575.98px) {
    body.authentication-bg.public-info-page {
        background-attachment: scroll;
    }

    .public-info-page .account-pages .card {
        border-radius: 19px;
    }

    .public-info-page .card-body > .text-center:first-child {
        padding-bottom: 1.5rem !important;
    }

    .public-info-page .card-body > .text-start {
        padding: 1rem;
    }

    .public-info-page .card-body .accordion-button {
        min-height: 52px;
        padding: 0.85rem 1rem;
        font-size: 0.9rem;
    }

    .public-info-page .container.mt-4 > .text-center {
        padding: 1rem;
        text-align: left !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .public-info-page .card-body .btn-dark,
    .public-info-page .card-body .accordion-button,
    .public-info-page .container.mt-6 .d-flex > a {
        transition: none;
    }
}
