.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.avatar-panel {
    position: relative;
    width: 100%;
    max-width: 720px;
    aspect-ratio: 16 / 9;
    padding: 10px;
    border: 2px solid var(--color-border);
    box-shadow: var(--button-shadow);
    overflow: hidden;
    cursor: pointer;
    transition: all .5s;

    clip-path: polygon(
        25px 0,
        calc(100% - 25px) 0,
        100% 25px,
        100% calc(100% - 25px),
        calc(100% - 25px) 100%,
        25px 100%,
        0 calc(100% - 25px),
        0 25px
    );
    
    background:
        radial-gradient(circle at 20% 120%, rgba(160, 70, 255, 0.18), transparent 35%),
        linear-gradient(135deg, rgba(20, 12, 32, 0.96), rgba(8, 5, 15, 0.98));
    
    background: url(../../imgs/Texture/button-dark.png) center;
    background-size: 1000px;
    animation: avatarImageBackground 4s;
}

.avatar-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    height: 200%;

    background: repeating-linear-gradient(
        to bottom,
        rgba(255, 255, 255, .04) 0px,
        rgba(255, 255, 255, .04) 1px,
        transparent 1px,
        transparent 6px
    );
    mix-blend-mode: screen;
    animation: avatarImageGlitchAnim 3s infinite linear;
}

.avatar-panel:hover:before {
    scale: 1.2;
}

.avatar-panel::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
    linear-gradient(90deg, transparent, rgba(174, 0, 255, 0.55), transparent),
    linear-gradient(90deg, rgba(255, 0, 90, 0.18), transparent, rgba(0, 180, 255, 0.18));

    mix-blend-mode: screen;
    animation: glitchSlices 2s steps(1) infinite;
}

.avatar-panel:hover {
    scale: 1.01;
    border-color: var(--color-border-hover);
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter:
        contrast(1.1)
        saturate(1.15)
        brightness(0.82);
    animation: avatarIntroImageAnim 4s, avatarImageAnim 10s infinite;
}

div.infoContaner {
    cursor: default;
    background: radial-gradient(
        circle at center,
        rgb(0, 0, 0) 0%,
        rgb(0, 0, 0) 35%,
        rgba(0, 0, 0, 0.5) 65%,
        rgba(0, 0, 0, 0) 100%
    );
    border-radius: 18px;
    overflow: hidden;
    backdrop-filter: blur(4px);

    margin: 0;
    left: 10px;
    width: 37vw;
    min-width: min-content;
    min-height: 50%;
    height: 50vh;
    min-height: fit-content;
    padding: 7vh 1vw;
    text-align: center;
}

div.infoContaner > * {
  position: relative;
  z-index: 1;
}

.glitcTitle {
    position: relative;
    font-size: 8rem;
    font-weight: 900;
    letter-spacing: 4px;
    color: var(--color-text-main);
    text-transform: uppercase;

    text-shadow:
      0 0 8px #a855f7,
      0 0 18px #7c3aed,
      0 0 35px #6d28d9;
}

.glitcTitle::before,
.glitcTitle::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    color: var(--color-text-main);
}

.glitcTitle::before {
    left: 3px;
    text-shadow: -3px 0 var(--color-text-glitch-1);
    animation: glitch-1 1.5s infinite steps(1);
}

.glitcTitle::after {
    left: -3px;
    text-shadow: 3px 0 var(--color-text-glitch-2);
    animation: glitch-2 1s infinite steps(1);
}

.infoSubtitle {
    margin: 0 10%;
    font-size: 1.2rem;
    font-family: 'Share Tech Mono', monospace;
    margin-bottom: 2vh;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center ;
    justify-content: center;
    gap: 0 10px;
    width: 100%;
    color: #b66cff;
    font-weight: 600;
    font-size: 1.2rem;
    text-shadow:
        0 0 6px #8b3dff,
        0 0 12px #6d22ff;
    font-family: 'Share Tech Mono', monospace;
}


.tags span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tags span:not(:last-child)::after {
    content: "•";
    color: var(--color-border-hover);
    text-shadow:
        0 0 6px #a855f7,
        0 0 12px #7c3aed;
}

/* CARDS */

div.cardsContainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 6vh;
    height: 50%;
    width: 100%;
    font-family: 'Share Tech Mono', monospace;
}

.pixelCard {
    position: relative;
    width: 30vw;
    min-height: 230px;
    display: flex;
    padding: 2vw;
    text-decoration: none;
    color: #d9c9ff;

    background:
        radial-gradient(circle at 20% 120%, rgba(160, 70, 255, 0.18), transparent 35%),
        linear-gradient(135deg, rgba(20, 12, 32, 0.96), rgba(8, 5, 15, 0.98));
    
    background: url(../../imgs/Texture/button-dark.png) center;
    background-size: 600px;

    border: 2px solid var(--color-border);
    box-shadow: var(--button-shadow);

    clip-path: polygon(
        18px 0,
        calc(100% - 18px) 0,
        100% 18px,
        100% calc(100% - 18px),
        calc(100% - 18px) 100%,
        18px 100%,
        0 calc(100% - 18px),
        0 18px
    );

    transition: 0.25s ease;
    overflow: hidden;
}

.pixelCard::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(190, 115, 255, .55);
        clip-path: inherit;
    pointer-events: none;
    box-shadow: inset 0 0 12px rgba(156, 60, 255, .3);
}

.pixelCard::after {
    height: 200%;
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        to bottom,
        rgba(255, 255, 255, .04) 0px,
        rgba(255, 255, 255, .04) 1px,
        transparent 1px,
        transparent 5px
    );
    mix-blend-mode: screen;
    animation: pixelCardGlitchAnim 1s linear infinite;
}

.pixelCard:hover::after {
    background: repeating-linear-gradient(
        to bottom,
        rgba(255, 255, 255, .1) 0px,
        rgba(255, 255, 255, .1) 1px,
        transparent 1px,
        transparent 5px
    );
}

.pixelCard:hover {
    transform: translateY(-4px) scale(1.01);
    border-color: var(--color-border-hover);
    box-shadow:
        0 0 22px rgba(177, 92, 255, 0.95),
        0 0 48px rgba(117, 38, 255, 0.45),
        inset 0 0 24px rgba(142, 63, 255, 0.25);
}

.pixel-text h2 {
    margin: 0 0 20px;
    font-size: 35px;
}

.pixel-text h2 svg {
    transform: translateY(5px);
    height: 40px;
    width: 40px;
    padding: 2px;
    margin-right: 15px;
    border-radius: 100%;
    color: var(--color-text-purple);
}


.pixel-text h2 span {
    position: relative;
    display: inline-block;
    color: var(--color-text-purple);
    text-shadow: 0 0 5px #a83cff;
}

.pixel-text h2 span::before,
.pixel-text h2 span::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    transition: all .1s linear;
}

.pixel-text h2 span::before {
    z-index: -1;
    color: var(--color-text-glitch-1);
    transform: translateX(-1px) translateY(-1px);
}

.pixel-text h2 span::after {
    z-index: -2;
    color: var(--color-text-glitch-2);
    transform: translateX(1px) translateY(1px);
}

.pixelCard:hover .pixel-text h2 span::before { transform: translateX(-2px) translateY(-2px) }
.pixelCard:hover .pixel-text h2 span::after { transform: translateX(2px) translateY(2px) }

.pixel-text p {
    max-width: 360px;
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.45;
    color: #cfc2df;
}

.pixel-arrow {
    position: absolute;
    right: 42px;
    bottom: 36px;
    font-size: 34px;
    color: #d787ff;
    text-shadow:
        0 0 8px #b85cff,
        0 0 18px #b85cff;
}

button,
a,
div {
  touch-action: pan-y manipulation;
}