:root {
    --tropical-teal: #0e5f61;
    --tropical-dark: #0a373a;
    --tropical-coral: #e2b4ab;
    --glass-surface: rgba(255, 255, 255, 0.14);
    --glass-strong: rgba(255, 255, 255, 0.2);
    --glass-border: rgba(255, 255, 255, 0.24);
    --ink-soft: #f7fbff;
}

html {
    background: radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.08), transparent 32%),
                linear-gradient(180deg, #0c4e55 0%, #0b6866 46%, #d9aaab 100%);
}

body.app-theme {
    background: radial-gradient(circle at 20% 8%, rgba(255, 255, 255, 0.1), transparent 32%),
                linear-gradient(180deg, #0c4e55 0%, #0b6866 46%, #d9aaab 100%);
    color: var(--ink-soft);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

.page-shell {
    max-width: 520px;
    margin: 0 auto;
    padding-left: 18px;
    padding-right: 18px;
}

.navbar_new:not(.nav-minimal) {
    background: linear-gradient(140deg, rgba(10, 55, 58, 0.75), rgba(28, 92, 94, 0.68));
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(18px);
    padding: 12px 0;
}

.nav_content,
.nav-content {
    max-width: 520px;
    margin: 0 auto;
}

.nav_logo {
    color: #fefefe;
    text-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

.nav-icon {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fefefe;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
}

.nav-overlay {
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.12), transparent 42%),
                linear-gradient(180deg, rgba(12, 78, 85, 0.95), rgba(12, 78, 85, 0.92));
    color: #fefefe;
}

.nav-overlay .flyout-link {
    background: rgba(255, 255, 255, 0.12);
    color: #fefefe;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.app-card,
.glass-panel,
.search-panel,
.profile-glass,
.resort-card,
.hero-glass,
.agent-card,
.stack-card,
.filter-card,
.input-shell,
.surface-tile {
    background: var(--glass-surface);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(16px);
    color: var(--ink-soft);
}

.stack-card {
    padding: 16px;
}

.section-kicker {
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.82;
    font-size: 12px;
    margin: 0 0 6px;
}

.section-title {
    margin: 0;
    font-size: 28px;
    line-height: 1.2;
}

.hero-surface {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    min-height: 92vh;
    background: linear-gradient(180deg, rgba(12, 80, 87, 0.6), rgba(12, 60, 70, 0.78));
    box-shadow: 0 38px 88px rgba(0, 0, 0, 0.35);
}

.hero-visual {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: saturate(1.06) brightness(0.88);
    transform: scale(1.02);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 28% 12%, rgba(255, 255, 255, 0.26), transparent 34%),
                linear-gradient(180deg, rgba(7, 13, 20, 0.25), rgba(7, 13, 20, 0.7));
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 16px;
    padding: clamp(18px, 4vw, 28px);
}

.status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    opacity: 0.86;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.status-dots {
    display: inline-flex;
    gap: 6px;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.1);
}

.hero-brand {
    margin: 10px 0 0;
    font-weight: 800;
    letter-spacing: 0.22em;
    color: rgba(255, 255, 255, 0.92);
}

.hero-title {
    margin: 0;
    font-size: 34px;
    line-height: 1.08;
    text-shadow: 0 18px 36px rgba(0, 0, 0, 0.45);
}

.hero-subtitle {
    margin: 0;
    font-size: 16px;
    opacity: 0.92;
}

.search-panel {
    padding: 14px;
    display: grid;
    gap: 12px;
}

.search-panel .input-shell,
.filter-card {
    padding: 12px 14px;
}

.input-shell {
    display: grid;
    gap: 6px;
}

.input-shell label {
    font-size: 13px;
    opacity: 0.8;
}

.input-shell input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.12);
    color: #fefefe;
    font-weight: 700;
}

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

.chip,
.nav-pill,
.btn-outline,
.nav-link,
.cta-pill,
.surface-button {
    padding: 10px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.12);
    color: #fefefe;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(8px);
}

.chip.highlight {
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.14));
    color: #0b2c2d;
    border-color: rgba(255, 255, 255, 0.32);
}

.tropical-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
}

.tropical-card {
    position: relative;
    min-height: 120px;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.32);
    color: #fefefe;
    text-decoration: none;
    display: block;
}

.tropical-card .card-media {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.9);
}

.tropical-card .card-face {
    position: relative;
    z-index: 1;
    padding: 14px;
    display: grid;
    gap: 4px;
    background: linear-gradient(180deg, rgba(8, 12, 20, 0.08), rgba(8, 12, 20, 0.42));
    height: 100%;
}

.tropical-card .card-title {
    margin: 0;
    font-weight: 800;
}

.tropical-card .card-meta {
    margin: 0;
    opacity: 0.85;
    font-weight: 600;
}

.section-shell {
    margin-top: 14px;
}

.destination-grid.modern {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: space-between;
}

.destination-card.modern {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 22px;
    min-height: 240px;
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.32);
    flex: 0 0 30%;
}

.destination-card.modern .destination-visual {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.92);
}

.destination-card.modern .destination-body {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 8px;
    padding: 18px;
    background: linear-gradient(180deg, rgba(8, 12, 20, 0.05), rgba(8, 12, 20, 0.5));
    height: 100%;
}

.destination-card.modern h3,
.destination-card.modern p {
    margin: 0;
}

.resort-card {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 14px;
    padding: 14px;
    align-items: center;
}

.resort-card .resort-media {
    width: 110px;
    height: 110px;
    border-radius: 16px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.resort-card h4 {
    margin: 0 0 6px;
    font-size: 18px;
}

.resort-meta {
    margin: 0;
    opacity: 0.86;
}

.resort-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.agent-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    padding: 14px;
    align-items: center;
}

.agent-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.16));
    display: grid;
    place-items: center;
    font-weight: 800;
}

.agent-card .agent-role {
    margin: 0;
    font-size: 13px;
    opacity: 0.82;
}

.action-primary {
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.76));
    color: #0b2c2d;
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 16px 38px rgba(255, 255, 255, 0.24);
}

.tropical-hint {
    opacity: 0.82;
    font-size: 14px;
}

body.tinder-page,
body.tinder-page .page-shell,
body.tinder-page main.page-shell {
    overflow: hidden;
    height: 100vh;
    height: 100dvh;
}

@media (max-width: 620px) {
    .page-shell {
        padding-left: 12px;
        padding-right: 12px;
    }

    .resort-card {
        grid-template-columns: 1fr;
    }

    .destination-grid.modern {
        grid-template-columns: 1fr;
    }
}
