:root {
    --bg: #0b0c0e;
    --panel: #141619;
    --panel-2: #1a1d21;
    --text: #f4f5f7;
    --muted: #9da3ad;
    --line: rgba(255,255,255,.10);
    --accent: #6fd9cf;
    --accent-2: #9af4e7;
    --warning: #f6c76a;
    --ok: #6fe0a1;
    --shadow: 0 18px 55px rgba(0,0,0,.38);
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    min-height: 100%;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
}

body {
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.splash-shell {
    min-height: 100vh;
    background:
        radial-gradient(circle at 70% -20%, rgba(111,217,207,.08), transparent 38rem),
        #0b0c0e;
}

.topbar {
    height: 58px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
    background: rgba(10,11,13,.96);
    position: sticky;
    top: 0;
    z-index: 20;
}

.topbar-inner {
    width: min(1420px, calc(100% - 34px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: max-content;
}

.brand-mark {
    width: 34px;
    height: 34px;
    position: relative;
    display: grid;
    place-items: center;
    border: 2px solid var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 26px rgba(111,217,207,.15);
}

.brand-mark::before,
.brand-mark::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(111,217,207,.55);
}

.brand-mark::before {
    width: 20px;
    height: 20px;
}

.brand-mark::after {
    width: 7px;
    height: 7px;
    background: var(--accent);
    border: 0;
}

.brand-name {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: .13em;
}

.brand-name span {
    color: var(--accent);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.main-nav a {
    color: #c6cbd2;
    padding: 9px 12px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 600;
}

.main-nav a:hover,
.main-nav a.active {
    color: white;
    background: rgba(255,255,255,.06);
}

.top-actions {
    margin-left: auto;
    display: flex;
    gap: 8px;
}

.top-actions a {
    border: 1px solid var(--line);
    border-radius: 7px;
    padding: 8px 12px;
    color: #cfd3d9;
    font-size: 12px;
}

.content {
    width: min(1420px, calc(100% - 34px));
    margin: 0 auto;
    padding: 22px 0 36px;
}

.hero {
    position: relative;
    min-height: 390px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: var(--shadow);
    background:
        linear-gradient(90deg, rgba(4,6,9,.92) 0%, rgba(4,6,9,.68) 32%, rgba(4,6,9,.10) 72%),
        linear-gradient(140deg, #233745 0%, #235f5b 42%, #6d7f74 72%, #c6b690 100%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 72% 35%, rgba(255,255,255,.20) 0 1px, transparent 2px),
        radial-gradient(circle at 82% 23%, rgba(255,255,255,.17) 0 1px, transparent 2px),
        radial-gradient(circle at 65% 18%, rgba(255,255,255,.15) 0 1px, transparent 2px);
    background-size: 140px 140px, 190px 190px, 230px 230px;
    opacity: .65;
}

.hero-image {
    position: absolute;
    inset: 0;
    background-image: url("/media/hero-1.webp");
    background-position: center;
    background-size: cover;
    opacity: 0;
    transition: opacity .3s ease;
}

.hero-image.loaded {
    opacity: 1;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5,6,8,.94) 0%, rgba(5,6,8,.74) 30%, rgba(5,6,8,.14) 70%),
        linear-gradient(0deg, rgba(4,5,7,.55), transparent 55%);
}

.hero-content {
    position: relative;
    z-index: 3;
    width: min(560px, 67%);
    padding: 58px 52px 48px;
}

.kicker {
    color: var(--accent-2);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .17em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.hero h1 {
    margin: 0 0 13px;
    font-size: clamp(38px, 6vw, 70px);
    line-height: .94;
    letter-spacing: -.045em;
}

.hero p {
    margin: 0;
    color: #d5d8dd;
    line-height: 1.55;
    font-size: 15px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 39px;
    padding: 0 18px;
    border-radius: 7px;
    border: 1px solid var(--line);
    background: rgba(10,12,14,.70);
    color: white;
    font-size: 13px;
    font-weight: 700;
}

.btn.primary {
    border-color: transparent;
    background: var(--accent);
    color: #07110f;
}

.hero-meta {
    position: absolute;
    z-index: 4;
    right: 22px;
    bottom: 19px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot {
    width: 7px;
    height: 7px;
    border: 1px solid rgba(255,255,255,.75);
    border-radius: 50%;
    background: rgba(0,0,0,.25);
}

.dot.active {
    background: white;
}

.lower {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 20px;
    margin-top: 20px;
}

.section {
    min-width: 0;
}

.section-head {
    min-height: 41px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
    margin-bottom: 14px;
}

.tabs {
    display: flex;
    gap: 21px;
}

.tabs button {
    appearance: none;
    border: 0;
    background: transparent;
    color: #8e949d;
    padding: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}

.tabs button.active {
    color: white;
    border-bottom-color: var(--accent);
}

.cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.place-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    transition: transform .16s ease, border-color .16s ease;
}

.place-card:hover {
    transform: translateY(-2px);
    border-color: rgba(111,217,207,.35);
}

.thumb {
    height: 118px;
    position: relative;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(5,6,8,.40), transparent 65%);
}

.thumb.one {
    background-image:
        linear-gradient(145deg, rgba(20,43,62,.25), rgba(74,138,129,.1)),
        url("/media/place-1.webp");
    background-color: #315a63;
}

.thumb.two {
    background-image:
        linear-gradient(145deg, rgba(62,31,57,.30), rgba(119,70,111,.12)),
        url("/media/place-2.webp");
    background-color: #654a67;
}

.thumb.three {
    background-image:
        linear-gradient(145deg, rgba(49,55,31,.25), rgba(117,109,56,.10)),
        url("/media/place-3.webp");
    background-color: #60684d;
}

.thumb.four {
    background-image:
        linear-gradient(145deg, rgba(29,38,62,.25), rgba(61,94,136,.10)),
        url("/media/place-4.webp");
    background-color: #435b7b;
}

.card-copy {
    padding: 12px 13px 14px;
}

.card-title {
    margin: 0 0 5px;
    font-size: 13px;
    font-weight: 750;
}

.card-sub {
    color: #8e949d;
    font-size: 11px;
    line-height: 1.45;
}

.side-panel {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
}

.side-title {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .10em;
}

.status-row {
    padding: 14px 16px;
    display: flex;
    align-items: flex-start;
    gap: 11px;
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.status-light {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    margin-top: 5px;
    border-radius: 50%;
    background: var(--ok);
    box-shadow: 0 0 13px rgba(111,224,161,.45);
}

.status-copy strong {
    display: block;
    font-size: 12px;
    margin-bottom: 3px;
}

.status-copy span {
    color: #8e949d;
    font-size: 11px;
    line-height: 1.45;
}

.news {
    padding: 4px 16px 10px;
}

.news-item {
    padding: 11px 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.news-item:last-child {
    border-bottom: 0;
}

.news-date {
    color: var(--accent);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.news-headline {
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.35;
}

.footer {
    width: min(1420px, calc(100% - 34px));
    margin: 0 auto;
    padding: 18px 0 28px;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    color: #777e87;
    font-size: 10px;
}

.footer-links {
    display: flex;
    gap: 15px;
}

@media (max-width: 1050px) {
    .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lower {
        grid-template-columns: minmax(0, 1fr) 270px;
    }
}

@media (max-width: 760px) {
    .topbar {
        height: auto;
        min-height: 58px;
    }

    .topbar-inner {
        padding: 10px 0;
        flex-wrap: wrap;
    }

    .main-nav {
        order: 3;
        width: 100%;
        overflow-x: auto;
    }

    .top-actions {
        margin-left: auto;
    }

    .content {
        width: min(100% - 20px, 1420px);
        padding-top: 10px;
    }

    .hero {
        min-height: 370px;
    }

    .hero-content {
        width: 90%;
        padding: 42px 28px;
    }

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

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

    .footer {
        width: calc(100% - 20px);
    }
}

@media (max-width: 480px) {
    .brand-name {
        font-size: 14px;
    }

    .top-actions {
        display: none;
    }

    .hero-content {
        width: 100%;
        padding: 38px 22px;
    }

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