/*
Theme Name: rest
Author: rest
Version: 2.0
*/

/* 1. Reset & Global */
body {
    background-color: #050505;
    background-image: 
        linear-gradient(rgba(0, 212, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.02) 1px, transparent 1px),
        radial-gradient(circle at center, #0e051a 0%, #050505 100%);
    background-size: 30px 30px, 30px 30px, 100% 100%;
    color: #e0e0e0;
    font-family: 'Segoe UI', system-ui, sans-serif;
    margin: 0;
    overflow-x: hidden;
}


.cyber-header {
    background: rgba(0, 0, 0, 0.9);
    border-bottom: 1px solid #00d4ff;
    padding: 20px 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(8px);
}

.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.main-logo a {
    color: #fff;
    text-decoration: none;
    font-family: 'Courier New', monospace;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 4px;
    text-shadow: 1px 1px #ff0055, -1px -1px #00d4ff;
    display: inline-block;
}

.header-bracket {
    color: #ff0055;
    font-size: 2rem;
    font-family: monospace;
    opacity: 0.6;
}

.header-sub {
    margin-top: 8px;
    font-family: monospace;
    font-size: 10px;
    color: #00ff41;
}

.pulse-dot {
    display: inline-block;
    width: 6px; height: 6px;
    background: #00ff41;
    border-radius: 50%;
    animation: blink 1s infinite;
}


.container {
    max-width: 800px;
    margin: 30px auto;
    padding: 0 15px;
}

article {
    background: rgba(15, 15, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 25px;
    margin-bottom: 25px;
    position: relative;
    border-left: 3px solid #ff0055;
    transition: 0.3s;
}

article:hover {
    border-color: #00d4ff;
    transform: translateX(5px);
    background: rgba(20, 20, 30, 0.95);
}

article h2 a {
    color: #00d4ff;
    text-decoration: none;
    font-size: 1.5rem;
}

.excerpt {
    color: #bbb;
    margin: 15px 0;
    font-size: 0.95rem;
}

.post-meta {
    font-family: monospace;
    font-size: 0.75rem;
    color: #00ff41;
}


@media (max-width: 768px) {
    .main-logo a {
        font-size: 1.4rem;
        letter-spacing: 2px;
    }
    
    .header-bracket {
        display: none; 
    }

    article {
        padding: 20px;
    }

    article h2 a {
        font-size: 1.3rem;
    }
}


@keyframes blink { 
    0%, 100% { opacity: 1; box-shadow: 0 0 5px #00ff41; } 
    50% { opacity: 0.3; } 
}

.cyber-footer {
    text-align: center;
    padding: 30px;
    font-family: monospace;
    font-size: 11px;
    color: #444;
}