/* LOCK SCROLL */
html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    background-color: black;
}

/* COLUMNS CONTAINER */
.columns {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 500px;
    z-index: 2;
    pointer-events: none;
}

/* SIDE COLUMNS */
.column {
    width: 200px;
    height: 100vh;
    background-color: darkslategray;
    pointer-events: auto;
}

.game {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translateX(-50%);
    width: 240px;
    height: 200px;
    background-color: black;
    border: 5px solid white;
    z-index: 3;
    display: flex;
    flex-direction: column; /* stack tree + text vertically */
    align-items: center;
    justify-content: flex-start; /* tree stays at top */
    padding-top: 50px; 
    gap: 20px; 
    pointer-events: auto;
}
#gameText {
    position: relative;
    color: white;
    text-align: center;
    font-size: 16px;
    animation: flicker 1.0s ease-in;

    width: 240px;         
    word-wrap: break-word;
    white-space: normal;

    margin: 0 auto;       
    display: block;       /* ensure margin auto works */
}

/* PIXEL TREE */
.pxl {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translateX(-50%);
    height: 40px;
    filter: contrast(1.25);
    z-index: 4; 
    cursor: pointer;
}

/* TEXT */
p {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    z-index: 3;
}

/* INTERFERENCE GIF — BEHIND */
.interrer {
    position: absolute;
    right: 23%;
    bottom: 5%;
    height: 500px;
    z-index: 1;
    pointer-events: all; /* optional but good */
    cursor:pointer;
}
@keyframes flicker {
    0% {
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    40% {
        opacity: 0.6;
    }
    100% {
        opacity: 1;
    }
}

.game p {
    position: static; /* remove absolute */
    color: white;
    animation: flicker 0.4s ease-in;
}