<?php
// 666 AI Cube Flesh Mind Page with centered lazy-load videos
$videos = [
    "8Z3U91J03FU",
    "gn6TL3pilWE",
    "EYy37xR7B3M",
    "87hwpkLJoVk",
    "YMaMVymo2ks",
    "QydtSIcQ5-0",
    "8HZA7n8WtxY",
    "vRIEwt0Pyko",
    "K-so2w2LZz4",
    "TS_VZtdeaOI",
    "4fAY5vYx6w8",
    "M8mGlAy6k88",
    "sx369MMy5b8",
    "urab2s3rZ1c",
    "wPU8HtG3fqA",
    "2d-W034kU9o",
    "Vr_n-kQLSzg",
    "qCBLPGltdzY",
    "AVRGK0VMhL0",
    "bPHP551Ozlc"
];
?>
<!DOCTYPE html>
<html lang="en">
	
<div style="text-align:center; margin:40px 0;">
    <a href="index.php" 
       style="
          display: inline-block;
          width: 200px;
          height: 60px;
          line-height: 60px;
          font-size: 1.2em;
          font-weight: bold;
          color: #fff;
          background-color: #FF8C00;
          border-radius: 12px;
          text-decoration: none;
          box-shadow: 0 4px 8px rgba(0,0,0,0.3);
          transition: all 0.3s ease;
       "
       onmouseover="this.style.backgroundColor='#FFA733'; this.style.transform='scale(1.05)';"
       onmouseout="this.style.backgroundColor='#FF8C00'; this.style.transform='scale(1)';"
    >
        Back to Home
    </a>
</div>


<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>The 666 AI Cube Flesh Mind<br> Can You Escape It?</title>
    <meta name="description" content="Understanding the 666 AI Cube Flesh Mind as the old Adam, dying daily to the flesh and being renewed in the Spirit.">
    <style>
        body {
            font-family: Arial, sans-serif;
            background-color: #fdfdfd;
            color: #222;
            padding: 20px;
            text-align: center;
        }
        h1, h2 {
            color: #b22222;
        }
        .playlist {
            margin: 20px auto;
        }
        .video-wrapper {
            position: relative;
            width: 100%;
            max-width: 400px;
            height: 225px;
            margin: 0 auto 20px auto;
            cursor: pointer;
            background-size: cover;
            background-position: center;
            display: block;
        }
        .video-wrapper::after {
            content: "▶";
            font-size: 50px;
            color: white;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            text-shadow: 0 0 10px #000;
        }
        iframe {
            width: 100%;
            height: 100%;
            border: none;
        }
        .teaching {
            max-width: 700px;
            margin: 20px auto;
            text-align: left;
        }
        .teaching h3 {
            color: #b22222;
        }
        .teaching p {
            margin: 5px 0 10px 0;
        }
    </style>
</head>
<body>
    <h1>The 666 AI Cube Flesh Mind</h1>
    <h2>Can You Escape It?</h2>

    <div class="playlist">
        <?php foreach($videos as $index => $id): ?>
            <div class="video-wrapper" style="background-image: url('https://img.youtube.com/vi/<?= $id ?>/hqdefault.jpg');" data-video-id="<?= $id ?>"></div>

            <?php if($index === 0): ?>
                <!-- Scripture-centered teaching after first video -->
                <div class="teaching">
                    <h3>Understanding the 666 Flesh Mind: The Old Adam</h3>

                    <p><strong>1. The Old Adam in Every Human</strong><br>
                    The 666 Flesh Mind represents the <strong>old Adam</strong>—the natural, flesh-driven mind that seeks control, distraction, and deception.<br>
                    <em>Romans 7:18</em> – “For I know that nothing good dwells in me, that is, in my flesh.”<br>
                    <em>Galatians 5:16-17</em> – “Walk by the Spirit, and you will not gratify the desires of the flesh.”</p>

                    <p><strong>2. The Copy, Not the Source</strong><br>
                    External systems or “AI” that amplify human behavior are merely copies of the old Adam’s nature, not the root problem.</p>

                    <p><strong>3. Dying Daily to the Old Self</strong><br>
                    Believers are called to <strong>die daily to the old Adam</strong> and surrender their fleshly desires.<br>
                    <em>Luke 9:23</em> – “If anyone would come after me, let him deny himself and take up his cross daily and follow me.”<br>
                    <em>Romans 12:1-2</em> – “Present your bodies as a living sacrifice…be transformed by the renewing of your mind.”</p>

                    <p><strong>4. Being Renewed in the Spirit</strong><br>
                    The Spirit renews the inner man, enabling discernment and victory over fleshly patterns.<br>
                    <em>2 Corinthians 4:16</em> – “Though our outer self is wasting away, our inner self is being renewed day by day.”</p>

                    <p><strong>5. Recognizing and Resisting the Pattern</strong><br>
                    Understanding these patterns is essential to maintain spiritual awareness and freedom from the old Adam. Believers must discern the influence of the flesh and choose daily to walk in the Spirit.</p>
                </div>
            <?php endif; ?>
        <?php endforeach; ?>
    </div>

    <h2>The Cube in Scripture</h2>
    <p class="teaching">
        The Greek word <em>κύβος</em> (cube) appears in Ephesians 4 to describe the structured, measured, and orderly nature of spiritual growth and unity. Just as a cube has equal sides and balance, believers are called to be aligned, whole, and stable in the spirit. The 666 Flesh Mind represents the opposite: a distorted framework seeking to unbalance the flesh against the spirit.
    </p>

    <script>
        // Lazy load click-to-play
        document.querySelectorAll('.video-wrapper').forEach(wrapper => {
            wrapper.addEventListener('click', function() {
                const videoId = this.getAttribute('data-video-id');
                const iframe = document.createElement('iframe');
                iframe.src = "https://www.youtube.com/embed/" + videoId + "?autoplay=1";
                iframe.allow = "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture";
                iframe.allowFullscreen = true;
                this.innerHTML = '';
                this.appendChild(iframe);
            });
        });
    </script>
</body>
</html>
