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

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

body {
    font-family: 'Inter', sans-serif;
    background: #fff;
    overflow: hidden;
    cursor: none;
}

body.standard-cursor {
    cursor: auto;
}

body.standard-cursor .cursor-ring,
body.standard-cursor .cursor-handle {
    opacity: 0;
    pointer-events: none;
}

#canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
}

#textCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    opacity: 0;
}

.cursor-ring {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    border: 3px solid #666;
    border-radius: 50%;
    box-shadow:
        inset 0 2px 4px rgba(255, 255, 255, 0.5),
        inset 0 -2px 4px rgba(0, 0, 0, 0.3),
        0 4px 8px rgba(0, 0, 0, 0.1);
    background: radial-gradient(circle at 30% 30%,
        rgba(255, 255, 255, 0.15) 0%,
        transparent 50%);
    transition: opacity 0.3s ease;
}

.cursor-handle {
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    width: 12px;
    height: 120px;
    background: linear-gradient(to bottom,
        #999 0%,
        #777 5%,
        #888 10%,
        #666 50%,
        #555 90%,
        #444 100%);
    transform-origin: top center;
    border-radius: 6px;
    box-shadow:
        2px 0 3px rgba(0, 0, 0, 0.2),
        inset 1px 0 1px rgba(255, 255, 255, 0.2),
        inset -1px 0 1px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease;
}

.footer {
    position: fixed;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    color: #999;
    font-size: 14px;
    font-family: monospace;
    letter-spacing: 0.1em;
    z-index: 10;
    pointer-events: none;
}

.footer-left,
.footer-right {
    flex: 1;
}

.footer-right {
    text-align: right;
}

.footer-center {
    flex: 1;
    text-align: center;
    pointer-events: auto;
}

.footer-center a {
    color: #999;
    text-decoration: none;
    transition: color 0.2s;
    display: inline-block;
    position: relative;
}

.footer-center a:hover {
    color: #333;
}

.text-draw__box {
    width: 100%;
    height: 0.4em;
    position: absolute;
    bottom: -0.15em;
    left: 0;
}

.text-draw__box-svg {
    width: 100%;
    height: 100%;
    position: absolute;
    overflow: visible !important;
}

.text-draw__box path {
    stroke: #e55050 !important;
}