body {
    font-family: 'Roboto Mono', monospace;
    overflow-x: hidden;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><defs><filter id="glow"><feGaussianBlur stdDeviation="2" result="coloredBlur"/><feMerge><feMergeNode in="coloredBlur"/><feMergeNode in="SourceGraphic"/></feMerge></filter></defs><path d="M 5,5 L 5,25 L 12,18 L 16,26 L 19,25 L 15,17 L 23,17 Z" fill="%2360a5fa" stroke="%233b82f6" stroke-width="1" filter="url(%23glow)"/></svg>'), auto;
}

a,
button {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><defs><filter id="glow"><feGaussianBlur stdDeviation="3" result="coloredBlur"/><feMerge><feMergeNode in="coloredBlur"/><feMergeNode in="SourceGraphic"/></feMerge></filter></defs><circle cx="16" cy="16" r="8" fill="none" stroke="%2360a5fa" stroke-width="2" filter="url(%23glow)"/></svg>'), pointer;
}

/* Cursor trail effect - linha fina */
.cursor-trail {
    position: fixed;
    width: 2px;
    height: 15px;
    background: linear-gradient(to bottom, rgba(96, 165, 250, 0.9), rgba(59, 130, 246, 0.3));
    pointer-events: none;
    z-index: 9999;
    box-shadow:
        0 0 5px #60a5fa,
        0 0 10px #60a5fa,
        0 0 15px #3b82f6;
    animation: fade-out 0.3s ease-out forwards;
    transform: translate(-50%, -50%);
}

@keyframes fade-out {
    to {
        opacity: 0;
        height: 5px;
    }
}

/* Animação do cursor piscando */
@keyframes blink {
    50% {
        opacity: 0;
    }
}

.blinking-cursor {
    animation: blink 1s step-end infinite;
    color: #60a5fa;
    text-shadow:
        0 0 5px #60a5fa,
        0 0 10px #60a5fa,
        0 0 20px #60a5fa,
        0 0 40px #3b82f6,
        0 0 80px #3b82f6;
    font-weight: bold;
}

/* Estilo para o spinner de carregamento */
.loader-spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Seta Neon animada */
.neon-arrow {
    color: #60a5fa;
    animation: bounce-arrow 2s infinite;
    filter: drop-shadow(0 0 5px #60a5fa) drop-shadow(0 0 10px #60a5fa) drop-shadow(0 0 20px #3b82f6) drop-shadow(0 0 30px #3b82f6);
}

@keyframes bounce-arrow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

.neon-arrow:hover {
    filter: drop-shadow(0 0 10px #60a5fa) drop-shadow(0 0 20px #60a5fa) drop-shadow(0 0 40px #3b82f6) drop-shadow(0 0 60px #3b82f6);
}

/* Estilo para os cards com efeito de luz seguindo o cursor */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

*,
*::after,
*::before {
    box-sizing: border-box;
}

#cards {
    width: 70%;
    padding: 20px;
    margin: 50px auto;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.card {
    min-width: 200px;
    height: 350px;
    flex: 1 1 250px;
    background-color: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    position: relative;
    text-decoration: none;
    color: white;
    display: block;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

#cards:hover>.card {
    background: radial-gradient(400px circle at var(--mouse-x) var(--mouse-y),
            hsl(var(--color) / 1),
            rgba(255, 255, 255, 0.12) 40%);
}

.card-content {
    position: absolute;
    inset: 1px;
    background-color: #131315;
    border-radius: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 18px;
}

.card:nth-child(1) {
    --color: 348 80% 60%;
}

.card:nth-child(2) {
    --color: 0 0% 100%;
}

.card:nth-child(3) {
    --color: 220 100% 35%;
}

.card::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(500px circle at var(--mouse-x) var(--mouse-y),
            hsl(var(--color) / 0.35),
            transparent 40%);
    border-radius: inherit;
    opacity: 0;
    z-index: 2;
}

#cards:hover>.card::before {
    opacity: 1;
}

.card-content>i {
    font-size: 10rem;
    color: rgba(255, 255, 255, 0.5);
}

.card-content>h2 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.5rem;
}

.card-content>p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
}

body,
html,
#app {
    margin: 0;
    width: 100%;
    height: 100%;
}

#app {
    overflow: hidden;
    touch-action: pan-up;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    text-shadow: 0 0 5px #ffffff, 0 0 20px #000, 0 0 30px #000;
}

#app h1 {
    --fontSize: 40px;
    --lineHeight: 80px;
    width: auto;
    height: calc(2 * var(--lineHeight));
    line-height: var(--lineHeight);
    margin: calc(50vh - var(--lineHeight)) auto 0;
    font-size: var(--fontSize);
    text-transform: uppercase;
}

#app a {
    margin-top: 10px;
    display: inline-block;
    text-decoration: none;
    color: #fff;
}

#app canvas {
    display: block;
    position: fixed;
    z-index: -1;
    top: 0;
}