html {
    scroll-behavior: smooth;
}

body {
    background-color: #001224;
    color: #fcfaf5;
    overflow-x: hidden;
    cursor: none; 
}

/* Cursor Personalizado */
.custom-cursor {
    width: 20px;
    height: 20px;
    border: 2px solid #00B4D8;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}
.custom-cursor.hover {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 180, 216, 0.2);
    mix-blend-mode: exclusion;
}

/* Blobs */
.blob {
    position: absolute;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.6;
    animation: moveBlob 15s infinite alternate ease-in-out;
}
.blob-1 {
    width: 400px; height: 400px;
    background: #00B4D8;
    top: -10%; left: -10%;
}
.blob-2 {
    width: 500px; height: 500px;
    background: #7209B7;
    bottom: -20%; right: -10%;
    animation-delay: -5s;
}

@keyframes moveBlob {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(100px, 150px) scale(1.2); }
    100% { transform: translate(-50px, 50px) scale(0.9); }
}

/* Glassmorphism */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Hero Text */
.hero-text {
    background: linear-gradient(to right, #00B4D8, #7209B7, #00B4D8);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shine 5s linear infinite;
}
@keyframes shine {
    to { background-position: 200% center; }
}

/* 3D Tilt Wrapper */
.tilt-wrapper {
    perspective: 1000px;
}
.tilt-card {
    transition: transform 0.1s ease;
    transform-style: preserve-3d;
}
.tilt-card > img, .tilt-card .floating-element {
    transform: translateZ(40px); 
}
.tilt-card h3, .tilt-card p {
    transform: translateZ(50px);
}

/* Scrollbar general y Modales */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
}

/* Modales Configuración */
.modal {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}
.modal.active {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    transform: translateY(20px);
    transition: all 0.3s ease-in-out;
}
.modal.active .modal-content {
    transform: translateY(0);
}

/* Marca de Agua */
.watermark-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
}

@media (min-width: 768px) {
    .watermark-img {
        transform: scale(1.1);
    }
}