/* =========================================
   CHATVIBE DATING
   Complete independent pink stylesheet
   ========================================= */

.cv-dating-page {
    --dating-pink: #e83e8c;
    --dating-dark: #ad1457;
    --dating-light: #fff0f6;
    --dating-border: #f8c9dc;

    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 24px 16px 40px;
    box-sizing: border-box;
    color: #33303a;
    font-family: Arial, sans-serif;
}

.cv-dating-page *,
.cv-dating-page *::before,
.cv-dating-page *::after {
    box-sizing: border-box;
}

/* =========================================
   DATING HERO
   ========================================= */

.cv-dating-hero {
    background: linear-gradient(135deg, #e83e8c, #ad1457);
    color: #fff;
    padding: 38px 24px;
    border-radius: 18px;
    text-align: center;
    margin-bottom: 24px;
    box-shadow: 0 8px 22px rgba(232, 62, 140, 0.18);
}

.cv-dating-hero h1 {
    font-size: clamp(28px, 5vw, 40px);
    margin: 0 0 12px;
    font-weight: 800;
}

.cv-dating-hero p {
    max-width: 650px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.7;
    color: #fff;
}

/* =========================================
   MAIN SECTIONS
   ========================================= */

.cv-dating-section {
    background: #fff;
    border: 1px solid #f3dce6;
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 3px 12px rgba(173, 20, 87, 0.05);
}

.cv-dating-section h2 {
    color: #ad1457;
    font-size: 21px;
    margin: 0 0 12px;
}

.cv-dating-section p {
    color: #514650;
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 12px;
}

/* =========================================
   FEATURE CARDS
   ========================================= */

.cv-dating-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.cv-dating-feature {
    background: #fff0f6;
    border: 1px solid #f8c9dc;
    border-radius: 12px;
    padding: 18px;
}

.cv-dating-feature h3 {
    color: #ad1457;
    font-size: 16px;
    margin: 0 0 8px;
}

.cv-dating-feature p {
    font-size: 14px;
    margin: 0;
}

/* =========================================
   AGE NOTICE
   ========================================= */

.cv-dating-notice {
    background: #fff5e8;
    border: 1px solid #f5d5a5;
    border-radius: 12px;
    padding: 16px;
    color: #704d0b;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* =========================================
   DATING BUTTONS
   ========================================= */

.cv-dating-button {
    display: inline-block;
    background: #e83e8c;
    color: #fff;
    border: 0;
    border-radius: 9px;
    padding: 12px 22px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.cv-dating-button:hover {
    background: #ad1457;
    color: #fff;
}

.cv-dating-button-secondary {
    background: #fff0f6;
    color: #ad1457;
}

.cv-dating-button-secondary:hover {
    background: #f8d6e5;
    color: #880e4f;
}

.cv-dating-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

/* =========================================
   MEMBER WELCOME
   ========================================= */

.cv-dating-welcome {
    background: #fff0f6;
    border: 1px solid #f8c9dc;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 20px;
}

.cv-dating-welcome strong {
    color: #ad1457;
}

/* =========================================
   DATING HEADER
   Only affects Dating pages
   ========================================= */

body:has(.cv-dating-page) .cv-header {
    background: linear-gradient(120deg, #7b1644, #ad1457, #e83e8c);
    color: #fff;
    border-bottom: 3px solid #ff9bc5;
}

/* Logo */

body:has(.cv-dating-page) .logo-vibe {
    color: #ffb4d2;
}

body:has(.cv-dating-page) .cv-brand-tagline {
    color: #ffe3ef;
}

/* Navigation */

body:has(.cv-dating-page) .nav-links a {
    color: #fff;
    transition: background 0.2s ease, color 0.2s ease;
}

body:has(.cv-dating-page) .nav-links a:hover,
body:has(.cv-dating-page) .nav-links a.active {
    background: rgba(255, 255, 255, 0.16);
    color: #ffd6e7;
}

/* Profile button */

body:has(.cv-dating-page) .cv-header-profile-button {
    background: #fff;
    color: #ad1457;
    border: 1px solid #ffb4d2;
    border-radius: 9px;
}

body:has(.cv-dating-page) .cv-header-profile-button:hover {
    background: #fff0f6;
    color: #880e4f;
}

body:has(.cv-dating-page) .cv-profile-button-icon {
    color: #ad1457;
}

/* Hamburger menu */

body:has(.cv-dating-page) .hamburger {
    color: #fff;
    cursor: pointer;
}

body:has(.cv-dating-page) .hamburger:hover {
    color: #ffd6e7;
}

/* Header decorative elements */

body:has(.cv-dating-page) .cv-header-decoration {
    background: rgba(255, 255, 255, 0.08);
}

body:has(.cv-dating-page) .cv-header-decoration span {
    color: #ffb4d2;
}

/* Welcome message below header */

body:has(.cv-dating-page) .cv-flow-welcome {
    color: #ad1457;
}

body:has(.cv-dating-page) .cv-flow-welcome-text {
    color: #ad1457;
}

/* Mobile navigation dropdown */

@media (max-width: 768px) {

    body:has(.cv-dating-page) .nav-links {
        background: linear-gradient(145deg, #7b1644, #ad1457);
        border: 1px solid rgba(255, 255, 255, 0.15);
        box-shadow: 0 8px 20px rgba(80, 10, 40, 0.22);
    }

    body:has(.cv-dating-page) .nav-links a {
        color: #fff;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    body:has(.cv-dating-page) .nav-links a:hover,
    body:has(.cv-dating-page) .nav-links a.active {
        background: rgba(255, 255, 255, 0.14);
        color: #ffd6e7;
    }
}

/* =========================================
   DATING FOOTER
   Only affects Dating pages
   ========================================= */

body:has(.cv-dating-page) .cv-footer {
    background: linear-gradient(145deg, #3b1028, #71143f, #921b52);
    color: #fff;
    padding: 20px 14px 12px;
    margin-top: 20px;
    border-top: 4px solid #e83e8c;
}

body:has(.cv-dating-page) .cv-footer-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

/* Footer brand */

body:has(.cv-dating-page) .cv-footer-brand {
    display: inline-block;
    font-size: 22px;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -1px;
    margin-bottom: 2px;
}

body:has(.cv-dating-page) .cv-footer-chat {
    color: #fff;
}

body:has(.cv-dating-page) .cv-footer-vibe {
    color: #ff9bc5;
}

body:has(.cv-dating-page) .cv-footer-tagline {
    color: #fbd8e7;
    font-size: 12px;
    margin: 3px 0 12px;
}

/* Social sharing icons */

body:has(.cv-dating-page) .cv-footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin: 10px 0 15px;
}

body:has(.cv-dating-page) .cv-footer-social-link {
    width: 35px;
    height: 35px;
    min-width: 35px;
    padding: 8px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    box-sizing: border-box;
}

body:has(.cv-dating-page) .cv-footer-social-link:hover {
    background: #e83e8c;
    transform: translateY(-3px);
}

body:has(.cv-dating-page) .cv-footer-social-link svg {
    width: 17px;
    height: 17px;
    display: block;
}

/* Footer advertisement */

body:has(.cv-dating-page) .cv-footer-ad {
    max-width: 100%;
    margin: 12px auto;
    overflow: hidden;
}

/* Visitor counter */

body:has(.cv-dating-page) .cv-footer-counter {
    color: #fbd8e7;
    font-size: 12px;
    margin: 10px 0;
}

/* Footer navigation */

body:has(.cv-dating-page) .cv-footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding: 12px 0;
    margin-top: 12px;
}

body:has(.cv-dating-page) .cv-footer-links a {
    color: #fff;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s ease;
}

body:has(.cv-dating-page) .cv-footer-links a:hover {
    color: #ff9bc5;
}

/* Copyright */

body:has(.cv-dating-page) .cv-footer-copyright {
    color: #eac5d6;
    font-size: 11px;
    margin: 5px 0 0;
}

/* =========================================
   ACCESSIBILITY
   ========================================= */

.cv-dating-page a:focus-visible,
.cv-dating-page button:focus-visible {
    outline: 3px solid #e83e8c;
    outline-offset: 3px;
}

/* =========================================
   MOBILE RESPONSIVENESS
   ========================================= */

@media (max-width: 600px) {

    .cv-dating-page {
        padding: 16px 12px 30px;
    }

    .cv-dating-hero {
        padding: 30px 18px;
        border-radius: 14px;
    }

    .cv-dating-section {
        padding: 18px;
    }

    .cv-dating-features {
        grid-template-columns: 1fr;
    }

    .cv-dating-actions {
        flex-direction: column;
    }

    .cv-dating-button {
        width: 100%;
    }

    /* Footer icon sizing on mobile */

    body:has(.cv-dating-page) .cv-footer-social {
        gap: 9px;
        margin: 10px 0 15px;
    }

    body:has(.cv-dating-page) .cv-footer-social-link {
        width: 35px;
        height: 35px;
        min-width: 35px;
        padding: 8px;
    }

    body:has(.cv-dating-page) .cv-footer-social-link svg {
        width: 17px;
        height: 17px;
    }
}