/* Archive/Category Page - Dark Theme */
.archive-main {
    background: linear-gradient(180deg, #0d1117 0%, #161b22 50%, #0d1117 100%);
    min-height: 100vh;
}

/* Archive Hero Section */
.archive-hero-section {
    background: linear-gradient(135deg, #0a1929 0%, #1a2332 50%, #0f3443 100%);
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 60px;
}

.archive-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 255, 157, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(0, 162, 255, 0.08) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.archive-hero-section::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, #0d1117);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.archive-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: #00ff9d;
    margin-bottom: 20px;
    text-shadow: 0 0 40px rgba(0, 255, 157, 0.6), 
                 0 0 80px rgba(0, 255, 157, 0.4),
                 0 4px 12px rgba(0, 0, 0, 0.8);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.archive-title span {
    display: inline-block;
    position: relative;
    background: linear-gradient(135deg, #00ff9d 0%, #00a2ff 50%, #00ff9d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px rgba(0, 255, 157, 0.8));
}

.archive-title span::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #00ff9d, #00a2ff, #00ff9d, transparent);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.8);
}

.archive-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    max-width: 700px;
    margin: 30px auto 0;
    padding: 25px 30px;
    background: rgba(0, 255, 157, 0.08);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(0, 255, 157, 0.3);
    box-shadow: 0 8px 32px rgba(0, 255, 157, 0.2);
}

.archive-description p {
    margin: 0;
}

/* Archive Content */
.archive-content {
    padding: 0 20px 80px;
}

.archive-content .container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Search Form Styling */
.search-form {
    max-width: 500px;
    margin: 30px auto 0;
    display: flex;
    gap: 10px;
}

.search-form label {
    flex: 1;
    margin: 0;
}

.search-form input[type="search"] {
    width: 100%;
    padding: 15px 20px;
    background: rgba(22, 27, 34, 0.8);
    border: 1px solid rgba(0, 255, 157, 0.3);
    border-radius: 10px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-form input[type="search"]:focus {
    outline: none;
    border-color: #00ff9d;
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.3);
}

.search-form input[type="search"]::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-form button,
.search-form input[type="submit"] {
    padding: 15px 30px;
    background: linear-gradient(135deg, #00ff9d, #00a2ff);
    border: none;
    border-radius: 10px;
    color: #0d1117;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-form button:hover,
.search-form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 255, 157, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .archive-hero-section {
        padding: 70px 20px;
    }
    
    .archive-title {
        font-size: 2.5rem;
    }
    
    .archive-description {
        font-size: 1rem;
        padding: 15px 20px;
    }
    
    .search-form {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .archive-hero-section {
        padding: 50px 20px;
    }
    
    .archive-title {
        font-size: 2rem;
    }
    
    .archive-content {
        padding: 0 15px 50px;
    }
}
