/* Guides System Styling */

/* Breadcrumb Navigation */
.breadcrumb-nav {
    background: rgba(15, 15, 35, 0.7);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    margin-top: 75px;
}

.breadcrumb {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 10px;
    color: var(--primary-jade);
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--primary-jade);
}

.breadcrumb li:last-child {
    color: var(--primary-jade);
    font-weight: 600;
}

/* Page Header */
.page-header {
    padding: 80px 2rem;
    text-align: center;
    background: linear-gradient(to bottom, rgba(15, 15, 35, 0.9), var(--darker-bg));
    border-bottom: 1px solid var(--border-color);
}

.guides-header {
    background-image: url('/images/guides/guides-header-bg.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    position: relative;
}

.guides-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 15, 35, 0.9), rgba(10, 10, 10, 0.95));
    z-index: 0;
}

.guides-header .container {
    position: relative;
    z-index: 1;
}

.page-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--primary-jade);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0, 168, 107, 0.5);
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

/* Guide Categories */
.guide-categories {
    padding: 80px 2rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.category-banner {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.category-banner:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 168, 107, 0.15);
    border-color: var(--primary-jade);
}

.banner-content {
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-grow: 1;
}

.banner-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-jade), var(--primary-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--darker-bg);
    flex-shrink: 0;
}

.banner-text {
    flex-grow: 1;
}

.banner-text h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-jade);
    margin-bottom: 10px;
}

.banner-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.banner-link {
    background: rgba(0, 168, 107, 0.1);
    color: var(--primary-jade);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-top: 1px solid var(--border-color);
}

.banner-link:hover {
    background: rgba(0, 168, 107, 0.2);
}

.banner-link i {
    transition: transform 0.3s ease;
}

.banner-link:hover i {
    transform: translateX(5px);
}

/* Category-specific colors */
.category-banner[data-category="gaming"] .banner-icon {
    background: linear-gradient(135deg, #00a86b, #4CAF50);
}

.category-banner[data-category="streaming"] .banner-icon {
    background: linear-gradient(135deg, #9146FF, #6441A4);
}

.category-banner[data-category="content"] .banner-icon {
    background: linear-gradient(135deg, #FF5722, #F44336);
}

.category-banner[data-category="technical"] .banner-icon {
    background: linear-gradient(135deg, #2196F3, #03A9F4);
}

/* Featured Guides */
.featured-guides {
    padding: 80px 2rem;
    background: rgba(15, 15, 35, 0.3);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--primary-jade);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-align: center;
    text-shadow: 0 0 15px rgba(0, 168, 107, 0.4);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.featured-guide {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.featured-guide:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 168, 107, 0.15);
    border-color: var(--primary-jade);
}

.guide-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.guide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-guide:hover .guide-image img {
    transform: scale(1.05);
}

.guide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
}

.guide-category {
    display: inline-block;
    padding: 5px 10px;
    background: var(--primary-jade);
    color: var(--darker-bg);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 4px;
}

.guide-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.guide-content h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--primary-jade);
    margin-bottom: 10px;
}

.guide-excerpt {
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

.guide-meta {
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.guide-meta i {
    color: var(--primary-jade);
    margin-right: 5px;
}

.guide-content .btn-secondary {
    align-self: flex-start;
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
}

/* Recent Guides */
.recent-guides {
    padding: 80px 2rem;
}

.guides-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.guide-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    gap: 20px;
    transition: all 0.3s ease;
}

.guide-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px

.signature-image {
    height: 60px;
    width: auto;
}

.signature-text {
    color: var(--text-secondary);
    font-style: italic;
}

/* Guide Sidebar */
.guide-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.sidebar-widget {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.sidebar-widget h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--primary-jade);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.author-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.author-info .author-avatar {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}

.author-info h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--primary-jade);
    margin-bottom: 10px;
}

.author-bio {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.author-social {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.author-social a {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.author-social a:hover {
    background: var(--primary-jade);
    color: var(--darker-bg);
    transform: translateY(-3px);
}

.related-guides-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.related-guide {
    display: flex;
    gap: 10px;
}

.related-guide-image {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.related-guide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-guide-info h4 {
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.related-guide-info h4 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-guide-info h4 a:hover {
    color: var(--primary-jade);
}

.related-guide-meta {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.share-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.share-button {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 0;
    border-radius: 4px;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.share-button:hover {
    transform: translateY(-3px);
}

.share-twitter {
    background: #1DA1F2;
}

.share-facebook {
    background: #4267B2;
}

.share-reddit {
    background: #FF4500;
}

.share-button i {
    margin-right: 5px;
}

.guide-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.guide-tag {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 5px 10px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.guide-tag:hover {
    background: var(--primary-jade);
    color: var(--darker-bg);
    border-color: var(--primary-jade);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .guide-header .container {
        grid-template-columns: 1fr;
    }
    
    .guide-content .container {
        grid-template-columns: 1fr;
    }
    
    .guide-sidebar {
        position: static;
        margin-top: 40px;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .guide-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .guide-details {
        width: 100%;
    }
    
    .game-filter .container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-controls {
        justify-content: center;
    }
    
    .search-container {
        width: 100%;
    }
    
    .cyber-input {
        flex-grow: 1;
    }
    
    .guides-grid {
        grid-template-columns: 1fr;
    }
    
    .guide-image-dual {
        grid-template-columns: 1fr;
    }
    
    .guide-callout, .guide-tip {
        flex-direction: column;
    }
    
    .request-form {
        grid-template-columns: 1fr;
    }
    
    .request-form .form-group:nth-child(2) {
        grid-column: span 1;
    }
    
    .request-form button {
        grid-column: span 1;
    }
}

/* Animation for guide cards */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.guide-card, .featured-guide {
    animation: fadeIn 0.6s ease-out forwards;
}

.guide-card:nth-child(2), .featured-guide:nth-child(2) {
    animation-delay: 0.1s;
}

.guide-card:nth-child(3), .featured-guide:nth-child(3) {
    animation-delay: 0.2s;
}

.guide-card:nth-child(4) {
    animation-delay: 0.3s;
}

.guide-card:nth-child(5) {
    animation-delay: 0.4s;
}

.guide-card:nth-child(6) {
    animation-delay: 0.5s;
}

/* Print Styles */
@media print {
    nav, .breadcrumb-nav, .guide-toc, .guide-sidebar, .footer, 
    .cyber-bg, .particles, .data-streams, .grid-overlay, .scanlines, .noise-overlay {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .guide-header, .guide-content {
        padding: 0;
    }
    
    .guide-header .container, .guide-content .container {
        display: block;
        max-width: 100%;
    }
    
    .guide-title {
        color: #000;
        text-shadow: none;
    }
    
    .guide-section h2, .guide-section h3 {
        color: #000;
    }
    
    .guide-section p, .guide-list li, .guide-steps li {
        color: #333;
    }
    
    .guide-callout, .guide-tip {
        border: 1px solid #ccc;
        background: #f9f9f9;
    }
    
    .callout-icon, .tip-icon, .callout-content h4, .tip-content h4 {
        color: #333;
    }
    
    .callout-content p, .tip-content p {
        color: #333;
    }
    
    .guide-image-full img, .image-item img {
        max-width: 100%;
        height: auto;
    }
}

/* Link styling within guide content */
.guide-content a {
    color: var(--primary-jade);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.guide-content a:hover {
    color: var(--primary-accent);
}

.guide-content a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-jade);
    transition: width 0.3s ease;
}

.guide-content a:hover::after {
    width: 100%;
}

/* External links with icon */
.guide-content a[target="_blank"]:not(.resource-link) {
    display: inline-flex;
    align-items: center;
}

.guide-content a[target="_blank"]:not(.resource-link)::after {
    content: '\f35d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 0.3rem;
    font-size: 0.8em;
    position: static;
    width: auto;
    height: auto;
    background: none;
}

.site-link {
    color: var(--primary-jade);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.site-link:hover {
    color: var(--primary-accent);
}

.site-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-jade);
    transition: width 0.3s ease;
}

.site-link:hover::after {
    width: 100%;
}
