/* Archive Page Specific Styles */

.archive-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px 0 50px;
    position: relative;
    overflow: hidden;
}

.archive-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="90" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="30" cy="70" r="0.5" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: float 15s infinite linear;
}

.breadcrumb {
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.breadcrumb ol {
    display: flex;
    list-style: none;
    gap: 15px;
    align-items: center;
}

.breadcrumb li {
    display: flex;
    align-items: center;
}

.breadcrumb li:not(:last-child)::after {
    content: '>';
    margin-left: 15px;
    opacity: 0.7;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.breadcrumb a:hover {
    opacity: 1;
}

.archive-hero {
    text-align: center;
    position: relative;
    z-index: 2;
}

.archive-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    font-family: 'Fredoka One', cursive;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.archive-hero h1 i {
    color: #f093fb;
    margin-right: 15px;
}

.archive-subtitle {
    font-size: 1.4rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.archive-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.15);
    padding: 25px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    min-width: 120px;
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: bold;
    font-family: 'Fredoka One', cursive;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.archive-main {
    padding: 50px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

.archive-controls {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.search-container {
    flex: 1;
    min-width: 300px;
    display: flex;
    background: #f8f9fa;
    border-radius: 50px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.search-container:focus-within {
    border-color: #667eea;
}

#archive-search {
    flex: 1;
    padding: 15px 25px;
    border: none;
    background: transparent;
    font-size: 1rem;
    outline: none;
}

.filter-controls {
    display: flex;
    gap: 15px;
    align-items: center;
}

#sort-select {
    padding: 12px 20px;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    background: white;
    font-size: 0.9rem;
    outline: none;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

#sort-select:focus {
    border-color: #667eea;
}

.clear-btn {
    padding: 12px 20px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 0.9rem;
}

.clear-btn:hover {
    background: #c82333;
}

.results-info {
    background: white;
    padding: 20px 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.results-info p {
    margin: 0;
    font-weight: 600;
    color: #333;
}

.last-updated {
    color: #666;
    font-size: 0.9rem;
}

.archive-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.archive-videos {
    display: grid;
    gap: 20px;
}

.archive-video-item {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    border: 1px solid #e9ecef;
    border-radius: 15px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.archive-video-item:hover {
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.video-number {
    font-weight: bold;
    color: #667eea;
    margin-right: 20px;
    min-width: 50px;
    font-size: 1.1rem;
    background: white;
    padding: 8px 12px;
    border-radius: 10px;
    text-align: center;
}

.video-content {
    flex: 1;
}

.video-link {
    display: block;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.video-link:hover {
    color: #667eea;
}

.video-desc {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 10px;
}

.video-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.video-tag {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #1976d2;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.load-more-container {
    text-align: center;
    margin-top: 40px;
}

.load-more-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.popular-keywords {
    background: white;
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.popular-keywords h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #667eea;
    font-family: 'Fredoka One', cursive;
}

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

.keyword-btn {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #e9ecef;
    padding: 15px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #333;
}

.keyword-btn:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
}

.seo-content {
    background: white;
    padding: 50px 40px;
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.seo-content h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #667eea;
    font-family: 'Fredoka One', cursive;
}

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

.content-card {
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.content-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.content-card p {
    color: #666;
    line-height: 1.6;
}

.back-to-main {
    text-align: center;
}

.back-btn {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.back-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .archive-hero h1 {
        font-size: 2.5rem;
    }
    
    .archive-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .archive-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-container {
        min-width: auto;
    }
    
    .filter-controls {
        justify-content: space-between;
    }
    
    .results-info {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .archive-video-item {
        flex-direction: column;
        text-align: center;
    }
    
    .video-number {
        margin-right: 0;
        margin-bottom: 15px;
        align-self: center;
    }
    
    .keywords-grid {
        grid-template-columns: 1fr;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .archive-content,
    .popular-keywords,
    .seo-content {
        padding: 20px;
    }
    
    .archive-hero h1 {
        font-size: 2rem;
    }
    
    .stat-card {
        padding: 20px;
    }
}
