@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary-blue: #89CFF0; /* Baby Blue */
    --primary-light: #B8E2F2;
    --primary-dark: #5C9DC0;
    --accent-pink: #FFB7B2; /* Soft Pink Accent */
    --bg-color: #F8FBFC;
    --text-main: #2C3E50;
    --text-muted: #7F8C8D;
    --white: #FFFFFF;
    --shadow-sm: 0 4px 6px -1px rgba(137, 207, 240, 0.1), 0 2px 4px -1px rgba(137, 207, 240, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(137, 207, 240, 0.1), 0 4px 6px -2px rgba(137, 207, 240, 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    padding: 15px 0;
}

.nav-container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-dark);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    color: var(--accent-pink);
}

/* Search Bar */
.search-bar {
    display: flex;
    align-items: center;
    background: var(--bg-color);
    border-radius: 20px;
    padding: 5px 15px;
    border: 1px solid rgba(137, 207, 240, 0.3);
    width: 35%;
    max-width: 400px;
    transition: var(--transition);
}

.search-bar:focus-within {
    border-color: var(--primary-dark);
    box-shadow: 0 0 5px rgba(92, 157, 192, 0.2);
}

.search-bar input {
    border: none;
    background: transparent;
    outline: none;
    flex-grow: 1;
    font-family: inherit;
    font-size: 14px;
    color: var(--text-main);
}

.search-bar button {
    background: transparent;
    border: none;
    color: var(--primary-dark);
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
}

.search-bar button:hover {
    color: var(--accent-pink);
}

.menu-toggle {
    display: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-blue);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-dark);
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), #a5e2ff);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(137, 207, 240, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(137, 207, 240, 0.6);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(137, 207, 240, 0.4);
}

/* Ad Slot Container */
.ad-slot {
    background: #f0f0f0;
    color: #999;
    text-align: center;
    padding: 10px;
    margin: 20px auto;
    border: 1px dashed #ccc;
    border-radius: 8px;
    font-size: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ad-top-banner {
    width: 90%;
    max-width: 1200px;
    height: 90px;
    margin: 110px auto 20px; /* offset navbar */
}

/* Hero Section */
.hero {
    padding: 0;
}

.hero-container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
    background: linear-gradient(135deg, var(--white) 0%, var(--primary-light) 100%);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.hero p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Grid Layouts */
.section-title {
    text-align: center;
    margin: 60px 0 30px;
    font-size: 32px;
    color: var(--primary-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 16px;
    margin-top: -20px;
    margin-bottom: 40px;
}

/* Category Grid */
.category-list {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-main);
    transition: var(--transition);
}

.category-item:hover {
    transform: translateY(-5px);
}

.category-item:hover .category-name {
    color: var(--primary-dark);
}

.category-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.category-item:hover .category-icon {
    box-shadow: var(--shadow-md);
}

.category-name {
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
}

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

.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding-bottom: 40px;
}

/* Article Card */
.card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.5);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.card-img {
    height: 200px;
    background-color: var(--primary-light);
    width: 100%;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.tag {
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 10px;
}

.card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-main);
}

.card p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 15px;
}

/* Product Card */
.product-card {
    text-align: center;
}

.product-img {
    height: 250px;
    margin-bottom: 15px;
    border-radius: 12px;
}

.price {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-pink);
    margin: 10px 0;
}

/* Buttons */
.btn-affiliate {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    width: 100%;
    margin-bottom: 10px;
}

.btn-shopee {
    background: #EE4D2D;
    color: white;
}
.btn-tokopedia {
    background: #00AA5B;
    color: white;
}

.btn-affiliate:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

/* Footer */
.footer {
    background-color: var(--white);
    padding: 60px 0 20px;
    margin-top: 60px;
    border-top: 1px solid rgba(137, 207, 240, 0.2);
    font-size: 14px;
}

.footer-container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer-col.footer-about p {
    color: var(--text-muted);
    margin-top: 15px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    background-color: #F8FBFC;
    color: var(--accent-pink);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--accent-pink);
    color: var(--white);
}

.footer-col h4 {
    font-size: 16px;
    color: var(--text-main);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pink-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--accent-pink);
    border-radius: 50%;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary-dark);
}

.footer-newsletter p {
    color: var(--text-muted);
    margin-bottom: 15px;
}

.newsletter-form input {
    width: 100%;
    padding: 12px 15px;
    border: none;
    background-color: #F5F5F5;
    border-radius: 8px;
    margin-bottom: 10px;
    font-family: inherit;
    outline: none;
}

.btn-subscribe {
    width: 100%;
    padding: 12px;
    background-color: #E672AA; /* Pink mirip di gambar */
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
}

.btn-subscribe:hover {
    opacity: 0.9;
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-badges {
    display: flex;
    gap: 20px;
    font-weight: 500;
    font-size: 13px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 0;
    }
    
    .nav-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 15px;
    }
    
    .logo {
        order: 1;
    }

    .menu-toggle {
        display: block !important;
        order: 2;
        font-size: 24px;
        color: var(--primary-dark);
        cursor: pointer;
    }

    .search-bar {
        order: 3;
        width: 100%;
        max-width: 100%;
    }

    .nav-links {
        order: 4;
        flex-direction: column;
        width: 100%;
        display: none; /* hidden by default on mobile */
        gap: 10px;
        text-align: center;
        padding-top: 10px;
        border-top: 1px solid #eee;
    }

    .nav-links.active {
        display: flex;
    }

    .hero {
        margin-top: 50px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .footer-col h4 {
        justify-content: center;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }

    .footer-badges {
        justify-content: center;
        flex-wrap: wrap;
    }

    .category-list {
        gap: 20px;
    }

    .category-icon {
        width: 80px;
        height: 80px;
    }
    
    .category-name {
        font-size: 14px;
    }
}

/* Affiliate Buttons */
.btn-affiliate {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 10px;
    margin-right: 5px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-affiliate:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.btn-shopee { background-color: #ee4d2d; }
.btn-tokopedia { background-color: #03ac0e; }
.btn-tiktok { background-color: #000000; }
.btn-lazada { background-color: #0f146d; /* Lazada Dark Blue / Purple */ }

/* FOMO & Urgency Triggers */
.fomo-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(255, 75, 43, 0.4);
    z-index: 10;
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.price-original {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9rem;
    margin-right: 8px;
    font-weight: normal;
}

.countdown-timer {
    background: #fff3f3;
    border: 1px dashed #ff6b6b;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    margin-bottom: 20px;
    color: #d63031;
    font-weight: 600;
}

.countdown-box {
    display: inline-block;
    background: #ff6b6b;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    margin: 0 4px;
    font-size: 1.1rem;
    font-family: monospace;
}

.stock-alert {
    color: #d63031;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.stock-alert i {
    animation: blink-icon 1s infinite;
}
@keyframes blink-icon {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
