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

body {
    background: #0A0A0F;
    color: #D0D0E0;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

/* Header */
header {
    text-align: center;
    padding: 3rem 0;
    border-bottom: 2px solid #151520;
    margin-bottom: 3rem;
}

.site-title {
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #00D9FF, #FF006E, #9C27B0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        filter: drop-shadow(0 0 10px rgba(0, 217, 255, 0.5));
    }
    to {
        filter: drop-shadow(0 0 20px rgba(255, 0, 110, 0.7));
    }
}

.tagline {
    font-size: 1rem;
    color: #00D9FF;
    opacity: 0.8;
}

/* Navigation */
nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

nav a {
    color: #D0D0E0;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid #151520;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

nav a:hover {
    border-color: #00D9FF;
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.4);
    transform: translateY(-2px);
    color: #00D9FF;
}

/* Blog Posts */
.posts {
    display: grid;
    gap: 2rem;
}

.post {
    background: #151520;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #1a1a2e;
    transition: all 0.3s ease;
}

.post:hover {
    border-color: #9C27B0;
    box-shadow: 0 5px 20px rgba(156, 39, 176, 0.3);
    transform: translateY(-3px);
}

.post-title {
    font-size: 1.8rem;
    color: #FF006E;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: #00D9FF;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.5);
}

.post-meta {
    color: #9C27B0;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.post-meta .date {
    color: #00D9FF;
}

.post-content {
    color: #D0D0E0;
    line-height: 1.8;
    margin-top: 1rem;
}

.post-content p {
    margin-bottom: 1rem;
}

.read-more {
    color: #FF006E;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #00D9FF;
    transform: translateX(5px);
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem 0 2rem;
    margin-top: 4rem;
    border-top: 2px solid #151520;
    color: #666;
    font-size: 0.85rem;
}

footer a {
    color: #9C27B0;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #00D9FF;
}

/* Utility Classes */
.accent-cyan {
    color: #00D9FF;
}

.accent-magenta {
    color: #FF006E;
}

.accent-purple {
    color: #9C27B0;
}

/* White Rabbit Easter Egg */
.white-rabbit {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.3;
    transition: all 0.3s ease;
    animation: hop 3s ease-in-out infinite;
    z-index: 100;
}

.white-rabbit:hover {
    opacity: 1;
    transform: scale(1.3);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
}

@keyframes hop {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Terminal Overlay */
.terminal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.terminal-overlay.active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.terminal-screen {
    width: 90%;
    max-width: 900px;
    height: 80%;
    background: #0a0a0a;
    border: 2px solid #00ff00;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0, 255, 0, 0.3),
                inset 0 0 100px rgba(0, 255, 0, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: 'JetBrains Mono', monospace;
    animation: screenFlicker 0.1s ease-in;
}

@keyframes screenFlicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.9; }
}

.terminal-header {
    background: #001a00;
    border-bottom: 1px solid #00ff00;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.terminal-title {
    color: #00ff00;
    font-size: 0.9rem;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

.terminal-close {
    background: none;
    border: 1px solid #00ff00;
    color: #00ff00;
    font-size: 1.5rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    transition: all 0.2s ease;
    padding: 0;
    line-height: 1;
}

.terminal-close:hover {
    background: #00ff00;
    color: #0a0a0a;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.terminal-content {
    flex: 1;
    padding: 1.5rem;
    color: #00ff00;
    overflow-y: auto;
    font-size: 0.95rem;
    line-height: 1.6;
    text-shadow: 0 0 2px rgba(0, 255, 0, 0.3);
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 255, 0, 0.03) 0px,
        rgba(0, 255, 0, 0.03) 1px,
        transparent 1px,
        transparent 2px
    );
}

.terminal-content::-webkit-scrollbar {
    width: 10px;
}

.terminal-content::-webkit-scrollbar-track {
    background: #0a0a0a;
}

.terminal-content::-webkit-scrollbar-thumb {
    background: #00ff00;
    border-radius: 5px;
}

.terminal-line {
    margin-bottom: 0.5rem;
    animation: typeLine 0.03s ease-in;
}

@keyframes typeLine {
    from { opacity: 0; }
    to { opacity: 1; }
}

.terminal-line.choice {
    color: #00ffff;
    cursor: pointer;
    padding: 0.3rem 0;
    transition: all 0.2s ease;
    display: inline-block;
}

.terminal-line.choice:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
    transform: translateX(5px);
}

.terminal-input-line {
    border-top: 1px solid #00ff00;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #001a00;
}

.terminal-prompt {
    color: #00ff00;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

.terminal-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #00ff00;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.95rem;
    outline: none;
    text-shadow: 0 0 2px rgba(0, 255, 0, 0.3);
}

.terminal-input::selection {
    background: #00ff00;
    color: #0a0a0a;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .site-title {
        font-size: 2rem;
    }

    .post {
        padding: 1.5rem;
    }

    .post-title {
        font-size: 1.5rem;
    }

    .terminal-screen {
        width: 95%;
        height: 90%;
    }

    .terminal-content {
        font-size: 0.85rem;
        padding: 1rem;
    }

    .white-rabbit {
        bottom: 15px;
        right: 15px;
        font-size: 1rem;
    }
}
