:root {
    --bg-main: #f9f8fc;
    --bg-card: rgba(255, 255, 255, 0.85);
    --border-color: rgba(255, 46, 147, 0.12);
    --primary-color: #ff2e93;
    --primary-gradient: linear-gradient(135deg, #ff2e93, #ff6a00);
    --secondary-gradient: linear-gradient(135deg, #8b5cf6, #6366f1);
    --text-color: #1e293b;
    --text-muted: #64748b;
}

body {
    background-color: var(--bg-main);
    color: var(--text-color);
    font-family: 'Outfit', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
}

/* Ambient Orbs */
.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.12;
    z-index: 0;
    pointer-events: none;
}
.bg-orb-1 { width: 550px; height: 550px; background: #ff2e93; top: -100px; right: -100px; }
.bg-orb-2 { width: 450px; height: 450px; background: #8b5cf6; bottom: 100px; left: -100px; }

/* Grid styling */
body::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 46, 147, 0.015) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 46, 147, 0.015) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

header {
    position: relative;
    z-index: 1020;
}
main, footer {
    position: relative;
    z-index: 10;
}

/* Navbar Styling */
.navbar-custom {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.85rem 0;
}
.navbar-brand-custom {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 1.6rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}
.nav-link-custom {
    color: #334155 !important;
    font-weight: 500;
    transition: color 0.2s;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
}
.nav-link-custom:hover {
    color: var(--primary-color) !important;
}
.nav-link-custom.active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

/* Dropdown custom */
.dropdown-menu-custom {
    background: #ffffff;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-radius: 12px;
}
.dropdown-menu-custom .dropdown-item {
    color: #334155;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.2s;
    border-radius: 6px;
    margin: 2px 8px;
    width: calc(100% - 16px);
}
.dropdown-menu-custom .dropdown-item:hover {
    background-color: rgba(255, 46, 147, 0.05);
    color: var(--primary-color);
}

/* Button Premium */
.btn-premium {
    background: var(--primary-gradient);
    color: white;
    border: none;
    font-weight: 600;
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(255, 46, 147, 0.2);
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}
.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 46, 147, 0.35);
    color: white;
}

.btn-outline-primary {
    border: 1.5px solid rgba(255, 46, 147, 0.4);
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s;
}
.btn-outline-primary:hover, .btn-outline-primary:focus, .btn-outline-primary:active {
    background: var(--primary-gradient) !important;
    border-color: transparent !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 46, 147, 0.2);
}
.btn-outline-secondary {
    border: 1.5px solid rgba(100, 116, 139, 0.2);
    color: var(--text-muted);
    font-weight: 600;
    transition: all 0.3s;
}
.btn-outline-secondary:hover {
    background-color: #f1f5f9;
    color: var(--text-color);
    border-color: rgba(100, 116, 139, 0.4);
}
.img-hover-scale {
    transition: transform 0.5s ease;
}
.card-custom:hover .img-hover-scale {
    transform: scale(1.05);
}

/* Footer styling */
.footer-custom {
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 2rem;
    margin-top: auto;
}

/* Cards glassmorphism */
.card-custom {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    border-radius: 1.25rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}
.card-custom:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 46, 147, 0.25);
    box-shadow: 0 12px 35px rgba(255, 46, 147, 0.08);
}

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-purple {
    background: var(--secondary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Custom inputs */
.form-control-custom {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-color);
    border-radius: 0.75rem;
    padding: 0.75rem 1.25rem;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.02);
}
.form-control-custom:focus {
    background: #ffffff;
    border-color: var(--primary-color);
    color: var(--text-color);
    box-shadow: 0 0 0 3px rgba(255, 46, 147, 0.15);
}
.form-select-custom {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-color);
    border-radius: 0.75rem;
    padding: 0.75rem 1.25rem;
}
.form-select-custom:focus {
    background-color: #ffffff;
    border-color: var(--primary-color);
    color: var(--text-color);
    box-shadow: 0 0 0 3px rgba(255, 46, 147, 0.15);
}

/* Policy Modal Glassmorphism */
#policyModalOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(11, 10, 25, 0.7);
    backdrop-filter: blur(15px);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}
.policy-modal-card {
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 1.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    max-width: 550px;
    width: 100%;
    padding: 2.5rem;
    text-align: center;
    color: #1e293b;
}

.card-attr-badge {
    color: #475569 !important;
    background-color: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    font-weight: 500;
}

.card-city-badge {
    color: var(--primary-color) !important;
    border: 1px solid var(--primary-color) !important;
    background-color: rgba(255, 255, 255, 0.95) !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
}

.card-rating-badge {
    color: #f59e0b !important;
    border: 1px solid #f59e0b !important;
    background-color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
}
