@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

:root {
    --cream: #e8e3dc;
    --graphene: #394149
}

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

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

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--cream);
    cursor: none;
}

.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--graphene);
    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;
}

/* Registration Marks */
.registration-marks {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.reg-mark {
    position: absolute;
    width: 30px;
    height: 30px;
}

.reg-mark::before,
.reg-mark::after {
    content: '';
    position: absolute;
    background-color: var(--graphene);
}

/* Crosshair horizontal line */
.reg-mark::before {
    width: 100%;
    height: 1px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

/* Crosshair vertical line */
.reg-mark::after {
    width: 1px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

/* Corner circle */
.reg-mark {
    border: 1px solid var(--graphene);
    border-radius: 50%;
}

/* Positioning */
.top-left {
    top: 20px;
    left: 20px;
}

.top-right {
    top: 20px;
    right: 20px;
}

.bottom-left {
    bottom: 20px;
    left: 20px;
}

.bottom-right {
    bottom: 20px;
    right: 20px;
}

/* Alignment bars (top and bottom) */
.align-bars {
    position: absolute;
    display: flex;
    gap: 3px;
    left: 50%;
    transform: translateX(-50%);
}

.align-bars.top {
    top: 20px;
}

.align-bars.bottom {
    bottom: 20px;
}

.align-bars .bar {
    width: 1px;
    height: 20px;
    background-color: var(--graphene);
}

/* Color gradation strips */
.color-strip {
    position: absolute;
    width: 8px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
}

.color-strip.left {
    left: 20px;
    background: linear-gradient(to bottom, 
        var(--graphene) 0%, 
        var(--graphene) 20%, 
        transparent 20%, 
        transparent 40%,
        var(--graphene) 40%,
        var(--graphene) 60%,
        transparent 60%,
        transparent 80%,
        var(--graphene) 80%,
        var(--graphene) 100%
    );
}

.color-strip.right {
    right: 20px;
    background: linear-gradient(to bottom, 
        rgba(57, 65, 73, 1) 0%, 
        rgba(57, 65, 73, 0.75) 25%, 
        rgba(57, 65, 73, 0.5) 50%,
        rgba(57, 65, 73, 0.25) 75%,
        rgba(57, 65, 73, 0.1) 100%
    );
}

/* Density scale (bottom right area) */
.density-scale {
    position: absolute;
    bottom: 60px;
    right: 20px;
    display: flex;
    gap: 2px;
}

.density-box {
    width: 8px;
    height: 8px;
    background-color: var(--graphene);
    border: 1px solid var(--graphene);
}

.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;
    pointer-events: none;
}

/* 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;
    }
}
