* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none; 
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #050505; 
    color: #ffffff;
    height: 100dvh; /* Responsivo real para celular */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background-color: #ffffff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference; 
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s;
}

/* NOVO CANVAS WEBGL */
#webgl-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none; 
}

.content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5%;
    z-index: 2;
    pointer-events: none; 
}

.title-wrapper {
    margin-bottom: 2rem;
}

/* Texto ajustado para o efeito Scramble */
h1.scramble-text {
    font-size: clamp(2.2rem, 8vw, 7rem); 
    font-weight: 900;
    text-transform: uppercase;
    line-height: 0.9;
    letter-spacing: -0.05em;
    position: relative;
    word-break: break-word;
}

h1.offset {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.8); 
}

/* Símbolos decodificando ficam mais fracos */
.dud {
    color: rgba(255, 255, 255, 0.3);
}

.subtitle {
    font-size: clamp(1rem, 1.5vw, 1.5rem);
    font-weight: 300;
    opacity: 0.7;
    max-width: 600px;
    line-height: 1.6;
}

.footer {
    padding: 2rem 5%;
    z-index: 2;
    display: flex;
    justify-content: flex-start;
}

.magnetic-wrap {
    display: inline-block;
    padding: 20px; 
}

.magnetic-btn {
    display: inline-block;
    padding: 15px 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: background-color 0.3s, border-color 0.3s;
    pointer-events: auto; 
}

.magnetic-btn:hover {
    background-color: #ffffff;
    color: #000000;
}

.watermark {
    position: fixed; 
    bottom: 25px; 
    right: 30px; 
    opacity: 0.3; 
    color: white; 
    font-family: 'Courier New', Courier, monospace; 
    font-size: 10px; 
    letter-spacing: 5px; 
    text-transform: uppercase; 
    z-index: 1000; 
    pointer-events: none;
}

/* CELULAR */
@media (max-width: 768px) {
    * { cursor: auto; }
    .custom-cursor { display: none; }
    
    .content { padding: 10% 5%; }
    
    .footer { 
        justify-content: center; 
        padding: 1.5rem 5%;
    }

    .magnetic-btn {
        font-size: 0.8rem;
        padding: 12px 20px;
        text-align: center;
        max-width: 100%;
        word-wrap: break-word;
    }

    .magnetic-wrap {
        width: 100%;
        display: flex;
        justify-content: center;
        padding: 10px;
    }

    .watermark { display: none; }
}