/* ==========================================================================
   CSS Variables - Premium Soft Resort Design
   ========================================================================== */
:root {
    /* Colors */
    --color-primary: #5f4968; /* Deep mauve-plum */
    --color-primary-dark: #4c3954;
    --color-secondary: #d9b38c; /* Soft champagne */
    --color-secondary-light: #edd4bc;
    --color-accent: #c98ea7; /* Powder rose */
    --color-background: #f8f2f4; /* Rosy pearl */
    --color-surface: rgba(255, 255, 255, 0.82);
    --color-surface-strong: #fffdfd;
    
    --color-text-main: #433644;
    --color-text-muted: #8d7b88;
    
    --color-border: rgba(149, 122, 138, 0.16);
    --color-shadow: rgba(95, 73, 104, 0.12);
    --color-shadow-soft: rgba(201, 142, 167, 0.12);
    
    /* Typography */
    --font-family: 'Outfit', sans-serif;
    --font-family-display: 'Cormorant Garamond', serif;
    
    /* Sizes & Spacing */
    --nav-height: 82px;
    --app-max-width: 480px; /* Mobile first, centered on desktop */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 18px;
    --spacing-lg: 28px;
    --spacing-xl: 40px;
    
    /* Radii */
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --radius-xl: 38px;
   CSS Variables - Premium Tropical Light Design
   ========================================================================== */
:root {
    /* Colors */
    --color-primary: #2E4F73;
    --color-primary-dark: #233d59;
    --color-primary-soft: #edf4fa;
    --color-secondary: #b8862b;
    --color-secondary-light: #e6c46a;
    --color-secondary-soft: #fbf3df;
    --color-background: #f5f8fb;
    --color-surface: #ffffff;
    --color-surface-muted: #f9fbfd;

    --color-text-main: #24364b;
    --color-text-muted: #66768a;
    --color-text-soft: #8b99ab;

    --color-border: rgba(46, 79, 115, 0.12);
    --color-border-strong: rgba(46, 79, 115, 0.18);
    --color-shadow: rgba(46, 79, 115, 0.12);
    --color-shadow-soft: rgba(46, 79, 115, 0.06);

    /* Typography */
    --font-family: 'Inter', sans-serif;

    /* Sizes & Spacing */
    --nav-height: 76px;
    --app-max-width: 480px;
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 40px;

    /* Radii */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    background: #eef4f8;
}

body {
    font-family: var(--font-family);
    background:
        radial-gradient(circle at top, rgba(230, 196, 106, 0.18), transparent 28%),
        linear-gradient(180deg, #f7fbfe 0%, #eef4f8 100%);
    color: var(--color-text-main);
    line-height: 1.6;
    letter-spacing: -0.01em;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}

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

/* ==========================================================================
   App Shell (Mobile Container)
   ========================================================================== */
#app-container {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(245, 248, 251, 0.98) 100%);
    width: 100%;
    max-width: var(--app-max-width);
    height: 100vh;
    height: 100dvh;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 24px 60px rgba(46, 79, 115, 0.14);
}

@media (min-width: 481px) {
    body {
        padding: 24px;
    }

    #app-container {
        height: 92vh;
        border-radius: var(--radius-xl);
    }
}

#app-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: calc(var(--nav-height) + env(safe-area-inset-bottom, 0px));
    scroll-behavior: smooth;
    opacity: 1;
    transition: opacity 0.28s ease;
}

#app-content.fade-out {
    opacity: 0;
}

/* ==========================================================================
   Bottom Navigation
   ========================================================================== */
#bottom-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    min-height: var(--nav-height);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid rgba(46, 79, 115, 0.08);
    box-shadow: 0 -12px 30px rgba(46, 79, 115, 0.08);
    z-index: 100;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 481px) {
    #bottom-nav {
        border-bottom-left-radius: var(--radius-xl);
        border-bottom-right-radius: var(--radius-xl);
    }
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--color-text-soft);
    font-size: 11px;
    font-weight: 500;
    transition: color 0.25s ease, transform 0.25s ease;
    gap: 5px;
    width: 25%;
    padding-top: 4px;
}

.nav-item span {
    line-height: 1.1;
}

.nav-item i {
    width: 22px;
    height: 22px;
    transition: transform 0.25s ease, stroke 0.25s ease;
}

.nav-item.active {
    color: var(--color-primary);
    transform: translateY(-1px);
}

.nav-item.active i {
    stroke: var(--color-primary);
    transform: translateY(-1px) scale(1.03);
}

.nav-item-special .card-icon-wrapper {
    background: linear-gradient(135deg, var(--color-secondary-light), var(--color-secondary));
    width: 52px;
    height: 52px;
    border-radius: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -28px;
    box-shadow: 0 10px 24px rgba(184, 134, 43, 0.32);
    border: 4px solid rgba(255, 255, 255, 0.92);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nav-item-special i {
    stroke: white;
}

.nav-item-special.active .card-icon-wrapper {
    transform: translateY(-4px);
}

.nav-item-special.active {
    color: var(--color-secondary);
}

/* ==========================================================================
   Utility Classes & Components
   ========================================================================== */
.container {
    padding: var(--spacing-md);
}

.text-h1 {
    font-size: 28px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.text-h2 {
    font-size: 22px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.text-body {
    font-size: 15px;
    color: var(--color-text-main);
    line-height: 1.75;
}

.text-muted {
    font-size: 14px;
    color: var(--color-text-muted);
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.badge-gold {
    background: linear-gradient(135deg, var(--color-secondary), #c9983f);
    color: white;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 8px 18px rgba(184, 134, 43, 0.18);
}

.badge-gold i {
    width: 14px;
    height: 14px;
}
