@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Better touch handling on mobile */
    -webkit-tap-highlight-color: rgba(102, 126, 234, 0.2);
}

:root {
    --primary: #667eea;
    --secondary: #764ba2;
    --accent: #f093fb;
    --dark: #0f0f23;
    --darker: #050510;
    --card-bg: rgba(255, 255, 255, 0.05);
    --text: #ffffff;
    --text-dim: #a0a0b8;
    --border: rgba(255, 255, 255, 0.1);
    --glow: rgba(102, 126, 234, 0.4);
    /* Mobile-friendly touch target size */
    --min-touch-target: 44px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #0f0f23 0%, #1a0b2e 50%, #0f0f23 100%);
    background-attachment: fixed;
    color: var(--text);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

body.age-gate-lock {
    overflow: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
    width: 100%;
}

/* Header */
.header {
    background: rgba(15, 15, 35, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--accent);
}

.nav-link.active {
    color: var(--primary);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 0.75rem 2rem;
    border-radius: 50px;
    color: white !important;
    font-weight: 600;
    box-shadow: 0 4px 15px var(--glow);
    transition: all 0.3s ease;
}

.btn-primary::after {
    display: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--glow);
}

/* Hero */
.hero {
    padding: 6rem 0 4rem;
    text-align: center;
    position: relative;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #667eea 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    letter-spacing: -1px;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-dim);
    margin-bottom: 3rem;
    font-weight: 400;
    animation: fadeInUp 0.8s ease 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Search Bar */
.search-container {
    max-width: 700px;
    margin: 0 auto 4rem;
    position: relative;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.search-wrapper {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid var(--border);
    border-radius: 60px;
    padding: 0.5rem;
    transition: all 0.4s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.search-wrapper:focus-within {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
}

.search-icon {
    padding: 0 1.5rem;
    font-size: 1.3rem;
    color: var(--text-dim);
    transition: color 0.3s ease;
}

.search-wrapper:focus-within .search-icon {
    color: var(--primary);
}

.search-input {
    flex: 1;
    padding: 1.25rem 0.5rem;
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 1.05rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.search-input:focus {
    outline: none;
}

.search-input::placeholder {
    color: var(--text-dim);
    font-weight: 400;
}

.search-btn {
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    border-radius: 50px;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px var(--glow);
    white-space: nowrap;
}

.search-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 30px var(--glow);
}

.search-btn:active {
    transform: scale(0.98);
}

/* City Grid */
.city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.city-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.city-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.city-card:hover::before {
    opacity: 1;
}

.city-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
    border-color: var(--primary);
}

.city-card h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.city-card p {
    color: var(--text-dim);
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* Section */
.listings-section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 3rem;
    text-align: center;
    background: linear-gradient(135deg, #ffffff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Listings Grid */
.listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
}

.listing-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border);
    text-decoration: none;
    color: var(--text);
    display: block;
    position: relative;
}

.listing-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.listing-card:hover::after {
    opacity: 1;
}

.listing-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(102, 126, 234, 0.4);
    border-color: var(--primary);
}

.listing-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.listing-card:hover .listing-image {
    transform: scale(1.1);
}

.listing-content {
    padding: 2rem;
}

.listing-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.listing-location {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 1.05rem;
}

.listing-age {
    color: var(--text-dim);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.listing-description {
    margin-top: 1rem;
    color: var(--text-dim);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
}

/* Form Styles */
.form-container {
    max-width: 700px;
    margin: 3rem auto;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--text);
    font-weight: 600;
    font-size: 1.05rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-dim);
    font-size: 0.9rem;
}

.btn-submit {
    width: 100%;
    padding: 1.25rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px var(--glow);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px var(--glow);
}

.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Footer */
.footer {
    background: rgba(5, 5, 16, 0.8);
    backdrop-filter: blur(10px);
    padding: 3rem 0;
    text-align: center;
    margin-top: 6rem;
    border-top: 1px solid var(--border);
}

.footer p {
    color: var(--text-dim);
    font-weight: 500;
}

/* Loading */
.loading {
    text-align: center;
    padding: 4rem;
    color: var(--text-dim);
    font-size: 1.1rem;
}

/* Responsive */

/* Tablet and Large Mobile */
@media (max-width: 900px) {
    .classifieds-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        display: none;
    }

    .listing-card-horizontal {
        height: auto;
        min-height: 180px;
    }

    .h-card-img-container {
        width: 160px;
        min-height: 180px;
    }

    .h-card-content {
        padding: 1.3rem;
    }

    .h-card-title {
        font-size: 1.3rem;
    }

    .h-card-desc {
        font-size: 0.95rem;
        -webkit-line-clamp: 2;
    }

    .h-card-footer {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .profile-grid {
        grid-template-columns: 1fr;
    }

    .main-photo img {
        max-height: 500px;
        height: auto;
    }

    .profile-name {
        font-size: 2.75rem;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* City Grid on tablets */
    .cities-grid,
    .city-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

/* Mobile phones and tablets */
@media (max-width: 768px) {

    /* Safe Mobile Container */
    body,
    html {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }

    .container {
        width: 100%;
        max-width: 100vw;
        padding: 0 1rem;
        overflow-x: hidden;
    }
    
    /* Override container padding for listings area */
    .main-content .container,
    .classifieds-layout {
        padding: 0;
    }
    
    /* Full-width container for listing cards */
    .listings-grid,
    .listings-list {
        padding: 0;
        margin: 0;
        width: 100vw;
        max-width: 100vw;
    }
    
    .listings-grid .listing-card-horizontal,
    .listings-list .listing-card-horizontal {
        margin: 0 0 0.75rem 0;
        width: 100vw;
        max-width: 100vw;
    }

    /* Prevent horizontal scroll from all elements */
    * {
        max-width: 100%;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    /* Compact Header */
    .header {
        padding: 0.75rem 0;
    }

    .header-content {
        gap: 0.75rem;
        justify-content: space-between;
        flex-wrap: nowrap;
    }

    .logo {
        font-size: 1.25rem;
        white-space: nowrap;
        flex-shrink: 1;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 150px;
    }

    .nav {
        gap: 0.5rem;
        flex-wrap: nowrap;
        flex-shrink: 0;
    }

    .nav-link {
        font-size: 0.85rem;
        padding: 0.5rem 0.75rem;
        white-space: nowrap;
    }

    .btn-primary {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
        white-space: nowrap;
    }

    .search-filter-btn {
        font-size: 1.2rem;
        padding: 0.5rem;
        margin-right: 0;
    }

    /* Hero Optimization */
    .hero {
        padding: 2rem 0 1.5rem;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 0.75rem;
        word-wrap: break-word;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    /* Search Bar Stack */
    .search-wrapper {
        flex-direction: column;
        padding: 0.75rem;
        gap: 0.75rem;
        border-radius: 16px;
    }

    .search-icon {
        padding: 0 1rem;
        font-size: 1.2rem;
    }

    .search-input {
        width: 100%;
        text-align: left;
        padding: 0.9rem 1rem;
        font-size: 1rem;
    }

    .search-btn {
        width: 100%;
        justify-content: center;
        padding: 0.9rem;
        font-size: 1rem;
    }

    .hero-filter-btn {
        width: 100%;
        margin: 0;
        justify-content: center;
        padding: 0.9rem;
        font-size: 1rem;
    }

    /* City Grid */
    .cities-grid,
    .city-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .city-card {
        padding: 1.5rem 1rem;
    }

    .city-card-icon {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .city-card-name,
    .city-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.25rem;
    }

    .city-card-count,
    .city-card p {
        font-size: 0.85rem;
    }

    /* Optimized Mobile Card Layout - Full Width */
    .listing-card-horizontal {
        flex-direction: row;
        height: auto;
        min-height: 150px;
        margin: 0 0 0.75rem 0;
        width: 100vw;
        max-width: 100vw;
        border-radius: 0;
        overflow: hidden;
        position: relative;
        background: rgba(255, 255, 255, 0.08);
        border: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .listing-card-horizontal:active {
        transform: scale(0.98);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }

    .listing-card-horizontal.premium {
        border-top: 2px solid rgba(255, 215, 0, 0.5);
        border-bottom: 2px solid rgba(255, 215, 0, 0.5);
        background: linear-gradient(90deg, rgba(255, 215, 0, 0.08) 0%, rgba(240, 147, 251, 0.08) 50%, rgba(102, 126, 234, 0.05) 100%);
        box-shadow: 0 4px 20px rgba(255, 215, 0, 0.15), 0 0 30px rgba(240, 147, 251, 0.1);
    }

    .h-card-img-container {
        width: 35%;
        min-width: 130px;
        max-width: 180px;
        height: auto;
        min-height: 150px;
        position: relative;
        flex-shrink: 0;
        overflow: hidden;
    }

    .h-card-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Premium Badge on Image */
    .premium-badge {
        position: absolute;
        top: 6px;
        left: 6px;
        background: linear-gradient(135deg, #FFD700, #FFA500);
        color: #1a1a2e;
        padding: 5px 10px;
        border-radius: 20px;
        font-size: 0.65rem;
        font-weight: 800;
        box-shadow: 0 3px 12px rgba(255, 215, 0, 0.5);
        z-index: 2;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        border: 1px solid rgba(255, 255, 255, 0.3);
    }

    .h-card-content {
        flex: 1;
        padding: 1rem 1.25rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        position: relative;
        overflow: hidden;
        background: linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, transparent 100%);
    }

    .h-card-header {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
        margin-bottom: 0.5rem;
    }

    /* Title - Better readability */
    .h-card-title {
        font-size: 1.2rem;
        font-weight: 800;
        color: #ffffff;
        margin: 0 0 0.4rem 0;
        line-height: 1.25;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        letter-spacing: -0.3px;
    }

    /* Description */
    .h-card-desc {
        font-size: 0.82rem;
        color: rgba(255, 255, 255, 0.75);
        line-height: 1.45;
        margin: 0.3rem 0 0.5rem 0;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        flex-grow: 1;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    }

    /* Meta text */
    .h-card-meta {
        font-size: 0.78rem;
        color: rgba(255, 255, 255, 0.65);
        font-weight: 600;
        margin-bottom: 0.6rem;
        display: flex;
        align-items: center;
        gap: 0.4rem;
        flex-wrap: wrap;
    }

    /* Footer with badges */
    .h-card-footer {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 0.6rem;
        padding-top: 0.6rem;
        margin-top: auto;
    }

    .badge {
        padding: 4px 10px;
        border-radius: 8px;
        font-size: 0.68rem;
        font-weight: 700;
        letter-spacing: 0.3px;
        text-transform: uppercase;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }

    .badge-verified {
        background: linear-gradient(135deg, #667eea, #764ba2);
        color: white;
    }

    .badge-new {
        background: linear-gradient(135deg, #10b981, #059669);
        color: white;
    }

    /* Action buttons in footer */
    .btn-card-action {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
        border: none;
    }

    .btn-card-action:active {
        transform: scale(0.95);
    }

    .btn-action-whatsapp {
        background: linear-gradient(135deg, #25D366, #128C7E);
        color: #fff;
    }

    .btn-action-call {
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(10px);
        color: #fff;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    /* Similar Profiles Section */
    .similar-profiles-section {
        margin-top: 3rem;
        padding: 2rem 1rem;
        background: rgba(255, 255, 255, 0.02);
        border-radius: 16px;
        position: relative;
        overflow: hidden;
    }
    
    .similar-profiles-grid {
        display: flex;
        gap: 1rem;
        overflow-x: auto;
        padding-bottom: 1rem;
        scroll-snap-type: x proximity;
        scrollbar-width: thin;
    }
    
    .similar-profiles-grid::-webkit-scrollbar {
        height: 6px;
    }
    
    .similar-profiles-grid::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 999px;
    }
    
    .similar-profiles-grid::-webkit-scrollbar-thumb {
        background: linear-gradient(135deg, #667eea, #764ba2);
        border-radius: 999px;
    }
    
    .similar-profile-card {
        flex: 0 0 260px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(102, 126, 234, 0.05));
        border-radius: 18px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        padding: 1.25rem;
        display: flex;
        flex-direction: column;
        gap: 0.85rem;
        scroll-snap-align: start;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        cursor: pointer;
    }
    
    .similar-profile-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
        border-color: rgba(102, 126, 234, 0.5);
    }
    
    .similar-img-wrapper {
        width: 100%;
        height: 180px;
        border-radius: 14px;
        overflow: hidden;
        position: relative;
    }
    
    .similar-img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }
    
    .similar-profile-card:hover .similar-img-wrapper img {
        transform: scale(1.05);
    }
    
    .similar-info h3 {
        margin: 0;
        font-size: 1.15rem;
        color: var(--text);
    }
    
    .similar-info p {
        margin: 0.2rem 0;
        font-size: 0.9rem;
        color: var(--text-dim);
    }
    
    .similar-desc {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-size: 0.85rem;
    }

    .similar-scroll-hint {
        text-align: right;
        font-size: 0.8rem;
        color: rgba(255, 255, 255, 0.6);
        margin-top: 0.5rem;
    }
    
    /* Listings Grid for regular cards */
    .listings-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .listing-card {
        max-width: 100%;
    }

    .listing-image {
        height: 250px;
    }

    .listing-content {
        padding: 1.5rem;
    }

    .listing-name {
        font-size: 1.3rem;
    }

    /* Forms */
    .form-container {
        padding: 1.5rem 1rem;
        margin: 2rem auto;
    }

    .form-group {
        margin-bottom: 1.5rem;
    }

    .form-group label {
        font-size: 0.95rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.9rem 1rem;
        font-size: 0.95rem;
    }

    /* Profile */
    .profile-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .profile-name {
        font-size: 2rem;
    }

    .main-photo {
        border-radius: 0;
        box-shadow: none;
    }
    
    .main-photo img {
        max-height: none;
        height: auto;
        width: 100%;
        border-radius: 0;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .stat-value {
        font-size: 1.1rem;
    }

    .action-buttons {
        margin-top: 2rem;
    }

    /* Filters */
    .filter-card {
        padding: 1.2rem;
    }

    .filter-label {
        font-size: 0.95rem;
    }

    .filter-input-field,
    .filter-select-field {
        padding: 0.9rem;
        font-size: 0.95rem;
    }

    .filters-grid {
        grid-template-columns: 1fr;
    }

    .filter-actions-page {
        flex-direction: column;
    }

    .btn-primary-page,
    .btn-secondary,
    .btn-clear-page {
        width: 100%;
        padding: 1rem;
    }

    /* Section titles */
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    /* Footer */
    .footer {
        padding: 2rem 0;
        margin-top: 4rem;
    }
}

/* Extra Small Screens - Enhanced Mobile Experience */
@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    /* Override for listings */
    .main-content .container,
    .classifieds-layout {
        padding: 0;
    }
    
    .listings-grid,
    .listings-list {
        width: 100vw;
        max-width: 100vw;
    }

    /* Header ultra compact */
    .logo {
        font-size: 1.1rem;
        max-width: 110px;
    }

    .nav-link {
        font-size: 0.75rem;
        padding: 0.4rem 0.5rem;
    }

    .btn-primary {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }

    /* Hero */
    .hero {
        padding: 1.5rem 0 1rem;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    /* City Grid - Single column on very small screens */
    .cities-grid,
    .city-grid {
        grid-template-columns: 1fr;
    }

    .city-card {
        padding: 1.25rem;
    }

    .city-card-icon {
        font-size: 2.5rem;
    }

    /* Cards - Optimized for small screens */
    .listing-card-horizontal {
        min-height: 160px;
        width: 100vw;
        max-width: 100vw;
        margin: 0 0 0.75rem 0;
    }

    .h-card-img-container {
        width: 38%;
        min-width: 120px;
        max-width: 140px;
        min-height: 160px;
    }

    .h-card-content {
        padding: 0.9rem 1rem;
    }

    .h-card-title {
        font-size: 1.05rem;
    }

    .h-card-desc {
        font-size: 0.78rem;
        -webkit-line-clamp: 2;
    }

    .h-card-meta {
        font-size: 0.75rem;
    }

    .btn-card-action {
        width: 38px;
        height: 38px;
    }

    .badge {
        padding: 2px 6px;
        font-size: 0.6rem;
    }

    .premium-badge {
        padding: 3px 8px;
        font-size: 0.6rem;
        top: 6px;
        left: 6px;
    }

    /* Profile */
    .profile-name {
        font-size: 1.75rem;
    }

    .main-photo img {
        max-height: none;
        height: auto;
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Section titles */
    .section-title {
        font-size: 1.75rem;
    }
}

/* Mid-sized phones (481px to 600px) - Better card scaling */
@media (min-width: 481px) and (max-width: 600px) {
    .listing-card-horizontal {
        min-height: 170px;
    }
    
    .h-card-img-container {
        width: 36%;
        min-width: 140px;
        max-width: 160px;
        min-height: 170px;
    }
    
    .h-card-content {
        padding: 1.1rem 1.25rem;
    }
    
    .h-card-title {
        font-size: 1.25rem;
    }
    
    .h-card-desc {
        font-size: 0.88rem;
    }
    
    .h-card-meta {
        font-size: 0.82rem;
    }
}

/* Larger mobiles and small tablets (601px to 768px) */
@media (min-width: 601px) and (max-width: 768px) {
    .listing-card-horizontal {
        min-height: 180px;
    }
    
    .h-card-img-container {
        width: 35%;
        min-width: 160px;
        max-width: 200px;
        min-height: 180px;
    }
    
    .h-card-content {
        padding: 1.25rem 1.5rem;
    }
    
    .h-card-title {
        font-size: 1.35rem;
    }
    
    .h-card-desc {
        font-size: 0.92rem;
    }
}

    /* Landscape orientation optimization */
    @media (max-height: 500px) and (orientation: landscape) {
        .hero {
            padding: 2rem 0 1rem;
        }

        .hero-title {
            font-size: 1.8rem;
        }

        .hero-subtitle {
            font-size: 0.95rem;
            margin-bottom: 1rem;
        }

        .search-container {
            margin-bottom: 1.5rem;
        }
    }

    /* NEW Premium Profile Styles */
    .profile-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 2rem 1rem;
    }

    .back-link {
        color: var(--text);
        text-decoration: none;
        font-weight: 600;
        display: inline-block;
        margin-bottom: 2rem;
        cursor: pointer;
    }

    .profile-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: start;
    }

    /* Left Column */
    .main-photo {
        background: rgba(0, 0, 0, 0.3);
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    }
    
    .main-photo img {
        width: 100%;
        height: auto;
        max-height: 600px;
        object-fit: contain;
        display: block;
        background: linear-gradient(135deg, #0f0f23 0%, #1a0b2e 100%);
    }

    .thumbnail-grid {
        display: flex;
        gap: 1rem;
        margin-top: 1.5rem;
        overflow-x: auto;
    }

    .thumb {
        width: 80px;
        height: 80px;
        border-radius: 12px;
        object-fit: cover;
        cursor: pointer;
        opacity: 0.6;
        transition: all 0.3s ease;
        border: 2px solid transparent;
    }

    .thumb:hover,
    .thumb.active {
        opacity: 1;
        border-color: var(--primary);
        transform: scale(1.05);
    }

    /* Right Column */
    .profile-info {
        padding: 1rem;
    }

    .profile-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 2rem;
    }

    .profile-name {
        font-size: 3.5rem;
        background: linear-gradient(135deg, #d946ef, #c026d3);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        margin: 0;
        font-weight: 800;
    }

    .location-badge {
        background: rgba(255, 255, 255, 0.1);
        padding: 0.5rem 1.5rem;
        border-radius: 50px;
        font-size: 1rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .stats-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .stat-item {
        text-align: center;
    }

    .stat-label {
        display: block;
        color: var(--text-dim);
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .stat-value {
        font-size: 1.4rem;
        font-weight: 700;
    }

    /* Filters Page Styles */
    .filters-page-form {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .filters-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .filter-card {
        background: rgba(255, 255, 255, 0.03);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 16px;
        padding: 1.5rem;
        transition: all 0.3s ease;
    }

    .filter-card:hover {
        border-color: rgba(102, 126, 234, 0.3);
        box-shadow: 0 4px 20px rgba(102, 126, 234, 0.15);
    }

    .filter-label {
        display: block;
        font-size: 1rem;
        font-weight: 600;
        color: var(--text);
        margin-bottom: 0.75rem;
    }

    .filter-input-field,
    .filter-select-field {
        width: 100%;
        padding: 0.9rem 1rem;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        color: var(--text);
        font-size: 1rem;
        transition: all 0.3s ease;
    }

    .filter-input-field:focus,
    .filter-select-field:focus {
        outline: none;
        border-color: var(--primary);
        background: rgba(255, 255, 255, 0.08);
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }

    .filter-select-field option {
        background: var(--dark);
        color: var(--text);
    }

    .filter-actions-page {
        display: flex;
        gap: 1rem;
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 1rem;
        padding-top: 2rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .btn-primary-page {
        background: linear-gradient(135deg, #667eea, #764ba2);
        color: white;
        padding: 1rem 3rem;
        border: none;
        border-radius: 12px;
        font-size: 1.1rem;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    }

    .btn-primary-page:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 25px rgba(102, 126, 234, 0.4);
    }

    .btn-secondary {
        background: rgba(255, 255, 255, 0.05);
        color: var(--text);
        padding: 1rem 2rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .btn-secondary:hover {
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.2);
    }

    .btn-clear-page {
        background: rgba(239, 68, 68, 0.1);
        color: #ef4444;
        padding: 1rem 2rem;
        border: 1px solid rgba(239, 68, 68, 0.3);
        border-radius: 12px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .btn-clear-page:hover {
        background: rgba(239, 68, 68, 0.2);
        border-color: rgba(239, 68, 68, 0.5);
    }

    /* Mobile Responsive for Filters Page */
    @media (max-width: 768px) {
        .filters-grid {
            grid-template-columns: 1fr;
        }

        .filter-actions-page {
            flex-direction: column;
        }

        .btn-primary-page,
        .btn-secondary,
        .btn-clear-page {
            width: 100%;
        }
    }

    .divider {
        border: 0;
        height: 1px;
        background: rgba(255, 255, 255, 0.1);
        margin: 2rem 0;
    }

    .about-section h3,
    .services-section h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .about-section p {
        color: var(--text-dim);
        line-height: 1.6;
    }

    .services-section {
        margin-top: 2rem;
    }

    .service-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 0.8rem;
    }

    .tag {
        background: rgba(217, 70, 239, 0.1);
        color: #d946ef;
        padding: 0.5rem 1rem;
        border-radius: 6px;
        font-size: 0.9rem;
        border: 1px solid rgba(217, 70, 239, 0.2);
    }

    /* Rating Section */
    .rating-section {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 16px;
        padding: 1.5rem;
        margin: 1.5rem 0;
    }

    .rating-display {
        margin-bottom: 1.5rem;
    }

    .rating-summary {
        display: flex;
        align-items: center;
        gap: 1.5rem;
    }

    .rating-score {
        font-size: 3rem;
        font-weight: 800;
        color: #fbbf24;
        line-height: 1;
    }

    .rating-stars-display {
        font-size: 1.8rem;
        line-height: 1;
        letter-spacing: 2px;
    }

    .rating-count {
        color: var(--text-dim);
        font-size: 0.9rem;
        margin-top: 0.5rem;
    }

    .rating-submit {
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .rating-prompt {
        font-size: 0.95rem;
        color: var(--text-dim);
        margin-bottom: 0.75rem;
        font-weight: 500;
    }

    .rating-stars-input {
        display: flex;
        gap: 0.5rem;
        font-size: 2rem;
        cursor: pointer;
    }

    .rating-stars-input .star {
        transition: all 0.2s ease;
        color: rgba(255, 255, 255, 0.3);
        user-select: none;
    }

    .rating-stars-input .star:hover {
        transform: scale(1.2);
    }

    .rating-message {
        margin-top: 0.75rem;
        font-size: 0.9rem;
        min-height: 20px;
    }

    /* Mobile Rating Adjustments */
    @media (max-width: 768px) {
        .rating-section {
            padding: 1.25rem;
        }

        .rating-summary {
            flex-direction: column;
            align-items: flex-start;
            gap: 0.75rem;
        }

        .rating-score {
            font-size: 2.5rem;
        }

        .rating-stars-display {
            font-size: 1.5rem;
        }

        .rating-stars-input {
            font-size: 1.8rem;
            gap: 0.3rem;
        }
    }

    /* Action Buttons */
    .action-buttons {
        margin-top: 3rem;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .btn-whatsapp {
        background: #d946ef;
        color: white;
        text-align: center;
        padding: 1.2rem;
        border-radius: 12px;
        font-size: 1.1rem;
        font-weight: 700;
        text-decoration: none;
        transition: transform 0.2s;
        box-shadow: 0 4px 15px rgba(217, 70, 239, 0.3);
    }

    .btn-call {
        background: rgba(255, 255, 255, 0.05);
        color: white;
        text-align: center;
        padding: 1.2rem;
        border-radius: 12px;
        font-size: 1.1rem;
        font-weight: 700;
        text-decoration: none;
        border: 1px solid rgba(255, 255, 255, 0.1);
        transition: background 0.2s;
    }

    .btn-whatsapp:hover {
        background: #c026d3;
        transform: translateY(-2px);
    }

    .btn-call:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    /* Search Button Styles */
    .search-filter-btn {
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        margin-right: 1rem;
        transition: transform 0.2s ease;
        padding: 0.5rem;
        border-radius: 50%;
    }

    .search-filter-btn:hover {
        transform: scale(1.1);
        background: rgba(255, 255, 255, 0.1);
    }

    .hero-filter-btn {
        background: var(--secondary);
        color: white;
        border: none;
        margin-left: 0.5rem;
        padding: 0 1.5rem;
        cursor: pointer;
        font-weight: 600;
        transition: background 0.3s ease;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .hero-filter-btn:hover {
        background: var(--primary);
    }

    @media (max-width: 600px) {
        .search-wrapper {
            flex-direction: column;
            gap: 0.5rem;
            padding: 0.5rem;
        }

        .hero-filter-btn {
            width: 100%;
            margin: 0;
            padding: 0.8rem;
            justify-content: center;
        }
    }

    /* --- CLASSIFIEDS LAYOUT (Skokka Style) --- */

    /* Main Layout Grid */
    .classifieds-layout {
        display: grid;
        grid-template-columns: 280px 1fr;
        gap: 2rem;
        align-items: start;
        margin-top: 2rem;
    }

    /* Sidebar (Desktop) - Premium Glass Effect */
    .sidebar {
        background: rgba(255, 255, 255, 0.03);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 16px;
        padding: 2rem;
        position: sticky;
        top: 100px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    }

    .sidebar-title {
        font-size: 1.3rem;
        font-weight: 800;
        margin-bottom: 2rem;
        padding-bottom: 1rem;
        border-bottom: 2px solid rgba(102, 126, 234, 0.3);
        background: linear-gradient(135deg, #667eea, #f093fb);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .sidebar .filter-group {
        margin-bottom: 1.5rem;
    }

    .sidebar label {
        display: block;
        margin-bottom: 0.75rem;
        font-size: 0.9rem;
        font-weight: 700;
        color: rgba(255, 255, 255, 0.9);
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .sidebar select,
    .sidebar input {
        width: 100%;
        padding: 0.9rem 1rem;
        background: rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        color: var(--text);
        font-size: 0.95rem;
        transition: all 0.3s ease;
    }

    .sidebar select:focus,
    .sidebar input:focus {
        outline: none;
        border-color: var(--primary);
        background: rgba(0, 0, 0, 0.4);
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }

    .btn-sidebar-search {
        width: 100%;
        padding: 1.1rem;
        background: linear-gradient(135deg, #667eea, #764ba2);
        color: white;
        border: none;
        border-radius: 12px;
        font-weight: 800;
        font-size: 1rem;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .btn-sidebar-search:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
        background: linear-gradient(135deg, #764ba2, #f093fb);
    }

    /* Horizontal Listing Card - Premium Design */
    .listing-card-horizontal {
        display: flex;
        background: rgba(255, 255, 255, 0.03);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 16px;
        overflow: hidden;
        margin-bottom: 1.5rem;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        text-decoration: none;
        color: inherit;
        min-height: 200px;
        height: auto;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        width: 100%;
    }

    .listing-card-horizontal:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 40px rgba(102, 126, 234, 0.25);
        border-color: rgba(102, 126, 234, 0.5);
        background: rgba(255, 255, 255, 0.05);
    }

    .listing-card-horizontal.premium {
        border: 2px solid rgba(240, 147, 251, 0.4);
        background: linear-gradient(135deg, rgba(240, 147, 251, 0.08), rgba(102, 126, 234, 0.05));
        box-shadow: 0 8px 30px rgba(240, 147, 251, 0.2);
    }

    .h-card-img-container {
        width: 180px;
        flex-shrink: 0;
        position: relative;
    }

    .h-card-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .h-card-content {
        flex-grow: 1;
        padding: 1rem 1.5rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .h-card-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    }

    .h-card-title {
        font-size: 1.3rem;
        font-weight: 700;
        color: var(--text);
        margin: 0;
        line-height: 1.2;
    }

    .h-card-meta {
        font-size: 0.9rem;
        color: var(--text-dim);
        margin-top: 5px;
    }

    .h-card-desc {
        font-size: 0.95rem;
        color: #ccc;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin: 0.5rem 0;
    }

    .h-card-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-top: 1px solid var(--border);
        padding-top: 0.8rem;
        font-size: 0.85rem;
        color: var(--text-dim);
    }

    .badge {
        padding: 2px 8px;
        border-radius: 4px;
        font-size: 0.75rem;
        font-weight: 600;
    }

    .badge-new {
        background: #10b981;
        color: white;
    }

    .badge-verified {
        background: var(--primary);
        color: white;
    }

    /* Premium Badge */
    .premium-badge {
        position: absolute;
        top: 12px;
        left: 12px;
        background: linear-gradient(135deg, #f093fb, #f5576c);
        color: white;
        padding: 6px 12px;
        border-radius: 20px;
        font-size: 0.75rem;
        font-weight: 700;
        box-shadow: 0 4px 12px rgba(245, 87, 108, 0.4);
        z-index: 2;
    }

    /* Enhanced Card Image */
    .h-card-img-container {
        width: 200px;
        flex-shrink: 0;
        position: relative;
        overflow: hidden;
    }

    .h-card-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .listing-card-horizontal:hover .h-card-img {
        transform: scale(1.05);
    }

    .h-card-content {
        flex-grow: 1;
        padding: 1.5rem 2rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .h-card-title {
        font-size: 1.5rem;
        font-weight: 800;
        background: linear-gradient(135deg, #ffffff, #e0e0ff);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        margin: 0 0 8px 0;
        line-height: 1.2;
    }

    .h-card-meta {
        font-size: 0.95rem;
        color: var(--text-dim);
        margin-bottom: 12px;
    }

    .h-card-desc {
        font-size: 0.95rem;
        color: rgba(255, 255, 255, 0.7);
        line-height: 1.6;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin: 0;
    }

    .h-card-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .badge {
        padding: 4px 10px;
        border-radius: 6px;
        font-size: 0.75rem;
        font-weight: 700;
        letter-spacing: 0.5px;
    }

    .badge-verified {
        background: linear-gradient(135deg, #667eea, #764ba2);
        color: white;
        box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    }

    .badge-new {
        background: linear-gradient(135deg, #10b981, #059669);
        color: white;
        box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
    }

    /* City Grid Cards */
    .cities-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .city-card {
        background: rgba(255, 255, 255, 0.03);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 16px;
        padding: 2rem;
        text-decoration: none;
        color: inherit;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        text-align: center;
        position: relative;
        overflow: hidden;
    }

    .city-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }

    .city-card:hover::before {
        transform: scaleX(1);
    }

    .city-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 40px rgba(102, 126, 234, 0.3);
        border-color: rgba(102, 126, 234, 0.5);
        background: rgba(255, 255, 255, 0.06);
    }

    .city-card-icon {
        font-size: 3rem;
        margin-bottom: 1rem;
        display: block;
    }

    .city-card-name {
        font-size: 1.5rem;
        font-weight: 800;
        background: linear-gradient(135deg, #ffffff, #e0e0ff);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        margin-bottom: 0.5rem;
    }

    .city-card-count {
        font-size: 0.95rem;
        color: var(--text-dim);
        font-weight: 500;
    }

    .city-card-badge {
        position: absolute;
        top: 12px;
        right: 12px;
        background: linear-gradient(135deg, #f093fb, #f5576c);
        color: white;
        padding: 4px 10px;
        border-radius: 12px;
        font-size: 0.7rem;
        font-weight: 700;
    }

    /* Action Buttons for Cards */
    .btn-card-action {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        transition: all 0.3s ease;
        flex-shrink: 0;
    }

    .btn-card-action svg {
        width: 20px;
        height: 20px;
    }

    .btn-action-call {
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .btn-action-call:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: scale(1.1);
    }

    .btn-action-whatsapp {
        background: #25D366;
        color: #fff;
        border: none;
    }

    .btn-action-whatsapp:hover {
        background: #20bd5a;
        transform: scale(1.1);
    }
    
    /* Similar Profiles - Full-width, cleaner layout */
    .similar-profiles-section {
        margin-top: 3rem;
        padding: 0;
        background: transparent;
        border: none;
        box-shadow: none;
    }

    .similar-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
        color: var(--text);
        letter-spacing: -0.02em;
    }

    .similar-profiles-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 1.25rem;
    }
    
    .similar-profile-card {
        display: flex;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.04);
        border-radius: 18px;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.12);
        transition: all 0.3s ease;
        cursor: pointer;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    }
    
    .similar-profile-card:hover {
        background: rgba(255, 255, 255, 0.08);
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(102, 126, 234, 0.2);
        border-color: rgba(102, 126, 234, 0.3);
    }
    
    .similar-img-wrapper {
        width: 100%;
        height: 220px;
        flex-shrink: 0;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(15, 15, 35, 0.6);
    }
    
    .similar-img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        transition: transform 0.3s ease;
    }
    
    .similar-profile-card:hover .similar-img-wrapper img {
        transform: scale(1.05);
    }
    
    .similar-info {
        flex: 1;
        padding: 1rem 1.2rem 1.2rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 0.35rem;
    }
    
    .similar-info h3 {
        margin: 0;
        font-size: 1.15rem;
        color: var(--text);
        font-weight: 700;
    }
    
    .similar-info p {
        margin: 0;
        font-size: 0.9rem;
        color: var(--text-dim);
    }

    .similar-scroll-hint {
        text-align: center;
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.6);
        margin-top: 1rem;
    }

    .similar-cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        padding: 0.85rem 1.4rem;
        border-radius: 999px;
        background: linear-gradient(135deg, #667eea, #764ba2);
        color: #fff;
        font-weight: 700;
        text-decoration: none;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .similar-cta:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 28px rgba(102, 126, 234, 0.4);
    }
}

/* Age Gate Modal */
.age-gate-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 16, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 1.5rem;
    opacity: 1;
    transition: opacity 0.25s ease;
}

.age-gate-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}

.age-gate-modal {
    max-width: 420px;
    width: 100%;
    background: #ffffff;
    color: #1b1b1b;
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    position: relative;
}

.age-gate-modal h2 {
    margin: 1rem 0;
    font-size: 1.6rem;
    color: #c2185b;
}

.age-gate-modal p {
    color: #4c4c4c;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.age-gate-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.age-gate-btn {
    padding: 0.95rem;
    border-radius: 999px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.age-gate-btn.accept {
    background: linear-gradient(135deg, #f061b7, #c2185b);
    color: white;
    box-shadow: 0 12px 25px rgba(194, 24, 91, 0.35);
}

.age-gate-btn.decline {
    background: transparent;
    border: 2px solid rgba(194, 24, 91, 0.2);
    color: #c2185b;
}

.age-gate-btn:active {
    transform: scale(0.98);
}