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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.nav-logo {
    font-size: 24px;
    font-weight: bold;
    color: #e74c3c;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: #e74c3c;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: bold;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.search-bar {
    max-width: 800px;
    margin: 0 auto 40px;
}

.search-form {
    display: flex;
    gap: 10px;
    background: white;
    padding: 10px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.search-input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
}

.search-select {
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    min-width: 150px;
}

/* Buttons */
.btn-primary,
.btn-cta {
    background-color: #e74c3c;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-primary:hover,
.btn-cta:hover {
    background-color: #c0392b;
}

.btn-cta {
    font-size: 18px;
    padding: 15px 40px;
}

/* Content Sections */
.content {
    padding: 60px 0;
}

.content h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 32px;
}

.content p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.feature {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.feature h3 {
    color: #e74c3c;
    margin-bottom: 15px;
    font-size: 20px;
}

/* Filters */
.filters {
    background: white;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.filters h2 {
    margin-bottom: 20px;
    font-size: 24px;
}

.filter-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    min-width: 150px;
}

/* Ads Grid */
.ads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.ad-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.3s;
}

.ad-card:hover {
    transform: translateY(-5px);
}

.ad-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #27ae60;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.ad-badge.premium {
    background-color: #f39c12;
}

.ad-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 18px;
}

.ad-card p {
    margin-bottom: 15px;
    color: #666;
}

.ad-meta {
    font-size: 14px;
    color: #999;
    margin-bottom: 20px;
}

/* Forms */
.publish-form {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.publish-form h2 {
    margin-bottom: 30px;
    color: #2c3e50;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.form-textarea {
    resize: vertical;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.form-terms {
    margin: 30px 0;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 5px;
}

/* Info Box */
.info-box {
    background: #ecf0f1;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 40px;
}

.info-box h3 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.info-box ul {
    padding-left: 20px;
}

.info-box li {
    margin-bottom: 10px;
}

/* Advice Sections */
.advice-sections {
    margin-bottom: 40px;
}

.advice-section {
    background: white;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.advice-section h2 {
    color: #e74c3c;
    margin-bottom: 20px;
    font-size: 28px;
}

.advice-section h3 {
    color: #2c3e50;
    margin: 25px 0 15px 0;
    font-size: 20px;
}

.advice-content ul {
    padding-left: 25px;
    margin-bottom: 20px;
}

.advice-content li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Regions */
.regions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.region-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.region-card h2 {
    color: #e74c3c;
    margin-bottom: 20px;
    font-size: 24px;
}

.region-description {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.8;
}

.region-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.stat {
    background-color: #ecf0f1;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.region-card h3 {
    color: #2c3e50;
    margin: 20px 0 10px 0;
}

.region-card ul {
    padding-left: 20px;
    margin-bottom: 25px;
}

.region-card li {
    margin-bottom: 8px;
}

.tips-section {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.tips-section h2 {
    color: #2c3e50;
    margin-bottom: 30px;
}

.tips-section h3 {
    color: #e74c3c;
    margin: 25px 0 15px 0;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 60px 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.cta-section h2,
.cta-section h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.cta-section p {
    color: #666;
    margin-bottom: 30px;
    font-size: 18px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.page-current,
.page-link {
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
}

.page-current {
    background-color: #e74c3c;
    color: white;
}

.page-link {
    background-color: white;
    color: #333;
    border: 1px solid #ddd;
}

.page-link:hover {
    background-color: #f8f9fa;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 30px 0;
    text-align: center;
    margin-top: 60px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        gap: 15px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .search-form {
        flex-direction: column;
        border-radius: 10px;
    }
    
    .search-input,
    .search-select {
        border-radius: 5px;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .filter-row {
        flex-direction: column;
    }
    
    .ads-grid {
        grid-template-columns: 1fr;
    }
    
    .regions-grid {
        grid-template-columns: 1fr;
    }
    
    .region-stats {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-menu {
        gap: 10px;
    }
    
    .nav-link {
        font-size: 14px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .publish-form,
    .info-box,
    .advice-section,
    .tips-section {
        padding: 20px;
    }
}