/* TechStream Back-to-Top Button Styles */
[class~="techstream-back-to-top"] {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(30, 41, 59, 0.4);
}

[class~="techstream-back-to-top"][class~="visible"] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

[class~="techstream-back-to-top"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(30, 41, 59, 0.6);
}

@media (max-width: 768px) {
    .techstream-back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 20px;
    }
}

/* Standard back-to-top class */
[class~="back-to-top"] {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: var(--neural-primary, #00ffcc);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0,255,204,0.3);
}
[class~="back-to-top"][class~="visible"] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
[class~="back-to-top"]:hover {
    opacity: 0.85;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,255,204,0.5);
}

/* Disclaimer & ICP */
[class~="disclaimer"] {
    color: rgba(255,255,255,0.4);
    font-size: 12px;
    line-height: 1.6;
    margin: 8px auto;
    text-align: center;
    max-width: 800px;
}
[class~="icp-info"] {
    color: rgba(255,255,255,0.4);
    font-size: 12px;
    text-align: center;
    margin-top: 4px;
}
[class~="icp-info"] a {
    color: rgba(255,255,255,0.4);
}
[class~="icp-info"] a:hover {
    color: rgba(255,255,255,0.7);
}
