:root {
    --white: rgba(255, 255, 255, 1);
}

* {
    cursor: url('../assets/img/cursor/pink-milk.png'), default !important;
}

body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}

.container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    /* รองรับ Safari */

    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;

    transition: opacity 0.53s ease, backdrop-filter 0.53s ease, -webkit-drop-filter 0.53s ease;

    h1 {
        font-size: 60px;
        font-weight: 700;
        color: var(--white);

        text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    }
}

.fade-out {
    opacity: 0;
    pointer-events: none;
}

#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
    opacity: 0.8;
}

.mute-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 999;
    background-color: rgba(0,0,0,0.6);
    border-radius: 12%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all 0.3s ease;

    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-apperance: none;
}

.mute-toggle:hover {
    background-color: rgba(0,0,0, 0.8);
    transform: scale(1.1);
}

.main {
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

    .main-wrapper {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: fit-content;

        gap: 70px;
        padding: 100px 300px;
        max-width: 600px;
        width: 90%;
        border-radius: 24px;
        border: 3px solid rgba(241, 182, 247, 0.2);
        backdrop-filter: blur(2.5px);
        -webkit-backdrop-filter: blur(2.5px);

        box-shadow: 0 8px 32px 0 rgba(245, 196, 237, 0.25);
        background-color: rgba(0, 0, 0, 0.65);


        .main-profile {
            a {
                img {
                    height: 118px;
                    width: 118px;
                    border-radius: 50%;
                    object-fit: cover;
                    margin-bottom: 4rem;
                    align-items: center;
                    justify-content: center;
                    display: flex;

                    border: 3px solid rgba(0, 0, 0, 0.5);
                }
            }

            h2 {

                color: black;
                font-size: 20px;
                text-shadow: 0 0 20px rgba(255, 255, 255, 0.5)
            }
        }

        .discord-profile {
            display: flex;
            flex-direction: row;
            align-items: center;
            background-color: rgba(0, 0, 0, 0.7);
            border: 2px solid rgba(0, 0, 0, 0.2);
            ;
            backdrop-filter: blur(20px);
            padding: 15px 40px;
            border-radius: 16px;
            gap: 20px;
            width: fit-content;
            color: var(--white);

            .discord-avatar {
                position: relative;
                display: flex;

                a {
                    #discord-avatar-img {
                        height: 80px;
                        width: 80px;
                        border-radius: 50%;
                        object-fit: cover;
                    }
                }

                .status-indicator {
                    position: absolute;
                    bottom: 0px;
                    right: 0px;
                    border-radius: 50%;
                    border: 3px solid #1a1a1a;
                    width: 18px;
                    height: 18px;

                }
            }
        }

        .discord-info {
            display: flex;
            justify-content: center;
            align-items: flex-start;
            flex-direction: column;
            gap: 5px;

            .discord-name {
                display: flex;
                flex-direction: row;
                align-items: center;
                gap: 8px;

                #discord-username {
                    margin: 0;
                    font-size: 20px;
                    font-weight: 600;
                }

                .badge {
                    background-color: rgba(255, 255, 255, 0.15);
                    padding: 2px 6px;
                    border-radius: 6px;
                    font-size: 12px;
                    font-weight: bold; 

                    a {
                        img {
                            height: 14px;
                            padding: 0 2.5px 0 0;
                            
                        }
                    }
                }
            }

            .custom-status {
                margin: 0;
                font-size: 14px;
                color: rgba(165, 165, 165, 0.7);

                display: flex;
                align-items: center;
            }
        }
    
        .social-links {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 15px;
         
            .social-icon {
                display: flex;
                justify-content: center;
                align-items: center;
                opacity: 0.65;
                transition: all 0.15s ease;

                background-color: rgba(0,0,0, 0.8);
                padding: 12px;
                border-radius: 12px;
                text-decoration: none;
            } 
            .social-icon:hover {
                opacity: 1;
                background-color: rgba(0,0,0, 1);
                transform: translateY(-3px) scale(1.1);
            }
        }
    }
}