/* Inter is the site's own copy (Latin and Polish, variable weights); nothing is loaded from Google Fonts */
@font-face { font-family:"Inter"; src:url("../assets/fonts/Inter-Variable.woff2") format("woff2"); font-weight:100 900; font-display:swap; }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    /* scroll-behavior: auto;    */
    /* overflow-x: hidden;  */
    /* overflow-x: clip; */
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: #191919;    
    overflow-y: auto;
    font-family: Inter, sans-serif;
    font-weight: 500;
    color: #fff;
    overscroll-behavior: none;

}

.popup {    
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #252525aa;
    backdrop-filter: blur(30px);    
    border-radius: 20px;
    padding: 20px;
    z-index: 2000;
    height: auto;
    width: auto;
    max-width: 80vw;
    max-height: 80vh;
    min-height: 200px;
    box-shadow: 0 0 10px #111;
    display: flex;
    flex-direction: column;   
    overflow: hidden;        
}
#about-close {
    position: absolute;
    top: 5px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-weight: 300;
    font-size: 50px;
    cursor: pointer;
    font-family: Inter, sans-serif;
    transition: color 0.3s ease;
    width: 30px;
    height: 30px;
    line-height: 40px;
    transform: rotate(-45deg);
}
#about-close:hover {
    color: #1DDB52;
}       

#about-content {
    display: flex;
    flex-direction: column;
    align-items: center;         
    font-size: 16px;    
    height: 100%;
    overflow-y: auto;
    padding-right: 10px;
    flex: 1;
  -webkit-overflow-scrolling: touch; 
  overscroll-behavior: contain;      
  touch-action: pan-y;
}


#about-content::-webkit-scrollbar {
  width: 6px;
}
#about-content::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 10px;
}
#about-content::-webkit-scrollbar-track {
  background: transparent;
}
#about-content h2 {
    margin-bottom: 15px;
    font-size: 24px;    
    font-weight: 700;
}
.faq-item {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    margin-top: 10px;
    margin-bottom: 10px;
    width: 100%;
}
.faq-item label {
    margin-bottom: 5px;
    font-size: 16px;
    color: #1DDB52;
    font-weight: 600;
}
.faq-item p {
    font-size: 16px;
    color: #fff;
    font-weight: 400;
}
#about-lang-toggle {
    position: absolute;
    top: 10px;
    left: 15px;
    background: none;
    border: none;
}
#about-lang-toggle button {
    background: none;
    border: none;
    color: #fff;
    padding: 5px 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
    font-family: Inter, sans-serif;
}
#about-lang-toggle button.on {    
    color: #1DDB52;    
}
#about-lang-toggle button:hover {
    color: #1DDB52;
}

#sidenav {
    position: fixed;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto;
    width: auto;
    transition: all 0.3s ease-in-out;
}
#sidenav.hidden {
    right: -20px;
}
#sidenav .snapdot {
    box-sizing: border-box;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #434343;
    /* border: 1px solid #434343; */
    margin: 10px 0;
    cursor: pointer;
    position: relative;
    overflow: visible;
    transition: all 0.3s ease;
    z-index: 999;
}
#sidenav .snapdot.current {
    width: 10px;
    height: 10px;
    /* border: 9px solid #434343; */
    /* margin: 8px 0; */
}
#sidenav .snapdot:not(.current):hover {
    width: 10px;
    height: 10px;
    /* border: 9px solid #434343; */
    /* margin: 8px 0; */
    
}
#sidenav .snapdot::before {
    content: '';
    position: absolute;
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #434343;
    border-radius: 50%;
    z-index: 997;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all 0.3s ease-in-out;
}
#sidenav .snapdot.current::before,
#sidenav .snapdot:not(.current):hover::before {
    opacity: 1;
    width: 16px;
    height: 16px;
}
#sidenav .snapdot::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 14px;
    background-color: #1DDB52;
    border-radius: 2px;
    left: 50%; 
    transform: translateX(-1px);
    display: inline-block;
    transition: opacity 0.5s ease;
    opacity: 0;
    z-index: 999;
    top: 100%;
    bottom: auto;
    margin: 3px 0 0 0;
}
#sidenav .snapdot.out::after {
    opacity: 0.7;
}
#sidenav .snapdot.up::after {
    top: auto;
    bottom: 100%;
    margin: 0 0 3px 0;
}



#sidenav .snapdot .snapdotdot {
    position: absolute;
    z-index: 998;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    overflow: hidden;
}
#sidenav .snapdot .snapdotdot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    top:50%;
    opacity: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #1DDB52;
    
}
#sidenav .snapdot.current .snapdotdot::after {
    opacity: 1;
    animation: snapdotdotDown 0.5s ease; 
    /* transition: all 0.5s ease; */
}
#sidenav .snapdot.current.up .snapdotdot::after {
    animation: snapdotdotUp 0.5s ease; 
    /* transition: all 0.5s ease; */
}
#sidenav .snapdot.out .snapdotdot::after {
    top: 50%;
    opacity: 0;
    animation: snapdotdotOutDown 0.5s ease;
}
#sidenav .snapdot.out.up .snapdotdot::after {
    top: 50%;
    opacity: 0;
    animation: snapdotdotOutUp 0.5s ease;
}
@keyframes snapdotdotDown {
    0% {
        opacity: 0;
        top: -60%;
    }
    10% {
        opacity: 1;
    }
    100% {
        top: 50%;
    }  
}
@keyframes snapdotdotOutDown {
    0% {
        opacity: 1;
        top: 50%;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        top: 160%;
    }  
}
@keyframes snapdotdotUp {
    0% {
        opacity: 0;
        top: 160%;
    }
    10% {
        opacity: 1;
    }
    100% {
        top: 50%;
    }  
}
@keyframes snapdotdotOutUp {
    0% {
        opacity: 1;
        top: 50%;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        top: -60%;
    }  
}
#sidenav .snapdot label {
    position: absolute;
    right: 20px;
    top: 50%;
    color: #fff;
    transform: translateY(-50%);
    font-size: 12px;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    text-align: right;
    transition: all 0.3s ease;
    pointer-events: none;
}
#sidenav .snapdot.current label {
    right: 25px;
    font-size: 14px;
}
#sidenav .snapdot:hover label {
    opacity: 1;
    pointer-events: all;
}

#topnav {
    position: fixed;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    height: 60px;
    padding: 5px 20px;
    background: #252525aa;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    backdrop-filter: blur(30px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    /* border: 2px solid #111; */
    font-size: 14px;
    font-weight: 500;
    transition: all 0.5s ease;
    box-shadow: 0 0 5px #111;
}
#topnav::after {
    content:'...';
    font-size: 40px;
    line-height: 10px;
    height: 10px;
    position: absolute;
    width: :auto;
    color: #1DDB52;
    bottom: 17px;
    left: 50%;
    opacity: 1;
    transform: translateX(-50%) ;
    transition: all 0.5s ease;
}
#topnav .spacer {
    margin: 0 5px;
    color: #555;
}
#topnav .hilowtoggle {
    position: relative;
    display: flex;
    align-items: center;
}
#topnav .hilowtoggle label {
    position: absolute;
    width: 100%;
    height: auto;
    font-size: 8px;
    text-transform: uppercase;
    color: #999;
    top: -6px;
    text-align: center;
}
#topnav button {
    background: none;
    border: none;
    color: #fff;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
    font-family: Inter, sans-serif;
    white-space: nowrap;
}
#topnav button.on {
    text-decoration: underline;
    text-decoration-color: #1DDB52;
    text-decoration-thickness: 1px;
}
#topnav button:hover {
    color: #1DDB52;
}
#topnav button.green {
    color: #1DDB52;
}
#topnav button.green:hover {
    color: #FFD167;
}
#topnav.show {    
    top: -10px;
    padding: 15px 20px 5px 20px;
}
#topnav.show::after {
    opacity: 0;
}
#scroll-progress {
    padding: 5px 5px;
    font-size: 14px;
    width: 40px;
    color: #1DDB52;
}

#spline-wrap {
  position: sticky; /* or fixed if you prefer */
  top: 0;
  height: 100vh;
  width: 100vw;
  display: block;
  max-width: 100%;
}

spline-viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
}
spline-viewer, iframe {
  display: block;
  max-width: 100%;
}

#loading-info {
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -60px;
    transform: translate(-50%, -50%);
    color: #1DDB52;
    font-size: 1vw;
    z-index: 0;    
    text-align: center;
}

#device-note {
    position: fixed;
    bottom: 0;
    left: 50%;
    margin-bottom: 20px;
    transform: translate(-50%, -50%);
    color: #F78C6A;
    font-size: 1vw;
    z-index: 0;    
    text-align: center;
}

#scroll-spacer {
  height: 82000px; 
}

#scroll-position {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 1000;    
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    display: none; 
}
#wrap {
    position: relative;
    width: 100vw;        
    height: 82000px;       
}

#slides {
    position: absolute;
    z-index: 10;
    top: 0;
    width: 100vw;
    height: 100vh;   
    
    text-align: left;
    padding: 0;             
    overflow-y: scroll;    
    scroll-snap-type: y proximity;        
}

.slide {
    position: relative;
    z-index: 2;
    font-size: 2vw;
    height: auto;
    width: 100%;        
    border: 1px solid red;
    scroll-snap-align: start; 
    scroll-snap-stop: always;
}

#gesture-layer {
    position: fixed;
    left: 0;
    right: 0;
    top: 50vh;            /* bottom half only */
    height: 50vh;
    z-index: 999;         /* above spline-viewer (z=1), below topnav (z=1000) */
    background: transparent;
    display: none;        /* OFF by default */
    touch-action: none;   /* IMPORTANT for Android */
}
#gesture-layer.on {
    display: block;
}

.scroll-indicator {
    position: fixed;
    bottom: 30px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    height: auto;
    width: auto; 
    opacity: 0;
    z-index: 1200;
    cursor: pointer;
    pointer-events: none; 
    transition: opacity 0.3s ease;
}
.scroll-indicator.show {
    opacity: 1;
    cursor: pointer;
    pointer-events: all; 
}
.scroll-indicator.right {
    left: auto;
    right: 50px;
    transform: translateX(0);
}
.scroll-indicator.left {
    left: 50px;
    right: auto;
    transform: translateX(0);
}

/* Mouse outline */
.mouse-outline {
    position: absolute;
    bottom: 18px;
    left: 0;
    width: 40px;
    height: 68px; 
    transform: translateX(-50%);
    border: 4px solid #434343;
    border-radius: 20px;
    box-shadow: 
        -3px 3px 5px rgba(0, 0, 0, 0.6), inset -3px 3px 5px rgba(0, 0, 0, 0.6)
}

/* Scroll indicator line inside mouse */
.scroll-line {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 15px;
    background-color: #1DDB52;
    border-radius: 3px;
    animation: scrollAnimation 1.2s ease-in-out infinite;
    box-shadow: 
        -3px 3px 5px rgba(0, 0, 0, 0.6);
}
.scroll-text {
    display: none;
}
.scroll-start {
    width: 50vw;
    position: absolute;
    bottom: 140px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 20px;
    color: #1DDB52;
    font-weight: 500;
    font-family: Inter, sans-serif;
    opacity: 1;
    text-transform: uppercase;
    text-align: center;
    display: inline-block;
}
.scroll-start.hide {
    display: none;    
}
/* Chevron/arrow below mouse */
.chevron {
    position: absolute;
    bottom: 0;
    left: 0;
    transform: translateX(-50%);
    width: 40px;
    height: auto;
    box-shadow: 
        -3px 3px 5px rgba(0, 0, 0, 0.6);
    animation: chevronAnimation 1.2s ease-in-out infinite;
}

.chevron::before,
.chevron::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 4px;
    background-color: #1DDB52;
    border-radius: 3px;
    box-shadow: 
        -3px 3px 5px rgba(0, 0, 0, 0.6);
}

.chevron::before {
    left: 50%;
    transform: rotate(45deg) translateX(-100%);
    transform-origin: left center;
    margin-left: 1px;
}

.chevron::after {
    right: 50%;
    transform: rotate(-45deg) translateX(100%);
    transform-origin: right center;
    margin-right: 1px;
}

@keyframes scrollAnimation {
    0% {
        transform: translateX(-50%) translateY(0);
        height: 15px;
    }
    50% {
        transform: translateX(-50%) translateY(3px);
        height: 11px; 
    }
    100% {
        transform: translateX(-50%) translateY(3px);
        height: 12px; 
    }
    
}

/* Separate animation for chevron that doesn't change height */
@keyframes chevronAnimation {
    0% {
        transform: translateY(0) translateX(-50%);
    }
    50% {
        transform: translateY(5px) translateX(-50%);
    }
    100% {
        transform: translateY(5px) translateX(-50%);
    }
    
}




@media only screen and (max-width: 767px), 
       (hover: none) and (pointer: coarse) { 

    #loading-info {        
        font-size: 14px;        
    }
    #device-note {        
        font-size: 14px;        
    }

    #topnav {
        position: fixed;
        top: -40px;
    }
    #topnav::after {
        font-size: 60px;
        bottom: 24px;
    }
    .popup {    
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: #252525aa;
        backdrop-filter: blur(30px);    
        border-radius: 20px;
        padding: 10px;
        z-index: 2000;
        max-width: 98vw;
        height: auto;
        width: 98vw;
        max-height: 90vh;
        min-height: 200px;
        box-shadow: 0 0 10px #111;
    }

    .faq-item label {
        margin-bottom: 5px;
        font-size: 14px;        
    }
    .faq-item p {
        font-size: 14px;        
    }
    
    .scroll-indicator {
        bottom: 10px;
    }

    #sidenav .snapdot:hover label {
        opacity: 0;
        pointer-events: none;
    }
    
    .scroll-indicator.right {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
    .scroll-indicator.left {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }

    /* Mouse outline */
    .mouse-outline {
        display: none;
    }

    /* Scroll indicator line inside mouse */
    .scroll-line {
        position: absolute;
        bottom: 40px;
        left: 50%;
        transform: translateX(-50%);
        width: 5px;
        height: 15px;
        background-color: #1DDB52;
        border-radius: 3px;
        animation: scrollAnimation 1.2s ease-in-out infinite;
        box-shadow: 
            -3px 3px 5px rgba(0, 0, 0, 0.6);
    }
    .scroll-text {
        position: absolute;
        bottom: 45px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 15px;
        color: #434343;
        font-weight: 500;
        font-family: Inter, sans-serif;
        opacity: 1;
        text-transform: uppercase;
        text-align: center;
        display: inline-block;
    }
    .scroll-start {
        width: 100vw;                
        font-size: 16px;        
    }
    .chevron {
        position: absolute;
        bottom: 0;
        left: 0;
        transform: translateX(-50%);
        width: 60px;
        height: 60px;
        box-shadow: none;
        animation: chevronAnimation 1.2s ease-in-out infinite;
    }
    .chevron::before,
    .chevron::after {
        width: 40px;
        height: 6px;
        top: 40px;

    }

    .chevron::before {
        margin-left: 2px;
    }

    .chevron::after {
        margin-right: 2px;
    }
    
}

/* About / company details (2026-10-06) */
.about-details {
    font-size: 15px;
    line-height: 1.6;
    color: #fff;
    font-weight: 400;
}
.about-details a {
    color: #fff;
}
.about-details a:hover {
    color: #1DDB52;
}
#copyright {
    position: fixed;
    left: 14px;
    bottom: 10px;
    z-index: 1000;
    background: none;
    border: none;
    padding: 4px 6px;
    color: #fff;
    opacity: 0.6;
    font-family: Inter, sans-serif;
    font-size: 11px;
    font-weight: 400;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s ease, color 0.3s ease;
}
#copyright:hover {
    opacity: 1;
    color: #1DDB52;
}
@media only screen and (max-width: 767px),
       (hover: none) and (pointer: coarse) {
    .about-details {
        font-size: 14px;
    }
    #copyright {
        left: 8px;
        bottom: 6px;
        font-size: 10px;
    }
    /* Room for the About button on phones */
    #topnav {
        padding: 5px 8px;
    }
    #topnav button {
        padding: 5px 6px;
    }
    #topnav .spacer {
        margin: 0 2px;
    }
}

/* the way back to the new site (2026-10-23), where "Notify me!" was */
#topnav a#back {
    color: #1DDB52;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: 500;
    font-family: Inter, sans-serif;
    white-space: nowrap;
    text-decoration: none;
    transition: color 0.3s ease;
}
#topnav a#back:hover {
    color: #FFD167;
}
