﻿/* =====================================================
Vietnam Payment Gateway
NEWS PAGE CSS

FinTech Dark Blue Black Style

Compatible:
news.html
news-page2.html
news-page3.html
news-page4.html

Features:
- SEO News Layout
- 5 Articles/Page
- Pagination Link Style
- Category Filter
- Responsive
===================================================== */


/* =====================================================
RESET
===================================================== */


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



html {
    scroll-behavior: smooth;
}



body {
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    background: #020817;
    color: #dcecff;
    line-height: 1.8;
    overflow-x: hidden;
}




    body::before {
        content: "";
        position: fixed;
        inset: 0;
        background: linear-gradient( 90deg, rgba(0,216,255,.03) 1px, transparent 1px ), linear-gradient( 180deg, rgba(0,216,255,.03) 1px, transparent 1px ), radial-gradient( circle at top right, rgba(0,200,255,.22), transparent 40% ), radial-gradient( circle at bottom left, rgba(0,120,255,.18), transparent 45% );
        background-size: 80px 80px, 80px 80px, auto, auto;
        z-index: -2;
    }




/* =====================================================
GLOBAL
===================================================== */


a {
    text-decoration: none;
    color: inherit;
}



img {
    max-width: 100%;
    display: block;
}



section {
    padding: 100px 8%;
    position: relative;
}





    section h2 {
        text-align: center;
        color: white;
        font-size: 38px;
        font-weight: 800;
        margin-bottom: 45px;
        letter-spacing: 1px;
    }





        section h2::after {
            content: "";
            display: block;
            width: 90px;
            height: 3px;
            margin: 18px auto 0;
            background: linear-gradient( 90deg, #00d8ff, #0078ff );
            box-shadow: 0 0 20px #00d8ff;
        }





    section p {
        max-width: 1100px;
        margin: 20px auto;
        font-size: 17px;
        color: #b9cee8;
    }







/* =====================================================
HEADER
===================================================== */


.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    padding: 0 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(2,8,23,.72);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,216,255,.2);
    z-index: 999;
}





.logo {
    font-size: 28px;
    font-weight: 900;
    color: #fff;
}





    .logo span {
        color: #00d8ff;
        text-shadow: 0 0 15px #00d8ff;
    }





nav {
    display: flex;
    gap: 38px;
}





    nav a {
        position: relative;
        color: #dcecff;
        font-size: 16px;
        transition: .3s;
    }





        nav a::after {
            content: "";
            position: absolute;
            bottom: -10px;
            left: 0;
            width: 0;
            height: 2px;
            background: #00d8ff;
            transition: .3s;
        }





        nav a:hover,
        nav a.active {
            color: #00d8ff;
        }





            nav a:hover::after,
            nav a.active::after {
                width: 100%;
            }





.mobile-btn {
    display: none;
    font-size: 30px;
    color: white;
}







/* =====================================================
HERO
===================================================== */


.news-banner {
    height: 760px;
    margin-top: 80px;
    display: flex;
    align-items: center;
    padding: 0 10%;
    overflow: hidden;
    background: linear-gradient( 120deg, #020b20, #043d75 );
    position: relative;
}





    .news-banner::before {
        content: "";
        position: absolute;
        width: 750px;
        height: 750px;
        right: -200px;
        top: 50px;
        background: radial-gradient( circle, rgba(0,220,255,.5), transparent 70% );
        filter: blur(45px);
        animation: glow 8s infinite alternate;
    }



@keyframes glow {


    from {
        transform: scale(1);
    }


    to {
        transform: scale(1.2);
    }
}





.news-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, transparent, rgba(0,216,255,.1), transparent );
    animation: scan 6s linear infinite;
}





@keyframes scan {


    from {
        transform: translateX(-100%);
    }


    to {
        transform: translateX(100%);
    }
}





.news-banner-content {
    position: relative;
    z-index: 5;
    max-width: 900px;
}





.news-banner h1 {
    font-size: 58px;
    line-height: 1.35;
    color: white;
    font-weight: 900;
}





.news-banner p {
    font-size: 20px;
    margin: 35px 0 45px;
    color: #d8eaff;
}





.news-banner a {
    display: inline-flex;
    padding: 15px 45px;
    border-radius: 50px;
    background: linear-gradient( 90deg, #00d8ff, #0078ff );
    color: white;
    font-weight: 700;
    box-shadow: 0 0 35px rgba(0,216,255,.6);
    transition: .35s;
}



    .news-banner a:hover {
        transform: translateY(-6px);
    }

/* =====================================================
NEWS INTRO
===================================================== */


.news-intro {
    background: linear-gradient( 180deg, #020817, #03172f );
    text-align: center;
}



    .news-intro h2 {
        margin-bottom: 40px;
    }



    .news-intro p {
        max-width: 1100px;
        margin: 25px auto;
        font-size: 18px;
        line-height: 2;
        color: #bdd3ef;
    }






/* =====================================================
CATEGORY FILTER
===================================================== */


.news-category {
    background: #030f25;
}



.category-box {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
}



.category-btn {
    position: relative;
    padding: 13px 38px;
    border-radius: 50px;
    border: 1px solid rgba(0,216,255,.35);
    background: rgba(255,255,255,.05);
    color: #dcecff;
    font-size: 16px;
    cursor: pointer;
    overflow: hidden;
    transition: .35s;
}




    .category-btn::before {
        content: "";
        position: absolute;
        width: 0;
        height: 100%;
        left: 0;
        top: 0;
        background: linear-gradient( 90deg, #00d8ff, #0078ff );
        transition: .35s;
        z-index: -1;
    }





    .category-btn:hover::before,
    .category-btn.active::before {
        width: 100%;
    }



    .category-btn:hover,
    .category-btn.active {
        color: #fff;
        border-color: transparent;
        box-shadow: 0 0 30px rgba(0,216,255,.5);
        transform: translateY(-4px);
    }










/* =====================================================
NEWS LIST
===================================================== */


.news-list {
    background: linear-gradient( 180deg, #020817, #03172f );
}



.news-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 35px;
    max-width: 1400px;
    margin: auto;
}









/* =====================================================
NEWS CARD
===================================================== */


.news-card {
    position: relative;
    padding: 35px;
    min-height: 380px;
    border-radius: 24px;
    background: linear-gradient( 145deg, rgba(255,255,255,.08), rgba(255,255,255,.03) );
    border: 1px solid rgba(0,216,255,.2);
    backdrop-filter: blur(18px);
    overflow: hidden;
    transition: .4s;
}





    .news-card::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient( 90deg, transparent, #00d8ff, #0078ff, transparent );
    }



    .news-card::after {
        content: "";
        position: absolute;
        right: -80px;
        bottom: -80px;
        width: 180px;
        height: 180px;
        background: radial-gradient( circle, rgba(0,216,255,.35), transparent 70% );
        transition: .5s;
    }






    .news-card:hover {
        transform: translateY(-15px);
        border-color: #00d8ff;
        box-shadow: 0 30px 80px rgba(0,180,255,.35);
    }



        .news-card:hover::after {
            transform: scale(1.5);
        }








.news-number {
    font-size: 52px;
    font-weight: 900;
    line-height: 1;
    color: rgba(0,216,255,.25);
    margin-bottom: 20px;
}







.news-card h3 {
    position: relative;
    z-index: 2;
    height: 70px;
    overflow: hidden;
    font-size: 22px;
    line-height: 1.5;
    margin-bottom: 20px;
}



    .news-card h3 a {
        color: #ffffff;
        transition: .3s;
    }




        .news-card h3 a:hover {
            color: #00d8ff;
        }







.news-card p {
    position: relative;
    z-index: 2;
    color: #b9cee8;
    font-size: 15px;
    line-height: 1.8;
    height: 82px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}









/* =====================================================
NEWS META
===================================================== */


.news-meta {
    position: absolute;
    left: 35px;
    bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: calc(100% - 70px);
    padding-top: 15px;
    border-top: 1px solid rgba(0,216,255,.15);
    color: #00d8ff;
    font-size: 14px;
}



    .news-meta span {
        color: #8ba7ca;
    }











/* =====================================================
PAGINATION ENHANCED
===================================================== */


.pagination-section {
    background: #030f25;
    padding: 70px 8%;
}





.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
}





    .pagination a {
        position: relative;
        width: 48px;
        height: 48px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 50%;
        color: #dcecff;
        font-weight: 600;
        font-size: 16px;
        background: rgba(255,255,255,.05);
        border: 1px solid rgba(0,216,255,.3);
        transition: .35s;
        overflow: hidden;
    }





        .pagination a::before {
            content: "";
            position: absolute;
            width: 0;
            height: 0;
            left: 50%;
            top: 50%;
            transform: translate(-50%,-50%);
            border-radius: 50%;
            background: linear-gradient( 135deg, #00d8ff, #0078ff );
            transition: .35s;
            z-index: -1;
        }






        .pagination a:hover::before,
        .pagination a.active::before {
            width: 120px;
            height: 120px;
        }





        .pagination a:hover,
        .pagination a.active {
            color: white;
            border-color: transparent;
            box-shadow: 0 0 35px rgba(0,216,255,.65);
            transform: translateY(-5px);
        }






    .pagination .next {
        width: auto;
        padding: 0 28px;
        border-radius: 30px;
    }







        .pagination .next::before {
            border-radius: 30px;
        }









/* =====================================================
SEO CONTENT
===================================================== */


.seo-content {
    background: linear-gradient( 180deg, #020817, #03172f );
}



    .seo-content h2 {
        color: white;
    }



    .seo-content p {
        max-width: 1100px;
        margin: 25px auto;
        font-size: 17px;
        line-height: 2;
        color: #bdd3ee;
    }









/* =====================================================
FAQ
===================================================== */


.faq {
    background: #020817;
}



    .faq h2 {
        margin-bottom: 50px;
    }





.faq-item {
    max-width: 1100px;
    margin: 25px auto;
    padding: 32px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(0,216,255,.2);
    border-radius: 22px;
    transition: .35s;
}



    .faq-item:hover {
        border-color: #00d8ff;
        transform: translateY(-5px);
        box-shadow: 0 20px 50px rgba(0,150,255,.25);
    }




    .faq-item h3 {
        font-size: 21px;
        color: #ffffff;
        margin-bottom: 15px;
    }




    .faq-item p {
        font-size: 16px;
        color: #b9cee8;
    }

/* =====================================================
CTA SECTION
===================================================== */


.news-cta {
    position: relative;
    text-align: center;
    padding: 110px 8%;
    background: linear-gradient( 135deg, #00528c, #020817 );
    overflow: hidden;
}




    .news-cta::before {
        content: "";
        position: absolute;
        width: 600px;
        height: 600px;
        right: -200px;
        top: -200px;
        background: radial-gradient( circle, rgba(0,216,255,.35), transparent 70% );
        filter: blur(30px);
    }





    .news-cta h2 {
        position: relative;
        z-index: 2;
        font-size: 42px;
        line-height: 1.5;
        color: white;
        margin-bottom: 25px;
    }




    .news-cta p {
        position: relative;
        z-index: 2;
        max-width: 900px;
        margin: 0 auto 45px;
        font-size: 18px;
        color: #d8ecff;
    }





    .news-cta a {
        position: relative;
        z-index: 2;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 16px 50px;
        border-radius: 50px;
        background: linear-gradient( 90deg, #00d8ff, #0078ff );
        color: white;
        font-weight: 700;
        font-size: 17px;
        box-shadow: 0 0 40px rgba(0,216,255,.6);
        transition: .35s;
    }




        .news-cta a:hover {
            transform: translateY(-8px);
            box-shadow: 0 0 70px rgba(0,216,255,.9);
        }









/* =========================
FOOTER
========================= */


footer {
    background: #010511;
    text-align: center;
    padding: 60px 20px;
    border-top: 1px solid rgba(0,200,255,.15);
}



    footer h3 {
        color: white;
        font-size: 28px;
    }



    footer p {
        color: #8fa9c7;
    }



.footer-link {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
}



    .footer-link a:hover {
        color: #00d8ff;
    }









/* =====================================================
TELEGRAM FLOAT BUTTON
===================================================== */


.telegram {
    position: fixed;
    right: 35px;
    bottom: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 35px;
    border-radius: 50px;
    background: linear-gradient( 135deg, #00d8ff, #0078ff );
    color: white;
    font-weight: 700;
    z-index: 999;
    box-shadow: 0 0 40px rgba(0,216,255,.7);
    animation: telegramFloat 3s infinite;
    transition: .35s;
}




    .telegram:hover {
        transform: translateY(-10px);
        box-shadow: 0 0 70px rgba(0,216,255,1);
    }



@keyframes telegramFloat {


    0%, 100% {
        transform: translateY(0);
    }



    50% {
        transform: translateY(-8px);
    }
}









/* =====================================================
SCROLL REVEAL
===================================================== */


.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: .8s ease;
}





    .reveal.show {
        opacity: 1;
        transform: none;
    }









/* =====================================================
TECH PARTICLE EFFECT
===================================================== */


.tech-particle {
    position: fixed;
    top: -100px;
    width: 2px;
    height: 100px;
    background: #00d8ff;
    opacity: .35;
    animation: particleMove linear infinite;
    z-index: -1;
}




@keyframes particleMove {


    from {
        transform: translateY(-100px);
    }



    to {
        transform: translateY(120vh);
    }
}









/* =====================================================
TABLET RESPONSIVE
===================================================== */


@media(max-width:1200px) {



    .news-grid {
        grid-template-columns: repeat(2,1fr);
    }





    .news-banner h1 {
        font-size: 48px;
    }





    .news-banner p {
        font-size: 18px;
    }
}









/* =====================================================
MOBILE NAV
===================================================== */


@media(max-width:900px) {



    .header {
        height: 70px;
        padding: 0 25px;
    }





    .logo {
        font-size: 22px;
    }




    nav {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        display: none;
        flex-direction: column;
        gap: 25px;
        padding: 35px 0;
        background: #031326;
        text-align: center;
    }





        nav.active {
            display: flex;
        }




    .mobile-btn {
        display: block;
    }
}









/* =====================================================
MOBILE
===================================================== */


@media(max-width:768px) {



    section {
        padding: 70px 20px;
    }




        section h2 {
            font-size: 28px;
        }




    .news-banner {
        height: 650px;
        margin-top: 70px;
        padding: 0 25px;
    }




        .news-banner h1 {
            font-size: 34px;
        }



        .news-banner p {
            font-size: 15px;
            line-height: 1.8;
        }




        .news-banner a {
            padding: 13px 35px;
        }






    .news-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }




    .news-card {
        min-height: 360px;
        padding: 28px;
    }




    .news-number {
        font-size: 42px;
    }




    .news-card h3 {
        height: auto;
        font-size: 20px;
    }




    .news-meta {
        left: 28px;
        width: calc(100% - 56px);
    }





    .category-box {
        gap: 12px;
    }





    .category-btn {
        padding: 10px 20px;
        font-size: 14px;
    }





    .pagination {
        gap: 12px;
        flex-wrap: wrap;
    }




        .pagination a {
            width: 42px;
            height: 42px;
        }




        .pagination .next {
            padding: 0 22px;
        }





    .news-cta h2 {
        font-size: 30px;
    }





    .news-cta p {
        font-size: 15px;
    }





    .footer-link {
        flex-direction: column;
        gap: 18px;
    }





    .telegram {
        right: 15px;
        bottom: 20px;
        padding: 12px 22px;
        font-size: 14px;
    }
}









/* =====================================================
SMALL PHONE
===================================================== */


@media(max-width:480px) {



    .logo {
        font-size: 19px;
    }




    .news-banner h1 {
        font-size: 30px;
    }





    .news-banner {
        height: 600px;
    }





    .news-card {
        padding: 22px;
    }





        .news-card p {
            font-size: 14px;
        }





    .category-btn {
        width: 100%;
    }





    .pagination a {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }





    .pagination .next {
        width: 100%;
        margin-top: 10px;
    }





    .news-cta h2 {
        font-size: 26px;
    }
}