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

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background: #f5f3ff;
    color: #1f2937;
    line-height: 1.5;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

.main-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

@media (min-width: 992px) {
    .main-grid {
        grid-template-columns: 1fr 300px;
    }
    .main-grid.sidebar-left {
        grid-template-columns: 300px 1fr;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: #1f2937;
}

h1 { font-size: 2.5rem; margin-bottom: 1rem; }
h2 { font-size: 1.8rem; margin: 2rem 0 1rem; }
h3 { font-size: 1.3rem; margin: 1.5rem 0 0.75rem; color: #1f2937; }
p { color: #6b7280; margin-bottom: 1.25rem; line-height: 1.7; }

/* ========== NO UNDERLINE ON LINKS ========== */
a {
    color: #7b2bef;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #5b21b6;
    text-decoration: none !important;
}

.btn-primary, .btn-primary:hover { text-decoration: none; }
.nav-links a, .nav-links a:hover { text-decoration: none; }
.sidebar-list a, .sidebar-list a:hover { text-decoration: none; }
.category-list a, .category-list a:hover { text-decoration: none; }
.footer-links a, .footer-links a:hover { text-decoration: none; }
.card a, .card a:hover { text-decoration: none; }

.gradient-text {
    background: linear-gradient(135deg, #a78bfa 0%, #7b2bef 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-4 { gap: 1rem; }
.justify-between { justify-content: space-between; }
.items-center { align-items: center; }
.text-center { text-align: center; }
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }

@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.card {
    background: #ffffff;
    border-radius: 1rem;
    border: 1px solid #e9d5ff;
    padding: 1.5rem;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -12px rgba(0, 0, 0, 0.1);
    border-color: #7b2bef;
}

.card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #7b2bef;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary:hover {
    background: #5b21b6;
    transform: scale(1.02);
    color: #fff;
}

.badge {
    background: #ede9fe;
    color: #6d28d9;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
}

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #e9d5ff;
    position: sticky;
    top: 0;
    z-index: 50;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    background: #7b2bef;
    color: white;
    padding: 0.25rem 0.6rem;
    border-radius: 0.75rem;
}

.logo-image {
    max-height: 45px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6b7280;
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
}

.hero {
    text-align: center;
    padding: 3rem 0 2rem;
}

.hero h1 {
    max-width: 800px;
    margin: 0 auto 1rem;
}

.hero p {
    max-width: 600px;
    margin: 0 auto;
    color: #6b7280;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
    margin: 1.5rem 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.article-content ul, .article-content ol {
    margin: 1rem 0 1rem 1.5rem;
    color: #6b7280;
}

.article-content li { margin: 0.5rem 0; }
.article-content blockquote {
    border-left: 4px solid #7b2bef;
    background: #ede9fe;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0.75rem;
    font-style: italic;
}

.sidebar-widget {
    background: #ffffff;
    border-radius: 1rem;
    border: 1px solid #e9d5ff;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #7b2bef;
    display: inline-block;
}

.search-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #e9d5ff;
    border-radius: 0.75rem;
    outline: none;
    font-size: 0.875rem;
}

.search-input:focus { border-color: #7b2bef; }

.search-btn {
    width: 100%;
    background: #7b2bef;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 0.75rem;
    cursor: pointer;
    font-weight: 600;
}

.search-btn:hover { background: #5b21b6; }

.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-list li {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e9d5ff;
}

.sidebar-list li:last-child { border-bottom: none; }

.sidebar-list a {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    color: #1f2937;
}

.sidebar-list a:hover { color: #7b2bef; }

.list-thumb {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 0.5rem;
}

.list-placeholder {
    width: 50px;
    height: 50px;
    background: #ede9fe;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7b2bef;
    font-size: 1.2rem;
    font-weight: bold;
}

.popular-number {
    width: 28px;
    height: 28px;
    background: #e9d5ff;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.875rem;
    color: #7b2bef;
}

.category-list {
    list-style: none;
    padding: 0;
}

.category-list li { margin-bottom: 0.5rem; }

.category-list a {
    display: flex;
    justify-content: space-between;
    color: #6b7280;
    padding: 0.5rem 0;
    border-bottom: 1px dashed #e9d5ff;
}

.category-list a:hover { color: #7b2bef; }
.category-list a span { color: #6b7280; font-size: 0.75rem; }

.newsletter-widget {
    background: linear-gradient(135deg, #7b2bef, #5b21b6);
    color: white;
}

.newsletter-widget .widget-title {
    color: white;
    border-bottom-color: white;
}

.newsletter-widget p { color: rgba(255, 255, 255, 0.9); }

.newsletter-input {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    outline: none;
}

.newsletter-btn {
    width: 100%;
    background: white;
    color: #7b2bef;
    border: none;
    padding: 10px;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 600;
}

.author-box {
    background: #ede9fe;
    border-radius: 1rem;
    padding: 1.5rem;
    margin: 2rem 0;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: #7b2bef;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.25rem;
}

.author-avatar-img {
    width: 60px;
    height: 60px;
    border-radius: 9999px;
    object-fit: cover;
}

/* ==================================================
   FOOTER SECTION
   Single Column Brand Layout
   ================================================== */

.footer {
    background: #fff;
    border-top: 1px solid #e9d5ff;
    margin-top: 4rem;
    padding: 3rem 0 2rem;
}

/* ==================================================
   FOOTER GRID
   Brand hanya 1 kolom
   ================================================== */

.footer-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2.5rem;
    margin-bottom: 2rem;
}

/* Tablet */
@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem;
    }
}

/* ==================================================
   FOOTER BRAND
   Selalu 1 kolom
   ================================================== */

.footer-brand {
    grid-column: span 1;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo-image {
    max-height: 40px;
    width: auto;
}

.footer-logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.footer-logo-icon {
    background: #7b2bef;
    color: #fff;
    padding: 0.2rem 0.5rem;
    border-radius: 0.5rem;
    font-size: 1rem;
}

.footer-description {
    font-size: 0.875rem;
    line-height: 1.8;
    color: #6b7280;
    margin-bottom: 1rem;
    max-width: 100%;
}

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

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: #e9d5ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    transition: all 0.2s ease;
}

.footer-social a:hover {
    background: #7b2bef;
    color: #fff;
    transform: translateY(-2px);
    text-decoration: none;
}

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

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #1f2937;
}

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

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: #6b7280;
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #7b2bef;
    text-decoration: none;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #e9d5ff;
    font-size: 0.75rem;
    color: #6b7280;
}

/* ==================================================
   NEWSLETTER BANNER
   ================================================== */

.newsletter-banner {
    background: linear-gradient(
        135deg,
        #7b2bef,
        #5b21b6    );
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
    color: #fff;
}

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

@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .card {
        padding: 1rem;
    }

    .footer-grid {
        gap: 2rem;
    }

    .footer-social {
        justify-content: flex-start;
    }
}