/*
Theme Name: NeuraShards
Description: Cyberpunkowy motyw dla NeuraShards z efektami neonowymi
Version: 1.3.4
Author: NeuraShards Team
*/

/* Reset i podstawowe style */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier Prime', 'Courier New', monospace;
    background-color: #000;
    color: #0f0;
    text-align: center;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Ukryj stopkę WordPress */
footer,
.site-footer,
#colophon {
    display: none !important;
}

/* Style dla tytułu strony w headerze przeglądarki */
head title {
    color: #0f0;
}

/* Style dla nagłówka witryny jeśli jest wyświetlany */
.site-title,
.site-title a {
    color: #0f0 !important;
    text-shadow: 0 0 20px #0f0, 0 0 40px #0f0;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.site-title a:hover {
    text-shadow: 0 0 30px #0f0, 0 0 60px #0f0;
}

/* Ukryj domyślny nagłówek WordPress jeśli istnieje */
.site-header {
    display: none;
}

/* Kontener główny */
.neurashards-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* Nagłówek z obrazem */
.neurashards-header {
    margin-bottom: 40px;
    position: relative;
}

.neurashards-header img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.3);
    transition: all 0.3s ease;
}

.neurashards-header img:hover {
    box-shadow: 0 0 50px rgba(0, 255, 0, 0.5);
    transform: scale(1.02);
}

/* Kontener przycisków */
.neurashards-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 40px auto;
}

/* Style przycisków */
.neurashards-buttons a {
    display: block;
    width: 90%;
    max-width: 450px;
    padding: 18px 25px;
    border: 2px solid #0f0;
    border-radius: 15px;
    text-decoration: none;
    color: #0f0;
    font-size: 16px;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Efekt hover */
.neurashards-buttons a:hover {
    background: #0f0;
    color: #000;
    box-shadow: 
        0 0 30px #0f0,
        inset 0 0 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-3px) scale(1.02);
}

/* Efekt świecenia podczas hover */
.neurashards-buttons a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.neurashards-buttons a:hover::before {
    left: 100%;
}

/* Efekt pulsowania */
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 255, 0, 0.3); }
    50% { box-shadow: 0 0 40px rgba(0, 255, 0, 0.6); }
}

.neurashards-buttons a:nth-child(1),
.neurashards-buttons a:nth-child(2) {
    animation: pulse 3s ease-in-out infinite;
}

/* Blog link style */
.blog-link {
    background: linear-gradient(45deg, rgba(0, 255, 0, 0.1), rgba(0, 255, 0, 0.2)) !important;
    border-color: #0f0 !important;
}

/* Responsywność */
@media (max-width: 768px) {
    .neurashards-container {
        padding: 15px;
    }
    
    .neurashards-buttons a {
        width: 95%;
        padding: 15px 20px;
        font-size: 14px;
    }
    
    .neurashards-header {
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .neurashards-buttons {
        gap: 15px;
        margin: 30px auto;
    }
    
    .neurashards-buttons a {
        padding: 12px 18px;
        font-size: 13px;
        border-radius: 10px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: light) {
    body {
        /* Motyw zawsze pozostaje ciemny dla efektu cyberpunk */
    }
}

/* Wysokie rozdzielczości */
@media (min-width: 1200px) {
    .neurashards-buttons a {
        max-width: 500px;
        padding: 20px 30px;
        font-size: 18px;
    }
}

/* ========================================
   BLOG STYLES
   ======================================== */

/* Blog Main Page */
.neurashards-blog-main {
    padding: 40px 0;
}

.blog-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 30px 20px;
    border-bottom: 2px solid rgba(0, 255, 0, 0.3);
}

.neon-title {
    font-size: 2.5em;
    color: #0f0;
    text-shadow: 0 0 20px #0f0, 0 0 40px #0f0;
    margin-bottom: 15px;
    letter-spacing: 3px;
    animation: flicker 3s infinite alternate;
}

@keyframes flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.blog-subtitle {
    color: rgba(0, 255, 0, 0.7);
    font-size: 1.2em;
    margin-top: 10px;
}

/* Blog Posts Grid */
.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.blog-post-card {
    background: rgba(0, 20, 0, 0.8);
    border: 2px solid rgba(0, 255, 0, 0.3);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}

.blog-post-card:hover {
    border-color: #0f0;
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.4);
    transform: translateY(-5px);
}

.post-thumbnail {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-post-card:hover .post-thumbnail img {
    transform: scale(1.1);
}

.post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
}

.post-content {
    padding: 25px;
}

.post-meta {
    color: rgba(0, 255, 0, 0.6);
    font-size: 0.85em;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.post-separator {
    margin: 0 10px;
}

.post-category a {
    color: rgba(0, 255, 0, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-category a:hover {
    color: #0f0;
}

.post-title {
    font-size: 1.5em;
    margin: 15px 0;
}

.post-title a {
    color: #0f0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.post-title a:hover {
    text-shadow: 0 0 10px #0f0;
}

.post-excerpt {
    color: rgba(0, 255, 0, 0.7);
    line-height: 1.6;
    margin: 15px 0;
}

.read-more-btn {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #0f0;
    color: #0f0;
    text-decoration: none;
    font-size: 0.9em;
    border-radius: 5px;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.read-more-btn:hover {
    background: #0f0;
    color: #000;
    box-shadow: 0 0 15px #0f0;
}

/* Single Post */
.neurashards-single-post {
    padding: 40px 0;
}

.single-post-article {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(0, 20, 0, 0.6);
    border: 2px solid rgba(0, 255, 0, 0.3);
    border-radius: 15px;
    padding: 40px;
}

.single-post-header {
    border-bottom: 2px solid rgba(0, 255, 0, 0.3);
    padding-bottom: 30px;
    margin-bottom: 40px;
}

.post-meta-single {
    color: rgba(0, 255, 0, 0.6);
    font-size: 0.9em;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.single-post-title {
    font-size: 2.5em;
    color: #0f0;
    text-shadow: 0 0 15px #0f0;
    margin: 20px 0;
    line-height: 1.3;
}

.single-post-thumbnail {
    margin: 30px 0;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(0, 255, 0, 0.3);
}

.single-post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.single-post-content {
    color: rgba(0, 255, 0, 0.9);
    line-height: 1.8;
    font-size: 1.1em;
    text-align: left;
}

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

.single-post-content h2,
.single-post-content h3 {
    color: #0f0;
    margin: 30px 0 15px;
    text-shadow: 0 0 10px #0f0;
}

.single-post-content a {
    color: #0f0;
    text-decoration: underline;
    transition: all 0.3s ease;
}

.single-post-content a:hover {
    text-shadow: 0 0 10px #0f0;
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    border: 2px solid rgba(0, 255, 0, 0.3);
    margin: 20px 0;
}

.single-post-content ul,
.single-post-content ol {
    margin: 20px 0 20px 40px;
}

.single-post-content li {
    margin-bottom: 10px;
}

.post-tags {
    margin: 40px 0;
    padding: 20px;
    border-top: 2px solid rgba(0, 255, 0, 0.3);
    border-bottom: 2px solid rgba(0, 255, 0, 0.3);
}

.tags-label {
    color: #0f0;
    font-weight: bold;
    margin-right: 10px;
}

.post-tags a {
    display: inline-block;
    padding: 5px 15px;
    border: 1px solid rgba(0, 255, 0, 0.5);
    color: rgba(0, 255, 0, 0.8);
    text-decoration: none;
    margin: 5px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.post-tags a:hover {
    background: #0f0;
    color: #000;
    border-color: #0f0;
}

/* Post Navigation */
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
    gap: 20px;
}

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

.post-navigation a {
    display: block;
    padding: 15px;
    border: 2px solid rgba(0, 255, 0, 0.5);
    color: #0f0;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.post-navigation a:hover {
    background: #0f0;
    color: #000;
    box-shadow: 0 0 20px #0f0;
}

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

/* Pagination */
.pagination {
    text-align: center;
    margin: 60px 0 40px;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 10px 15px;
    border: 2px solid rgba(0, 255, 0, 0.5);
    color: #0f0;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination .current {
    background: #0f0;
    color: #000;
    border-color: #0f0;
}

/* Archive Page */
.archive-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 30px 20px;
    border-bottom: 2px solid rgba(0, 255, 0, 0.3);
}

.archive-title {
    font-size: 2em;
}

.archive-description {
    color: rgba(0, 255, 0, 0.7);
    margin-top: 20px;
    font-size: 1.1em;
}

/* No Posts */
.no-posts {
    text-align: center;
    padding: 100px 20px;
}

.glitch-text {
    font-size: 2em;
    color: #0f0;
    text-shadow: 0 0 20px #0f0;
    animation: glitch 2s infinite;
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    33% { transform: translate(-2px, 2px); }
    66% { transform: translate(2px, -2px); }
}

/* Comments Section */
.comments-area {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid rgba(0, 255, 0, 0.3);
}

.comments-title {
    font-size: 1.8em;
    color: #0f0;
    text-shadow: 0 0 15px #0f0;
    margin-bottom: 30px;
}

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

.comment {
    background: rgba(0, 20, 0, 0.4);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.comment-author {
    color: #0f0;
    font-weight: bold;
    margin-bottom: 10px;
}

.comment-content {
    color: rgba(0, 255, 0, 0.8);
    line-height: 1.6;
}

/* Responsive Blog Styles */
@media (max-width: 768px) {
    .blog-posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .neon-title {
        font-size: 1.8em;
    }
    
    .single-post-article {
        padding: 20px;
    }
    
    .single-post-title {
        font-size: 1.8em;
    }
    
    .post-navigation {
        flex-direction: column;
    }
    
    .single-post-content {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .blog-header {
        margin-bottom: 40px;
        padding: 20px 10px;
    }
    
    .neon-title {
        font-size: 1.5em;
        letter-spacing: 1px;
    }
    
    .blog-subtitle {
        font-size: 1em;
    }
    
    .post-thumbnail {
        height: 200px;
    }
    
    .single-post-article {
        padding: 15px;
    }
    
    .single-post-title {
        font-size: 1.5em;
    }
}

/* ========================================
   WYŁĄCZ WSZYSTKIE ANIMACJE TŁA
   ======================================== */
body::before,
body::after,
html::before,
html::after {
    animation: none !important;
    transform: none !important;
}

/* Usuń wszystkie keyframes matrix-rain jeśli gdzieś istnieją */
@keyframes matrix-rain {
    0%, 100% { transform: none; }
}