/* Header Base Styles */
.header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0479ff;
    text-decoration: none;
}

/* Navigation */
.nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
}

.nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.2s;
}

.nav ul li a:hover,
.nav ul li a.active {
    color: #0479ff;
}

/* Header Left Buttons Area */
.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Post Ad Link Style (Matching about.html) */
.post-ad-link {
    text-decoration: none;
    color: #555;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.post-ad-link:hover {
    color: #0479ff;
}

/* Auth Button Style (Matching about.html) */
.auth-btn {
    background: #0479ff;
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background-color 0.3s ease;
}

.auth-btn:hover {
    background: #0356c2;
}

/* Menu Toggle (Mobile) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Page Specific Styles - Privacy Content */
.rules-header {
    background: linear-gradient(135deg, #011857, #0479ff);
    color: #fff;
    text-align: center;
    padding: 40px 20px;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.rules-header h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.rules-header p {
    max-width: 700px;
    margin: auto;
    font-size: 1rem;
    line-height: 1.6;
}

.rules-container {
    max-width: 1000px;
    margin: 30px auto;
    padding: 20px;
}

.rule {
    background: #fff;
    margin-bottom: 20px;
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s;
}

.rule:hover {
    transform: translateY(-3px);
}

.rule h2 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #0479ff;
}

.rule p, .rule li {
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: #444;
    line-height: 1.6;
}

.rule ul {
    padding-right: 20px;
    list-style-type: disc;
}

.rules-footer {
    background: #1f2937;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 30px;
    border-radius: 20px 20px 0 0;
}

.rules-footer p {
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .rules-header h1 {
        font-size: 1.5rem;
    }
    .rule h2 {
        font-size: 1.1rem;
    }
    .rule p, .rule li {
        font-size: 0.9rem;
    }
    .nav ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav {
        display: none; 
    }
}
