body {
    background-color: #050505;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    margin: 0;
}

#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

.content-section {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
}

/* Grain Texture Overlay */
.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
    background-image: url("https://grainy-gradients.vercel.app/noise.svg");
    opacity: 0.04;
    mix-blend-mode: overlay;
    animation: noise 0.2s infinite;
}

@keyframes noise {
    0% { transform: translate(0,0) }
    10% { transform: translate(-5%,-5%) }
    20% { transform: translate(-10%,5%) }
    30% { transform: translate(5%,-10%) }
    40% { transform: translate(-5%,15%) }
    50% { transform: translate(-10%,5%) }
    60% { transform: translate(15%,0) }
    70% { transform: translate(0,10%) }
    80% { transform: translate(-15%,0) }
    90% { transform: translate(10%,5%) }
    100% { transform: translate(5%,0) }
}

.text-mask {
    overflow: hidden;
    display: block;
}

.magnetic-wrap {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.glass-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: border-color 0.8s ease, transform 0.8s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
}

.outline-text {
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
    color: transparent;
}

.input-group input:focus ~ .input-line .line-progress,
.input-group textarea:focus ~ .input-line .line-progress {
    width: 100%;
}

.input-group input:not(:placeholder-shown) ~ .input-line .line-progress,
.input-group textarea:not(:placeholder-shown) ~ .input-line .line-progress {
    width: 100%;
}

::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #050505;
}
::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 10px;
}