/* ============================================================
   FONT IMPORTS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Boldonse:wght@400;700&family=Open+Sans:wght@400;600&display=swap');

/* ============================================================
   COLOR SYSTEM
   ============================================================ */
/* Brand */
:root {
    --pink: #ff0066;
    --pink-dark: #cc0055;
    --purple: #660099;
    --black: #111;
    --gray-900: #222;
    --gray-700: #555;
    --gray-500: #777;
    --gray-300: #ccc;
    --gray-200: #eee;
    --gray-100: #f5f5f5;

    --radius-sm: 4px;
    --radius-md: 6px;

    --font-logo: "Boldonse", serif;
    --font-body: "Open Sans", sans-serif;
    --font-head: "Open Sans", sans-serif;
}

/* ============================================================
   BASE ELEMENTS
   ============================================================ */
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    background: var(--gray-100);
    color: var(--gray-900);
}

/* Core wrapper */
.site-wrap {
    width: 92%;
    max-width: 900px;
    margin: 20px auto 80px;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gray-200);
    margin-bottom: 20px;
}

.header h1 a {
    font-family: var(--font-logo);
    font-size: 32px;
    color: var(--pink);
    text-decoration: none;
}

.header nav a {
    margin-left: 14px;
    color: var(--black);
    font-weight: 600;
    text-decoration: none;
}

.header nav a:hover {
    text-decoration: underline;
    color: var(--pink-dark);
}

/* ============================================================
   GLOBAL LINK STYLING
   ============================================================ */
a {
    color: var(--black);
    text-decoration: none;
    transition: color 0.15s ease;
}

a:hover {
    color: var(--pink-dark);
    text-decoration: underline;
}

a:active {
    color: var(--black);
}

a:visited {
    color: var(--black); /* SAME color — keeps UI clean */
}


/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5 {
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--gray-900);
}


h1 { font-size: 30px; margin: 8px 0 14px; }
h2 { font-size: 24px; margin: 8px 0 10px; }
h3 { font-size: 20px; margin: 8px 0 8px; }
h4 { font-size: 18px; margin: 8px 0 6px; }

p {
    line-height: 1.6;
    margin: 10px 0;
    font-weight: 400;
}

/* Small muted text */
.muted {
    color: var(--gray-500);
    font-size: 14px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary,
.btn-secondary,
.btn-danger {
    display: inline-block;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

/* Primary — hot pink */
.btn-primary {
    background: var(--pink);
    color: white;
    border: none;
}
.btn-primary:hover {
    background: var(--pink-dark);
}

/* Secondary — dark gray */
.btn-secondary {
    background: var(--gray-900);
    color: white;
}
.btn-secondary:hover {
    opacity: 0.9;
}

/* Danger — red-ish pink */
.btn-danger {
    background: #cc0033;
    color: white;
}
.btn-danger:hover {
    opacity: 0.9;
}

/* ============================================================
   FORMS
   ============================================================ */
form label {
    font-weight: 600;
    margin: 12px 0 4px;
    display: block;
}

input[type="text"],
input[type="number"],
input[type="email"],
textarea,
select {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 15px;
    background: #fff;
    font-family: var(--font-body);
}

textarea {
    min-height: 100px;
    resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--pink);
    border-color: var(--pink);
}

/* Checkboxes */
.checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ============================================================
   PROFILE CARDS
   ============================================================ */
.profile-card {
    border-bottom: 1px solid var(--gray-300);
    padding: 14px 0;
}

.profile-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--pink);
    text-decoration: none;
}

.profile-name:hover {
    text-decoration: underline;
}

.profile-short {
    font-size: 15px;
    color: var(--gray-900);
}

.profile-location {
    font-size: 13px;
    color: var(--gray-500);
}

.profile-meta {
    font-size: 12px;
    color: var(--gray-500);
}

.profile-last-online {
    margin-left: 12px;
    color: #444;
    font-size: 14px;
}
.profile-last-online strong {
    color: var(--gray-900);
}


/* ============================================================
   CATEGORY BAR (pills)
   ============================================================ */
.category-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray-300);
    margin: 18px 0;
}

.category-bar .cat-link {
    padding: 6px 12px;
    background: white;
    border: 1px solid var(--gray-300);
    border-radius: 20px;
    font-size: 14px;
    color: var(--gray-900);
    text-decoration: none;
}

.category-bar .cat-link:hover {
    background: var(--gray-100);
}

.category-bar .active-cat {
    background: var(--pink);
    color: white;
    border-color: var(--pink);
}

/* ============================================================
   BADGES
   ============================================================ */
.badge {
    padding: 4px 8px;
    font-size: 12px;
    border-radius: var(--radius-sm);
    color: white;
    font-weight: bold;
}

.badge-women { background:#e91e63; }
.badge-men { background:#2196f3; }
.badge-trans { background:#9c27b0; }
.badge-couples { background:#ff9800; }
.badge-default { background:#555; }

/* ============================================================
   PHOTO GRID
   ============================================================ */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
    margin: 20px 0;
}

.photo-item {
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid var(--gray-900);
    cursor: pointer;
    background: white;
}

/* Force square thumbnails */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
}

.photo-item {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;       /* Makes the box a perfect square */
    overflow: hidden;
    border-radius: 6px;
    border: 2px solid var(--gray-900);
    background: #fff;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;         /* Prevents stretching; fills square nicely */
    display: block;
}


/* ============================================================
   LIGHTBOX
   ============================================================ */
#lightboxOverlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

#lightboxOverlay img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 8px;
    border: 3px solid #fff;
    cursor: pointer;
}

#lightboxClose {
    position: absolute;
    top: 20px;
    right: 22px;
    font-size: 34px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    z-index: 100000;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
    text-align: center;
    margin: 20px 0;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 6px 10px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-size: 14px;
    color: var(--gray-900);
}

.pagination .current {
    background: var(--pink);
    color: white;
    border-color: var(--pink);
}

/* ============================================================
   AGE BAR
   ============================================================ */
.age-bar {
    background: var(--black);
    color: white;
    padding: 15px 20px;
    border-top: 3px solid var(--pink);
}

#age-accept-btn {
    background: var(--pink);
    border: none;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    color: white;
    font-weight: bold;
    cursor: pointer;
}

#age-accept-btn:hover {
    opacity: 0.9;
}

/* ============================================================
   HOME PAGE — ALPHABET NAV
   ============================================================ */
.alpha-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0 25px;
}

.alpha-nav a {
    background: white;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-300);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-900);
}

.alpha-nav a:hover {
    background: var(--gray-100);
}

/* Canada pill – optional accent */
.alpha-nav .alpha-canada {
    background: white;
    color: var(--gray-900);
    border: 1px solid var(--gray-300);
}
.alpha-nav .alpha-canada:hover {
    background: var(--gray-100);
}

/* ============================================================
   HOME PAGE — STATE / PROVINCE GROUPS
   ============================================================ */
.state-groups {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 28px;
    margin-bottom: 50px;
}

.state-block {
    background: white;
    padding: 18px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.state-block h3 {
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--gray-900);
}

/* City list */
.state-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.state-block li {
    margin: 6px 0;
}

.state-block a {
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    color: var(--black);
}

.state-block a:hover {
    text-decoration: underline;
    color: var(--pink-dark);
}

.city-item {font-size:12px;}
.city-count {opacity: 0.6;}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    margin-top: 60px;
    padding: 28px 0 40px;
    border-top: 2px solid var(--gray-200);
    background: #fff;
}

.footer-inner {
    text-align: center;
    font-family: var(--font-body);
}

.footer-copy {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--pink);
    font-weight: 600;
    text-decoration: none;
    margin: 0 4px;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* ============================================
   CITY LIST: SHOW FIRST 15 ON DESKTOP
============================================ */
@media (min-width: 769px) {
    .city-list.collapsed li:nth-child(n+16) {
        display: none;
    }
}

/* Toggle button */
.city-toggle-btn {
    margin-top: 8px;
    padding: 6px 10px;
    font-size: 13px;
    border: 1px solid var(--gray-300);
    background: #fff;
    color: var(--pink);
    border-radius: 4px;
    cursor: pointer;
}

.city-toggle-btn:hover {
    background: var(--gray-100);
}

/* ============================================================
   BROWSE PAGE — CATEGORY GROUP GRID (4 columns)
============================================================ */

/* Outer row – responsive grid */
.browse-groups-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 30px 0 40px;
}

@media (max-width: 900px) {
    .browse-groups-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .browse-groups-row {
        grid-template-columns: 1fr;
    }
}

/* Each category group (Women, Men, Trans, Couples) */
.browse-group {
    background: #fff;
    padding: 18px 16px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
}

.section-subtitle {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 14px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--gray-200);
}

/* UL reset */
.category-group {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* LI spacing */
.category-group li {
    margin-bottom: 10px;
}

/* ============================================================
   CATEGORY TILE (slug badge + label)
============================================================ */
.category-tile {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 8px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-300);

    background: #fafafa;
    text-decoration: none;
    color: var(--gray-900);
    font-size: 14px;

    transition: all 0.15s ease-in-out;
}


/* Hover state — give it a subtle lift */
.category-tile:hover {
    background: #fff;
    border-color: var(--pink);
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    text-decoration: none;
}

/* Label text inside tile */
.category-text {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-900);
}

/* Badge sizing tweak (the existing badge colors stay the same) */
.category-tile .badge {
    font-size: 11px;
    padding: 4px 6px;
}

/* ============================================================
   STICKY MINI FILTER BAR
============================================================ */
.mini-filter-bar {
    position: fixed;
    top: -80px;
    left: 0;
    right: 0;
    height: 50px;
    background: #fff;
    border-bottom: 2px solid var(--pink);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 12px;
    z-index: 9998;
    transition: top 0.25s ease-in-out;
    font-family: var(--font-head);
}

.mini-filter-bar.visible {
    top: 0;
}

.mini-filter-current {
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    color: var(--pink);
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid var(--gray-300);
    background: #fff;
}

.mini-nav-btn {
    background: var(--pink);
    color: #fff;
    border: none;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 18px;
    cursor: pointer;
}

.mini-nav-btn:hover {
    opacity: 0.9;
}

/* Dropdown */
.mini-filter-dropdown {
    display: none;
    position: absolute;
    top: 52px;
    background: #fff;
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    padding: 6px 0;
    width: 220px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.mini-filter-dropdown.open {
    display: block;
}

.mini-filter-option {
    display: block;
    padding: 8px 12px;
    font-size: 14px;
    color: var(--gray-900);
    text-decoration: none;
}

.mini-filter-option:hover {
    background: var(--gray-100);
}

/* ============================================
   CITY PAGE LAYOUT
============================================ */
.city-header h2 {
    font-family: "Press Start 2P", monospace;
    font-size: 20px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.city-header h3 {
    font-family: "Press Start 2P", monospace;
    font-size: 14px;
    margin-top: 0;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: #444;
}

.category-blurb {
    font-size: 14px;
    line-height: 1.5;
    max-width: 700px;
    margin-bottom: 20px;
}

/* ============================================
   CATEGORY FILTER BAR
============================================ */
.category-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0 24px;
    padding: 10px 0;
}

.category-bar .cat-link {
    font-size: 12px;
    padding: 6px 10px;
    color: var(--gray-100);
    background: #fff;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-bar .cat-link:hover {
    background: var(--pink);
    color: var(--gray-100);
}

.category-bar .active-cat {
    background: var(--pink-dark);
    color: var(--gray-100);
    border-color: var(--pink);
}

.category-bar .all-link {
    background: #f2f2f2;
}

/* ============================================
   PROFILE CARDS ON CITY PAGE
============================================ */
.profile-list-wrap {
    margin-top: 10px;
}

/* Space around inline ads */
.inline-ad-block {
    margin: 25px 0;
}

/* ============================================
   PAGINATION
============================================ */
.pagination {
    margin: 30px 0;
    text-align: center;
    display: flex;
    gap: 8px;
    justify-content: center;
}

.pagination a,
.pagination span.current {
    padding: 6px 10px;
    border: 2px solid #222;
    background: #fff;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pagination span.current {
    background: #222;
    color: #fff;
}


/* ============================================================
   PROFILE CARD (Upgraded)
============================================================ */
.profile-card {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-300);
}

.profile-thumb img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 2px solid var(--gray-300);
}

.profile-card-content {
    flex: 1;
}

/* Heading (Name + Location) */
.profile-card-heading {
    margin-bottom: 4px;
}

.profile-name {
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    color: var(--black);
}

.profile-name:hover {
    text-decoration: underline;
    color: var(--pink-dark);
}

.profile-location {
    display: block;
    font-size: 13px;
    color: var(--gray-600);
}

/* Bio preview */
.profile-short {
    margin: 6px 0 10px;
    font-size: 15px;
    line-height: 1.45;
    color: var(--gray-900);
}

/* Meta row */
.profile-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
    font-size: 13px;
    color: var(--gray-600);
}

.profile-view-link {
    color: var(--purple);
    font-weight: 600;
    text-decoration: none;
}

.profile-view-link:hover {
    text-decoration: underline;
}

/* ============================================================
   PROFILE PAGE LAYOUT
============================================================ */

/* Wrapper for each logical block (bio, photos, details, etc.) */
.profile-section {
    margin: 28px 0;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-300);
}

.profile-section:last-child {
    border-bottom: none;
}

/* ============================================================
   PROFILE HEADER (Name, Age, Badge, Location)
============================================================ */
.profile-header {
    margin-bottom: 20px;
}

.profile-header h2,
.page-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    color: var(--gray-900);
}

/* Metadata row under name (badge + location) */
.profile-header-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin-top: 8px;
    font-size: 15px;
    color: var(--gray-700);
}

/* Location link */
.profile-header-meta a {
    color: var(--purple);
    text-decoration: none;
    font-weight: 600;
}

.profile-header-meta a:hover {
    text-decoration: underline;
}

/* Badge standardized spacing in header area */
.profile-header-meta .badge {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
}

/* ============================================================
   BIO TEXT
============================================================ */
.profile-bio {
    white-space: pre-line;
    line-height: 1.6;
    font-size: 16px;
    color: var(--gray-900);
    margin-top: 10px;
}

/* ============================================================
   PHOTO GRID (already exists, but refine spacing)
============================================================ */
.profile-section .photo-grid {
    margin-top: 16px;
}

/* ============================================================
   SECTION TITLES
============================================================ */
.section-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--gray-700);
}

/* ============================================================
   MOBILE SUPPORT
============================================================ */
@media (max-width: 600px) {

    .profile-header h2,
    .page-title {
        font-size: 24px;
    }

    .profile-header-meta {
        font-size: 14px;
        gap: 8px;
    }

    .profile-bio {
        font-size: 15px;
    }

    .section-title {
        font-size: 20px;
    }
}

/* ============================================================
   CONTACT FORM ON PROFILE
============================================================ */

.contact-form {
    margin-top: 15px;
    max-width: 600px;
}

.contact-form label {
    font-weight: 600;
    margin-top: 12px;
    display: block;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    margin-top: 4px;
    font-size: 15px;
}

.contact-form textarea {
    min-height: 130px;
}

.contact-form button {
    margin-top: 14px;
    width: 100%;
}

/* ============================================================
   CONTACT FORM (Profile Page)
============================================================ */

.contact-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid var(--gray-200);
}

.contact-toggle {
    background: var(--pink);
    color: white;
    border: none;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-align: center;
}

.contact-toggle:hover {
    background: var(--pink-dark);
}

.contact-form-wrapper {
    display: none;
    margin-top: 16px;
    animation: fadeIn 0.3s ease-in-out;
}

.contact-form label {
    margin-top: 10px;
    font-weight: 600;
}

.contact-form textarea {
    min-height: 120px;
}

.hp-field {
    display: none; /* Honeypot - bots will fill it */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}


/* ============================================================
   STICKY A–Z NAV
   ============================================================ */

.alpha-nav {
    position: relative;
    z-index: 50;
    background: var(--gray-100);
    padding: 10px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    transition: box-shadow 0.2s ease, background 0.2s ease;
}

/* When sticky */
.alpha-nav.sticky {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    padding: 12px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}


.alpha-nav a:hover {
    background: #ddd;
}

/* HEADER BASE */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 2px solid var(--gray-200);
}

.logo a {
    font-family: var(--font-logo);
    font-size: 30px;
    color: var(--pink);
    text-decoration: none;
}

/* Desktop Nav */
.nav-desktop {
    display: flex;
    gap: 20px;
}

.nav-desktop a {
    color: var(--purple);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
}

.nav-desktop a:hover {
    text-decoration: underline;
}

/* ===========================
   GENERAL LAYOUT
=========================== */
.home-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
}

.home-card {
    flex: 1;
    min-width: 235px;
    background: #fff;
    padding: 18px 20px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.value-card {
    padding: 20px;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 10px 0;
    font-size: 15px;
}

.value-icon {
    font-size: 20px;
    line-height: 1;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

 

/* ===========================
   VALUE PROPS LIST
=========================== */
.value-list ul {
    padding: 0 15px;
}

.value-list li {
    margin-bottom: 8px;
    line-height: 1.4;
    font-size: 15px;
}

/* ===========================
   ACTION CARD
=========================== */

.action-sub {
    margin: 6px 0 12px;
    font-size: 14px;
    color: #222;
    line-height: 1.4;
}

.action-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.action-block {
    margin-bottom: 8px;
}

.action-title {
    font-weight: bold;
    margin-bottom: 8px;
}

.home-btn {
    display: inline-block;
    background: var(--pink);
    color: white !important;
    border: none;
    padding: 10px 16px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
}

.home-btn:hover {
    background: var(--pink-dark);
    text-decoration: none;
}

.secondary-home-btn {
    display: inline-block;
    background: white;
    color: var(--pink) !important;
    border: 1px solid var(--pink); 
    padding: 10px 16px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
}

.secondary-home-btn:hover {
    color: var(--pink-dark) !important;
    border:1px solid var(--pink-dark); 
    text-decoration: none;
}
z

/* Secondary — dark gray */
.btn-secondary {
    background: var(--gray-900);
    color: white;
}
.btn-secondary:hover {
    opacity: 0.9;
}

.divider {
    border-bottom: 1px solid;
    color: var(--gray-200);
    margin: 20px 0;
}

/* ===========================
   LINK LIST CARDS
=========================== */
.home-links a {
    display: block;
    padding: 4px 0;
    text-decoration: none;
    font-size: 15px;
    font-weight: 400;
    color: var(--black);
}

.home-links a:hover {
    text-decoration: underline;
}

.profile-strip {
    margin: 20px 0;
    padding: 12px;
    border-radius: 10px;
    background: var(--surface-alt, #fff);
}

.profile-strip-cta {
    margin: 24px 0;
    text-align: center;
}

.profile-strip-title {
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 600;
}

.profile-strip-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.profile-strip-thumb img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 6px;
}

.profile-strip-meta {
    margin: 4px 0px 16px 0;
    font-size: 0.78rem;
    line-height: 1.2;
}

.profile-strip-name {
    font-weight: 600;
}

.profile-strip-location {
    opacity: 0.65;
    margin-bottom: 12px;;
}

/* Remove underline from whole card */
.profile-strip-card,
.profile-strip-card:hover,
.profile-strip-card:focus {
    text-decoration: none;
}

/* Optional: underline only the name on hover */
.profile-strip-card:hover .profile-strip-name {
    text-decoration: underline;
}

/* ======================================
   SOFT EXIT MODAL / DRAWER
====================================== */


.soft-exit-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: none;
    z-index: 9999;
    pointer-events: none;
}

.soft-exit-overlay.active {
    display: flex;
    align-items: flex-end;
    pointer-events: auto;
}

.soft-exit-drawer {
    width: 100%;
    max-height: 85vh;
    background: #fff;
    border-radius: 14px 14px 0 0;
    padding: 16px;
    position: relative;
    pointer-events: auto;
}

.soft-exit-close {
    position: absolute;
    top: 10px;
    right: 14px;
    font-size: 26px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
}




.soft-exit-title {
    font-size: 2rem;
    font-weight: 600;
    margin: 4px 0 12px;
}


.soft-exit-close:hover {
    opacity: 1;
}

/* CTA area */
.soft-exit-cta {
    margin-top: 12px;
    text-align: center;
}

/* Smooth slide-up animation */
@keyframes softExitSlideUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.ad {text-align: center;}
.ad-bottom {margin: 20px 0;}
.ad-top {margin: 20px 0;}

/* ======================================
   INLINE AD GRID (3-UP DESKTOP)
====================================== */

.ad-inline-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 24px 0;
}

.ad-inline-grid a {
    display: block;
    border-radius: 10px;
    overflow: hidden;
}

.ad-inline-grid img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Subtle hover — don’t scream “AD” */
.ad-inline-grid a:hover img {
    transform: scale(1.02);
    opacity: 0.95;
}

/* ======================================
   MOBILE STACK
====================================== */
@media (max-width: 768px) {
    .ad-inline-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* --------------------------------------
   MOBILE: Disable drawer entirely
-------------------------------------- */
@media (max-width: 1023px) {
    .soft-exit-overlay {
        display: none !important;
    }
}



@media (max-width: 768px) {
    .profile-strip-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}




/* -----------------------------
   MOBILE NAV
------------------------------ */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.hamburger span {
    width: 26px;
    height: 3px;
    background: var(--pink);
    transition: 0.3s;
}

/* Hamburger animation */
.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
}
.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu panel */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 300px;
    height: 100vh;
    background: #fff;
    padding: 80px 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    z-index: 99999;
    transition: right 0.32s ease-in-out;
    border-left: 3px solid var(--pink);
}

.mobile-menu a {
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    color: var(--gray-900);
}

.mobile-menu a:hover {
    color: var(--pink);
}

/* Menu open state */
.mobile-menu.open {
    right: 0;
}

/* MOBILE BREAKPOINT */
@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }
    .hamburger {
        display: flex;
    }
}

/* Dark overlay behind menu */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 99998;
    display: none;
}

/* Show overlay when active */
.menu-overlay.open {
    display: block;
}

/* Close "X" button inside drawer */
.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 22px;
    font-size: 28px;
    color: var(--gray-900);
    cursor: pointer;
    z-index: 100001;
}

.mobile-menu-close:hover {
    color: var(--pink);
}


/* ============================================================
   MOBILE ADJUSTMENTS
   ============================================================ */
@media (max-width: 700px) {
    .state-groups {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .state-block {
        padding: 16px;
    }
}
