/* style.css - Premium Glassmorphism UI */
:root { 
    --bg-color: #0b0c10; 
    --text-main: #c5c6c7; 
    --text-heading: #ffffff; 
    --glow-cyan: rgba(69, 252, 255, 0.45); 
    --glow-blue: rgba(26, 42, 108, 0.6); /* Hex: #1a2a6c */ 
    --accent: #45fcff;
    --accent-hover: #1fced1;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(69, 252, 255, 0.3);
}

body { 
    margin: 0; 
    font-family: 'Plus Jakarta Sans', sans-serif; 
    background-color: var(--bg-color); 
    color: var(--text-main); 
    overflow-x: hidden; 
    line-height: 1.6;
}

h1, h2, h3, h4 { color: var(--text-heading); margin-top: 0; font-weight: 700; line-height: 1.3; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }

/* Background Glow Effects */
.glow-bg { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -1; background: var(--bg-color); overflow: hidden; pointer-events: none;}
.glow-circle-1, .glow-circle-2 { position: absolute; border-radius: 50%; filter: blur(140px); opacity: 0.6; animation: float 10s infinite alternate ease-in-out; }
.glow-circle-1 { width: 500px; height: 500px; background: var(--glow-blue); top: -100px; left: -100px; }
.glow-circle-2 { width: 600px; height: 600px; background: var(--glow-cyan); bottom: -150px; right: -150px; animation-delay: -5s;}

@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 50px); }
}

/* Glassmorphism Panel */
.glass-panel { 
    background: var(--glass-bg); 
    backdrop-filter: blur(16px); 
    -webkit-backdrop-filter: blur(16px); 
    border: 1px solid var(--glass-border); 
    border-radius: 20px; 
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2); 
    transition: transform 0.3s ease, border-color 0.3s ease;
}

/* Header & Navigation */
header { position: sticky; top: 0; z-index: 100; padding: 15px 40px; display: flex; justify-content: space-between; align-items: center; border-radius: 0 0 20px 20px; border-top: none; }
.logo { font-size: 1.6rem; font-weight: 800; color: var(--text-heading); letter-spacing: -0.5px; display: flex; align-items: center; }
.logo a { display: flex; align-items: center; gap: 12px; }
.logo a:hover { color: var(--accent); }
.logo img { height: 45px; width: auto; border-radius: 8px; }
nav ul { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; align-items: center;}
nav ul li a { padding: 8px 16px; border-radius: 8px; font-weight: 600; font-size: 0.95rem; color: #a0a0a0; }
nav ul li a:hover, nav ul li a.active-link { background: rgba(69, 252, 255, 0.1); color: var(--accent); }

.header-right { display: flex; align-items: center; gap: 20px; }
.search-form { display: flex; gap: 10px; align-items: center; }
.search-input { background: rgba(0,0,0,0.3); border: 1px solid var(--glass-border); color: white; padding: 10px 20px; border-radius: 30px; outline: none; font-family: inherit; font-size: 0.9rem; transition: border-color 0.3s, background 0.3s; width: 200px; }
.search-input:focus { border-color: var(--accent); background: rgba(0,0,0,0.5); }
.search-btn { background: var(--accent); border: none; color: #0b0c10; padding: 10px 22px; border-radius: 30px; cursor: pointer; font-weight: 700; font-size: 0.9rem; transition: background 0.3s, transform 0.2s; }
.search-btn:hover { background: var(--accent-hover); transform: translateY(-2px); }

/* Google Translate Overrides */
.goog-te-combo { background: rgba(0,0,0,0.5); color: #fff; border: 1px solid var(--accent); padding: 8px 12px; border-radius: 12px; outline: none; font-family: inherit; font-size: 0.85rem; cursor: pointer; font-weight: 600;}
.goog-te-combo option { background: #121212; color: #fff; }
.goog-te-banner-frame.skiptranslate, iframe.goog-te-banner-frame { display: none !important; } 
body { top: 0px !important; position: relative !important; }
.goog-logo-link { display:none !important; } 
.goog-te-gadget { color: transparent !important; font-size:0px; }
.goog-te-menu-frame { z-index: 999999 !important; }

/* Layout & Typography */
.container { max-width: 1240px; margin: 50px auto; padding: 0 24px; }
.hero { text-align: center; padding: 80px 20px; margin-bottom: 50px; animation: fadeInDown 0.8s ease; }
.hero h1 { font-size: 3.5rem; letter-spacing: -1px; margin-bottom: 20px; background: linear-gradient(90deg, #fff, #a0a0a0); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 1.2rem; color: #a0a0a0; max-width: 600px; margin: 0 auto; }

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.layout-grid { display: grid; grid-template-columns: 1fr 2.8fr; gap: 40px; align-items: start; }
aside { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 30px; }
main { grid-column: 2; grid-row: 1; }
.section-title { font-size: 2rem; margin-bottom: 30px; border-bottom: 1px solid var(--glass-border); padding-bottom: 15px; display: inline-block; }

/* Article Cards */
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }
.article-card { overflow: hidden; display: flex; flex-direction: column; }
.article-card:hover { transform: translateY(-8px); border-color: var(--glass-border-hover); box-shadow: 0 15px 40px rgba(0, 255, 255, 0.1); }
.article-img-wrap { width: 100%; height: 200px; overflow: hidden; border-bottom: 1px solid var(--glass-border); }
.article-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.article-card:hover .article-img { transform: scale(1.05); }
.article-content { padding: 25px; display: flex; flex-direction: column; flex-grow: 1; }
.kategori-badge { font-size: 0.75rem; color: var(--accent); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 800; margin-bottom: 12px; display: inline-block; padding: 4px 10px; background: rgba(69, 252, 255, 0.1); border-radius: 20px; }
.article-card h3 { font-size: 1.3rem; margin-bottom: 12px; transition: color 0.3s; }
.article-card:hover h3 { color: var(--accent); }
.article-card p { font-size: 0.95rem; color: #a0a0a0; line-height: 1.6; margin-bottom: 25px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.read-more { font-weight: 700; color: #FFFFFF; font-size: 0.95rem; margin-top: auto; display: flex; align-items: center; gap: 5px; }
.read-more:hover { color: var(--accent); }
.read-more::after { content: '→'; transition: transform 0.3s; }
.read-more:hover::after { transform: translateX(5px); }

/* Sidebar Widgets */
.sidebar-widget { padding: 30px; }
.sidebar-widget h3 { font-size: 1.2rem; margin-bottom: 20px; border-bottom: 1px solid var(--glass-border); padding-bottom: 10px; }
.ad-space { background: rgba(0,0,0,0.2); border: 1px dashed rgba(255,255,255,0.2); padding: 50px 20px; color: #666; border-radius: 12px; text-align: center; }

/* Newsletter Form */
.newsletter-form { display: flex; flex-direction: column; gap: 15px; margin-top: 15px; }
.newsletter-form input { background: rgba(0,0,0,0.3); border: 1px solid var(--glass-border); color: white; padding: 12px 15px; border-radius: 12px; outline: none; font-family: inherit; transition: 0.3s; }
.newsletter-form input:focus { border-color: var(--accent); }
.newsletter-form button { background: var(--accent); color: #000; font-weight: bold; border: none; padding: 12px; border-radius: 12px; cursor: pointer; transition: 0.3s; }
.newsletter-form button:hover { background: var(--accent-hover); transform: translateY(-2px); }

/* Pagination */
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 60px; }
.page-link { padding: 10px 18px; background: rgba(255,255,255,0.03); border: 1px solid var(--glass-border); border-radius: 12px; color: #fff; font-weight: 600; transition: all 0.3s ease; }
.page-link:hover, .page-link.active { background: rgba(69, 252, 255, 0.15); color: var(--accent); border-color: var(--accent); box-shadow: 0 5px 15px rgba(69, 252, 255, 0.2); transform: translateY(-2px); }

/* Footer */
footer { margin-top: 80px; padding: 40px 20px; text-align: center; border-radius: 20px 20px 0 0; font-size: 0.95rem; color: #888; border-bottom: none; }

/* --- ARTIKEL PAGE SPECIFIC STYLES --- */
.btn-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 30px; font-weight: 600; color: #a0a0a0; transition: 0.3s; }
.btn-back:hover { color: var(--accent); transform: translateX(-5px); }
.article-hero-img { width: 100%; height: 450px; object-fit: cover; border-radius: 20px 20px 0 0; border-bottom: 1px solid var(--glass-border); }
.article-body-glass { padding: 50px 60px; border-radius: 0 0 20px 20px; }
.article-meta { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; font-size: 0.9rem; color: #888; }
.article-title { font-size: 3rem; line-height: 1.2; margin-bottom: 30px; margin-top: 0; letter-spacing: -1px; }
.isi-artikel { font-size: 1.15rem; line-height: 1.9; margin-bottom: 60px; color: #d0d0d0; }
.isi-artikel p { margin-bottom: 20px; }

/* Reactions */
.reaction-container { border-top: 1px solid var(--glass-border); padding-top: 40px; text-align: center; margin-bottom: 40px; }
.reaction-container h3 { font-size: 1.4rem; margin-bottom: 25px; color: var(--text-heading); }
.reaction-buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; }
.btn-reaction { background: var(--glass-bg); border: 1px solid var(--glass-border); color: #fff; padding: 12px 30px; border-radius: 40px; font-size: 1.3rem; cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; gap: 12px; }
.btn-reaction:hover { background: rgba(69, 252, 255, 0.1); border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 8px 20px rgba(69, 252, 255, 0.15); }
.btn-reaction .count { font-size: 1.1rem; font-weight: bold; font-family: 'JetBrains Mono', monospace; }

/* Related Articles */
.related-articles { border-top: 1px solid var(--glass-border); padding-top: 40px; }
.related-articles h3 { font-size: 1.6rem; margin-bottom: 25px; }

/* Share Buttons */
.share-buttons { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.btn-share { padding: 12px 20px; border-radius: 12px; border: 1px solid var(--glass-border); background: rgba(0,0,0,0.2); color: #fff; font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; }
.btn-share:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); }
.btn-share.wa:hover { border-color: #25D366; background: rgba(37, 211, 102, 0.15); color: #25D366; }
.btn-share.fb:hover { border-color: #1877F2; background: rgba(24, 119, 242, 0.15); color: #1877F2; }
.btn-share.x:hover { border-color: #FFFFFF; background: rgba(255, 255, 255, 0.15); }
.btn-share.copy:hover { border-color: var(--accent); background: rgba(69, 252, 255, 0.15); color: var(--accent); }

/* Responsive */
@media (max-width: 992px) { 
    .layout-grid { grid-template-columns: 1fr; } 
    main { grid-column: 1; grid-row: 1; } 
    aside { grid-column: 1; grid-row: 2; flex-direction: row; flex-wrap: wrap; }
    .sidebar-widget { flex: 1 1 300px; }
    .article-body-glass { padding: 30px; }
    .article-hero-img { height: 300px; }
    .article-title { font-size: 2.2rem; }
    .hero h1 { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    header { flex-direction: column; gap: 20px; padding: 20px; }
    .header-right { flex-direction: column; width: 100%; }
    nav ul { flex-wrap: wrap; justify-content: center; gap: 10px; } 
    .search-form { width: 100%; justify-content: center; }
    .search-input { width: 100%; max-width: 300px; }
    aside { flex-direction: column; }
}
