:root {
    --bg-color: #f8f9fa;
    --text-color: #333;
    --accent-color: #6c5ce7;
    --card-bg: #ffffff;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --header-bg: #ffffff;
}

.dark-mode {
    --bg-color: #121212;
    --text-color: #e0e0e0;
    --accent-color: #9f94ff;
    --card-bg: #1e1e1e;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --header-bg: #1a1a1a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.3s, color 0.3s;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: var(--header-bg);
    box-shadow: 0 2px 10px var(--shadow-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: inline-block;
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.logo a {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    font-family: 'Arial Black', Arial, sans-serif;
}

/* Fallback for browsers that don't support background-clip: text */
@supports not (-webkit-background-clip: text) {
    .logo a {
        color: #667eea;
    }
}

/* Hover effect */
.logo a:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: scale(1.05);
}

/* Glowing effect on hover */
.logo a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    z-index: -1;
    border-radius: 8px;
    filter: blur(20px);
    transition: opacity 0.3s ease;
}

.logo a:hover::after {
    opacity: 0.3;
}

/* Dark mode adjustments */
@media (prefers-color-scheme: dark) {
    .logo a {
        background: linear-gradient(135deg, #9f94ff 0%, #c471f5 100%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    
    .logo a:hover {
        background: linear-gradient(135deg, #c471f5 0%, #9f94ff 100%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    
    .logo a::after {
        background: linear-gradient(135deg, #9f94ff 0%, #c471f5 100%);
    }
    
    @supports not (-webkit-background-clip: text) {
        .logo a {
            color: #9f94ff;
        }
    }
}

/* Alternative version with text shadow for better readability */
.logo.text-shadow a {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
}

@media (prefers-color-scheme: dark) {
    .logo.text-shadow a {
        background: linear-gradient(135deg, #9f94ff 0%, #c471f5 100%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        filter: drop-shadow(2px 2px 4px rgba(255,255,255,0.1));
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .logo {
        font-size: 1.4rem;
        letter-spacing: 1px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.2rem;
        letter-spacing: 0.5px;
    }
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Hamburger Menu */
.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 3px;
    transition: all 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Dark Mode Toggle */
.theme-toggle {
    position: relative;
    width: 60px;
    height: 30px;
    border-radius: 15px;
    background-color: #ccc;
    cursor: pointer;
    transition: background-color 0.3s;
}

.theme-toggle::after {
    content: '☀️';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: transform 0.3s;
}

.theme-toggle.dark {
    background-color: var(--accent-color);
}

.theme-toggle.dark::after {
    content: '🌙';
    transform: translateX(30px);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

@media screen and (max-width: 768px) {
    .nav-links {
        display: none;
    }
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.2rem;
}

.nav-links a:hover {
    /* color: var(--accent-color); */
    color: #aeaeae;
}

/* Navigation Menu */
.nav-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: var(--card-bg);
    box-shadow: -5px 0 15px var(--shadow-color);
    padding: 80px 2rem 2rem;
    transition: right 0.3s;
    z-index: 5;
}

.nav-menu.active {
    right: 0;
}

.nav-menu ul {
    list-style: none;
}

.nav-menu li {
    margin-bottom: 1.5rem;
}

.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--accent-color);
}

/* Search Section */
.search-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5rem 2rem;
    text-align: center;
}

.search-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.search-description {
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.search-bar {
    display: flex;
    width: 100%;
    max-width: 600px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    border: 2px solid var(--accent-color);
    border-radius: 50px;
    background-color: var(--card-bg);
    color: var(--text-color);
    outline: none;
    transition: box-shadow 0.3s;
}

.search-input:focus {
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.3);
}

.search-button {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    padding: 0 1.5rem;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.search-button:hover {
    background-color: #5649c0;
}

/* Gallery Section */
.gallery-section {
    padding: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.gallery-info {
    padding: 1rem;
}

.gallery-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.gallery-description {
    font-size: 0.9rem;
    color: #777;
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
    z-index: 4;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive */
@media (max-width: 768px) {
    .search-title {
        font-size: 2rem;
    }
    
    .search-description {
        font-size: 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    header {
        padding: 1rem;
    }
    
    .search-section {
        padding: 3rem 1rem;
    }
    
    .gallery-section {
        padding: 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

.page-section {
    padding: 2rem;
}

.page-grid {
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Stats */
.hero-stats {
    background: linear-gradient(135deg, var(--accent-color), #8b5cf6);
    color: white;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    text-align: center;
    padding: 0 2rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    margin: 0;
    font-weight: bold;
}

.stat-item p {
    margin: 0.5rem 0 0 0;
    opacity: 0.9;
    font-size: 1.1rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 0 2rem;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
}

/* Models Gallery */
.models-gallery {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.model-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px var(--shadow-color);
    transition: all 0.3s ease;
    position: relative;
}

.model-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px var(--shadow-color);
}

.model-image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: linear-gradient(45deg, #f0f0f0, #e0e0e0);
}

.model-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.model-card:hover .model-img {
    transform: scale(1.08);
}

.no-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-color), #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.model-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, transparent 100%);
}

.platform-badge {
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255,255,255,0.2);
}

.platform-badge.onlyfans {
    background: linear-gradient(135deg, #00AFF0, #0088CC);
}

.platform-badge.patreon {
    background: linear-gradient(135deg, #FF424D, #CC3540);
}

.platform-badge.fansly {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
}

.price-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: bold;
    border: 1px solid rgba(255,255,255,0.2);
}

.model-info {
    padding: 1.5rem;
    background: var(--card-bg);
}

.model-name {
    margin: 0 0 0.8rem 0;
}

.model-name a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.2;
    display: block;
    transition: color 0.3s ease;
}

.model-name a:hover {
    color: var(--accent-color);
}

.model-alias {
    color: #666;
    font-size: 0.9rem;
    margin: 0 0 0.8rem 0;
    font-style: italic;
    font-weight: 400;
}

.model-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0 0 1rem 0;
    min-height: 3rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.model-meta {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.gender {
    background: var(--accent-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    text-transform: capitalize;
    font-weight: 500;
}

.gender.female {
    background: linear-gradient(135deg, #ec4899, #be185d);
}

.gender.male {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.gender.other {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

/* Categories Section */
.categories-section {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background: var(--card-bg);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-color);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px var(--shadow-color);
}

.category-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px var(--shadow-color);
}

.category-card h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

/* No Models */
.no-models {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: var(--card-bg);
    border-radius: 16px;
    box-shadow: 0 4px 15px var(--shadow-color);
}

.no-models h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.no-models p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), #8b5cf6);
    color: white;
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5b4bc4, #7c3aed);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.platform-info {
    background: linear-gradient(135deg, #64748b, #475569);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Profile Page Styles */
.profile-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Profile Hero Section */
.profile-hero {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.profile-image-container {
    position: relative;
    width: 100%;
}

.profile-main-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.profile-main-image:hover {
    /*transform: scale(1.02);*/
}

.profile-no-image {
    width: 100%;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, var(--accent-color), #8b5cf6);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.platform-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

/* Profile Info */
.profile-info {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 30px var(--shadow-color);
    margin-bottom: 3rem;
}

.profile-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.profile-name {
    font-size: 2.5rem;
    margin: 0 0 0.5rem 0;
    color: var(--text-color);
    font-weight: 700;
}

.profile-alias {
    font-size: 1.2rem;
    color: #666;
    margin: 0 0 1rem 0;
    font-style: italic;
}

.platform-link {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color), #8b5cf6);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.platform-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

/* Profile Stats Grid */
.profile-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.profile-stats .stat-item {
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.profile-stats .stat-item:hover {
    transform: translateY(-2px);
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-stat .stat-number {
    color: #10b981;
}

.gender-stat .stat-number {
    color: #ec4899;
}

/* Profile Categories */
.profile-categories {
    margin-bottom: 2rem;
}

.profile-categories h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

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

.category-tag {
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.category-tag:hover {
    background: #5b4bc4;
    transform: translateY(-1px);
}

/* Profile About Section */
.profile-about {
    margin-bottom: 2rem;
}

.profile-about h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.about-content {
    line-height: 1.6;
    color: #666;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    max-height: 200px;
    overflow-y: auto;
}

/* Profile Gallery */
.profile-gallery {
    margin-bottom: 2rem;
}

.profile-gallery h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.profile-gallery .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.profile-gallery .gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 12px;
}

.profile-gallery .gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.profile-gallery .gallery-image:hover {
    transform: scale(1.1);
}

/* Similar Models */
.similar-models {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 30px var(--shadow-color);
}

.similar-models h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.similar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.similar-card {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.similar-card:hover {
    transform: translateY(-4px);
}

.similar-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.similar-image {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.similar-no-image {
    width: 100%;
    aspect-ratio: 3/4;
    background: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.similar-info {
    padding: 1rem;
}

.similar-info h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    color: var(--text-color);
}

.similar-info p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .stats-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .models-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1rem;
    }
    
    .models-gallery,
    .categories-section {
        padding: 1rem;
    }
    
    .section-header {
        padding: 0 1rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    /* Profile responsive */
    .profile-container {
        padding: 1rem;
    }
    
    .profile-name {
        font-size: 2rem;
    }
    
    .profile-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .similar-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .profile-gallery .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
}

@media (max-width: 480px) {
    .models-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .model-info {
        padding: 1rem;
    }
    
    .model-name a {
        font-size: 1.1rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
    
    .category-card {
        padding: 1.5rem 1rem;
    }
}

/* Dark mode specific adjustments */
.dark-mode .model-meta {
    border-top-color: #333;
}

.dark-mode .model-description {
    color: #bbb;
}

.dark-mode .model-alias {
    color: #aaa;
}

.dark-mode .section-header p {
    color: #aaa;
}

.dark-mode .profile-stats .stat-item {
    background: #2a2a2a;
}

.dark-mode .about-content {
    background: #2a2a2a;
    color: #ccc;
}

.dark-mode .similar-card {
    background: #2a2a2a;
}

.dark-mode .profile-header {
    border-bottom-color: #333;
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid #eee;
}

.pagination-btn {
    background: var(--accent-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    background: #5b4bc4;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.pagination-info {
    font-weight: 600;
    color: var(--text-color);
    padding: 0 1rem;
}

/* Dark mode pagination */
.dark-mode .pagination {
    border-top-color: #333;
}

/* Responsive pagination */
@media (max-width: 768px) {
    .pagination {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .pagination-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* Dropdown Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
}

.dropdown-toggle:hover {
    color: var(--accent-color);
}

.dropdown-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 8px 30px var(--shadow-color);
    border: 1px solid rgba(0,0,0,0.1);
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.dropdown-item:last-child {
    border-bottom: none;
    border-radius: 0 0 8px 8px;
}

.dropdown-item:first-child {
    border-radius: 8px 8px 0 0;
}

.dropdown-item:hover {
    background: var(--accent-color);
    color: white;
}

.gender-icon {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

/* Mobile Navigation Updates */
.mobile-section h4 {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 1.5rem 0 0.5rem 0;
    padding: 0 1rem;
}

.mobile-submenu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-submenu li {
    margin: 0;
}

.mobile-submenu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.mobile-submenu a:hover {
    color: var(--accent-color);
    border-left-color: var(--accent-color);
    background: rgba(108, 92, 231, 0.1);
}

/* Responsive Dropdown */
@media screen and (max-width: 768px) {
    .dropdown {
        display: none; /* Hide desktop dropdown on mobile */
    }
    
    .mobile-section {
        display: block;
    }
}

@media screen and (min-width: 769px) {
    .mobile-section {
        display: none; /* Hide mobile section on desktop */
    }
}

/* Dark mode dropdown styles */
.dark-mode .dropdown-menu {
    border-color: rgba(255,255,255,0.1);
}

.dark-mode .dropdown-item {
    border-bottom-color: rgba(255,255,255,0.05);
}

.dark-mode .mobile-submenu a:hover {
    background: rgba(159, 148, 255, 0.1);
}

.platform-icon {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

/* Platform-specific colors for dropdown items */
.dropdown-item:hover .platform-icon {
    filter: brightness(1.2);
}

/* Multiple dropdown support */
.nav-links .dropdown + .dropdown {
    margin-left: 0.5rem;
}

/* Improved dropdown positioning for multiple dropdowns */
.dropdown:nth-child(3) .dropdown-menu {
    left: -20px; /* Offset second dropdown slightly */
}

.dropdown:nth-child(4) .dropdown-menu {
    left: -40px; /* Offset third dropdown more */
}

/* Ensure dropdowns don't overlap on smaller screens */
@media screen and (max-width: 1024px) {
    .dropdown .dropdown-menu {
        left: 0;
        right: auto;
    }
    
    .dropdown:last-of-type .dropdown-menu {
        right: 0;
        left: auto;
    }
}