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

body {
    font-family: 'Courier New', 'Monaco', 'Menlo', monospace;
    background: #000000;
    color: #00ff00;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

#app {
    width: 100%;
    height: 100%;
}

.terminal-container {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: #000000;
    border: 2px solid #00ff00;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

.terminal-header {
    padding: 10px 20px;
    border-bottom: 1px solid #00ff00;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #001100;
}

.terminal-title {
    font-size: 14px;
    color: #00ff00;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    font-weight: normal;
}

.terminal-prompt {
    color: #00ff00;
    font-size: 16px;
}

.main-content {
    flex: 1;
    display: flex;
    overflow: hidden;
}

.left-nav {
    width: 200px;
    padding: 40px 20px;
    border-right: 1px solid #00ff00;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    background: #000500;
}

.nav-item {
    font-size: 24px;
    color: #00ff00;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    padding: 10px 0;
    text-align: center;
    width: 100%;
    text-transform: uppercase;
}

.nav-item:hover {
    color: #00ff88;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.nav-label {
    display: inline-block;
}

.nav-cursor {
    animation: blink 1s infinite;
    margin-left: 5px;
}

.right-content {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
    background: #000000;
}

.content-panel {
    width: 100%;
    position: relative;
    min-height: 100%;
}

.panel-header {
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #00ff00;
    font-size: 14px;
    color: #00ff88;
}

.prompt {
    color: #00ff00;
    margin-right: 10px;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.blog-card {
    border: 1px solid #00ff00;
    padding: 15px;
    background: #001100;
    transition: all 0.2s ease;
    cursor: pointer;
    user-select: none;
}

.blog-card:hover {
    background: #002200;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
    transform: translateY(-2px);
}

.card-header {
    font-size: 12px;
    color: #00ff88;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.card-title {
    font-size: 16px;
    color: #00ff00;
    margin-bottom: 8px;
}

.card-date {
    font-size: 12px;
    color: #00aa00;
}

/* Coming Soon */
.coming-soon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    padding: 40px 20px;
}

.coming-soon-text {
    color: #00ff00;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    letter-spacing: 2px;
}

/* Books List */
.books-list {
    padding: 20px 0;
}

.book-section {
    margin-bottom: 30px;
}

.book-section:last-child {
    margin-bottom: 0;
}

.book-section-header {
    color: #00ff88;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #003300;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.book-item {
    padding: 12px 0;
    border-bottom: 1px dotted #003300;
    display: flex;
    gap: 15px;
    font-size: 16px;
    line-height: 1.6;
}

.book-item:last-child {
    border-bottom: none;
}

.line-number {
    color: #00aa00;
    min-width: 40px;
    font-size: 14px;
}

.book-title {
    color: #00ff00;
    font-weight: bold;
}

.books-list .book-item .book-title-link,
.books-list .book-item .book-title-link:link,
.books-list .book-item .book-title-link:visited,
.books-list .book-item .book-title-link:hover,
.books-list .book-item .book-title-link:active,
.books-list .book-item .book-title-link:focus {
    color: #00ff00 !important;
    font-weight: bold !important;
    text-decoration: none !important;
    text-underline-offset: 0 !important;
    cursor: pointer;
    border: none !important;
    outline: none !important;
    display: inline;
    -webkit-text-decoration: none !important;
    -moz-text-decoration: none !important;
}

.book-author {
    color: #00ff88;
}

/* Default Content */
.default-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 30px;
}

.ascii-art {
    color: #00ff00;
    font-size: 12px;
    line-height: 1.2;
}

.ascii-art pre {
    margin: 0;
    font-family: 'Courier New', monospace;
}

.welcome-text {
    text-align: center;
    font-size: 18px;
    color: #00ff00;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.typewriter-text {
    margin: 0;
    font-size: 18px;
    color: #00ff00;
    font-family: 'Courier New', monospace;
}

.typewriter-text .cursor-blink {
    margin-left: 2px;
}

.highlight {
    color: #00ff88;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.terminal-footer {
    padding: 10px 20px;
    border-top: 1px solid #00ff00;
    background: #001100;
}

.footer-line {
    font-size: 14px;
    color: #00ff00;
}

.cursor-blink {
    animation: blink 1s infinite;
    color: #00ff00;
}

/* Animations */
@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

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

.fade-enter-active,
.fade-leave-active {
    transition: opacity 0.3s ease, transform 0.3s ease;
    position: relative;
}

.fade-enter-from {
    opacity: 0;
    transform: translateY(10px);
}

.fade-leave-to {
    opacity: 0;
    transform: translateY(-10px);
}

.fade-enter-to,
.fade-leave-from {
    opacity: 1;
    transform: translateY(0);
}

/* Scrollbar Styling */
.right-content::-webkit-scrollbar {
    width: 10px;
}

.right-content::-webkit-scrollbar-track {
    background: #000500;
}

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

.right-content::-webkit-scrollbar-thumb:hover {
    background: #00ff88;
}

/* Post View */
.post-view {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000000;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.post-content {
    width: 100%;
    max-width: 900px;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #000000;
    border: 1px solid #00ff00;
    padding: 20px;
    overflow-y: auto;
}

/* Loading Indicator */
.loading-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 20px;
}

.loading-line {
    font-size: 14px;
    color: #00ff00;
}

.loading-dots {
    display: flex;
    gap: 5px;
    color: #00ff00;
    font-size: 24px;
}

.loading-dots span {
    animation: loadingDot 1.4s infinite;
}

.loading-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.loading-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes loadingDot {
    0%, 60%, 100% {
        opacity: 0.3;
    }
    30% {
        opacity: 1;
    }
}

/* Post Body */
.post-body {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.post-header {
    margin-bottom: 30px;
}

.post-meta {
    color: #00ff00;
}

.meta-line {
    font-size: 14px;
    margin-bottom: 10px;
}

.meta-separator {
    color: #00aa00;
    font-size: 12px;
    margin: 15px 0;
    letter-spacing: 1px;
}

.meta-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 15px 0;
}

.meta-item {
    display: flex;
    gap: 15px;
    font-size: 14px;
}

.meta-label {
    color: #00aa00;
    min-width: 80px;
    text-transform: uppercase;
}

.meta-value {
    color: #00ff00;
}

.post-text {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 30px;
}

.post-text {
    color: #00ff00;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.8;
}

.post-text-content {
    white-space: pre-wrap;
    word-wrap: break-word;
    margin: 0;
    color: #00ff00;
}

.code-block {
    background: #001100;
    border: 1px solid #00ff00;
    border-left: 3px solid #00ff00;
    padding: 15px;
    margin: 20px 0;
    overflow-x: auto;
    white-space: pre;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.6;
    color: #00ff00;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.2);
}

/* Post Share */
.post-share {
    border-top: 1px dashed #00ff00;
    padding-top: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.share-label {
    color: #00aa00;
    font-size: 14px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.share-button {
    background: transparent;
    border: 1px solid #00ff00;
    color: #00ff00;
    padding: 8px 16px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.share-button:hover {
    background: #00ff00;
    color: #000000;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.share-button:active {
    transform: scale(0.95);
}

/* Post Navigation */
.post-navigation {
    border-top: 1px dashed #00ff00;
    padding-top: 20px;
    margin-top: auto;
}

.nav-commands {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.nav-button {
    background: #001100;
    border: 1px solid #00ff00;
    color: #00ff00;
    padding: 10px 20px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
}

.nav-button:hover {
    background: #002200;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
    color: #00ff88;
}

.nav-button:active {
    transform: translateY(1px);
}

/* Slide Transition */
.slide-enter-active {
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.slide-leave-active {
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.slide-enter-from {
    transform: translateX(100%);
    opacity: 0;
}

.slide-leave-to {
    transform: translateX(100%);
    opacity: 0;
}

/* Post View Scrollbar */
.post-content::-webkit-scrollbar {
    width: 10px;
}

.post-content::-webkit-scrollbar-track {
    background: #000500;
}

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

.post-content::-webkit-scrollbar-thumb:hover {
    background: #00ff88;
}

/* Responsive */
@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
    }

    .left-nav {
        width: 100%;
        flex-direction: row;
        padding: 20px;
        border-right: none;
        border-bottom: 1px solid #00ff00;
        gap: 20px;
        justify-content: center;
        align-items: center;
    }

    .nav-item {
        font-size: 20px;
    }

    .right-content {
        padding: 20px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .ascii-art {
        font-size: 8px;
    }

    .welcome-text {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .terminal-header {
        padding: 8px 15px;
    }

    .terminal-title {
        font-size: 12px;
    }

    .left-nav {
        padding: 15px;
        gap: 15px;
    }

    .nav-item {
        font-size: 18px;
    }

    .right-content {
        padding: 15px;
    }

    .panel-header {
        font-size: 12px;
    }

    .blog-card {
        padding: 12px;
    }

    .card-title {
        font-size: 14px;
    }

    .book-item {
        font-size: 14px;
        flex-wrap: wrap;
    }

    .post-content {
        padding: 15px;
    }

    .post-text pre {
        font-size: 12px;
    }

    .nav-commands {
        flex-direction: column;
        gap: 10px;
    }

    .nav-button {
        width: 100%;
    }
}

/* Game Styles */
.game-panel {
    padding: 20px;
}

/* Lofi Player Styles */
.lofi-panel {
    padding: 20px;
}

.lofi-player {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.lofi-controls {
    display: flex;
    gap: 20px;
}

.lofi-button {
    background: transparent;
    border: 2px solid #00ff00;
    color: #00ff00;
    padding: 12px 24px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
}

.lofi-button:hover {
    background: #00ff00;
    color: #000000;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
}

.lofi-visualizer {
    height: 200px;
    width: 100%;
    max-width: 600px;
    padding: 20px;
    border: 1px dashed #00ff00;
    background: #001100;
    overflow: hidden;
    position: relative;
}

.lofi-waveform {
    display: flex;
    align-items: center;
    justify-content: center;
}

.waveform-display {
    color: #00ff00;
    font-family: 'Courier New', monospace;
    font-size: 10px;
    line-height: 1.2;
    margin: 0;
    white-space: pre;
    text-align: center;
}

.lofi-matrix {
    display: flex;
    gap: 2px;
    align-items: flex-start;
    justify-content: center;
    font-family: 'Courier New', monospace;
}

.matrix-column {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    line-height: 1.2;
}

.matrix-char {
    color: #00ff00;
    transition: opacity 0.1s ease;
    text-shadow: 0 0 3px rgba(0, 255, 0, 0.8);
}

.lofi-info {
    width: 100%;
    max-width: 600px;
    padding: 15px;
    border: 1px dashed #00ff00;
    background: #001100;
}

.lofi-status {
    display: flex;
    gap: 15px;
    font-size: 14px;
}

.lofi-label {
    color: #00aa00;
}

.lofi-value {
    color: #00ff00;
    font-weight: bold;
}

.game-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 500px;
    color: #00ff00;
    font-family: 'Courier New', monospace;
}

.loading-text {
    font-size: 18px;
    animation: blink 1s infinite;
}

.game-container {
    width: 100%;
    height: 100%;
    min-height: 500px;
    position: relative;
}

.game-stats {
    display: flex;
    justify-content: space-around;
    padding: 15px 0;
    border-bottom: 1px dashed #00ff00;
    margin-bottom: 20px;
}

.stat-item {
    display: flex;
    gap: 10px;
    font-size: 14px;
}

.stat-label {
    color: #00aa00;
}

.stat-value {
    color: #00ff00;
    font-weight: bold;
}

.game-area {
    position: relative;
    width: 100%;
    height: 500px;
    background: #000500;
    border: 1px solid #00ff00;
    overflow: hidden;
}

/* Code Overlay */
.code-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 350px;
    max-height: 400px;
    background: rgba(0, 17, 0, 0.95);
    border: 2px solid #00ff00;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    font-family: 'Courier New', monospace;
}

.code-overlay-header {
    padding: 10px 15px;
    border-bottom: 1px solid #00ff00;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #001100;
}

.code-prompt {
    color: #00ff00;
    font-size: 12px;
}

.code-close {
    background: transparent;
    border: 1px solid #00ff00;
    color: #00ff00;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.code-close:hover {
    background: #00ff00;
    color: #000000;
}

.code-content {
    padding: 15px;
    overflow-y: auto;
    flex: 1;
    max-height: 300px;
}

.code-content pre {
    color: #00ff00;
    font-family: 'Courier New', monospace;
    font-size: 11px;
    line-height: 1.6;
    margin: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.code-footer {
    padding: 8px 15px;
    border-top: 1px solid #00ff00;
    background: #001100;
    font-size: 10px;
    color: #00aa00;
}

.code-hint {
    font-style: italic;
}

.bricks-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.brick {
    position: absolute;
    color: #00ff00;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #00aa00;
    background: #001100;
    transition: opacity 0.2s ease;
}

.brick-destroyed {
    opacity: 0;
    pointer-events: none;
}

.brick-0 {
    color: #00ff00;
    background: #002200;
}

.brick-1 {
    color: #00ff88;
    background: #001a00;
}

.brick-2 {
    color: #00aa00;
    background: #001100;
}

.brick-3 {
    color: #008800;
    background: #000a00;
}

.brick-4 {
    color: #00aa00;
    background: #001100;
}

.ball {
    position: absolute;
    color: #00ff00;
    font-size: 16px;
    width: 16px;
    height: 16px;
    transform: translate(-50%, -50%);
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.8);
}

.paddle {
    position: absolute;
    bottom: 40px;
    color: #00ff00;
    font-size: 14px;
    font-family: 'Courier New', monospace;
    transform: translateX(-50%);
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
    cursor: none;
}

.game-ready,
.game-over,
.game-paused {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    background: rgba(0, 0, 0, 0.9);
    padding: 40px;
    border: 2px solid #00ff00;
}

.game-ready {
    background: rgba(0, 17, 0, 0.95);
}

.ready-text,
.game-over-title,
.paused-text {
    font-size: 32px;
    color: #00ff00;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.ready-hint,
.ready-controls,
.game-over-score,
.game-over-level,
.paused-hint {
    font-size: 16px;
    color: #00ff88;
    margin: 10px 0;
}

.ready-controls {
    margin-top: 20px;
    font-size: 14px;
    color: #00aa00;
}

.game-button {
    background: #001100;
    border: 1px solid #00ff00;
    color: #00ff00;
    padding: 15px 30px;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

.game-button:hover {
    background: #002200;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
    color: #00ff88;
}

.game-button:active {
    transform: translateY(1px);
}

