/* Club Dadvice - Modern Dad Community Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a202c;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: #1a202c;
    padding: 20px 0;
    text-align: center;
    margin-bottom: 15px;
    border-radius: 0 0 25px 25px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 3.2em;
    font-weight: 900;
    margin-bottom: 5px;
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4, #45b7d1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.tagline {
    font-size: 1.3em;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 0;
}

/* Ad Styles */
.top-banner-ad {
    text-align: center;
    margin: 10px 0;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

/* Filter Styles */
.filters {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    font-weight: bold;
    margin-bottom: 5px;
    color: #2c3e50;
}

.filter-group select,
.filter-group input {
    padding: 10px;
    border: 2px solid #ecf0f1;
    border-radius: 5px;
    font-size: 16px;
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: #3498db;
}

.filter-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* Button Styles */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    color: white;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

.btn-secondary {
    background-color: #95a5a6;
    color: white;
}

.btn-secondary:hover {
    background-color: #7f8c8d;
}

/* Article Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.article-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.article-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.article-header {
    padding: 25px;
    border-bottom: 1px solid #ecf0f1;
}

.article-title {
    font-size: 1.3em;
    margin-bottom: 10px;
    line-height: 1.3;
}

.article-title a {
    color: #2c3e50;
    text-decoration: none;
}

.article-title a:hover {
    color: #3498db;
}

.article-summary {
    color: #7f8c8d;
    font-style: italic;
    margin-bottom: 15px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.meta-tag {
    background-color: #ecf0f1;
    color: #2c3e50;
    padding: 4px 8px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: bold;
}

.meta-tag.content-type {
    background-color: #e8f5e8;
    color: #27ae60;
}

.meta-tag.urgency {
    background-color: #fff3cd;
    color: #f39c12;
}

.article-content {
    padding: 25px;
}

.article-excerpt {
    margin-bottom: 20px;
}

.article-scores {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 0.9em;
}

.score {
    text-align: center;
}

.score-value {
    font-weight: bold;
    font-size: 1.2em;
    color: #3498db;
}

.score-label {
    color: #7f8c8d;
    font-size: 0.8em;
}

/* Ad Card Styles */
.ad-card {
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.ad-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.ad-card .adsbygoogle {
    position: relative;
    z-index: 1;
}

/* No Articles State */
.no-articles {
    text-align: center;
    padding: 60px 20px;
    color: #7f8c8d;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.no-articles h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 40px 0;
}

.pagination a {
    padding: 10px 15px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #3498db;
    text-decoration: none;
    border-radius: 5px;
    border: 2px solid #3498db;
    backdrop-filter: blur(10px);
}

.pagination a:hover,
.pagination a.current {
    background-color: #3498db;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .filter-row {
        grid-template-columns: 1fr;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .logo {
        font-size: 2.5em;
    }
    
    .header {
        padding: 15px 0;
        margin-bottom: 10px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .filters {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 2em;
    }
    
    .tagline {
        font-size: 1.1em;
    }
    
    .article-card {
        margin-bottom: 20px;
    }
}