/* For live News................................................................. */


.news-card a {
    display: inline-block;
    margin-top: 10px;
    color: #7b2cbf;
    font-weight: bold;
    text-decoration: none;
}

.news-card a:hover {
    color: #9d4edd;
}





@keyframes pageLoad {


    from {

        opacity: 0;

    }


    to {

        opacity: 1;

    }


}




@media(max-width:768px) {

    .logo-area {

        flex-direction: column;

        text-align: center;

    }

    .navbar {

        gap: 8px;

    }

    .navbar a {

        padding: 8px 12px;

        font-size: .9rem;

    }

}












.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -2;
}

.particles span {
    position: absolute;
    display: block;
    width: 6px;
    height: 6px;
    background: rgba(199, 125, 255, 0.6);
    border-radius: 50%;
    animation: floatUp linear infinite;
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    100% {
        transform: translateY(-10vh) scale(1);
        opacity: 0;
    }
}





html {
    scroll-behavior: smooth;
}



body.dark .news-card,
body.dark .featured-card {
    background: rgba(255, 255, 255, 0.07) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(12px);
}


body.dark .news-card h3,
body.dark .news-card p,
body.dark .news-card span,
body.dark .featured-card h3,
body.dark .featured-card p {
    color: #ffffff !important;
}

body.dark .news-card span {
    background: #7b2cbf;
    color: white !important;
}


.cursor-glow {
    position: fixed;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(123, 44, 191, 0.3), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: -1;
}




::-webkit-scrollbar {

    width: 10px;

}

::-webkit-scrollbar-thumb {

    background: #00d9ff;

    border-radius: 20px;

}

::-webkit-scrollbar-track {

    background: #081223;

}


















/* ===================================
   AI FUTURE HUB 3D EFFECTS
=================================== */


/* 3D Tilt Cards */

.news-card,
.card,
.tool-card,
.feature-card,
.tutorial-card,
.gallery-item,
.stat-box {

    transform-style: preserve-3d;

    perspective: 1000px;

    transition:
        transform .3s ease,
        box-shadow .3s ease;

}


.news-card:hover,
.card:hover,
.tool-card:hover,
.feature-card:hover,
.tutorial-card:hover,
.gallery-item:hover,
.stat-box:hover {

    box-shadow:
        0 25px 50px rgba(75, 0, 130, .35);

}



/* Floating AI Logo */

.site-logo {

    animation:
        floatingLogo 4s ease-in-out infinite;

}


@keyframes floatingLogo {


    0% {

        transform:
            translateY(0px) rotateY(0deg);

    }


    50% {

        transform:
            translateY(-12px) rotateY(180deg);

    }


    100% {

        transform:
            translateY(0px) rotateY(360deg);

    }


}



/* 3D Hero Glow */

.page-banner,
.hero {


    position: relative;

    overflow: hidden;

}






@keyframes pulse3D {


    0%,
    100% {

        transform: scale(1);

        opacity: .5;

    }


    50% {

        transform: scale(1.5);

        opacity: 1;

    }


}




/* 3D Button */

.hero-btn,
.tool-btn,
.newsletter-form button {


    transform-style: preserve-3d;


}



.hero-btn:hover,
.tool-btn:hover,
.newsletter-form button:hover {


    transform:

        translateY(-8px) rotateX(15deg) scale(1.08);


    box-shadow:

        0 20px 30px rgba(0, 0, 0, .3);


}



/* Holographic Border */


.news-card::after,
.tool-card::after {


    content: "";


    position: absolute;

    inset: 0;


    border-radius: 20px;


    background:

        linear-gradient(45deg,
            transparent,
            rgba(0, 255, 255, .4),
            transparent);


    opacity: 0;


    transition: .4s;


    pointer-events: none;


}



.news-card:hover::after,
.tool-card:hover::after {


    opacity: 1;


}



/* Floating Animation */


.news-card,
.tool-card {


    animation:

        floatingCard 6s ease-in-out infinite;


}


@keyframes floatingCard {


    0%,
    100% {

        transform:
            translateY(0);

    }


    50% {

        transform:
            translateY(-8px);

    }


}





