* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Fira Code';
    font-style: normal;
    font-weight: 300 700;
    font-display: block;
    src: url('/assets/fira-code.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

html {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'Fira Code';
    background: linear-gradient(135deg, #0a0808 0%, #0c0608 100%);
    color: #e0e0e0;
    line-height: 1.6;
    height: 100%;
    overflow: hidden;
}

header {
    padding: 3rem 2rem;
    text-align: center;
    background: rgba(138, 43, 226, 0.1);
    border-bottom: 2px solid #8a2be2;
}

h1 {
    font-size: 2.5rem;
    color: #bb86fc;
    text-shadow: 0 0 20px rgba(187, 134, 252, 0.5);
    margin-bottom: 0.5rem;
}

.subtitle {
    color: #7fa3d4;
    font-size: 1.1rem;
}

main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.intro {
    background: rgba(138, 43, 226, 0.05);
    border-left: 4px solid #bb86fc;
    padding: 1.5rem;
    margin-bottom: 3rem;
    border-radius: 8px;
}

.intro p {
    margin-bottom: 0.8rem;
}

.posts {
    margin-top: 2rem;
}

.posts h2 {
    color: #bb86fc;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

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

.post-item {
    background: rgba(80, 70, 180, 0.08);
    border: 1px solid #4f86f7;
    margin-bottom: 1rem;
    border-radius: 6px;
    transition: all 0.1s ease;
}

.post-item a {
    padding: 1.2rem;
}

.post-item:hover {
    background: rgba(138, 43, 226, 0.15);
    border-color: #bb86fc;
    transform: scaleX(1.01);
}

.post-item a {
    text-decoration: none;
    color: #e0e0e0;
    display: block;
}

.post-title {
    color: #7fa3d4;
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.post-date {
    color: #888;
    font-size: 0.9rem;
}

footer {
    text-align: center;
    padding: 2rem;
    color: #666;
    margin-top: 3rem;
    border-top: 1px solid rgba(138, 43, 226, 0.3);
}

a {
    color: #bb86fc;
}

a:hover {
    color: #7fa3d4;
}

code {
    background: rgba(138, 43, 226, 0.2);
    padding: 0.2rem 0.4rem;
    border-radius: 8px;
    color: #bb86fc;
}

.parallax-container {
    perspective: 1px;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    transform-style: preserve-3d;
    --parallax-bg-height: 100vh;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: var(--parallax-bg-height);
    pointer-events: none;
}

.layer-back {
    transform: translateZ(-2px) scale(3);
    background-image: url('/assets/particles.png');
    background-repeat: repeat;
    background-size: 1024px 1024px;
    opacity: 0.1;
}

.layer-mid {
    transform: translateZ(-1px) scale(2);
    background-image: url('/assets/particles_2.png');
    background-repeat: repeat;
    background-size: 1024px 1024px;
    opacity: 0.2;
}

.content {
    position: relative;
    transform: translateZ(0);
}
