.crypto-widget {
    background-color: var(--secondary-bg);
    padding: 16px;
    border-radius: 12px;
    max-width: 800px;
    margin: 0px 0px
}

.crypto-widget h2 {
    font-size: 16px;
    color: var(--text-bright);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px
}

.crypto-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(150px,1fr));
    gap: 12px
}

.crypto-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 12px 14px;
    text-align: left
}

.crypto-card .title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 6px
}

.crypto-card .title span {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 400
}

.crypto-card .price {
    font-size: 16px;
    font-weight: bold;
    color: var(--text-main)
}

.crypto-card .currency {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 2px
}

.btc .icon {
    color: #f7931a
}

.eth .icon {
    color: #627eea
}

.ltc .icon {
    color: #345c9c
}

.icon {
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px
}

@media (max-width: 500px) {
    .crypto-widget {
        padding:12px
    }

    .crypto-card {
        padding: 10px
    }

    .crypto-card .price {
        font-size: 15px
    }
}

.announcement-box {
    background-color: var(--secondary-bg);
    border-radius: 16px;
    padding: 20px;
    max-width: 700px;
    margin: 0
}

.announcement-box h2 {
    color: var(--accent);
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: left
}

.announcement {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    position: relative;
    gap: 15px
}

.announcement .avatar {
    width: 40px;
    height: 40px;
    border-radius: 20%;
    object-fit: cover
}

.info {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left
}

.title {
    font-weight: bold;
    font-size: 12px;
    color: var(--text-bright)
}

.meta {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 5px
}

.meta span {
    color: var(--link-color);
    font-weight: 500
}

.bullhorn {
    font-size: 48px;
    color: rgba(255,255,255,0.05);
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%) rotate(329deg);
    pointer-events: none
}

@media (max-width: 600px) {
    .announcement {
        flex-direction:row;
        align-items: flex-start;
        gap: 10px
    }

    .avatar {
        width: 40px;
        height: 40px
    }

    .bullhorn {
        font-size: 38px;
        right: 10px
    }
}

.loader {
    border: 6px solid var(--card-bg);
    border-top: 6px solid var(--accent);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 40px auto
}

.loader-wrapper {
    align-items: center;
    height: 200px;
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    margin-top: 10px
}

@keyframes spin {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

#crypto-data {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(120px,1fr));
    gap: 12px
}

@keyframes spin {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

.loader-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    margin-top: 10px
}

.loader {
    border: 6px solid var(--card-bg);
    border-top: 6px solid var(--accent);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite
}

		