/* Reset i podstawy */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    height: 100vh;
    perspective: 1000px;
    cursor: none;
    overflow-x: hidden;
}

#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: -1;
}

:root {
    --main-bg: rgba(0, 0, 0, 0.637);
    --main-accent: rgb(70, 70, 70);
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 999;
    transition: opacity 0.5s ease;
}

#overlay h1 {
    font-family: 'Press Start 2P', cursive;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.801);
    opacity: 0;
    animation: cwelll 0.3s ease-out forwards;
    transform: translateY(90px);
}

@keyframes cwelll {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.con {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    background-color: var(--main-bg);  
    width: 40%;
    height: 40%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 30px;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
}

.wrap {
    perspective: 1000px;
}

.prof {
    width: 125px;
    height: 125px;
    border-radius: 50%; 
    background-image: url(https://r2.fivemanage.com/9HGjq7tZ3cMwULG5lQ4Ur/prof.png);
    margin-top: -33%;
    position: relative;
    background-size: cover;
}

.deco {
    content: "";
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    top: -10%;
    width: 150px;
    height: 150px;
    background-image: url(https://images-ext-1.discordapp.net/external/tAQ9NFa32L8-sPgPk0z2XT7CVaG3mP_XSFysUxRdzIQ/%3Fsize%3D240%26passthrough%3Dfalse/https/cdn.discordapp.com/avatar-decoration-presets/a_c3cffc19e9784f7d0b005eecdf1b566e.png?format=webp&quality=lossless);
    background-size: cover;
    background-position: center;
    pointer-events: none;
}

.prof p {
    position: absolute;
    color: whitesmoke;
    margin-top: 110%;
    font-size: 16px;
    font-weight: 500;
    left: 50%;
    transform: translateX(-50%);
    border-right: 2px solid white;
    white-space: nowrap;
    overflow: hidden;
    font-family: 'Press Start 2P', cursive;
}

.status {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--main-bg);
    position: absolute;
    bottom: 0;
    right: 0;
}
 
.status.online { background-color: #43b581; }
.status.idle { background-color: #faa61a; }
.status.dnd { background-color: #f04747; }
.status.offline { background-color: #747f8d; }
.status.invisible { background-color: #747f8d; }

.views {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--main-bg);
    width: 70px;
    height: 25px;
    border-radius: 5px;
    display: flex;
    gap: 5px;
    padding: 1px;
    margin-top: 10px;
    color: whitesmoke;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

.views::after {
    content: "Profile Views";
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--main-bg);
    color: white;
    padding: 3px 6px;
    font-size: 12px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    z-index: 10;
}

.views:hover::after {
    opacity: 1;
}

.uid {
    position: absolute;
    top: 100%;
    left: 0%;
    background-color: var(--main-bg);
    width: 70px;
    height: 25px;
    border-radius: 5px;
    display: flex;
    gap: 5px;
    padding: 1px;
    margin-top: 10px;
    color: whitesmoke;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

.uid::after {
    content: "User ID";
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--main-bg);
    color: white;
    padding: 3px 6px;
    font-size: 12px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    z-index: 10;
}

.uid:hover::after {
    opacity: 1;
}

.socials {
    position: absolute;
    bottom: 55px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 30px;
}

.socials a {
    color: white;
    font-size: 24px;
    transition: color 0.3s;
    font-size: 35px;
}

.socials a:hover {
    color: var(--main-accent);
}

.act {
    position: absolute;
    top: -37%;
    left: 0%;
    background-color: var(--main-bg);
    width: 100%;
    height: 30%;
    border-radius: 30px;
    display: flex;
    gap: 5px;
    padding: 1px;
    margin-top: 10px;
    color: rgb(70, 70, 70);
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

.song-logo {
    position: absolute;
    width: 100px;
    height: 100px;
    background-image: url(https://r2.fivemanage.com/9HGjq7tZ3cMwULG5lQ4Ur/vkie.png);
    border-radius: 30px;
    right: 85%;
}

.song-name {
    position: absolute;
    left: 17%;
    top: 25%;
    color: whitesmoke;
    font-size: 23px;
    white-space: nowrap;
}

.music-player {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 600px;
    padding: 10px 15px;
    border-radius: 15px;
    color: whitesmoke;
    font-family: sans-serif;
    left: 15.4%;
    top: 47%;
}

.time { font-size: 14px; }

.progress {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: #333;
    outline: none;
}

.progress::-webkit-slider-runnable-track {
    height: 8px;
    border-radius: 5px;
    background: linear-gradient(to right, #ffffff 30%, #333 30%);
}

.progress::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: hsl(0, 0%, 100%);
    cursor: pointer;
    margin-top: -4px;
}

.progress::-moz-range-track {
    height: 8px;
    border-radius: 5px;
    background: #333;
}

.progress::-moz-range-progress {
    background-color: #ffffff;
    height: 8px;
    border-radius: 5px;
}

.progress::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
}

.progress::-ms-track {
    width: 100%;
    height: 8px;
    background: transparent;
    border-color: transparent;
    color: transparent;
}

.progress::-ms-fill-lower {
    background: #ffffff;
    border-radius: 5px;
}

.progress::-ms-fill-upper {
    background: #333;
    border-radius: 5px;
}

.progress::-ms-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
}

.controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.controls i {
    font-size: 18px;
    cursor: pointer;
}

.volume {
    -webkit-appearance: none;
    appearance: none;
    width: 200px;
    height: 8px;
    border-radius: 5px;
    background: #555;
    outline: none;
}

.volume::-webkit-slider-runnable-track {
    height: 8px;
    border-radius: 5px;
    background: linear-gradient(to right, rgb(255, 255, 255) 50%, #555 50%);
}

.volume::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgb(255, 255, 255);
    border: 2px solid #fff;
    cursor: pointer;
    margin-top: -4px;
}

.volume::-moz-range-track {
    height: 8px;
    border-radius: 5px;
    background: #555;
}

.volume::-moz-range-progress {
    background-color: rgb(255, 255, 255);
    height: 8px;
    border-radius: 5px;
}

.volume::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgb(255, 255, 255);
    border: 2px solid #fff;
    cursor: pointer;
}

.volume::-ms-track {
    width: 100%;
    height: 8px;
    background: transparent;
    border-color: transparent;
    color: transparent;
}

.volume::-ms-fill-lower {
    background: #555;
    border-radius: 5px;
}

.volume::-ms-fill-upper {
    background: #555;
    border-radius: 5px;
}

.volume::-ms-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgb(255, 255, 255);
    border: 2px solid #fff;
    cursor: pointer;
}

.dclink {
    position: absolute;
    top: 47%;
    background-color: rgba(110, 110, 110, 0.205);
    width: 50%;
    height: 20%;
    border-radius: 30px;
    display: flex;
    gap: 5px;
    color: rgb(70, 70, 70);
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

.dcprof {
    position: absolute;
    width: 65px;
    height: 65px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 25px;
    right: 80%;
}

.dcname {
    position: absolute;
    left: 23%;
    color: whitesmoke;
    font-size: 20px;
    white-space: nowrap;
    top: 20px;
}

.dcstats {
    position: absolute;
    left: 23%;
    color: rgba(245, 245, 245, 0.616);
    font-size: 12px;
    white-space: nowrap;
    top: 48px;
}

.presence {
    position: absolute;
    left: 23%;
    top: 66px;
    color: rgba(245, 245, 245, 0.7);
    font-size: 10px;
    white-space: nowrap;
}

.presence-activity {
    margin-top: 3px;
    color: rgba(245, 245, 245, 0.5);
    font-size: 9px;
    white-space: nowrap;
}

.presence-label {
    color: rgba(245, 245, 245, 0.6);
    margin-right: 6px;
}

.dclink a {
    position: absolute;
    color: white;
    font-size: 35px;
    left: 75%;
    transition: transform 0.4s;
    text-decoration: none;
    bottom: 31%;
}

.dclink a:hover {
    transform: scale(110%);
}

.dclink p {
    position: absolute;
    font-size: 10px;
    color: rgba(245, 245, 245, 0.616);
    left: 50%;
    transform: translateX(-50%);  
    top: 95%;
}

.copyright {
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  z-index: 100;
}

@media (max-width: 1200px) {
    .con {
        width: 50%;
        height: 50%;
    }
    
    .prof {
        width: 110px;
        height: 110px;
    }
    
    .prof p {
        font-size: 14px;
    }
    
    .dcname {
        font-size: 18px;
    }
    
    .dcstats {
        font-size: 11px;
    }
    
    .song-name {
        font-size: 20px;
    }
    
    .music-player {
        width: 500px;
        left: 12%;
    }
}

@media (max-width: 900px) {
    .con {
        width: 60%;
        height: 60%;
    }
    
    .prof {
        width: 100px;
        height: 100px;
    }
    
    .prof p {
        font-size: 12px;
    }
    
    .dcname {
        font-size: 16px;
    }
    
    .dcstats {
        font-size: 10px;
    }
    
    .song-name {
        font-size: 18px;
    }
    
    .music-player {
        width: 400px;
        left: 10%;
    }
    
    .song-logo {
        width: 80px;
        height: 80px;
    }
    
    .socials a {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .con {
        width: 85%;
        height: 85%;
        flex-direction: column;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .act {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        height: auto;
        margin-bottom: 20px;
        padding: 10px;
    }
    
    .prof {
        position: relative;
        width: 80px;
        height: 80px;
        margin: 0 auto 20px;
        margin-top: 0;
    }
    
    .prof p {
        font-size: 10px;
        margin-top: 90px;
    }
    
    .deco {
        width: 90px;
        height: 90px;
    }
    
    .dclink {
        position: relative;
        width: 100%;
        height: auto;
        top: auto;
        margin-bottom: 20px;
        padding: 15px;
    }
    
    .dcname {
        font-size: 14px;
        left: auto;
        top: auto;
        text-align: center;
        position: relative;
    }
    
    .dcstats {
        font-size: 10px;
        left: auto;
        top: auto;
        text-align: center;
        position: relative;
        margin-top: 5px;
    }
    
    .dcprof {
        position: relative;
        width: 40px;
        height: 40px;
        right: auto;
        margin: 0 auto 10px;
        display: block;
    }
    
    .dclink a {
        position: relative;
        left: auto;
        bottom: auto;
        font-size: 25px;
        display: block;
        text-align: center;
        margin-top: 10px;
    }
    
    .song-name {
        font-size: 14px;
        left: auto;
        text-align: center;
        position: relative;
        margin-bottom: 10px;
    }
    
    .music-player {
        position: relative;
        width: 90%;
        left: auto;
        top: auto;
        margin: 0 auto;
        display: flex;
        justify-content: center;
    }
    
    .song-logo {
        position: relative;
        width: 50px;
        height: 50px;
        right: auto;
        margin: 0 auto 10px;
        display: block;
    }
    
    .socials {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: 20px;
    }
    
    .socials a {
        font-size: 20px;
    }
    
    .views, .uid {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        margin: 5px;
        display: inline-block;
    }
    
    .views {
        margin-right: 10px;
    }
}

@media (max-width: 480px) {
    .con {
        width: 95%;
        height: auto;
        min-height: 90vh;
        padding: 20px 10px;
    }
    
    .act {
        padding: 8px;
        margin-bottom: 15px;
    }
    
    .prof {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .prof p {
        font-size: 8px;
        margin-top: 70px;
    }
    
    .deco {
        width: 70px;
        height: 70px;
    }
    
    .dclink {
        padding: 10px;
        margin-bottom: 15px;
    }
    
    .dcname {
        font-size: 12px;
    }
    
    .dcstats {
        font-size: 8px;
    }
    
    .dcprof {
        width: 30px;
        height: 30px;
    }
    
    .dclink a {
        font-size: 20px;
    }
    
    .song-name {
        font-size: 12px;
    }
    
    .music-player {
        width: 95%;
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .song-logo {
        width: 40px;
        height: 40px;
    }
    
    .socials a {
        font-size: 18px;
    }
    
    .views, .uid {
        width: 45px;
        height: 18px;
        font-size: 9px;
    }
    
    .volume {
        width: 100px;
    }
}

@media (max-width: 360px) {
    .con {
        width: 98%;
        padding: 15px 5px;
    }
    
    .prof {
        width: 50px;
        height: 50px;
    }
    
    .prof p {
        font-size: 7px;
        margin-top: 60px;
    }
    
    .deco {
        width: 60px;
        height: 60px;
    }
    
    .dcname {
        font-size: 10px;
    }
    
    .dcstats {
        font-size: 7px;
    }
    
    .dcprof {
        width: 25px;
        height: 25px;
    }
    
    .dclink a {
        font-size: 18px;
    }
    
    .song-name {
        font-size: 10px;
    }
    
    .music-player {
        width: 100%;
    }
    
    .song-logo {
        width: 35px;
        height: 35px;
    }
    
    .socials a {
        font-size: 16px;
    }
    
    .views, .uid {
        width: 40px;
        height: 16px;
        font-size: 8px;
    }
    
    .volume {
        width: 80px;
    }
}