:root {
    --bg: #020e1a;
    --panel: rgba(4, 22, 38, 0.78);
    --panel2: rgba(7, 34, 57, 0.66);
    --line: rgba(112, 203, 255, 0.18);
    --cyan: #41caff;
    --blue: #1596ff;
    --ice: #bfe8ff;
    --text: #f4fbff;
    --muted: #a8bdd0;
    --nav-bg: rgba(2, 12, 25, 0.94);
    --nav-border: rgba(98, 213, 255, 0.13);
    --nav-text: #b4c1d2;
    --nav-active: #68d9ff;
    --nav-muted: #7d8ba0;
    --navy: #061426;
    --heading-font: 'Space Grotesk', sans-serif;
    --body-font: 'Inter', sans-serif;
    --button-font: 'Rajdhani', sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--text);
    font-family: var(--body-font);
    background: #020b14 url('../images/site-bg.png') center top / cover fixed no-repeat;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(1, 8, 16, 0.45), rgba(1, 10, 20, 0.8) 55%, #020a13);
}

body.mobile-menu-open {
    overflow: hidden;
}

.site-noise {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.05;
    background-image: radial-gradient(rgba(255, 255, 255, 0.18) 0.5px, transparent 0.5px);
    background-size: 7px 7px;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    font-family: var(--button-font);
}

a {
    -webkit-tap-highlight-color: transparent;
}

.primary-btn,
.ghost-btn,
.link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 41px;
    padding: 0 17px;
    border-radius: 10px;
    text-decoration: none;
    font-family: var(--button-font);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.primary-btn {
    color: #001522;
    border: 1px solid rgba(120, 230, 255, 0.25);
    background: linear-gradient(135deg, #9be7ff, #3cc7ff);
    box-shadow: 0 8px 28px rgba(51, 191, 255, 0.23);
}

.primary-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 30px rgba(51, 191, 255, 0.3);
}

.ghost-btn {
    color: #dff5ff;
    border: 1px solid rgba(125, 210, 255, 0.32);
    background: rgba(10, 38, 61, 0.35);
}

.ghost-btn:hover {
    border-color: rgba(91, 208, 255, 0.45);
    background: rgba(61, 164, 220, 0.12);
}

.link-btn {
    color: var(--ice);
    border: 1px solid var(--line);
    background: rgba(5, 30, 49, 0.45);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10020;
    width: 100%;
    background: rgba(1, 10, 19, 0.78);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.desktop-header {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: max-content;
    color: #fff;
    text-decoration: none;
}

.brand-icon {
    display: flex;
    align-items: center;
    gap: 3px;
    transform: skewX(-27deg);
}

.brand-icon span {
    display: block;
    width: 5px;
    height: 22px;
    border-radius: 3px;
    background: linear-gradient(180deg, #62e6ff, #1379d1);
}

.brand-icon span:nth-child(2) {
    height: 27px;
}

.brand-icon span:nth-child(3) {
    height: 18px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-text b {
    color: #fff;
    font-family: var(--heading-font);
    font-size: 21px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.brand-text small {
    margin-top: 5px;
    color: var(--muted);
    font-size: 8px;
    letter-spacing: 0.35px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 6px;
}

.desktop-nav > a,
.nav-drop > button {
    position: relative;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 14px;
    border: 0;
    border-radius: 10px;
    color: #d9edf9;
    background: transparent;
    text-decoration: none;
    font-family: var(--body-font);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
}

.desktop-nav > a:hover,
.nav-drop > button:hover,
.desktop-nav > a.active,
.nav-drop > button.active {
    color: #fff;
    background: rgba(67, 191, 255, 0.08);
}

.desktop-nav > a.active::after,
.nav-drop > button.active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 3px;
    width: 18px;
    height: 2px;
    border-radius: 20px;
    transform: translateX(-50%);
    background: #57d7ff;
    box-shadow: 0 0 12px rgba(87, 215, 255, 0.8);
}

.nav-drop {
    position: relative;
}

.nav-drop > button svg {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
}

.nav-drop:hover > button svg,
.nav-drop:focus-within > button svg {
    transform: rotate(180deg);
}

.drop-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    min-width: 245px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 8px);
    border: 1px solid rgba(84, 204, 255, 0.15);
    border-radius: 14px;
    background: rgba(3, 16, 32, 0.98);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.nav-drop:hover .drop-menu,
.nav-drop:focus-within .drop-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.drop-menu a {
    display: block;
    padding: 11px 13px;
    border-radius: 9px;
    color: #99a9ba;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: color 0.18s ease, background 0.18s ease;
}

.drop-menu a:hover {
    color: #fff;
    background: rgba(74, 201, 255, 0.09);
}

.drop-menu .view-all-segments {
    margin-top: 5px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 0 0 8px 8px;
    color: #58d8ff;
}

.desktop-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 9px;
}

.mobile-top-header,
.mobile-bottom-nav {
    display: none;
}

.hero {
    padding: 76px 0 42px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 50px;
    align-items: center;
    min-height: 610px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid rgba(81, 202, 255, 0.3);
    border-radius: 999px;
    color: #9ee9ff;
    background: rgba(5, 41, 67, 0.38);
    font: 700 12px var(--heading-font);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 20px 0 18px;
    font: 800 clamp(48px, 7vw, 88px) / 0.97 var(--heading-font);
    letter-spacing: -0.055em;
}

.hero h1 span {
    color: transparent;
    -webkit-text-stroke: 1px #8cdfff;
    text-shadow: 0 0 40px rgba(59, 192, 255, 0.22);
}

.hero p {
    max-width: 760px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
    margin-top: 34px;
}

.event-meta div {
    padding-left: 13px;
    border-left: 2px solid var(--cyan);
}

.event-meta b {
    display: block;
}

.event-meta span {
    color: var(--muted);
    font-size: 13px;
}

.holo-card {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: grid;
    place-items: center;
    border: 1px solid rgba(72, 198, 255, 0.36);
    border-radius: 34px;
    background: linear-gradient(145deg, rgba(9, 50, 81, 0.62), rgba(2, 16, 28, 0.46));
    box-shadow: inset 0 0 80px rgba(31, 164, 234, 0.06), 0 35px 90px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.holo-card::before,
.holo-card::after {
    content: "";
    position: absolute;
    inset: 38px;
    border: 1px solid rgba(67, 207, 255, 0.24);
    border-radius: 26px;
}

.holo-card::after {
    inset: 74px;
    border-style: dashed;
    animation: spin 24s linear infinite;
}

.holo-logo {
    width: 170px;
    height: 170px;
    display: grid;
    place-items: center;
    border: 2px solid #7be0ff;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(65, 202, 255, 0.28), rgba(0, 15, 27, 0.35) 65%);
    box-shadow: 0 0 60px rgba(65, 202, 255, 0.25);
    font: 800 34px var(--heading-font);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.section {
    padding: 80px 0;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.section-heading h2 {
    margin: 0;
    font: 700 clamp(30px, 4vw, 48px) var(--heading-font);
}

.section-heading p {
    max-width: 650px;
    color: var(--muted);
    line-height: 1.65;
}

.glass {
    border: 1px solid var(--line);
    background: linear-gradient(145deg, rgba(8, 37, 61, 0.78), rgba(2, 18, 32, 0.62));
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 22px;
}

.about-card {
    padding: 30px;
    border-radius: 24px;
}

.about-card h3,
.card h3 {
    font-family: var(--heading-font);
}

.about-card p {
    color: #bdd0df;
    line-height: 1.8;
}

.timeline {
    display: grid;
    gap: 12px;
}

.timeline div {
    padding: 10px 0 10px 18px;
    border-left: 2px solid var(--cyan);
}

.timeline b {
    color: #8fdefe;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.stat-card {
    padding: 24px;
    border-radius: 20px;
}

.stat-card strong {
    display: block;
    color: #c7f2ff;
    font: 700 38px var(--heading-font);
}

.stat-card span {
    color: var(--muted);
    font-size: 13px;
}

.segment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.segment-card {
    position: relative;
    min-height: 310px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #071625;
}

.segment-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
    transition: transform 0.35s ease;
}

.segment-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 8%, rgba(1, 12, 23, 0.9) 78%);
}

.segment-card:hover img {
    transform: scale(1.05);
}

.segment-card-content {
    position: absolute;
    z-index: 2;
    right: 22px;
    bottom: 22px;
    left: 22px;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    padding: 6px 9px;
    border: 1px solid rgba(99, 210, 255, 0.25);
    border-radius: 999px;
    color: #bcecff;
    background: rgba(99, 210, 255, 0.12);
    font-size: 11px;
}

.segment-card h3 {
    margin: 10px 0 6px;
    font: 700 22px var(--heading-font);
}

.segment-card p {
    margin: 0;
    color: #b7c8d5;
    font-size: 13px;
    line-height: 1.55;
}

.card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.card-actions a {
    padding: 9px 12px;
    font-size: 13px;
}

.golden {
    position: relative;
    overflow: hidden;
    padding: 44px;
    border-radius: 30px;
}

.golden::after {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(60, 201, 255, 0.18), transparent 68%);
}

.golden h2 {
    margin: 0 0 12px;
    font: 700 42px var(--heading-font);
}

.golden p {
    max-width: 850px;
    color: #c3d1dc;
    line-height: 1.8;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 28px;
}

.feature {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.13);
}

.feature b {
    font-family: var(--heading-font);
}

.feature p {
    font-size: 13px;
}

.page-hero {
    padding: 80px 0 36px;
}

.page-hero h1 {
    margin: 12px 0;
    font: 800 clamp(42px, 6vw, 72px) var(--heading-font);
}

.page-hero p {
    max-width: 760px;
    color: var(--muted);
    line-height: 1.7;
}

.prose {
    padding: 32px;
    border-radius: 24px;
}

.prose p {
    color: #c5d6e2;
    line-height: 1.85;
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.filter-tabs a {
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #d8efff;
    background: rgba(5, 30, 49, 0.45);
    text-decoration: none;
}

.filter-tabs a.active {
    border-color: rgba(76, 202, 255, 0.5);
    background: rgba(76, 202, 255, 0.18);
}

.form-shell {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 22px;
}

.form-panel,
.side-panel {
    padding: 28px;
    border-radius: 24px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.field {
    display: grid;
    gap: 7px;
}

.field.full {
    grid-column: 1 / -1;
}

.field label {
    color: #d7e7f2;
    font-size: 13px;
    font-weight: 600;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid rgba(132, 207, 255, 0.2);
    border-radius: 11px;
    outline: none;
    color: #fff;
    background: rgba(0, 8, 15, 0.55);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: #4dc9ff;
    box-shadow: 0 0 0 3px rgba(77, 201, 255, 0.08);
}

.field option {
    background: #061321;
}

.submit-btn {
    margin-top: 8px;
    border: 0;
    cursor: pointer;
}

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

.info-list {
    display: grid;
    gap: 12px;
}

.info-list div {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
}

.info-list b {
    display: block;
    margin-bottom: 3px;
}

.auth-shell {
    width: min(520px, calc(100% - 40px));
    margin: 70px auto;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.dash-card {
    padding: 20px;
    border-radius: 18px;
}

.table-wrap {
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 18px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(2, 16, 29, 0.72);
}

th,
td {
    padding: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    text-align: left;
    font-size: 13px;
}

th {
    color: #93dfff;
    font-family: var(--heading-font);
}

.admin-shell {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 24px;
    border-right: 1px solid var(--line);
    background: #03101c;
}

.admin-sidebar a {
    display: block;
    margin: 4px 0;
    padding: 11px 12px;
    border-radius: 10px;
    color: #cbe2f2;
    text-decoration: none;
}

.admin-sidebar a:hover {
    background: rgba(77, 201, 255, 0.08);
}

.admin-main {
    min-width: 0;
    padding: 32px;
}

.admin-main h1 {
    font-family: var(--heading-font);
}

.action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.danger {
    color: #ffb8b8 !important;
    border-color: rgba(255, 100, 100, 0.25) !important;
}

.toast {
    position: fixed;
    top: 100px;
    right: 24px;
    z-index: 10100;
    padding: 13px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #0a2740;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}

.toast.error {
    border-color: rgba(255, 96, 96, 0.35);
}

.site-footer {
    margin-top: 70px;
    padding: 54px 0 20px;
    border-top: 1px solid var(--line);
    background: rgba(1, 8, 15, 0.88);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr 1.4fr;
    gap: 30px;
}

.footer-grid h4 {
    font-family: var(--heading-font);
}

.footer-grid a {
    display: block;
    margin: 8px 0;
    color: #bcd0df;
    text-decoration: none;
}

.footer-grid p {
    color: #91a7b8;
    font-size: 13px;
    line-height: 1.7;
}

.newsletter {
    display: flex;
}

.newsletter input {
    min-width: 0;
    flex: 1;
    padding: 11px;
    border: 1px solid var(--line);
    border-radius: 10px 0 0 10px;
    color: #fff;
    background: #061522;
}

.newsletter button {
    padding: 0 14px;
    border: 0;
    border-radius: 0 10px 10px 0;
    background: #6bd7ff;
    font-weight: 700;
    cursor: pointer;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    color: #7790a3;
    font-size: 12px;
}

@media (max-width: 1100px) {
    .desktop-header {
        gap: 14px;
    }

    .desktop-nav {
        gap: 2px;
    }

    .desktop-nav > a,
    .nav-drop > button {
        padding-inline: 9px;
        font-size: 12px;
    }

    .desktop-actions {
        gap: 6px;
    }

    .desktop-actions .ghost-btn,
    .desktop-actions .primary-btn {
        padding-inline: 12px;
    }
}

@media (max-width: 960px) {
    .hero-grid,
    .about-grid,
    .form-shell {
        grid-template-columns: 1fr;
    }

    .holo-card {
        width: 100%;
        max-width: 520px;
        margin: auto;
    }

    .segment-grid,
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

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

    .admin-sidebar {
        position: relative;
        height: auto;
    }

    .admin-sidebar nav {
        display: flex;
        overflow-x: auto;
    }

    .admin-sidebar a {
        white-space: nowrap;
    }
}

@media (max-width: 820px) {
    body {
        padding-bottom: calc(78px + env(safe-area-inset-bottom));
    }

    .site-header {
        height: 62px;
        background: rgba(2, 12, 25, 0.95);
        border-bottom: 1px solid rgba(89, 210, 255, 0.12);
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.18);
    }

    .desktop-header {
        display: none;
    }

    .mobile-top-header {
        position: relative;
        z-index: 2;
        width: 100%;
        height: 62px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 15px;
    }

    .mobile-istarc {
        display: flex;
        align-items: center;
        gap: 9px;
        color: #fff;
        text-decoration: none;
        font-family: var(--heading-font);
        font-size: 21px;
        font-weight: 700;
        letter-spacing: 0.2px;
    }

    .mobile-brand-lines {
        display: flex;
        align-items: center;
        gap: 2px;
        transform: skewX(-27deg);
    }

    .mobile-brand-lines i {
        display: block;
        width: 4px;
        height: 17px;
        border-radius: 3px;
        background: linear-gradient(180deg, #64e6ff, #0a78ce);
    }

    .mobile-brand-lines i:nth-child(2) {
        height: 22px;
    }

    .mobile-brand-lines i:nth-child(3) {
        height: 14px;
    }

    .mobile-top-actions {
        display: flex;
        align-items: center;
        gap: 7px;
    }

    .mobile-top-icon {
        position: relative;
        width: 39px;
        height: 39px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: 1px solid rgba(96, 215, 255, 0.13);
        border-radius: 11px;
        outline: none;
        color: #c7d7e5;
        background: rgba(45, 138, 196, 0.055);
        text-decoration: none;
        cursor: pointer;
        transition: transform 0.18s ease, color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
    }

    .mobile-top-icon svg {
        width: 20px;
        height: 20px;
    }

    .mobile-top-icon:active {
        transform: scale(0.94);
    }

    .mobile-top-icon.active {
        color: #fff;
        border-color: rgba(85, 217, 255, 0.35);
        background: rgba(50, 186, 242, 0.12);
    }

    .account-status {
        position: absolute;
        top: 7px;
        right: 7px;
        width: 6px;
        height: 6px;
        border: 1.5px solid #061427;
        border-radius: 50%;
        background: #5cf5a0;
        box-shadow: 0 0 8px rgba(92, 245, 160, 0.7);
    }

    .mobile-grid-menu {
        position: fixed;
        top: 72px;
        right: 12px;
        z-index: 4;
        width: calc(100% - 24px);
        max-width: 355px;
        padding: 15px;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-10px) scale(0.97);
        transform-origin: top right;
        border: 1px solid rgba(102, 218, 255, 0.16);
        border-radius: 20px;
        background: linear-gradient(145deg, rgba(6, 25, 46, 0.985), rgba(2, 13, 27, 0.99));
        box-shadow: 0 25px 70px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.035);
        backdrop-filter: blur(28px);
        -webkit-backdrop-filter: blur(28px);
        transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
    }

    .mobile-grid-menu.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }

    .mobile-grid-menu-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 13px;
        padding: 2px 3px 13px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }

    .mobile-grid-menu-head > div {
        display: flex;
        flex-direction: column;
    }

    .mobile-grid-menu-head span {
        color: #fff;
        font-family: var(--heading-font);
        font-size: 15px;
        font-weight: 700;
    }

    .mobile-grid-menu-head small {
        margin-top: 3px;
        color: #71869a;
        font-size: 9px;
    }

    .mobile-grid-menu-head button {
        width: 31px;
        height: 31px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        border: 1px solid rgba(255, 255, 255, 0.07);
        border-radius: 9px;
        color: #9eafbe;
        background: rgba(255, 255, 255, 0.035);
        font-size: 21px;
        line-height: 1;
        cursor: pointer;
    }

    .mobile-grid-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .mobile-grid-links > a {
        min-width: 0;
        min-height: 74px;
        display: flex;
        align-items: center;
        gap: 9px;
        padding: 10px;
        border: 1px solid rgba(106, 213, 255, 0.075);
        border-radius: 13px;
        color: #d1deea;
        background: rgba(255, 255, 255, 0.025);
        text-decoration: none;
        transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
    }

    .mobile-grid-links > a:active {
        transform: scale(0.97);
        background: rgba(66, 199, 255, 0.08);
    }

    .grid-menu-icon {
        width: 36px;
        height: 36px;
        flex: 0 0 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        color: #68dcff;
        background: rgba(68, 191, 242, 0.08);
    }

    .grid-menu-icon svg {
        width: 19px;
        height: 19px;
    }

    .grid-menu-icon.highlight {
        color: #fff;
        background: linear-gradient(145deg, #20c9e7, #0764c4);
        box-shadow: 0 6px 15px rgba(11, 129, 207, 0.24);
    }

    .mobile-grid-links > a > span:last-child {
        min-width: 0;
        display: flex;
        flex-direction: column;
    }

    .mobile-grid-links b {
        color: #e7f2fa;
        font-size: 11px;
        font-weight: 700;
    }

    .mobile-grid-links small {
        margin-top: 2px;
        overflow: hidden;
        color: #70869b;
        font-size: 8px;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .mobile-menu-overlay {
        position: fixed;
        inset: 62px 0 0;
        z-index: 3;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        background: rgba(0, 6, 15, 0.61);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        transition: opacity 0.2s ease, visibility 0.2s ease;
    }

    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .mobile-bottom-nav {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 10000;
        width: 100%;
        height: calc(72px + env(safe-area-inset-bottom));
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        align-items: center;
        padding: 4px 5px env(safe-area-inset-bottom);
        border-top: 1px solid rgba(96, 215, 255, 0.14);
        background: rgba(3, 13, 27, 0.97);
        box-shadow: 0 -10px 35px rgba(0, 0, 0, 0.38);
        backdrop-filter: blur(22px);
        -webkit-backdrop-filter: blur(22px);
    }

    .mobile-bottom-nav::before {
        content: "";
        position: absolute;
        top: 0;
        left: 50%;
        width: 68%;
        height: 1px;
        transform: translateX(-50%);
        background: linear-gradient(90deg, transparent, rgba(88, 218, 255, 0.58), transparent);
        pointer-events: none;
    }

    .mobile-nav-item {
        position: relative;
        min-width: 0;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        padding: 4px 1px;
        color: #8493a7;
        text-decoration: none;
        transition: color 0.2s ease, transform 0.15s ease;
    }

    .mobile-nav-item:active {
        transform: scale(0.94);
    }

    .mobile-nav-icon {
        width: 22px;
        height: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-nav-icon svg {
        display: block;
        width: 100%;
        height: 100%;
    }

    .mobile-nav-label {
        max-width: 100%;
        overflow: hidden;
        color: inherit;
        font-size: 9.5px;
        font-weight: 600;
        line-height: 1.1;
        text-align: center;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .mobile-nav-item.active {
        color: #62dcff;
    }

    .mobile-nav-item.active:not(.mobile-register-item)::after {
        content: "";
        position: absolute;
        bottom: 1px;
        left: 50%;
        width: 19px;
        height: 2px;
        transform: translateX(-50%);
        border-radius: 20px;
        background: #60ddff;
        box-shadow: 0 0 10px rgba(96, 221, 255, 0.8);
    }

    .mobile-register-item {
        overflow: visible;
        color: #fff;
    }

    .mobile-register-icon {
        position: relative;
        z-index: 2;
        width: 47px;
        height: 47px;
        margin-top: -26px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(144, 234, 255, 0.42);
        border-radius: 13px;
        color: #fff;
        background: linear-gradient(145deg, #20c8e7 0%, #0986ce 46%, #0758ba 100%);
        box-shadow: 0 9px 25px rgba(0, 130, 216, 0.37), inset 0 1px 0 rgba(255, 255, 255, 0.23);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .mobile-register-icon::before {
        content: "";
        position: absolute;
        z-index: -1;
        inset: -5px;
        border: 1px solid rgba(94, 219, 255, 0.1);
        border-radius: 17px;
        background: rgba(65, 201, 255, 0.06);
    }

    .mobile-register-icon svg {
        width: 24px;
        height: 24px;
    }

    .mobile-register-item:active .mobile-register-icon {
        transform: translateY(1px) scale(0.96);
    }

    .mobile-register-item.active .mobile-register-icon {
        background: linear-gradient(145deg, #52e4ff, #078fd8 50%, #075abe);
        box-shadow: 0 10px 28px rgba(46, 210, 255, 0.43), inset 0 1px 0 rgba(255, 255, 255, 0.27);
    }

    .register-label {
        margin-top: 1px;
        color: #eafaff;
        font-weight: 700;
    }

    main {
        min-height: calc(100vh - 62px);
    }

    .toast {
        top: 76px;
        right: 14px;
        left: 14px;
        width: auto;
        max-width: none;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(calc(100% - 24px), 1180px);
    }

    .hero {
        padding-top: 46px;
    }

    .hero-grid {
        min-height: auto;
        gap: 28px;
    }

    .hero h1 {
        font-size: 49px;
    }

    .holo-card {
        border-radius: 24px;
    }

    .section {
        padding: 54px 0;
    }

    .section-heading {
        display: block;
    }

    .segment-grid,
    .feature-grid,
    .stats,
    .dashboard-grid,
    .footer-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .golden {
        padding: 28px;
    }

    .golden h2 {
        font-size: 34px;
    }

    .form-panel,
    .side-panel {
        padding: 20px;
    }

    .footer-bottom {
        display: block;
    }

    .footer-bottom span {
        display: block;
        margin: 6px 0;
    }

    .admin-main {
        padding: 22px 14px;
    }
}

@media (max-width: 390px) {
    .mobile-top-header {
        padding-inline: 12px;
    }

    .mobile-istarc {
        font-size: 19px;
    }

    .mobile-top-icon {
        width: 37px;
        height: 37px;
    }

    .mobile-grid-menu {
        right: 9px;
        width: calc(100% - 18px);
    }

    .mobile-grid-links {
        gap: 6px;
    }

    .mobile-grid-links > a {
        min-height: 70px;
        gap: 7px;
        padding: 8px;
    }

    .grid-menu-icon {
        width: 33px;
        height: 33px;
        flex-basis: 33px;
    }

    .mobile-nav-label {
        font-size: 8.8px;
    }

    .mobile-nav-icon {
        width: 21px;
        height: 21px;
    }

    .mobile-register-icon {
        width: 45px;
        height: 45px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
