:root {
    --primary-color: #ff6b6b;
    --secondary-color: #4ecdc4;
    --accent-color: #ffe66d;
    --dark-color: #1a535c;
    --light-color: #f7fff7;
    --text-color: #333;
    --text-light: #666;
    --border-color: #ddd;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 15px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f8f9fa;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Helper classes */
.text-center {
    text-align: center;
}

.flex {
    display: flex;
}

.flex-wrap {
    flex-wrap: wrap;
}

.justify-between {
    justify-content: space-between;
}

.align-center {
    align-items: center;
}

header {
    background-color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
}

.logo a {
    text-decoration: none;
    color: var(--primary-color);
    display: inline-block;
}

/* Desktop Navigation */
.desktop-nav {
    display: block;
}

.desktop-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.desktop-nav ul li {
    margin-left: 25px;
}

.desktop-nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    font-size: 1rem;
    padding: 5px 0;
    position: relative;
}

.desktop-nav ul li a:hover {
    color: var(--primary-color);
}

.desktop-nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.desktop-nav ul li a:hover::after {
    width: 100%;
}

/* Mobile Navigation Toggle */
.mobile-menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--dark-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    background-color: white;
    border-top: 1px solid var(--border-color);
}

.mobile-nav.active {
    display: block;
}

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

.mobile-nav ul li {
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav ul li:last-child {
    border-bottom: none;
}

.mobile-nav ul li a {
    display: block;
    padding: 15px 0;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

.mobile-nav ul li a:hover {
    color: var(--primary-color);
    background-color: #f8f9fa;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-color), #ff4c4c);
    color: white;
    padding: 80px 0;
    text-align: center;
}

/* Hero section styling */
.hero {
    padding: 30px 0;
    background-color: #f8f9fa;
    text-align: center;
    margin-top: 10px; /* Reduced space from the header */
}

/* Footer styling */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 40px 0 20px;
    margin-top: 50px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

.footer-logo h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-logo h2 a {
    color: white;
    text-decoration: none;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.footer-links {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
}

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

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
}

.footer-disclaimer {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

.footer-disclaimer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Site card hover effects */
.site-card {
    transition: var(--transition);
}

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

/* Read more button styling */
.read-more {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    transition: var(--transition);
    position: relative;
    padding-right: 20px;
}

.read-more:before {
    content: '→';
    position: absolute;
    right: 0;
    transition: transform 0.3s ease;
}

.read-more:hover {
    color: #ff5252;
}

.read-more:hover:before {
    transform: translateX(5px);
}

/* Responsive adjustments */
/* Reset any conflicting styles that might cause vertical text */
.dating-sites .site-card h3 {
    writing-mode: horizontal-tb !important;
    -webkit-writing-mode: horizontal-tb !important;
    -ms-writing-mode: horizontal-tb !important;
    white-space: normal;
    text-align: center;
    display: block;
    float: none;
}

.dating-sites .site-card p {
    writing-mode: horizontal-tb !important;
    -webkit-writing-mode: horizontal-tb !important;
    -ms-writing-mode: horizontal-tb !important;
    white-space: normal;
    text-align: center;
    display: block;
    float: none;
}

@media (max-width: 768px) {
    /* Main content layout */
    .main-content .content-layout {
        flex-direction: column;
    }
    
    .main-section {
        width: 100%;
        margin-right: 0;
        margin-bottom: 30px;
    }
    
    .sidebar {
        width: 100%;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-logo,
    .footer-links,
    .footer-disclaimer {
        margin-bottom: 20px;
    }
    
    /* Mobile navigation */
    .desktop-nav {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Dating sites container */
    .dating-sites {
        display: block;
        padding: 0;
    }
    
    /* Site card basic structure */
    .site-card {
        position: relative;
        display: block;
        padding: 20px 15px;
        margin-bottom: 20px;
        min-height: auto;
        text-align: center;
        overflow: visible;
        clear: both;
    }
    
    /* Ranking badge */
    .site-ranking {
        position: absolute;
        top: 10px;
        left: 10px;
        padding: 4px 8px;
        font-size: 0.8rem;
        z-index: 1;
    }
    
    /* Most popular badge */
    .site-card:nth-child(1)::before {
        position: absolute;
        top: -8px;
        left: 50%;
        transform: translateX(-50%);
        padding: 2px 8px;
        font-size: 0.7rem;
        white-space: nowrap;
        z-index: 2;
    }
    
    /* Logo */
    .site-logo {
        width: 120px;
        height: 45px;
        margin: 0 auto 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        clear: both;
    }
    
    /* Site info - critical fix for text alignment */
    .site-info {
        width: 100%;
        margin-bottom: 15px;
        text-align: center;
        overflow: visible;
        clear: both;
        float: none;
        display: block;
    }
    
    .site-info h3 {
        font-size: 1.3rem;
        margin-bottom: 8px;
        white-space: normal;
        word-break: normal;
        line-height: 1.3;
        text-align: center;
        display: block;
        float: none;
        width: 100%;
        clear: both;
    }
    
    .site-info p {
        font-size: 0.9rem;
        margin-bottom: 0;
        white-space: normal;
        word-break: normal;
        line-height: 1.5;
        text-align: center;
        display: block;
        float: none;
        width: 100%;
        clear: both;
    }
    
    /* Rating section */
    .rating {
        width: 100%;
        padding: 15px 0;
        margin-bottom: 15px;
        border-top: 1px solid var(--border-color);
        border-bottom: 1px solid var(--border-color);
        border-left: none;
        text-align: center;
        display: block;
        clear: both;
        float: none;
    }
    
    .rating-score {
        font-size: 1.8rem;
        margin-bottom: 5px;
        display: inline-block;
    }
    
    .stars {
        font-size: 1rem;
        margin-bottom: 5px;
        display: block;
    }
    
    .rating-text {
        font-size: 0.9rem;
        display: block;
    }
    
    /* Visit buttons */
    .visit-btn {
        width: 100%;
        margin-left: 0;
        margin-bottom: 10px;
        padding: 12px 20px;
        font-size: 1rem;
        text-align: center;
        display: block;
        clear: both;
    }
    
    /* Hide site link */
    .site-link {
        display: none;
    }
    
    /* Limit logo size */
    .brand-logo {
        max-height: 40px;
    }
    
    /* Adjust font sizes for better readability */
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .top-sites-section h2,
    .safety-section h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .site-card {
        flex-direction: column;
        text-align: center;
    }
    
    .site-ranking,
    .site-logo,
    .site-info,
    .rating {
        margin-bottom: 15px;
    }
    
    .visit-btn {
        width: 100%;
    }
}

/* Safety section styling */
.safety-section {
    padding: 80px 0;
    background-color: white;
}

.safety-section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.2rem;
    color: var(--dark-color);
    font-weight: 700;
}

.safety-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.safety-image {
    width: 100%;
    max-width: 500px;
    margin: 0 auto 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.safety-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 30px;
}

/* Success stories styling */
.success-stories {
    background-color: #f8f9fa;
    padding: 60px 0;
    margin-top: 50px;
}

.success-stories h2 {
    text-align: center;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.success-stories .subtitle {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--text-light);
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.story-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.story-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.story-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-right: 15px;
}

.story-info h4 {
    margin: 0 0 5px;
    color: var(--dark-color);
}

.story-info .location {
    color: var(--secondary-color);
    font-size: 0.85rem;
    font-weight: 600;
}

.story-card p {
    color: var(--text-color);
    line-height: 1.7;
}`}]}}}

.hero-content h1 {
    margin-bottom: 10px;
}

.hero-content p {
    margin-top: 10px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px 20px; /* Add top padding to increase space */
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    line-height: 1.2;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.primary-btn {
    background-color: white;
    color: var(--primary-color);
    border: none;
    padding: 14px 28px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    min-width: 160px;
}

.primary-btn:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.secondary-btn {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    padding: 14px 28px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    min-width: 160px;
}

.secondary-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.top-sites-section {
    padding: 80px 0;
    background-color: white;
}

.top-sites-section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.2rem;
    color: var(--dark-color);
    font-weight: 700;
}

.dating-sites {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 50px;
    width: 100%;
}

/* Ensure all cards have consistent styling for vertical layout */
.site-card {
    width: 100%;
}

/* Adjust site logo position to work well with ranking badge */
.site-logo {
    margin-top: 10px;
    margin-bottom: 15px;
}

.site-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 25px 30px;
    padding-left: 60px; /* Add left padding for ranking badge */
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid var(--border-color);
    overflow: visible;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    min-height: 150px;
    width: 100%;
    border: 1px solid #e0e0e0;
}

/* Make site-card responsive by default */
@media (max-width: 768px) {
    /* Ensure the site-link is hidden on mobile */
    .site-link {
        display: none !important;
    }
    
    /* Ensure all text elements are properly sized for mobile */
    .rating-text {
        font-size: 0.9rem;
    }
    
    /* Fix site info overflow issue */
    .site-info {
        width: 100%;
        overflow: visible;
        text-overflow: clip;
        white-space: normal;
        display: block;
        text-align: center;
    }
    
    /* Make sure brand logos scale properly */
    .brand-logo {
        max-height: 40px;
        width: auto;
    }
    
    /* Ensure card layout is optimized for mobile */
    .dating-sites {
        display: block;
    }
    
    .site-card {
        width: 100%;
        box-sizing: border-box;
        margin-bottom: 20px;
        display: block !important;
    }
    
    /* Fix site info text display */
    .site-info h3 {
        font-size: 1.2rem;
        margin-bottom: 5px;
        white-space: normal;
        word-break: break-word;
        display: block;
        float: none;
        text-align: center;
    }
    
    .site-info p {
        font-size: 0.85rem;
        white-space: normal;
        word-break: break-word;
        line-height: 1.4;
        display: block;
        float: none;
        text-align: center;
    }
}

/* Main content area within the card */
.site-card > :not(.visit-btn) {
    flex-shrink: 0;
}

/* Make the site info area take remaining space */
.site-info {
    flex: 1;
    min-width: 0;
}

/* For the first card with 'Most popular choice' badge */
.site-card:nth-child(1) {
    border-color: #2ecc71;
}

/* Add the 'Most popular choice' badge */
.site-card:nth-child(1)::before {
    content: 'Most popular choice';
    position: absolute;
    top: -10px;
    left: 40px;
    background-color: #2ecc71;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 5;
}

.site-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

/* Site Ranking Badge - Bubble style */
.site-ranking {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
    background-color: #333;
    color: white;
    padding: 8px 12px;
    font-weight: bold;
    font-size: 1rem;
    border-radius: 6px 6px 6px 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    z-index: 10;
    text-align: center;
    min-width: 30px;
}

.site-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-top: 10px;
}

.site-logo {
    width: 150px;
    height: 60px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    background-color: #f8f9fa;
    border: 1px solid var(--border-color);
    overflow: hidden;
    flex-shrink: 0;
}

/* Brand Logo Styling */
.brand-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

/* Small Brand Logo for CTA Sections */
.brand-logo-small {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.site-info {
    flex: 1;
    padding-right: 20px;
}

.site-info h3 {
    margin: 0 0 8px 0;
    font-size: 1.5rem;
    color: var(--dark-color);
    font-weight: bold;
}

.site-info p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
}

.rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
    border-left: 1px solid var(--border-color);
    flex-shrink: 0;
}

.rating-score {
    font-weight: bold;
    color: #333;
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 5px;
}

.rating .stars {
    color: gold;
    font-size: 1rem;
    margin-bottom: 5px;
}

.rating-label {
    font-size: 0.9rem;
    color: var(--text-light);
    background-color: #f0f0f0;
    padding: 3px 10px;
    border-radius: 12px;
    white-space: nowrap;
}

.site-description {
    margin-bottom: 20px;
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.7;
}

.site-features {
    list-style: none;
    margin-bottom: 25px;
}

.site-features li {
    margin-bottom: 10px;
    padding-left: 22px;
    position: relative;
    font-size: 0.9rem;
    color: var(--text-light);
}

.site-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.site-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

.visit-btn {
    background-color: #e74c3c;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-block;
    text-align: center;
    min-width: 120px;
    flex-shrink: 0;
    margin-left: auto;
}

.rating-text {
    font-size: 0.85rem;
    color: #666;
    text-decoration: none;
}

.site-link {
    display: none;
}

.visit-btn:hover {
    background-color: #ff5252;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.read-review {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.95rem;
}

.read-review:hover {
    text-decoration: underline;
    color: #ff5252;
}

.sidebar {
    width: 300px;
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 25px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

/* Sidebar item styling */
.sidebar-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.sidebar-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.sidebar-item h3 {
    margin: 15px 0 10px 0;
    color: var(--dark-color);
    font-size: 1.2rem;
    font-weight: 600;
}

.sidebar-item p {
    font-size: 0.95rem;
    margin-bottom: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

.sidebar-item img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
}

.sidebar h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.sidebar-article {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.sidebar-article:hover {
    transform: translateX(5px);
}

.sidebar-article:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.sidebar-article h4 {
    margin-bottom: 12px;
    font-size: 1.1rem;
    line-height: 1.4;
}

.sidebar-article p {
    font-size: 0.9rem;
    margin-bottom: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
}

.read-more::after {
    content: '→';
    margin-left: 5px;
    transition: var(--transition);
}

.read-more:hover {
    text-decoration: underline;
}

.read-more:hover::after {
    margin-left: 8px;
}

.success-stories-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.success-stories-section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.2rem;
    color: var(--dark-color);
    font-weight: 700;
}

.stories-container {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.stories-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.story-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 25px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

.story-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.story-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.story-info h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: var(--dark-color);
}

.story-info .location {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.story-card p {
    color: var(--text-color);
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0;
}

.guide-section {
    padding: 80px 0;
    background-color: white;
}

.guide-section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.2rem;
    color: var(--dark-color);
    font-weight: 700;
}

.guide-content {
    display: flex;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.guide-content > div:first-child {
    flex: 2;
}

.guide-content > div:last-child {
    flex: 1;
    position: sticky;
    top: 100px;
    height: fit-content;
}

.guide-steps {
    margin-bottom: 40px;
}

.step {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.step:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.step h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.step p {
    color: var(--text-color);
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
}

.how-it-works-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.how-it-works-section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.2rem;
    color: var(--dark-color);
    font-weight: 700;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.steps-container .step {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.steps-container .step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.steps-container .step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: var(--primary-color);
}

.step-number {
    display: inline-flex;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(255, 107, 107, 0.3);
}

.steps-container .step h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
    color: var(--dark-color);
}

.steps-container .step p {
    color: var(--text-color);
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0;
}

/* CTA Section */
.cta-section {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
    border: 1px solid var(--border-color);
}

.cta-section h3 {
    margin-bottom: 25px;
    font-size: 1.3rem;
    color: var(--dark-color);
}

.cta-sites {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cta-site {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.cta-site:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.cta-site-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cta-site-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-section h4 {
    margin-bottom: 25px;
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.footer-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 15px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-bottom p {
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-bottom p:last-child {
    margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .container {
        padding: 0 20px;
    }
    
    .stories-container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        position: static;
    }
    
    .guide-content {
        flex-direction: column;
    }
    
    .guide-content > div:last-child {
        position: static;
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 12px 0;
    }

    .logo h1 {
        font-size: 1.3rem;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .primary-btn, .secondary-btn {
        width: 100%;
        max-width: 300px;
    }

    .top-sites-section {
        padding: 60px 0;
    }

    .top-sites-section h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .sites-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .site-card {
        padding: 20px;
    }

    .site-ranking {
        padding: 4px 12px;
        font-size: 0.8rem;
    }

    .site-logo {
        width: 120px;
        height: 50px;
        border-radius: 6px;
    }

    .success-stories-section {
        padding: 60px 0;
    }

    .success-stories-section h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .stories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .guide-section {
        padding: 60px 0;
    }

    .guide-section h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
        text-align: left;
    }

    .step h3 {
        font-size: 1.2rem;
    }

    .cta-section {
        padding: 20px;
    }

    .cta-site {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .cta-site .visit-btn {
        width: 100%;
        text-align: center;
    }

    /* Mobile layout for content */
    .content-layout {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        position: static;
        margin-top: 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-section h4 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    /* General adjustments */
    .container {
        padding: 0 8px;
    }
    
    /* Hero section */
    .hero-section {
        padding: 25px 0;
    }
    
    .hero {
        padding: 10px 0;
    }
    
    .hero-content {
        padding: 10px 5px 5px;
    }
    
    .hero-content h1 {
        font-size: 1.3rem;
        margin-bottom: 10px;
        line-height: 1.3;
    }
    
    .hero-content p {
        font-size: 0.85rem;
        margin-bottom: 15px;
        line-height: 1.5;
    }
    
    /* Site card adjustments - ensure block layout */
    .site-card {
        display: block !important;
        padding: 15px 10px;
        margin-bottom: 15px;
        text-align: center;
    }
    
    /* Ensure text elements are horizontal */
    .site-card h3,
    .site-card p {
        writing-mode: horizontal-tb !important;
        white-space: normal;
        text-align: center;
        display: block !important;
        float: none !important;
        width: 100% !important;
    }
    
    .site-ranking {
        padding: 2px 6px;
        font-size: 0.7rem;
        top: 8px;
        left: 8px;
    }
    
    /* Most popular badge */
    .site-card:nth-child(1)::before {
        font-size: 0.65rem;
        padding: 2px 6px;
        top: -6px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    /* Logo size */
    .site-logo {
        width: 100px;
        height: 40px;
        margin: 0 auto 8px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    /* Site info text */
    .site-info {
        width: 100% !important;
        margin-bottom: 10px;
        display: block !important;
        text-align: center !important;
    }
    
    .site-info h3 {
        font-size: 1.1rem;
        margin-bottom: 5px;
        line-height: 1.2;
    }
    
    .site-info p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    /* Rating section */
    .rating {
        padding: 10px 0;
        margin-bottom: 10px;
        width: 100% !important;
        text-align: center !important;
        display: block !important;
    }
    
    .rating-score {
        font-size: 1.5rem;
    }
    
    .stars {
        font-size: 0.9rem;
    }
    
    .rating-text {
        font-size: 0.8rem;
    }
    
    /* Visit buttons */
    .visit-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
        width: 100% !important;
        display: block !important;
    }
    
    /* Spacing adjustments */
    .main-content {
        padding: 15px 0;
    }
    
    .top-sites-section, .safety-section {
        padding: 25px 0;
    }
    
    .top-sites-section h2, .safety-section h2 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
    
    /* CTA buttons */
    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .primary-btn, .secondary-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
        width: 100%;
    }
    
    /* Sidebar */
    .sidebar {
        padding: 10px;
    }
    
    .sidebar-item {
        margin-bottom: 15px;
    }
    
    .sidebar-item h3 {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    .sidebar-item p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    /* Footer */
    .footer-content {
        gap: 15px;
    }
    
    .footer-bottom p {
        font-size: 0.75rem;
    }
    
    /* Text readability */
    body {
        font-size: 0.85rem;
    }
    
    /* Success stories */
    .stories-grid {
        gap: 15px;
    }
    
    .success-stories {
        padding: 25px 0;
    }
    
    .success-stories h2 {
        font-size: 1.3rem;
    }
    
    .story-card {
        padding: 15px;
    }
    
    /* Ensure dating sites container works well on mobile */
    .dating-sites {
        display: block !important;
        gap: 0;
    }
}

/* Mobile menu animation */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Main Content Layout */
.main-content {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.content-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.main-section {
    flex: 1;
    min-width: 0;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Ensure images load properly */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Placeholder for logo images */
.site-logo, .cta-site-logo {
    background-color: #f0f0f0;
    color: #999;
    font-size: 1.2rem;
    font-weight: bold;
}