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

body {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #f7931a 0%, #ff8c00 50%, #1a1a1a 100%);
    min-height: 100vh;
    color: #333;
    position: relative;
}

body::before {
    content: '₿';
    position: fixed;
    top: 10%;
    right: 5%;
    font-size: 15em;
    color: rgba(247, 147, 26, 0.1);
    z-index: -1;
    transform: rotate(15deg);
}

body::after {
    content: '₿';
    position: fixed;
    bottom: 10%;
    left: 5%;
    font-size: 12em;
    color: rgba(247, 147, 26, 0.08);
    z-index: -1;
    transform: rotate(-20deg);
}

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

h1 {
    text-align: center;
    color: white;
    margin-bottom: 30px;
    font-size: 2.5em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
}

h1::before {
    content: '₿';
    position: absolute;
    left: -60px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8em;
    color: #f7931a;
    text-shadow: 0 0 10px rgba(247, 147, 26, 0.5);
}

h1::after {
    content: '₿';
    position: absolute;
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8em;
    color: #f7931a;
    text-shadow: 0 0 10px rgba(247, 147, 26, 0.5);
}

.prediction-section {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 60px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border: 2px solid #e2e8f0;
    position: relative;
}

.prediction-section::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #f7931a, #ff6b6b, #667eea, #f7931a);
    background-size: 400% 400%;
    border-radius: 20px;
    z-index: -1;
    animation: gradientBorder 4s ease-in-out infinite;
}

@keyframes gradientBorder {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.prediction-section h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #4a5568;
    font-size: 1.5em;
}

.price-display {
    text-align: center;
    font-size: 3em;
    font-weight: bold;
    margin: 20px 0;
    padding: 20px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border: 3px solid #f7931a;
    box-shadow: 0 0 20px rgba(247, 147, 26, 0.2);
    font-family: 'Segoe UI', 'Roboto', monospace;
    position: relative;
}

.price-display::before {
    content: '₿';
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 0.4em;
    color: #f7931a;
    opacity: 0.6;
}

.price-display.prediction {
    background: linear-gradient(135deg, #fff5e6 0%, #ffe4b3 50%, #f7931a 100%);
    border-color: #f7931a;
    color: #1a1a1a;
    transition: transform 0.1s ease-out, box-shadow 0.1s ease-out;
    font-family: 'Segoe UI', 'Roboto', monospace;
    letter-spacing: 1px;
    box-shadow: 0 0 30px rgba(247, 147, 26, 0.4);
}

.price-display.prediction::before {
    content: '₿';
    color: rgba(26, 26, 26, 0.3);
}

.price-display.prediction:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

/* 数字滚动动画效果 - 秒表感觉但不改变字体大小 */
@keyframes numberTick {
    0% { 
        transform: translateY(-1px); 
        opacity: 0.9;
        text-shadow: 0 0 5px rgba(247, 147, 26, 0.3);
    }
    50% { 
        transform: translateY(0px); 
        opacity: 1;
        text-shadow: 0 0 8px rgba(247, 147, 26, 0.5);
    }
    100% { 
        transform: translateY(1px); 
        opacity: 0.95;
        text-shadow: 0 0 5px rgba(247, 147, 26, 0.3);
    }
}

.price-display.prediction.price-tick {
    animation: numberTick 0.15s ease-in-out;
}

/* 确保字体大小始终保持一致 */
.price-display.prediction {
    font-size: 3em !important;
    transform: none;
}

.price-display.prediction.price-tick {
    font-size: 3em !important;
}

.loading {
    color: #718096;
    font-size: 0.6em;
}

.prediction-info {
    background: linear-gradient(135deg, #fff5e6 0%, #f7f7f7 100%);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #f7931a;
    position: relative;
}

.prediction-info::before {
    content: '₿';
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5em;
    color: #f7931a;
    opacity: 0.3;
}

.prediction-info p {
    margin-bottom: 8px;
    color: #4a5568;
}

.target-price-showcase {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    border-radius: 20px;
    padding: 30px;
    margin: 25px 0;
    text-align: center;
    border: 3px solid #f7931a;
    box-shadow: 0 0 40px rgba(247, 147, 26, 0.4), inset 0 0 20px rgba(247, 147, 26, 0.1);
    position: relative;
    overflow: hidden;
}

.target-price-showcase::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(247, 147, 26, 0.1), transparent);
    animation: shimmer 3s linear infinite;
}

.target-label {
    color: #f7931a;
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.target-price {
    color: #f7931a;
    font-size: 4em;
    font-weight: 900;
    text-shadow: 0 0 20px rgba(247, 147, 26, 1), 0 0 40px rgba(247, 147, 26, 0.8), 0 0 60px rgba(247, 147, 26, 0.6);
    animation: priceGlow 2s ease-in-out infinite alternate, gradientShift 3s ease-in-out infinite;
    background: linear-gradient(45deg, #f7931a, #ffb347, #ffd700, #f7931a);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 3px;
    position: relative;
    z-index: 2;
}

.target-price::before {
    content: '💰';
    position: absolute;
    left: -80px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.6em;
    animation: bounce 1.5s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(247, 147, 26, 0.8));
}

.target-price::after {
    content: '🚀';
    position: absolute;
    right: -80px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.6em;
    animation: rocket 2s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(247, 147, 26, 0.8));
}

.target-date {
    color: #cccccc;
    font-size: 1.1em;
    margin-top: 15px;
    font-weight: 500;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

@keyframes priceGlow {
    0% {
        text-shadow: 0 0 10px rgba(247, 147, 26, 0.8), 0 0 20px rgba(247, 147, 26, 0.6), 0 0 30px rgba(247, 147, 26, 0.4);
        transform: scale(1);
    }
    100% {
        text-shadow: 0 0 20px rgba(247, 147, 26, 1), 0 0 30px rgba(247, 147, 26, 0.8), 0 0 40px rgba(247, 147, 26, 0.6);
        transform: scale(1.05);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(-50%);
    }
    40% {
        transform: translateY(-70%);
    }
    60% {
        transform: translateY(-60%);
    }
}

@keyframes rocket {
    0% {
        transform: translateY(-50%) rotate(0deg);
    }
    25% {
        transform: translateY(-60%) rotate(-10deg);
    }
    50% {
        transform: translateY(-40%) rotate(10deg);
    }
    75% {
        transform: translateY(-55%) rotate(-5deg);
    }
    100% {
        transform: translateY(-50%) rotate(0deg);
    }
}

.time-info, .growth-info {
    text-align: center;
    margin-top: 10px;
    color: #718096;
    font-size: 0.9em;
}

.chart-section {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin: 25px 0;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border: 3px solid #f7931a;
    position: relative;
    overflow: hidden;
}

.chart-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #f7931a, #ffb347, #f7931a);
    background-size: 200% 100%;
    animation: shimmerTop 3s linear infinite;
}

.chart-section h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #4a5568;
    font-size: 1.5em;
}

.chart-container {
    position: relative;
    background: #1a1a1a;
    border-radius: 10px;
    padding: 20px;
    border: 2px solid #f7931a;
}

#priceChart {
    width: 100%;
    height: 400px;
    border-radius: 8px;
}

.chart-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 0.9em;
}

.legend-color {
    width: 20px;
    height: 4px;
    border-radius: 2px;
}

.legend-color.historical {
    background: #4CAF50;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.6);
}

.legend-color.target {
    background: #ff6b6b;
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.6);
}

.legend-color.prediction {
    background: linear-gradient(90deg, #f7931a, #ff6b6b);
    box-shadow: 0 0 10px rgba(247, 147, 26, 0.4);
}

.stats-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}

@keyframes shimmerTop {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@media (max-width: 600px) {
    .chart-container {
        padding: 10px;
    }
    
    #priceChart {
        height: 300px;
    }
    
    .chart-legend {
        gap: 15px;
    }
}

.stat-item {
    background: linear-gradient(135deg, white 0%, #fff5e6 100%);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-top: 3px solid #f7931a;
    position: relative;
}

.stat-item::after {
    content: '₿';
    position: absolute;
    bottom: 5px;
    right: 10px;
    font-size: 0.8em;
    color: #f7931a;
    opacity: 0.2;
}

.stat-label {
    display: block;
    color: #718096;
    font-size: 0.9em;
    margin-bottom: 8px;
}

.stat-value {
    display: block;
    font-size: 1.2em;
    font-weight: bold;
    color: #2d3748;
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    h1 {
        font-size: 2em;
        margin-bottom: 25px;
    }
    
    .price-display {
        font-size: 2em;
    }
    
    .stats-section {
        grid-template-columns: 1fr;
    }
    
    .prediction-section {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .prediction-section h2 {
        font-size: 1.2em;
    }
}

.error {
    color: #e53e3e;
    background: #fed7d7;
    border-color: #feb2b2;
}

.success {
    color: #38a169;
}

/* 底部信息样式 */
.footer-section {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    border-radius: 20px;
    padding: 30px;
    margin-top: 40px;
    color: white;
    border: 2px solid #f7931a;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.disclaimer {
    margin-bottom: 25px;
    text-align: center;
}

.disclaimer h3 {
    color: #f7931a;
    font-size: 1.3em;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(247, 147, 26, 0.5);
}

.disclaimer p {
    margin: 8px 0;
    color: #e2e8f0;
    font-size: 0.95em;
    line-height: 1.5;
}

.disclaimer-item {
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 4px solid #f7931a;
    text-align: left;
}

.disclaimer-item h4 {
    color: #f7931a;
    margin-bottom: 10px;
    font-size: 1.1em;
    font-weight: bold;
}

.disclaimer-item p {
    line-height: 1.7;
    margin: 0;
    text-align: justify;
    color: #e2e8f0;
}

.risk-warning {
    margin-top: 25px;
    padding: 15px;
    background: rgba(255, 0, 0, 0.1);
    border: 2px solid #ff4444;
    border-radius: 8px;
    text-align: center;
}

.risk-warning p {
    margin: 0;
    color: #ff6666;
    font-weight: bold;
    line-height: 1.6;
}

.links {
    border-top: 1px solid rgba(247, 147, 26, 0.3);
    padding-top: 20px;
}

.link-item {
    display: flex;
    align-items: center;
    margin: 10px 0;
    font-size: 0.9em;
}

.link-label {
    color: #cbd5e0;
    min-width: 120px;
    font-weight: 500;
}

.link-item a {
    color: #f7931a;
    text-decoration: none;
    transition: all 0.3s ease;
}

.link-item a:hover {
    color: #ffb347;
    text-shadow: 0 0 5px rgba(247, 147, 26, 0.5);
}

.wechat {
    color: #4CAF50;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(76, 175, 80, 0.3);
}

@media (max-width: 768px) {
    .footer-section {
        padding: 20px;
        margin-top: 30px;
    }
    
    .link-item {
        flex-direction: column;
        align-items: flex-start;
        margin: 15px 0;
    }
    
    .link-label {
        min-width: auto;
        margin-bottom: 5px;
    }
}