/* styles.css */

/* Estilo para los números de pasos */
.step-number {
    color: var(--accent-cyan);
    font-weight: 700;
    font-size: 1.1em;
    margin-right: 5px;
}

/* Estilo para destacar la marca Humocripto */
.humocripto-highlight {
    background: linear-gradient(45deg, #00f2fe, #4facfe);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
    text-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
    padding: 0 3px;
    position: relative;
    display: inline-block;
}

.humocripto-highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(45deg, #00f2fe, #4facfe);
    opacity: 0.7;
    border-radius: 2px;
}

/* Estilos para las cajas de explicación de métricas */
.metrics-explanation-box {
    background-color: rgba(0, 242, 254, 0.05);
    border: 1px solid rgba(0, 242, 254, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.metrics-explanation-box h5 {
    color: var(--accent-cyan);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 242, 254, 0.2);
    padding-bottom: 0.5rem;
}

.metrics-explanation-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.metric-item {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    padding: 1rem;
    border-left: 3px solid var(--accent-cyan);
}

.metric-name {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.metric-desc {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

@keyframes smokeCircle {
    0% { transform: scale(1) translate(0, 0); opacity: 0; }
    25% { opacity: 0.3; }
    50% { transform: scale(1.5) translate(5px, -5px); opacity: 0.2; }
    75% { opacity: 0.1; }
    100% { transform: scale(2) translate(10px, -10px); opacity: 0; }
}

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

@keyframes neuralCryptoFlow {
    0% { opacity: 0; transform: translateY(-50px) rotate(0deg); }
    20% { opacity: 1; }
    100% { opacity: 0; transform: translateY(100px) rotate(720deg); }
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; }
}

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

@keyframes cardPulse {
    0%, 100% { box-shadow: 0 0 25px rgba(0, 242, 254, 0.15); }
    50% { box-shadow: 0 0 35px rgba(0, 242, 254, 0.3); }
}

@keyframes neuralOrbit {
    0% { transform: rotate(0deg); opacity: 0.8; }
    100% { transform: rotate(360deg); opacity: 0.2; }
}

:root {
    --bg-dark: #121418;
    --bg-darker: #0a0c0f;
    --bg-card: #1a1d23;
    --bg-signal: #1f2229;
    --text-primary: #ffffff;
    --text-secondary: #a0a8b3;
    --text-muted: #6c757d;
    --accent-cyan: #00f2fe;
    --success-light: #2ecc71;
    --success-dark: #27ae60;
    --danger-light: #e74c3c;
    --danger-dark: #c0392b;
    --border-dark: #2d3339;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

.legal-notice {
    position: relative;
    background: linear-gradient(to right, var(--bg-darker), var(--bg-card));
    border-bottom: 1px solid var(--border-dark);
    padding: 0.6rem 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
    overflow: hidden;
    white-space: nowrap;
}

.legal-notice-content {
    display: inline-block;
    animation: scrollText 30s linear infinite;
    padding-right: 50px;
}

.legal-notice-content strong {
    color: var(--text-primary);
}

.header {
    text-align: center;
    padding: 2rem 0 2.5rem 0;
    background-color: var(--bg-darker);
    border-bottom: 4px solid var(--accent-cyan);
    box-shadow: 0 4px 28px rgba(0, 242, 254, 0.2);
    position: relative;
    overflow: hidden;
    margin-bottom: -0.5rem;
    z-index: 1;
}

.header::before,
.header::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(0, 242, 254, 0.1), transparent 70%);
    animation: smokeCircle 8s ease-out infinite;
}

.header::before { top: 20%; left: 15%; animation-delay: 0s; }
.header::after { top: 40%; right: 15%; animation-delay: 4s; }

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.app-logo-container {
    position: relative;
    width: 150px;
    height: 90px;
    overflow: hidden;
    background-color: var(--bg-darker);
}

.app-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
    transform: scale(1.4);
    filter: contrast(1.1) brightness(1.1);
}

.app-logo-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, var(--bg-darker), transparent 30%, transparent 70%, var(--bg-darker)),
                linear-gradient(180deg, var(--bg-darker), transparent 30%, transparent 70%, var(--bg-darker));
    pointer-events: none;
}

.app-logo-container:hover .app-logo { transform: scale(1.6); }

.title-container { text-align: left; }

.main-title {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, var(--text-primary), var(--accent-cyan), var(--text-primary));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
    text-shadow: 0 0 20px rgba(0, 242, 254, 0.2);
}

.header h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 0;
    opacity: 0.8;
}

.header-brand-lockup {
    width: 170px;
    height: 44px;
    border: 1px solid rgba(0, 242, 254, 0.22);
    border-radius: 12px;
    background: rgba(5, 15, 28, 0.92);
    box-shadow: 0 0 28px rgba(0, 242, 254, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.65rem;
    flex: 0 0 auto;
}

.header-brand-lockup img {
    display: block;
    width: 150px;
    max-width: 100%;
    height: 39px;
    object-fit: contain;
}

.usage-steps {
    list-style-type: none;
    padding-left: 0;
    margin: 1rem 0;
}

.usage-step {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    position: relative;
    background: linear-gradient(to right, rgba(0, 242, 254, 0.05), transparent);
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.usage-step:hover {
    background: linear-gradient(to right, rgba(0, 242, 254, 0.08), transparent);
}

.usage-step:last-child { margin-bottom: 0; }

.usage-step-content {
    padding-left: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.usage-step-content .step-text {
    display: block;
    color: var(--text-primary);
}

.usage-step::before {
    content: attr(data-step) ".";
    position: absolute;
    left: 1rem;
    color: var(--accent-cyan);
    font-weight: bold;
}

.usage-step .btn { align-self: flex-start; }

.token-search-container {
    position: relative;
    margin-bottom: 0.5rem;
}

.token-search-container input {
    background-color: var(--bg-darker);
    color: var(--text-primary) !important;
    border: 1px solid var(--border-dark);
    padding: 0.75rem 1rem;
    width: 100%;
    transition: all 0.3s ease;
    border-radius: 6px;
    -webkit-text-fill-color: var(--text-primary);
}

.token-search-container input:-webkit-autofill,
.token-search-container input:-webkit-autofill:hover,
.token-search-container input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--text-primary);
    -webkit-box-shadow: 0 0 0px 1000px var(--bg-darker) inset;
    transition: background-color 5000s ease-in-out 0s;
}

.token-search-container input:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 2px rgba(0, 242, 254, 0.15);
    background-color: var(--bg-card);
}

.token-search-container input::placeholder {
    color: var(--text-muted);
    opacity: 0.8;
}

.alert-danger {
    background-color: var(--bg-darker) !important;
    border-color: var(--danger-light) !important;
    color: var(--text-primary) !important;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.1);
}

.form-select {
    background-color: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-dark);
}

.form-select {
    outline: none !important;
}

.form-select option {
    background-color: var(--bg-card);
    color: var(--text-primary);
    padding: 8px 12px;
    cursor: pointer;
}

.form-select option:hover,
.form-select option:focus {
    background-color: rgba(0, 242, 254, 0.1);
}

.form-select option[data-focused="true"] {
    background-color: rgba(0, 242, 254, 0.2);
    outline: 1px solid var(--accent-cyan);
}

.token-list-container {
    margin-top: 1rem;
    padding: 0.5rem;
    border-radius: 6px;
    background: linear-gradient(to right, rgba(0, 242, 254, 0.05), transparent);
}

.token-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    text-align: center;
}

.token-item {
    background: linear-gradient(45deg, rgba(0, 242, 254, 0.12), rgba(0, 242, 254, 0.08));
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border: 1px solid transparent;
}

.token-item.enhanced {
    color: var(--text-primary);
    background: linear-gradient(45deg, rgba(0, 242, 254, 0.15), rgba(0, 242, 254, 0.05));
    border: 1px solid rgba(0, 242, 254, 0.1);
}

.token-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 242, 254, 0.3);
    color: var(--text-primary);
}

.btn-primary {
    background: linear-gradient(45deg, #00c6fb, #005bea);
    border: none;
    padding: 0.8rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-success {
    background: linear-gradient(45deg, var(--success-light), var(--success-dark));
    border: none;
    padding: 0.8rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-info {
    background: linear-gradient(45deg, #fa8231, #ed4c67);
    border: none;
    color: white;
    padding: 0.8rem 1.5rem;
    transition: all 0.3s ease;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-warning {
    background: linear-gradient(45deg, #ffb700, #cc8400);
    border: none;
    color: white;
    padding: 0.8rem 1.5rem;
    transition: all 0.3s ease;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: linear-gradient(45deg, #6c757d, #495057);
    border: none;
    color: white;
    padding: 0.8rem 1.5rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 242, 254, 0.2);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem;
    position: relative;
    z-index: 2;
}

.card {
    background-color: var(--bg-card) !important;
    border: 1px solid var(--border-dark) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: var(--text-primary) !important;
}

.card-body { padding: 1.5rem; }

.card .card-title {
    color: var(--accent-cyan);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card .card-text {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.signal-card {
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    background-color: var(--bg-signal) !important;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
}

.signal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 242, 254, 0.1);
}

.signal-card.compra {
    border-left: 5px solid var(--success-light);
    background: linear-gradient(to right, rgba(46, 204, 113, 0.1), transparent) !important;
}

.signal-card.venta {
    border-left: 5px solid var(--danger-light);
    background: linear-gradient(to right, rgba(231, 76, 60, 0.1), transparent) !important;
}

.category-header {
    margin-top: 2rem;
    padding: 1rem;
    background-color: var(--bg-darker);
    border-radius: 8px;
    border: 1px solid var(--border-dark);
}

.category-header.confianza-alta {
    border-left: 5px solid #2ecc71;
    background: linear-gradient(to right, rgba(46, 204, 113, 0.1), transparent);
}

.category-header.confianza-media {
    border-left: 5px solid #f39c12;
    background: linear-gradient(to right, rgba(243, 156, 18, 0.1), transparent);
}

.category-header.confianza-baja {
    border-left: 5px solid #e74c3c;
    background: linear-gradient(to right, rgba(231, 76, 60, 0.1), transparent);
}

.category-header h3 {
    color: var(--accent-cyan);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.category-header small {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: block;
    line-height: 1.4;
}

.confidence-metric {
    border-left: 5px solid var(--accent-cyan) !important;
    background: rgba(0, 242, 254, 0.1) !important;
}

.highlighted-interpretation {
    font-weight: bold;
    color: var(--text-primary) !important;
    background: rgba(0, 0, 0, 0.3);
    padding: 5px 10px;
    border-radius: 4px;
    text-shadow: 0 0 5px rgba(0, 242, 254, 0.5);
}

.rentabilidad-row {
    border-left: 5px solid #f39c12 !important;
    background: rgba(243, 156, 18, 0.05) !important;
}

.prediction-info {
    padding: 1.2rem;
    margin-top: 1rem;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.03);
}

.price-info {
    font-size: 1rem;
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 8px;
    background-color: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-dark);
    color: var(--text-secondary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.price-section {
    border-bottom: 1px dashed rgba(0, 242, 254, 0.3);
    padding-bottom: 0.8rem;
}

.price-row {
    padding: 0.5rem 0;
}

.price-label {
    font-size: 1.05rem;
    color: var(--text-primary);
    font-weight: 500;
}

.price-value {
    font-size: 1.2rem;
    color: var(--accent-cyan);
    font-weight: 700;
    text-shadow: 0 0 8px rgba(0, 242, 254, 0.4);
}

.secondary-metrics {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1rem;
    padding: 0.8rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.metric-row {
    display: grid;
    grid-template-columns: auto 80px 1fr;
    gap: 1rem;
    align-items: center;
    background: rgba(0, 0, 0, 0.15);
    padding: 0.8rem 1rem;
    border-radius: 6px;
    border-left: 3px solid var(--accent-cyan);
}

.secondary-label {
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 500;
}

.secondary-value {
    color: var(--accent-cyan);
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    text-shadow: 0 0 8px rgba(0, 242, 254, 0.3);
}

.metric-interpretation {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-style: italic;
    opacity: 0.9;
    padding-left: 1rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.accion-label {
    font-weight: bold;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.3);
}

.explicacion-text {
    font-size: 1.1rem;
    line-height: 1.5;
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.2);
    padding: 10px;
    border-radius: 6px;
    border-left: 3px solid var(--accent-cyan);
}

.expected-return {
    font-weight: bold;
    font-size: 1.6rem;
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.3);
}

.text-success { color: var(--success-light) !important; }
.text-danger { color: var(--danger-light) !important; }
.text-accent-cyan { color: var(--accent-cyan) !important; }

h2.text-success, h2.text-danger {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.alert-info {
    background-color: var(--bg-card);
    border-color: var(--accent-cyan);
    color: var(--text-primary);
}

.prediction-meta-info {
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-top: 1px solid rgba(0, 242, 254, 0.1);
    margin-top: 1.5rem;
    background: linear-gradient(to right, rgba(0, 242, 254, 0.05), rgba(0, 242, 254, 0.01));
    padding: 1.2rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.shared-meta-info {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 242, 254, 0.2);
    background-color: rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.meta-title {
    background-color: rgba(0, 242, 254, 0.15);
    padding: 0.8rem 0.5rem;
    margin-bottom: 0;
    text-align: center;
    border-bottom: 1px solid rgba(0, 242, 254, 0.25);
    font-size: 1.1rem;
    font-weight: 600;
    color: #00dbf3;
}

.metadata-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
    padding: 0.8rem;
}

.meta-item {
    display: flex;
    flex-direction: column;
    padding: 0;
    background-color: rgba(0, 0, 0, 0.3);
    border-left: 3px solid var(--accent-cyan);
}

.prediction-meta-label {
    color: var(--text-primary);
    font-size: 0.8rem;
    padding: 0.5rem 0.5rem 0.25rem 0.5rem;
    background-color: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(0, 242, 254, 0.1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.prediction-meta-value {
    color: var(--accent-cyan);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem;
    white-space: normal;
}

#context-section {
    margin-top: 3.5rem;
    border-top: 2px solid var(--accent-cyan);
    padding-top: 2.5rem;
    position: relative;
}

#context-section::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent 5%, var(--accent-cyan) 50%, transparent 95%);
    opacity: 0.8;
}

#context-section h2 {
    font-size: 2.2rem;
    margin-bottom: 1.8rem;
    color: var(--accent-cyan);
    text-align: center;
    text-shadow: 0 0 18px rgba(0, 242, 254, 0.4);
    font-weight: 700;
}

.context-report-container {
    background: linear-gradient(135deg, rgba(26, 29, 35, 0.85), rgba(31, 34, 41, 0.85));
    padding: 1.8rem;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 242, 254, 0.1);
    border: 1px solid var(--border-dark);
}

.report-content {
    color: var(--text-primary);
    line-height: 2.0;
    font-size: 1.15rem;
    padding: 0.8rem 1.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.report-point {
    margin-bottom: 2.5rem !important;
    padding-bottom: 1.5rem !important;
    border-bottom: 2px solid rgba(0, 242, 254, 0.2) !important;
    background-color: rgba(0, 242, 254, 0.05) !important;
    border-radius: 8px;
    padding: 1.5rem !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
}

.report-content-inner {
    line-height: 1.8;
    color: var(--text-primary);
}

.report-content-inner p {
    margin-bottom: 1.2rem;
    text-align: justify;
}

.report-bullet {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.report-bullet::before {
    content: '•';
    position: absolute;
    left: 0.5rem;
    color: var(--accent-cyan);
    font-size: 1.2rem;
}

.report-point strong.report-title {
    display: block !important;
    color: var(--accent-cyan) !important;
    font-size: 1.3rem !important;
    margin-bottom: 1.5rem !important;
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.35) !important;
    border-bottom: 2px solid rgba(0, 242, 254, 0.35) !important;
    padding-bottom: 0.8rem !important;
    font-weight: 700 !important;
    background: linear-gradient(to right, var(--accent-cyan), rgba(255, 255, 255, 0.9)) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
}

#news-section {
    margin-top: 3.5rem;
    border-top: 2px solid var(--accent-cyan);
    padding-top: 2.5rem;
    position: relative;
}

#news-section::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent 5%, var(--accent-cyan) 50%, transparent 95%);
    opacity: 0.8;
}

#news-section h2 {
    font-size: 2.2rem;
    margin-bottom: 1.8rem;
    color: #ffb700;
    text-align: center;
    text-shadow: 0 0 18px rgba(255, 183, 0, 0.4);
    font-weight: 700;
}

.crypto-news-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.news-item {
    background: linear-gradient(135deg, rgba(26, 29, 35, 0.85), rgba(31, 34, 41, 0.85));
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 183, 0, 0.1);
    border: 1px solid var(--border-dark);
    transition: all 0.3s ease;
}

.news-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, #ffb700, transparent);
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 183, 0, 0.2);
}

.news-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffb700;
    line-height: 1.4;
}

.news-description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
    font-size: 1.05rem;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 183, 0, 0.1);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.news-source {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-source-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: rgba(255, 183, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: #ffb700;
}
/* Contenedor principal */
.fear-greed-container {
    background-color: var(--bg-darker);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-dark);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.fear-greed-container h4 {
    color: var(--accent-cyan);
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.3);
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-align: center;
}

/* Medidor de miedo y codicia - Diseño mejorado */
.fear-greed-meter {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 1.5rem 0;
}

.meter-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Etiquetas superiores */
.meter-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding: 0 1rem;
}

.fear-label, .neutral-label, .greed-label {
    font-size: 0.85rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.fear-label {
    background-color: #800000;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(128, 0, 0, 0.5);
}

.neutral-label {
    background-color: #8B8000;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(139, 128, 0, 0.5);
}

.greed-label {
    background-color: #006400;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(0, 100, 0, 0.5);
}

/* Barra principal */
.meter-bar {
    position: relative;
    height: 40px;
    background: #1a1d23;
    border-radius: 8px;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.1);
    overflow: visible;
}

.meter-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right,
        #800000 0%,      /* Miedo Extremo - Rojo oscuro */
        #cc0000 10%,     /* Zona de Miedo Extremo */
        #ff0000 20%,     /* Miedo - Rojo intenso */
        #ff4500 35%,     /* Miedo - Rojo anaranjado */
        #ffd700 45%,     /* Miedo Moderado - Amarillo dorado */
        #ffff00 50%,     /* Neutral - Amarillo */
        #90EE90 65%,     /* Codicia Moderada - Verde claro */
        #32cd32 80%,     /* Codicia - Verde lima */
        #228b22 90%,     /* Codicia Alta - Verde bosque */
        #006400 100%    /* Codicia Extrema - Verde oscuro */
    );
    opacity: 0.95;
    border-radius: 6px;
}

.meter-ticks {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(
        to right,
        transparent,
        transparent 4%,
        rgba(255, 255, 255, 0.3) 4.5%,
        transparent 5%
    );
    z-index: 2;
}

/* Indicador de valor */
.meter-pointer {
    position: absolute;
    top: -15px;
    transform: translateX(-50%);
    z-index: 10;
    transition: left 1.5s cubic-bezier(0.32, 0.94, 0.60, 1);
}

.pointer-line {
    width: 3px;
    height: 65px; /* Aumentado para una línea más larga */
    background-color: #ffffff;
    margin: 0 auto;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.pointer-triangle {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid #ffffff;
    margin: -2px auto 0;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.8));
}

/* Contenedor del valor */
.meter-value-container {
    position: absolute;
    top: 75px; /* Aumentado aún más para mantener la separación */
    left: 50%;
    transform: translateX(-50%);
    background: #000000;
    border-radius: 8px;
    padding: 8px 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    text-align: center;
    min-width: 80px;
    z-index: 20;
    margin-top: 10px; /* Espacio adicional desde el indicador */
}

/* Escala numérica */
.meter-scale {
    display: flex;
    justify-content: space-between;
    padding: 0 0.5rem;
    margin-top: 15px; /* Reducido significativamente para acercar a la barra */
    position: relative;
}

.scale-value {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
    position: relative;
    margin-top: -25px; /* Mover números hacia arriba */
}

.scale-value::before {
    content: '';
    position: absolute;
    bottom: 20px; /* Ajustado para que la línea suba desde el número */
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 8px;
    background-color: var(--text-secondary);
}

/* Valor numérico */
.gauge-value {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 2px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

/* Etiqueta del valor */
.gauge-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
    margin-top: 2px;
}

/* Clases de color para el valor */
.gauge-value.miedo-extremo, .gauge-label.miedo-extremo {
    color: #ff0000;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.gauge-value.miedo, .gauge-label.miedo {
    color: #ff4500;
    text-shadow: 0 0 10px rgba(255, 69, 0, 0.5);
}

.gauge-value.neutral, .gauge-label.neutral {
    color: #ffff00;
    text-shadow: 0 0 10px rgba(255, 255, 0, 0.5);
}

.gauge-value.codicia, .gauge-label.codicia {
    color: #32cd32;
    text-shadow: 0 0 10px rgba(50, 205, 50, 0.5);
}

.gauge-value.codicia-extrema, .gauge-label.codicia-extrema {
    color: #008000;
    text-shadow: 0 0 10px rgba(0, 128, 0, 0.5);
}

/* Ajuste para textos largos */
.gauge-label.text-long {
    font-size: 0.75rem;
    line-height: 1.1;
}

/* Contenedor principal del medidor */
.gauge-container {
    position: relative;
    width: 600px;
    height: 300px;
    margin: 0 auto 50px;
}

/* Etiquetas de valores extremos */
.gauge-container::before,
.gauge-container::after {
    position: absolute;
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
    background-color: rgba(0, 0, 0, 0.7);
    padding: 4px 8px;
    border-radius: 3px;
    z-index: 5;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.gauge-container::before {
    content: '0';
    left: 2%;
    bottom: 2%;
}

.gauge-container::after {
    content: '100';
    right: 2%;
    bottom: 2%;
}

/* Etiquetas de Miedo y Codicia */
.gauge-container .fear-label,
.gauge-container .greed-label {
    position: absolute;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 3px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    z-index: 10;
    letter-spacing: 1px;
}

.gauge-container .fear-label {
    left: 10%;
    bottom: 20%;
    color: #ffffff;
    background-color: #800000;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.gauge-container .greed-label {
    right: 10%;
    bottom: 20%;
    color: #ffffff;
    background-color: #006400;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Arco del medidor */
.gauge-arc {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 400px 400px 0 0;
    background: #1a1d23;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
    border: 3px solid rgba(255, 255, 255, 0.15);
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* Ajustar el contenedor para el nuevo marcador */
.gauge-container {
    position: relative;
    width: 600px;
    height: 300px;
    margin: 0 auto 50px;
    overflow: visible;
}

/* Marcas de división en el arco */
.gauge-arc::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(180deg, transparent 49.8%, rgba(255, 255, 255, 0.3) 50%, transparent 50.2%),
        linear-gradient(150deg, transparent 49.8%, rgba(255, 255, 255, 0.3) 50%, transparent 50.2%),
        linear-gradient(120deg, transparent 49.8%, rgba(255, 255, 255, 0.3) 50%, transparent 50.2%),
        linear-gradient(90deg, transparent 49.8%, rgba(255, 255, 255, 0.3) 50%, transparent 50.2%),
        linear-gradient(60deg, transparent 49.8%, rgba(255, 255, 255, 0.3) 50%, transparent 50.2%),
        linear-gradient(30deg, transparent 49.8%, rgba(255, 255, 255, 0.3) 50%, transparent 50.2%),
        linear-gradient(0deg, transparent 49.8%, rgba(255, 255, 255, 0.3) 50%, transparent 50.2%);
    opacity: 0.5;
    z-index: 3;
}

/* Gradiente de colores del medidor */
.gauge-fill {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        #800000 0%,      /* Miedo Extremo - Rojo oscuro */
        #cc0000 10%,     /* Zona de Miedo Extremo */
        #ff0000 20%,     /* Miedo - Rojo intenso */
        #ff4500 35%,     /* Miedo - Rojo anaranjado */
        #ffd700 45%,     /* Miedo Moderado - Amarillo dorado */
        #ffff00 50%,     /* Neutral - Amarillo */
        #90EE90 65%,     /* Codicia Moderada - Verde claro */
        #32cd32 80%,     /* Codicia - Verde lima */
        #228b22 90%,     /* Codicia Alta - Verde bosque */
        #006400 100%    /* Codicia Extrema - Verde oscuro */
    );
    border-radius: 400px 400px 0 0;
    opacity: 0.9;
}

/* Círculo central con el valor */
.gauge-center {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 140px;
    background: #000000;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
    z-index: 10;
    padding: 12px;
}

/* Valor numérico */
.gauge-value {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
    position: relative;
    z-index: 15;
    transition: color 0.3s ease;
}

/* Clases de color para el valor */
.gauge-value.miedo-extremo {
    color: #ff0000;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.gauge-value.miedo {
    color: #ff8c00;
    text-shadow: 0 0 10px rgba(255, 140, 0, 0.5);
}

.gauge-value.neutral {
    color: #ffff00;
    text-shadow: 0 0 10px rgba(255, 255, 0, 0.5);
}

.gauge-value.codicia {
    color: #32cd32;
    text-shadow: 0 0 10px rgba(50, 205, 50, 0.5);
}

.gauge-value.codicia-extrema {
    color: #008000;
    text-shadow: 0 0 10px rgba(0, 128, 0, 0.5);
}

/* Etiqueta del valor */
.gauge-label {
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
    max-width: 100px;
    word-wrap: break-word;
    line-height: 1.2;
    margin-top: 2px;
    transition: color 0.3s ease;
}

/* Clases de color para la etiqueta */
.gauge-label.miedo-extremo {
    color: #ff0000;
    text-shadow: 0 0 8px rgba(255, 0, 0, 0.4);
}

.gauge-label.miedo {
    color: #ff8c00;
    text-shadow: 0 0 8px rgba(255, 140, 0, 0.4);
}

.gauge-label.neutral {
    color: #ffff00;
    text-shadow: 0 0 8px rgba(255, 255, 0, 0.4);
}

.gauge-label.codicia {
    color: #32cd32;
    text-shadow: 0 0 8px rgba(50, 205, 50, 0.4);
}

.gauge-label.codicia-extrema {
    color: #008000;
    text-shadow: 0 0 8px rgba(0, 128, 0, 0.4);
}

/* Ajuste específico para textos largos */
.gauge-label.text-long {
    font-size: 0.85rem;
    line-height: 1.1;
    margin-top: 0;
}

/* Contenedor del marcador */
.gauge-marker-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 15;
}

/* Marcador circular con efectos */
.gauge-marker {
    position: absolute;
    width: 16px;
    height: 16px;
    background: #ffffff;
    border-radius: 50%;
    top: 0;
    left: 50%;
    transform-origin: bottom center;
    box-shadow:
        0 0 5px rgba(255, 255, 255, 0.9),
        0 0 15px rgba(255, 255, 255, 0.7);
    transition: transform 1.5s cubic-bezier(0.32, 0.94, 0.60, 1);
    animation: markerPulse 2s ease-in-out infinite;
}

@keyframes markerPulse {
    0%, 100% { box-shadow: 0 0 5px rgba(255, 255, 255, 0.9), 0 0 15px rgba(255, 255, 255, 0.7); }
    50% { box-shadow: 0 0 10px rgba(255, 255, 255, 1), 0 0 20px rgba(255, 255, 255, 0.8); }
}

/* Clases para los diferentes estados */
.miedo-extremo { color: #ff0000; }
.miedo { color: #ff8c00; }
.neutral { color: #ffff00; }
.codicia { color: #32cd32; }
.codicia-extrema { color: #008000; }
.fear-greed-label.codicia-extrema { color: #008000; }

.processing-card {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(10, 12, 15, 0.95);
    backdrop-filter: blur(10px);
    z-index: 9999;
}

.processing-content {
    background: var(--bg-darker);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.crypto-neural-loader {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 2rem;
}

.neural-path {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(0, 242, 254, 0.2);
    border-radius: 50%;
    animation: neuralOrbit 4s linear infinite;
}

.crypto-coin,
.neural-node {
    position: absolute;
    font-size: 1.5rem;
    animation: pulseGlow 2s ease-in-out infinite;
    text-shadow: 0 0 10px var(--accent-cyan);
}

.btc-symbol { top: 0; left: 50%; transform: translateX(-50%); }
.eth-symbol { right: 0; top: 50%; transform: translateY(-50%); }
.sol-symbol { bottom: 0; left: 50%; transform: translateX(-50%); }
.dot-symbol { left: 0; top: 50%; transform: translateY(-50%); }
.peso-symbol { top: 25%; right: 25%; }
.alien-symbol { bottom: 25%; right: 25%; }
.penguin-symbol { bottom: 25%; left: 25%; }
.star-symbol { top: 25%; left: 25%; }
.rocket-symbol { top: 50%; left: 50%; transform: translate(-50%, -50%); }

.processing-text {
    color: var(--accent-cyan);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.3);
}

.processing-subtext {
    color: var(--text-secondary);
    font-size: 1.1rem;
    opacity: 0.8;
}

.site-footer {
    margin: 3rem auto 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 242, 254, 0.18);
    width: min(1120px, calc(100% - 2rem));
}

.site-footer-inner {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(260px, 1.35fr) minmax(180px, 1fr);
    align-items: center;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer-brand img {
    display: block;
    width: 150px;
    max-width: 100%;
    height: 39px;
    object-fit: contain;
    padding: 0 0.65rem;
    border: 1px solid rgba(0, 242, 254, 0.22);
    border-radius: 12px;
    background: rgba(5, 15, 28, 0.92);
    box-shadow: 0 0 28px rgba(0, 242, 254, 0.10);
}

.footer-brand span {
    color: var(--text-muted);
    font-size: 0.68rem;
    letter-spacing: 0.32em;
    font-weight: 700;
}

.footer-product {
    text-align: center;
}

.footer-product strong {
    display: block;
    color: var(--text-primary);
    font-size: 0.78rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    margin-bottom: 0.45rem;
}

.footer-product p {
    color: var(--text-secondary);
    font-size: 0.86rem;
    line-height: 1.45;
    margin: 0 auto;
    max-width: 34rem;
}

.malvinas-link {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    transition: color 0.15s ease;
}

.malvinas-link:hover {
    color: var(--accent-cyan);
}

.malvinas-link strong {
    color: var(--text-primary);
    font-size: 0.72rem;
}

.malvinas-map {
    width: 5.7rem;
    height: 3.5rem;
    fill: #75aadb;
    stroke: #ffffff;
    stroke-width: 1.45;
    filter: drop-shadow(0 0 0.7rem rgba(0, 242, 254, 0.22));
}

@media (max-width: 900px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .header-brand-lockup {
        align-self: flex-start;
    }

    .site-footer-inner {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-brand,
    .malvinas-link {
        align-items: center;
    }
}
