@font-face {
    font-family: 'LINE Seed Sans TH';
    src: url('LINESeedSansTH_W_Bd.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'LINEHe';
    src: url('LINESeedSansTH_W_He.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

body {
    margin: 0;
    font-family: 'LINE Seed Sans TH', Arial, sans-serif;
    background: #000;
    color: #fff;
    overflow: hidden;
}
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://cdn.mon.in.th/i/Wxl.png') no-repeat center center fixed;
    background-size: cover;
    z-index: -1;
    animation: animateBackground 20s linear infinite;
}
@keyframes animateBackground {
    0% { transform: scale(1) translateY(0); }
    50% { transform: scale(1.1) translateY(-10px); }
    100% { transform: scale(1) translateY(0); }
}
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 80vh;
    text-align: center;
}
h1 {
    font-family: 'LINEHe', Arial, sans-serif;
    font-size: 3em;
    margin-bottom: 20px;
    background: -webkit-linear-gradient(90deg,  #219af1, #02f0fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
p {
    background: -webkit-linear-gradient(90deg, #c6e8ff, #c8e9ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}
.buttons a {
    background: rgba(0, 0, 0, 0.1);
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
    opacity: 0;
    animation: fadeIn 1s ease-in forwards;
    animation-delay: 2.5s;
}

.buttons a:hover {
    background: rgba(85, 85, 85, 0.7);
}

.navbar {
    margin-bottom: 20px;
    background: rgba(0, 0, 0, 0.5) !important;

}
footer {
    position: fixed;
    bottom: 10px;
    width: 100%;
    text-align: center;
}
footer a {
    color: #e0ff00;
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
}
@media (max-width: 768px) {
    h1 {
        font-size: 2em;
    }
    .buttons {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }
    .buttons a {
        flex: 1 1 45%;
    }
}

/* Animation for fade-in blur effect */
.fade-in-blur {
    opacity: 0;
    filter: blur(10px);
    transform: scale(1.2);
    animation: fadeInBlur 1.2s ease-in forwards;
}
.fade-in-blur-delayed {
    opacity: 0;
    filter: blur(10px);
    transform: scale(1.2);
    animation: fadeInBlur 1.2s ease-in forwards;
    animation-delay: 1s;
}
@keyframes fadeInBlur {
    0% {
        opacity: 0;
        filter: blur(10px);
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        filter: blur(0);
        transform: scale(1);
    }
}

/* Animation for fade-in effect */
.fade-in-text {
    opacity: 0;
    animation: fadeIn 1s ease-in forwards;
    animation-delay: 3s;
}
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
