* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --primary: #1a1a2e;
    --secondary: #16213e;
    --accent: #e94560;
    --accent2: #f5a623;
    --gold: #d4af37;
    --saffron: #FF9933;
    --green: #138808;
    --text: #f0f0f0;
    --text-dark: #1a1a2e;
    --card-bg: #1e2a4a;
    --bg: #0f0f1a;
    --bg-light: #1a1a2e;
    --radius: 12px;
    --shadow: 0 4px 20px rgba(0,0,0,0.3);
    --max-width: 1200px;
    --font: 'Inter', 'Noto Sans Devanagari', -apple-system, BlinkMacSystemFont, sans-serif;
}
html { scroll-behavior: smooth; }
body { 
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}
a { color: var(--accent2); text-decoration: none; transition: 0.3s; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; }

/* INR Icon */
.inr-icon { font-weight: 700; }

/* Container */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15,15,26,0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(233,69,96,0.1);
    z-index: 1000;
    padding: 0 20px;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    max-width: var(--max-width);
    margin: 0 auto;
}
.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -1px;
}
.logo span { 
    background: linear-gradient(135deg, var(--saffron), var(--green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    transition: 0.3s;
}
.nav-links a:hover, .nav-links a.active { background: rgba(233,69,96,0.15); color: var(--accent); }
.btn-nav {
    background: var(--accent);
    color: white !important;
    padding: 8px 20px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
}
.btn-nav:hover { background: #d63850 !important; transform: translateY(-1px); }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.hamburger span {
    display: block;
    width: 28px;
    height: 2.5px;
    background: var(--text);
    border-radius: 2px;
    transition: 0.3s;
}

/* Hero */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--bg) 50%, #0d0d1a 100%);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,153,51,0.06) 0%, transparent 70%);
    border-radius: 50%;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(19,136,8,0.04) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 1;
}
.hero-text h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}
.hero-text h1 span { color: var(--accent); }
.hero-text p {
    font-size: 1.1rem;
    color: rgba(240,240,240,0.7);
    max-width: 600px;
    margin: 0 auto 30px;
}
.city-select-wrapper {
    position: relative;
    display: inline-block;
    max-width: 400px;
    width: 100%;
}
.city-select-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    font-size: 1.2rem;
    z-index: 2;
}
#citySelect {
    width: 100%;
    padding: 16px 20px 16px 48px;
    border: 2px solid rgba(233,69,96,0.3);
    border-radius: 12px;
    background: rgba(26,26,46,0.9);
    color: var(--text);
    font-size: 1rem;
    font-family: var(--font);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: 0.3s;
}
#citySelect:focus { outline: none; border-color: var(--accent); }
#citySelect option { background: var(--primary); color: var(--text); }

/* Stats */
.stats-bar {
    background: var(--card-bg);
    border-top: 1px solid rgba(233,69,96,0.1);
    border-bottom: 1px solid rgba(233,69,96,0.1);
    padding: 24px 0;
}
.stats-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
}
.stat-label {
    font-size: 0.85rem;
    color: rgba(240,240,240,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Profiles Section */
.profiles-section {
    padding: 60px 0 80px;
}
.section-header {
    text-align: center;
    margin-bottom: 40px;
}
.section-header h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
}
.section-header h2 span { color: var(--accent); }
.section-header p { color: rgba(240,240,240,0.5); margin-top: 8px; }
.profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.loading-spinner {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    font-size: 1.2rem;
    color: rgba(240,240,240,0.5);
}
.loading-spinner i { margin-right: 10px; color: var(--accent); }

/* Profile Card */
.profile-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    transition: 0.4s;
    cursor: pointer;
    border: 1px solid rgba(233,69,96,0.08);
}
.profile-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(233,69,96,0.15);
    border-color: rgba(233,69,96,0.3);
}
.profile-card-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: 0.4s;
}
.profile-card:hover .profile-card-img { transform: scale(1.03); }
.profile-card-body {
    padding: 18px 20px 20px;
}
.profile-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 6px;
}
.profile-card-name {
    font-size: 1.2rem;
    font-weight: 700;
}
.profile-card-age {
    color: rgba(240,240,240,0.5);
    font-weight: 400;
    font-size: 0.95rem;
}
.profile-card-price {
    background: var(--accent);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
}
.profile-card-city {
    color: var(--accent2);
    font-size: 0.85rem;
    margin-bottom: 8px;
}
.profile-card-city i { margin-right: 6px; }
.profile-card-bio {
    font-size: 0.85rem;
    color: rgba(240,240,240,0.6);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.no-profiles {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: rgba(240,240,240,0.4);
}
.no-profiles i { font-size: 3rem; margin-bottom: 16px; color: var(--accent); }

/* Single Profile Page */
.profile-container {
    padding: 100px 20px 60px;
    max-width: 900px;
    margin: 0 auto;
}
.single-profile {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 30px;
    border: 1px solid rgba(233,69,96,0.1);
}
.single-profile-img-wrap {
    border-radius: var(--radius);
    overflow: hidden;
}
.single-profile-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: var(--radius);
}
.single-profile-info h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 4px;
}
.single-profile-info .age {
    color: rgba(240,240,240,0.5);
    font-size: 1.1rem;
}
.single-profile-info .city-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(245,166,35,0.15);
    color: var(--accent2);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin: 12px 0;
}
.single-profile-info .price-tag {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    margin: 12px 0 16px;
}
.single-profile-info .price-tag small {
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(240,240,240,0.5);
}
.single-profile-info .bio {
    color: rgba(240,240,240,0.7);
    line-height: 1.8;
    margin: 16px 0 24px;
}
.btn-book {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: linear-gradient(135deg, var(--accent), #d63850);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    font-family: var(--font);
    box-shadow: 0 4px 15px rgba(233,69,96,0.3);
}
.btn-book:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(233,69,96,0.4); }

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(4px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal-box {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 36px;
    max-width: 500px;
    width: 100%;
    position: relative;
    border: 1px solid rgba(233,69,96,0.15);
    max-height: 90vh;
    overflow-y: auto;
}
.modal-box.wide-modal { max-width: 600px; }
.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 2rem;
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    opacity: 0.6;
    transition: 0.3s;
}
.modal-close:hover { opacity: 1; color: var(--accent); }
.modal-box h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}
.modal-box h3 i { color: var(--accent); margin-right: 8px; }
.modal-box p { color: rgba(240,240,240,0.6); margin-bottom: 24px; }

/* Forms */
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: rgba(240,240,240,0.8);
}
.form-group label small {
    font-weight: 400;
    color: rgba(240,240,240,0.4);
}
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    background: rgba(15,15,26,0.8);
    color: var(--text);
    font-size: 0.95rem;
    font-family: var(--font);
    transition: 0.3s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(15,15,26,1);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-group small {
    display: block;
    color: rgba(240,240,240,0.4);
    font-size: 0.8rem;
    margin-top: 4px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    cursor: pointer;
    color: rgba(240,240,240,0.7);
}
.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
}
.btn-full {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--accent), #d63850);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    font-family: var(--font);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn-full:hover { transform: translateY(-1px); box-shadow: 0 4px 15px rgba(233,69,96,0.3); }

/* Auth Pages */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 60px;
}
.auth-box {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 40px;
    max-width: 450px;
    width: 100%;
    border: 1px solid rgba(233,69,96,0.1);
}
.auth-box.wide { max-width: 600px; }
.auth-box h2 {
    text-align: center;
    margin-bottom: 28px;
    font-size: 1.6rem;
}
.auth-box h2 i { color: var(--accent); margin-right: 8px; }
.auth-alt {
    text-align: center;
    margin-top: 20px;
    color: rgba(240,240,240,0.5);
    font-size: 0.9rem;
}
.form-section-title {
    font-size: 1rem;
    color: var(--accent2);
    margin: 24px 0 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(245,166,35,0.2);
}
.error-msg {
    background: rgba(233,69,96,0.15);
    color: var(--accent);
    padding: 12px;
    border-radius: 8px;
    margin-top: 16px;
    font-size: 0.9rem;
    display: none;
}
.success-msg {
    background: rgba(46,213,115,0.15);
    color: #2ed573;
    padding: 12px;
    border-radius: 8px;
    margin-top: 16px;
    font-size: 0.9rem;
    display: none;
}

/* Admin */
.admin-container {
    display: flex;
    min-height: 100vh;
    padding-top: 70px;
}
.admin-sidebar {
    width: 240px;
    background: var(--card-bg);
    padding: 24px 0;
    border-right: 1px solid rgba(233,69,96,0.1);
    flex-shrink: 0;
    position: fixed;
    top: 70px;
    bottom: 0;
    overflow-y: auto;
}
.admin-sidebar h2 {
    padding: 0 20px 20px;
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(233,69,96,0.1);
}
.admin-sidebar ul { list-style: none; padding: 12px 0; }
.admin-sidebar li {
    padding: 12px 20px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(240,240,240,0.7);
}
.admin-sidebar li:hover { background: rgba(233,69,96,0.08); color: var(--text); }
.admin-sidebar li.active {
    background: rgba(233,69,96,0.15);
    color: var(--accent);
    border-right: 3px solid var(--accent);
}
.btn-logout {
    margin: 20px;
    padding: 10px;
    width: calc(100% - 40px);
    background: rgba(233,69,96,0.1);
    color: var(--accent);
    border: 1px solid rgba(233,69,96,0.2);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-family: var(--font);
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn-logout:hover { background: var(--accent); color: white; }

.admin-content {
    margin-left: 240px;
    flex: 1;
    padding: 32px;
}
.admin-tab { display: none; }
.admin-tab.active { display: block; }
.admin-tab h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.badge {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    vertical-align: middle;
    margin-left: 8px;
}
.admin-search { margin-bottom: 16px; }
.admin-search input { max-width: 400px; }
.admin-table-wrap { overflow-x: auto; }
.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.admin-table th {
    text-align: left;
    padding: 12px 16px;
    background: rgba(233,69,96,0.1);
    color: var(--accent2);
    font-weight: 600;
    white-space: nowrap;
}
.admin-table td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.admin-table tr:hover td { background: rgba(233,69,96,0.03); }
.admin-table .loading-cell {
    text-align: center;
    padding: 40px;
    color: rgba(240,240,240,0.4);
}
.admin-actions { display: flex; gap: 6px; }
.btn-sm {
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    font-family: var(--font);
    transition: 0.3s;
}
.btn-edit { background: rgba(245,166,35,0.2); color: var(--accent2); }
.btn-edit:hover { background: var(--accent2); color: var(--text-dark); }
.btn-delete { background: rgba(233,69,96,0.2); color: var(--accent); }
.btn-delete:hover { background: var(--accent); color: white; }
.btn-view { background: rgba(46,213,115,0.2); color: #2ed573; }
.btn-view:hover { background: #2ed573; color: white; }

.status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}
.status-active { background: rgba(46,213,115,0.2); color: #2ed573; }
.status-inactive { background: rgba(240,240,240,0.1); color: rgba(240,240,240,0.5); }
.status-suspended { background: rgba(233,69,96,0.2); color: var(--accent); }
.status-pending { background: rgba(245,166,35,0.2); color: var(--accent2); }

/* SEO Content */
.seo-content {
    padding: 60px 0;
    background: var(--card-bg);
    border-top: 1px solid rgba(233,69,96,0.05);
}
.seo-content h2 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}
.seo-content p {
    color: rgba(240,240,240,0.6);
    max-width: 800px;
    line-height: 1.8;
}
.seo-city-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}
.seo-city-links a {
    padding: 6px 16px;
    background: rgba(233,69,96,0.08);
    border-radius: 20px;
    font-size: 0.85rem;
    color: rgba(240,240,240,0.6);
    transition: 0.3s;
}
.seo-city-links a:hover { background: rgba(233,69,96,0.2); color: var(--accent); }

/* Footer */
footer {
    background: #0a0a14;
    border-top: 1px solid rgba(233,69,96,0.05);
    padding: 60px 0 0;
}
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}
.footer-brand .logo { font-size: 1.5rem; }
.footer-brand p { color: rgba(240,240,240,0.4); margin-top: 12px; font-size: 0.9rem; }
.footer-links h4, .footer-cities h4 {
    font-size: 1rem;
    margin-bottom: 16px;
    color: var(--accent2);
}
.footer-links a, .footer-cities a {
    display: block;
    padding: 4px 0;
    font-size: 0.9rem;
    color: rgba(240,240,240,0.5);
}
.footer-links a:hover, .footer-cities a:hover { color: var(--accent); }
.footer-bottom {
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center;
    font-size: 0.85rem;
    color: rgba(240,240,240,0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(15,15,26,0.98);
        flex-direction: column;
        padding: 16px 20px;
        border-bottom: 1px solid rgba(233,69,96,0.1);
    }
    .nav-links.open { display: flex; }
    .hamburger { display: flex; }
    
    .single-profile {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
    .single-profile-img { height: 300px; }
    
    .form-row { grid-template-columns: 1fr; }
    
    .admin-container { flex-direction: column; }
    .admin-sidebar {
        position: static;
        width: 100%;
        display: flex;
        padding: 12px 16px;
        overflow-x: auto;
        border-right: none;
        border-bottom: 1px solid rgba(233,69,96,0.1);
        gap: 0;
    }
    .admin-sidebar h2 { display: none; }
    .admin-sidebar ul {
        display: flex;
        padding: 0;
        gap: 4px;
    }
    .admin-sidebar li {
        padding: 8px 14px;
        white-space: nowrap;
        border-radius: 8px;
        font-size: 0.85rem;
    }
    .admin-sidebar li.active { border-right: none; background: rgba(233,69,96,0.15); }
    .btn-logout { display: none; }
    .admin-content {
        margin-left: 0;
        padding: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .stats-grid { gap: 30px; }
    .hero { padding: 100px 0 60px; }
}

@media (max-width: 480px) {
    .profiles-grid { grid-template-columns: 1fr; }
    .modal-box { padding: 24px 20px; }
    .hero-text h1 { font-size: 1.6rem; }
}
