/*
Theme Name: NerdsNotDead
Description: A modern gaming and tech blog theme
Version: 1.0.0
Author: NerdsNotDead
Text Domain: nerdsnotdead
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #0a0a0a;
    color: #ffffff;
}

/* Skip link */
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.skip-link:focus {
    position: fixed;
    left: 10px;
    top: 10px;
    width: auto;
    height: auto;
    z-index: 10000;
    background: #00ff88;
    color: #000;
    padding: 10px 14px;
    border-radius: 4px;
}



/* Header */
.site-header {
    background-color: #000000;
    padding: 20px 0;
    border-bottom: 1px solid #333;
}

.site-title {
    text-align: center;
}

.site-title {
    text-align: center;
}

.site-title h1 {
    font-size: 3rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 5px;
    letter-spacing: 2px;
}

.custom-logo {
    margin-bottom: 20px;
    text-align: center;
}

.custom-logo img {
    max-height: 80px;
    width: auto;
    display: inline-block;
    margin: 0 auto;
}

.site-text {
    text-align: center;
}

.site-title p {
    font-size: 1rem;
    color: #cccccc;
    font-style: italic;
    text-align: center;
}

/* Navigation */
.navigation-bar {
    background-color: #111111;
    padding: 15px 0;
    border-bottom: 1px solid #333;
}

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

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

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    color: #fff;
    border: 1px solid #333;
    padding: 8px 10px;
    border-radius: 4px;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #ff4444;
}

/* Submenu Styling */
.nav-menu ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #111111;
    border: 1px solid #333;
    border-radius: 5px;
    min-width: 200px;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.nav-menu li {
    position: relative;
}

.nav-menu li:hover > ul {
    display: block;
}

.nav-menu ul li {
    display: block;
    margin: 0;
    border-bottom: 1px solid #333;
}

.nav-menu ul li:last-child {
    border-bottom: none;
}

.nav-menu ul a {
    display: block;
    padding: 12px 20px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.nav-menu ul a:hover {
    background-color: #00ff88;
    color: #000000;
}

/* Second level submenu */
.nav-menu ul ul {
    top: 0;
    left: 100%;
    border-radius: 0 5px 5px 0;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: #ffffff;
    font-size: 14px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #00ff88;
}

.search-icon {
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    background: none;
    border: 0;
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
    aspect-ratio: 16 / 9;
    min-height: 300px;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    padding: 40px;
    color: #ffffff;
}

.hero-category {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #cccccc;
    margin-bottom: 10px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-title a {
    color: #ffffff;
    text-decoration: none;
}

.hero-title a:hover {
    color: #00ff88;
}

.hero-meta {
    font-size: 14px;
    color: #cccccc;
}

.hero-meta span {
    margin-right: 20px;
}

/* Slider Controls */
.hero-slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: 10;
    pointer-events: none;
}

.hero-slider-prev,
.hero-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #ffffff;
    font-size: 20px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    line-height: 1;
}

.hero-slider-prev {
    left: 20px;
}

.hero-slider-next {
    right: 20px;
}

.hero-slider-prev:hover,
.hero-slider-next:hover {
    background: rgba(0, 255, 136, 0.8);
    color: #000000;
}

/* Slider Dots */
.hero-slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.hero-slider-dot.active {
    background: #00ff88;
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.content-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

/* Breadcrumbs */
.breadcrumbs {
    max-width: 1200px;
    margin: 10px auto 0;
    padding: 0 20px 10px;
    color: #cccccc;
    font-size: 14px;
}
.breadcrumbs a { color: #ffffff; text-decoration: none; }
.breadcrumbs a:hover { color: #00ff88; }
.breadcrumbs .sep { margin: 0 8px; color: #555; }

/* Section Titles */
.section-title {
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    color: #ffffff;
    border-bottom: 2px solid #00ff88;
    padding-bottom: 10px;
}

/* Post Grid */
.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.post-card {
    background-color: #111111;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.post-card.skeleton { position: relative; overflow: hidden; }
.post-card.skeleton::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.06), rgba(255,255,255,0)); transform: translateX(-100%); animation: skeleton 1.4s infinite; }
@keyframes skeleton { to { transform: translateX(100%); } }
.post-card.skeleton .post-image { background: #1a1a1a; height: 200px; }
.post-card.skeleton .post-content { padding: 20px; }
.post-card.skeleton .post-title { height: 16px; background: #1a1a1a; margin-bottom: 10px; border-radius: 4px; }
.post-card.skeleton .post-excerpt { height: 12px; background: #151515; border-radius: 4px; width: 80%; }

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

.post-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.post-content {
    padding: 20px;
}

.post-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
}

.post-title a {
    color: #ffffff;
    text-decoration: none;
}

.post-title a:hover {
    color: #00ff88;
}

.post-date {
    font-size: 12px;
    color: #cccccc;
}

/* Load More Button */
.load-more {
    text-align: center;
    margin: 40px 0;
}

.load-more-btn {
    background-color: transparent;
    border: 2px solid #00ff88;
    color: #00ff88;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background-color: #00ff88;
    color: #000000;
}
.load-more-btn.is-loading { opacity: 0.7; pointer-events: none; }

/* Spinner utility */
.spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid #00ff88; border-top-color: transparent; border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Sidebar */
.sidebar {
    background-color: #111111;
    border-radius: 8px;
    padding: 30px;
    height: fit-content;
}

.sidebar-section {
    margin-bottom: 40px;
}

.sidebar-section:last-child {
    margin-bottom: 0;
}

.sidebar-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-me {
    text-align: center;
}

.about-me img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 15px;
    object-fit: cover;
}

.about-me p {
    font-size: 14px;
    line-height: 1.6;
    color: #cccccc;
}

.keep-in-touch {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.keep-in-touch a {
    color: #ffffff;
    font-size: 18px;
    transition: color 0.3s ease;
}

.keep-in-touch a:hover {
    color: #00ff88;
}

.search-form {
    position: relative;
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}
.search-overlay.open { display: flex; }
.search-overlay-inner { position: relative; width: min(700px, 90%); }
.search-overlay .search-form { display: flex; gap: 10px; }
.search-overlay .search-input { flex: 1; padding: 14px 16px; font-size: 18px; }
.search-overlay .search-btn { padding: 14px 18px; }
.search-overlay-close {
    position: absolute; top: -40px; right: 0; background: none; border: 0; color: #fff; font-size: 32px; cursor: pointer;
}
.no-scroll { overflow: hidden; }
.search-live-results { margin-top: 16px; background: #111; border: 1px solid #333; border-radius: 8px; max-height: 320px; overflow: auto; }
.search-live-list { list-style: none; margin: 0; padding: 8px; display: grid; gap: 8px; }
.search-live-item { display: grid; grid-template-columns: 48px 1fr; gap: 10px; align-items: center; padding: 6px; border-radius: 6px; }
.search-live-item:hover { background: #1a1a1a; }
.search-live-item .thumb img { width: 48px; height: 48px; object-fit: cover; border-radius: 4px; }
.search-live-item .title { color: #fff; text-decoration: none; }
/* Loading/empty states */
.search-live-results.is-loading { position: relative; }
.search-live-results.is-loading::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.06), rgba(255,255,255,0)); animation: skeleton 1.2s infinite; }
.search-live-empty { padding: 12px 14px; color: #aaa; }

.search-input {
    width: 100%;
    padding: 12px 40px 12px 15px;
    background-color: #222222;
    border: none;
    border-radius: 5px;
    color: #ffffff;
    font-size: 14px;
}

.search-input::placeholder {
    color: #cccccc;
}

.search-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #cccccc;
    cursor: pointer;
}

.recent-posts {
    list-style: none;
}

.recent-posts li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #333;
}

.recent-posts li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.recent-post {
    display: flex;
    gap: 15px;
    align-items: center;
}

.recent-post img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    aspect-ratio: 1 / 1;
}

.recent-post-content h4 {
    font-size: 14px;
    margin-bottom: 5px;
    line-height: 1.3;
}

.recent-post-content h4 a {
    color: #ffffff;
    text-decoration: none;
}

.recent-post-content h4 a:hover {
    color: #00ff88;
}

.recent-post-meta {
    font-size: 12px;
    color: #cccccc;
}

.newsletter-form {
    margin-top: 15px;
}

.newsletter-input {
    width: 100%;
    padding: 12px 15px;
    background-color: #222222;
    border: none;
    border-radius: 5px;
    color: #ffffff;
    font-size: 14px;
    margin-bottom: 10px;
}

.newsletter-input::placeholder {
    color: #cccccc;
}

.newsletter-btn {
    width: 100%;
    padding: 12px;
    background-color: #00ff88;
    color: #000000;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-btn:hover {
    background-color: #00cc6a;
}

.categories-list {
    list-style: none;
}

.categories-list li {
    margin-bottom: 10px;
}

.categories-list a {
    color: #ffffff;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.categories-list a:hover {
    color: #00ff88;
}

.categories-list span {
    color: #cccccc;
    font-size: 12px;
}

/* Footer */
.site-footer {
    background-color: #000000;
    padding: 60px 0 20px;
    margin-top: 60px;
    border-top: 1px solid #333;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-posts-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: center;
}

.footer-post-image {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.footer-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    aspect-ratio: 1 / 1;
}

.footer-posts-content h4 {
    font-size: 14px;
    margin-bottom: 5px;
    line-height: 1.3;
}

.footer-posts-content h4 a {
    color: #ffffff;
    text-decoration: none;
}

.footer-posts-content h4 a:hover {
    color: #00ff88;
}

.footer-posts-meta {
    font-size: 12px;
    color: #cccccc;
}

.footer-post-number {
    width: 30px;
    height: 30px;
    background-color: #00ff88;
    color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    margin-right: 15px;
}

/* Instagram Grid */
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    margin-bottom: 15px;
}
.instagram-error { background: #1a1a1a; border: 1px solid #333; color: #ccc; padding: 10px 12px; border-radius: 6px; margin-bottom: 10px; }

.instagram-item {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 5px; /* Changed from 3px to 5px */
    background-color: #333333;
}

.instagram-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.instagram-item img:not([src*="placeholder-ig"]):not([src*="data:image/svg"]):not([src*="weserv.nl"]) {
    /* Add a subtle filter for actual Instagram images */
    filter: brightness(0.9);
}

.instagram-item:hover img {
    transform: scale(1.05);
}

.instagram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instagram-item:hover .instagram-overlay {
    opacity: 1;
}

.instagram-overlay i {
    color: #ffffff;
    font-size: 24px;
}

.instagram-profile-link {
    text-align: center;
    margin-top: 10px;
}

.instagram-follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.instagram-follow-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 39, 67, 0.4);
    color: #ffffff;
}

.instagram-follow-btn i {
    font-size: 14px;
}

/* Footer Bottom */
.footer-bottom {
    background-color: #111111;
    padding: 20px 0;
    margin-top: 30px;
    text-align: center;
    border-top: 1px solid #333;
}

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

.footer-menu { list-style: none; display: flex; gap: 15px; margin: 0; padding: 0; }
.footer-menu a { color: #ffffff; text-decoration: none; font-size: 14px; }
.footer-menu a:hover { color: #00ff88; }

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: #ffffff;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #00ff88;
}

.copyright {
    font-size: 12px;
    color: #cccccc;
}

/* ===================================
   SINGLE POST STYLES
   =================================== */
.single-post {
    background: #1a1a1a;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
}

.post-header {
    margin-bottom: 30px;
}

.post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #cccccc;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-title {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.post-excerpt {
    font-size: 1.1rem;
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 30px;
}

.post-featured-image {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    height: auto;
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ffffff;
}

.post-content p {
    margin-bottom: 20px;
}

.post-content h2,
.post-content h3,
.post-content h4 {
    color: #00ff88;
    margin: 30px 0 15px 0;
}

.post-tags {
    margin: 30px 0;
    padding: 20px;
    background: #222222;
    border-radius: 8px;
}

.post-tags h3 {
    color: #00ff88;
    margin-bottom: 15px;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tags-list a {
    background: #333333;
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.tags-list a:hover {
    background: #00ff88;
    color: #000000;
}

.post-navigation {
    margin: 40px 0;
    padding: 20px;
    background: #222222;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-previous,
.nav-next {
    flex: 1;
}

.nav-next {
    text-align: right;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #00ff88;
}

.author-bio {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: #222222;
    border-radius: 10px;
    margin: 30px 0;
}

.author-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

.author-info h3 {
    color: #00ff88;
    margin-bottom: 10px;
}

.author-info p {
    color: #cccccc;
    line-height: 1.6;
}

.related-posts {
    margin: 40px 0;
}

.related-posts h3 {
    color: #00ff88;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.related-post {
    background: #222222;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.related-post:hover {
    transform: translateY(-5px);
}

.related-post-image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.related-post-content {
    padding: 20px;
}

.related-post-content h4 {
    margin-bottom: 10px;
}

.related-post-content h4 a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-post-content h4 a:hover {
    color: #00ff88;
}

.related-post-date {
    color: #cccccc;
    font-size: 14px;
}

/* ===================================
   ARCHIVE STYLES
   =================================== */
.archive-header {
    background: #1a1a1a;
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: center;
}

.archive-title {
    font-size: 2.5rem;
    color: #00ff88;
    margin-bottom: 15px;
}

.archive-description {
    color: #cccccc;
    font-size: 1.1rem;
    line-height: 1.6;
}

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

.post-card {
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.post-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.post-content {
    padding: 25px;
}

.post-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #cccccc;
}

.post-title {
    margin-bottom: 15px;
}

.post-title a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.3rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: #00ff88;
}

.post-excerpt {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.post-footer {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #888888;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 40px 0;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    background: #222222;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.pagination .page-numbers:hover,
.pagination .current {
    background: #00ff88;
    color: #000000;
}

.no-posts {
    text-align: center;
    padding: 60px 20px;
}

.no-posts h2 {
    color: #00ff88;
    margin-bottom: 20px;
}

.no-posts p {
    color: #cccccc;
    margin-bottom: 30px;
}

/* ===================================
   PAGE STYLES
   =================================== */
.page-content {
    background: #1a1a1a;
    border-radius: 10px;
    padding: 40px;
    margin-bottom: 30px;
}

.page-header {
    margin-bottom: 30px;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    color: #00ff88;
    margin-bottom: 20px;
}

.page-featured-image {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
}

.page-featured-image img {
    width: 100%;
    height: auto;
}

.page-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ffffff;
}

.page-content p {
    margin-bottom: 20px;
}

.page-content h2,
.page-content h3,
.page-content h4 {
    color: #00ff88;
    margin: 30px 0 15px 0;
}

/* ===================================
   SEARCH STYLES
   =================================== */
.search-header {
    background: #1a1a1a;
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: center;
}

.search-title {
    font-size: 2rem;
    color: #00ff88;
    margin-bottom: 20px;
}

.search-title span {
    color: #ffffff;
}

.search-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 10px;
}

.search-input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 5px;
    background: #333333;
    color: #ffffff;
    font-size: 16px;
}

.search-input::placeholder {
    color: #888888;
}

.search-btn {
    padding: 12px 20px;
    background: #00ff88;
    color: #000000;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: #00cc6a;
}

.search-results {
    margin-bottom: 40px;
}

.results-count {
    color: #cccccc;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.search-result {
    border-left: 3px solid #00ff88;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
}

.no-results h2 {
    color: #00ff88;
    margin-bottom: 20px;
}

.no-results p {
    color: #cccccc;
    margin-bottom: 30px;
}

.search-suggestions {
    background: #222222;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.search-suggestions h3 {
    color: #00ff88;
    margin-bottom: 15px;
}

.search-suggestions ul {
    list-style: none;
    padding: 0;
}

.search-suggestions li {
    color: #cccccc;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.search-suggestions li:before {
    content: "•";
    color: #00ff88;
    position: absolute;
    left: 0;
}

/* ===================================
   404 ERROR STYLES
   =================================== */
.error-404 {
    text-align: center;
    padding: 60px 20px;
}

.error-content {
    margin-bottom: 50px;
}

.error-title {
    font-size: 8rem;
    color: #00ff88;
    margin: 0;
    line-height: 1;
}

.error-subtitle {
    font-size: 2rem;
    color: #ffffff;
    margin: 20px 0;
}

.error-description {
    color: #cccccc;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.error-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #00ff88;
    color: #000000;
}

.btn-primary:hover {
    background: #00cc6a;
}

.btn-secondary {
    background: #333333;
    color: #ffffff;
}

.btn-secondary:hover {
    background: #444444;
}

.error-search {
    margin-bottom: 50px;
}

.error-search h3 {
    color: #00ff88;
    margin-bottom: 20px;
}

.recent-posts-section,
.popular-categories {
    margin-bottom: 40px;
}

.recent-posts-section h3,
.popular-categories h3 {
    color: #00ff88;
    margin-bottom: 20px;
    text-align: left;
}

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

.recent-post {
    display: flex;
    gap: 15px;
    background: #222222;
    padding: 15px;
    border-radius: 8px;
    text-align: left;
}

.recent-post-image img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
}

.recent-post-content h4 {
    margin-bottom: 5px;
}

.recent-post-content h4 a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.recent-post-content h4 a:hover {
    color: #00ff88;
}

.recent-post-date {
    color: #888888;
    font-size: 12px;
}

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

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #222222;
    padding: 15px;
    border-radius: 8px;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.3s ease;
}

.category-item:hover {
    background: #333333;
    color: #00ff88;
}

.category-count {
    color: #888888;
    font-size: 14px;
}

/* ===================================
   COMMENTS STYLES
   =================================== */
.comments-area {
    background: #1a1a1a;
    border-radius: 10px;
    padding: 30px;
    margin-top: 40px;
}

.comments-title {
    color: #00ff88;
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment-list li {
    margin-bottom: 30px;
}

.comment {
    background: #222222;
    padding: 20px;
    border-radius: 8px;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.comment-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.comment-author .fn {
    color: #00ff88;
    font-weight: bold;
    font-style: normal;
}

.comment-meta {
    color: #888888;
    font-size: 14px;
}

.comment-content {
    color: #ffffff;
    line-height: 1.6;
}

.comment-content p {
    margin-bottom: 10px;
}

.reply {
    margin-top: 15px;
}

.reply a {
    color: #00ff88;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.reply a:hover {
    color: #00cc6a;
}

.comment-respond {
    margin-top: 40px;
}

.comment-reply-title {
    color: #00ff88;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.comment-form {
    display: grid;
    gap: 20px;
}

.comment-form p {
    margin: 0;
}

.comment-form label {
    display: block;
    color: #ffffff;
    margin-bottom: 5px;
    font-weight: bold;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #333333;
    border-radius: 5px;
    background: #222222;
    color: #ffffff;
    font-size: 16px;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #00ff88;
}

.comment-form textarea {
    resize: vertical;
    min-height: 120px;
}

.comment-form .submit {
    background: #00ff88;
    color: #000000;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.comment-form .submit:hover {
    background: #00cc6a;
}

.comment-notes {
    color: #888888;
    font-size: 14px;
    margin-bottom: 20px;
}

.required {
    color: #ff4444;
}

.comment-navigation {
    margin: 30px 0;
    padding: 20px;
    background: #222222;
    border-radius: 8px;
}

.comment-navigation .nav-previous,
.comment-navigation .nav-next {
    display: inline-block;
}

.comment-navigation .nav-next {
    float: right;
}

.comment-navigation a {
    color: #00ff88;
    text-decoration: none;
    transition: color 0.3s ease;
}

.comment-navigation a:hover {
    color: #00cc6a;
}

.no-comments {
    color: #888888;
    text-align: center;
    padding: 30px;
}

/* ===================================
   RESPONSIVE STYLES
   =================================== */
@media (max-width: 1200px) {
    .content-container {
        grid-template-columns: 1fr 280px;
        gap: 30px;
    }
    
    .post-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .content-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .post-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-container { flex-direction: column; gap: 15px; }
    .mobile-menu-toggle { display: inline-flex; align-items: center; }
    .nav-menu { display: none; flex-direction: column; gap: 10px; }
    .nav-menu.active { display: flex; }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .site-title h1 {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .single-post,
    .page-content,
    .comments-area {
        padding: 20px;
    }
    
    .post-title,
    .page-title,
    .archive-title {
        font-size: 2rem;
    }
    
    .error-title {
        font-size: 5rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .author-bio {
        flex-direction: column;
        text-align: center;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-next {
        text-align: left;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .search-form {
        flex-direction: column;
    }
    
    .recent-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 0 15px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-overlay {
        padding: 20px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
} 