/* Secret World - Dating Platform */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --bg: #f5f3ff;
    --bg-warm: #fff5f7;
    --text: #1e1b4b;
    --text-muted: #64748b;
    --link: #6366f1;
    --link-hover: #4f46e5;
    --header-bg: #312e81;
    --header-dark: #1e1b4b;
    --white: #ffffff;
    --border: #e2e8f0;
    --card-shadow: 0 4px 24px rgba(49, 46, 129, 0.08);
    --accent: #ec4899;
    --accent-dark: #db2777;
    --accent-soft: #fce7f3;
    --success: #10b981;
    --max-width: 1100px;
    --radius: 14px;
    --radius-sm: 10px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', 'Segoe UI', 'Noto Sans Devanagari', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    min-height: 100vh;
    padding-bottom: env(safe-area-inset-bottom);
}

a {
    color: var(--link);
    text-decoration: none;
}

a:hover {
    color: var(--link-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header */
.site-header {
    background: linear-gradient(135deg, var(--header-bg) 0%, #4338ca 50%, var(--accent) 100%);
    padding: 12px 16px 0;
    box-shadow: 0 4px 20px rgba(30, 27, 75, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-top {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding-bottom: 8px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #fff 0%, var(--accent-soft) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.logo-image {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
    flex-shrink: 0;
}

.logo-text {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo-text span {
    font-weight: 400;
    font-size: 0.7rem;
    display: block;
    opacity: 0.88;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.login-form {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.login-form input {
    padding: 8px 12px;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    width: 120px;
    background: rgba(255, 255, 255, 0.95);
}

.login-form button {
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
}

.login-form button:hover {
    background: rgba(255, 255, 255, 0.3);
}

.btn-signup-header {
    display: inline-flex;
    align-items: center;
    padding: 9px 18px;
    background: var(--white);
    color: var(--accent-dark);
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.btn-signup-header:hover {
    color: var(--accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.main-nav {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 0 0;
    display: flex;
    gap: 2px;
    flex-wrap: wrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.main-nav::-webkit-scrollbar {
    display: none;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    padding: 10px 16px;
    border-radius: 8px 8px 0 0;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    background: var(--bg);
    color: var(--link);
    text-decoration: none;
}

.menu-check {
    display: none;
}

.menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: var(--white);
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* Main */
.main-wrapper {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 24px 16px 48px;
}

.main-wrapper-wide {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 16px 80px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(236, 72, 153, 0.4);
}

.btn-primary:hover {
    color: var(--white);
    box-shadow: 0 6px 28px rgba(236, 72, 153, 0.5);
}

.btn-secondary {
    background: var(--white);
    color: var(--link);
    border: 2px solid var(--border);
    box-shadow: var(--card-shadow);
}

.btn-secondary:hover {
    color: var(--link-hover);
    border-color: var(--link);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

/* Home - Hero */
.hero-dating {
    background: linear-gradient(135deg, #312e81 0%, #6366f1 45%, #ec4899 100%);
    color: var(--white);
    border-radius: var(--radius);
    padding: 48px 28px 56px;
    text-align: center;
    margin: 20px 0 28px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.35);
}

.hero-dating::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero-dating h1 {
    font-size: clamp(1.6rem, 5vw, 2.25rem);
    margin-bottom: 14px;
    color: var(--white);
    line-height: 1.25;
    position: relative;
}

.hero-dating .hero-sub {
    max-width: 520px;
    margin: 0 auto 28px;
    opacity: 0.92;
    font-size: clamp(0.95rem, 2.5vw, 1.08rem);
    position: relative;
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    position: relative;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    justify-content: center;
    margin-top: 28px;
    font-size: 13px;
    opacity: 0.9;
    position: relative;
}

.hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Stats bar */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 32px;
}

.stat-item {
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 18px 12px;
    text-align: center;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border);
}

.stat-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1.2;
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Quick nav grid */
.quick-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 36px;
}

.quick-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 12px;
    background: var(--white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    box-shadow: var(--card-shadow);
    text-decoration: none;
    color: var(--text);
    transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.quick-nav-item:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow: 0 8px 28px rgba(236, 72, 153, 0.15);
    color: var(--text);
    text-decoration: none;
}

.quick-nav-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    background: var(--accent-soft);
}

.quick-nav-item span {
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
}

/* Section titles */
.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.section-head h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
}

.section-head a {
    font-size: 14px;
    font-weight: 600;
}

.section-block {
    margin-bottom: 40px;
}

/* Member cards */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
}

.member-card {
    background: var(--white);
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--card-shadow);
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s, box-shadow 0.15s;
}

.member-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.18);
    text-decoration: none;
    color: inherit;
}

.member-photo-wrap {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.member-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-online {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 10px;
    height: 10px;
    background: var(--success);
    border: 2px solid var(--white);
    border-radius: 50%;
}

.member-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.55);
    color: var(--white);
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 999px;
    font-weight: 600;
}

.member-info {
    padding: 12px;
}

.member-name {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 2px;
}

.member-meta {
    font-size: 12px;
    color: var(--text-muted);
}

.member-tag {
    display: inline-block;
    margin-top: 6px;
    font-size: 11px;
    background: var(--accent-soft);
    color: var(--accent-dark);
    padding: 2px 8px;
    border-radius: 999px;
    font-weight: 500;
}

/* How it works */
.steps-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.step-card {
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 24px 20px;
    text-align: center;
    border: 1px solid var(--border);
    box-shadow: var(--card-shadow);
}

.step-num {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--link), var(--accent));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin: 0 auto 12px;
    font-size: 14px;
}

.step-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.step-card p {
    font-size: 13px;
    color: var(--text-muted);
}

/* City pills */
.city-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.city-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    box-shadow: var(--card-shadow);
    transition: border-color 0.15s, background 0.15s;
}

.city-pill:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
    color: var(--text);
    text-decoration: none;
}

/* Forum preview */
.forum-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.forum-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    background: var(--white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.forum-item:hover {
    border-color: var(--link);
    box-shadow: var(--card-shadow);
    text-decoration: none;
    color: inherit;
}

.forum-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--link), var(--accent));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.forum-body h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.4;
}

.forum-body p {
    font-size: 12px;
    color: var(--text-muted);
}

.forum-replies {
    margin-left: auto;
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

/* Forum thread page */
.breadcrumb {
    font-size: 14px;
    margin-bottom: 16px;
}

.breadcrumb a {
    color: var(--link);
    text-decoration: none;
}

.forum-thread-head h1 {
    font-size: 1.35rem;
    margin-bottom: 8px;
    line-height: 1.35;
}

.forum-thread-meta {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.forum-post {
    display: flex;
    gap: 14px;
    padding: 16px 18px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
}

.forum-post-op {
    border-color: var(--link);
    background: var(--accent-soft);
}

.forum-post-body p {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.6;
}

.forum-post-body p:last-child {
    margin-bottom: 0;
}

.members-empty {
    text-align: center;
    padding: 32px 16px;
    color: var(--text-muted);
    font-size: 15px;
}

.members-count {
    font-size: 14px;
    color: var(--text-muted);
}

/* Guide cards horizontal scroll */
.guide-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.guide-mini-card {
    flex: 0 0 260px;
    background: var(--white);
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--card-shadow);
    text-decoration: none;
    color: inherit;
}

.guide-mini-card:hover {
    text-decoration: none;
    color: inherit;
    box-shadow: 0 8px 28px rgba(99, 102, 241, 0.15);
}

.guide-mini-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.guide-mini-card div {
    padding: 14px;
}

.guide-mini-card h3 {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text);
}

/* Testimonials */
.testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--card-shadow);
}

.testimonial-card p {
    font-size: 14px;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 12px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.testimonial-author img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author strong {
    font-size: 13px;
    display: block;
}

.testimonial-author span {
    font-size: 11px;
    color: var(--text-muted);
}

/* CTA banner */
.cta-banner {
    background: linear-gradient(135deg, var(--accent-soft) 0%, #ede9fe 100%);
    border-radius: var(--radius);
    padding: 32px 28px;
    text-align: center;
    border: 1px solid #fbcfe8;
    margin-top: 20px;
}

.cta-banner h2 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.cta-banner p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 15px;
}

/* Forms */
.form-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border);
    padding: 32px 28px;
    max-width: 480px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--link);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-note {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 16px;
}

/* Filter bar */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    padding: 16px;
    background: var(--white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.filter-bar select {
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    min-width: 120px;
    flex: 1;
}

.filter-bar .btn {
    flex-shrink: 0;
}

/* Page intro */
.page-intro {
    margin-bottom: 32px;
}

.page-intro h1 {
    font-size: clamp(1.35rem, 4vw, 1.75rem);
    color: var(--text);
    margin-bottom: 14px;
    line-height: 1.35;
}

.page-intro p {
    color: var(--text-muted);
    font-size: 15px;
}

.page-intro .intro-short { display: inline; }
.page-intro .intro-full { display: none; }
.page-intro.expanded .intro-short { display: none; }
.page-intro.expanded .intro-full { display: inline; }

.read-more-btn {
    color: var(--link);
    cursor: pointer;
    font-weight: 600;
    border: none;
    background: none;
    font-size: inherit;
    font-family: inherit;
    padding: 0;
}

/* Article cards */
.article-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.article-card {
    background: var(--white);
    border-radius: var(--radius-sm);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    border: 1px solid var(--border);
}

.article-card h2 {
    font-size: 1.1rem;
    padding: 16px 18px 0;
    line-height: 1.4;
}

.article-card h2 a {
    color: var(--text);
    text-decoration: none;
}

.article-card h2 a:hover {
    color: var(--link);
}

.article-body {
    display: flex;
    gap: 16px;
    padding: 14px 18px 18px;
    cursor: pointer;
}

.article-thumb {
    flex-shrink: 0;
    width: 180px;
    height: 120px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.article-excerpt {
    color: var(--text-muted);
    font-size: 14px;
    flex: 1;
}

/* Pagination */
.pagination {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination-label {
    font-weight: 600;
    color: var(--text-muted);
    margin-right: 8px;
    font-size: 14px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
}

.pagination a {
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--link);
    text-decoration: none;
}

.pagination a:hover {
    background: var(--link);
    color: var(--white);
    text-decoration: none;
}

.pagination .current {
    background: var(--link);
    color: var(--white);
    border: 1px solid var(--link);
}

/* Article detail */
.article-detail {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border);
    padding: 28px 24px;
}

.article-detail h1 {
    font-size: clamp(1.3rem, 4vw, 1.65rem);
    margin-bottom: 16px;
    line-height: 1.35;
}

.article-meta {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.article-featured-img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
}

.article-detail h2 {
    font-size: 1.2rem;
    margin: 28px 0 12px;
}

.article-detail p {
    margin-bottom: 16px;
    color: var(--text-muted);
    font-size: 15px;
}

.article-detail ul,
.article-detail ol {
    margin: 0 0 16px 24px;
    color: var(--text-muted);
}

.article-detail li { margin-bottom: 8px; }

.related-articles {
    margin-top: 36px;
    padding: 24px;
    border-top: 2px solid var(--border);
    background: #faf5ff;
    border-radius: var(--radius-sm);
}

.related-articles h2 {
    font-size: 1.1rem;
    margin: 0 0 14px;
}

.related-articles ul {
    margin: 0 0 16px 20px;
}

.article-detail h3 {
    font-size: 1.05rem;
    margin: 20px 0 10px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
}

/* Static pages */
.static-page {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border);
    padding: 28px 24px;
}

.static-page h1 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.static-page p {
    margin-bottom: 14px;
    color: var(--text-muted);
}

.static-page h2 {
    font-size: 1.15rem;
    margin: 24px 0 10px;
}

.static-page ul {
    margin: 0 0 16px 24px;
    color: var(--text-muted);
}

/* Legal notice / imprint */
.legal-notice-page .legal-lead {
    font-size: 14px;
    line-height: 1.6;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}

.legal-block {
    margin-bottom: 28px;
}

.legal-block h2 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 12px;
    text-transform: none;
}

.legal-brand {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px !important;
}

.legal-address {
    font-style: normal;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 12px 0 16px;
}

.legal-meta,
.legal-contact {
    margin: 0;
}

.legal-meta div,
.legal-contact div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.legal-meta div:last-child,
.legal-contact div:last-child {
    border-bottom: none;
}

.legal-meta dt,
.legal-contact dt {
    font-weight: 600;
    color: var(--text);
    min-width: 100px;
    flex-shrink: 0;
}

.legal-meta dd,
.legal-contact dd {
    margin: 0;
    color: var(--text-muted);
    flex: 1;
    min-width: 0;
    word-break: break-word;
}

.legal-contact a {
    color: var(--link);
    text-decoration: none;
}

.legal-contact a:hover {
    text-decoration: underline;
}

.legal-footnote {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 12px !important;
    opacity: 0.85;
}

.legal-updated {
    font-size: 13px;
    margin-top: 8px !important;
    margin-bottom: 0 !important;
}

/* Footer */
.site-footer {
    background: var(--header-dark);
    color: rgba(255, 255, 255, 0.85);
    padding: 32px 16px 24px;
    font-size: 13px;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 28px;
    margin-bottom: 28px;
    text-align: left;
}

.footer-brand {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--white);
}

.footer-desc {
    font-size: 13px;
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    padding: 4px 0;
    font-size: 13px;
}

.footer-col a:hover {
    color: var(--white);
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 20px;
    text-align: center;
    font-size: 12px;
    opacity: 0.7;
}

.footer-links-inline a {
    color: rgba(255, 255, 255, 0.75);
    margin: 0 8px;
    text-decoration: none;
}

/* Mobile bottom bar (home) */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    z-index: 99;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.mobile-bottom-bar a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 4px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
}

.mobile-bottom-bar a.active,
.mobile-bottom-bar a:hover {
    color: var(--accent);
    text-decoration: none;
}

.mobile-bottom-bar span:first-child {
    font-size: 1.25rem;
}

/* Responsive */
@media (max-width: 900px) {
    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-nav {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-row,
    .testimonials {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .legal-meta div,
    .legal-contact div {
        flex-direction: column;
        gap: 4px;
    }

    .legal-meta dt,
    .legal-contact dt {
        min-width: 0;
    }
}

@media (max-width: 640px) {
    .login-form {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .header-actions .btn-signup-header {
        display: none;
    }

    .site-header > .main-nav {
        display: none;
        flex-direction: column;
        padding-bottom: 12px;
        width: 100%;
    }

    .site-header > .menu-check:checked ~ .main-nav {
        display: flex;
    }

    .nav-link {
        border-radius: 8px;
        padding: 12px 16px;
    }

    .hero-dating {
        padding: 36px 20px 44px;
        margin-top: 12px;
    }

    .hero-cta-row {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-cta-row .btn {
        width: 100%;
    }

    .members-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .article-body {
        flex-direction: column;
    }

    .article-thumb {
        width: 100%;
        height: 180px;
    }

    .article-detail,
    .static-page {
        padding: 20px 16px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .filter-bar {
        flex-direction: column;
    }

    .filter-bar select {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .mobile-bottom-bar {
        display: flex;
    }

    body.has-mobile-bar {
        padding-bottom: 72px;
    }

    .forum-item {
        flex-wrap: wrap;
    }

    .forum-replies {
        margin-left: 54px;
    }

    .guide-mini-card {
        flex: 0 0 220px;
    }

    .cta-banner .btn {
        display: block;
        width: 100%;
        margin: 6px 0 0 !important;
    }
}

@media (min-width: 641px) {
    .header-actions .btn-signup-header {
        display: inline-flex;
    }
}
