 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
     -webkit-tap-highlight-color: transparent;
 }

 :root {
     --mouse-x: 50%;
     --mouse-y: 50%;
 }

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

     background: #000;

     font-family:
         Arial,
         Helvetica,
         sans-serif;
 }

 body {
     display: flex;
     align-items: center;
     justify-content: center;

     padding: 20px;
 }


 /* ======================================================
       MAIN
    ====================================================== */

 .wrapper {
     width: 100%;

     text-align: center;

     opacity: 0;

     transform:
         translateY(12px) scale(.99);

     transition:
         opacity 1.2s ease,
         transform 1.2s ease,
         filter 1.2s ease;

     filter: blur(12px);
 }

 .wrapper.loaded {
     opacity: 1;

     transform:
         translateY(0) scale(1);

     filter: blur(0);
 }

 /* ======================================================
       TITLE
    ====================================================== */

 .title-wrap {
     position: relative;

     display: inline-block;
 }

 .title {
     position: relative;
     z-index: 3;

     font-family:
         Arial Black,
         Arial,
         Helvetica,
         sans-serif;

     font-weight: 900;

     font-size: clamp(2rem, 8vw, 7rem);

     line-height: .95;

     letter-spacing: .08em;

     text-transform: uppercase;

     user-select: none;

     background:
         radial-gradient(circle at var(--mouse-x) var(--mouse-y),
             #00f0ff 0%,
             #00a2ff 20%,
             #7a5cff 48%,
             #ff00aa 78%,
             #ff4fd8 100%),
         linear-gradient(120deg,
             #00f0ff,
             #00a2ff,
             #7a5cff,
             #ff00aa,
             #ff4fd8,
             #00f0ff);

     background-size:
         180% 180%,
         400% 400%;

     -webkit-background-clip: text;
     background-clip: text;

     -webkit-text-fill-color: transparent;

     filter:
         drop-shadow(0 0 10px rgba(0, 240, 255, .28)) drop-shadow(0 0 22px rgba(255, 0, 170, .18));

     animation:
         gradientFlow 10s linear infinite,
         subtlePulse 5s ease-in-out infinite;
 }

 /* ======================================================
       GLITCH LAYERS
    ====================================================== */

 .glitch-layer {
     position: absolute;
     inset: 0;

     font-family:
         Arial Black,
         Arial,
         Helvetica,
         sans-serif;

     font-weight: 900;

     font-size: clamp(2rem, 8vw, 7rem);

     line-height: .95;

     letter-spacing: .08em;

     text-transform: uppercase;

     pointer-events: none;

     opacity: 0;
 }

 .glitch-layer::before {
     content: "DIGITALVADIM";

     position: absolute;
     inset: 0;

     background:
         linear-gradient(90deg,
             #00f0ff,
             #00a2ff,
             #7a5cff,
             #ff00aa,
             #ff4fd8);

     background-size: 300% 300%;

     -webkit-background-clip: text;
     background-clip: text;

     -webkit-text-fill-color: transparent;

     animation:
         gradientFlow 5s linear infinite;
 }

 .glitch-a {
     z-index: 2;

     mix-blend-mode: screen;
 }

 .glitch-b {
     z-index: 1;

     mix-blend-mode: screen;
 }

 /* REALISTIC RANDOM GLITCH */

 .title-wrap.glitching .title {
     animation:
         gradientFlow 10s linear infinite,
         titleLag .12s steps(2) 1;
 }

 .title-wrap.glitching .glitch-a {
     opacity: .38;

     animation:
         glitchA .12s steps(2) 1;
 }

 .title-wrap.glitching .glitch-b {
     opacity: .22;

     animation:
         glitchB .09s steps(2) 1;
 }

 /* ======================================================
       SUBTITLE
    ====================================================== */

 .subtitle {
     margin-top: 18px;

     color: #fff;

     font-size: clamp(.9rem, 1.5vw, 1.08rem);

     letter-spacing: .28em;

     text-transform: lowercase;

     opacity: .9;
 }

 /* ======================================================
       SOCIALS
    ====================================================== */

 .socials {
     margin-top: 34px;

     display: flex;
     justify-content: center;
     align-items: center;

     gap: 18px;
 }

 .social-btn {
     position: relative;

     width: 68px;
     height: 68px;

     border-radius: 18px;

     border:
         1px solid rgba(255, 255, 255, .12);

     background:
         rgba(255, 255, 255, .03);

     backdrop-filter: blur(8px);

     display: flex;
     align-items: center;
     justify-content: center;

     text-decoration: none;

     overflow: visible;

     opacity: 0;

     transform:
         translateY(18px) scale(.96);

     transition:
         transform .25s ease,
         border-color .25s ease,
         background .25s ease,
         opacity .8s ease;
 }

 .wrapper.loaded .social-btn {
     opacity: 1;

     transform:
         translateY(0) scale(1);
 }

 .wrapper.loaded .social-btn:nth-child(1) {
     transition-delay: .15s;
 }

 .wrapper.loaded .social-btn:nth-child(2) {
     transition-delay: .28s;
 }

 .wrapper.loaded .social-btn:nth-child(3) {
     transition-delay: .4s;
 }

 .social-btn i {
     position: relative;
     z-index: 2;

     color: #fff;

     font-size: 1.7rem;

     transition:
         color .25s ease,
         transform .25s ease;
 }

 .social-btn::before {
     content: "";

     position: absolute;
     inset: 0;

     border-radius: inherit;

     opacity: 0;

     transition: opacity .25s ease;

     background:
         radial-gradient(circle at var(--mouse-x) var(--mouse-y),
             #00f0ff 0%,
             #00a2ff 20%,
             #7a5cff 48%,
             #ff00aa 78%,
             #ff4fd8 100%),
         linear-gradient(120deg,
             #00f0ff,
             #00a2ff,
             #7a5cff,
             #ff00aa,
             #ff4fd8);

     background-size:
         180% 180%,
         300% 300%;

     animation:
         gradientFlow 8s linear infinite;
 }

 .social-btn:hover {
     transform: translateY(-4px);

     border-color:
         rgba(0, 240, 255, .38);

     background:
         rgba(255, 255, 255, .05);
 }

 .social-btn:hover::before {
     opacity: 1;
 }

 .social-btn:hover i {
     color: #000;

     transform: scale(1.04);
 }

 /* ======================================================
       TOOLTIP
    ====================================================== */

 .tooltip {
     position: absolute;

     bottom: calc(100% + 16px);

     left: 50%;

     transform:
         translateX(-50%) translateY(8px);

     background: #fff;

     color: #000;

     padding: 12px 15px;

     border-radius: 16px;

     font-size: .82rem;

     white-space: nowrap;

     opacity: 0;

     pointer-events: none;

     box-shadow:
         0 10px 30px rgba(0, 0, 0, .35);

     transition:
         opacity .22s ease,
         transform .22s ease;
 }

 .tooltip::after {
     content: "";

     position: absolute;

     top: 100%;
     left: 50%;

     transform: translateX(-50%);

     border-width: 8px;
     border-style: solid;

     border-color:
         #fff transparent transparent transparent;
 }

 .social-btn:hover .tooltip {
     opacity: 1;

     transform:
         translateX(-50%) translateY(0);
 }

 /* ======================================================
       ANIMATIONS
    ====================================================== */

 @keyframes gradientFlow {
     0% {
         background-position:
             center center,
             0% 50%;
     }

     50% {
         background-position:
             center center,
             100% 50%;
     }

     100% {
         background-position:
             center center,
             0% 50%;
     }
 }

 @keyframes subtlePulse {

     0%,
     100% {
         transform: scale(1);
     }

     50% {
         transform: scale(1.008);
     }
 }

 @keyframes loaderAppear {
     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 /* actual lag spikes */

 @keyframes titleLag {
     0% {
         transform: translate(0);
         filter:
             blur(0) brightness(1);
     }

     20% {
         transform:
             translate(-4px, 2px) skewX(4deg);

         filter:
             blur(.6px) brightness(1.4);
     }

     40% {
         transform:
             translate(6px, -2px) skewX(-6deg);
     }

     60% {
         transform:
             translate(-2px, 1px);
     }

     100% {
         transform: translate(0);
     }
 }

 @keyframes glitchA {
     0% {
         transform: translate(0);
     }

     25% {
         transform:
             translate(-12px, 3px);
     }

     55% {
         transform:
             translate(7px, -2px);
     }

     100% {
         transform: translate(0);
     }
 }

 @keyframes glitchB {
     0% {
         transform: translate(0);
     }

     30% {
         transform:
             translate(9px, -3px);
     }

     70% {
         transform:
             translate(-5px, 2px);
     }

     100% {
         transform: translate(0);
     }
 }

 /* ======================================================
       MOBILE
    ====================================================== */

 @media (max-width:640px) {

     .title,
     .glitch-layer {
         font-size:
             clamp(1.45rem, 8vw, 3rem);

         letter-spacing: .04em;
     }

     .subtitle {
         font-size: 1rem;

         letter-spacing: .18em;
     }

     .socials {
         margin-top: 28px;

         gap: 14px;
     }

     .social-btn {
         width: 62px;
         height: 62px;

         border-radius: 16px;
     }

     .social-btn i {
         font-size: 1.55rem;
     }

     .tooltip {
         font-size: .72rem;

         padding: 10px 12px;
     }

     .loader {
         width: 86vw;
     }
 }