* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --counter-h: 40px;
}

body,
html {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #ffffff;
}

#top-left-text {
    position: fixed;
    top: 40px;
    left: 40px;
    right: 40px;
    display: flex;
    flex-direction: column;
    color: #ffffff;
    font-family: 'Inter', 'Roboto', sans-serif;
    font-size: 3rem;
    font-weight: 300;
    line-height: 1.2;
    pointer-events: none;
    z-index: 9999;
    letter-spacing: 1px;
    opacity: 0;
    /* Pre-hide to prevent FOUC */
}

.text-line-mask {
    overflow: hidden;
    position: relative;
    /* ensure proper height calculation */
}

.text-line {
    display: block;
    will-change: transform;
}

#bottom-right-container {
    position: fixed;
    bottom: 30px;
    right: 40px;
    display: flex;
    align-items: center;
    gap: 3.5rem;
    /* Pushes the text further to the left */
    z-index: 9999;
}

#counter-wrapper,
#bottom-brand {
    height: var(--counter-h);
    overflow: hidden;
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 300;
    pointer-events: none;
    letter-spacing: 2px;
    opacity: 0;
    /* Pre-hide to prevent FOUC */
}

#counter-wrapper {
    font-family: 'Inter', 'Roboto', sans-serif;
}

#counter-numbers {
    display: flex;
    flex-direction: column;
}

.counter-num {
    height: var(--counter-h);
    line-height: var(--counter-h);
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    :root {
        --counter-h: 30px;
    }

    #bottom-right-container {
        bottom: 20px;
        right: 20px;
        gap: 1.5rem;
    }

    #counter-wrapper,
    #bottom-brand {
        font-size: 1.35rem;
        letter-spacing: 1px;
    }

    #top-left-text {
        top: 25px;
        left: 20px;
        right: 20px;
        font-size: 2rem;
    }
}

#canvas-container {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}