@font-face {
    font-family: 'Jura';
    src: url('fonts/Jura-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
}

@font-face {
    font-family: 'Fundamental Brigade';
    src: url('fonts/Fundamental_Brigade_Schlank.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --primary-dark: #0b0a0b;
    --accent-green: #aae21d;
    --secondary-dark: #161618;
    --light-text: #fafafa;
}

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

body {
    font-family: 'Jura', monospace;
    background: var(--primary-dark);
    min-height: 100vh;
    color: var(--light-text);
}

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

.header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px 0;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 70px;
    width: auto;
    filter: drop-shadow(0 0 15px rgba(170, 226, 29, 0.4));
}

.title {
    font-family: 'Fundamental Brigade', sans-serif;
    font-size: 2.5rem;
    color: var(--accent-green);
    text-shadow: 0 0 20px rgba(170, 226, 29, 0.3);
    letter-spacing: 2px;
    margin: 0;
    line-height: 1.6;
}

.console-window {
    background: var(--secondary-dark);
    border: 1px solid rgba(250, 250, 250, 0.1);
    overflow: hidden;
    border-radius: 4px;
}

.console-header {
    background: var(--secondary-dark);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid var(--secondary-dark);
}

.console-buttons {
    display: flex;
    gap: 8px;
}

.btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.btn-close {
    background: #ff5f57;
}

.btn-minimize {
    background: #ffbd2e;
}

.btn-maximize {
    background: #28ca42;
}

.console-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--light-text);
    font-size: 14px;
    font-weight: 400;
    flex: 1;
}

.console-body {
    padding: 30px;
    min-height: 400px;
    background: var(--secondary-dark);
    font-size: 16px;
    line-height: 1.8;
}

.console-content {
    color: var(--light-text);
}

.welcome-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.welcome-text {
    min-height: 24px;
}

.typing-text {
    color: var(--light-text);
    font-size: 16px;
    font-weight: 400;
}

.input-section {
    margin-top: 10px;
}

.input-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.prompt {
    color: var(--accent-green);
    font-size: 16px;
    font-weight: 400;
}

.wallet-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--light-text);
    font-family: 'Jura', monospace;
    font-size: 16px;
    outline: none;
    padding: 0;
}

.wallet-input::placeholder {
    color: rgba(250, 250, 250, 0.4);
}

.cursor-blink {
    color: var(--accent-green);
    font-size: 16px;
    animation: cursorBlink 1s step-end infinite;
}

@keyframes cursorBlink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

.metrics-section {
    margin-top: 20px;
}

.wallet-info {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(250, 250, 250, 0.1);
    color: var(--light-text);
    font-size: 16px;
    opacity: 0.8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.wallet-info .wallet-address {
    color: var(--accent-green);
    font-weight: 400;
}

.wallet-info .wallet-address.typing::after {
    content: '█';
    color: var(--light-text);
    animation: cursorBlink 1s step-end infinite;
    margin-left: 2px;
}

.metric-item {
    margin-bottom: 12px;
    padding: 0;
}

.metric-label {
    color: var(--light-text);
    font-size: 16px;
    margin-right: 8px;
    opacity: 0.8;
}

.metric-label.typing::after {
    content: '█';
    color: var(--light-text);
    animation: cursorBlink 1s step-end infinite;
    margin-left: 2px;
}

.metric-value {
    color: var(--accent-green);
    font-size: 16px;
    font-weight: 400;
}

.metric-value.typing::after {
    content: '█';
    color: var(--light-text);
    animation: cursorBlink 1s step-end infinite;
    margin-left: 2px;
}

.error-message {
    color: rgb(239, 68, 68);
    font-size: 16px;
    margin-top: 10px;
    padding: 10px 0;
}

.error-message.typing::after {
    content: '█';
    color: var(--light-text);
    animation: cursorBlink 1s step-end infinite;
    margin-left: 2px;
}

.metrics-container {
    margin-top: 10px;
}

.try-again-wrapper {
    margin-left: auto;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
}

.try-again-btn {
    background: transparent;
    border: 1px solid var(--accent-green);
    color: var(--accent-green);
    font-family: 'Jura', monospace;
    font-size: 14px;
    padding: 8px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
}

.try-again-btn:hover {
    background: var(--accent-green);
    color: var(--primary-dark);
    box-shadow: 
        0 0 10px rgba(170, 226, 29, 0.5),
        0 0 20px rgba(170, 226, 29, 0.3);
}

.try-again-btn:active {
    transform: scale(0.98);
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .header {
        margin-bottom: 30px;
        padding: 15px 0;
    }
    
    .logo {
        height: 60px;
    }
    
    .title {
        font-size: 2.2rem;
    }
    
    .console-body {
        padding: 20px;
    }
    
    .typing-text,
    .metric-label,
    .metric-value,
    .wallet-info {
        font-size: 14px;
    }
    
    .wallet-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .try-again-wrapper {
        margin-left: 0;
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 10px;
    }
    
    .try-again-btn {
        width: 100%;
        max-width: 200px;
    }
}
