@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Do+Hyeon&family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Rowdies:wght@300;400;700&display=swap');

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

html,
body {
    height: 100%;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    background: url(./2.jpg) no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    color: white;
    line-height: 1.4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    max-width: 100%;
    width: 100%;
    padding: 16px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

header {
    text-align: center;
    margin-bottom: 24px;
    padding-top: 16px;
    width: 100%;
}

h1 {
    text-transform: uppercase;
    letter-spacing: .5em;
    display: inline-block;
    border: 4px double rgba(255, 255, 255, .25);
    border-width: 4px 0;
    padding: 0.8em 0;
    position: relative;
    margin: 0.8em auto;
    width: 40em;
    max-width: 100%;
}

h1 span {
    position: relative;
    z-index: 1;
    font: 700 54px/1 "Kanit", sans-serif;
    letter-spacing: 0;
    padding: .2em 0 .275em;
    display: block;
    margin: 0 auto;
    text-shadow: 0 0 80px rgba(255, 255, 255, .5);
    background: url(./1.png) repeat-y;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-animation: aitf 80s linear infinite;
    -webkit-transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    word-break: break-word;
}

.domain-info {
    text-align: center;
    margin-bottom: 24px;
    position: relative;
}

p {
    font-family: 'Do Hyeon', sans-serif;
    line-height: 1.6;
    letter-spacing: 0.5px;
    color: white;
}

.permanent {
    font-size: 24px;
    margin-bottom: 6px;
    color: white;
}

.domain-name {
    font-size: 36px;
    font-weight: bold;
    text-transform: uppercase;
    color: white;
}

.main-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.main-btn {
    width: 300px;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    margin: 16px auto;
    height: 65px;
    text-align: center;
    border: none;
    background-size: 300% 100%;
    border-radius: 50px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(to right, #00ab15, #243c19, #091800, #10f963);
    box-shadow: 0 0 15px #fbff00, 0 0 25px #d9ff05;
    transition: all .4s ease-in-out;
}

.main-btn:hover {
    background-position: 100% 0;
    box-shadow: 0 0 15px #fbff00, 0 0 25px #d9ff05;
    transform: scale(1.05);
}

.contact-info {
    text-align: center;
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.contact-btn {
    width: 300px;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    margin: 16px auto;
    height: 65px;
    text-align: center;
    border: none;
    background-size: 300% 100%;
    border-radius: 50px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .4s ease-in-out;
}

.contact-btn:hover {
    background-position: 100% 0;
    transform: scale(1.05);
}

.kakao {
    background-image: linear-gradient(to right, #00ab15, #243c19, #091800, #10f963);
    box-shadow: 0 0 15px #fbff00, 0 0 25px #d9ff05;
}

.telegram {
    background-image: linear-gradient(to right, #00ab15, #243c19, #091800, #10f963);
    box-shadow: 0 0 15px #fbff00, 0 0 25px #d9ff05;
}

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

@keyframes animate {
    0%,
    100% {
        clip-path: polygon(
            0% 45%,
            16% 44%,
            33% 50%,
            54% 60%,
            70% 61%,
            84% 59%,
            100% 52%,
            100% 100%,
            0% 100%
        );
    }
    50% {
        clip-path: polygon(
            0% 60%,
            15% 65%,
            34% 66%,
            51% 62%,
            67% 50%,
            84% 45%,
            100% 46%,
            100% 100%,
            0% 100%
        );
    }
}

@keyframes glow {
    from {
        text-shadow: 0 0 5px #ceff46, 0 0 10px #ccfd1b, 0 0 15px #15ff4f, 0 0 20px #00cf4f;
    }
    to {
        text-shadow: 0 0 5px #ceff46, 0 0 10px #ccfd1b, 0 0 15px #15ff4f, 0 0 20px #00cf4f;
    }
}

.container > * {
    animation: fadeIn 0.5s ease forwards;
}

header {
    animation-delay: 0.1s;
}

.domain-info {
    animation-delay: 0.2s;
}

.main-links {
    animation-delay: 0.3s;
}

.contact-info {
    animation-delay: 0.4s;
}

.contact-buttons {
    animation-delay: 0.5s;
}

@-webkit-keyframes aitf {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

@media screen and (max-width: 768px) {
    h1 {
        width: 100%;
        letter-spacing: .2em;
        padding: 0.8em 0.5em;
        font-size: 0.9em;
    }

    h1 span {
        font: 700 2.5em/1.2 "Kanit", sans-serif;
        padding: 0.2em;
        word-wrap: break-word;
    }

    .container {
        padding: 10px;
        margin-top: 20px;
    }

    .main-btn, .contact-btn {
        width: 280px;
        font-size: 18px;
        height: 60px;
        margin: 10px auto;
    }

    .permanent {
        font-size: 18px;
    }

    .domain-name {
        font-size: 24px;
    }
}

@media screen and (max-width: 480px) {
    h1 {
        padding: 0.6em 0.3em;
        font-size: 0.8em;
        letter-spacing: 0.1em;
    }

    h1 span {
        font: 700 1.8em/1.2 "Kanit", sans-serif;
        padding: 0.15em;
    }

    .main-btn, .contact-btn {
        width: 260px;
        font-size: 16px;
        height: 55px;
        margin: 8px auto;
    }

    .container {
        padding: 8px;
        margin-top: 15px;
    }

    header {
        margin-bottom: 16px;
        padding-top: 12px;
    }
}