/*
Theme Name: DesiThrill
Theme URI: https://desithrill.com
Author: DesiThrill
Author URI: https://desithrill.com
Description: Custom South Asian Dating & Matrimony theme for DesiThrill.com
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: desithrill
Tags: dating, matrimony, membership, custom
*/

/* =============================================
   CSS VARIABLES
   ============================================= */
:root {
    --rose:        #C2185B;
    --rose-dark:   #880E4F;
    --rose-mid:    #E91E63;
    --rose-light:  #FCE4EC;
    --rose-pale:   #FFF0F5;
    --gold:        #F9A825;
    --gold-light:  #FFF8E1;
    --deep:        #1A0A12;
    --surface:     #FFF9FB;
    --white:       #FFFFFF;
    --muted:       #8D6E7A;
    --muted-light: #C4A4B0;
    --border:      rgba(194,24,91,0.15);
    --border-dark: rgba(194,24,91,0.3);
    --radius:      14px;
    --radius-sm:   8px;
    --shadow:      0 4px 20px rgba(194,24,91,0.1);
    --shadow-lg:   0 8px 40px rgba(194,24,91,0.18);
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body:   'DM Sans', 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--deep);
    background: var(--surface);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--rose); text-decoration: none; transition: color .2s; }
a:hover { color: var(--rose-dark); }
ul { list-style: none; }
input, select, textarea, button { font-family: inherit; }

h1,h2,h3,h4,h5,h6 {
    font-family: var(--font-display);
    line-height: 1.25;
    color: var(--deep);
}

/* =============================================
   LAYOUT UTILITIES
   ============================================= */
.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}
.container--narrow { max-width: 780px; }
.section { padding: 72px 0; }
.section--alt { background: var(--rose-pale); }
.section--dark { background: var(--deep); color: var(--white); }
.section--gold { background: var(--gold-light); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-sm { gap: 8px; }
.gap-md { gap: 16px; }
.gap-lg { gap: 24px; }
.text-center { text-align: center; }
.mt-sm { margin-top: 12px; }
.mt-md { margin-top: 24px; }
.mt-lg { margin-top: 48px; }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 40px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all .2s;
    text-decoration: none;
}
.btn--primary {
    background: var(--rose);
    color: var(--white);
    border-color: var(--rose);
}
.btn--primary:hover {
    background: var(--rose-dark);
    border-color: var(--rose-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}
.btn--secondary {
    background: transparent;
    color: var(--rose);
    border-color: var(--rose);
}
.btn--secondary:hover {
    background: var(--rose);
    color: var(--white);
}
.btn--ghost {
    background: rgba(255,255,255,0.12);
    color: var(--white);
    border-color: rgba(255,255,255,0.3);
}
.btn--ghost:hover {
    background: rgba(255,255,255,0.2);
    color: var(--white);
}
.btn--gold {
    background: var(--gold);
    color: var(--deep);
    border-color: var(--gold);
}
.btn--gold:hover { background: #F57F17; }
.btn--sm { padding: 8px 18px; font-size: 13px; }
.btn--lg { padding: 16px 36px; font-size: 17px; }

/* =============================================
   SECTION HEADERS
   ============================================= */
.section-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--rose);
    margin-bottom: 12px;
}
.section-title {
    font-family: var(--font-display);
    font-size: 38px;
    color: var(--deep);
    margin-bottom: 16px;
    line-height: 1.2;
}
.section-title em { color: var(--rose); font-style: italic; }
.section-title--white { color: var(--white); }
.section-desc {
    font-size: 17px;
    color: var(--muted);
    max-width: 560px;
    line-height: 1.7;
}
.section-desc--center { margin: 0 auto; text-align: center; }

/* =============================================
   HEADER & NAVIGATION
   ============================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 12px rgba(194,24,91,0.06);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.site-logo {
    font-family: var(--font-display);
    font-size: 26px;
    font-style: italic;
    color: var(--rose);
    text-decoration: none;
    letter-spacing: -0.5px;
    flex-shrink: 0;
    line-height: 1;
}
.site-logo span { color: var(--gold); font-style: normal; }
/* Constrain any custom logo image */
.site-logo img,
.custom-logo,
.custom-logo-link img {
    height: 40px !important;
    width: auto !important;
    max-width: 160px !important;
    display: block;
}

/* Kill any ul/li structure from old menus bleeding into main-nav */
.main-nav ul { display: contents; list-style: none; margin: 0; padding: 0; }
.main-nav li { display: contents; }
.main-nav ul li a { padding: 8px 14px; font-size: 14px; color: var(--deep); font-weight: 500; border-radius: var(--radius-sm); transition: all .2s; text-decoration: none; }
.main-nav ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
    padding: 8px 14px;
    font-size: 14px;
    color: var(--deep);
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all .2s;
    text-decoration: none;
}
.main-nav a:hover, .main-nav a.active {
    color: var(--rose);
    background: var(--rose-light);
}
.main-nav .badge {
    display: inline-block;
    background: var(--rose);
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 4px;
    font-weight: 600;
    vertical-align: middle;
}

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--rose-light);
    border: 2px solid var(--border);
    cursor: pointer;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    color: var(--rose);
    font-weight: 600;
    font-size: 14px;
}
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 24px; height: 2px;
    background: var(--deep);
    border-radius: 2px;
    transition: all .3s;
}
.mobile-nav {
    display: none;
    position: fixed;
    top: 72px; left: 0; right: 0; bottom: 0;
    background: var(--white);
    padding: 24px;
    z-index: 999;
    overflow-y: auto;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
    display: block;
    padding: 14px 0;
    font-size: 18px;
    color: var(--deep);
    border-bottom: 1px solid var(--border);
    font-weight: 500;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
    background: linear-gradient(135deg, #FFF0F5 0%, #FFF9E6 60%, #FFF0F5 100%);
    padding: 80px 0 60px;
    overflow: hidden;
    position: relative;
}
.hero::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(233,30,99,0.06) 0%, transparent 70%);
    pointer-events: none;
}
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.hero-copy h1 {
    font-size: 52px;
    line-height: 1.1;
    margin-bottom: 20px;
}
.hero-copy p {
    font-size: 18px;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 460px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}
.hero-stat-num {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--rose);
    display: block;
}
.hero-stat-label { font-size: 13px; color: var(--muted); }

.hero-visual {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.hero-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 16px;
    position: relative;
    overflow: hidden;
    transition: transform .3s, box-shadow .3s;
    cursor: pointer;
    color: var(--deep);
    text-decoration: none;
    display: block;
}
.hero-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--rose);
    color: var(--deep);
}
.hero-card--featured { border-color: var(--rose); }
.hero-card-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--rose-light);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px;
    margin-bottom: 10px;
    overflow: hidden;
}
.hero-card-avatar img { width: 100%; height: 100%; object-fit: cover; }
.hero-card-name { font-size: 14px; font-weight: 600; color: var(--deep); }
.hero-card-meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
.hero-card-badge {
    position: absolute;
    top: 10px; right: 10px;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 500;
}
.hero-card-badge--match {
    background: var(--rose-light);
    color: var(--rose);
}
.hero-card-badge--verified {
    background: var(--gold-light);
    color: #B8860B;
}
.online-indicator {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: #4CAF50;
}
.online-dot {
    width: 7px; height: 7px;
    background: #4CAF50;
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%,100% { opacity: 1; }
    50%      { opacity: 0.4; }
}

/* =============================================
   SEARCH BAR
   ============================================= */
.search-section {
    background: var(--white);
    padding: 36px 0;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.search-inner { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.search-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}
.search-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}
.search-row input,
.search-row select {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 11px 16px;
    font-size: 14px;
    color: var(--deep);
    background: var(--surface);
    outline: none;
    transition: border-color .2s;
    appearance: none;
    -webkit-appearance: none;
}
.search-row input { flex: 1; min-width: 180px; }
.search-row input:focus,
.search-row select:focus { border-color: var(--rose); }
.search-row select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238D6E7A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
    cursor: pointer;
}
.filter-chips {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    flex-wrap: wrap;
}
.filter-chip {
    background: var(--rose-light);
    color: var(--rose);
    border: 1px solid transparent;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    transition: all .15s;
    white-space: nowrap;
}
.filter-chip:hover,
.filter-chip.active {
    background: var(--rose);
    color: var(--white);
}

/* =============================================
   MEMBER CARDS
   ============================================= */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}
.member-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: transform .25s, box-shadow .25s;
    cursor: pointer;
}
.member-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.member-photo {
    position: relative;
    width: 100%;
    padding-top: 120%;
    background: linear-gradient(135deg, var(--rose-light), var(--gold-light));
    overflow: hidden;
}
.member-photo img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.member-photo-placeholder {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 64px;
}
.member-photo-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(26,10,18,0.7), transparent);
    padding: 20px 12px 10px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.member-online-badge {
    background: rgba(255,255,255,0.92);
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 500;
    color: #4CAF50;
    display: flex; align-items: center; gap: 4px;
}
.member-match-pct {
    background: var(--rose);
    color: white;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
}
.member-info { padding: 14px; }
.member-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--deep);
    margin-bottom: 3px;
}
.member-meta {
    font-size: 13px;
    color: var(--muted);
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}
.member-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.member-tag {
    background: var(--rose-light);
    color: var(--rose);
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 20px;
}
.member-actions { display: flex; gap: 8px; }
.btn-smile {
    flex: 1;
    background: var(--rose-light);
    color: var(--rose);
    border: none;
    border-radius: var(--radius-sm);
    padding: 9px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s;
    text-align: center;
}
.btn-smile:hover { background: var(--rose); color: white; }
.btn-msg {
    background: var(--rose);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    padding: 9px 16px;
    font-size: 14px;
    cursor: pointer;
    transition: opacity .2s;
}
.btn-msg:hover { opacity: 0.85; }

/* =============================================
   FEATURE CARDS
   ============================================= */
.feature-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: background .2s;
}
.feature-card:hover { background: rgba(255,255,255,0.12); }
.feature-icon {
    width: 52px; height: 52px;
    background: rgba(233,30,99,0.2);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px;
    margin-bottom: 18px;
}
.feature-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}
.feature-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    line-height: 1.65;
}

/* =============================================
   PRICING / PLANS
   ============================================= */
.plan-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 2px solid var(--border);
    padding: 32px 24px;
    position: relative;
    transition: transform .25s, box-shadow .25s;
}
.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.plan-card--featured {
    border-color: var(--rose);
}
.plan-badge {
    position: absolute;
    top: -14px;
    left: 50%; transform: translateX(-50%);
    background: var(--rose);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 18px;
    border-radius: 20px;
    white-space: nowrap;
}
.plan-name { font-size: 14px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.plan-price {
    font-family: var(--font-display);
    font-size: 42px;
    color: var(--deep);
    margin: 12px 0 4px;
    line-height: 1;
}
.plan-price sup { font-size: 22px; vertical-align: super; }
.plan-price span { font-family: var(--font-body); font-size: 15px; color: var(--muted); }
.plan-desc { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.plan-features {
    list-style: none;
    margin-bottom: 28px;
}
.plan-features li {
    font-size: 14px;
    color: var(--muted);
    padding: 8px 0;
    border-bottom: 1px solid var(--rose-pale);
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.plan-features li::before {
    content: '✓';
    color: var(--rose);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}
.plan-features li.disabled { opacity: 0.4; }
.plan-features li.disabled::before { content: '×'; color: var(--muted); }

/* =============================================
   PROFILE PAGE
   ============================================= */
.profile-hero {
    background: linear-gradient(135deg, var(--rose-pale), var(--gold-light));
    padding: 48px 0;
}
.profile-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 32px;
    align-items: start;
}
.profile-sidebar {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    position: sticky;
    top: 88px;
}
.profile-photo-wrap {
    position: relative;
    width: 100%;
    padding-top: 100%;
    background: var(--rose-light);
}
.profile-photo-wrap img {
    position: absolute; top:0; left:0;
    width:100%; height:100%; object-fit:cover;
}
.profile-photo-placeholder {
    position: absolute; top:0; left:0; right:0; bottom:0;
    display:flex; align-items:center; justify-content:center;
    font-size:80px;
}
.profile-sidebar-info { padding: 20px; }
.profile-name {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--deep);
    margin-bottom: 4px;
}
.profile-tagline { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.profile-actions { display: flex; flex-direction: column; gap: 8px; }
.profile-meta-list { padding: 0 20px 20px; }
.profile-meta-item {
    display: flex; justify-content: space-between;
    padding: 10px 0;
    border-top: 1px solid var(--border);
    font-size: 14px;
}
.profile-meta-item .label { color: var(--muted); }
.profile-meta-item .value { font-weight: 500; color: var(--deep); }

.profile-main { }
.profile-section {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 24px;
    margin-bottom: 20px;
}
.profile-section-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--deep);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}
.astro-match {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    background: var(--rose-pale);
    border-radius: var(--radius-sm);
}
.astro-score {
    text-align: center;
}
.astro-score-num {
    font-family: var(--font-display);
    font-size: 48px;
    color: var(--rose);
    line-height: 1;
}
.astro-score-label { font-size: 13px; color: var(--muted); }

/* =============================================
   GALLERY
   ============================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}
.gallery-item {
    aspect-ratio: 1;
    background: var(--rose-light);
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    position: relative;
}
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item--locked::after {
    content: '🔒';
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(26,10,18,0.5);
    font-size: 24px;
}

/* =============================================
   WEBCAM CHAT
   ============================================= */
.webcam-container {
    background: var(--deep);
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/9;
}
.webcam-remote {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.webcam-local {
    position: absolute;
    bottom: 16px; right: 16px;
    width: 25%;
    border-radius: var(--radius-sm);
    border: 2px solid var(--white);
    overflow: hidden;
}
.webcam-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 16px;
    background: rgba(26,10,18,0.8);
}
.webcam-btn {
    width: 48px; height: 48px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 20px;
    display: flex; align-items: center; justify-content: center;
    transition: transform .2s;
}
.webcam-btn:hover { transform: scale(1.1); }
.webcam-btn--end { background: #F44336; color: white; }
.webcam-btn--mute { background: rgba(255,255,255,0.15); color: white; }

/* =============================================
   MESSAGES / CHAT
   ============================================= */
.chat-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 0;
    height: calc(100vh - 72px);
    max-height: calc(100vh - 72px);
    background: var(--white);
    overflow: hidden;
    position: relative;
}
.chat-main {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: calc(100vh - 72px);
    overflow: hidden;
    position: relative;
}
.chat-sidebar {
    border-right: 1px solid var(--border);
    overflow-y: auto;
}
.chat-sidebar-header {
    padding: 20px;
    border-bottom: 1px solid var(--border);
}
.chat-thread {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    cursor: pointer;
    border-bottom: 1px solid var(--border);
    transition: background .15s;
}
.chat-thread:hover, .chat-thread.active { background: var(--rose-pale); }
.chat-thread-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--rose-light);
    flex-shrink: 0;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
}
.chat-thread-name { font-size: 14px; font-weight: 600; color: var(--deep); }
.chat-thread-preview { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-thread-time { font-size: 11px; color: var(--muted-light); flex-shrink: 0; }
.chat-unread {
    background: var(--rose);
    color: white;
    font-size: 10px;
    width: 18px; height: 18px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}
.chat-main {
    display: flex;
    flex-direction: column;
}
.chat-header {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}
.chat-input-row {
    padding: 16px 24px;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
    background: var(--white);
}

/* Messages page — prevent body scroll, contain chat in viewport */
body.page-template-default.page-id-messages,
body:has(.chat-layout) {
    overflow: hidden;
    height: 100vh;
}
body:has(.chat-layout) #page,
body:has(.chat-layout) .site-main {
    overflow: hidden;
    height: 100%;
}
.chat-messages {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 0;
}
.message {
    display: flex;
    gap: 10px;
    max-width: 70%;
}
.message--mine {
    flex-direction: row-reverse;
    align-self: flex-end;
}
.message-bubble {
    background: var(--rose-light);
    color: var(--deep);
    border-radius: 16px 16px 16px 4px;
    padding: 12px 16px;
    font-size: 14px;
    line-height: 1.6;
}
.message--mine .message-bubble {
    background: var(--rose);
    color: white;
    border-radius: 16px 16px 4px 16px;
}
.chat-input {
    flex: 1;
    border: 1.5px solid var(--border);
    border-radius: 24px;
    padding: 11px 20px;
    font-size: 14px;
    outline: none;
    transition: border-color .2s;
}
.chat-input:focus { border-color: var(--rose); }

/* =============================================
   FORMS
   ============================================= */
.form-group { margin-bottom: 20px; }
.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--deep);
    margin-bottom: 8px;
}
.form-control {
    width: 100%;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 15px;
    color: var(--deep);
    background: var(--surface);
    outline: none;
    transition: border-color .2s;
}
.form-control:focus { border-color: var(--rose); }
.form-control--select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238D6E7A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
    cursor: pointer;
}
.form-hint { font-size: 12px; color: var(--muted); margin-top: 5px; }
.form-error { font-size: 12px; color: #D32F2F; margin-top: 5px; }
.form-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 36px;
    max-width: 500px;
    margin: 0 auto;
}

/* Registration multi-step */
.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 32px;
}
.step-dot {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--rose-light);
    color: var(--rose);
    font-size: 13px;
    font-weight: 600;
    display: flex; align-items: center; justify-content: center;
    z-index: 1;
    transition: all .3s;
}
.step-dot.active {
    background: var(--rose);
    color: white;
}
.step-dot.done {
    background: var(--rose-dark);
    color: white;
}
.step-line {
    flex: 1;
    height: 2px;
    background: var(--border);
    max-width: 60px;
}
.step-line.done { background: var(--rose); }

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 28px 24px;
    position: relative;
}
.testimonial-card::before {
    content: '\201C';
    font-family: var(--font-display);
    font-size: 64px;
    color: var(--rose-light);
    position: absolute;
    top: 12px; left: 20px;
    line-height: 1;
}
.testimonial-text {
    font-size: 15px;
    color: var(--deep);
    line-height: 1.7;
    margin-bottom: 20px;
    padding-top: 24px;
}
.testimonial-author { display: flex; gap: 12px; align-items: center; }
.testimonial-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--rose-light);
}
.testimonial-avatar img { width:100%; height:100%; object-fit:cover; }
.testimonial-name { font-weight: 600; font-size: 14px; }
.testimonial-role { font-size: 12px; color: var(--muted); }
.stars { color: var(--gold); font-size: 13px; margin-bottom: 3px; }

/* =============================================
   HOW IT WORKS
   ============================================= */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step-card { text-align: center; }
.step-number {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--rose);
    color: white;
    font-family: var(--font-display);
    font-size: 22px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
}
.step-title { font-size: 18px; font-weight: 600; color: var(--deep); margin-bottom: 10px; }
.step-desc { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
    background: var(--deep);
    color: rgba(255,255,255,0.6);
    padding: 64px 0 32px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}
.footer-brand { }
.footer-logo {
    font-family: var(--font-display);
    font-size: 28px;
    font-style: italic;
    color: var(--rose);
    margin-bottom: 14px;
}
.footer-logo span { color: var(--gold); font-style: normal; }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.6; max-width: 280px; }
.footer-col-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    transition: color .2s;
    text-decoration: none;
}
.footer-links a:hover { color: var(--rose-mid); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { color: rgba(255,255,255,0.4); text-decoration: none; font-size: 13px; }
.footer-legal a:hover { color: white; }

/* Newsletter */
.newsletter-form { display: flex; gap: 8px; margin-top: 16px; }
.newsletter-input {
    flex: 1;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 24px;
    padding: 10px 18px;
    font-size: 14px;
    color: white;
    outline: none;
}
.newsletter-input::placeholder { color: rgba(255,255,255,0.35); }
.newsletter-btn {
    background: var(--rose);
    color: white;
    border: none;
    border-radius: 24px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

/* =============================================
   MODAL
   ============================================= */
.modal-backdrop {
    position: fixed; inset: 0;
    background: rgba(26,10,18,0.6);
    z-index: 2000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity .3s;
}
.modal-backdrop.open { opacity: 1; pointer-events: all; }
.modal {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px;
    max-width: 440px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px);
    transition: transform .3s;
}
.modal-backdrop.open .modal { transform: translateY(0); }
.modal-close {
    position: absolute;
    top: 16px; right: 16px;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: var(--muted);
}
.modal-header {
    margin-bottom: 24px;
    position: relative;
}
.modal-title {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--deep);
}
.modal-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border);
    margin-bottom: 24px;
}
.modal-tab {
    flex: 1;
    padding: 10px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all .2s;
}
.modal-tab.active {
    color: var(--rose);
    border-bottom-color: var(--rose);
}

/* Divider */
.or-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--muted);
    font-size: 13px;
    margin: 20px 0;
}
.or-divider::before,
.or-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* Social login */
.social-btns { display: flex; gap: 10px; }
.social-btn {
    flex: 1;
    padding: 10px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: white;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    transition: border-color .2s;
}
.social-btn:hover { border-color: var(--rose); color: var(--rose); }

/* =============================================
   ALERTS & NOTIFICATIONS
   ============================================= */
.alert {
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 14px;
    margin-bottom: 16px;
    display: flex; gap: 10px; align-items: flex-start;
}
.alert--success { background: #E8F5E9; color: #2E7D32; }
.alert--error   { background: #FFEBEE; color: #C62828; }
.alert--info    { background: var(--rose-light); color: var(--rose-dark); }
.alert--warning { background: var(--gold-light); color: #E65100; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 960px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .hero-copy h1 { font-size: 38px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .grid-3 { grid-template-columns: 1fr 1fr; }
    .grid-4 { grid-template-columns: 1fr 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .profile-layout { grid-template-columns: 1fr; }
    .chat-layout { grid-template-columns: 1fr; }
    .chat-sidebar { display: none; }
}
@media (max-width: 640px) {
    .container { padding: 0 16px; }
    .section { padding: 48px 0; }
    .section-title { font-size: 28px; }
    .hero-copy h1 { font-size: 30px; }
    .main-nav { display: none; }
    .hamburger { display: flex; }
    .grid-2 { grid-template-columns: 1fr; }
    .grid-3 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .members-grid { grid-template-columns: 1fr 1fr; }
    .plans-grid { grid-template-columns: 1fr; }
    .search-row { flex-direction: column; }
    .search-row input, .search-row select { width: 100%; }
}

/* =============================================
   WOOCOMMERCE OVERRIDES
   ============================================= */
.woocommerce-message { background: var(--rose-light); border-color: var(--rose); color: var(--rose-dark); }
.woocommerce button.button,
.woocommerce a.button { background: var(--rose); color: white; border-radius: 40px; }
.woocommerce button.button:hover { background: var(--rose-dark); color: white; }

/* =============================================
   ADMIN BAR OFFSET
   ============================================= */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
    .admin-bar .site-header { top: 46px; }
}

/* =============================================
   GDPR COOKIE BANNER
   ============================================= */
.cookie-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--deep);
    color: rgba(255,255,255,0.85);
    padding: 16px 24px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 14px;
}
.cookie-banner a { color: var(--rose-mid); }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn {
    padding: 8px 20px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.3);
    background: transparent;
    color: white;
}
.cookie-btn--accept { background: var(--rose); border-color: var(--rose); }
