body {
    background: #0f0f0f;
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 20px;
}

/* Top Bar */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1a1a1a;
    border: 2px solid #333;
    padding: 10px 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px #00ffcc;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.site-logo {
    height: 50px;
    margin-right: 10px;
}

.site-title {
    color: #00ffcc;
    font-size: 1.8rem;
    margin: 0 10px;
    flex-grow: 1;
}

.datetime {
    color: red;
    font-size: 1.1rem;
    font-weight: bold;
    margin: 10px;
}

/* Telegram Button */
.telegram-button {
    display: flex;
    align-items: center;
    background-color: #0088cc;
    color: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    font-size: 1rem;
    box-shadow: 0 0 10px #0088cc;
    transition: 0.3s;
}

.telegram-button:hover {
    background: #007ab8;
    transform: scale(1.05);
}

.telegram-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

/* News Ticker */
.ticker-container {
    width: 100%;
    overflow: hidden;
    background-color: #111;
    border: 2px solid #444;
    padding: 15px 0;
    box-shadow: 0 0 10px #00ffcc;
    margin-bottom: 30px;
}

.ticker {
    white-space: nowrap;
    animation: ticker-scroll 25s linear infinite;
}

.ticker-item {
    display: inline-block;
    margin-right: 60px;
    font-size: 1.5rem;
}

.ticker-item.green {
    color: #00ff00;
}

.ticker-item.red {
    color: #ff4444;
}

@keyframes ticker-scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Sections */
.section {
    background: #1a1a1a;
    border: 2px solid #444;
    border-radius: 10px;
    padding: 20px;
    margin: 40px auto;
    max-width: 800px;
    box-shadow: 0 0 10px #222;
    text-align: center;
}

.section h2 {
    color: #ffcc00;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

/* Download Buttons */
.download-button {
    display: block;
    width: 90%;
    max-width: 400px;
    margin: 10px auto;
    background: #00ff88;
    color: #000;
    font-weight: bold;
    text-align: center;
    padding: 15px;
    text-decoration: none;
    border-radius: 10px;
    transition: 0.3s;
    box-shadow: 0 0 10px #00ff88;
}

.download-button.no-root {
    background: #ff4444;
    box-shadow: 0 0 10px #ff4444;
}

.download-button:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.empty {
    color: #aaa;
    font-style: italic;
}
