index.html

19.54 KB
25/12/2025 13:19
HTML
<!DOCTYPE html>
<html lang="th">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>สวัสดีปีใหม่ 2569 | Happy New Year 2026</title>
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Sarabun:wght@300;400;600;700&family=Bai+Jamjuree:wght@300;400;600;700&display=swap" rel="stylesheet">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Sarabun', sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
            min-height: 100vh;
            overflow-x: hidden;
            position: relative;
        }

        /* Animated Background Particles */
        .particles {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
            z-index: 0;
            pointer-events: none;
        }

        .particle {
            position: absolute;
            width: 10px;
            height: 10px;
            background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 70%);
            border-radius: 50%;
            animation: float 15s infinite ease-in-out;
            opacity: 0.6;
        }

        @keyframes float {
            0%, 100% {
                transform: translateY(0) translateX(0) rotate(0deg);
            }
            25% {
                transform: translateY(-100px) translateX(50px) rotate(90deg);
            }
            50% {
                transform: translateY(-200px) translateX(-50px) rotate(180deg);
            }
            75% {
                transform: translateY(-100px) translateX(-100px) rotate(270deg);
            }
        }

        /* Fireworks Effect */
        .firework {
            position: absolute;
            width: 4px;
            height: 4px;
            border-radius: 50%;
            animation: firework 2s ease-out infinite;
        }

        @keyframes firework {
            0% {
                transform: translate(0, 0);
                opacity: 1;
            }
            100% {
                transform: translate(var(--x), var(--y));
                opacity: 0;
            }
        }

        /* Main Container */
        .container {
            position: relative;
            z-index: 1;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 40px 20px;
        }

        /* Thai Pattern Decoration */
        .thai-pattern {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            opacity: 0.05;
            background-image:
                repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.1) 35px, rgba(255,255,255,.1) 70px),
                repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(255,255,255,.1) 35px, rgba(255,255,255,.1) 70px);
            pointer-events: none;
        }

        /* Header Section */
        .header {
            text-align: center;
            margin-bottom: 50px;
            animation: fadeInDown 1s ease-out;
        }

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

        .header h1 {
            font-family: 'Bai Jamjuree', sans-serif;
            font-size: clamp(2rem, 8vw, 5rem);
            font-weight: 700;
            color: #fff;
            text-shadow:
                0 0 10px rgba(255,255,255,0.5),
                0 0 20px rgba(255,255,255,0.3),
                0 0 30px rgba(255,200,100,0.2),
                3px 3px 10px rgba(0,0,0,0.3);
            margin-bottom: 20px;
            animation: glow 2s ease-in-out infinite alternate;
        }

        @keyframes glow {
            from {
                text-shadow:
                    0 0 10px rgba(255,255,255,0.5),
                    0 0 20px rgba(255,255,255,0.3),
                    0 0 30px rgba(255,200,100,0.2),
                    3px 3px 10px rgba(0,0,0,0.3);
            }
            to {
                text-shadow:
                    0 0 20px rgba(255,255,255,0.8),
                    0 0 30px rgba(255,255,255,0.5),
                    0 0 40px rgba(255,200,100,0.4),
                    3px 3px 10px rgba(0,0,0,0.3);
            }
        }

        .header h2 {
            font-size: clamp(1.2rem, 4vw, 2.5rem);
            color: #ffe4b5;
            text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
            font-weight: 400;
            margin-bottom: 10px;
        }

        .year {
            display: inline-block;
            font-size: clamp(3rem, 10vw, 7rem);
            font-weight: 700;
            background: linear-gradient(45deg, #fff, #ffd700, #fff);
            background-size: 200% auto;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: shimmer 3s linear infinite;
            margin: 20px 0;
        }

        @keyframes shimmer {
            to {
                background-position: 200% center;
            }
        }

        .subtitle {
            font-size: clamp(0.9rem, 2vw, 1.2rem);
            color: #fff;
            opacity: 0.9;
            max-width: 800px;
            margin: 0 auto;
            line-height: 1.6;
        }

        /* AI Cards Grid */
        .ai-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 30px;
            max-width: 1400px;
            width: 100%;
            margin-top: 40px;
            animation: fadeInUp 1s ease-out 0.3s backwards;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* AI Card */
        .ai-card {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 2px solid rgba(255, 255, 255, 0.2);
            border-radius: 20px;
            padding: 40px 30px;
            text-align: center;
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            cursor: pointer;
            position: relative;
            overflow: hidden;
            text-decoration: none;
            display: block;
        }

        .ai-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            transition: left 0.5s;
        }

        .ai-card:hover::before {
            left: 100%;
        }

        .ai-card:hover {
            transform: translateY(-10px) scale(1.05);
            background: rgba(255, 255, 255, 0.2);
            border-color: rgba(255, 255, 255, 0.4);
            box-shadow:
                0 20px 40px rgba(0,0,0,0.3),
                0 0 30px rgba(255,255,255,0.2),
                inset 0 0 30px rgba(255,255,255,0.1);
        }

        .ai-card:active {
            transform: translateY(-5px) scale(1.02);
        }

        .ai-icon {
            width: 80px;
            height: 80px;
            margin: 0 auto 20px;
            background: linear-gradient(135deg, #ffd700, #ffed4e);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.5rem;
            box-shadow: 0 5px 15px rgba(255,215,0,0.4);
            animation: bounce 2s infinite;
            position: relative;
        }

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

        .ai-card:nth-child(1) .ai-icon { animation-delay: 0s; background: linear-gradient(135deg, #FF6B6B, #FF8E53); }
        .ai-card:nth-child(2) .ai-icon { animation-delay: 0.2s; background: linear-gradient(135deg, #4ECDC4, #44A08D); }
        .ai-card:nth-child(3) .ai-icon { animation-delay: 0.4s; background: linear-gradient(135deg, #A8E6CF, #3EECAC); }
        .ai-card:nth-child(4) .ai-icon { animation-delay: 0.6s; background: linear-gradient(135deg, #FFD93D, #F6C90E); }
        .ai-card:nth-child(5) .ai-icon { animation-delay: 0.8s; background: linear-gradient(135deg, #A8DADC, #457B9D); }

        .ai-name {
            font-size: 1.8rem;
            font-weight: 700;
            color: #fff;
            margin-bottom: 10px;
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        .ai-description {
            font-size: 1rem;
            color: rgba(255,255,255,0.8);
            line-height: 1.5;
        }

        /* Badge */
        .ai-badge {
            position: absolute;
            top: 15px;
            right: 15px;
            background: linear-gradient(135deg, #f093fb, #f5576c);
            color: white;
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            box-shadow: 0 3px 10px rgba(245,87,108,0.4);
        }

        /* Footer */
        .footer {
            margin-top: 60px;
            text-align: center;
            color: rgba(255,255,255,0.8);
            font-size: 0.95rem;
            animation: fadeIn 2s ease-out;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .footer p {
            margin: 10px 0;
        }

        .prompt-info {
            background: rgba(0,0,0,0.2);
            backdrop-filter: blur(5px);
            padding: 20px;
            border-radius: 15px;
            margin-top: 20px;
            border: 1px solid rgba(255,255,255,0.1);
            max-width: 900px;
            margin-left: auto;
            margin-right: auto;
        }

        .prompt-info h3 {
            color: #ffd700;
            margin-bottom: 10px;
            font-size: 1.1rem;
        }

        .prompt-text {
            color: rgba(255,255,255,0.9);
            font-style: italic;
            line-height: 1.6;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .ai-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .container {
                padding: 20px 15px;
            }
        }

        /* Decorative Elements */
        .lotus {
            position: absolute;
            font-size: 3rem;
            opacity: 0.1;
            animation: rotate 20s linear infinite;
        }

        @keyframes rotate {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        .lotus-1 { top: 10%; left: 5%; animation-duration: 25s; }
        .lotus-2 { top: 70%; right: 10%; animation-duration: 30s; animation-direction: reverse; }
        .lotus-3 { bottom: 15%; left: 15%; animation-duration: 20s; }
    </style>
</head>
<body>
    <!-- AI Prompt:
    "ออกแบบเว็บสวัสดีปีใหม่ 2569 แบบไทยๆ เป็นลักษณะของ intro page สวยๆ ทันสมัย ใส่ลูกเล่นเยอะๆ เป็น HTML"
    -->

    <!-- Animated Background -->
    <div class="particles" id="particles"></div>
    <div class="thai-pattern"></div>

    <!-- Decorative Lotus Flowers -->
    <div class="lotus lotus-1">🪷</div>
    <div class="lotus lotus-2">🪷</div>
    <div class="lotus lotus-3">🪷</div>

    <!-- Main Container -->
    <div class="container">
        <!-- Header -->
        <header class="header">
            <h2>🎊 ยินดีต้อนรับสู่ 🎊</h2>
            <h1>สวัสดีปีใหม่</h1>
            <div class="year">2569</div>
            <p class="subtitle">
                ชมคอลเล็กชันเว็บไซต์สวัสดีปีใหม่ที่ออกแบบโดย AI ยี่ห้อชั้นนำทั่วโลก<br>
                แต่ละเว็บมีความพิเศษและสไตล์ที่แตกต่างกัน เลือกชมได้ตามใจชอบ ✨
            </p>
        </header>

        <!-- AI Cards Grid -->
        <div class="ai-grid">
            <!-- Claude AI -->
            <a href="claude/" class="ai-card">
                <div class="ai-badge">New</div>
                <div class="ai-icon">🤖</div>
                <div class="ai-name">Claude</div>
                <p class="ai-description">
                    ออกแบบโดย Claude AI<br>
                    สไตล์ที่เน้นความสง่างามและรายละเอียด
                </p>
            </a>

            <!-- DeepSeek AI -->
            <a href="deepseek/" class="ai-card">
                <div class="ai-badge">New</div>
                <div class="ai-icon">🔮</div>
                <div class="ai-name">DeepSeek</div>
                <p class="ai-description">
                    ออกแบบโดย DeepSeek AI<br>
                    สไตล์ที่ทันสมัยและเต็มไปด้วยเทคโนโลยี
                </p>
            </a>

            <!-- GLM AI -->
            <a href="glm/" class="ai-card">
                <div class="ai-badge">New</div>
                <div class="ai-icon">✨</div>
                <div class="ai-name">GLM</div>
                <p class="ai-description">
                    ออกแบบโดย GLM AI<br>
                    สไตล์ที่มีเอกลักษณ์และความคิดสร้างสรรค์
                </p>
            </a>

            <!-- Grok AI -->
            <a href="grok/" class="ai-card">
                <div class="ai-badge">New</div>
                <div class="ai-icon">⚡</div>
                <div class="ai-name">Grok</div>
                <p class="ai-description">
                    ออกแบบโดย Grok AI<br>
                    สไตล์ที่โดดเด่นและมีพลัง
                </p>
            </a>

            <!-- Minimax AI -->
            <a href="minimax/" class="ai-card">
                <div class="ai-badge">New</div>
                <div class="ai-icon">🎨</div>
                <div class="ai-name">Minimax</div>
                <p class="ai-description">
                    ออกแบบโดย Minimax AI<br>
                    สไตล์ที่มีสีสันและความสนุกสนาน
                </p>
            </a>
        </div>

        <!-- Footer -->
        <footer class="footer">
            <p>🎆 ขอให้ทุกท่านมีความสุขและความเจริญในปีใหม่ 2569 🎆</p>
            <p>Happy New Year 2026 🎉</p>

            <div class="prompt-info">
                <h3>💡 AI Prompt ที่ใช้สร้าง:</h3>
                <p class="prompt-text">
                    "ออกแบบเว็บสวัสดีปีใหม่ 2569 แบบไทยๆ เป็นลักษณะของ intro page สวยๆ ทันสมัย ใส่ลูกเล่นเยอะๆ เป็น HTML"
                </p>
            </div>
        </footer>
    </div>

    <script>
        // Create animated particles
        const particlesContainer = document.getElementById('particles');
        const particleCount = 50;

        for (let i = 0; i < particleCount; i++) {
            const particle = document.createElement('div');
            particle.className = 'particle';
            particle.style.left = Math.random() * 100 + '%';
            particle.style.top = Math.random() * 100 + '%';
            particle.style.animationDelay = Math.random() * 15 + 's';
            particle.style.animationDuration = (Math.random() * 10 + 10) + 's';
            particlesContainer.appendChild(particle);
        }

        // Create fireworks effect
        function createFirework() {
            const colors = ['#ff6b6b', '#4ecdc4', '#45b7d1', '#ffd93d', '#a8dadc', '#f093fb'];
            const fireworksCount = 8;

            const x = Math.random() * window.innerWidth;
            const y = Math.random() * window.innerHeight * 0.5;

            for (let i = 0; i < fireworksCount; i++) {
                const firework = document.createElement('div');
                firework.className = 'firework';
                firework.style.left = x + 'px';
                firework.style.top = y + 'px';
                firework.style.backgroundColor = colors[Math.floor(Math.random() * colors.length)];

                const angle = (Math.PI * 2 * i) / fireworksCount;
                const velocity = 50 + Math.random() * 100;
                const tx = Math.cos(angle) * velocity;
                const ty = Math.sin(angle) * velocity;

                firework.style.setProperty('--x', tx + 'px');
                firework.style.setProperty('--y', ty + 'px');

                document.body.appendChild(firework);

                setTimeout(() => firework.remove(), 2000);
            }
        }

        // Trigger fireworks periodically
        setInterval(createFirework, 2000);

        // Initial fireworks
        setTimeout(createFirework, 500);
        setTimeout(createFirework, 1000);

        // Add hover sound effect simulation (visual feedback)
        const cards = document.querySelectorAll('.ai-card');
        cards.forEach(card => {
            card.addEventListener('mouseenter', function() {
                this.style.animation = 'none';
                setTimeout(() => {
                    this.style.animation = '';
                }, 10);
            });
        });

        // Add click ripple effect
        cards.forEach(card => {
            card.addEventListener('click', function(e) {
                const ripple = document.createElement('div');
                ripple.style.position = 'absolute';
                ripple.style.borderRadius = '50%';
                ripple.style.background = 'rgba(255,255,255,0.6)';
                ripple.style.width = '20px';
                ripple.style.height = '20px';
                ripple.style.left = (e.clientX - this.offsetLeft - 10) + 'px';
                ripple.style.top = (e.clientY - this.offsetTop - 10) + 'px';
                ripple.style.animation = 'ripple 0.6s ease-out';
                ripple.style.pointerEvents = 'none';

                this.appendChild(ripple);

                setTimeout(() => ripple.remove(), 600);
            });
        });

        // Add ripple animation
        const style = document.createElement('style');
        style.textContent = `
            @keyframes ripple {
                to {
                    transform: scale(10);
                    opacity: 0;
                }
            }
        `;
        document.head.appendChild(style);
    </script>
</body>
</html>