:root {
    --bg-main: #12181e;
    --bg-panel: #1b242d;
    --line: #2f3b47;
    --text-main: #7ef7ff;
    --text-sub: #ffd97a;
    --muted: #90a6b8;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 20px;
    font-family: 'Courier New', monospace;
    color: var(--text-main);
    background:
        radial-gradient(circle at 18% 10%, rgba(126, 247, 255, 0.12), transparent 30%),
        radial-gradient(circle at 88% 90%, rgba(255, 217, 122, 0.14), transparent 33%),
        var(--bg-main);
    cursor: none;
    overflow: hidden;
}

.card {
    width: min(820px, 100%);
    border: 1px solid var(--line);
    background: var(--bg-panel);
    border-radius: 14px;
    padding: 34px 24px;
    box-shadow: 0 0 30px rgba(126, 247, 255, 0.08);
}

h1 {
    margin: 0;
    border-bottom: 2px solid var(--text-main);
    padding-bottom: 12px;
}

.tips {
    color: var(--text-sub);
    margin: 16px 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.item {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.02);
}

.nav {
    margin-top: 20px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

a {
    text-decoration: none;
    color: var(--text-main);
    border: 1px solid var(--text-main);
    border-radius: 8px;
    padding: 8px 14px;
    transition: all 0.18s ease;
}

a:hover {
    background: var(--text-main);
    color: #101820;
    transform: translateY(-2px);
}

.cursor-dot {
    position: fixed;
    left: 0;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    pointer-events: none;
    background: var(--text-main);
    box-shadow: 0 0 14px rgba(126, 247, 255, 0.9);
    transform: translate(-50%, -50%);
    z-index: 9999;
}

.cursor-ring {
    position: fixed;
    left: 0;
    top: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    pointer-events: none;
    border: 1px solid rgba(126, 247, 255, 0.9);
    transform: translate(-50%, -50%);
    z-index: 9998;
    transition: width 0.2s ease, height 0.2s ease, border-color 0.2s ease;
}

.cursor-ring.active {
    width: 40px;
    height: 40px;
    border-color: rgba(255, 217, 122, 0.95);
}

.bubble {
    position: fixed;
    left: 0;
    top: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    pointer-events: none;
    border: 1px solid currentColor;
    transform: translate(-50%, -50%);
    opacity: 0.9;
    animation: floatFade 760ms ease-out forwards;
    z-index: 9997;
}

.bubble.large {
    width: 20px;
    height: 20px;
}

@keyframes floatFade {
    0% {
        transform: translate(-50%, -50%) scale(0.7);
        opacity: 0.9;
    }
    100% {
        transform: translate(-50%, calc(-50% - 52px)) scale(1.6);
        opacity: 0;
    }
}
