<html><head>
    <link rel="icon" href="favicon.png" type="image/png">
    <base href="/" />
    <meta charset="UTF-8">
    <title>@waffledev</title>
<script>
const titleAnimation = async () => {
    const baseWord = '@waffledev';
    const delay = 390; 

    while (true) {
        for (let i = 1; i <= baseWord.length; i++) {
            document.title = baseWord.substring(0, i);
            await new Promise(resolve => setTimeout(resolve, delay));
        }
    }
};

const enterAnimation = async () => {
            const baseWord = 'Click to Enter';
            const delay = 390;
            let dotCount = 0;

            while (true) {
                // Update the button text with dots
                const dots = '.'.repeat(dotCount);
                document.getElementById("playButtonText").innerText = baseWord + dots;

                // Increment dotCount and reset after 3
                dotCount = (dotCount + 1) % 4;

                // Wait before updating the text again
                await new Promise(resolve => setTimeout(resolve, delay));
            }
        };

window.onload = function() {
        titleAnimation();
        enterAnimation();
        const audio = new Audio('music.mp3'); // Replace with your actual music file path
        audio.loop = true; // Set the music to loop

        const playButton = document.getElementById('playButton');

        playButton.addEventListener('click', function() {
            // Play the audio when clicked
            audio.play().catch(error => {
                console.error('Audio playback failed:', error);
            });

            // Fade out the button and hide it
            playButton.classList.add('hidden');
        });
    };
</script>
<style>
.stat-value.animated {
    font-size: 24px;
    color: #ffd700;
    animation: bellRing 2s infinite;
    display: inline-block;
    transform-origin: top;
}

.stat-value.animated::after {
    content: '🔔';
    font-size: 24px;
}

@keyframes bellRing {
    0%, 100% { transform: rotate(0); }
    20% { transform: rotate(15deg); }
    40% { transform: rotate(-13deg); }
    60% { transform: rotate(8deg); }
    80% { transform: rotate(-4deg); }
}

body {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #e0e0e0;
    font-family: 'Segoe UI', system-ui, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    position: relative;
    overflow: hidden;
}

.blog-button {
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 2rem;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 9999;
}

#playButton {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: black;
            color: white;
            font-size: 2rem;
            font-weight: bold;
            text-align: center;
            line-height: 100vh;
            border: none;
            cursor: pointer;
            transition: opacity 1s ease;
            z-index: 1000;
        }

        /* Button text effects */
        #playButton span {
            text-transform: uppercase;
            letter-spacing: 2px;
            font-size: 3rem;
            font-weight: 700;
            transition: transform 0.3s ease-in-out;
        }

        #playButton:hover span {
            transform: scale(1.05);
        }

        /* Hide button when clicked */
        .hidden {
            opacity: 0;
            pointer-events: none;
        }

.blog-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.5);
    background: linear-gradient(45deg, #ff8e8e, #ff6b6b);
    letter-spacing: 1px;
}

.blog-button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: rotate(45deg);
    animation: shine 2s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.snowflake {
    position: absolute;
    width: 25.5px;
    height: 25.5px;
    background-image: url('https://openclipart.org/image/800px/100243');
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
    opacity: 0.7;
    animation: fall linear forwards;
    z-index: 1;
    top: -50px;
}

@keyframes fall {
    from { transform: translateY(0) rotate(0deg); }
    to { transform: translateY(calc(100vh + 50px)) rotate(360deg); }
}

body::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        rgba(255,255,255,0.03) 0px,
        rgba(255,255,255,0.03) 1px,
        transparent 1px,
        transparent 10px
    );
    animation: backgroundShift 30s linear infinite;
    z-index: -1;
}

.christmas-lights {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 35px;
    display: flex;
    padding: 10px;
    justify-content: space-around;
    z-index: 1000;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        rgba(68, 68, 68, 0.4) 40%,
        rgba(68, 68, 68, 0.4) 60%,
        transparent 100%);
}

.light {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    animation: glow 1.5s ease-in-out infinite alternate;
    position: relative;
    transform: translateY(5px);
}

.light::after {
    content: '';
    position: absolute;
    top: -12px;
    left: 50%;
    width: 3px;
    height: 12px;
    background: #555;
    transform: translateX(-50%) rotate(5deg);
}

.light::before {
    content: '';
    position: absolute;
    top: -35px;
    left: 50%;
    width: 120%;
    height: 25px;
    background: linear-gradient(to right,
        transparent 0%,
        rgba(68, 68, 68, 0.9) 50%,
        transparent 100%);
    transform: translateX(-50%);
}

.light:nth-child(4n+1) { 
    background: #ff3333; 
    filter: drop-shadow(0 0 12px #ff3333);
    box-shadow: 0 0 20px #ff3333;
}
.light:nth-child(4n+2) { 
    background: #33ff33; 
    filter: drop-shadow(0 0 12px #33ff33);
    box-shadow: 0 0 20px #33ff33;
    animation-delay: 0.4s; 
}
.light:nth-child(4n+3) { 
    background: #3333ff; 
    filter: drop-shadow(0 0 12px #3333ff);
    box-shadow: 0 0 20px #3333ff;
    animation-delay: 0.8s; 
}
.light:nth-child(4n+4) { 
    background: #ffff33; 
    filter: drop-shadow(0 0 12px #ffff33);
    box-shadow: 0 0 20px #ffff33;
    animation-delay: 1.2s; 
}

@keyframes glow {
    from {
        filter: brightness(1);
        transform: translateY(5px);
    }
    to {
        filter: brightness(1.8);
        transform: translateY(9px);
    }
}

@keyframes backgroundShift {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.bio-card {
    background: rgba(37, 37, 37, 0.95);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    max-width: 340px;
    width: 100%;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255,255,255,0.1);
    text-align: center;
    position: relative;
    z-index: 999;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), 
                box-shadow 0.4s ease;
}

.bio-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border-color: rgba(255,107,107,0.3);
}

.avatar-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.avatar:hover {
    transform: scale(1.08) rotate(5deg);
}

.santa-hat {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    width: 100px;
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
}

.santa-hat:hover {
    transform: translateX(-50%) rotate(-10deg);
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.skill-tag {
    background: rgba(51, 51, 51, 0.9);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.skill-tag:hover {
    transform: translateY(-5px) scale(1.1);
    background: rgba(64, 64, 64, 0.95);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    border-color: rgba(255,107,107,0.4);
}

h2 {
    font-size: 2.2rem;
    margin: 0.8rem 0;
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    letter-spacing: 1px;
    font-weight: 800;
}

.stat-container {
    display: flex;
    justify-content: space-around;
    margin: 1.5rem 0;
    padding: 0.5rem;
    background: rgba(51, 51, 51, 0.5);
    border-radius: 15px;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ff6b6b;
}

.stat-label {
    font-size: 0.8rem;
    opacity: 0.8;
}
</style>
<script>
function createSnowflake() {
    const snowflake = document.createElement('div');
    snowflake.className = 'snowflake';
    
    snowflake.style.left = Math.random() * (window.innerWidth - 25.5) + 'px';
    
    const size = (Math.random() * 10 + 10) * 1.7;
    snowflake.style.width = size + 'px';
    snowflake.style.height = size + 'px';
    
    const duration = Math.random() * 4 + 8;
    snowflake.style.animationDuration = duration + 's';
    
    document.body.appendChild(snowflake);
    
    setTimeout(() => {
        snowflake.remove();
    }, duration * 1000);
}

setInterval(createSnowflake, 300);
</script></head><body>

<div class="christmas-lights">
    <div class="light"></div>
    <div class="light"></div>
    <div class="light"></div>
    <div class="light"></div>
    <div class="light"></div>
    <div class="light"></div>
    <div class="light"></div>
    <div class="light"></div>
    <div class="light"></div>
    <div class="light"></div>
</div>

<button id="playButton"><span id="playButtonText">Click to Enter...</span></button>

<div class="bio-card">
    <div class="avatar-container">
        <img class="avatar" src="https://cdn.discordapp.com/avatars/1296451146705276968/280b53ef3429164a9fed699f03b77040.webp?size=1024&format=webp&width=768&height=768" alt="Profile Picture">
        <img src="https://cdn-icons-png.flaticon.com/512/6235/6235092.png" alt="Santa Hat" class="santa-hat">
    </div>
    <h2>waffledev</h2>
    
    <div class="stat-container">
        <div class="stat">
            <div class="stat-value">2.7</div>
            <div class="stat-label">Years Exp.</div>
        </div>
        <div class="stat">
            <div class="stat-value animated"></div>
            <div class="stat-label">Holiday Spirit</div>
        </div>
        <div class="stat">
            <div class="stat-value">4</div>
            <div class="stat-label">Languages</div>
        </div>
    </div>

    <div class="skills">
        <span class="skill-tag">C# Developer</span>
        <span class="skill-tag">XAML UI Designer</span>
        <span class="skill-tag">Lua Developer</span>
        <span class="skill-tag">Learning HTML</span>
    </div>

    <a href="https://blog.waffledev.com" class="blog-button">Check out my blog!</a>
</div>

</body></html>