/* Import Terminal Font */
@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Share Tech Mono', monospace;
    background: #000000;
    min-height: 100vh;
    color: #00ff00;
    line-height: 1.4;
    font-size: 13px;
    overflow-x: hidden;
}

/* CRT Container with Scanlines */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent 50%, rgba(0, 255, 0, 0.03) 50%);
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 1000;
    animation: flicker 0.15s linear infinite;
}

/* CRT Flicker Animation */
@keyframes flicker {
    0% { opacity: 0.02; }
    50% { opacity: 0.04; }
    100% { opacity: 0.02; }
}

/* Glow Animation */
@keyframes glow {
    0% { text-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00; }
    50% { text-shadow: 0 0 20px #00ff00, 0 0 30px #00ff00; }
    100% { text-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00; }
}

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

.terminal-cursor::after {
    content: '_';
    animation: blink 1s infinite;
    color: #00ff00;
}

/* Container with Terminal Frame */
.container {
    max-width: 1200px;
    margin: 20px auto;
    min-height: calc(100vh - 40px);
    border: 2px solid #00ff00;
    border-radius: 0;
    box-shadow: 
        0 0 20px rgba(0, 255, 0, 0.5),
        inset 0 0 20px rgba(0, 255, 0, 0.1);
    background: rgba(0, 0, 0, 0.9);
    position: relative;
}

/* Terminal Frame Corners */
.container::before {
    content: '┌─ TERMINAL FRAME ─┐';
    position: absolute;
    top: -15px;
    left: 20px;
    background: #000000;
    padding: 0 10px;
    font-size: 12px;
    color: #00ff00;
    text-shadow: 0 0 5px #00ff00;
}

/* Header Styles - Terminal Style */
.header {
    background: transparent;
    border-bottom: 1px solid #00ff00;
    padding: 15px 20px;
    color: #00ff00;
    position: relative;
}

.header::before {
    content: 'SYSTEM READY_';
    position: absolute;
    top: 5px;
    right: 20px;
    font-size: 10px;
    opacity: 0.7;
    animation: blink 2s infinite;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: glow 2s ease-in-out infinite alternate;
}

.logo-icon {
    font-size: 20px;
    filter: drop-shadow(0 0 5px #00ff00);
}

.stats-bar {
    display: flex;
    gap: 2rem;
    font-size: 11px;
    text-transform: uppercase;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stat-label {
    opacity: 0.8;
}

.stat-value {
    font-weight: bold;
    color: #00ff00;
    text-shadow: 0 0 5px #00ff00;
}

/* Navigation - Terminal Tabs */
.navigation {
    background: transparent;
    border-bottom: 1px solid #00ff00;
    padding: 0 20px;
}

.nav-container {
    display: flex;
    gap: 0;
}

.nav-tab {
    background: transparent;
    border: none;
    color: rgba(0, 255, 0, 0.7);
    padding: 12px 25px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-tab:hover {
    color: #00ff00;
    background: rgba(0, 255, 0, 0.05);
    text-shadow: 0 0 5px #00ff00;
}

.nav-tab.active {
    color: #00ff00;
    border-bottom-color: #00ff00;
    background: rgba(0, 255, 0, 0.1);
    text-shadow: 0 0 10px #00ff00;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Join Section - Terminal Style */
.join-section {
    width: 100%;
    max-width: 600px;
}

.join-card {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #00ff00;
    padding: 30px;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

.join-card h2 {
    text-align: center;
    margin-bottom: 10px;
    color: #00ff00;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: glow 3s ease-in-out infinite alternate;
}

.join-description {
    text-align: center;
    color: rgba(0, 255, 0, 0.8);
    margin-bottom: 25px;
    font-size: 11px;
    text-transform: uppercase;
}

/* Form Styles */
.input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.input-group input {
    flex: 1;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid #00ff00;
    color: #00ff00;
    padding: 12px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    transition: all 0.3s;
}

.input-group input:focus {
    outline: none;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
    background: rgba(0, 255, 0, 0.05);
}

.input-group input::placeholder {
    color: rgba(0, 255, 0, 0.5);
    text-transform: uppercase;
    font-size: 10px;
}

/* Terminal Buttons */
.btn-primary, .btn-secondary, .btn-send, .btn-link {
    background: transparent;
    border: 2px solid #00ff00;
    color: #00ff00;
    padding: 12px 20px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
}

.btn-primary:hover, .btn-secondary:hover, .btn-send:hover {
    background: rgba(0, 255, 0, 0.1);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
    text-shadow: 0 0 5px #00ff00;
}

.btn-primary {
    background: rgba(0, 255, 0, 0.1);
    min-width: 140px;
}

.btn-primary:disabled, .btn-secondary:disabled, .btn-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-link {
    border: none;
    background: none;
    text-decoration: underline;
    padding: 5px 10px;
    font-size: 10px;
}

.btn-link:hover {
    background: rgba(0, 255, 0, 0.05);
    text-shadow: 0 0 5px #00ff00;
}

/* Loading Spinner - Terminal Style */
.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(0, 255, 0, 0.3);
    border-top: 2px solid #00ff00;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Error Messages - Terminal Style */
.error-message {
    background: rgba(255, 0, 0, 0.1);
    color: #ff0000;
    padding: 12px;
    border: 1px solid #ff0000;
    margin-top: 10px;
    font-size: 11px;
    text-transform: uppercase;
    text-shadow: 0 0 5px #ff0000;
}

/* Help Text - Terminal Style */
.help-text {
    margin-top: 20px;
    color: rgba(0, 255, 0, 0.7);
    font-size: 10px;
    text-transform: uppercase;
}

.help-text ul {
    list-style: none;
    padding-left: 0;
}

.help-text li {
    padding: 3px 0;
    position: relative;
    padding-left: 15px;
}

.help-text li::before {
    content: ">";
    position: absolute;
    left: 0;
    color: #00ff00;
    font-weight: bold;
}

/* Username Flow Styles */
.chat-selection-step {
    margin-top: 20px;
}

.user-greeting {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 255, 0, 0.3);
}

.user-greeting h3 {
    margin: 0;
    color: #00ff00;
    font-size: 12px;
    text-transform: uppercase;
    text-shadow: 0 0 5px #00ff00;
}

.available-chats h4, .create-new-chat h4 {
    margin: 0 0 15px 0;
    color: #00ff00;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Chat List - Terminal Style */
.chat-list {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 20px;
    border: 1px solid #00ff00;
    background: rgba(0, 0, 0, 0.5);
}

.chat-item {
    padding: 15px;
    border-bottom: 1px solid rgba(0, 255, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s;
}

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

.chat-item:hover {
    background: rgba(0, 255, 0, 0.1);
    box-shadow: inset 0 0 10px rgba(0, 255, 0, 0.2);
}

.chat-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.chat-item-name {
    font-weight: bold;
    color: #00ff00;
    font-size: 12px;
    text-transform: uppercase;
}

.chat-item-symbol {
    color: rgba(0, 255, 0, 0.7);
    font-size: 10px;
    margin-left: 5px;
}

.chat-item-users {
    color: #00ff00;
    font-size: 10px;
    text-transform: uppercase;
}

.chat-item-market-cap {
    color: #00ff00;
    font-size: 10px;
    font-weight: bold;
    margin-bottom: 5px;
    text-shadow: 0 0 5px #00ff00;
}

.chat-item-address {
    color: rgba(0, 255, 0, 0.5);
    font-size: 9px;
    font-family: 'Share Tech Mono', monospace;
    word-break: break-all;
}

.loading-simple, .no-chats {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    color: rgba(0, 255, 0, 0.7);
    font-size: 11px;
    text-transform: uppercase;
}

/* Chat Section - Terminal Style */
.chat-section {
    width: 100%;
    height: calc(100vh - 140px);
}

.chat-container {
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid #00ff00;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

/* Chat Header - Terminal Style */
.chat-header {
    background: rgba(0, 255, 0, 0.05);
    color: #00ff00;
    padding: 15px 20px;
    border-bottom: 1px solid #00ff00;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.token-info h3 {
    font-size: 14px;
    margin-bottom: 5px;
    text-transform: uppercase;
    text-shadow: 0 0 5px #00ff00;
}

.token-details {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.9;
    font-size: 10px;
}

.token-symbol {
    background: rgba(0, 255, 0, 0.2);
    padding: 2px 8px;
    border: 1px solid #00ff00;
    font-weight: bold;
    font-size: 9px;
}

.token-address {
    font-family: 'Share Tech Mono', monospace;
    font-size: 9px;
    opacity: 0.7;
}

.market-data {
    display: flex;
    gap: 15px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.market-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.market-label {
    font-size: 9px;
    opacity: 0.8;
    text-transform: uppercase;
}

.market-value {
    font-size: 10px;
    font-weight: bold;
    color: #00ff00;
    background: rgba(0, 255, 0, 0.1);
    padding: 3px 8px;
    border: 1px solid rgba(0, 255, 0, 0.3);
    min-width: 60px;
    text-align: center;
    text-shadow: 0 0 5px #00ff00;
}

.market-value.updating {
    animation: glow 0.5s ease-in-out;
}

/* DEX Fund Widget */
.dex-fund-widget {
    background: rgba(0, 255, 0, 0.05);
    border: 1px solid #00ff00;
    padding: 12px;
    margin: 10px 0;
    min-width: 200px;
}

.fund-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.fund-header h4 {
    color: #00ff00;
    font-size: 10px;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 5px #00ff00;
}

.fund-status {
    background: rgba(0, 255, 0, 0.2);
    color: #00ff00;
    padding: 2px 6px;
    border: 1px solid #00ff00;
    font-size: 8px;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 0 0 3px #00ff00;
}

.fund-amount {
    color: #00ff00;
    font-size: 10px;
    font-weight: bold;
    margin-bottom: 5px;
    text-align: center;
    text-shadow: 0 0 3px #00ff00;
}

.fund-bar {
    width: 100%;
    height: 6px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #00ff00;
    margin-bottom: 8px;
    overflow: hidden;
}

.fund-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00ff00, rgba(0, 255, 0, 0.7));
    transition: width 0.5s ease;
    box-shadow: 0 0 8px rgba(0, 255, 0, 0.8);
    animation: progressGlow 2s ease-in-out infinite alternate;
}

.contribute-btn {
    width: 100%;
    padding: 6px 12px;
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid #00ff00;
    color: #00ff00;
    font-size: 9px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}

.contribute-btn:hover {
    background: rgba(0, 255, 0, 0.2);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
    text-shadow: 0 0 5px #00ff00;
}

.chat-stats {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-count {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: bold;
    font-size: 11px;
}

/* Messages - Terminal Style */
.messages-container {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.messages {
    flex: 1;
    overflow-y: auto;
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(0, 0, 0, 0.5);
}

.message {
    display: flex;
    flex-direction: column;
    max-width: 70%;
    animation: messageSlideIn 0.3s ease-out;
}

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

.message-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 3px;
}

.message-username {
    font-weight: bold;
    color: #00ff00;
    font-size: 10px;
    text-transform: uppercase;
    text-shadow: 0 0 3px #00ff00;
}

.message-time {
    color: rgba(0, 255, 0, 0.5);
    font-size: 9px;
}

.message-content {
    background: rgba(0, 255, 0, 0.05);
    padding: 8px 12px;
    border: 1px solid rgba(0, 255, 0, 0.3);
    word-wrap: break-word;
    line-height: 1.3;
    font-size: 11px;
}

.message.own {
    align-self: flex-end;
    align-items: flex-end;
}

.message.own .message-content {
    background: rgba(0, 255, 0, 0.1);
    border-color: #00ff00;
    text-shadow: 0 0 3px #00ff00;
}

/* Message Input - Terminal Style */
.message-input-container {
    border-top: 1px solid #00ff00;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.8);
}

.message-form {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
}

.message-form input {
    flex: 1;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid #00ff00;
    color: #00ff00;
    padding: 12px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    transition: all 0.3s;
}

.message-form input:focus {
    outline: none;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
    background: rgba(0, 255, 0, 0.05);
}

.message-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(0, 255, 0, 0.5);
    font-size: 9px;
    text-transform: uppercase;
}

/* Footer - Terminal Style */
.footer {
    background: transparent;
    border-top: 1px solid #00ff00;
    padding: 10px 20px;
    color: rgba(0, 255, 0, 0.7);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 10px;
    text-transform: uppercase;
}

.connection-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffaa00;
    animation: pulse 2s infinite;
    box-shadow: 0 0 5px currentColor;
}

.status-dot.connected {
    background: #00ff00;
    animation: none;
}

.status-dot.disconnected {
    background: #ff0000;
    animation: none;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Toast Notifications - Terminal Style */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toast {
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid #00ff00;
    padding: 12px 15px;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
    max-width: 300px;
    animation: toastSlideIn 0.3s ease-out;
    font-size: 10px;
    text-transform: uppercase;
    color: #00ff00;
}

.toast.error {
    border-color: #ff0000;
    color: #ff0000;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
}

.toast.success {
    border-color: #00ff00;
    color: #00ff00;
    text-shadow: 0 0 5px #00ff00;
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Roadmap Section - Terminal Style */
.roadmap-section {
    width: 100%;
    height: calc(100vh - 200px);
}

.roadmap-container {
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid #00ff00;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
    overflow: hidden;
}

.roadmap-header {
    padding: 20px;
    border-bottom: 1px solid #00ff00;
    background: rgba(0, 255, 0, 0.05);
    text-align: center;
}

.roadmap-header h2 {
    font-size: 18px;
    font-weight: bold;
    color: #00ff00;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: glow 3s ease-in-out infinite alternate;
    margin-bottom: 8px;
}

.roadmap-description {
    color: rgba(0, 255, 0, 0.8);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.roadmap-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
}

.roadmap-feature {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #00ff00;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.2);
}

.feature-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.feature-header h3 {
    font-size: 14px;
    font-weight: bold;
    color: #00ff00;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 5px #00ff00;
}

.feature-status {
    padding: 4px 12px;
    border: 1px solid;
    font-size: 9px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-status.in-development {
    color: #ffaa00;
    border-color: #ffaa00;
    background: rgba(255, 170, 0, 0.1);
    text-shadow: 0 0 5px #ffaa00;
}

.feature-status.coming-soon {
    color: #00ff00;
    border-color: #00ff00;
    background: rgba(0, 255, 0, 0.1);
    text-shadow: 0 0 5px #00ff00;
}

.feature-status.active {
    color: #00ff00;
    border-color: #00ff00;
    background: rgba(0, 255, 0, 0.2);
    text-shadow: 0 0 5px #00ff00;
    animation: glow 2s ease-in-out infinite alternate;
}

.feature-status.planned {
    color: rgba(0, 255, 0, 0.7);
    border-color: rgba(0, 255, 0, 0.7);
    background: rgba(0, 255, 0, 0.05);
}

.feature-description {
    color: rgba(0, 255, 0, 0.8);
    font-size: 11px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.feature-details h4 {
    color: #00ff00;
    font-size: 11px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-details ul {
    list-style: none;
    padding-left: 0;
}

.feature-details li {
    color: rgba(0, 255, 0, 0.8);
    font-size: 10px;
    padding: 3px 0;
    position: relative;
    padding-left: 15px;
    text-transform: uppercase;
}

.feature-details li::before {
    content: ">";
    position: absolute;
    left: 0;
    color: #00ff00;
    font-weight: bold;
}

.progress-section {
    margin-top: 15px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #00ff00;
    margin-bottom: 8px;
    position: relative;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #00ff00, rgba(0, 255, 0, 0.7));
    transition: width 0.5s ease;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
    animation: progressGlow 2s ease-in-out infinite alternate;
}

@keyframes progressGlow {
    0% { box-shadow: 0 0 5px rgba(0, 255, 0, 0.5); }
    100% { box-shadow: 0 0 15px rgba(0, 255, 0, 0.8); }
}

.progress-text {
    color: rgba(0, 255, 0, 0.8);
    font-size: 9px;
    text-transform: uppercase;
    font-weight: bold;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.premium-feature {
    background: rgba(0, 255, 0, 0.05);
    border: 1px solid rgba(0, 255, 0, 0.3);
    padding: 15px;
    transition: all 0.3s;
}

.premium-feature:hover {
    background: rgba(0, 255, 0, 0.1);
    border-color: #00ff00;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.premium-feature h4 {
    color: #00ff00;
    font-size: 11px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 3px #00ff00;
}

.premium-feature .cost {
    color: #ffaa00;
    font-size: 10px;
    font-weight: bold;
    margin-bottom: 8px;
    text-transform: uppercase;
    text-shadow: 0 0 3px #ffaa00;
}

.premium-feature p {
    color: rgba(0, 255, 0, 0.8);
    font-size: 9px;
    text-transform: uppercase;
}

.tokenomics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin: 15px 0;
}

.burn-source {
    background: rgba(255, 0, 0, 0.05);
    border: 1px solid rgba(255, 0, 0, 0.3);
    padding: 15px;
    text-align: center;
    transition: all 0.3s;
}

.burn-source:hover {
    background: rgba(255, 0, 0, 0.1);
    border-color: #ff0000;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

.burn-source h4 {
    color: #ff0000;
    font-size: 11px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 3px #ff0000;
}

.burn-source p {
    color: rgba(255, 0, 0, 0.8);
    font-size: 9px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.burn-amount {
    color: #ff0000;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    text-shadow: 0 0 5px #ff0000;
    animation: glow 3s ease-in-out infinite alternate;
}

.total-burn {
    background: rgba(255, 0, 0, 0.1);
    border: 2px solid #ff0000;
    padding: 15px;
    text-align: center;
    margin-top: 20px;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
}

.total-burn h4 {
    color: #ff0000;
    font-size: 12px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 8px #ff0000;
    animation: glow 2s ease-in-out infinite alternate;
}

.total-burn p {
    color: rgba(255, 0, 0, 0.8);
    font-size: 10px;
    text-transform: uppercase;
}

.future-timeline {
    margin-top: 15px;
}

.timeline-item {
    display: flex;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(0, 255, 0, 0.03);
    border: 1px solid rgba(0, 255, 0, 0.2);
    transition: all 0.3s;
}

.timeline-item:hover {
    background: rgba(0, 255, 0, 0.05);
    border-color: rgba(0, 255, 0, 0.4);
}

.timeline-quarter {
    min-width: 80px;
    color: #00ff00;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    margin-right: 20px;
    text-shadow: 0 0 5px #00ff00;
}

.timeline-features p {
    color: rgba(0, 255, 0, 0.8);
    font-size: 10px;
    margin-bottom: 3px;
    text-transform: uppercase;
}

/* Browse Section - Terminal Style */
.browse-section {
    width: 100%;
    height: calc(100vh - 200px);
}

.browse-container {
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid #00ff00;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

.browse-controls {
    padding: 15px 20px;
    border-bottom: 1px solid #00ff00;
    background: rgba(0, 255, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.search-container {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.search-container input {
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid #00ff00;
    color: #00ff00;
    padding: 10px 15px 10px 35px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    transition: all 0.3s;
}

.search-container input:focus {
    outline: none;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
    background: rgba(0, 255, 0, 0.05);
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(0, 255, 0, 0.7);
    font-size: 12px;
}

.filter-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-select {
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid #00ff00;
    color: #00ff00;
    padding: 8px 12px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.sort-select:focus {
    outline: none;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.refresh-btn {
    background: rgba(0, 255, 0, 0.1);
    color: #00ff00;
    border: 2px solid #00ff00;
    padding: 8px;
    cursor: pointer;
    transition: all 0.3s;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.refresh-btn:hover {
    background: rgba(0, 255, 0, 0.2);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
    transform: rotate(90deg);
}

.refresh-icon {
    font-size: 14px;
}

/* Chat Cards - Terminal Style */
.chat-cards-container {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
}

.chat-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.chat-card {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #00ff00;
    padding: 15px;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
}

.chat-card:hover {
    background: rgba(0, 255, 0, 0.05);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
    border-color: #00ff00;
}

.chat-card.hot::before {
    content: "🔥 HOT";
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 9px;
    color: #ffaa00;
    text-shadow: 0 0 5px #ffaa00;
}

.chat-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.token-info-card {
    flex: 1;
}

.token-name-card {
    font-size: 12px;
    font-weight: bold;
    color: #00ff00;
    margin-bottom: 3px;
    text-transform: uppercase;
    text-shadow: 0 0 3px #00ff00;
}

.token-symbol-card {
    background: rgba(0, 255, 0, 0.1);
    color: #00ff00;
    padding: 2px 6px;
    border: 1px solid #00ff00;
    font-size: 9px;
    font-weight: bold;
    display: inline-block;
}

.chat-stats-card {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
}

.user-count-card {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 10px;
    color: #00ff00;
    font-weight: bold;
}

.activity-time {
    font-size: 9px;
    color: rgba(0, 255, 0, 0.5);
}

.token-address-card {
    font-family: 'Share Tech Mono', monospace;
    font-size: 9px;
    color: rgba(0, 255, 0, 0.5);
    margin-top: 8px;
    word-break: break-all;
    line-height: 1.2;
}

/* Loading and Empty States - Terminal Style */
.loading-state, .empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
    color: rgba(0, 255, 0, 0.7);
    min-height: 200px;
}

.loading-state .spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(0, 255, 0, 0.3);
    border-top: 3px solid #00ff00;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

.empty-icon {
    font-size: 40px;
    margin-bottom: 15px;
    opacity: 0.5;
    filter: drop-shadow(0 0 5px #00ff00);
}

.empty-state h3 {
    font-size: 12px;
    margin-bottom: 8px;
    color: #00ff00;
    text-transform: uppercase;
    text-shadow: 0 0 5px #00ff00;
}

.empty-state p {
    color: rgba(0, 255, 0, 0.7);
    font-size: 10px;
    text-transform: uppercase;
}

/* Scrollbar Styling - Terminal */
.messages::-webkit-scrollbar,
.chat-cards-container::-webkit-scrollbar,
.chat-list::-webkit-scrollbar {
    width: 8px;
}

.messages::-webkit-scrollbar-track,
.chat-cards-container::-webkit-scrollbar-track,
.chat-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.5);
}

.messages::-webkit-scrollbar-thumb,
.chat-cards-container::-webkit-scrollbar-thumb,
.chat-list::-webkit-scrollbar-thumb {
    background: rgba(0, 255, 0, 0.5);
    border: 1px solid #00ff00;
}

.messages::-webkit-scrollbar-thumb:hover,
.chat-cards-container::-webkit-scrollbar-thumb:hover,
.chat-list::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 255, 0, 0.7);
}

/* Responsive Design - Terminal */
@media (max-width: 768px) {
    .container {
        margin: 10px;
        min-height: calc(100vh - 20px);
    }
    
    .main-content {
        padding: 15px;
    }
    
    .join-card {
        padding: 20px;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .stats-bar {
        gap: 15px;
    }
    
    .chat-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .chat-stats {
        width: 100%;
        justify-content: space-between;
    }
    
    .message {
        max-width: 85%;
    }
    
    .input-group {
        flex-direction: column;
        gap: 8px;
    }
    
    .browse-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .search-container {
        max-width: none;
    }
    
    .chat-cards-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .nav-tab {
        padding: 10px 15px;
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 10px 15px;
    }
    
    .join-card {
        padding: 15px;
    }
    
    .logo {
        font-size: 14px;
    }
    
    .message-form input {
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    .chat-card {
        padding: 12px;
    }
    
    .browse-controls {
        padding: 12px 15px;
    }
}