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

body, html {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #03070e;
    font-family: 'Shippori Mincho', 'Georgia', serif;
}

canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.title-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none; /* Let mouse events pass through to canvas */
    text-align: center;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.main-title {
    font-size: 5rem;
    font-weight: 300;
    letter-spacing: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    margin-right: -2.5rem; /* Compensate for letter-spacing on the last character */
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.15), 0 0 30px rgba(255, 255, 255, 0.08);
    user-select: none;
    line-height: 1;
}

.sub-title {
    font-size: 0.95rem;
    font-weight: 300;
    letter-spacing: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin-right: -0.75rem; /* Compensate for letter-spacing */
    text-transform: lowercase;
    user-select: none;
    line-height: 1;
}

@media (max-width: 768px) {
    .main-title {
        font-size: 3rem;
        letter-spacing: 1.5rem;
        margin-right: -1.5rem;
    }
    .sub-title {
        font-size: 0.8rem;
        letter-spacing: 0.5rem;
        margin-right: -0.5rem;
    }
}
