@import url(https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Silkscreen&display=swap);
@font-face {
    font-family: "FVF Fernando";
    src: url("/font/FVF\ Fernando\ 08.ttf") format("truetype");
}
body {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
    font-family: "Press Start 2P", cursive;
    color: #fff;
    text-align: center;
    background: none;
    position: relative;
}
#background-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -2;
}
#moving-background {
    position: absolute;
    top: -20px;
    left: -20px;
    width: calc(100% + 40px);
    height: calc(100% + 40px);
    background: url(/img/background.gif) center/cover no-repeat;
    transition: transform 0.2s ease-out;
}
h1,
h2 {
    margin: 0;
    padding: 0;
    text-shadow: 0 0 10px #000;
}
h1 {
    font-size: 3em;
    margin-bottom: 20px;
    animation: flicker 1.5s infinite alternate;
}
h2 {
    font-size: 1.5em;
    margin-bottom: 40px;
    height: 1.5em;
    overflow: hidden;
}
@keyframes flicker {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}
.matrix-theme {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 100002;
    pointer-events: none;
}
.matrix-char {
    position: absolute;
    color: red;
    text-shadow: 0 0 5px #000;
    opacity: 0;
    transition: all 0.3s ease;
    font-family: "Press Start 2P", cursive;
    font-size: 16px;
    transform-origin: center;
}
@keyframes rotateRight {
    to {
        transform: rotate(360deg);
    }
}
@keyframes rotateLeft {
    to {
        transform: rotate(-360deg);
    }
}
@keyframes moveUpDown {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(20px);
    }
}
.content {
    background-color: rgb(0 0 0 / 0.8);
    padding: 3rem;
    border-radius: 15px;
    border: 2px solid #000;
    box-shadow: 0 0 20px #000;
    max-width: 800px;
    width: 90%;
    margin: 380px 0 20px;
}
.computer-screen {
    position: fixed;
    top: -0.09rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    width: 990px;
    height: 460px;
    background-color: rgb(0 0 0 / 0.9);
    border: 3px solid #fff;
    border-radius: 8px;
    box-shadow: 0 0 20px #fff;
    margin: 0;
    cursor: pointer;
    overflow: hidden;
}
#youtube-player {
    width: 100%;
    height: 100%;
    border: none;
    z-index: 1;
    position: relative;
}
.vimeo-player {
    width: 100%;
    height: 100%;
    border: none;
    z-index: 1;
    position: relative;
}
.catbox-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    position: relative;
}
.streamable-player {
    width: 100% !important;
    height: 100% !important;
    position: absolute !important;
    top: 0;
    left: 0;
    object-fit: cover;
    z-index: 1;
}
.hover-image {
    position: fixed;
    top: -0.09rem;
    left: 50%;
    transform: translateX(-50%);
    width: 990px; 
    height: 460px;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 100001;
    pointer-events: none;
}
.computer-stand {
    width: 20px;
    height: 20px;
    background: none;
    border: none;
    margin: 0;
    box-shadow: none;
}
.social-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}
.social-icon {
    color: #fff;
    font-size: 2.5rem;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px #000;
    position: relative;
}
.social-icon:hover {
    transform: rotate(360deg) scale(1.2);
    color: #fff;
    text-shadow: 0 0 20px #000;
}
.social-icon.zalo-img,
.social-link img.zalo-img {
    width: 1.5em;
    height: 1.5em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    object-fit: cover;
    vertical-align: middle;
    border-radius: 0.25rem;
}

.social-link:hover .zalo-img {
    transform: rotate(360deg) scale(1.2);
    transition: transform 0.3s ease;
}
.social-link {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.social-link:hover::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    transition: opacity 0.5s ease;
}
#facebook:hover::after,
#discord:hover::after,
#github:hover::after,
#tiktok:hover::after {
    background-image: none;
}
@media only screen and (max-width: 768px) {
    h1 {
        font-size: 2em;
    }
    h2 {
        font-size: 1em;
    }
    .social-icon {
        font-size: 2rem;
    }
}
@media only screen and (max-width: 480px) {
    .content {
        padding: 2rem 1rem;
    }
    .social-icons {
        gap: 20px;
    }
    .social-icon {
        font-size: 1.8rem;
    }
}
.monitor-stats {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.459);
    border: 3px solid #ffffff2f;
    border-radius: 5px;
    padding: 8px 24px;
    margin: 0;
    box-shadow: 0 0 10px #000;
    width: auto;
    min-width: 120px;
    position: fixed;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
}
.view-counter {
    position: absolute;
    left: 50%;
    top: calc(50% - 10px);
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 0.5em;
    color: #fff;
    text-shadow: 0 0 5px #000;
    margin: 0;
}
.view-counter i {
    font-size: 1em;
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100000;
    cursor: pointer;
}
.overlay-content {
    color: #fff;
    font-size: 2em;
    text-shadow: 0 0 10px #000;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}
#typewriter-text {
    font-family: "FVF Fernando", cursive;
    font-size: 2em;
    margin-bottom: 50px;
    height: 2em;
    overflow: hidden;
    letter-spacing: 2px;
    padding-bottom: 10px;
    text-align: center;
    color: #fff;
    -webkit-text-stroke: 1px #fff;
    -webkit-text-stroke: 1px #fff;
}
:root {
    --scale: 1.5 --y: 0;
    overflow: hidden;
    body {
        margin: 0;
        background-color: #000;
        outline: none;
        border: none;
        #wrapper {
            width: 100vw;
            height: 100vh;
            #image {
                width: 100vw;
                height: 100vh;
                background-size: cover;
                transform: translateX(var(--x)) translateY(var(--y)) scale(var(--scale));
                transition: ease-out 0.7s;
            }
        }
    }
}
:root {
    --bg-1: #000000;
    --bg-2: #000000;
    --bg-3: #000000;
    --cl-1: #ffffff;
    --cl-2: #ffffff;
    --cl-3: #ffffff;
    --radius: 2rem;
}
@property --eyelid {
    syntax: "<percentage>";
    inherits: false;
    initial-value: 0%;
}
@property --eyelid2 {
    syntax: "<percentage>";
    inherits: false;
    initial-value: 0%;
}
.eyes {
    width: 60px;
    padding-block: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transform: translateY(11px);
}
.eyes div {
    position: relative;
    width: 18px;
    aspect-ratio: 1;
    background: #fff;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.eyes div:before,
.eyes div:after {
    content: "";
    position: absolute;
    width: 116%;
    height: 165%;
    left: 50%;
    animation: eyelid 5s ease-in-out infinite;
    z-index: 1;
}
.eyes div:before {
    top: 0;
    border-radius: 0% 0% 40% 40%;
    transform: translateY(var(--eyelid)) translateX(-50%);
    border-bottom: 9px solid #000;
}
.eyes div:after {
    bottom: 0;
    border-radius: 40% 40% 0% 0%;
    transform: translateY(var(--eyelid2)) translateX(-50%);
    border-top: 9px solid #000;
}
.eyes div i {
    position: absolute;
    width: 12px;
    aspect-ratio: 1;
    background: #000;
    border-radius: inherit;
}
@keyframes eyelid {
    0% {
        --eyelid: -50%;
        --eyelid2: 50%;
    }
    3% {
        --eyelid: 0%;
        --eyelid2: 0%;
    }
    6% {
        --eyelid: -50%;
        --eyelid2: 50%;
    }
    9%,
    100% {
        --eyelid: 0%;
        --eyelid2: 0%;
    }
}
.count-wrapper {
    margin-top: 1px;
}
.svg-worm {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
}
.svg-worm svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.svg-worm svg polyline {
    fill: none;
    stroke-dasharray: 0;
    stroke-width: 1;
    stroke-linecap: round;
    stroke: var(--cl-1) !important;
}
.svg-worm svg polyline:nth-child(2) {
    stroke: var(--cl-2) !important;
}
.svg-worm svg polyline:nth-child(3) {
    stroke: var(--cl-3) !important;
}
.svg-worm svg path {
    fill: none;
    stroke-dasharray: 0;
    stroke-width: 1;
    stroke-linecap: round;
    stroke: var(--cl-2) !important;
}

:root {
    --monitor-scale: 1;
    --monitor-width: 990px;
    --monitor-height: 460px;
}

.computer-screen,
.hover-image {
    position: fixed;
    left: 50%;
    transform: translateX(-50%) scale(var(--monitor-scale));
    transform-origin: top center;
    width: var(--monitor-width);
    height: var(--monitor-height);
}

.content {
    margin: calc(var(--monitor-height) * var(--monitor-scale) + 20px) 0 20px;
    max-width: 800px;
    width: 90%;
}

.monitor-stats {
    position: fixed;
    top: calc(-5px * var(--monitor-scale));
    left: 50%;
    transform: translateX(-50%) scale(var(--monitor-scale));
    transform-origin: top center;
}

@media only screen and (max-width: 1024px) {
    :root {
        --monitor-scale: 0.85;
    }
    body {
        height: 100vh;
        overflow: hidden;
    }
}

@media only screen and (max-width: 768px) {
    :root {
        --monitor-scale: 0.7;
    }
}

@media only screen and (max-width: 480px) {
    :root {
        --monitor-scale: 0.55;
    }

    .content {
        padding: 1rem !important;
        margin: calc(var(--monitor-height) * var(--monitor-scale) + 12px) 0 30px !important;
        border-radius: 12px;
    }

    .social-icons {
        gap: 12px;
    }

    .monitor-stats {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
}

