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

/* Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles for accessibility */
*:focus {
    outline: 2px solid #00ff00;
    outline-offset: 2px;
}

button:focus,
input:focus {
    outline: 2px solid #00ff00;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    body {
        background: #000000;
        color: #ffffff;
    }
    
    .terminal-container {
        background: #000000;
        border: 2px solid #ffffff;
    }
    
    .terminal-input {
        background: #000000;
        color: #ffffff;
        border: 1px solid #ffffff;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: 'JetBrains Mono', monospace;
    background: linear-gradient(45deg, #0a0a0a, #1a1a1a);
    color: #00ff00;
    overflow: hidden;
    height: 100vh;
    animation: backgroundPulse 10s infinite;
}

@keyframes backgroundPulse {
    0%, 100% { background: linear-gradient(45deg, #0a0a0a, #1a1a1a); }
    50% { background: linear-gradient(45deg, #0f0f0f, #1f1f1f); }
}

.terminal-container {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid #333;
    box-shadow: 0 0 50px rgba(0, 255, 0, 0.1);
}

.terminal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background: linear-gradient(90deg, #1a1a1a, #2a2a2a);
    border-bottom: 1px solid #333;
    position: relative;
}

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

.terminal-buttons span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-close {
    background: #ff5f56;
    box-shadow: 0 0 10px rgba(255, 95, 86, 0.5);
}

.btn-minimize {
    background: #ffbd2e;
    box-shadow: 0 0 10px rgba(255, 189, 46, 0.5);
}

.btn-maximize {
    background: #27ca3f;
    box-shadow: 0 0 10px rgba(39, 202, 63, 0.5);
}

.terminal-buttons span:hover {
    transform: scale(1.2);
    box-shadow: 0 0 20px currentColor;
}

.terminal-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: #00ff00;
    font-weight: 500;
    font-size: 14px;
    text-shadow: 0 0 10px #00ff00;
}

.terminal-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.8);
}

.terminal-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.startup-message {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 8px;
    background: rgba(0, 255, 0, 0.05);
}

.brand-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 136, 0, 0.3);
}

.brand-title {
    color: #ff8800;
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 8px 0;
    text-shadow: 0 0 15px #ff8800;
    animation: titlePulse 3s ease-in-out infinite alternate;
}

@keyframes titlePulse {
    from { text-shadow: 0 0 15px #ff8800; }
    to { text-shadow: 0 0 25px #ff8800, 0 0 35px #ff8800; }
}

.brand-tagline {
    color: #00ff00;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
    text-shadow: 0 0 10px #00ff00;
}

.brand-description {
    color: #ffff00;
    font-size: 12px;
    font-style: italic;
    text-shadow: 0 0 8px #ffff00;
}

.startup-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    border-left: 3px solid #00ffff;
}

.info-label {
    color: #00ffff;
    font-weight: 600;
    font-size: 12px;
    text-shadow: 0 0 8px #00ffff;
}

.info-value {
    color: #ffffff;
    font-size: 12px;
    text-align: right;
    flex: 1;
    margin-left: 20px;
}

.terminal-output {
    flex: 1;
    overflow-y: auto;
    padding: 10px 0;
    max-height: 60vh;
}

.output-line {
    margin-bottom: 5px;
    line-height: 1.4;
    word-wrap: break-word;
}

.command-line {
    color: #00ff00;
    margin-bottom: 10px;
}

.tool-category {
    color: #ff8800;
    font-weight: 600;
    margin: 15px 0 10px 0;
    text-decoration: underline;
    text-shadow: 0 0 10px #ff8800;
}

.tool-item {
    margin-bottom: 8px;
    padding: 5px 10px;
    background: rgba(0, 255, 0, 0.05);
    border-left: 3px solid #00ff00;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.tool-item:hover {
    background: rgba(0, 255, 0, 0.1);
    border-left-color: #ffff00;
    transform: translateX(5px);
}

.tool-name {
    color: #00ffff;
    font-weight: 600;
    cursor: pointer;
    text-shadow: 0 0 5px #00ffff;
}

.tool-description {
    color: #cccccc;
    font-size: 12px;
    margin-top: 3px;
    line-height: 1.3;
}

.tool-url {
    color: #ffff00;
    font-size: 11px;
    margin-top: 3px;
    text-decoration: underline;
    cursor: pointer;
}

.tool-url:hover {
    color: #ffffff;
    text-shadow: 0 0 5px #ffff00;
}

.terminal-input-line {
    display: flex;
    align-items: center;
    margin-top: 10px;
    background: rgba(0, 255, 0, 0.05);
    padding: 10px;
    border-radius: 5px;
    border: 1px solid rgba(0, 255, 0, 0.3);
}

.prompt {
    color: #00ff00;
    margin-right: 10px;
    font-weight: 600;
    text-shadow: 0 0 5px #00ff00;
}

.terminal-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #ffffff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    outline: none;
    caret-color: #00ff00;
}

.terminal-input::placeholder {
    color: #666;
}

.terminal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: linear-gradient(90deg, #1a1a1a, #2a2a2a);
    border-top: 1px solid #333;
    font-size: 12px;
}

.donation-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.donation-text {
    color: #ffff00;
    text-shadow: 0 0 5px #ffff00;
}

.bitcoin-address {
    background: rgba(0, 255, 0, 0.1);
    padding: 5px 10px;
    border-radius: 3px;
    color: #00ff00;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    border: 1px solid rgba(0, 255, 0, 0.3);
}

.copy-btn {
    background: #ff8800;
    color: #000;
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: #ffaa00;
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(255, 136, 0, 0.5);
}

.status-bar {
    display: flex;
    align-items: center;
    gap: 20px;
}

.status-text {
    color: #00ff00;
    text-shadow: 0 0 5px #00ff00;
}

.tools-count {
    color: #ffff00;
    text-shadow: 0 0 5px #ffff00;
}

.error-message {
    color: #ff0000;
    text-shadow: 0 0 5px #ff0000;
    background: rgba(255, 0, 0, 0.1);
    padding: 10px;
    border-radius: 5px;
    border-left: 3px solid #ff0000;
    margin: 10px 0;
}

.success-message {
    color: #00ff00;
    text-shadow: 0 0 5px #00ff00;
    background: rgba(0, 255, 0, 0.1);
    padding: 10px;
    border-radius: 5px;
    border-left: 3px solid #00ff00;
    margin: 10px 0;
}

.command-help {
    color: #ffff00;
    background: rgba(255, 255, 0, 0.1);
    padding: 10px;
    border-radius: 5px;
    border-left: 3px solid #ffff00;
    margin: 10px 0;
}

.command-help strong {
    color: #ffffff;
}

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

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 255, 0, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 255, 0, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    .brand-title {
        font-size: 24px;
    }
    
    .brand-tagline {
        font-size: 14px;
    }
    
    .brand-description {
        font-size: 11px;
    }
    
    .info-line {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .info-value {
        text-align: left;
        margin-left: 0;
    }
    
    .terminal-header {
        padding: 8px 15px;
    }
    
    .terminal-body {
        padding: 15px;
    }
    
    .terminal-footer {
        padding: 8px 15px;
        flex-direction: column;
        gap: 10px;
    }
    
    .donation-section {
        flex-direction: column;
        gap: 5px;
    }
    
    .bitcoin-address {
        font-size: 9px;
    }
}

@media (max-width: 480px) {
    .brand-title {
        font-size: 20px;
    }
    
    .brand-tagline {
        font-size: 12px;
    }
    
    .brand-description {
        font-size: 10px;
    }
    
    .startup-message {
        padding: 15px;
    }
    
    .info-label,
    .info-value {
        font-size: 11px;
    }
}