/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'JetBrains Mono', monospace;
    background-color: #363636;
    color: #44fcf9;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* ASCII Art Header */
.ascii-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px 0;
    border-bottom: 2px solid #44fcf9;
}

.ascii-art {
    font-family: 'JetBrains Mono', monospace;
    font-size: 8px;
    line-height: 1;
    color: #44fcf9;
    text-shadow: 0 0 10px #44fcf9;
    white-space: pre;
    overflow-x: auto;
    margin: 0;
}

/* Header Image */
.header-image {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px 0;
    border-bottom: 2px solid #44fcf9;
}

.neon-header {
    display: inline-block;
    max-width: 100%;
    position: relative;
}

.header-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 0 8px #44fcf9);
    animation: neon-pulse 2s infinite alternate;
}

@keyframes neon-pulse {
    from {
        filter: drop-shadow(0 0 5px #44fcf9);
    }
    to {
        filter: drop-shadow(0 0 15px #44fcf9) drop-shadow(0 0 25px #44fcf9);
    }
}

/* Main Content */
.main-content {
    margin-top: 30px;
}

/* Conversations Container */
.conversations-container {
    background-color: #111111;
    border: 1px solid #44fcf9;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 0 20px hwb(179deg 27% 1% / 50%);
}

.conversations-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #44fcf9;
}

.conversations-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #44fcf9;
    text-shadow: 0 0 10px #44fcf9;
}

/* Search Box */
.search-box input {
    background-color: #0a0a0a;
    border: 1px solid #44fcf9;
    color: #44fcf9;
    padding: 10px 15px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    border-radius: 3px;
    width: 300px;
    outline: none;
    transition: all 0.3s ease;
}

.search-box input:focus {
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
    border-color: #44fcf9;
}

.search-box input::placeholder {
    color: #666666;
}

/* Conversations List */
.conversations-list {
    margin-bottom: 30px;
}

.conversation-item {
    background-color: #0a0a0a;
    border: 1px solid #333333;
    border-radius: 3px;
    padding: 15px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.conversation-item:hover {
    border-color: #44fcf9;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
    transform: translateY(-2px);
}

.conversation-item:hover::before {
    content: '>';
    position: absolute;
    left: -10px;
    color: #44fcf9;
    font-weight: bold;
}

.conversation-title {
    font-size: 16px;
    font-weight: 700;
    color: #44fcf9;
    margin-bottom: 8px;
    text-shadow: 0 0 5px #44fcf9;
}

.conversation-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #666666;
    margin-bottom: 8px;
}

.conversation-author {
    color: #00aa00;
}

.conversation-date {
    color: #666666;
}

.conversation-scenario {
    background-color: #1a1a1a;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 11px;
    color: #44fcf9;
    display: inline-block;
    margin-bottom: 8px;
    border: 1px solid #333333;
}

.conversation-preview {
    font-size: 13px;
    color: #cccccc;
    line-height: 1.4;
    margin-bottom: 8px;
}

.conversation-stats {
    display: flex;
    gap: 15px;
    font-size: 11px;
    color: #666666;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.stat-icon {
    color: #44fcf9;
}

/* Load More Button */
.load-more {
    text-align: center;
    margin-top: 30px;
}

.load-more-btn {
    background-color: #0a0a0a;
    border: 2px solid #44fcf9;
    color: #44fcf9;
    padding: 12px 30px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.load-more-btn:hover {
    background-color: #44fcf9;
    color: #0a0a0a;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
    transform: translateY(-2px);
}

.load-more-btn:active {
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
        width: 100%;
    }
    
    .ascii-art {
        font-size: 6px;
    }
    
    .conversations-header {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .search-box input {
        width: 100%;
    }
    
    .conversation-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .header-image {
        padding: 10px 0;
    }

    .neon-header {
        max-width: 90%;
    }

    .header-image img {
        max-width: 100%;
    }

    .conversation-title {
        font-size: 14px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .conversation-preview {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (max-width: 480px) {
    .ascii-art {
        font-size: 4px;
    }
    
    .conversations-container {
        padding: 15px 10px;
    }
    
    .conversation-item {
        padding: 12px 10px;
    }

    .neon-header {
        max-width: 95%;
    }

    .header-image img {
        max-width: 95%;
    }

    .conversation-title {
        font-size: 13px;
    }

    .conversation-stats {
        flex-wrap: wrap;
        gap: 10px;
    }

    .conversations-header h2 {
        font-size: 20px;
        text-align: center;
        width: 100%;
    }
}

/* Animation for loading */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.loading {
    animation: pulse 1.5s infinite;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: #44fcf9;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00cc00;
}

/* Selection styling */
::selection {
    background-color: #44fcf9;
    color: #0a0a0a;
}

::-moz-selection {
    background-color: #44fcf9;
    color: #0a0a0a;
} 