@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');

:root {
    --ion: #f6f3fd;
    --synapse: #212023;
    --relay: #582ade;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: "Outfit", sans-serif;
    background-image: url('../img/bg.png');
    background-repeat:repeat;
    background-color: var(--relay); /* Fallback Color */
    cursor: none;
}

.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--ion);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s ease, height 0.2s ease, opacity 0.2s ease;
    opacity: 0;
}

.custom-cursor.active {
    opacity: 0.6;
}

.custom-cursor.hover {
    width: 30px;
    height: 30px;
    opacity: 0.8;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    padding: 2rem;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    max-width: 600px;
}

.logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.logo-wrapper:hover {
    transform: scale(1.05);
    opacity: 0.8;
}

.logo-wrapper:active {
    transform: scale(0.98);
}

.logo {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
}

.tagline {
  font-family: "Outfit", sans-serif;
  font-size: 18px;
  color: var(--ion);
  font-weight: 500;
}

.waves {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none; /* critical */
}

/* Let the SVG scale and fill the screen */
.waves .svg-layer {
    width: 100%;
    height: 100%;
    object-fit: cover;          /* maintains aspect, fills space */
    object-position: center;    /* centers the design */
}

.cvltLabs {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    z-index: 3;
    text-align: center;   /* Centers text under the logo */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cvltLabs-logo {
    width: 100px;
    height: auto;
    opacity: 0.3;
    margin-bottom: 6px; /* space above text */
}

.copyright{
  font-family: "Outfit", sans-serif;
  font-size: 10px;
  color: var(--ion);
  opacity: 0.3;
  font-weight: 500;
}

/* Optional scaling for smaller screens */
@media (max-width: 768px) {
    .cvltLabs-logo {
        width: 90px;
    }

    .cvltLabs-text {
        font-size: 0.8rem;
    }
}

/* Responsive scaling for mobile */
@media (max-width: 768px) {
    body {
        cursor: auto;
    }
    
    .custom-cursor {
        display: none;
    }
    
    .reg-mark {
        width: 20px;
        height: 20px;
    }
    
    .align-bars .bar {
        height: 15px;
    }
    
    .color-strip {
        width: 6px;
        height: 45px;
    }
    
    .color-strip.left {
        left: 15px;
    }
    
    .color-strip.right {
        right: 15px;
    }
    
    .density-scale {
        bottom: 45px;
        right: 15px;
    }
    
    .density-box {
        width: 6px;
        height: 6px;
    }
    
    .top-left,
    .top-right {
        top: 15px;
    }
    
    .bottom-left,
    .bottom-right {
        bottom: 15px;
    }
    
    .top-left,
    .bottom-left {
        left: 15px;
    }
    
    .top-right,
    .bottom-right {
        right: 15px;
    }
    
    .align-bars.top {
        top: 15px;
    }
    
    .align-bars.bottom {
        bottom: 15px;
    }
    
    .container {
        padding: 1.5rem;
    }
    
    .content-wrapper {
        max-width: 400px;
        gap: 1.25rem;
    }
}

@media (max-width: 480px) {
    .reg-mark {
        width: 15px;
        height: 15px;
    }
    
    .align-bars .bar {
        height: 12px;
    }
    
    .color-strip {
        width: 5px;
        height: 35px;
    }
    
    .color-strip.left {
        left: 10px;
    }
    
    .color-strip.right {
        right: 10px;
    }
    
    .density-scale {
        bottom: 35px;
        right: 10px;
    }
    
    .density-box {
        width: 5px;
        height: 5px;
    }
    
    .top-left,
    .top-right {
        top: 10px;
    }
    
    .bottom-left,
    .bottom-right {
        bottom: 10px;
    }
    
    .top-left,
    .bottom-left {
        left: 10px;
    }
    
    .top-right,
    .bottom-right {
        right: 10px;
    }
    
    .align-bars.top {
        top: 10px;
    }
    
    .align-bars.bottom {
        bottom: 10px;
    }
    
    .container {
        padding: 1rem;
    }
    
    .content-wrapper {
        max-width: 300px;
        gap: 1rem;
    }
}
