/* ============================================================
   1. RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #070709;
    color: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================================
   2. CSS VARIABLES (Design System)
   ============================================================ */
:root {
    --bg-primary: #070709;
    --bg-secondary: #111116;
    --red: #E71945;
    --red-light: #FF2852;
    --pink: #FF5C7A;
    --white: #FFFFFF;
    --muted-white: #D7D7DC;
    --muted: #A8A8B0;
    --blue-accent: #626DFF;
    --radius: 16px;
    --shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
    --transition: all 0.3s ease;
}

/* ============================================================
   3. GLOBAL STYLES
   ============================================================ */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 2.5rem;
    letter-spacing: -0.02em;
}

.section-title .heart-deco {
    color: var(--red);
    display: inline-block;
    margin-left: 0.3rem;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 60px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--red), var(--red-light));
    color: #fff;
    box-shadow: 0 8px 24px rgba(231, 25, 69, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 32px rgba(231, 25, 69, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    border-color: var(--red);
    color: var(--red);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* ============================================================
   4. HEADER
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 16px 0;
    background: transparent;
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(7, 7, 9, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 800;
}

.logo-icon {
    font-size: 1.8rem;
    line-height: 1;
}

.logo-red {
    color: var(--red);
}

.logo-text {
    color: var(--white);
}

.nav-desktop .nav-list {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-desktop .nav-list a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--muted-white);
    transition: var(--transition);
    padding: 4px 0;
    border-bottom: 2px solid transparent;
}

.nav-desktop .nav-list a:hover {
    color: var(--white);
    border-bottom-color: var(--red);
}

.btn-browse-header {
    margin-left: 1rem;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger-line {
    width: 26px;
    height: 2.5px;
    background: var(--white);
    border-radius: 4px;
    transition: var(--transition);
    transform-origin: center;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(7, 7, 9, 0.96);
    backdrop-filter: blur(12px);
    z-index: 999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-inner {
    text-align: center;
    padding: 2rem;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.mobile-nav-list a {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--white);
    transition: var(--transition);
}

.mobile-nav-list a:hover {
    color: var(--red);
}

.btn-mobile-cta {
    margin-top: 1rem;
    font-size: 1.2rem;
    padding: 14px 40px;
}

/* ============================================================
   5. HERO
   ============================================================ */
.hero {
    padding: 40px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: clamp(2.8rem, 6vw, 6.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.2rem;
}

.hero-title-white {
    display: block;
    color: var(--white);
}

.hero-title-red {
    display: block;
    color: var(--red);
}

.hero-sub {
    font-size: 1.2rem;
    color: var(--muted);
    margin-bottom: 2rem;
    max-width: 520px;
}

.trust-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2.5rem;
    margin-bottom: 2.5rem;
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
}

.trust-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.trust-item strong {
    display: block;
    color: var(--white);
    font-weight: 600;
}

.trust-item span {
    color: var(--muted);
    font-size: 0.9rem;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
}

.btn-hero {
    padding: 16px 40px;
    font-size: 1.15rem;
}

.hero-deco {
    color: var(--muted);
    font-style: italic;
    font-size: 0.95rem;
}

.arrow {
    display: inline-block;
    transition: var(--transition);
}

.btn:hover .arrow {
    transform: translateX(6px);
}

/* Hero Image */
.hero-image-wrapper {
    position: relative;
}

.hero-image-inner {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.hero-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(231, 25, 69, 0.25), rgba(7, 7, 9, 0.4));
    pointer-events: none;
}

/* Social Proof Card */
.social-proof-card {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(17, 17, 22, 0.85);
    backdrop-filter: blur(12px);
    padding: 18px 24px;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.08);
    max-width: 280px;
}

.sp-text {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.sp-highlight {
    color: var(--red);
    font-weight: 700;
}

.sp-avatars {
    display: flex;
    align-items: center;
    gap: 6px;
}

.avatar-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--red), var(--pink));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.7rem;
    color: #fff;
    border: 2px solid var(--bg-secondary);
}

.avatar-circle:nth-child(2) {
    background: linear-gradient(135deg, #626DFF, #8b94ff);
}

.avatar-circle:nth-child(3) {
    background: linear-gradient(135deg, #FF5C7A, #ff8aa3);
}

.avatar-circle:nth-child(4) {
    background: linear-gradient(135deg, #ffb347, #ff8a5c);
}

.avatar-count {
    background: var(--red);
    font-size: 0.7rem;
    font-weight: 800;
    width: 38px;
    height: 38px;
}

/* --- New: Avatar images --- */
.avatar-img {
    width: 32px !important;
    height: 32px !important;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--bg-secondary);
    display: inline-block;
}

/* --- New: Avatar link wrapper --- */
.avatar-link {
    display: inline-block;
    text-decoration: none;
    line-height: 1;
}

.avatar-link:hover .avatar-count {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(231, 25, 69, 0.6);
}

/* --- Mobile adjustments (if needed) --- */
@media (max-width: 480px) {
    .avatar-img {
        width: 24px !important;
        height: 24px !important;
    }
}

/* ============================================================
   6. GENDER SELECTION
   ============================================================ */
.gender-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.gender-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

/* --- Gender Cards with Carousel --- */
.gender-card {
    position: relative;
    overflow: hidden;
    min-height: 420px;
    background: var(--bg-primary);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--transition);
}

.gender-card:hover {
    transform: translateY(-8px);
    border-color: var(--red);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.gender-card-women:hover {
    border-color: var(--pink);
    box-shadow: 0 20px 40px rgba(255, 92, 122, 0.15);
}

.gender-card-men:hover {
    border-color: var(--blue-accent);
    box-shadow: 0 20px 40px rgba(98, 109, 255, 0.15);
}

/* --- Carousel Images --- */
.carousel-track {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    will-change: opacity;
}

.carousel-slide.active {
    opacity: 1;
}

/* --- Gender Symbol Overlay (in front of images) --- */
.gender-sign-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 10rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.12);
    z-index: 1;
    pointer-events: none;
    line-height: 1;
    text-shadow: 0 0 60px rgba(0, 0, 0, 0.4);
    font-family: 'Times New Roman', serif;
}

/* --- Dark Overlay for Text Readability --- */
.gender-dark-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top, rgba(7, 7, 9, 0.85) 0%, rgba(7, 7, 9, 0.2) 50%, rgba(7, 7, 9, 0.1) 100%);
    pointer-events: none;
}

/* --- Card Content (on top of everything) --- */
.gender-card-content {
    position: relative;
    z-index: 2;
    padding: 2.5rem 2rem;
    height: 100%;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    pointer-events: none; /* Allows hover on button */
}

.gender-card-content * {
    pointer-events: auto; /* Re-enables clicking on text/buttons */
}

.gender-card-content h3 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
    color: var(--white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.gender-card-content p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
    max-width: 280px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    font-size: 1rem;
    line-height: 1.5;
}

/* --- Gender-specific button overrides --- */
.gender-card-women .btn-gender {
    border-color: var(--pink);
    color: var(--white);
    background: rgba(255, 92, 122, 0.15);
    backdrop-filter: blur(4px);
    border-width: 2px;
}

.gender-card-women .btn-gender:hover {
    background: var(--pink);
    color: #fff;
    transform: scale(1.04);
}

.gender-card-men .btn-gender {
    border-color: var(--blue-accent);
    color: var(--white);
    background: rgba(98, 109, 255, 0.15);
    backdrop-filter: blur(4px);
    border-width: 2px;
}

.gender-card-men .btn-gender:hover {
    background: var(--blue-accent);
    color: #fff;
    transform: scale(1.04);
}

/* --- Remove old gender icon if you had one --- */
.gender-icon {
    display: none; /* We use the giant overlay now */
}

/* ============================================================
   7. STORIES
   ============================================================ */
.stories-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.story-card {
    background: var(--bg-secondary);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.story-card:hover {
    transform: translateY(-6px);
    border-color: rgba(231, 25, 69, 0.3);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.story-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.story-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    padding: 1rem 1.2rem 0.2rem;
}

.story-card p {
    color: var(--muted);
    padding: 0 1.2rem 1.5rem;
    font-style: italic;
}

.stories-cta-wrap {
    text-align: center;
}

/* ============================================================
   8. SAFETY
   ============================================================ */
.safety-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.safety-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.safety-title {
    text-align: left;
    margin-bottom: 1rem;
}

.safety-desc {
    color: var(--muted);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.safety-features {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.safety-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.safety-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
}

.safety-item strong {
    display: block;
    font-weight: 600;
}

.safety-item span {
    color: var(--muted);
    font-size: 0.95rem;
}

.shield-svg {
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
    display: block;
}

/* ============================================================
   9. HOW IT WORKS
   ============================================================ */
.how-it-works {
    padding: 80px 0;
    background: var(--bg-primary);
    position: relative;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.step {
    text-align: center;
    padding: 1.5rem 1rem;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-4px);
    border-color: var(--red);
}

.step-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--red);
    opacity: 0.3;
    display: block;
    line-height: 1;
    margin-bottom: 0.2rem;
}

/* --- How It Works Images --- */
.step-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 0.8rem;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(231, 25, 69, 0.2);
    transition: var(--transition);
    background: var(--bg-secondary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.step:hover .step-icon-wrapper {
    border-color: var(--red);
    transform: scale(1.06) translateY(-4px);
    box-shadow: 0 12px 40px rgba(231, 25, 69, 0.25);
}

.step-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.step:hover .step-img {
    transform: scale(1.1);
}

.step h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.step p {
    color: var(--muted);
    font-size: 0.95rem;
}

.steps-connector {
    display: none;
}

/* ============================================================
   10. FAQ
   ============================================================ */
.faq-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.4rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
    font-family: inherit;
}

.faq-question:hover {
    color: var(--red);
}

.faq-icon {
    font-size: 1.6rem;
    font-weight: 300;
    color: var(--red);
    transition: var(--transition);
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 0 1.5rem 0;
}

.faq-answer p {
    color: var(--muted);
    font-size: 1rem;
}

/* ============================================================
   11. CTA BANNER
   ============================================================ */
.cta-banner {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--red), var(--red-light));
    position: relative;
    overflow: hidden;
    text-align: center;
}

.cta-banner-inner {
    position: relative;
    z-index: 2;
}

.cta-banner h2 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 0.8rem;
}

.cta-banner p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.btn-cta-banner {
    background: var(--bg-primary);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    padding: 16px 44px;
    font-size: 1.2rem;
}

.btn-cta-banner:hover {
    background: #fff;
    color: var(--red);
    transform: scale(1.04);
}

.cta-bg-hearts {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: 4rem;
    opacity: 0.08;
    pointer-events: none;
    flex-wrap: wrap;
    gap: 2rem;
}

/* ============================================================
   12. FOOTER
   ============================================================ */
.site-footer {
    background: var(--bg-primary);
    padding: 60px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
}

.footer-brand p {
    color: var(--muted);
    margin-top: 0.8rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-col h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.footer-col ul li {
    margin-bottom: 0.6rem;
}

.footer-col ul a {
    color: var(--muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col ul a:hover {
    color: var(--white);
}

.social-icons {
    display: flex;
    gap: 0.8rem;
}

.social-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--muted);
}

.social-circle:hover {
    border-color: var(--red);
    color: var(--red);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 0;
    text-align: center;
}

.footer-copy {
    color: var(--muted);
    font-size: 0.85rem;
}

/* ============================================================
   13. BACK TO TOP
   ============================================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(231, 25, 69, 0.4);
    transition: var(--transition);
    opacity: 0;
    pointer-events: none;
    z-index: 100;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: all;
}

.back-to-top:hover {
    transform: scale(1.1);
    background: var(--red-light);
}

/* ============================================================
   14. SCROLL REVEAL ANIMATIONS (triggered by JS)
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   15. RESPONSIVE
   ============================================================ */

/* Tablets & small laptops */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 2rem;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 2rem;
    }
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablets */
@media (max-width: 768px) {
    /* Header */
    .nav-desktop {
        display: none;
    }
    .btn-browse-header {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .mobile-menu {
        display: flex;
    }

    /* Hero */
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .hero-image-wrapper {
        order: -1;
    }
    .hero-img {
        height: 300px;
    }
    .hero-title {
        font-size: clamp(2.4rem, 8vw, 3.8rem);
    }
    .hero-sub {
        font-size: 1rem;
    }
    .trust-features {
        flex-direction: column;
        gap: 1rem;
    }
    .social-proof-card {
        bottom: 12px;
        right: 12px;
        padding: 12px 16px;
        max-width: 220px;
    }
    .sp-text {
        font-size: 0.8rem;
    }
    .avatar-circle {
        width: 28px;
        height: 28px;
    }

    /* Gender */
    .gender-grid {
        grid-template-columns: 1fr;
    }

    /* Stories */
    .stories-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Safety */
    .safety-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .safety-title {
        text-align: center;
    }
    .safety-desc {
        text-align: center;
    }
    .shield-svg {
        max-width: 140px;
    }

    /* Steps */
    .steps {
        grid-template-columns: 1fr 1fr;
        gap: 1.2rem;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
    .hide-mobile {
        display: none;
    }
}

/* Mobile small */
@media (max-width: 480px) {
    .hero-img {
        height: 220px;
    }
    .social-proof-card {
        max-width: 180px;
        padding: 10px 14px;
        bottom: 8px;
        right: 8px;
    }
    .sp-avatars .avatar-circle {
        width: 24px;
        height: 24px;
        font-size: 0.6rem;
    }
    .avatar-count {
        width: 30px;
        height: 30px;
        font-size: 0.6rem;
    }
    .steps {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
        text-align: center;
    }
    .social-icons {
        justify-content: center;
    }
    .btn-hero {
        padding: 14px 28px;
        font-size: 1rem;
    }
    .hero-deco {
        font-size: 0.85rem;
    }
    .cta-banner h2 {
        font-size: 2rem;
    }
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
        font-size: 1.3rem;
    }
    .step-icon-wrapper {
        width: 64px;
        height: 64px;
    }
}

/* ============================================================
   16. PROFILE PAGE SPECIFIC STYLES
   ============================================================ */

/* --- Active nav state --- */
.nav-list a.active {
    color: var(--red);
    border-bottom-color: var(--red);
}

/* --- Profile Hero --- */
.profiles-hero {
    padding: 40px 0 60px;
    background: var(--bg-primary);
}

.profiles-headline h1 {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 2rem;
}

.profiles-headline .red-text {
    color: var(--red);
}

/* --- Top Bar (Toggle + Stats) --- */
.profiles-top-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.gender-toggle {
    display: flex;
    gap: 0.5rem;
    background: var(--bg-secondary);
    padding: 4px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.toggle-btn {
    padding: 8px 20px;
    border: none;
    border-radius: 30px;
    background: transparent;
    color: var(--muted);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
}

.toggle-btn.active {
    background: var(--red);
    color: #fff;
    box-shadow: 0 4px 16px rgba(231, 25, 69, 0.3);
}

.toggle-btn:hover:not(.active) {
    color: var(--white);
}

.stats-mini {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem 2rem;
    font-size: 0.95rem;
    color: var(--muted);
}

.stats-mini strong {
    color: var(--white);
    font-weight: 700;
}

/* --- Layout: Sidebar + Content --- */
.profiles-layout {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
}

/* --- Sidebar --- */
.filters-sidebar {
    width: 260px;
    flex-shrink: 0;
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.06);
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.filters-sidebar h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.filter-reset-sidebar {
    float: right;
    background: transparent;
    border: none;
    color: var(--red);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    transition: var(--transition);
}

.filter-reset-sidebar:hover {
    background: rgba(231, 25, 69, 0.1);
}

/* --- Accordion Filters (NEW) --- */
.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.filters-header h4 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
}

.filter-accordion {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.filter-accordion-toggle {
    width: 100%;
    background: transparent;
    border: none;
    padding: 0.8rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--muted-white);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    text-align: left;
}

.filter-accordion-toggle:hover {
    color: var(--white);
}

.filter-accordion-toggle .accordion-icon {
    font-size: 1.2rem;
    color: var(--red);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 0.5rem;
}

.filter-accordion-toggle[aria-expanded="false"] .accordion-icon {
    transform: rotate(180deg);
}

.filter-accordion-content {
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    max-height: 0;
    padding: 0;
}

.filter-accordion-content.open {
    max-height: 800px;
    padding: 0 0 0.8rem 0;
}

/* --- Sidebar elements --- */
.filter-group {
    margin-bottom: 1.8rem;
}

.filter-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
    color: var(--muted-white);
}

.region-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.region-list li {
    margin-bottom: 0.2rem;
}

.region-list li a {
    display: flex;
    justify-content: space-between;
    padding: 4px 8px;
    border-radius: 6px;
    color: var(--muted);
    font-size: 0.85rem;
    transition: var(--transition);
}

.region-list li a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.04);
}

.region-list li a.active {
    color: var(--red);
    background: rgba(231, 25, 69, 0.08);
}

.region-list li a span {
    color: var(--muted);
    font-size: 0.75rem;
}

/* --- Select / Inputs --- */
.filters-sidebar select,
.filters-sidebar input[type="number"] {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg-primary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: var(--white);
    font-size: 0.95rem;
    transition: var(--transition);
}

.filters-sidebar select:focus,
.filters-sidebar input[type="number"]:focus {
    outline: none;
    border-color: var(--red);
}

.age-range {
    display: flex;
    align-items: center;
    gap: 10px;
}

.age-range input[type="number"] {
    width: 70px;
    text-align: center;
}

.age-range span {
    color: var(--muted);
}

/* --- Checkbox --- */
.checkbox-group {
    margin-top: -0.2rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: var(--muted-white);
    font-size: 0.95rem;
}

.checkbox-label input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
    position: relative;
}

.checkbox-label input[type="checkbox"]:checked {
    background: var(--red);
    border-color: var(--red);
}

.checkbox-label input[type="checkbox"]:checked::after {
    content: "✓";
    position: absolute;
    top: -2px;
    left: 2px;
    color: #fff;
    font-size: 16px;
}

/* --- Interests Chips --- */
.interests-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.interests-chips .chip {
    padding: 2px 10px;
    background: var(--bg-primary);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    font-size: 0.7rem;
    color: var(--muted);
    cursor: pointer;
    transition: var(--transition);
}

.interests-chips .chip:hover,
.interests-chips .chip.active {
    border-color: var(--red);
    color: var(--white);
    background: rgba(231, 25, 69, 0.1);
}

.btn-apply-filters {
    width: 100%;
    margin-top: 0.5rem;
    padding: 12px;
}

/* --- Profiles Content --- */
.profiles-content {
    flex: 1;
    min-width: 0;
}

/* --- Toolbar --- */
.profiles-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}

.search-wrap {
    display: flex;
    align-items: center;
    background: var(--bg-secondary);
    border-radius: 40px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    flex: 1;
    max-width: 480px;
}

.search-icon {
    opacity: 0.5;
    margin-right: 10px;
}

.search-wrap input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 0;
    color: var(--white);
    font-size: 0.95rem;
    min-width: 120px;
}

.search-wrap input:focus {
    outline: none;
}

.reset-search {
    background: transparent;
    border: none;
    color: var(--red);
    font-weight: 600;
    cursor: pointer;
    padding: 6px 12px;
    font-size: 0.85rem;
}

.results-count {
    color: var(--muted);
    font-size: 0.9rem;
    white-space: nowrap;
}

/* --- Profile Cards Grid --- */
.profiles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.profile-card {
    background: var(--bg-secondary);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.profile-card:hover {
    transform: translateY(-4px);
    border-color: var(--red);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.profile-card:hover .card-image img {
    transform: scale(1.04);
}

.status-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.online {
    background: #22c55e;
    color: #fff;
}

.status-badge.offline {
    background: #64748b;
    color: #fff;
}

.card-body {
    padding: 1rem 1.2rem 1.2rem;
}

.card-header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 0.2rem;
}

.card-header h4 {
    font-size: 1.1rem;
    font-weight: 700;
}

.card-header h4 .age {
    font-weight: 400;
    color: var(--muted);
    font-size: 0.9rem;
}

.card-header .location {
    font-size: 0.8rem;
    color: var(--muted);
}

.bio {
    font-size: 0.9rem;
    color: var(--muted);
    margin: 0.3rem 0 0.6rem;
    line-height: 1.4;
    min-height: 2.6rem;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 0.8rem;
}

.tags span {
    background: rgba(255, 255, 255, 0.06);
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    color: var(--muted);
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--red);
}

.btn-get-number {
    padding: 6px 16px;
    font-size: 0.8rem;
}

/* --- View All --- */
.view-all-wrap {
    text-align: center;
    margin-top: 1rem;
}

.view-all-link {
    color: var(--red);
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.view-all-link:hover {
    color: var(--red-light);
    transform: translateX(4px);
}

/* --- Profile Page CTA --- */
.profile-cta {
    padding: 60px 0;
}

/* ============================================================
   17. WORLD MAP STYLES (UPDATED)
   ============================================================ */

.world-map-container {
    background: var(--bg-secondary);
    border-radius: var(--radius);
    padding: 1.5rem 1.5rem 1.8rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.map-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.2rem;
}

.map-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
}

.map-subtitle {
    font-size: 0.8rem;
    color: var(--muted);
    font-weight: 400;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 14px;
    border-radius: 20px;
}

.map-wrapper {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: radial-gradient(ellipse at center, #1a1a24, #070709 80%);
}

.world-map {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Continent Paths --- */
.continent-path {
    fill: rgba(255, 255, 255, 0.06);
    stroke: rgba(255, 255, 255, 0.15);
    stroke-width: 1.5;
    transition: all 0.4s ease;
    cursor: pointer;
}

.continent-group:hover .continent-path {
    fill: rgba(231, 25, 69, 0.25);
    stroke: var(--red);
    stroke-width: 2.5;
    filter: url(#mapGlowFilter);
}

.continent-group.active .continent-path {
    fill: rgba(231, 25, 69, 0.2);
    stroke: var(--red);
    stroke-width: 2.5;
    filter: url(#mapGlowFilter);
}

.continent-group.active .continent-label {
    fill: var(--red);
}

.continent-label {
    fill: var(--muted);
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.5px;
    pointer-events: none;
    transition: fill 0.3s ease;
}

.continent-count {
    fill: var(--muted);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 9px;
    pointer-events: none;
    opacity: 0.7;
    transition: fill 0.3s ease;
}

.continent-group:hover .continent-count {
    fill: var(--white);
    opacity: 1;
}

/* --- Map Stats Overlay --- */
.map-stats-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    gap: 2rem;
    background: rgba(7, 7, 9, 0.7);
    backdrop-filter: blur(12px);
    padding: 12px 24px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.map-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.map-stat-number {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
}

.map-stat-label {
    font-size: 0.6rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- Top Countries --- */
.top-countries {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem 1.2rem;
    padding-top: 1rem;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.top-countries-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--muted-white);
}

.country-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.country-pill {
    background: rgba(255, 255, 255, 0.04);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--muted);
    transition: var(--transition);
    cursor: pointer;
}

.country-pill:hover {
    background: rgba(231, 25, 69, 0.1);
    color: var(--white);
    border-color: var(--red);
}

.country-pill strong {
    color: var(--red);
    font-weight: 700;
    margin-left: 4px;
}

.view-all-countries {
    color: var(--red);
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
    margin-left: auto;
}

.view-all-countries:hover {
    color: var(--red-light);
    transform: translateX(4px);
}

/* --- Map Responsive --- */
@media (max-width: 768px) {
    .world-map-container {
        padding: 1rem;
    }

    .map-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }

    .map-stats-overlay {
        bottom: 12px;
        left: 12px;
        padding: 8px 16px;
        gap: 1.2rem;
    }

    .map-stat-number {
        font-size: 0.9rem;
    }

    .map-stat-label {
        font-size: 0.5rem;
    }

    .top-countries {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
    }

    .view-all-countries {
        margin-left: 0;
    }

    .continent-label {
        font-size: 10px !important;
    }

    .continent-count {
        font-size: 7px !important;
    }
}

@media (max-width: 480px) {
    .map-stats-overlay {
        display: none;
    }

    .continent-label {
        font-size: 8px !important;
    }

    .continent-count {
        font-size: 6px !important;
    }

    .country-pill {
        font-size: 0.7rem;
        padding: 2px 10px;
    }
}

/* ============================================================
   18. PROFILE PAGE RESPONSIVE (overrides)
   ============================================================ */
@media (max-width: 1024px) {
    .profiles-layout {
        flex-direction: column;
    }

    .filters-sidebar {
        width: 100%;
        position: relative;
        top: 0;
        max-height: none;
    }

    .profiles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .profiles-top-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .gender-toggle {
        align-self: center;
    }

    .stats-mini {
        justify-content: center;
        gap: 0.8rem 1.5rem;
        font-size: 0.85rem;
    }

    .profiles-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }

    .profiles-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .search-wrap {
        max-width: 100%;
    }

    .results-count {
        text-align: center;
    }

    .card-image {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .card-image {
        height: 150px;
    }

    .card-body {
        padding: 0.8rem;
    }

    .card-header h4 {
        font-size: 1rem;
    }

    .bio {
        font-size: 0.8rem;
        min-height: 2rem;
    }

    .stats-mini {
        font-size: 0.75rem;
        gap: 0.5rem 1rem;
    }

    .toggle-btn {
        padding: 6px 14px;
        font-size: 0.8rem;
    }
}
/* ============================================================
   FILTER HEADER ACTIONS (Reset All + Collapse All)
   ============================================================ */
.filters-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    gap: 0.5rem;
}

.filters-header h4 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
}

.filters-header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-toggle-all {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--muted);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.filter-toggle-all:hover {
    color: var(--white);
    border-color: var(--red);
    background: rgba(231, 25, 69, 0.08);
}

/* --- Accordion Icon Styles --- */
.filter-accordion-toggle .accordion-icon {
    font-size: 1.2rem;
    color: var(--red);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 0.5rem;
    display: inline-block;
    width: 20px;
    text-align: center;
}

/* Rotate icon when closed (optional, makes + spin) */
.filter-accordion-toggle[aria-expanded="false"] .accordion-icon {
    transform: rotate(0deg);
}

.filter-accordion-toggle[aria-expanded="true"] .accordion-icon {
    transform: rotate(0deg);
}
/* --- Profile card shuffle animation --- */
.profile-card {
    transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
}

.profile-card.shuffling {
    opacity: 0;
    transform: scale(0.92);
}

/* Subtle glow on top profiles */
.profile-card[data-top="true"] {
    border-color: rgba(231, 25, 69, 0.15);
}

.profile-card[data-top="true"]::before {
    content: '⭐';
    position: absolute;
    top: 8px;
    left: 12px;
    font-size: 0.9rem;
    z-index: 10;
    opacity: 0.7;
}
/* ============================================================
   LOAD MORE BUTTON
   ============================================================ */
.load-more-wrap {
    text-align: center;
    margin: 2rem 0 1rem;
}

.btn-load-more {
    padding: 14px 48px;
    font-size: 1rem;
    border-color: var(--red);
    color: var(--red);
    transition: var(--transition);
    background: transparent;
    border: 2px solid var(--red);
    border-radius: 60px;
    cursor: pointer;
}

.btn-load-more:hover {
    background: var(--red);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(231, 25, 69, 0.3);
}

.btn-load-more:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.load-count {
    display: block;
    margin-top: 0.5rem;
    color: var(--muted);
    font-size: 0.85rem;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .btn-load-more {
        padding: 12px 32px;
        font-size: 0.9rem;
        width: 100%;
    }
}
/* ============================================================
   PROFILE MODAL – OVERLAY POPUP
   ============================================================ */
.profile-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;            /* hidden by default */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.profile-modal.active {
    display: flex;
    opacity: 1;
}
.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    cursor: pointer;
}
.modal-content {
    position: relative;
    max-width: 1100px;
    width: 95%;
    max-height: 90vh;
    background: var(--bg-primary, #070709);
    border-radius: var(--radius, 16px);
    overflow-y: auto;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.8);
    animation: modalSlideIn 0.3s ease;
}
@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(30px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
    position: sticky;
    top: 0;
    float: right;
    background: var(--bg-secondary, #111116);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.modal-close:hover {
    background: var(--red, #E71945);
    border-color: var(--red, #E71945);
    transform: rotate(90deg);
}

/* Modal layout – two columns */
.modal-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    align-items: start;
}

/* Left column */
.modal-left {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.modal-image-wrapper {
    position: relative;
    border-radius: var(--radius, 16px);
    overflow: hidden;
    background: var(--bg-secondary, #111116);
}
.modal-profile-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}
.modal-image-wrapper .online-status {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(7, 7, 9, 0.8);
    backdrop-filter: blur(6px);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}
.modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.modal-actions .action-btn {
    flex: 1 1 auto;
    padding: 6px 12px;
    font-size: 0.75rem;
    border-radius: 40px;
    min-width: 70px;
}
.modal-actions .btn-primary {
    background: var(--red, #E71945);
    color: #fff;
    border: none;
}
.modal-actions .btn-primary:hover {
    background: var(--red-light, #FF2852);
}

/* Verified badge */
.verified-badge {
    background: var(--bg-secondary, #111116);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius, 16px);
    padding: 1rem;
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
}
.badge-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}
.verified-badge strong {
    display: block;
    font-weight: 700;
    color: var(--white, #fff);
}
.verified-badge p {
    color: var(--muted, #A8A8B0);
    font-size: 0.85rem;
    margin: 0.2rem 0 0.4rem;
}
.learn-more {
    color: var(--red, #E71945);
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition, all 0.3s ease);
}
.learn-more:hover {
    color: var(--red-light, #FF2852);
}

/* Right column */
.modal-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.modal-header .modal-name {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
}
.modal-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem 1rem;
    color: var(--muted, #A8A8B0);
    font-size: 0.9rem;
}
.modal-meta .status-badge {
    position: static;
    display: inline-block;
    padding: 2px 12px;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 20px;
    background: #22c55e;
    color: #fff;
}
.like-section {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--muted, #A8A8B0);
    font-size: 0.95rem;
}
.like-icon {
    font-size: 1.2rem;
}

/* Rating */
.rating-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem 1.2rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.rating-label {
    font-weight: 600;
    color: var(--muted-white, #D7D7DC);
}
.stars {
    display: flex;
    gap: 0.2rem;
}
.star {
    font-size: 1.6rem;
    color: var(--muted, #A8A8B0);
    cursor: pointer;
    transition: var(--transition, all 0.3s ease);
}
.star:hover,
.star.active {
    color: #fbbf24;
    transform: scale(1.1);
}
.rating-empty {
    color: var(--muted, #A8A8B0);
    font-size: 0.85rem;
    font-style: italic;
}

/* Details grid */
.modal-details {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
}
.detail-item {
    background: var(--bg-secondary, #111116);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}
.detail-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--muted, #A8A8B0);
    margin-bottom: 0.2rem;
}
.detail-value {
    font-weight: 600;
    font-size: 0.95rem;
}

/* Basic info */
.modal-basic-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--muted-white, #D7D7DC);
}
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem 2rem;
    background: var(--bg-secondary, #111116);
    padding: 1.2rem 1.5rem;
    border-radius: var(--radius, 16px);
    border: 1px solid rgba(255, 255, 255, 0.04);
}
.info-item {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.info-item:last-child,
.info-item.full-width {
    border-bottom: none;
}
.info-item.full-width {
    grid-column: 1 / -1;
}
.info-label {
    color: var(--muted, #A8A8B0);
    font-size: 0.85rem;
}
.info-value {
    color: var(--white, #fff);
    font-weight: 500;
    text-align: right;
}

/* Purchase section */
.purchase-section {
    background: var(--bg-secondary, #111116);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius, 16px);
    padding: 1.8rem 2rem;
    margin-top: 0.5rem;
}
.purchase-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}
.purchase-header p {
    color: var(--muted, #A8A8B0);
    font-size: 0.95rem;
}
.price-box {
    display: flex;
    align-items: baseline;
    gap: 0.8rem;
    margin: 1.2rem 0 0.8rem;
}
.price-label {
    color: var(--muted, #A8A8B0);
    font-size: 0.9rem;
}
.price-amount {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--red, #E71945);
}
.benefits {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem 1.2rem;
    margin: 1rem 0 1.5rem;
    padding: 0;
}
.benefits li {
    color: var(--muted-white, #D7D7DC);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.btn-buy-number {
    width: 100%;
    padding: 14px;
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
}
.payment-icons {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 0.8rem;
}
.payment-icons span {
    color: var(--muted, #A8A8B0);
    font-size: 0.85rem;
    margin-right: 0.5rem;
}
.payment-icon {
    height: 28px;
    width: auto;
    background: var(--bg-primary, #070709);
    border-radius: 4px;
    padding: 2px 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.secure-text {
    color: var(--muted, #A8A8B0);
    font-size: 0.8rem;
    text-align: center;
}

/* Safety tip */
.safety-tip {
    background: rgba(231, 25, 69, 0.06);
    border: 1px solid rgba(231, 25, 69, 0.15);
    border-radius: var(--radius, 16px);
    padding: 1.2rem 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.safety-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}
.safety-tip strong {
    display: block;
    font-weight: 700;
    color: var(--white, #fff);
}
.safety-tip p {
    color: var(--muted, #A8A8B0);
    font-size: 0.9rem;
    margin: 0.2rem 0 0.4rem;
}
.safety-link {
    color: var(--red, #E71945);
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition, all 0.3s ease);
}
.safety-link:hover {
    color: var(--red-light, #FF2852);
}

/* Responsive modal */
@media (max-width: 768px) {
    .modal-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .modal-profile-image {
        height: 200px;
    }
    .modal-content {
        padding: 1.2rem;
    }
    .modal-actions .action-btn {
        font-size: 0.7rem;
        padding: 4px 10px;
        min-width: 60px;
    }
    .modal-details {
        grid-template-columns: 1fr;
    }
    .benefits {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 480px) {
    .modal-content {
        padding: 1rem;
        width: 98%;
    }
    .modal-profile-image {
        height: 160px;
    }
    .info-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
        padding: 0.6rem 0;
    }
    .info-value {
        text-align: left;
    }
}