:root {
    color-scheme: dark;
    --bg: #09090d;
    --panel: rgba(20, 18, 24, 0.94);
    --panel-deep: rgba(13, 12, 17, 0.98);
    --line: rgba(216, 163, 83, 0.25);
    --line-bright: rgba(229, 180, 99, 0.58);
    --gold: #e2b262;
    --gold-pale: #f1d9a4;
    --blood: #8f2637;
    --blood-bright: #b83c50;
    --text: #eee8df;
    --muted: #a99f96;
    --shadow: 0 28px 80px rgba(0, 0, 0, 0.46);
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    min-height: 100%;
    background: var(--bg);
}

body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 18% 8%, rgba(120, 37, 54, 0.26), transparent 34rem),
        radial-gradient(circle at 86% 16%, rgba(120, 77, 34, 0.18), transparent 30rem),
        linear-gradient(145deg, #08080c 0%, #111016 48%, #08080b 100%);
}

body::before,
body::after {
    position: fixed;
    inset: 0;
    z-index: -2;
    content: "";
    pointer-events: none;
}

body::before {
    opacity: 0.35;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(to bottom, black, transparent 88%);
}

body::after {
    opacity: 0.17;
    background-image: radial-gradient(circle, rgba(241, 217, 164, 0.35) 0 1px, transparent 1.5px);
    background-size: 97px 97px;
    background-position: 13px 22px;
}

.page-glow {
    position: fixed;
    z-index: -1;
    width: 32rem;
    height: 32rem;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(85px);
    opacity: 0.11;
}

.page-glow--left {
    top: 32%;
    left: -22rem;
    background: var(--blood-bright);
}

.page-glow--right {
    right: -24rem;
    bottom: -10rem;
    background: var(--gold);
}

.homepage-shell {
    width: min(1080px, calc(100% - 40px));
    margin: 0 auto;
    padding: 0 0 42px;
}

.hero {
    width: 100%;
    margin: 0 auto clamp(42px, 6vw, 64px);
    text-align: center;
}

.hero__banner {
    position: relative;
    display: grid;
    width: 100vw;
    height: clamp(230px, 30vw, 410px);
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    place-items: center;
    background:
        radial-gradient(circle at 50% 50%, rgba(143, 38, 55, 0.2), transparent 48%),
        #0a090d;
    box-shadow: 0 28px 65px rgba(0, 0, 0, 0.32);
    isolation: isolate;
}

.hero__banner::before,
.hero__banner::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    content: "";
    pointer-events: none;
}

.hero__banner::before {
    background:
        linear-gradient(90deg, rgba(9, 9, 13, 0.72), transparent 22%, transparent 78%, rgba(9, 9, 13, 0.72)),
        linear-gradient(180deg, rgba(9, 9, 13, 0.34), transparent 28%, rgba(9, 9, 13, 0.48));
}

.hero__banner::after {
    box-shadow:
        inset 0 -42px 54px rgba(9, 9, 13, 0.34),
        inset 0 22px 42px rgba(9, 9, 13, 0.22);
}

.hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
    object-position: center center;
    opacity: 0.78;
    filter: saturate(0.9) contrast(1.08) brightness(0.78);
}

.hero__logo {
    position: relative;
    z-index: 2;
    display: block;
    width: auto;
    max-width: 92vw;
    height: clamp(135px, 10vw, 165px);
    object-fit: contain;
    margin: 0 auto;
    image-rendering: pixelated;
    filter:
        drop-shadow(0 10px 24px rgba(0, 0, 0, 0.58))
        drop-shadow(0 0 34px rgba(167, 121, 190, 0.12));
}

.hero__ornament {
    display: grid;
    grid-template-columns: minmax(30px, 150px) auto minmax(30px, 150px);
    gap: 14px;
    align-items: center;
    justify-content: center;
    margin: 34px auto 22px;
    color: var(--blood-bright);
}

.hero__ornament span {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line-bright));
}

.hero__ornament span:last-child {
    background: linear-gradient(90deg, var(--line-bright), transparent);
}

.hero__ornament i {
    color: var(--gold);
    font-size: 0.62rem;
    font-style: normal;
    filter: drop-shadow(0 0 8px rgba(226, 178, 98, 0.45));
}

.hero__description {
    max-width: 680px;
    margin: 0 auto;
    color: var(--muted);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.03rem, 2vw, 1.2rem);
    line-height: 1.75;
    text-wrap: balance;
}

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

.destination-card {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 19px;
    align-items: center;
    min-height: 138px;
    padding: 24px 24px 24px 22px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 6px;
    color: var(--text);
    text-decoration: none;
    background: linear-gradient(155deg, var(--panel), var(--panel-deep));
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.3);
    isolation: isolate;
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.destination-card::before,
.destination-card::after {
    position: absolute;
    z-index: -1;
    content: "";
    pointer-events: none;
}

.destination-card::before {
    inset: 0;
    opacity: 0;
    background:
        radial-gradient(circle at 10% 45%, rgba(143, 38, 55, 0.2), transparent 42%),
        linear-gradient(120deg, rgba(226, 178, 98, 0.055), transparent 55%);
    transition: opacity 180ms ease;
}

.destination-card::after {
    top: 0;
    left: 0;
    width: 58px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
}

.destination-card:hover,
.destination-card:focus-visible {
    z-index: 2;
    border-color: var(--line-bright);
    outline: none;
    box-shadow:
        0 24px 58px rgba(0, 0, 0, 0.42),
        0 0 0 1px rgba(226, 178, 98, 0.08),
        inset 0 0 32px rgba(143, 38, 55, 0.05);
    transform: translateY(-3px);
}

.destination-card:hover::before,
.destination-card:focus-visible::before {
    opacity: 1;
}

.destination-card--featured {
    border-color: rgba(226, 178, 98, 0.42);
    background:
        linear-gradient(135deg, rgba(143, 38, 55, 0.24), transparent 46%),
        linear-gradient(155deg, rgba(24, 20, 25, 0.98), var(--panel-deep));
}

.destination-card--featured::after {
    width: 42%;
}

.destination-card--pending {
    cursor: default;
}

.destination-card--pending:hover {
    border-color: var(--line);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.3);
    transform: none;
}

.destination-card__icon {
    display: grid;
    width: 58px;
    height: 58px;
    border: 1px solid rgba(226, 178, 98, 0.28);
    border-radius: 5px;
    place-items: center;
    color: var(--gold-pale);
    background:
        linear-gradient(145deg, rgba(143, 38, 55, 0.2), rgba(11, 10, 14, 0.8));
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3);
}

.destination-card__icon svg {
    width: 29px;
    height: 29px;
    fill: currentColor;
}

.destination-card__content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
}

.destination-card__eyebrow {
    margin-bottom: 5px;
    color: var(--gold);
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1.2;
    text-transform: uppercase;
}

.destination-card strong {
    color: var(--gold-pale);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.25rem, 2.1vw, 1.55rem);
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.2;
}

.destination-card small {
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.83rem;
    line-height: 1.45;
}

.destination-card__arrow {
    align-self: start;
    color: rgba(241, 217, 164, 0.6);
    font-size: 1.3rem;
    line-height: 1;
    transition: color 180ms ease, transform 180ms ease;
}

.destination-card:hover .destination-card__arrow,
.destination-card:focus-visible .destination-card__arrow {
    color: var(--gold-pale);
    transform: translate(2px, -2px);
}

.destination-card__status {
    align-self: start;
    padding: 5px 7px;
    border: 1px solid rgba(169, 159, 150, 0.22);
    border-radius: 3px;
    color: #8d8580;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.site-footer {
    display: flex;
    gap: 13px;
    align-items: center;
    justify-content: center;
    margin-top: 38px;
    color: #746d69;
    font-size: 0.72rem;
    letter-spacing: 0.07em;
    text-align: center;
    text-transform: uppercase;
}

.site-footer p {
    margin: 0;
}

.site-footer span {
    color: rgba(143, 38, 55, 0.72);
    font-size: 0.45rem;
}

@media (max-width: 760px) {
    .homepage-shell {
        width: min(100% - 28px, 620px);
    }

    .hero {
        margin-bottom: 36px;
    }

    .hero__banner {
        height: 220px;
    }

    .hero__logo {
        height: 100px;
    }

    .hero__ornament {
        margin-top: 20px;
    }

    .destination-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .destination-card {
        min-height: 124px;
    }
}

@media (max-width: 460px) {
    .homepage-shell {
        width: min(100% - 20px, 430px);
    }

    .hero__banner {
        height: 190px;
    }

    .hero__description {
        font-size: 0.98rem;
        line-height: 1.65;
    }

    .destination-card {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 14px;
        min-height: 112px;
        padding: 19px 17px;
    }

    .destination-card__icon {
        width: 49px;
        height: 49px;
    }

    .destination-card__icon svg {
        width: 25px;
        height: 25px;
    }

    .destination-card__arrow,
    .destination-card__status {
        display: none;
    }

    .destination-card small {
        font-size: 0.78rem;
    }

    .site-footer {
        gap: 9px;
        font-size: 0.63rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
