:root {
    /* New Color Palette */
    --primary: #e63946;       /* Vibrant red */
    --secondary: #457b9d;     /* Deep blue */
    --accent: #a8dadc;        /* Soft teal */
    --dark: #1d3557;          /* Navy blue */
    --light: #f1faee;         /* Cream white */
    --text: #2b2d42;         /* Dark gray */
    --highlight: #ff9f1c;     /* Golden yellow */
    
    /* New Design Elements */
    --shadow: 0 8px 20px rgba(29, 53, 87, 0.15);
    --african-pattern: url('https://www.transparenttextures.com/patterns/african-cloth.png');
    --gradient: linear-gradient(135deg, #e63946, #457b9d);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    /* New Fonts */
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Poppins', sans-serif;
    --accent-font: 'Dancing Script', cursive;
}

/* Base Styles */
body {
    font-family: var(--body-font);
    background-color: var(--light);
    margin: 0;
    padding: 0;
    color: var(--text);
    line-height: 1.8;
    background-image: var(--african-pattern);
    background-blend-mode: overlay;
    background-attachment: fixed;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header - Bold & Contemporary */
header {
    background: var(--gradient);
    color: white;
    padding: 100px 0;
    border-radius: 0 0 30px 30px;
    margin-bottom: 60px;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--african-pattern);
    opacity: 0.15;
    pointer-events: none;
}

header h1 {
    font-family: var(--heading-font);
    font-size: 4rem;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
    font-weight: 700;
}

.tagline {
    font-family: var(--accent-font);
    font-size: 2.2rem;
    margin-top: 15px;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* New Site Introduction Section */
.site-intro {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin: 0 auto 50px;
    max-width: 900px;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.site-intro::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
}

.intro-title {
    font-family: var(--heading-font);
    color: var(--dark);
    font-size: 2rem;
    margin-bottom: 20px;
}

.intro-text {
    font-size: 1.1rem;
    margin-bottom: 25px;
}

/* What Makes Relationships Fun Section */
.fun-factors {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.fun-factor {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.fun-factor:hover {
    transform: translateY(-10px);
}

.fun-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.fun-title {
    font-family: var(--heading-font);
    color: var(--dark);
    margin-bottom: 15px;
}

/* African Sweet Pickup Lines Section */
.pickup-lines {
    background: var(--dark);
    color: white;
    border-radius: 20px;
    padding: 50px;
    margin: 60px 0;
    text-align: center;
}

.pickup-title {
    font-family: var(--heading-font);
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: var(--highlight);
}

.pickup-line {
    font-style: italic;
    font-size: 1.2rem;
    margin: 20px 0;
    position: relative;
    display: inline-block;
}

.pickup-line::before,
.pickup-line::after {
    content: '"';
    font-size: 1.5rem;
    color: var(--highlight);
}

/* Search Filters - Modern & Functional */
.search-filters {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 50px 0;
    flex-wrap: wrap;
}

.search-filters select, .search-filters button {
    padding: 15px 30px;
    border-radius: 50px;
    border: none;
    font-family: var(--body-font);
    font-weight: 600;
    transition: var(--transition);
    font-size: 1rem;
}

.search-filters select {
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    min-width: 220px;
    border: 2px solid var(--accent);
}

.search-filters button {
    background: var(--primary);
    color: white;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-filters button:hover {
    background: #c1121f;
    transform: translateY(-3px);
}

/* Profile Cards - Elegant & Interactive */
.profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    margin: 60px 0;
}

.profile-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    border: none;
}

.profile-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.profile-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient);
    transition: var(--transition);
}

.profile-card:hover::after {
    height: 8px;
}

.profile-image {
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.profile-image::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

.profile-content {
    padding: 30px;
}

.profile-content h3 {
    font-family: var(--heading-font);
    color: var(--dark);
    margin: 0 0 10px;
    font-size: 1.6rem;
}

.location {
    color: var(--primary);
    margin: 0 0 20px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bio {
    font-size: 1rem;
    margin-bottom: 25px;
    color: var(--text);
    line-height: 1.7;
}

.interests {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.interests span {
    background: var(--light);
    color: var(--primary);
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.traits {
    font-size: 0.95rem;
    color: var(--dark);
    opacity: 0.9;
    font-weight: 500;
}

.connect-button {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: var(--body-font);
}

.connect-button:hover {
    background: #c1121f;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(230, 57, 70, 0.3);
}

/* Footer - Clean & Professional */
footer {
    background: var(--dark);
    color: white;
    padding: 70px 0 40px;
    margin-top: 100px;
    text-align: center;
    border-radius: 30px 30px 0 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-tagline {
    font-family: var(--accent-font);
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--highlight);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
}

.footer-links a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--highlight);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--highlight);
}

.footer-links a:hover::after {
    width: 100%;
}

.copyright {
    opacity: 0.7;
    font-size: 0.95rem;
    margin-top: 30px;
}

/* Profile Detail Page Styles */
.profile-detail-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    margin: 50px 0 100px;
}

.profile-image-container {
    position: relative;
}

.profile-image-main {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.profile-actions {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.action-button {
    flex: 1;
    padding: 15px;
    border-radius: 10px;
    border: none;
    font-family: var(--body-font);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.action-button.primary {
    background: var(--primary);
    color: white;
}

.action-button.secondary {
    background: var(--accent);
    color: var(--dark);
}

.action-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.profile-info {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.profile-header {
    margin-bottom: 40px;
}

.profile-name {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    color: var(--dark);
    margin: 0 0 10px;
}

.profile-location {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-age {
    color: var(--text);
    opacity: 0.8;
}

.section-title {
    font-family: var(--heading-font);
    color: var(--dark);
    font-size: 1.8rem;
    margin: 30px 0 20px;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--primary);
}

/* Back Button */
.back-button {
    position: absolute;
    top: 30px;
    left: 30px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.back-button:hover {
    color: var(--highlight);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 50px 0;
}

.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: white;
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.pagination a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.pagination .current {
    background: var(--dark);
    color: white;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .profile-detail-container {
        grid-template-columns: 1fr;
    }
    
    .profile-image-main {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 992px) {
    header {
        padding: 80px 0;
    }
    
    header h1 {
        font-size: 3.2rem;
    }
    
    .tagline {
        font-size: 1.8rem;
    }
    
    .container {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 70px 0 60px;
        clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
    }
    
    header h1 {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.5rem;
    }
    
    .search-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .profiles-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .profile-detail-container {
        margin: 30px 0 70px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    header h1 {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1.3rem;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .profile-content {
        padding: 25px;
    }
    
    .back-button {
        top: 20px;
        left: 20px;
    }
}