Showing source for: https://diablo4zone.com/
Duration: 0.814246s
Server: cloudflare

<!DOCTYPE html>

<html lang="en">
<head>
<meta charset="utf-8"/>
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
<meta content="Diablo4Zone is a professional Diablo IV gaming blog platform, providing the latest guides, character builds, equipment combinations, in-depth exploration, and patch previews for Diablo IV. Your one-stop destination for all Diablo 4 players!" name="description"/>
<meta content="Diablo IV guides, Diablo 4 builds, Diablo 4 news, Diablo 4 equipment, Diablo 4 classes, Diablo 4 walkthrough, Diablo 4 tips, Blizzard games, ARPG, game blog" name="keywords"/>
<title>Diablo4Zone | Diablo IV Game Blog</title>
<link href="https://diablo4zone.com/" rel="canonical"/>
<style>
        /* Global Styles */
        :root {
            --primary-color: #8b0000;
            --secondary-color: #4a0000;
            --accent-color: #ff6600;
            --dark-bg: #1a1a1a;
            --darker-bg: #0a0a0a;
            --text-color: #e0e0e0;
            --border-glow: 0 0 10px rgba(255, 102, 0, 0.7);
        }

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

        body {
            font-family: 'Trajan Pro', 'Times New Roman', serif;
            background-color: var(--darker-bg);
            color: var(--text-color);
            line-height: 1.6;
            background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%230a0a0a"/><path d="M0,0 L100,100 M100,0 L0,100" stroke="%23200505" stroke-width="1"/></svg>');
            position: relative;
        }

        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at center, rgba(139, 0, 0, 0.2) 0%, rgba(10, 10, 10, 0.9) 80%);
            z-index: -1;
        }

        a {
            color: var(--accent-color);
            text-decoration: none;
            transition: all 0.3s ease;
        }

        a:hover {
            color: #ff8c40;
            text-shadow: var(--border-glow);
        }

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

        /* Header Styles */
        header {
            background-color: rgba(10, 10, 10, 0.95);
            border-bottom: 1px solid var(--primary-color);
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
        }

        .header-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
        }

        .logo {
            display: flex;
            align-items: center;
        }

        .logo img {
            height: 60px;
            margin-right: 10px;
        }

        .logo-text {
            font-size: 28px;
            font-weight: bold;
            color: var(--accent-color);
            text-shadow: 0 0 5px rgba(255, 102, 0, 0.5);
            letter-spacing: 1px;
        }

        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            color: var(--accent-color);
            font-size: 24px;
            cursor: pointer;
        }

        nav ul {
            list-style: none;
            display: flex;
        }

        nav ul li {
            position: relative;
            margin-left: 25px;
        }

        nav ul li a {
            color: var(--text-color);
            font-size: 16px;
            font-weight: 500;
            letter-spacing: 1px;
            padding: 10px 0;
            text-transform: uppercase;
            position: relative;
        }

        nav ul li a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--accent-color);
            transition: width 0.3s ease;
        }

        nav ul li a:hover::after {
            width: 100%;
        }
        
        nav ul li a.active::after {
            width: 100%;
        }

        /* Hero Section */
        .hero {
            background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8)), 
                        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23200505"/><path d="M0,0 L100,100 M100,0 L0,100" stroke="%23400505" stroke-width="2"/></svg>');
            background-size: cover;
            background-position: center;
            height: 600px;
            display: flex;
            align-items: center;
            position: relative;
            overflow: hidden;
            border-bottom: 1px solid var(--primary-color);
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="300" height="300" viewBox="0 0 300 300"><circle cx="150" cy="150" r="100" stroke="%23600" fill="none" stroke-width="2"/><circle cx="150" cy="150" r="70" stroke="%23600" fill="none" stroke-width="2"/><path d="M150,50 L150,250 M50,150 L250,150" stroke="%23600" stroke-width="1"/></svg>');
            opacity: 0.3;
            z-index: 0;
        }

        .hero-content {
            position: relative;
            z-index: 1;
            max-width: 700px;
        }

        .hero h1 {
            font-size: 48px;
            font-weight: 700;
            margin-bottom: 20px;
            color: #fff;
            text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
            letter-spacing: 2px;
            line-height: 1.2;
        }

        .hero h1 span {
            color: var(--accent-color);
        }

        .hero p {
            font-size: 18px;
            margin-bottom: 30px;
            color: #ddd;
            text-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
        }

        .hero-btn {
            display: inline-block;
            background-color: var(--primary-color);
            color: #fff;
            padding: 12px 25px;
            border: 2px solid var(--accent-color);
            border-radius: 3px;
            font-size: 16px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            cursor: pointer;
        }

        .hero-btn:hover {
            background-color: var(--accent-color);
            color: #fff;
            box-shadow: var(--border-glow);
        }

        /* Featured Section */
        .featured {
            padding: 60px 0;
            background-color: var(--dark-bg);
        }

        .section-title {
            text-align: center;
            margin-bottom: 40px;
            position: relative;
        }

        .section-title h2 {
            font-size: 36px;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: var(--accent-color);
            margin-bottom: 10px;
            display: inline-block;
            position: relative;
        }

        .section-title h2::before,
        .section-title h2::after {
            content: '';
            position: absolute;
            width: 50px;
            height: 2px;
            background-color: var(--primary-color);
            top: 50%;
        }

        .section-title h2::before {
            left: -70px;
        }

        .section-title h2::after {
            right: -70px;
        }

        .section-title p {
            color: #aaa;
            font-size: 18px;
        }

        .featured-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }

        .featured-item {
            background-color: rgba(26, 26, 26, 0.7);
            border: 1px solid var(--primary-color);
            border-radius: 5px;
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .featured-item:hover {
            transform: translateY(-10px);
            box-shadow: var(--border-glow);
        }

        .featured-img {
            height: 200px;
            overflow: hidden;
        }

        .featured-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .featured-item:hover .featured-img img {
            transform: scale(1.1);
        }

        .featured-content {
            padding: 20px;
        }

        .featured-content h3 {
            font-size: 22px;
            margin-bottom: 10px;
            color: var(--accent-color);
        }

        .featured-content p {
            color: #ccc;
            margin-bottom: 15px;
        }

        .featured-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: #888;
            font-size: 14px;
        }

        .featured-btn {
            display: inline-block;
            padding: 8px 15px;
            background-color: var(--secondary-color);
            color: #fff;
            border-radius: 3px;
            font-size: 14px;
            transition: all 0.3s ease;
        }

        .featured-btn:hover {
            background-color: var(--accent-color);
        }

        /* Classes Section */
        .classes {
            padding: 60px 0;
            background: linear-gradient(to bottom, var(--darker-bg), var(--dark-bg));
            position: relative;
        }

        .classes::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200"><path d="M0,100 L200,100 M100,0 L100,200" stroke="%23300" stroke-width="1" opacity="0.3"/></svg>');
            opacity: 0.05;
            z-index: 0;
        }

        .classes-container {
            position: relative;
            z-index: 1;
        }

        .classes-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
        }

        .class-card {
            background-color: rgba(26, 26, 26, 0.8);
            border: 1px solid var(--primary-color);
            border-radius: 5px;
            padding: 20px;
            text-align: center;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .class-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background-color: var(--primary-color);
        }

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

        .class-icon {
            font-size: 40px;
            color: var(--accent-color);
            margin-bottom: 15px;
            height: 60px;
            width: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            border-radius: 50%;
        }

        .class-icon img {
            height: 100%;
            width: 100%;
            object-fit: cover;
        }

        .class-card h3 {
            font-size: 22px;
            margin-bottom: 10px;
            color: var(--accent-color);
        }

        .class-card p {
            color: #ccc;
            margin-bottom: 15px;
            font-size: 15px;
        }

        .class-card .featured-btn {
            margin-top: auto;
        }

        /* News Section */
        .news {
            padding: 60px 0;
            background-color: var(--dark-bg);
        }

        .news-grid {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 30px;
        }

        .main-news {
            background-color: rgba(26, 26, 26, 0.7);
            border: 1px solid var(--primary-color);
            border-radius: 5px;
            overflow: hidden;
        }

        .main-news-img {
            height: 300px;
            overflow: hidden;
        }

        .main-news-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .main-news:hover .main-news-img img {
            transform: scale(1.05);
        }

        .main-news-content {
            padding: 25px;
        }

        .main-news-content h3 {
            font-size: 26px;
            margin-bottom: 15px;
            color: var(--accent-color);
        }

        .main-news-content p {
            color: #ccc;
            margin-bottom: 20px;
            font-size: 16px;
            line-height: 1.7;
        }

        .news-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: #888;
            font-size: 14px;
            margin-bottom: 15px;
            border-bottom: 1px solid rgba(139, 0, 0, 0.3);
            padding-bottom: 10px;
        }

        .news-sidebar {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .news-item {
            display: flex;
            background-color: rgba(26, 26, 26, 0.7);
            border: 1px solid var(--primary-color);
            border-radius: 5px;
            overflow: hidden;
            height: 120px;
            transition: all 0.3s ease;
        }

        .news-item:hover {
            box-shadow: var(--border-glow);
            transform: translateX(5px);
        }

        .news-item-img {
            flex: 0 0 120px;
            overflow: hidden;
        }

        .news-item-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .news-item:hover .news-item-img img {
            transform: scale(1.1);
        }

        .news-item-content {
            padding: 15px;
            flex: 1;
        }

        .news-item-content h4 {
            font-size: 16px;
            margin-bottom: 5px;
            color: var(--accent-color);
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .news-item-content p {
            color: #aaa;
            font-size: 12px;
        }

        /* Community Section */
        .community {
            padding: 60px 0;
            background: linear-gradient(to bottom, var(--dark-bg), var(--darker-bg));
            position: relative;
            overflow: hidden;
        }

        .community::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><circle cx="30" cy="30" r="20" stroke="%23600" fill="none" stroke-width="1" opacity="0.3"/></svg>');
            opacity: 0.1;
        }

        .community-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            position: relative;
            z-index: 1;
        }

        .community h2 {
            font-size: 36px;
            margin-bottom: 20px;
            color: var(--accent-color);
        }

        .community p {
            max-width: 700px;
            margin-bottom: 30px;
            color: #ccc;
            font-size: 18px;
        }

        .social-icons {
            display: flex;
            gap: 20px;
            margin-bottom: 30px;
        }

        .social-icons a {
            width: 50px;
            height: 50px;
            background-color: var(--secondary-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 22px;
            transition: all 0.3s ease;
        }

        .social-icons a:hover {
            background-color: var(--accent-color);
            transform: translateY(-5px);
            box-shadow: var(--border-glow);
        }

        .newsletter {
            width: 100%;
            max-width: 500px;
        }

        .newsletter h3 {
            font-size: 22px;
            margin-bottom: 15px;
            color: #fff;
        }

        .newsletter form {
            display: flex;
        }

        .newsletter input {
            flex: 1;
            padding: 12px 15px;
            border: none;
            background-color: rgba(255, 255, 255, 0.1);
            color: #fff;
            border-radius: 3px 0 0 3px;
        }

        .newsletter button {
            padding: 12px 20px;
            background-color: var(--primary-color);
            color: #fff;
            border: none;
            border-radius: 0 3px 3px 0;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .newsletter button:hover {
            background-color: var(--accent-color);
        }

        /* Tags Section */
        .tags-section {
            padding: 40px 0;
            background-color: var(--dark-bg);
            border-top: 1px solid var(--primary-color);
        }

        .tags-container {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            justify-content: center;
        }

        .tag-item {
            background-color: rgba(26, 26, 26, 0.8);
            border: 1px solid var(--secondary-color);
            padding: 5px 15px;
            border-radius: 20px;
            color: #aaa;
            font-size: 14px;
            transition: all 0.3s ease;
        }

        .tag-item:hover {
            border-color: var(--accent-color);
            color: var(--accent-color);
            background-color: rgba(139, 0, 0, 0.1);
        }

        /* View More Button Container */
        .view-more-container {
            text-align: center;
            margin-top: 30px;
            width: 100%;
        }

        /* Footer */
        footer {
            background-color: var(--darker-bg);
            border-top: 1px solid var(--primary-color);
        }

        .footer-top {
            padding: 60px 0 30px;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
        }

        .footer-widget h3 {
            font-size: 20px;
            margin-bottom: 20px;
            color: var(--accent-color);
            position: relative;
            padding-bottom: 10px;
        }

        .footer-widget h3::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 50px;
            height: 2px;
            background-color: var(--primary-color);
        }

        .footer-widget p {
            color: #aaa;
            margin-bottom: 15px;
        }

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

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

        .footer-links li a {
            color: #aaa;
            transition: all 0.3s ease;
            display: block;
        }

        .footer-links li a:hover {
            color: var(--accent-color);
            transform: translateX(5px);
        }

        .footer-bottom {
            background-color: rgba(0, 0, 0, 0.3);
            padding: 20px 0;
            text-align: center;
            color: #888;
            font-size: 14px;
        }

        /* Responsive Styles */
        @media (max-width: 991px) {
            .news-grid {
                grid-template-columns: 1fr;
            }
            
            .hero {
                height: 500px;
            }
            
            .hero h1 {
                font-size: 36px;
            }
        }

        @media (max-width: 768px) {
            .mobile-menu-btn {
                display: block;
            }
            
            nav {
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background-color: rgba(10, 10, 10, 0.95);
                padding: 20px;
                transform: translateY(-100%);
                opacity: 0;
                visibility: hidden;
                transition: all 0.3s ease;
                border-bottom: 1px solid var(--primary-color);
            }
            
            nav.active {
                transform: translateY(0);
                opacity: 1;
                visibility: visible;
            }
            
            nav ul {
                flex-direction: column;
            }
            
            nav ul li {
                margin: 10px 0;
            }
            
            .hero {
                height: 450px;
                text-align: center;
            }
            
            .hero-content {
                margin: 0 auto;
            }
            
            .section-title h2::before,
            .section-title h2::after {
                display: none;
            }
            
            .featured-grid,
            .classes-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 480px) {
            .hero h1 {
                font-size: 30px;
            }
            
            .logo-text {
                font-size: 20px;
            }
            
            .logo img {
                height: 40px;
            }
            
            .section-title h2 {
                font-size: 28px;
            }
            
            .main-news-content h3 {
                font-size: 22px;
            }
            
            .newsletter form {
                flex-direction: column;
            }
            
            .newsletter input,
            .newsletter button {
                width: 100%;
                border-radius: 3px;
            }
            
            .newsletter button {
                margin-top: 10px;
            }
        }

        /* Animation Effects */
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }

        .pulse {
            animation: pulse 2s infinite;
        }

        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
            100% { transform: translateY(0px); }
        }

        .float {
            animation: float 4s ease-in-out infinite;
        }

        /* Dark Theme Elements */
        .dark-overlay {
            position: relative;
        }

        .dark-overlay::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.3);
            z-index: 1;
        }

        .dark-overlay > * {
            position: relative;
            z-index: 2;
        }

        /* Custom Scrollbar */
        ::-webkit-scrollbar {
            width: 8px;
            background-color: var(--darker-bg);
        }

        ::-webkit-scrollbar-thumb {
            background-color: var(--primary-color);
            border-radius: 4px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background-color: var(--accent-color);
        }
    </style>
<link href="https://diablo4zone.com/feed/" rel="alternate" type="application/rss+xml"/><script type="application/ld+json">{
  "@context": "https://schema.org",
  "@type": "WebSite",
  "name": "Diablo4Zone",
  "url": "https://diablo4zone.com",
  "publisher": {
    "@type": "Organization",
    "@id": "https://diablo4zone.com/#website",
    "name": "Diablo4Zone",
    "url": "https://diablo4zone.com",
    "description": "Diablo4Zone is a professional Diablo IV gaming blog platform, providing the latest guides, character builds, equipment combinations, in-depth exploration, and patch previews for Diablo IV. Your one-stop destination for all Diablo 4 players!",
    "foundingDate": "2023",
    "logo": {
      "@type": "ImageObject",
      "url": "https://diablo4zone.com/play_icon.png",
      "caption": "Diablo4Zone Logo"
    }
  }
}</script></head>
<body>
<header>
<div class="container">
<div class="header-top">
<div class="logo">
<img alt="Diablo4Zone" src="/play_icon.png"/>
<div class="logo-text">Diablo4Zone</div>
</div>
<button class="mobile-menu-btn">☰</button>
<nav>
<ul id="nav-list">
<!-- Navigation populated by JS -->
</ul>
</nav>
</div>
</div>
</header>
<section class="hero" id="home">
<div class="container">
<div class="hero-content">
<h1>Welcome to <span>Diablo IV</span> Ultimate Gaming Hub</h1>
<p>Explore the darkest corners of Sanctuary with our comprehensive guides, build calculators, class insights, and community discussions. Join us in the eternal battle against the forces of Hell.</p>
<a class="hero-btn" href="#featured-contents" id="hero-cta">Explore Guides</a>
</div>
</div>
</section>
<!-- Featured contents (was Featured Guides) -> latest_all -->
<section class="featured" id="featured-contents">
<div class="container">
<div class="section-title">
<h2>Featured contents</h2>
<p>Master the art of demon slaying with our expert-crafted guides</p>
</div>
<div class="featured-grid" id="featured-grid-container">
<!-- Content populated by JS -->
</div>
</div>
</section>
<!-- Latest Articles (was Class Guides) -> latest_news -->
<section class="classes" id="latest-articles">
<div class="container classes-container">
<div class="section-title">
<h2>Latest Articles</h2>
<p>Master your chosen class and unleash devastation upon the forces of Hell</p>
</div>
<div class="classes-grid" id="latest-articles-container">
<!-- Content populated by JS -->
</div>
<div class="view-more-container">
<a class="hero-btn" href="/news">all content</a>
</div>
</div>
</section>
<!-- Upcoming Releases (was Latest News) -> latest_guides -->
<section class="news" id="upcoming-releases">
<div class="container">
<div class="section-title">
<h2>Upcoming Releases</h2>
<p>Stay updated with the latest developments in Sanctuary</p>
</div>
<div class="news-grid" id="upcoming-releases-container">
<!-- Content populated by JS -->
</div>
<div class="view-more-container">
<a class="hero-btn" href="/guides">all content</a>
</div>
</div>
</section>
<!-- Popular Events (was Community) -> latest_articles -->
<section class="community" id="popular-events">
<div class="container">
<div class="community-content">
<h2>Popular Events</h2>
<p>Connect with fellow demon slayers, share builds, strategies, and participate in discussions.</p>
<!-- Reusing featured-grid class to display articles in this section while keeping layout wrapper -->
<div class="featured-grid" id="popular-events-container" style="width: 100%; text-align: left; margin-bottom: 30px;">
<!-- Content populated by JS -->
</div>
<div class="view-more-container">
<a class="hero-btn" href="/events">all content</a>
</div>
<div class="newsletter" style="margin-top: 40px;">
<h3>Subscribe to Our Newsletter</h3>
<form id="newsletter-form">
<input placeholder="Enter your email" required="" type="email"/>
<button class="pulse" type="submit">Subscribe</button>
</form>
</div>
</div>
</div>
</section>
<!-- Tags Section -->
<section class="tags-section">
<div class="container">
<div class="section-title" style="margin-bottom: 20px;">
<h2 style="font-size: 24px;">Tags</h2>
</div>
<div class="tags-container" id="tags-container">
<!-- Tags populated by JS -->
</div>
</div>
</section>
<footer>
<div class="container">
<div class="footer-top" id="footer-widgets">
<!-- Footer widgets populated by JS -->
</div>
</div>
<div class="footer-bottom">
<div class="container">
<p id="copyright-text"></p>
</div>
</div>
</footer>
<script>
        document.addEventListener('DOMContentLoaded', function() {
            // Fetch Data
            fetch('/data/index.json')
                .then(response => response.json())
                .then(data => {
                    initNavigation(data.navigation);
                    initContent(data);
                    initTags(data.tag);
                    initFooter(data.footer, data.copyright);
                })
                .catch(error => console.error('Error loading data:', error));

            // Navigation Logic
            function initNavigation(navData) {
                const navList = document.getElementById('nav-list');
                const path = window.location.pathname;
                
                navData.forEach(item => {
                    // Remove search if present in label (simple check)
                    if (item.label.toLowerCase().includes('search')) return;

                    const li = document.createElement('li');
                    const a = document.createElement('a');
                    a.textContent = item.label;
                    
                    // Handle Home Link
                    if (item.label.toUpperCase() === 'HOME') {
                        a.href = '/';
                    } else {
                        a.href = item.link;
                    }

                    // Highlight active
                    if (path === a.getAttribute('href') || (path === '/index.html' && a.getAttribute('href') === '/')) {
                        a.classList.add('active');
                    }

                    li.appendChild(a);
                    navList.appendChild(li);
                });
            }

            // Content Population Logic
            function initContent(data) {
                // Section 1: Featured contents (latest_all) -> Standard Grid
                renderGrid(data.latest_all, 'featured-grid-container');

                // Section 2: Latest Articles (latest_news) -> Class Card Style
                renderClassCards(data.latest_news, 'latest-articles-container');

                // Section 3: Upcoming Releases (latest_guides) -> News Layout (Big + Sidebar)
                renderNewsLayout(data.latest_guides, 'upcoming-releases-container');

                // Section 4: Popular Events (latest_articles) -> Grid inside Community
                renderGrid(data.latest_articles, 'popular-events-container');
            }

            // Helper: Render Standard Grid (Used for Featured & Popular Events)
            function renderGrid(items, containerId) {
                const container = document.getElementById(containerId);
                if (!items || !container) return;

                // Limit to 3 items to fit layout nicely
                items.slice(0, 3).forEach(item => {
                    const div = document.createElement('div');
                    div.className = 'featured-item';
                    div.innerHTML = `
                        <div class="featured-img">
                            <a href="${item.link}">
                                <img src="${item.image}" alt="${item.title}">
                            </a>
                        </div>
                        <div class="featured-content">
                            <h3><a href="${item.link}" style="color: inherit;">${item.title}</a></h3>
                            <p>${item.excerpt}</p>
                            <div class="featured-meta">
                                <span>${item.author}</span>
                                <span>${item.date}</span>
                            </div>
                            <a href="${item.link}" class="featured-btn">Read More</a>
                        </div>
                    `;
                    container.appendChild(div);
                });
            }

            // Helper: Render Class Cards (Used for Latest Articles)
            function renderClassCards(items, containerId) {
                const container = document.getElementById(containerId);
                if (!items || !container) return;

                // Limit to 5 items
                items.slice(0, 5).forEach(item => {
                    const div = document.createElement('div');
                    div.className = 'class-card';
                    div.innerHTML = `
                        <div class="class-icon">
                            <a href="${item.link}">
                                <img src="${item.image}" alt="${item.title}">
                            </a>
                        </div>
                        <h3>${item.title}</h3>
                        <p>${item.excerpt}</p>
                        <a href="${item.link}" class="featured-btn">Read More</a>
                    `;
                    container.appendChild(div);
                });
            }

            // Helper: Render News Layout (Used for Upcoming Releases)
            function renderNewsLayout(items, containerId) {
                const container = document.getElementById(containerId);
                if (!items || !container || items.length === 0) return;

                // Main News (First item)
                const mainItem = items[0];
                const mainDiv = document.createElement('div');
                mainDiv.className = 'main-news';
                mainDiv.innerHTML = `
                    <div class="main-news-img">
                        <a href="${mainItem.link}">
                            <img src="${mainItem.image}" alt="${mainItem.title}">
                        </a>
                    </div>
                    <div class="main-news-content">
                        <div class="news-meta">
                            <span>${mainItem.category}</span>
                            <span>${mainItem.date}</span>
                        </div>
                        <h3><a href="${mainItem.link}" style="color: inherit;">${mainItem.title}</a></h3>
                        <p>${mainItem.excerpt}</p>
                        <a href="${mainItem.link}" class="featured-btn">Read Full Article</a>
                    </div>
                `;
                container.appendChild(mainDiv);

                // Sidebar (Next 4 items)
                const sidebarDiv = document.createElement('div');
                sidebarDiv.className = 'news-sidebar';
                
                items.slice(1, 5).forEach(item => {
                    const itemDiv = document.createElement('div');
                    itemDiv.className = 'news-item';
                    itemDiv.innerHTML = `
                        <div class="news-item-img">
                            <a href="${item.link}">
                                <img src="${item.image}" alt="${item.title}">
                            </a>
                        </div>
                        <div class="news-item-content">
                            <p>${item.category}</p>
                            <h4><a href="${item.link}" style="color: inherit;">${item.title}</a></h4>
                            <p>${item.date}</p>
                        </div>
                    `;
                    sidebarDiv.appendChild(itemDiv);
                });
                container.appendChild(sidebarDiv);
            }

            // Tags Logic
            function initTags(tags) {
                const container = document.getElementById('tags-container');
                if (!tags || !container) return;

                tags.forEach(tag => {
                    const a = document.createElement('a');
                    a.href = tag.link;
                    a.className = 'tag-item';
                    a.textContent = tag.name;
                    container.appendChild(a);
                });
            }

            // Footer Logic
            function initFooter(footerData, copyright) {
                const container = document.getElementById('footer-widgets');
                
                footerData.forEach(widget => {
                    const div = document.createElement('div');
                    div.className = 'footer-widget';
                    
                    const h3 = document.createElement('h3');
                    h3.textContent = widget.title;
                    div.appendChild(h3);

                    const ul = document.createElement('ul');
                    ul.className = 'footer-links';

                    widget.contents.forEach(content => {
                        const li = document.createElement('li');
                        // Check if content is HTML (contains <a) or text
                        if (content.includes('<a')) {
                            li.innerHTML = content;
                            // Check for social links and replace
                            const link = li.querySelector('a');
                            if (link) {
                                const href = link.getAttribute('href');
                                if (href.includes('facebook')) link.href = "https://www.facebook.com/";
                                if (href.includes('twitter')) link.href = "https://x.com/Diablo4Zone";
                                if (href.includes('youtube')) link.href = "https://www.youtube.com/";
                                if (href.includes('instagram')) link.href = "https://www.instagram.com/Diablo4Zone/";
                                if (href.includes('discord')) link.href = "https://discord.com/app/";
                            }
                        } else {
                            // Text content, not clickable
                             li.textContent = content;
                             li.style.color = '#aaa';
                        }
                        ul.appendChild(li);
                    });
                    
                    div.appendChild(ul);
                    container.appendChild(div);
                });

                document.getElementById('copyright-text').textContent = copyright;
            }

            // Hero Button Scroll
            const heroBtn = document.getElementById('hero-cta');
            if (heroBtn) {
                heroBtn.addEventListener('click', function(e) {
                    e.preventDefault();
                    const target = document.querySelector(this.getAttribute('href'));
                    if (target) {
                        window.scrollTo({
                            top: target.offsetTop - 70,
                            behavior: 'smooth'
                        });
                    }
                });
            }

            // Newsletter / Subscribe Buttons
            document.body.addEventListener('submit', function(e) {
                if (e.target.id === 'newsletter-form' || e.target.closest('.newsletter')) {
                    e.preventDefault();
                    alert('Subscribe successful!');
                }
            });

            // Mobile Menu Toggle (Existing)
            const mobileMenuBtn = document.querySelector('.mobile-menu-btn');
            const nav = document.querySelector('nav');
            
            mobileMenuBtn.addEventListener('click', function() {
                nav.classList.toggle('active');
            });
            
            // Close mobile menu when clicking on a nav item
            // Note: Since nav items are dynamic, using event delegation on the nav
            nav.addEventListener('click', function(e) {
                if(e.target.tagName === 'A') {
                    if (nav.classList.contains('active')) {
                        nav.classList.remove('active');
                    }
                }
            });
            
            // Scroll Header Effect
            window.addEventListener('scroll', function() {
                const header = document.querySelector('header');
                if (window.scrollY > 50) {
                    header.classList.add('scrolled');
                } else {
                    header.classList.remove('scrolled');
                }
            });
        });
    </script>
</body>
</html>

Latest requests

# Url Url Source Date
1 https://diablo4zone.com/ 2026-10-17 12:12:48
2 https://ian5d60gms1.p2blogs.com/pr… 2026-10-17 12:12:47
3 https://tripple.net/ 2026-10-17 12:12:47
4 https://rd4krsk.ru/ 2026-10-17 12:12:47
5 https://rehore.org/ 2026-10-17 12:12:46
6 https://assertivenorthwest.com/ 2026-10-17 12:12:46
7 https://bill.tokyo-hot.com/ 2026-10-17 12:12:46
8 https://forum.cosmossoftware.com.n… 2026-10-17 12:12:46
9 https://www.thebolditalic.com/?gi=… 2026-10-17 12:12:45
10 https://www.octeaujoaillier.com/ 2026-10-17 12:12:45
11 https://ai-software-development.ne… 2026-10-17 12:12:44
12 https://mbak4dnaik.com/ 2026-10-17 12:12:43
13 https://63.xowivitay.com/ 2026-10-17 12:12:43
14 https://pad.karuka.tech/s/73kTajM9X 2026-10-17 12:12:42
15 https://wildginsengconservation.co… 2026-10-17 12:12:42
16 https://sfx.thelazy.net/games/ 2026-10-17 12:12:42
17 https://auth.mediacorp.sg/u/login?… 2026-10-17 12:12:40
18 https://www.thebolditalic.com/?gi=… 2026-10-17 12:12:33
19 https://www.texarkanatwins.com/%25… 2026-10-17 12:12:30
20 https://auth.mediacorp.sg/u/login?… 2026-10-17 12:12:25