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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

header {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header h1 {
    color: #667eea;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

header p {
    color: #666;
    font-size: 1.1rem;
}

.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.chart-container {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.chart-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.chart-container h2 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.chart-container iframe {
    display: block;
    width: 100%;
    min-height: 600px;
    border: none;
    border-radius: 5px;
}

.chart-container img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 5px;
}

/* Telegram Discussion Section */
.telegram-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem 0;
    margin-top: 2rem;
}

.telegram-container {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.telegram-container h2 {
    color: #667eea;
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.telegram-container p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.telegram-widget-wrapper {
    max-width: 600px;
    margin: 2rem auto;
    min-height: 200px;
}

.telegram-button-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.telegram-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #0088cc 0%, #0099dd 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3);
}

.telegram-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.4);
    background: linear-gradient(135deg, #0099dd 0%, #00aaee 100%);
}

.telegram-btn svg {
    width: 24px;
    height: 24px;
}

.telegram-disclaimer {
    margin-top: 2rem;
    padding: 1rem;
    background: #fff3cd;
    border-radius: 8px;
    color: #856404;
    font-style: italic;
}

.telegram-disclaimer small {
    font-size: 0.9rem;
}

footer {
    background: rgba(255, 255, 255, 0.95);
    text-align: center;
    padding: 1.5rem;
    margin-top: 0;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    .chart-container {
        padding: 1.5rem;
    }
    
    .chart-container iframe {
        min-height: 500px;
    }
}

/* Loading animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}
