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

body {
    font-family: 'Courier New', 'Consolas', monospace;
    background: #000000;
    color: #00ff00;
    min-height: 100vh;
    padding: 20px;
    overflow-x: hidden;
}

/* Matrix-style background grid */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 0, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 0, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: -1;
}

/* Terminal typing effect */
@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    0%, 50% { border-color: transparent; }
    51%, 100% { border-color: #00ff00; }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: #000;
    border: 2px solid #00ff00;
    border-radius: 0;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
    position: relative;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 20px rgba(0, 255, 0, 0.5); }
    to { box-shadow: 0 0 30px rgba(0, 255, 0, 0.8); }
}

header h1 {
    font-size: 3em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00;
    margin-bottom: 10px;
    animation: pulse 2s ease-in-out infinite;
}

header h1::before {
    content: '> ';
    color: #00ff00;
}

header h1::after {
    content: ' <';
    color: #00ff00;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* Subtitle Section Styles */
.subtitle-section {
    text-align: center;
    margin-bottom: 30px;
    padding: 15px;
    background: #000;
    border: 1px solid #00ff00;
    border-radius: 0;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
    animation: subtleGlow 3s ease-in-out infinite alternate;
}

@keyframes subtleGlow {
    from { box-shadow: 0 0 15px rgba(0, 255, 0, 0.3); }
    to { box-shadow: 0 0 20px rgba(0, 255, 0, 0.5); }
}

.subtitle {
    font-size: 1.5em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #00ff00;
    text-shadow: 
        0 0 8px #00ff00,
        0 0 16px #00ff00;
    margin: 0;
    font-family: 'Courier New', monospace;
    position: relative;
}

.subtitle::before {
    content: '>>> ';
    color: #00ff00;
    font-weight: bold;
}

.subtitle::after {
    content: ' <<<';
    color: #00ff00;
    font-weight: bold;
}

.last-update {
    margin-top: 10px;
    font-size: 1.1em;
    color: #00ff00;
    font-weight: bold;
    text-shadow: 0 0 5px #00ff00;
}

.last-update::before {
    content: '[ ';
    color: #00ff00;
}

.last-update::after {
    content: ' ]';
    color: #00ff00;
}

/* Tool Description Styles */
.tool-description {
    background: #000;
    border: 2px solid #00ff00;
    border-radius: 0;
    padding: 25px;
    margin: 20px 0;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

.tool-description::before {
    content: '====================================';
    display: block;
    text-align: center;
    color: #00ff00;
    margin-bottom: 15px;
    font-weight: bold;
}

.tool-description::after {
    content: '====================================';
    display: block;
    text-align: center;
    color: #00ff00;
    margin-top: 15px;
    font-weight: bold;
}

.tool-description h2 {
    color: #00ff00;
    font-size: 1.8em;
    margin-bottom: 15px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 5px #00ff00;
    animation: pulse 2s ease-in-out infinite;
}

.tool-description h2::before {
    content: '> ';
    color: #00ff00;
}

.tool-description h2::after {
    content: ' <';
    color: #00ff00;
}

.tool-description h3 {
    color: #00ff00;
    font-size: 1.3em;
    margin: 20px 0 15px 0;
    text-align: center;
    text-shadow: 0 0 5px #00ff00;
}

.tool-description h3::before {
    content: '> ';
    color: #00ff00;
}

.tool-description p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: left;
    color: #00ff00;
}

.tool-description p::before {
    content: '>> ';
    color: #00ff00;
}

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

.factor-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #000;
    border: 1px solid #00ff00;
    border-radius: 0;
    transition: all 0.3s ease;
}

.factor-item:hover {
    background: rgba(0, 255, 0, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
}

.factor-item::before {
    content: '[ ]';
    color: #00ff00;
    font-weight: bold;
    transition: all 0.3s ease;
}

.factor-item:hover::before {
    content: '[x]';
    color: #00ff00;
}

.factor-icon {
    font-size: 2em;
    min-width: 50px;
    text-align: center;
    color: #00ff00;
}

.factor-content strong {
    display: block;
    color: #00ff00;
    font-size: 1.1em;
    margin-bottom: 5px;
    text-shadow: 0 0 3px #00ff00;
}

.factor-content span {
    color: #00ff00;
    font-size: 0.95em;
    line-height: 1.4;
}

.disclaimer-text {
    margin-top: 20px !important;
    padding: 15px;
    background: #000;
    border: 1px solid #ff0000;
    border-radius: 0;
    color: #ff0000 !important;
    font-size: 0.95em !important;
    text-shadow: 0 0 5px #ff0000;
    animation: warning-blink 1s ease-in-out infinite;
}

@keyframes warning-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.disclaimer-text::before {
    content: '!!! WARNING !!!!';
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    animation: warning-blink 1s ease-in-out infinite;
}

.disclaimer-text strong {
    color: #ff0000 !important;
}

.disclaimer-text::after {
    content: '!!! END WARNING !!!!';
    display: block;
    font-weight: bold;
    margin-top: 10px;
    animation: warning-blink 1s ease-in-out infinite;
}

.color-legend {
    background: #000;
    border: 2px solid #00ff00;
    border-radius: 0;
    padding: 25px;
    margin: 20px 0;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

.color-legend::before {
    content: '==== COLOR CODES ====';
    display: block;
    text-align: center;
    color: #00ff00;
    margin-bottom: 15px;
    font-weight: bold;
    text-shadow: 0 0 5px #00ff00;
}

.color-legend h3 {
    text-align: center;
    font-size: 1.5em;
    margin-bottom: 20px;
    color: #00ff00;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 5px #00ff00;
}

.color-legend h3::before {
    content: '> ';
    color: #00ff00;
}

.color-legend h3::after {
    content: ' <';
    color: #00ff00;
}

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

.legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #000;
    border: 1px solid #00ff00;
    border-radius: 0;
    transition: all 0.3s ease;
}

.legend-item:hover {
    background: rgba(0, 255, 0, 0.1);
    transform: translateX(5px);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.legend-item::before {
    content: '[ ]';
    color: #00ff00;
    font-weight: bold;
    transition: all 0.3s ease;
}

.legend-item:hover::before {
    content: '[x]';
    color: #00ff00;
}

.legend-color {
    width: 50px;
    height: 50px;
    border: 1px solid #00ff00;
    border-radius: 0;
    flex-shrink: 0;
}

.legend-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.legend-text strong {
    font-size: 1em;
    color: #00ff00;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 3px #00ff00;
}

.legend-text span {
    font-size: 0.85em;
    color: #00ff00;
}

.legend-footer {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding-top: 15px;
    border-top: 1px solid #00ff00;
    font-size: 1em;
    color: #00ff00;
}

.legend-footer::before {
    content: '==========================';
    display: block;
    text-align: center;
    color: #00ff00;
    margin-bottom: 10px;
    font-weight: bold;
}

.legend-footer::after {
    content: '==========================';
    display: block;
    text-align: center;
    color: #00ff00;
    margin-top: 10px;
    font-weight: bold;
}

.legend-footer span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.legend-footer span::before {
    content: '>> ';
    color: #00ff00;
}

.alert-banner {
    margin: 20px 0;
    padding: 25px;
    border-radius: 0;
    text-align: center;
    font-size: 1.5em;
    font-weight: 900;
    text-transform: uppercase;
    border: 3px solid;
    animation: alertPulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 40px currentColor;
    background: #000;
}

.alert-banner::before {
    content: '########## ALERT ##########';
    display: block;
    font-size: 0.8em;
    margin-bottom: 10px;
    animation: alertPulse 1.5s ease-in-out infinite;
}

.alert-banner::after {
    content: '########## END ###########';
    display: block;
    font-size: 0.8em;
    margin-top: 10px;
    animation: alertPulse 1.5s ease-in-out infinite;
}

@keyframes alertPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 40px rgba(255, 255, 255, 0.2); }
    50% { transform: scale(1.01); box-shadow: 0 0 60px rgba(255, 255, 255, 0.4); }
}

.alert-banner.high {
    border-color: #ff0000;
    color: #ff0000;
    text-shadow: 0 0 10px #ff0000;
    animation: alertFlash 0.8s ease-in-out infinite, criticalAlert 1s ease-in-out infinite;
}

.alert-banner.medium {
    border-color: #ff9500;
    color: #ff9500;
    text-shadow: 0 0 10px #ff9500;
}

.alert-banner.low {
    border-color: #00ff00;
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00;
    animation: successPulse 2s ease-in-out infinite;
}

@keyframes successPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 255, 0, 0.5); }
    50% { box-shadow: 0 0 30px rgba(0, 255, 0, 0.8); }
}

@keyframes alertFlash {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.alert-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-family: 'Courier New', 'Consolas', monospace;
}

.alert-content::before {
    content: '>> ';
    font-size: 1.2em;
    animation: blink 1s ease-in-out infinite;
}

.alert-content::after {
    content: ' <<';
    font-size: 1.2em;
    animation: blink 1s ease-in-out infinite;
}

.alert-icon {
    font-size: 2em;
    animation: shake 0.5s ease-in-out infinite;
    filter: drop-shadow(0 0 5px currentColor);
}

@keyframes shake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

.signals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.signal-card {
    background: #000;
    border-radius: 0;
    padding: 25px;
    border: 3px solid;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.signal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: currentColor;
    animation: scanline 2s ease-in-out infinite;
}

@keyframes scanline {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.signal-card::after {
    content: '╔══════════════════════════════╗';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    font-family: 'Courier New', monospace;
    font-size: 0.8em;
    line-height: 1.2;
    padding: 5px;
    text-align: center;
    background: #000;
    border-bottom: 2px solid currentColor;
    color: currentColor;
    animation: pulse 2s ease-in-out infinite;
}

.signal-card::before {
    bottom: -2px;
    top: auto;
    content: '╚══════════════════════════════╝';
    border-bottom: none;
    border-top: 2px solid currentColor;
    padding: 5px;
    animation: scanline 2s ease-in-out infinite;
}

.signal-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px currentColor;
    background: rgba(0, 255, 0, 0.05);
}

.signal-card.STRONG_BUY {
    border-color: #00ff00;
    color: #00ff00;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
}

.signal-card.BUY {
    border-color: #00ff00;
    color: #00ff00;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
}

.signal-card.HOLD {
    border-color: #ff9500;
    color: #ff9500;
    box-shadow: 0 0 20px rgba(255, 149, 0, 0.5);
}

.signal-card.SELL {
    border-color: #ff0000;
    color: #ff0000;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
}

.signal-card.STRONG_SELL {
    border-color: #ff0000;
    color: #ff0000;
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.7);
    animation: criticalAlert 1s ease-in-out infinite;
}

@keyframes criticalAlert {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(255, 0, 0, 0.7);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 40px rgba(255, 0, 0, 1);
        transform: scale(1.02);
    }
}

.crypto-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid currentColor;
    padding-bottom: 15px;
    padding-top: 25px;
    font-family: 'Courier New', monospace;
}

.crypto-header::before {
    content: '>> ';
    color: currentColor;
    font-weight: bold;
}

.crypto-name {
    font-size: 1.8em;
    font-weight: bold;
    text-transform: uppercase;
    color: currentColor;
    text-shadow: 0 0 5px currentColor;
}

.crypto-symbol {
    font-size: 1.2em;
    color: currentColor;
    font-weight: bold;
    text-shadow: 0 0 3px currentColor;
}

.crypto-price {
    font-size: 1.5em;
    font-weight: bold;
    color: currentColor;
    text-shadow: 0 0 5px currentColor;
}

.crypto-price::after {
    content: ' USD';
    font-size: 0.8em;
    color: currentColor;
}

.signal-action {
    text-align: center;
    margin: 20px 0;
    padding: 20px;
    border-radius: 0;
    font-size: 2em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: #000;
    border: 2px solid currentColor;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 10px currentColor;
    animation: terminal-pulse 2s ease-in-out infinite;
}

@keyframes terminal-pulse {
    0%, 100% { 
        box-shadow: 0 0 10px currentColor;
    }
    50% { 
        box-shadow: 0 0 20px currentColor;
    }
}

.signal-action.STRONG_BUY {
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00;
    animation: strongSignal 1s ease-in-out infinite;
}

.signal-action.BUY {
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00;
}

.signal-action.HOLD {
    color: #ff9500;
    text-shadow: 0 0 10px #ff9500;
}

.signal-action.SELL {
    color: #ff0000;
    text-shadow: 0 0 10px #ff0000;
}

.signal-action.STRONG_SELL {
    color: #ff0000;
    text-shadow: 0 0 15px #ff0000;
    animation: strongSignal 1s ease-in-out infinite, criticalAlert 1s ease-in-out infinite;
}

@keyframes strongSignal {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.position-indicator {
    text-align: center;
    font-size: 1.3em;
    font-weight: bold;
    margin: 15px 0;
    padding: 10px;
    border-radius: 0;
    background: #000;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 5px currentColor;
}

.position-indicator::before {
    content: '[ ';
    color: currentColor;
}

.position-indicator::after {
    content: ' ]';
    color: currentColor;
}

.position-indicator.LONG {
    color: #00ff00;
    border: 2px solid #00ff00;
    text-shadow: 0 0 10px #00ff00;
}

.position-indicator.SHORT {
    color: #ff0000;
    border: 2px solid #ff0000;
    text-shadow: 0 0 10px #ff0000;
}

.position-indicator.NEUTRAL {
    color: #ff9500;
    border: 2px solid #ff9500;
    text-shadow: 0 0 10px #ff9500;
}

.confidence-bar {
    margin: 15px 0;
    font-family: 'Courier New', monospace;
}

.confidence-bar::before {
    content: '=== CONFIDENCE METER ===';
    display: block;
    text-align: center;
    color: currentColor;
    margin-bottom: 8px;
    font-size: 0.9em;
}

.confidence-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-weight: bold;
    color: currentColor;
    text-shadow: 0 0 3px currentColor;
}

.confidence-label::before {
    content: '>> ';
    color: currentColor;
}

.confidence-label::after {
    content: ' <<';
    color: currentColor;
}

.confidence-meter {
    height: 25px;
    background: #000;
    border-radius: 0;
    overflow: hidden;
    border: 2px solid currentColor;
    box-shadow: 0 0 10px currentColor;
}

.confidence-fill {
    height: 100%;
    background: currentColor;
    transition: width 0.5s ease;
    border-radius: 0;
    text-shadow: 0 0 3px #000;
    position: relative;
}

.confidence-fill::after {
    content: 'SCANNING...';
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7em;
    color: #000;
    animation: blink 1s ease-in-out infinite;
}

.trade-details {
    margin: 15px 0;
    padding: 12px;
    background: #000;
    border-radius: 0;
    border: 1px solid currentColor;
    font-family: 'Courier New', monospace;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.trade-details::before {
    content: '--- TRADE PARAMETERS ---';
    display: block;
    text-align: center;
    color: currentColor;
    margin-bottom: 10px;
    font-size: 0.9em;
    font-weight: bold;
}

.trade-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 8px 0;
    font-size: 14px;
    color: currentColor;
}

.trade-detail-label {
    font-weight: bold;
    color: currentColor;
    text-shadow: 0 0 3px currentColor;
}

.trade-detail-label::after {
    content: ':';
    color: currentColor;
}

.trade-detail-value {
    font-weight: bold;
    color: currentColor;
    text-shadow: 0 0 3px currentColor;
}

.trade-detail-value.timeframe {
    color: #00ffff;
    text-shadow: 0 0 5px #00ffff;
}

.trade-detail-value.risk-reward {
    color: #ff9500;
    text-shadow: 0 0 5px #ff9500;
}

.trade-detail-value.confidence-level {
    color: #00ff00;
    text-shadow: 0 0 5px #00ff00;
}

.signal-reasons {
    margin-top: 20px;
    font-family: 'Courier New', monospace;
}

.signal-reasons::before {
    content: '>>> ANALYSIS FACTORS <<<';
    display: block;
    text-align: center;
    color: currentColor;
    margin-bottom: 10px;
    font-size: 0.9em;
    font-weight: bold;
    text-shadow: 0 0 5px currentColor;
}

.signal-reasons h4 {
    margin-bottom: 10px;
    color: currentColor;
    font-size: 1.1em;
    text-shadow: 0 0 5px currentColor;
    font-family: 'Courier New', monospace;
}

.signal-reasons ul {
    list-style: none;
}

.signal-reasons li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    font-size: 0.95em;
    color: currentColor;
}

.signal-reasons li::before {
    content: '>>';
    position: absolute;
    left: 0;
    color: currentColor;
    text-shadow: 0 0 3px currentColor;
}

.price-changes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.price-changes::before {
    content: '=== PRICE DATA ===';
    display: block;
    text-align: center;
    color: currentColor;
    margin-bottom: 15px;
    font-size: 0.9em;
    font-weight: bold;
    grid-column: 1 / -1;
}

.price-change-item {
    text-align: center;
    padding: 10px;
    background: #000;
    border-radius: 0;
    border: 1px solid currentColor;
    font-family: 'Courier New', monospace;
    box-shadow: 0 0 5px currentColor;
}

.price-change-label {
    font-size: 0.8em;
    color: currentColor;
    text-shadow: 0 0 3px currentColor;
}

.price-change-label::after {
    content: ':';
    color: currentColor;
}

.price-change-value {
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 5px;
    text-shadow: 0 0 5px currentColor;
}

.price-change-value.positive {
    color: #00ff00;
    text-shadow: 0 0 5px #00ff00;
}

.price-change-value.positive::after {
    content: ' ↑';
    color: #00ff00;
}

.price-change-value.negative {
    color: #ff0000;
    text-shadow: 0 0 5px #ff0000;
}

.price-change-value.negative::after {
    content: ' ↓';
    color: #ff0000;
}

.market-info {
    margin: 40px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 25px;
}

.info-section {
    background: #000;
    padding: 25px;
    border-radius: 0;
    border: 2px solid currentColor;
    font-family: 'Courier New', monospace;
    box-shadow: 0 0 20px currentColor;
}

.info-section::before {
    content: '╔════════════════════════════╗';
    display: block;
    text-align: center;
    color: currentColor;
    margin-bottom: 15px;
    font-size: 0.8em;
    animation: pulse 2s ease-in-out infinite;
}

.info-section::after {
    content: '╚════════════════════════════╝';
    display: block;
    text-align: center;
    color: currentColor;
    margin-top: 15px;
    font-size: 0.8em;
    animation: pulse 2s ease-in-out infinite;
}

.info-section h3 {
    margin-bottom: 15px;
    color: currentColor;
    font-size: 1.5em;
    text-shadow: 0 0 5px currentColor;
    text-align: center;
}

.info-section h3::before {
    content: '> ';
    color: currentColor;
}

.info-section h3::after {
    content: ' <';
    color: currentColor;
}

.info-section ul {
    list-style: none;
}

.info-section li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    border-bottom: 1px solid currentColor;
    color: currentColor;
    text-shadow: 0 0 3px currentColor;
}

.info-section li::before {
    content: '[*]';
    position: absolute;
    left: 0;
    color: currentColor;
    font-weight: bold;
    text-shadow: 0 0 3px currentColor;
}

.info-section li:hover {
    background: rgba(currentColor, 0.1);
    text-shadow: 0 0 5px currentColor;
}

.signal-legend {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.signal-legend::before {
    content: '════════════════════════════';
    display: block;
    text-align: center;
    color: currentColor;
    margin-bottom: 15px;
    font-weight: bold;
}

.signal-legend::after {
    content: '════════════════════════════';
    display: block;
    text-align: center;
    color: currentColor;
    margin-top: 15px;
    font-weight: bold;
}

.legend-item {
    padding: 12px;
    border-radius: 0;
    font-weight: bold;
    text-align: center;
    border: 2px solid;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 5px currentColor;
    animation: terminal-pulse 2s ease-in-out infinite;
}

.legend-item::before {
    content: '>> ';
    color: currentColor;
}

.legend-item::after {
    content: ' <<';
    color: currentColor;
}

.legend-item.strong-buy {
    border-color: #00ff00;
    color: #00ff00;
    background: rgba(0, 255, 0, 0.1);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

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

.legend-item.hold {
    border-color: #ff9500;
    color: #ff9500;
    background: rgba(255, 149, 0, 0.1);
    box-shadow: 0 0 10px rgba(255, 149, 0, 0.3);
}

.legend-item.sell {
    border-color: #ff0000;
    color: #ff0000;
    background: rgba(255, 0, 0, 0.1);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

.legend-item.strong-sell {
    border-color: #ff0000;
    color: #ff0000;
    background: rgba(255, 0, 0, 0.1);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
    animation: criticalAlert 1s ease-in-out infinite;
}

.disclaimer {
    text-align: center;
    padding: 20px;
    background: #000;
    border: 2px solid #ff0000;
    border-radius: 0;
    margin-top: 30px;
    color: #ff0000;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 10px #ff0000;
    animation: warning-blink 2s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
}

.disclaimer::before {
    content: '╔════════════════════════════╗';
    display: block;
    text-align: center;
    color: #ff0000;
    margin-bottom: 10px;
    font-weight: bold;
    animation: warning-blink 2s ease-in-out infinite;
}

.disclaimer::after {
    content: '╚════════════════════════════╝';
    display: block;
    text-align: center;
    color: #ff0000;
    margin-top: 10px;
    font-weight: bold;
    animation: warning-blink 2s ease-in-out infinite;
}

.loading {
    text-align: center;
    padding: 50px;
    font-size: 1.5em;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 10px #00ff00;
    animation: terminal-pulse 1.5s ease-in-out infinite;
}

.loading::before {
    content: '>>> ';
    animation: blink 1s ease-in-out infinite;
}

.loading::after {
    content: ' <<<';
    animation: blink 1s ease-in-out infinite;
}

.error {
    text-align: center;
    padding: 20px;
    background: #000;
    border: 2px solid #ff0000;
    border-radius: 0;
    color: #ff0000;
    margin: 20px 0;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 10px #ff0000;
    animation: criticalAlert 1s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
}

.error::before {
    content: '!!! ERROR !!!';
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    animation: warning-blink 1s ease-in-out infinite;
}

.error::after {
    content: '!!! END ERROR !!!';
    display: block;
    font-weight: bold;
    margin-top: 10px;
    animation: warning-blink 1s ease-in-out infinite;
}

/* Chart Modal Styles */
.chart-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.98);
    z-index: 1000;
    backdrop-filter: none;
    border: 3px solid #00ff00;
    box-shadow: inset 0 0 50px rgba(0, 255, 0, 0.2);
}

.chart-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1200px;
    height: 85%;
    background: #000;
    border-radius: 0;
    border: 3px solid #00ff00;
    box-shadow: 0 0 50px rgba(0, 255, 0, 0.5);
    display: flex;
    flex-direction: column;
    font-family: 'Courier New', monospace;
    animation: terminal-pulse 2s ease-in-out infinite;
}

.chart-content::before {
    content: '╔══════════════════════════════════════════════════════╗';
    display: block;
    text-align: center;
    color: #00ff00;
    padding: 5px;
    font-size: 0.8em;
    background: #000;
    border-bottom: 2px solid #00ff00;
    animation: pulse 2s ease-in-out infinite;
}

.chart-content::after {
    content: '╚══════════════════════════════════════════════════════╝';
    display: block;
    text-align: center;
    color: #00ff00;
    padding: 5px;
    font-size: 0.8em;
    background: #000;
    border-top: 2px solid #00ff00;
    animation: pulse 2s ease-in-out infinite;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 2px solid #00ff00;
    background: #000;
}

.chart-header h2 {
    color: #00ff00;
    font-size: 1.8em;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px #00ff00;
    font-family: 'Courier New', monospace;
}

.chart-header h2::before {
    content: '>> ';
    color: #00ff00;
}

.chart-header h2::after {
    content: ' <<';
    color: #00ff00;
}

.close-btn {
    background: none;
    border: 2px solid #ff0000;
    color: #ff0000;
    font-size: 1.5em;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 0;
    transition: all 0.3s ease;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 5px #ff0000;
    box-shadow: 0 0 10px #ff0000;
}

.close-btn:hover {
    background: rgba(255, 0, 0, 0.3);
    color: #ff0000;
    box-shadow: 0 0 15px #ff0000;
}

.close-btn::before {
    content: '[';
    color: #ff0000;
}

.close-btn::after {
    content: ']';
    color: #ff0000;
}

.chart-tabs {
    display: flex;
    background: #000;
    border-bottom: 2px solid #00ff00;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

.chart-tabs::before {
    content: '>>> TERMINAL TABS <<<';
    display: block;
    text-align: center;
    color: #00ff00;
    padding: 5px;
    font-size: 0.8em;
    background: #000;
    border-top: 1px solid #00ff00;
}

.tab-btn {
    background: none;
    border: none;
    color: #00ff00;
    padding: 15px 25px;
    cursor: pointer;
    font-size: 1em;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 5px #00ff00;
}

.tab-btn:hover {
    background: rgba(0, 255, 0, 0.1);
    text-shadow: 0 0 10px #00ff00;
}

.tab-btn.active {
    color: #000;
    border-bottom-color: #00ff00;
    background: #00ff00;
    text-shadow: none;
    animation: terminal-pulse 1s ease-in-out infinite;
}

.tab-btn::before {
    content: '[';
    color: #00ff00;
    transition: all 0.3s ease;
}

.tab-btn::after {
    content: ']';
    color: #00ff00;
    transition: all 0.3s ease;
}

.tab-btn.active::before,
.tab-btn.active::after {
    color: #000;
}

.chart-container {
    flex: 1;
    padding: 20px;
    position: relative;
    min-height: 0;
    background: #000;
    border: 1px solid #00ff00;
    box-shadow: inset 0 0 20px rgba(0, 255, 0, 0.2);
}

.chart-container canvas {
    width: 100% !important;
    height: 100% !important;
    border: 1px solid #00ff00;
    background: #000;
}

#signalHistory {
    color: #00ff00;
    padding: 20px;
    overflow-y: auto;
    max-height: 100%;
    font-family: 'Courier New', monospace;
    background: #000;
    border: 1px solid #00ff00;
    box-shadow: inset 0 0 20px rgba(0, 255, 0, 0.2);
}

#signalHistory::before {
    content: '=== SIGNAL HISTORY LOG ===';
    display: block;
    text-align: center;
    color: #00ff00;
    margin-bottom: 20px;
    font-size: 1.1em;
    font-weight: bold;
    text-shadow: 0 0 10px #00ff00;
    animation: pulse 2s ease-in-out infinite;
}

#signalHistory h3 {
    color: #00ff00;
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 0 0 10px #00ff00;
    font-family: 'Courier New', monospace;
}

.signal-item {
    background: #000;
    border-radius: 0;
    padding: 15px;
    margin-bottom: 15px;
    border-left: 5px solid;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
    font-family: 'Courier New', monospace;
}

.signal-item::before {
    content: '>> ';
    color: currentColor;
    font-weight: bold;
}

.signal-item.BUY { 
    border-left-color: #00ff00; 
    color: #00ff00;
    text-shadow: 0 0 5px #00ff00;
}
.signal-item.STRONG_BUY { 
    border-left-color: #00ff00; 
    color: #00ff00;
    text-shadow: 0 0 5px #00ff00;
    animation: successPulse 2s ease-in-out infinite;
}
.signal-item.SELL { 
    border-left-color: #ff0000; 
    color: #ff0000;
    text-shadow: 0 0 5px #ff0000;
}
.signal-item.STRONG_SELL { 
    border-left-color: #ff0000; 
    color: #ff0000;
    text-shadow: 0 0 5px #ff0000;
    animation: criticalAlert 1s ease-in-out infinite;
}
.signal-item.HOLD { 
    border-left-color: #ff9500; 
    color: #ff9500;
    text-shadow: 0 0 5px #ff9500;
}

.signal-item .date {
    color: currentColor;
    font-size: 0.9em;
    margin-bottom: 5px;
    opacity: 0.8;
    font-family: 'Courier New', monospace;
}

.signal-item .date::before {
    content: '[ ';
    color: currentColor;
}

.signal-item .date::after {
    content: ' ]';
    color: currentColor;
}

.signal-item .action {
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 5px;
    text-shadow: 0 0 5px currentColor;
}

.signal-item .reason {
    color: currentColor;
    font-size: 0.95em;
    line-height: 1.4;
    font-family: 'Courier New', monospace;
}

.chart-info {
    background: #000;
    padding: 15px 30px;
    border-top: 2px solid #00ff00;
    font-family: 'Courier New', monospace;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

.chart-info::before {
    content: '=== CHART DATA ===';
    display: block;
    text-align: center;
    color: #00ff00;
    margin-bottom: 15px;
    font-size: 0.9em;
    font-weight: bold;
    text-shadow: 0 0 5px #00ff00;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 10px;
    border: 1px solid #00ff00;
    background: rgba(0, 255, 0, 0.05);
    text-align: center;
}

.info-item .label {
    color: #00ff00;
    font-size: 0.9em;
    text-shadow: 0 0 3px #00ff00;
    font-family: 'Courier New', monospace;
}

.info-item .label::after {
    content: ':';
    color: #00ff00;
}

.info-item .value {
    color: #00ff00;
    font-weight: bold;
    font-size: 1.1em;
    text-shadow: 0 0 5px #00ff00;
    font-family: 'Courier New', monospace;
}

/* Make signal cards clickable with Matrix styling */
.signal-card {
    cursor: crosshair;
    position: relative;
}

.signal-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px currentColor;
    background: rgba(0, 255, 0, 0.05);
}

.signal-card::after {
    content: "[ CLICK FOR CHART ]";
    position: absolute;
    top: 5px;
    right: 5px;
    background: #000;
    color: currentColor;
    padding: 3px 8px;
    border-radius: 0;
    font-size: 0.7em;
    opacity: 0;
    transition: opacity 0.3s ease;
    border: 1px solid currentColor;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 5px currentColor;
    animation: blink 1s ease-in-out infinite;
}

.signal-card:hover::after {
    opacity: 1;
}

/* ===== MOBILE RESPONSIVE DESIGN ===== */

/* Large Tablets (up to 1024px) */
@media screen and (max-width: 1024px) {
    .container {
        max-width: 95%;
        padding: 0 10px;
    }
    
    header h1 {
        font-size: 2.5em;
        letter-spacing: 2px;
    }
    
    .subtitle {
        font-size: 1.3em;
        letter-spacing: 2px;
    }
    
    .signals-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .market-info {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
}

/* Tablets (up to 768px) */
@media screen and (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .container {
        max-width: 100%;
        padding: 0 5px;
    }
    
    header {
        margin-bottom: 20px;
        padding: 15px;
    }
    
    header h1 {
        font-size: 2em;
        letter-spacing: 1px;
        margin-bottom: 5px;
    }
    
    .last-update {
        font-size: 0.9em;
    }
    
    .subtitle-section {
        margin-bottom: 20px;
        padding: 12px;
    }
    
    .subtitle {
        font-size: 1.2em;
        letter-spacing: 1px;
    }
    
    /* Tool description mobile adjustments */
    .tool-description {
        margin: 20px 0;
        padding: 15px;
    }
    
    .tool-description h2 {
        font-size: 1.4em;
        margin-bottom: 15px;
    }
    
    .tool-description p {
        font-size: 0.95em;
        line-height: 1.4;
        margin-bottom: 15px;
    }
    
    .tool-description h3 {
        font-size: 1.2em;
        margin-bottom: 15px;
    }
    
    /* Analysis factors grid mobile */
    .factors-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .factor-item {
        padding: 12px;
        gap: 10px;
    }
    
    .factor-icon {
        font-size: 1.8em;
    }
    
    .factor-content strong {
        font-size: 0.95em;
    }
    
    .factor-content span {
        font-size: 0.85em;
    }
    
    /* Color legend mobile */
    .color-legend {
        margin: 25px 0;
        padding: 15px;
    }
    
    .color-legend h3 {
        font-size: 1.3em;
        margin-bottom: 15px;
    }
    
    .legend-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 12px;
    }
    
    .legend-item {
        padding: 10px;
        gap: 8px;
    }
    
    .legend-color {
        width: 40px;
        height: 40px;
    }
    
    /* Alert banner mobile */
    .alert-banner {
        margin: 20px 0;
        padding: 12px 15px;
    }
    
    .alert-content {
        gap: 8px;
        font-size: 0.85em;
        text-align: center;
    }
    
    .alert-text {
        line-height: 1.3;
    }
    
    /* Signals grid mobile */
    .signals-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 20px 0;
    }
    
    .signal-card {
        padding: 15px;
    }
    
    .crypto-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        margin-bottom: 15px;
    }
    
    .crypto-name {
        font-size: 1.1em;
    }
    
    .crypto-symbol {
        font-size: 0.9em;
    }
    
    .crypto-price {
        font-size: 1.3em;
    }
    
    .signal-action {
        font-size: 1.1em;
        padding: 8px;
    }
    
    .position-indicator {
        font-size: 0.85em;
        padding: 6px 8px;
        margin: 10px 0;
    }
    
    .confidence-label {
        font-size: 0.85em;
        margin-bottom: 6px;
    }
    
    .confidence-meter {
        height: 6px;
    }
    
    /* Price changes mobile */
    .price-changes {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        margin-top: 15px;
    }
    
    .price-change-item {
        padding: 8px;
    }
    
    .price-change-label {
        font-size: 0.8em;
    }
    
    .price-change-value {
        font-size: 0.9em;
    }
    
    /* Trade details mobile */
    .trade-details {
        margin-top: 15px;
    }
    
    .trade-detail-item {
        font-size: 13px;
        margin: 6px 0;
    }
    
    /* Signal reasons mobile */
    .signal-reasons h4 {
        font-size: 1em;
        margin-bottom: 10px;
    }
    
    .signal-reasons ul li {
        font-size: 0.85em;
        margin-bottom: 4px;
    }
    
    /* Market info mobile */
    .market-info {
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 25px 0;
    }
    
    .info-section {
        padding: 15px;
    }
    
    .info-section h3 {
        font-size: 1.2em;
        margin-bottom: 12px;
    }
    
    .info-content {
        font-size: 0.9em;
    }
    
    /* Modal chart mobile */
    .chart-modal {
        width: 95%;
        height: 90%;
        max-width: none;
        left: 2.5%;
        top: 5%;
    }
    
    .chart-content {
        padding: 15px;
    }
    
    .chart-header {
        padding: 15px 20px;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .chart-header h2 {
        font-size: 1.4em;
    }
    
    .chart-tabs {
        width: 100%;
        justify-content: center;
    }
    
    .tab-btn {
        padding: 8px 12px;
        font-size: 0.85em;
    }
    
    .chart-container {
        padding: 15px;
    }
    
    .chart-info {
        margin-top: 15px;
    }
    
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .info-item {
        padding: 8px;
    }
    
    /* Disclaimer mobile */
    .disclaimer {
        margin: 25px 0;
        padding: 15px;
    }
    
    .disclaimer-text {
        font-size: 0.85em;
        margin-bottom: 10px;
    }
}

/* Mobile Phones (up to 480px) */
@media screen and (max-width: 480px) {
    body {
        padding: 5px;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    header {
        margin-bottom: 15px;
        padding: 12px 8px;
    }
    
    header h1 {
        font-size: 1.8em;
        letter-spacing: 0.5px;
        margin-bottom: 3px;
    }
    
    .last-update {
        font-size: 0.8em;
    }
    
    .subtitle-section {
        margin-bottom: 15px;
        padding: 10px 8px;
    }
    
    .subtitle {
        font-size: 1.1em;
        letter-spacing: 0.5px;
    }
    
    /* Tool description mobile phone */
    .tool-description {
        margin: 15px 0;
        padding: 12px 8px;
    }
    
    .tool-description h2 {
        font-size: 1.2em;
        margin-bottom: 12px;
    }
    
    .tool-description p {
        font-size: 0.9em;
        line-height: 1.3;
        margin-bottom: 12px;
    }
    
    .tool-description h3 {
        font-size: 1.1em;
        margin-bottom: 12px;
    }
    
    .factors-grid {
        gap: 10px;
    }
    
    .factor-item {
        padding: 10px;
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .factor-icon {
        font-size: 1.6em;
    }
    
    .factor-content strong {
        font-size: 0.9em;
    }
    
    .factor-content span {
        font-size: 0.8em;
    }
    
    /* Color legend mobile phone */
    .color-legend {
        margin: 20px 0;
        padding: 12px 8px;
    }
    
    .color-legend h3 {
        font-size: 1.1em;
        margin-bottom: 12px;
    }
    
    .legend-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .legend-item {
        padding: 8px;
        flex-direction: column;
        text-align: center;
        gap: 6px;
    }
    
    .legend-color {
        width: 35px;
        height: 35px;
    }
    
    .legend-text strong {
        font-size: 0.9em;
    }
    
    .legend-text span {
        font-size: 0.8em;
    }
    
    /* Alert banner mobile phone */
    .alert-banner {
        margin: 15px 0;
        padding: 10px 12px;
    }
    
    .alert-content {
        gap: 6px;
        font-size: 0.8em;
    }
    
    .alert-icon {
        font-size: 0.9em;
    }
    
    /* Signals grid mobile phone */
    .signals-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin: 15px 0;
    }
    
    .signal-card {
        padding: 12px 8px;
    }
    
    .crypto-header {
        align-items: center;
        text-align: center;
        margin-bottom: 12px;
    }
    
    .crypto-name {
        font-size: 1em;
    }
    
    .crypto-symbol {
        font-size: 0.85em;
    }
    
    .crypto-price {
        font-size: 1.2em;
    }
    
    .signal-action {
        font-size: 1em;
        padding: 6px;
        margin: 8px 0;
    }
    
    .position-indicator {
        font-size: 0.8em;
        padding: 5px 6px;
        margin: 8px 0;
    }
    
    .confidence-label {
        font-size: 0.8em;
        margin-bottom: 5px;
    }
    
    .confidence-meter {
        height: 5px;
    }
    
    /* Price changes mobile phone */
    .price-changes {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
        margin-top: 12px;
    }
    
    .price-change-item {
        padding: 6px;
    }
    
    .price-change-label {
        font-size: 0.75em;
    }
    
    .price-change-value {
        font-size: 0.85em;
    }
    
    /* Trade details mobile phone */
    .trade-details {
        margin-top: 12px;
    }
    
    .trade-detail-item {
        font-size: 12px;
        margin: 5px 0;
    }
    
    /* Signal reasons mobile phone */
    .signal-reasons h4 {
        font-size: 0.9em;
        margin-bottom: 8px;
    }
    
    .signal-reasons ul li {
        font-size: 0.8em;
        margin-bottom: 3px;
    }
    
    /* Market info mobile phone */
    .market-info {
        grid-template-columns: 1fr;
        gap: 12px;
        margin: 20px 0;
    }
    
    .info-section {
        padding: 12px 8px;
    }
    
    .info-section h3 {
        font-size: 1.1em;
        margin-bottom: 10px;
    }
    
    .info-content {
        font-size: 0.85em;
    }
    
    /* Modal chart mobile phone */
    .chart-modal {
        width: 98%;
        height: 95%;
        left: 1%;
        top: 2.5%;
    }
    
    .chart-content {
        padding: 10px;
    }
    
    .chart-header {
        padding: 12px 15px;
        gap: 8px;
    }
    
    .chart-header h2 {
        font-size: 1.2em;
    }
    
    .chart-close {
        padding: 6px 10px;
        font-size: 0.8em;
    }
    
    .chart-tabs {
        flex-wrap: wrap;
        gap: 2px;
    }
    
    .tab-btn {
        padding: 6px 10px;
        font-size: 0.8em;
        min-width: auto;
    }
    
    .chart-container {
        padding: 10px;
    }
    
    .chart-info {
        margin-top: 10px;
    }
    
    .info-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    
    .info-item {
        padding: 6px;
    }
    
    .info-item .label {
        font-size: 0.8em;
    }
    
    .info-item .value {
        font-size: 0.9em;
    }
    
    /* Disclaimer mobile phone */
    .disclaimer {
        margin: 20px 0;
        padding: 12px 8px;
    }
    
    .disclaimer-text {
        font-size: 0.8em;
        margin-bottom: 8px;
    }
    
    /* Hide chart click indicator on very small screens to save space */
    .signal-card::after {
        display: none;
    }
}

/* Extra Small Mobile Phones (up to 320px) */
@media screen and (max-width: 320px) {
    body {
        padding: 3px;
    }
    
    .container {
        max-width: 100%;
    }
    
    header {
        padding: 10px 5px;
        margin-bottom: 12px;
    }
    
    header h1 {
        font-size: 1.5em;
    }
    
    .subtitle-section {
        padding: 8px 5px;
        margin-bottom: 12px;
    }
    
    .subtitle {
        font-size: 1em;
    }
    
    .tool-description,
    .color-legend,
    .market-info,
    .disclaimer {
        margin: 15px 0;
        padding: 10px 5px;
    }
    
    .signals-grid {
        gap: 10px;
        margin: 12px 0;
    }
    
    .signal-card {
        padding: 10px 5px;
    }
    
    .crypto-header {
        margin-bottom: 10px;
    }
    
    .crypto-name {
        font-size: 0.95em;
    }
    
    .crypto-price {
        font-size: 1.1em;
    }
    
    .signal-action {
        font-size: 0.95em;
        padding: 5px;
    }
    
    .position-indicator {
        font-size: 0.75em;
        padding: 4px 5px;
    }
    
    .confidence-label {
        font-size: 0.75em;
    }
    
    .price-changes {
        margin-top: 10px;
    }
    
    .price-change-item {
        padding: 5px;
    }
    
    .trade-details {
        margin-top: 10px;
    }
    
    .trade-detail-item {
        font-size: 11px;
        margin: 4px 0;
    }
    
    .signal-reasons h4 {
        font-size: 0.85em;
        margin-bottom: 6px;
    }
    
    .signal-reasons ul li {
        font-size: 0.75em;
    }
    
    .chart-modal {
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
    }
    
    .chart-content {
        padding: 8px;
    }
    
    .chart-header {
        padding: 10px 12px;
    }
    
    .chart-header h2 {
        font-size: 1.1em;
    }
    
    .chart-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 90%;
        text-align: center;
        margin: 2px 0;
    }
    
    .chart-container {
        padding: 8px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}

/* Landscape Mobile Orientation */
@media screen and (max-height: 500px) and (orientation: landscape) {
    body {
        padding: 5px;
    }
    
    .container {
        max-width: 100%;
    }
    
    header {
        padding: 8px 15px;
        margin-bottom: 10px;
    }
    
    header h1 {
        font-size: 1.6em;
    }
    
    .subtitle-section {
        margin-bottom: 10px;
        padding: 6px 12px;
    }
    
    .tool-description,
    .color-legend,
    .market-info,
    .disclaimer {
        margin: 10px 0;
        padding: 8px 12px;
    }
    
    .signals-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin: 10px 0;
    }
    
    .signal-card {
        padding: 8px;
    }
    
    .chart-modal {
        width: 95%;
        height: 90%;
        left: 2.5%;
        top: 5%;
    }
    
    .chart-content {
        padding: 8px;
    }
    
    .chart-header {
        padding: 8px 12px;
    }
    
    .chart-container {
        padding: 8px;
    }
}

/* High DPI / Retina displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .chart-modal {
        backdrop-filter: blur(0.5px);
    }
    
    .signal-card::after {
        font-size: 0.6em;
    }
}

.signal-card:hover {
    animation: terminal-pulse 1s ease-in-out infinite;
}

/* Donation Section Styling */
.donation-section {
    margin: 25px 0;
    padding: 20px;
    background: #000;
    border: 2px solid #00ff00;
    border-radius: 0;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

.donation-text {
    margin: 0 !important;
    padding: 0 !important;
    color: #00ff00 !important;
    font-size: 1em !important;
    line-height: 1.6;
    text-shadow: 0 0 10px #00ff00;
    font-family: 'Courier New', monospace;
}

.donation-text strong {
    color: #00ff00 !important;
    font-weight: bold;
}

/* Mobile responsive for donation section */
@media screen and (max-width: 768px) {
    .donation-section {
        margin: 20px 0;
        padding: 15px;
    }
    
    .donation-text {
        font-size: 0.9em !important;
    }
}

@media screen and (max-width: 480px) {
    .donation-section {
        margin: 15px 0;
        padding: 12px;
    }
    
    .donation-text {
        font-size: 0.85em !important;
    }
}
