@font-face {
    font-family: "Pixel";
    src: url("../font/Doto-VariableFont_ROND\,wght.ttf") format("truetype");
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Pixel', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    cursor: none !important;
}

.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 32px;
    height: 32px;
    pointer-events: none;
    z-index: 9999;
    background-image: url("../cursor/cursor.png");
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.1s ease;
    transform: translate(-50%, -50%);
}
.custom-cursor.hovered {
    background-image: url("../cursor/pointer.png");
}

body {
    min-height: 100vh;
    height: 100%;
    width: 100%;
    background: linear-gradient(45deg, #189e93cb, #56b6a098, #8b2299ab, #20163ce5) fixed;
    color: white;
    animation: bg 20s linear infinite; 
    background-size: 400% 400%;
    overflow: hidden;
}

@keyframes bg {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 17, 39, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
}

#loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
    color: #fff;
    font-size: 2.5rem;
    letter-spacing: 3px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    animation: neon-glow 1.5s infinite alternate;
}

@keyframes neon-glow {
    from { text-shadow: 0 0 10px rgba(255, 255, 255, 0.8); }
    to { text-shadow: 0 0 15px rgba(255, 255, 255, 1), 0 0 20px rgba(255, 255, 255, 0.6); }
}

.cat-loader {
    width: 60px;
    height: 60px;
    background-color: #ff69b4;
    position: relative;
    margin: 20px auto 0;
    overflow: visible;
    animation: cat-wobble 1s ease-in-out infinite alternate;
}

.cat-loader::before,
.cat-loader::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 20px solid #ff69b4;
    top: -15px;
}

.cat-loader::before { left: 5px; transform: rotate(-15deg); }
.cat-loader::after { right: 5px; transform: rotate(15deg); }


.cat-loader-tail {
    position: absolute;
    bottom: 0;
    right: -10px;
    width: 15px;
    height: 5px;
    background-color: #ff69b4;
    border-radius: 50% 0 0 50%;
    transform-origin: left center;
    animation: tail-wag 0.5s ease-in-out infinite alternate;
}

@keyframes tail-wag {
    from { transform: rotate(0deg); }
    to { transform: rotate(-30deg); }
}

@keyframes cat-wobble {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-5px) rotate(2deg); }
    100% { transform: translateY(0) rotate(-2deg); }
}

#container {
    width: 90%; 
    max-width: 500px; 
    min-height: 600px;
    margin: auto;
    margin-top: 20px; 
    display: flex;
    flex-direction: column;
    gap: 25px;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
    background: linear-gradient(135deg,rgba(255, 255, 255, 0.15),rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-left: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    border-radius: 20px;
}
#img {
    background: url("../img/kedy.jpg") no-repeat center;
    background-size: cover;
    margin-top: 10px;
    border-radius: 100%;
    width: 160px;
    height: 160px;
    transition: all 0.3s ease-in-out;
}
#img:hover {
    box-shadow: -8px 6px 10px #ff0000;
}
#profile-info {
    text-align: center;
    margin-top: -15px;
}
#profile-info h2 {
    color: #fff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.7), 0 0 15px rgba(255, 255, 255, 0.4);
    animation: pulse-glow 3s infinite alternate;
}

.common {
    width: 90%;
    height: 50px; 
    border: 1px solid;
    border-radius: 20px;
    transition: all 0.3s ease-in-out;
    display: flex; 
    justify-content: center; 
    align-items: center;
    padding: 0;

    &:hover{
        background: linear-gradient(rgba(255, 255, 255, 0.3),rgba(255, 255, 255, 0.2));
        -webkit-backdrop-filter: blur(50px);
        backdrop-filter: blur(50px);
    }
}
.inner-content {
    width: 230px; 
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
}
.icon-box {
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.6rem;
    flex-shrink: 0;
}
.text-box {
    flex-grow: 1;
    display: flex;
    align-items: center;
    padding-left: 10px;
    white-space: nowrap;
}

a { text-decoration: none; color: white; }

#instagram { 
    box-shadow: -4px 3px 5px #833AB4;
    &:hover {
        box-shadow: -8px 6px 10px #833AB4;
        & .icon-box, & .text-box {
            background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            color: transparent;
        }
    }
}

#discord { box-shadow: -4px 3px 5px #5865f2; &:hover { box-shadow: -8px 6px 10px #5865f2; color: #5865f2; } }
#spotify { box-shadow: -4px 3px 5px #1db954; &:hover { box-shadow: -8px 6px 10px #1db954; color: #1db954; } }
#youtube { box-shadow: -4px 3px 5px #ff0000; &:hover { box-shadow: -8px 6px 10px #ff0000; color: #ff0000; } }
#steam { box-shadow: -4px 3px 5px #2a475e; &:hover { box-shadow: -8px 6px 10px #2a475e; color: #2a475e; } }
#twitter { box-shadow: -4px 3px 5px #55acee; &:hover { box-shadow: -8px 6px 10px #55acee; color: #55acee; } }
#snapchat { box-shadow: -4px 3px 5px #fffc00; &:hover { box-shadow: -8px 6px 10px #fffc00; color: #fffc00; } }
#github { box-shadow: -4px 3px 5px #171515; &:hover { box-shadow: -8px 6px 10px #171515; color: #171515; } }


@media (max-width: 575px) {
    .custom-cursor{ display: none !important; }
    #container { margin-top: 3px; gap: 15px; min-height: auto; }
    
    body { animation: bg 5s linear infinite;}
    #profile-info h2 { font-size: 2rem; }

    .cat-loader { width: 50px; height: 50px; }
    .cat-loader::before, .cat-loader::after { border-left: 8px solid transparent; border-right: 8px solid transparent; border-bottom: 16px solid #ff69b4; top: -13px;}
    .cat-loader-tail { width: 12px; height: 4px; right: -8px;}
}

@media (max-width: 380px) {
    * { font-size: 1.2rem; }
    body{ overflow-y: visible; }
    #container { margin-top: 2px; gap: 15px; min-height: auto; }
    #img { width: 140px; height: 140px; }
    #profile-info h2 { font-size: 1.8rem; }
    
    .cat-loader { width: 40px; height: 40px; }
    .cat-loader::before, .cat-loader::after { border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 12px solid #ff69b4; top: -11px;}
    .cat-loader-tail { width: 10px; height: 3px; right: -6px;}
}