/* =====================================================
   FUSIONEL.FR - Styles CSS Principal
   Site de rencontre - Design Flexbox
   ===================================================== */

:root {
    --rose-gold: #b76e79;
    --deep-burgundy: #722f37;
    --cream: #faf7f2;
    --warm-white: #fffef9;
    --soft-pink: #f5e6e8;
    --charcoal: #2d2d2d;
    --gold-accent: #d4a574;
    --success: #4caf50;
    --error: #f44336;
    --warning: #ff9800;
    --shadow-soft: 0 4px 30px rgba(114, 47, 55, 0.1);
    --shadow-medium: 0 8px 40px rgba(114, 47, 55, 0.15);
    --shadow-strong: 0 15px 60px rgba(114, 47, 55, 0.2);
    --gradient-romantic: linear-gradient(135deg, #b76e79 0%, #722f37 100%);
    --gradient-soft: linear-gradient(180deg, #faf7f2 0%, #f5e6e8 100%);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 50px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--cream);
    color: var(--charcoal);
    line-height: 1.6;
    min-height: 100vh;
}

/* =====================================================
   TYPOGRAPHY
   ===================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--gradient-romantic);
    color: white;
    box-shadow: 0 4px 20px rgba(183, 110, 121, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(183, 110, 121, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--deep-burgundy);
    border: 2px solid var(--rose-gold);
}

.btn-secondary:hover {
    background: var(--soft-pink);
    transform: translateY(-3px);
}

.btn-icon {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn-block {
    width: 100%;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* =====================================================
   NAVIGATION
   ===================================================== */

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(250, 247, 242, 0.95);
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

nav.scrolled {
    padding: 0.75rem 5%;
    box-shadow: var(--shadow-soft);
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--deep-burgundy);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo svg {
    width: 28px;
    height: 28px;
    fill: var(--rose-gold);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--charcoal);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-links a:not(.btn):hover {
    color: var(--deep-burgundy);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background: var(--deep-burgundy);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* =====================================================
   HERO SECTION
   ===================================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 5% 80px;
    background: var(--gradient-soft);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(183, 110, 121, 0.15) 0%, transparent 70%);
    animation: float 15s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}

.hero-content {
    max-width: 1400px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    color: var(--deep-burgundy);
    margin-bottom: 1.5rem;
}

.hero-text h1 span {
    display: block;
    color: var(--rose-gold);
    font-style: italic;
    font-weight: 400;
}

.hero-text p {
    font-size: 1.15rem;
    color: var(--charcoal);
    opacity: 0.8;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-cards {
    position: relative;
    width: 350px;
    height: 450px;
}

.profile-card {
    position: absolute;
    width: 280px;
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-strong);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-card:first-child {
    transform: rotate(-8deg);
    left: 0;
    top: 50px;
}

.profile-card:last-child {
    transform: rotate(5deg);
    right: 0;
    top: 0;
}

.profile-card:hover {
    transform: rotate(0deg) scale(1.05);
    z-index: 10;
}

.profile-img {
    width: 100%;
    height: 180px;
    border-radius: var(--radius-md);
    background: var(--gradient-romantic);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.profile-info {
    padding-top: 1rem;
}

.profile-info h3 {
    color: var(--deep-burgundy);
    margin-bottom: 0.25rem;
}

.profile-info > p {
    color: var(--charcoal);
    opacity: 0.7;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    padding: 0.375rem 0.75rem;
    background: var(--soft-pink);
    color: var(--deep-burgundy);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.match-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--gradient-romantic);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(183, 110, 121, 0.4);
}

/* =====================================================
   STATS SECTION
   ===================================================== */

.stats {
    padding: 4rem 5%;
    background: white;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem 2rem;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: var(--soft-pink);
    transform: translateY(-5px);
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--deep-burgundy);
}

.stat-label {
    color: var(--charcoal);
    opacity: 0.7;
}

/* =====================================================
   SECTIONS COMMUNES
   ===================================================== */

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    color: var(--deep-burgundy);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--charcoal);
    opacity: 0.7;
}

/* =====================================================
   FEATURES SECTION
   ===================================================== */

.features {
    padding: 6rem 5%;
    background: var(--cream);
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.feature-card {
    flex: 1 1 300px;
    max-width: 350px;
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--soft-pink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.75rem;
}

.feature-card h3 {
    color: var(--deep-burgundy);
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--charcoal);
    opacity: 0.7;
    font-size: 0.95rem;
}

/* =====================================================
   HOW IT WORKS
   ===================================================== */

.how-it-works {
    padding: 6rem 5%;
    background: white;
}

.steps-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem;
    background: var(--cream);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.step:hover {
    background: var(--soft-pink);
    transform: translateX(10px);
}

.step-number {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: var(--gradient-romantic);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.step-content h3 {
    color: var(--deep-burgundy);
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--charcoal);
    opacity: 0.7;
}

/* =====================================================
   TESTIMONIALS
   ===================================================== */

.testimonials {
    padding: 6rem 5%;
    background: var(--gradient-soft);
}

.testimonials-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.testimonial-card {
    flex: 1 1 300px;
    max-width: 380px;
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-romantic);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.testimonial-info h4 {
    color: var(--deep-burgundy);
    font-size: 1rem;
}

.testimonial-info p {
    font-size: 0.8rem;
    color: var(--charcoal);
    opacity: 0.6;
}

.testimonial-text {
    color: var(--charcoal);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.hearts-rating {
    color: var(--rose-gold);
    letter-spacing: 2px;
}

/* =====================================================
   PRICING
   ===================================================== */

.pricing {
    padding: 6rem 5%;
    background: white;
}

.pricing-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 2rem;
}

.pricing-card {
    flex: 1 1 300px;
    max-width: 350px;
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    position: relative;
    transition: all 0.4s ease;
}

.pricing-card.featured {
    background: var(--gradient-romantic);
    color: white;
    transform: scale(1.05);
    box-shadow: var(--shadow-strong);
}

.pricing-card:not(.featured):hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold-accent);
    color: white;
    padding: 0.4rem 1.25rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-card h3 {
    margin-bottom: 1rem;
}

.pricing-card.featured h3 {
    color: white;
}

.pricing-card:not(.featured) h3 {
    color: var(--deep-burgundy);
}

.price {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.price span {
    font-size: 1rem;
    opacity: 0.7;
}

.pricing-card:not(.featured) .price {
    color: var(--deep-burgundy);
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-features li {
    padding: 0.6rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-features li::before {
    content: '♥';
    color: var(--rose-gold);
}

.pricing-card.featured .pricing-features li::before {
    color: white;
}

.pricing-card .btn {
    width: 100%;
}

.pricing-card.featured .btn {
    background: white;
    color: var(--deep-burgundy);
}

/* =====================================================
   CTA SECTION
   ===================================================== */

.cta {
    padding: 6rem 5%;
    background: var(--gradient-soft);
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta h2 {
    color: var(--deep-burgundy);
    margin-bottom: 1rem;
}

.cta p {
    color: var(--charcoal);
    opacity: 0.7;
    margin-bottom: 2rem;
}

/* =====================================================
   FOOTER
   ===================================================== */

footer {
    background: var(--charcoal);
    color: white;
    padding: 4rem 5% 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    flex: 2;
    min-width: 250px;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 1rem;
}

.footer-brand .logo svg {
    fill: var(--rose-gold);
}

.footer-brand p {
    opacity: 0.7;
    max-width: 300px;
}

.footer-links {
    flex: 1;
    min-width: 150px;
}

.footer-links h4 {
    color: var(--rose-gold);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: white;
    opacity: 0.7;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--rose-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    opacity: 0.5;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: white;
    opacity: 0.5;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-legal a:hover {
    opacity: 1;
}

/* =====================================================
   FORMS
   ===================================================== */

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--soft-pink);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: var(--rose-gold);
    box-shadow: 0 0 0 4px rgba(183, 110, 121, 0.1);
}

.form-control::placeholder {
    color: var(--charcoal);
    opacity: 0.4;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

select.form-control {
    cursor: pointer;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-row .form-group {
    flex: 1;
}

.form-error {
    color: var(--error);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.form-success {
    color: var(--success);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

/* Gender Selection */
.gender-select {
    display: flex;
    gap: 1rem;
}

.gender-option {
    flex: 1;
    padding: 1rem;
    border: 2px solid var(--soft-pink);
    border-radius: var(--radius-md);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gender-option:hover {
    border-color: var(--rose-gold);
}

.gender-option.selected {
    border-color: var(--rose-gold);
    background: var(--soft-pink);
}

.gender-option input {
    display: none;
}

.gender-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

/* =====================================================
   AUTH PAGES (Login, Register)
   ===================================================== */

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--gradient-soft);
}

.auth-container {
    width: 100%;
    max-width: 450px;
    background: white;
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-strong);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header .logo {
    justify-content: center;
    margin-bottom: 1.5rem;
}

.auth-header h1 {
    color: var(--deep-burgundy);
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: var(--charcoal);
    opacity: 0.7;
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--soft-pink);
}

.auth-footer p {
    color: var(--charcoal);
    opacity: 0.7;
}

.auth-footer a {
    color: var(--deep-burgundy);
    font-weight: 600;
    text-decoration: none;
}

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

/* =====================================================
   DASHBOARD LAYOUT (App connecté)
   ===================================================== */

.app-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 280px;
    background: white;
    border-right: 1px solid var(--soft-pink);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 100;
    transition: transform 0.3s ease;
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--soft-pink);
}

.sidebar-nav {
    flex: 1;
    padding: 1rem 0;
    overflow-y: auto;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: var(--charcoal);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.sidebar-nav a:hover {
    background: var(--soft-pink);
    color: var(--deep-burgundy);
}

.sidebar-nav a.active {
    background: var(--soft-pink);
    color: var(--deep-burgundy);
    border-left-color: var(--rose-gold);
}

.sidebar-nav a .icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.sidebar-nav a .badge {
    margin-left: auto;
    background: var(--rose-gold);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
}

.sidebar-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--soft-pink);
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sidebar-user-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--gradient-romantic);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.sidebar-user-info h4 {
    font-size: 0.95rem;
    color: var(--charcoal);
}

.sidebar-user-info p {
    font-size: 0.8rem;
    color: var(--charcoal);
    opacity: 0.6;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 280px;
    background: var(--cream);
    min-height: 100vh;
}

.main-header {
    background: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--soft-pink);
    position: sticky;
    top: 0;
    z-index: 50;
}

.main-header h1 {
    font-size: 1.5rem;
    color: var(--deep-burgundy);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.notification-btn {
    position: relative;
    width: 44px;
    height: 44px;
    background: var(--soft-pink);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.notification-btn:hover {
    background: var(--rose-gold);
    color: white;
}

.notification-btn .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--error);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-content {
    padding: 2rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    background: var(--soft-pink);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--deep-burgundy);
    border-radius: 2px;
}

/* =====================================================
   DISCOVER PAGE (Swipe Cards)
   ===================================================== */

.discover-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 200px);
    padding: 2rem;
}

.swipe-card {
    width: 100%;
    max-width: 400px;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-strong);
    position: relative;
}

.swipe-card-image {
    width: 100%;
    height: 450px;
    background: var(--gradient-romantic);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    position: relative;
}

.swipe-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swipe-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
}

.swipe-card-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
}

.swipe-card-location {
    opacity: 0.8;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.swipe-card-bio {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.5;
}

.swipe-card-info {
    padding: 1.5rem;
}

.swipe-card-interests {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.swipe-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.swipe-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.swipe-btn:hover {
    transform: scale(1.1);
}

.swipe-btn.pass {
    background: white;
    color: var(--error);
}

.swipe-btn.like {
    background: var(--success);
    color: white;
}

.swipe-btn.superlike {
    background: var(--gold-accent);
    color: white;
}

/* =====================================================
   MATCHES PAGE
   ===================================================== */

.matches-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.match-card {
    flex: 1 1 250px;
    max-width: 300px;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    cursor: pointer;
}

.match-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.match-card-image {
    width: 100%;
    height: 200px;
    background: var(--gradient-romantic);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
}

.match-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.online-indicator {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 14px;
    height: 14px;
    background: var(--success);
    border: 3px solid white;
    border-radius: 50%;
}

.match-card-content {
    padding: 1.25rem;
}

.match-card-content h3 {
    color: var(--deep-burgundy);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.match-card-content p {
    color: var(--charcoal);
    opacity: 0.7;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.compatibility-score {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--rose-gold);
    font-weight: 600;
}

/* =====================================================
   MESSAGES PAGE
   ===================================================== */

.messages-container {
    display: flex;
    height: calc(100vh - 120px);
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.conversations-list {
    width: 350px;
    border-right: 1px solid var(--soft-pink);
    display: flex;
    flex-direction: column;
}

.conversations-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--soft-pink);
}

.conversations-header h2 {
    font-size: 1.25rem;
    color: var(--deep-burgundy);
}

.conversations-search {
    padding: 1rem;
    border-bottom: 1px solid var(--soft-pink);
}

.conversations-search input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--soft-pink);
    border-radius: var(--radius-xl);
    font-size: 0.9rem;
}

.conversations-items {
    flex: 1;
    overflow-y: auto;
}

.conversation-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--soft-pink);
    cursor: pointer;
    transition: background 0.3s ease;
}

.conversation-item:hover,
.conversation-item.active {
    background: var(--soft-pink);
}

.conversation-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-romantic);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    position: relative;
}

.conversation-avatar .online-indicator {
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    border-width: 2px;
}

.conversation-info {
    flex: 1;
    min-width: 0;
}

.conversation-info h4 {
    font-size: 0.95rem;
    color: var(--charcoal);
    margin-bottom: 0.25rem;
}

.conversation-info p {
    font-size: 0.85rem;
    color: var(--charcoal);
    opacity: 0.6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.conversation-meta {
    text-align: right;
}

.conversation-time {
    font-size: 0.75rem;
    color: var(--charcoal);
    opacity: 0.5;
}

.unread-badge {
    background: var(--rose-gold);
    color: white;
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: 0.25rem;
    display: inline-block;
}

/* Chat Area */
.chat-area {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.chat-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--soft-pink);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.chat-header-info h3 {
    font-size: 1rem;
    color: var(--charcoal);
}

.chat-header-info p {
    font-size: 0.8rem;
    color: var(--success);
}

.chat-messages {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    max-width: 70%;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
}

.message.sent {
    align-self: flex-end;
    background: var(--gradient-romantic);
    color: white;
    border-bottom-right-radius: 4px;
}

.message.received {
    align-self: flex-start;
    background: var(--soft-pink);
    color: var(--charcoal);
    border-bottom-left-radius: 4px;
}

.message-time {
    font-size: 0.7rem;
    opacity: 0.7;
    margin-top: 0.5rem;
}

.chat-input {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--soft-pink);
    display: flex;
    gap: 1rem;
    align-items: center;
}

.chat-input input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border: 1px solid var(--soft-pink);
    border-radius: var(--radius-xl);
    font-size: 0.95rem;
}

.chat-input input:focus {
    outline: none;
    border-color: var(--rose-gold);
}

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

.profile-page {
    max-width: 800px;
    margin: 0 auto;
}

.profile-header-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    margin-bottom: 2rem;
}

.profile-cover {
    height: 200px;
    background: var(--gradient-romantic);
}

.profile-header-content {
    padding: 0 2rem 2rem;
    display: flex;
    gap: 2rem;
    align-items: flex-end;
    margin-top: -60px;
}

.profile-avatar-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--soft-pink);
    border: 4px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    box-shadow: var(--shadow-soft);
}

.profile-header-info {
    flex: 1;
    padding-bottom: 1rem;
}

.profile-header-info h1 {
    color: var(--deep-burgundy);
    margin-bottom: 0.25rem;
}

.profile-header-info p {
    color: var(--charcoal);
    opacity: 0.7;
}

.profile-section {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-soft);
}

.profile-section h2 {
    font-size: 1.25rem;
    color: var(--deep-burgundy);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--soft-pink);
}

.profile-photos-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.profile-photo {
    width: 150px;
    height: 150px;
    border-radius: var(--radius-md);
    background: var(--soft-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.profile-photo:hover {
    transform: scale(1.05);
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-photo.add-photo {
    border: 2px dashed var(--rose-gold);
    color: var(--rose-gold);
    font-size: 2rem;
}

.info-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.info-item {
    flex: 1 1 200px;
}

.info-item label {
    display: block;
    font-size: 0.85rem;
    color: var(--charcoal);
    opacity: 0.6;
    margin-bottom: 0.25rem;
}

.info-item span {
    font-weight: 500;
    color: var(--charcoal);
}

/* =====================================================
   SETTINGS PAGE
   ===================================================== */

.settings-nav {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.settings-nav-item {
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-xl);
    background: white;
    color: var(--charcoal);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.settings-nav-item:hover,
.settings-nav-item.active {
    background: var(--gradient-romantic);
    color: white;
}

.settings-section {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-soft);
}

.settings-section h2 {
    font-size: 1.25rem;
    color: var(--deep-burgundy);
    margin-bottom: 1.5rem;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--soft-pink);
}

.setting-item:last-child {
    border-bottom: none;
}

.setting-info h4 {
    font-size: 0.95rem;
    color: var(--charcoal);
    margin-bottom: 0.25rem;
}

.setting-info p {
    font-size: 0.85rem;
    color: var(--charcoal);
    opacity: 0.6;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    width: 50px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--soft-pink);
    border-radius: 26px;
    transition: 0.3s;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: 0.3s;
}

.toggle-switch input:checked + .toggle-slider {
    background: var(--rose-gold);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

/* =====================================================
   EMPTY STATES
   ===================================================== */

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.empty-state h3 {
    color: var(--deep-burgundy);
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--charcoal);
    opacity: 0.7;
    margin-bottom: 1.5rem;
}

/* =====================================================
   ALERTS & NOTIFICATIONS
   ===================================================== */

.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.alert-success {
    background: rgba(76, 175, 80, 0.1);
    color: var(--success);
    border: 1px solid var(--success);
}

.alert-error {
    background: rgba(244, 67, 54, 0.1);
    color: var(--error);
    border: 1px solid var(--error);
}

.alert-warning {
    background: rgba(255, 152, 0, 0.1);
    color: var(--warning);
    border: 1px solid var(--warning);
}

/* =====================================================
   MODALS
   ===================================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 2rem;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: white;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--soft-pink);
}

.modal-header h2 {
    color: var(--deep-burgundy);
    font-size: 1.5rem;
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    padding: 1rem 2rem 2rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    background: var(--soft-pink);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--deep-burgundy);
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--rose-gold);
    color: white;
}

/* =====================================================
   LOADING STATES
   ===================================================== */

.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--soft-pink);
    border-top-color: var(--rose-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .conversations-list {
        width: 100%;
    }
    
    .chat-area {
        display: none;
    }
    
    .chat-area.active {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 200;
        background: white;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow-medium);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu {
        display: flex;
    }
    
    .hero-cards {
        width: 280px;
        height: 380px;
    }
    
    .profile-card {
        width: 220px;
    }
    
    .stats-container {
        flex-direction: column;
        align-items: center;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .profile-header-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .messages-container {
        flex-direction: column;
    }
    
    .pricing-card.featured {
        transform: none;
    }
}

@media (max-width: 480px) {
    .auth-container {
        padding: 2rem 1.5rem;
    }
    
    .page-content {
        padding: 1rem;
    }
    
    .swipe-card-image {
        height: 350px;
    }
    
    .gender-select {
        flex-direction: column;
    }
}
