body {
    font-family: 'Courier New', monospace;
    background-color: #000;
    color: #0f0;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    text-align: center;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
    width: 90%;
    max-width: 800px;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ff0000; 
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.time {
    font-size: 2rem;
}

.time span {
    display: block;
    font-size: 3rem;
}

.info p {
    margin: 0.5rem 0;
    font-size: 1rem;
}

.info {
    text-align: center;
    margin-bottom: 1rem;
}

.btc-price-container {
    text-align: center;
    margin: 1rem auto;
    padding: 0.5rem;
    border: 1px solid #00ff00;
    border-radius: 5px;
    background-color: rgba(0, 255, 0, 0.1);
    display: inline-block;
}

.btc-price {
    font-size: 1.2rem;
    color: #00ff00;
}

#lastUpdated {
    font-size: 0.8rem;
    color: #888;
    margin-top: 0.2rem;
}

.block-info {
    display: flex;
    justify-content: space-around;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.block-info > div {
    text-align: center;
    margin: 0.5rem;
}

.block-info span {
    display: block;
    font-size: 2rem;
    font-weight: bold;
}

.block-info small {
    font-size: 0.9rem;
}

.data-attribution, .developer-attribution {
    margin: 0.5rem 0;
    font-size: 1rem;
    color: #00ff00;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.data-attribution a, .developer-attribution a {
    color: #ff0000; 
    text-decoration: none; 
}

.developer-attribution {
    font-size: 1.1rem;
}

.explanation-container {
    margin-top: 2rem;
}

.explanation-header {
    cursor: pointer;
    padding: 0.8rem 1.2rem; 
    background-color: rgba(255, 215, 0, 0.15); 
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 5px;
}

.explanation-header h2 {
    font-size: 1.5rem; 
    margin: 0;
    color: #ffd700; 
}

.expand-btn {
    background: none;
    border: none;
    color: #ffd700; 
    font-size: 1.5rem; 
    cursor: pointer;
}

.explanation-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.explanation-content.expanded {
    max-height: 1000px; 
    transition: max-height 0.5s ease-in;
}

.explanation-content p {
    margin: 1rem 0;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    .time {
        font-size: 1.5rem;
    }

    .time span {
        font-size: 2.5rem;
    }

    .block-info {
        flex-direction: column;
        gap: 1rem;
    }

    .block-info span {
        font-size: 1.8rem;
    }
}

.heading-container {
    position: relative;
    margin-bottom: 2rem;
}
