
:root{
--primary:#e10600;
--dark:#0f172a;
--soft:#f6f8fb;
--text:#1e293b;
--muted:#64748b;
--border:#e2e8f0;
--white:#ffffff;
--shadow:0 10px 30px rgba(15,23,42,.08);
--radius:18px;
}

*{
margin:0;
padding:0;
box-sizing:border-box;
}

html{
scroll-behavior:smooth;
}

body{
font-family:Inter,system-ui,sans-serif;
background:var(--soft);
color:var(--text);
overflow-x:hidden;
}

/* =========================
BREAKING NEWS
========================= */

.breaking-bar{
position:sticky;
top:0;
z-index:9999;
display:flex;
align-items:center;
height:52px;
background:#020617;
backdrop-filter:blur(10px);
border-bottom:1px solid rgba(255,255,255,.06);
overflow:hidden;
}

.breaking-label{
height:100%;
display:flex;
align-items:center;
padding:0 22px;
background:linear-gradient(135deg,#ff2d2d,#b30000);
font-size:12px;
font-weight:800;
letter-spacing:1px;
color:#fff;
text-transform:uppercase;
}

.breaking-container{
overflow:hidden;
width:100%;
}

.breaking-track{
display:flex;
align-items:center;
gap:40px;
white-space:nowrap;
animation:breakingMove 35s linear infinite;
}

.breaking-track:hover{
animation-play-state:paused;
}

.breaking-item{
display:flex;
align-items:center;
gap:12px;
}

.breaking-item img{
width:34px;
height:34px;
border-radius:50%;
object-fit:cover;
border:2px solid rgba(255,255,255,.1);
}

.breaking-item a{
color:#fff;
font-size:14px;
font-weight:500;
text-decoration:none;
transition:.3s;
}

.breaking-item a:hover{
color:#ff4d4d;
}

@keyframes breakingMove{
0%{
transform:translateX(0);
}
100%{
transform:translateX(-50%);
}
}

/* =========================
NAVBAR
========================= */

.nav-pro{
position:sticky;
top:52px;
z-index:999;
background:rgba(15,23,42,.92);
backdrop-filter:blur(12px);
border-bottom:1px solid rgba(255,255,255,.05);
padding:10px 0;
}

.navbar-brand{
font-size:28px;
font-weight:900;
letter-spacing:-1px;
}

.navbar-brand span{
color:var(--primary);
}

.nav-link{
font-size:14px;
font-weight:600;
color:#fff !important;
margin:0 4px;
padding:10px 14px !important;
border-radius:12px;
transition:.3s;
}

.nav-link:hover{
background:rgba(255,255,255,.08);
color:#fff !important;
}

.navbar-toggler{
border:none;
outline:none !important;
}

/* =========================
SEARCH
========================= */

.form-control{
border-radius:14px;
border:1px solid var(--border);
height:42px;
padding:0 15px;
box-shadow:none !important;
}

.form-control:focus{
border-color:var(--primary);
}

/* =========================
BUTTON
========================= */

.btn-danger{
background:linear-gradient(135deg,#ff2d2d,#c30000);
border:none;
border-radius:14px;
font-weight:700;
padding:10px 18px;
box-shadow:0 10px 25px rgba(225,6,0,.2);
}

.btn-danger:hover{
transform:translateY(-2px);
}

/* =========================
HERO
========================= */

.hero{
position:relative;
height:500px;
overflow:hidden;
border-radius:28px;
box-shadow:var(--shadow);
}

.hero img{
width:100%;
height:100%;
object-fit:cover;
transition:transform .7s ease;
}

.hero:hover img{
transform:scale(1.08);
}

.overlay{
position:absolute;
bottom:0;
left:0;
width:100%;
padding:40px;
background:linear-gradient(
to top,
rgba(0,0,0,.92),
rgba(0,0,0,.35),
transparent
);
}

.overlay .badge{
padding:8px 14px;
border-radius:30px;
font-size:12px;
font-weight:700;
letter-spacing:.5px;
}

.overlay h5{
font-size:34px;
line-height:1.4;
font-weight:800;
margin-top:16px;
color:#fff;
max-width:85%;
}

/* =========================
VIEW BADGE
========================= */

.views-badge{
display:inline-flex;
align-items:center;
gap:8px;
padding:8px 14px;
border-radius:30px;
background:rgba(255,255,255,.12);
backdrop-filter:blur(8px);
font-size:13px;
font-weight:700;
color:#fff;
margin-top:8px;
}

.views-badge i{
color:#ff4d4d;
}

/* =========================
SECTION TITLE
========================= */

h4.font-weight-bold{
font-size:28px;
font-weight:800 !important;
position:relative;
padding-left:18px;
margin-bottom:28px !important;
}

h4.font-weight-bold::before{
content:'';
position:absolute;
left:0;
top:5px;
width:6px;
height:34px;
border-radius:10px;
background:var(--primary);
}

/* =========================
NEWS GRID
========================= */

.news-grid{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:22px;
}

@media(min-width:768px){
.news-grid{
grid-template-columns:repeat(3,1fr);
}
}

.news-item{
background:#fff;
border-radius:24px;
overflow:hidden;
transition:.35s;
box-shadow:0 4px 20px rgba(15,23,42,.05);
border:1px solid rgba(15,23,42,.04);
}

.news-item:hover{
transform:translateY(-6px);
box-shadow:0 20px 40px rgba(15,23,42,.12);
}

.news-item img{
width:100%;
height:210px;
object-fit:cover;
transition:.4s;
}

.news-item:hover img{
transform:scale(1.05);
}

.news-item .p-3{
padding:20px !important;
}

.news-item .badge{
border-radius:30px;
padding:7px 12px;
font-size:11px;
font-weight:700;
letter-spacing:.3px;
}

.news-item h6{
font-size:16px;
font-weight:800;
line-height:1.6;
margin-top:14px;
height:52px;
overflow:hidden;
color:#0f172a;
}

.news-meta{
display:flex;
justify-content:space-between;
align-items:center;
margin-top:18px;
font-size:12px;
color:var(--muted);
}

.news-view{
display:flex;
align-items:center;
gap:6px;
font-weight:700;
}

.news-item .btn{
margin-top:16px;
border-radius:14px;
padding:10px;
font-weight:700;
background:#0f172a;
border:none;
transition:.3s;
}

.news-item .btn:hover{
background:var(--primary);
}

/* =========================
TRENDING
========================= */

.trending{
background:#fff;
padding:24px;
border-radius:24px;
box-shadow:var(--shadow);
position:sticky;
top:120px;
}

.trending h5{
font-size:24px;
font-weight:800;
margin-bottom:25px;
}

.trending-item{
padding:18px 0;
border-bottom:1px solid var(--border);
}

.trending-item:last-child{
border:none;
padding-bottom:0;
}

.trending-item a{
display:block;
font-size:15px;
font-weight:700;
line-height:1.6;
color:#0f172a;
text-decoration:none;
transition:.3s;
}

.trending-item a:hover{
color:var(--primary);
padding-left:4px;
}

.trend-view{
margin-top:10px;
display:flex;
align-items:center;
gap:6px;
font-size:12px;
font-weight:600;
color:var(--muted);
}

/* =========================
ADS
========================= */

.ads728 img,
.ads300-slider img{
border-radius:22px;
box-shadow:0 8px 30px rgba(0,0,0,.08);
}

/* ==========================
   ADS CLOSE BUTTON
========================== */

.ads728-wrapper{
    position:relative;
    overflow:hidden;
    border-radius:14px;
}

.ads-close-btn{
    position:absolute;
    top:10px;
    right:10px;
    z-index:999;

    display:flex;
    align-items:center;
    gap:6px;

    border:none;
    background:rgba(0,0,0,.75);
    color:#fff;

    padding:8px 12px;
    border-radius:30px;

    cursor:pointer;
    transition:.3s;
}

.ads-close-btn:hover{
    background:#e10600;
    transform:translateY(-2px);
}

.ads-close-btn span{
    font-size:20px;
    font-weight:700;
    line-height:1;
}

.ads-close-btn small{
    font-size:12px;
    font-weight:600;
}

.ads728-hide{
    opacity:0;
    transform:translateY(-15px);
    transition:.4s ease;
}

@media(max-width:768px){

    .ads-close-btn{
        width:34px;
        height:34px;
        padding:0;
        justify-content:center;
    }

    .ads-close-btn small{
        display:none;
    }
}

/* =========================
FOOTER
========================= */

.footer{
background:#020617;
color:#94a3b8;
position:relative;
overflow:hidden;
}

.footer::before{
content:'';
position:absolute;
width:400px;
height:400px;
background:rgba(225,6,0,.08);
filter:blur(100px);
top:-100px;
right:-100px;
}

.footer h4,
.footer h5{
color:#fff;
font-weight:800;
margin-bottom:20px;
}

.footer p{
line-height:1.8;
}

.footer a{
color:#94a3b8;
text-decoration:none;
transition:.3s;
}

.footer a:hover{
color:#fff;
padding-left:4px;
}

/* =========================
CONTACT
========================= */

.contact-box{
display:flex;
flex-direction:column;
gap:16px;
}

.contact-item{
display:flex;
align-items:center;
gap:16px;
padding:16px;
border-radius:20px;
background:rgba(255,255,255,.04);
border:1px solid rgba(255,255,255,.06);
transition:.35s;
position:relative;
overflow:hidden;
}

.contact-item:hover{
transform:translateY(-4px);
background:rgba(255,255,255,.08);
}

.icon-wrap{
width:52px;
height:52px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
font-size:18px;
color:#fff;
}

.email-anim .icon-wrap{
background:linear-gradient(135deg,#ff3b3b,#ff6b6b);
}

.phone-anim .icon-wrap{
background:linear-gradient(135deg,#00c853,#69f0ae);
}

.contact-item small{
display:block;
font-size:12px;
color:#94a3b8;
margin-bottom:4px;
}

.contact-item h6{
margin:0;
font-size:15px;
font-weight:700;
color:#fff;
}

/* =========================
SOCIAL
========================= */

.social-animate{
display:flex;
gap:12px;
flex-wrap:wrap;
margin-top:15px;
}

.social-btn{
width:46px;
height:46px;
display:flex;
align-items:center;
justify-content:center;
border-radius:50%;
font-size:18px;
color:#fff;
transition:.35s;
box-shadow:0 8px 20px rgba(0,0,0,.15);
}

.social-btn:hover{
transform:translateY(-5px) scale(1.08);
}

.social-btn.fb{
background:#1877f2;
}

.social-btn.ig{
background:linear-gradient(
45deg,
#f09433,
#dc2743,
#bc1888
);
}

.social-btn.tw{
background:#1da1f2;
}

.social-btn.yt{
background:#ff0000;
}

.social-btn.tt{
background:#000;
}

/* =========================
MOBILE
========================= */

@media(max-width:768px){

.hero{
height:360px;
border-radius:20px;
}

.overlay{
padding:24px;
}

.overlay h5{
font-size:22px;
max-width:100%;
}

.news-grid{
grid-template-columns:1fr;
}

.news-item img{
height:220px;
}

.trending{
margin-top:30px;
position:relative;
top:0;
}

.breaking-label{
padding:0 14px;
font-size:11px;
}

.navbar-brand{
font-size:24px;
}

}

.footer .row{
align-items:flex-start;
}

.footer .mb-2 a{
display:inline-block;
line-height:1.7;
}

.footer p{
max-width:340px;
}

@media(max-width:768px){

.footer{
text-align:left;
}

.footer .col-md-2,
.footer .col-md-4{
margin-bottom:35px;
}

}

.ads728 video{
    width:100%;
    height:auto;
    border-radius:22px;
    box-shadow:0 8px 30px rgba(0,0,0,.08);
    background:#000;
}

.brand-area{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    line-height:1.2;
}

.brand-info{
    margin-top:-4px;
    font-size:11px;
    color:rgba(255,255,255,.75);
    font-weight:500;
    letter-spacing:.3px;
}

.brand-info i{
    color:#ff3b3b;
    margin-right:4px;
}

@media(max-width:768px){

    .brand-info{
        font-size:10px;
    }

}

.news-tabs{
    display:flex;
    gap:10px;
    margin-bottom:20px;
}

.tab-btn{
    border:none;
    padding:10px 16px;
    border-radius:30px;
    background:#eee;
    cursor:pointer;
    font-weight:600;
}

.tab-btn.active{
    background:#dc3545;
    color:#fff;
}


/* ======================================
   SENTERSUMBAR WEATHER TICKER PRO
   Google Weather Style
====================================== */

.ss-weather-ticker{
    position:relative;
    display:flex;
    align-items:center;
    overflow:hidden;
    width:100%;
    border-radius:14px;
    background:linear-gradient(
        135deg,
        #64b5f6 0%,
        #42a5f5 30%,
        #1e88e5 70%,
        #1565c0 100%
    );
    color:#fff;
    box-shadow:
        0 10px 30px rgba(0,0,0,.15);
}

/* ======================================
   ANIMASI LANGIT
====================================== */

.ss-weather-ticker::before{
    position:absolute;
    top:5px;
    left:-250px;
    font-size:28px;
    opacity:.15;
    white-space:nowrap;
    pointer-events:none;
    animation:skyCloud 40s linear infinite;
}

@keyframes skyCloud{
    from{
        transform:translateX(0);
    }
    to{
        transform:translateX(calc(100vw + 400px));
    }
}

/* ======================================
   BREAKING LABEL
====================================== */

.ss-weather-label{
    display:flex;
    align-items:center;
    gap:8px;
    padding:12px 18px;
    background:#d90429;
    font-weight:700;
    font-size:13px;
    letter-spacing:.4px;
    white-space:nowrap;
    z-index:5;
    flex-shrink:0;
}

.live-dot{
    width:10px;
    height:10px;
    border-radius:50%;
    background:#fff;
    animation:liveBlink 1.5s infinite;
}

@keyframes liveBlink{
    0%,100%{
        opacity:1;
    }
    50%{
        opacity:.3;
    }
}

/* ======================================
   TRACK
====================================== */

.ss-weather-track{
    flex:1;
    overflow:hidden;
    position:relative;
}

/* fade kiri */

.ss-weather-track::before{
    content:'';
    position:absolute;
    left:0;
    top:0;
    width:40px;
    height:100%;
    z-index:2;
    background:linear-gradient(
        to right,
        rgba(66,165,245,1),
        rgba(66,165,245,0)
    );
}

/* fade kanan */

.ss-weather-track::after{
    content:'';
    position:absolute;
    right:0;
    top:0;
    width:40px;
    height:100%;
    z-index:2;
    background:linear-gradient(
        to left,
        rgba(66,165,245,1),
        rgba(66,165,245,0)
    );
}

/* ======================================
   TICKER
====================================== */

.ss-weather-content{
    display:flex;
    align-items:center;
    gap:25px;
    width:max-content;
    padding:10px 25px;
    animation:weatherTicker 55s linear infinite;
    will-change:transform;
}

.ss-weather-ticker:hover .ss-weather-content{
    animation-play-state:paused;
}

@keyframes weatherTicker{
    from{
        transform:translate3d(0,0,0);
    }
    to{
        transform:translate3d(-50%,0,0);
    }
}

/* ======================================
   ITEM
====================================== */

.weather-city{
    display:flex;
    align-items:center;
    gap:10px;
    white-space:nowrap;
    transition:.3s ease;
}

.weather-city:hover{
    transform:translateY(-2px);
}

/* ======================================
   ICON BULAT GOOGLE STYLE
====================================== */

.weather-icon{
    width:46px;
    height:46px;
    border-radius:50%;
    background:rgba(255,255,255,.18);
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:20px;
    position:relative;
    flex-shrink:0;
    overflow:hidden;
}

/* floating */

.weather-icon{
    animation:floatWeather 4s ease-in-out infinite;
}

@keyframes floatWeather{
    0%,100%{
        transform:translateY(0);
    }
    50%{
        transform:translateY(-2px);
    }
}

/* CERAH */

.weather-icon.sunny{
    animation:
        floatWeather 4s ease-in-out infinite,
        sunPulse 5s ease-in-out infinite;
}

@keyframes sunPulse{
    0%,100%{
        transform:scale(1);
    }
    50%{
        transform:scale(1.08);
    }
}

/* BERAWAN */

.weather-icon.cloudy::before{
    content:'';
    position:absolute;
    inset:0;
    border-radius:50%;
    animation:cloudMove 5s ease-in-out infinite;
}

@keyframes cloudMove{
    0%{
        transform:translateX(-1px);
    }
    50%{
        transform:translateX(3px);
    }
    100%{
        transform:translateX(-1px);
    }
}

/* HUJAN */

.weather-icon.rainy::after{
    content:'';
    position:absolute;
    width:2px;
    height:7px;
    background:#fff;
    box-shadow:
        -6px 3px #fff,
        6px 2px #fff;
    animation:rainFall 1s linear infinite;
}

@keyframes rainFall{
    from{
        transform:translateY(-2px);
        opacity:1;
    }
    to{
        transform:translateY(8px);
        opacity:0;
    }
}

/* PETIR */

.weather-icon.stormy{
    animation:
        floatWeather 4s ease-in-out infinite,
        lightning 3s infinite;
}

@keyframes lightning{
    0%,96%,100%{
        filter:brightness(1);
    }
    98%{
        filter:brightness(1.8);
    }
}

/* ======================================
   INFO
====================================== */

.weather-info{
    display:flex;
    flex-direction:column;
    line-height:1.2;
}

.city-name{
    font-size:13px;
    font-weight:700;
}

.weather-temp{
    font-size:14px;
    font-weight:700;
}

.weather-desc{
    font-size:11px;
    opacity:.9;
}

/* ======================================
   WARNA SUHU
====================================== */

.temp-hot{
    color:#ffeb3b;
}

.temp-normal{
    color:#ffffff;
}

.temp-cold{
    color:#81d4fa;
}

/* ======================================
   LOGO BMKG
====================================== */

.ss-weather-source{
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0 12px;
    flex-shrink:0;
}

.ss-weather-source img{
    height:28px;
    width:auto;
    opacity:.95;
    transition:.3s;
}

.ss-weather-source img:hover{
    transform:scale(1.05);
}

/* ======================================
   MOBILE
====================================== */

@media(max-width:768px){

    .ss-weather-label{
        padding:10px 12px;
        font-size:11px;
    }

    .weather-icon{
        width:38px;
        height:38px;
        font-size:17px;
    }

    .city-name{
        font-size:12px;
    }

    .weather-temp{
        font-size:13px;
    }

    .weather-desc{
        display:none;
    }

    .ss-weather-content{
        gap:18px;
        animation-duration:40s;
    }

    .ss-weather-source{
        display:none;
    }
}

.dewan-pers{
    text-align:center;
    padding:15px 0;
}

.dewan-pers img{
    width:180px;
    height:auto;
}

.footer-about p{
    color:#ccc;
    line-height:1.7;
    margin-bottom:20px;
}

.footer-badges{
    display:flex;
    align-items:center;
    gap:15px;
    flex-wrap:wrap;
}

.footer-badges img{
    height:45px;
    width:auto;
}

.footer-logo{
    max-height:45px;
}

.dmca-badge img{
    height:45px;
    width:auto;
}

@media(max-width:768px){

    .footer-badges{
        justify-content:center;
    }

    .footer-about{
        text-align:center;
    }

}

.partners-section{
    background:#fff;
    padding:30px 15px;
    text-align:center;
}

.partners-title{
    font-size:12px;
    font-weight:700;
    letter-spacing:3px;
    color:#888;
    margin-bottom:25px;
}

.partners-logos{
    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    gap:40px;
}

.partners-logos img{
    max-height:40px;
    width:auto;
    filter:grayscale(100%);
    opacity:.8;
    transition:.3s;
}

.partners-logos img:hover{
    filter:none;
    opacity:1;
}


/* Widget Sidebar */
/* ==========================
   MARKET WIDGET
========================== */

.widget-market{
    background:#fff;
    border:1px solid #e6e6e6;
    border-radius:10px;
    overflow:hidden;
    margin-bottom:25px;
    box-shadow:0 2px 10px rgba(0,0,0,.04);
}

/* Header */

.widget-market .widget-header{
    padding:18px 20px;
    border-bottom:1px solid #f1f1f1;
    background:#fff;
}

.widget-market .widget-header h3{
    margin:0;
    font-size:20px;
    font-weight:700;
    color:#111;
    line-height:1.2;
}

.widget-market .widget-header span{
    display:block;
    margin-top:4px;
    font-size:12px;
    color:#777;
    text-transform:uppercase;
    letter-spacing:.5px;
}

/* Body */

.widget-market .widget-body{
    padding:15px;
}

.market-info{
    margin-bottom:12px;
}

.market-label{
    font-size:13px;
    color:#555;
    font-weight:600;
}

.market-status{
    margin-top:4px;
    font-size:12px;
    color:#888;
}

/* TradingView */

.tradingview-widget-container{
    width:100%;
    overflow:hidden;
    border-radius:8px;
}

#tradingview_ihsg{
    width:100% !important;
}

/* Hover */

.widget-market:hover{
    box-shadow:0 4px 18px rgba(0,0,0,.08);
    transition:.3s ease;
}

/* Mobile */

@media(max-width:768px){

    .widget-market .widget-header{
        padding:15px;
    }

    .widget-market .widget-header h3{
        font-size:18px;
    }

    .widget-market .widget-body{
        padding:10px;
    }

}
.market-footer{
    padding:12px 15px;
    border-top:1px solid #f3f3f3;
    text-align:center;
}

.market-footer a{
    color:#c00000;
    font-size:13px;
    font-weight:600;
    text-decoration:none;
}

.market-footer a:hover{
    text-decoration:underline;
}