:root {
    --primary: #6366f1;
    --accent: #f43f5e;
    --bg: #0f172a;
    --card-bg: #1e293b;
    --text-main: #f8fafc;
    --text-dim: #94a3b8;
    --glass: rgba(30, 41, 59, 0.7);
}

body {
    margin: 0;
    font-family:
        "Inter",
        system-ui,
        -apple-system,
        sans-serif;
    background-color: var(--bg);
    color: var(--text-main);
}

header {
    background: var(--glass);
    backdrop-filter: blur(12px);
    padding: 30px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header h1 {
    margin: 0;
    font-size: 2.2rem;
    background: linear-gradient(90deg, #818cf8, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* Social Icons with Brand Colors */
.social-links {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 25px;
}

.social-links a {
    font-size: 1.6rem;
    transition: 0.3s;
    color: var(--text-dim);
}

.fa-facebook:hover {
    color: #1877f2;
    transform: scale(1.2);
}

.fa-instagram:hover {
    color: #e4405f;
    transform: scale(1.2);
}

.fa-youtube:hover {
    color: #ff0000;
    transform: scale(1.2);
}

.fa-whatsapp:hover {
    color: #38d012;
    transform: scale(1.2);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- About & Features Sections --- */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.info-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.info-card h2 {
    color: var(--primary);
    margin-top: 0;
    font-size: 1.4rem;
}

.feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    list-style: none;
    padding: 0;
}

.feature-list li {
    font-size: 0.9rem;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-list i {
    color: #4ade80;
    font-size: 0.8rem;
}

/* --- Main Layout --- */
.main-content {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    margin: 40px 0;
}

/* --- News Card Style --- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.news-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.news-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.news-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.news-body {
    padding: 15px;
}

.news-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.4;
}

.news-desc {
    font-size: 0.9rem;
    color: var(--text-dim);
    margin-bottom: 15px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.share-btn {
    background: transparent;
    border: none;
    color: var(--primary);
    cursor: pointer;
}

/* --- Sidebar Affiliate --- */
.sidebar {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 20px;
    height: fit-content;
    position: sticky;
    top: 130px;
}

.product-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 12px;
}

@media (max-width: 850px) {
    .intro-grid,
    .main-content {
        grid-template-columns: 1fr;
    }
}

footer {
    text-align: center;
    padding: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* Navbar Customization */
.navbar {
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
}

.navbar-brand.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.navbar-brand.logo span {
    background: linear-gradient(90deg, #6366f1, #f43f5e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0 10px;
    color: #94a3b8 !important;
    transition: 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: #fff !important;
}

/* Social Icons in Header */
.social-group {
    gap: 15px;
}

.s-link {
    font-size: 1.2rem;
    color: #94a3b8;
    text-decoration: none;
    transition: 0.3s;
}

.s-link:hover {
    transform: translateY(-3px);
}

.fb:hover {
    color: #1877f2;
}

.ig:hover {
    color: #e4405f;
}

.yt:hover {
    color: #ff0000;
}

.wa:hover {
    color: #25d366;
}

/* Mobile Adjustment */
@media (max-width: 991px) {
    .social-group {
        margin-top: 20px;
        justify-content: center;
    }

    .navbar-nav {
        text-align: center;
        margin-top: 15px;
    }
}

/* Connect Section Styling */
.connect-card {
    display: block;
    padding: 30px 20px;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    height: 100%;
}

.connect-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    background: #243049;
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    margin: 0 auto 15px;
    transition: 0.3s;
}
/* Connect Section Styling */
.connect-card {
    display: block;
    padding: 30px 20px;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    height: 100%;
}

.connect-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    background: #243049;
}

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    margin: 0 auto 15px;
    transition: 0.3s;
}

.connect-card h5 {
    color: #fff;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.connect-card span {
    font-size: 0.8rem;
    color: #94a3b8;
}

/* Brand Colors */
.fb-bg { background: #1877f2; box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3); }
.ig-bg { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); box-shadow: 0 4px 15px rgba(204, 35, 102, 0.3); }
.yt-bg { background: #ff0000; box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3); }
.wa-bg { background: #25d366; box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3); }

.connect-card:hover .icon-box {
    transform: scale(1.1);
}
