/* CUSTOM PORTFOLIO STYLES */
body {
    background-color: #050505;
    color: #ffffff;
    overflow-x: hidden;
}

/* FONDO ANIMADO */
.bg-grid-animated {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-size: 50px 50px;
    background-image: linear-gradient(to right, rgba(249, 115, 22, 0.10) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(249, 115, 22, 0.10) 1px, transparent 1px);
    mask-image: radial-gradient(circle at center, black 50%, transparent 90%);
    pointer-events: none;
    z-index: 0;
    animation: gridMove 60s linear infinite;
    transform: perspective(500px) rotateX(10deg);
}

/* TARJETAS */
.project-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(12px);
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: rgba(249, 115, 22, 0.5);
    background: rgba(25, 25, 25, 0.9);
    box-shadow: 0 10px 40px -10px rgba(249, 115, 22, 0.15);
}

/* GLOW LOGO */
.logo-icon {
    width: 114px;
    height: 114px;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(249, 115, 22, 0.2));
}

@media (min-width: 768px) {
    .logo-icon {
        width: 90px;
        height: 90px;
    }
}

/* SCROLLBAR */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #1a1a1a;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 10px;
}

/* BOTONES IDIOMA */
.lang-btn {
    font-family: 'JetBrains Mono', monospace;
    padding: 4px 12px;
    font-size: 0.75rem;
    color: #666;
    transition: 0.3s;
    border: 1px solid transparent;
}

.lang-btn:hover {
    color: #fff;
}

.lang-btn.active {
    color: #f97316;
    border-bottom: 2px solid #f97316;
    font-weight: bold;
}

/* TRANSITIONS */
.modal-enter {
    animation: modalEnter 0.3s ease-out;
}

@keyframes modalEnter {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* TRANSLATOR PAGE SPECIFIC */
.bg-stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    background-image: url('../image/stars_milky_way.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
    opacity: 1;
    filter: brightness(1.4) contrast(1.3) saturate(1.2);
    pointer-events: none;
    animation: starsDrift 300s linear infinite;
}

@keyframes starsDrift {
    0% { background-position: 0% 0%; }
    100% { background-position: 10% 0%; }
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.highlight-text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cursor-grab {
    cursor: grab;
}

.cursor-grabbing {
    cursor: grabbing;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(100%); opacity: 0; }
}
