:root {
    /* Dark bases */
    --deep-black: #0a0a0f;
    --dark-slate: #16161d;
    --midnight-purple: #1f1f2e;
    --dark-indigo: #2a2a3e;
    
    /* Neon accents */
    --electric-pink: #ff006e;
    --hot-pink: #ff3d8f;
    --blazing-orange: #ff8500;
    --amber-glow: #ffa033;
    --cyber-green: #00ff88;
    --mint-glow: #33ffa3;
    
    /* Text */
    --text-primary: #e8e8e8;
    --text-secondary: #9a9a9a;
    --text-dim: #5a5a5a;
}

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

body {
    font-family: 'DM Mono', monospace;
    background: var(--deep-black);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Neon stripes feature - diagonal in top right */
.neon-feature {
    position: fixed;
    top: -300px;
    right: -300px;
    width: 900px;
    height: 900px;
    pointer-events: none;
    z-index: 1;
    transform: rotate(-45deg);
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    -webkit-mask-image: radial-gradient(ellipse 35% 35% at center, black 0%, transparent 70%);
    mask-image: radial-gradient(ellipse 35% 35% at center, black 0%, transparent 70%);
}

.stripe {
    width: 4px;
    height: 100%;
    position: relative;
    animation: pulse 4s ease-in-out infinite;
}

.stripe::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: currentColor;
    filter: blur(1px);
}

.stripe:nth-child(1) {
    color: var(--electric-pink);
    animation-delay: 0s;
}

.stripe:nth-child(2) {
    color: var(--blazing-orange);
    animation-delay: 0.8s;
}

.stripe:nth-child(3) {
    color: var(--cyber-green);
    animation-delay: 1.6s;
}

/* Hide extra stripes - only show 3 */
.stripe:nth-child(4),
.stripe:nth-child(5) {
    display: none;
}

@keyframes pulse {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 1.0; }
}

/* Header with vertical wordmark */
header {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 180px;
    background: var(--dark-slate);
    border-right: 1px solid var(--midnight-purple);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    z-index: 100;
}

.logo-container {
    margin-bottom: 60px;
    animation: fadeInDown 0.8s ease-out;
}

.logo {
    width: 200px;
    height: 200px;
    filter: drop-shadow(0 0 10px rgba(255, 0, 110, 0.3));
}

.wordmark {
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-family: 'Space Mono', monospace;
    font-size: 52px;
    font-weight: 700;
    letter-spacing: -8px;
    color: var(--text-primary);
    line-height: 0.8;
    margin-top: 20px;
    animation: fadeInDown 0.8s ease-out 0.2s both;
}

.wordmark span {
    display: inline-block;
}

.wordmark .d { color: var(--electric-pink); }
.wordmark .a { color: var(--blazing-orange); }
.wordmark .y { color: var(--cyber-green); }

.wordmark .d { 
    color: var(--electric-pink); 
    text-shadow: 0 0 10px rgba(255, 0, 110, 0.6), 0 0 30px rgba(255, 0, 110, 0.3); 
}

.wordmark .a { 
    color: var(--blazing-orange); 
    text-shadow: 0 0 10px rgba(255, 133, 0, 0.6), 0 0 30px rgba(255, 133, 0, 0.3); 
}

.wordmark .y { 
    color: var(--cyber-green); 
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.6), 0 0 30px rgba(0, 255, 136, 0.3); 
}

nav {
    margin-top: auto;
    animation: fadeInDown 0.8s ease-out 0.4s both;
}

nav a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 15px;
}

nav a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--cyber-green);
    opacity: 0;
    transition: opacity 0.3s ease;
}

nav a:hover {
    color: var(--text-primary);
    transform: translateX(5px);
}

nav a:hover::before {
    opacity: 1;
}

/* Main content */
main {
    margin-left: 180px;
    padding: 80px 60px 120px 100px;
    max-width: 1200px;
    position: relative;
    z-index: 10;
}

.page-title {
    font-family: 'Space Mono', monospace;
    font-size: 72px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.page-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 80px;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

/* Blog posts list */
.posts-list {
    list-style: none;
}

.post-item {
    border-bottom: 1px solid var(--midnight-purple);
    padding: 40px 0;
    animation: fadeInUp 0.6s ease-out both;
    transition: background 0.3s ease;
}

.post-item:nth-child(1) { animation-delay: 0.6s; }
.post-item:nth-child(2) { animation-delay: 0.7s; }
.post-item:nth-child(3) { animation-delay: 0.8s; }
.post-item:nth-child(4) { animation-delay: 0.9s; }
.post-item:nth-child(5) { animation-delay: 1s; }

.post-item:hover {
    background: rgba(255, 255, 255, 0.01);
}

.post-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.post-meta {
    display: flex;
    gap: 20px;
    font-size: 12px;
    color: var(--text-dim);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.post-date {
    color: var(--cyber-green);
}

.post-title {
    font-family: 'Space Mono', monospace;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.post-link:hover .post-title {
    color: var(--cyber-green);
}

.post-excerpt {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Expandable corner link - bottom right */
.corner-link {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 120px;
    height: 120px;
    z-index: 200;
}

.corner-button {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: var(--dark-slate);
    border: 2px solid var(--electric-pink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 30px rgba(255, 0, 110, 0.3);
}

.corner-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(255, 0, 110, 0.6);
}

.corner-text {
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    color: var(--electric-pink);
    text-align: center;
    line-height: 1.3;
    font-weight: 700;
}

.corner-overlay {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 120px;
    height: 120px;
    background: var(--electric-pink);
    border-radius: 50%;
    transform: scale(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 150;
    pointer-events: none;
}

.corner-overlay.active {
    transform: scale(50);
    border-radius: 0;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .neon-feature {
        top: -150px;
        right: -150px;
        width: 450px;
        height: 450px;
        -webkit-mask-image: radial-gradient(ellipse 40% 40% at center, black 0%, transparent 70%);
        mask-image: radial-gradient(ellipse 40% 40% at center, black 0%, transparent 70%);
    }

    header {
        width: 100%;
        height: auto;
        flex-direction: row;
        padding: 20px;
        border-right: none;
        border-bottom: 1px solid var(--midnight-purple);
        position: relative;
    }

    .logo-container {
        margin-bottom: 0;
        margin-right: 20px;
    }

    .logo {
        width: 50px;
        height: 50px;
    }

    .wordmark {
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        font-size: 28px;
        margin-top: 0;
        letter-spacing: -2px;
    }

    nav {
        margin-top: 0;
        margin-left: auto;
        display: flex;
        gap: 15px;
    }

    nav a {
        margin-bottom: 0;
        font-size: 12px;
        padding-left: 0;
    }

    nav a::before {
        display: none;
    }

    main {
        margin-left: 0;
        padding: 40px 20px 100px;
    }

    .page-title {
        font-size: 36px;
        margin-bottom: 15px;
    }

    .page-subtitle {
        font-size: 14px;
        margin-bottom: 40px;
    }

    .post-item {
        padding: 30px 0;
    }

    .post-meta {
        gap: 15px;
        font-size: 11px;
    }

    .post-title {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .post-excerpt {
        font-size: 14px;
        line-height: 1.6;
    }

    .corner-link {
        bottom: 20px;
        right: 20px;
        width: 80px;
        height: 80px;
    }

    .corner-button {
        width: 80px;
        height: 80px;
    }

    .corner-text {
        font-size: 11px;
    }

    .corner-overlay {
        bottom: 20px;
        right: 20px;
        width: 80px;
        height: 80px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .neon-feature {
        top: -100px;
        right: -100px;
        width: 300px;
        height: 300px;
    }

    header {
        padding: 15px;
        flex-wrap: wrap;
    }

    .logo-container {
        margin-right: 15px;
    }

    .logo {
        width: 40px;
        height: 40px;
    }

    .wordmark {
        font-size: 24px;
    }

    nav {
        gap: 12px;
    }

    nav a {
        font-size: 11px;
    }

    main {
        padding: 30px 15px 100px;
    }

    .page-title {
        font-size: 28px;
    }

    .page-subtitle {
        font-size: 13px;
        margin-bottom: 30px;
    }

    .post-title {
        font-size: 20px;
    }

    .post-excerpt {
        font-size: 13px;
    }

    .corner-link {
        bottom: 15px;
        right: 15px;
        width: 70px;
        height: 70px;
    }

    .corner-button {
        width: 70px;
        height: 70px;
    }

    .corner-text {
        font-size: 10px;
    }

    .corner-overlay {
        bottom: 15px;
        right: 15px;
        width: 70px;
        height: 70px;
    }
}
